GNU bug report logs - #1507
move-end-of-line inline doc unclear. (intangibility)

Previous Next

Package: emacs;

Reported by: xah lee <xah <at> xahlee.org>

Date: Sun, 7 Dec 2008 00:05:05 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: xah lee <xah <at> xahlee.org>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#1507: move-end-of-line inline doc unclear. (intangibility)
Date: Sat, 6 Dec 2008 15:58:54 -0800
it seems to me that the move-end-of-line inline doc is unclear.

in the inline doc for move-end-of-line, it says:

«
move-end-of-line is an interactive compiled Lisp function in  
`simple.el'.
It is bound to M-D.
(move-end-of-line arg)

Move point to end of current line as displayed.
(If there's an image in the line, this disregards newlines
which are part of the text that the image rests on.)

With argument arg not nil or 1, move forward arg - 1 lines first.
If point reaches the beginning or end of buffer, it stops there.
To ignore intangibility, bind `inhibit-point-motion-hooks' to t.
»


• It is not clear to me what this sentence means: “(If there's an  
image in the line, this disregards newlines which are part of the  
text that the image rests on.)” So, if there is a image on the  
current line... i don't know what it means to say it disregard  
newline, because to me eol char is at the end of line...

• the last paragraph about intangibility is unclear. (i don't  
understand what it means. Looking up on that hook var didn't help much.)

• am not sure if move-end-of-line should be used in elisp code,  
which is my primary query. If this function is not suitable in elisp  
code, perhaps the doc should say.

similar in move-beginning-of-line.

  Xah
∑ http://xahlee.org/

This bug report was last modified 16 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.