Article View: gnu.emacs.bug
Article #99758move-to-column documentation
From: macrakis
Date: Mon, 11 Jun 1990 14:02
Date: Mon, 11 Jun 1990 14:02
38 lines
1854 bytes
1854 bytes
GNU Emacs 18.53 and 18.55 The docstring for column functions should be more precise. In particular, behavior at end-of-line, at multiple-column characters (tabs, control chars, etc.), and with selective-display is incomplete or ambiguous. (and also redundant between functions) Suggested text: move-to-column: Move point to column COLUMN in the current line. If that column lies within a multiple-column character (tab, control char), moves to next possible column; if beyond end-of-line, moves to end-of-line. Returns resulting current-column (qv). current-column: Return the horizontal position of point. Horizontal position is the sum of the widths of the displayed representations up to point (eg control characters have a width of 2 or 4, tabs have variable width); beginning of line is column 0. Screen width is ignored, so it may return values greater than (screen-width). When selective-display is t, control-M is treated as end-of-line, otherwise as a control character. indent-to-column: Indent from point with tabs and spaces until COLUMN is reached. Always do at least MIN spaces even if that goes past COLUMN; by default, MIN is zero. Returns resulting current-column (qv).
Technical Details
Message-ID:
<9006111457.AA15073@.dupuis.gr.osf.org.>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakisShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,5c22f423d9211e7d,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-06-11 07:50:01 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ri.osf.fr!macrakis From: macrakis@ri.osf.fr Newsgroups: gnu.emacs.bug Subject: move-to-column documentation Message-ID: <9006111457.AA15073@.dupuis.gr.osf.org.> Date: 11 Jun 90 14:02:54 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 38 Posted: Mon Jun 11 15:02:54 1990 X-Unparsable-Date: Mon, 11 Jun 90 16:01:42 GMT+0100