[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

21.3 move-to-column goes not go to the column (discards symbols)

From: Jari Aalto+mail.linux
Subject: 21.3 move-to-column goes not go to the column (discards symbols)
Date: Sat, 31 Jan 2004 13:22:18 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) (i386-msvc-nt5.0.2195)

Given the description below, these should be equivalent. Press C-x C-e
at the end of sexps. The latter does nothing. It should because
the documentation says "non-nil". This has worked in previous Emacs

123456789 123456789 123456789 123456789 123456789 123456789
(move-to-column 42 t)
(move-to-column 42 'force)



move-to-column is an interactive built-in function.
(move-to-column COLUMN &optional FORCE)

Move point to column COLUMN in the current line.
The column of a character is calculated by adding together the widths
as displayed of the previous characters in the line.
This function ignores line-continuation;
there is no upper limit on the column number a character can have
and horizontal scrolling has no effect.

If specified column is within a character, point goes after that character.
If it's past end of line, point goes to end of line.

A non-nil second (optional) argument FORCE means,

Swatch @time   http://www.mir.com.my/iTime/itime.htm
Use Licenses!  http://www.linuxjournal.com/article.php?sid=6225
Which Licence? http://www.linuxjournal.com/article.php?sid=4825
OSI Licences   http://www.opensource.org/licenses/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]