all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* line-move-visual & invisible text
@ 2008-09-04 12:17 Katsumi Yamaoka
  2008-09-18  6:06 ` martin rudalics
  0 siblings, 1 reply; 3+ messages in thread
From: Katsumi Yamaoka @ 2008-09-04 12:17 UTC (permalink / raw)
  To: emacs-devel

Hi,

I use (setq line-move-visual nil) but I realized I need at least:

(add-hook 'Info-mode-hook
	  (lambda nil
	    (set (make-local-variable 'line-move-visual) t)))

It enables C-n and C-e to work on the title lines of Info pages.
For instance, in the top of the Gnus Info, there is the line
displayed as:

The Gnus Newsreader

But just under it, there is actually the invisible line:

*******************

This seems to be the cause of the malfunction of C-n and C-e,
performed on such places, in the case where `line-move-visual'
is nil.  It might not be so serious, but is a bug.

Regards,




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: line-move-visual & invisible text
  2008-09-04 12:17 line-move-visual & invisible text Katsumi Yamaoka
@ 2008-09-18  6:06 ` martin rudalics
  2008-09-18  7:29   ` Katsumi Yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: martin rudalics @ 2008-09-18  6:06 UTC (permalink / raw)
  To: Katsumi Yamaoka; +Cc: emacs-devel

 > I use (setq line-move-visual nil) but I realized I need at least:
 >
 > (add-hook 'Info-mode-hook
 > 	  (lambda nil
 > 	    (set (make-local-variable 'line-move-visual) t)))
 >
 > It enables C-n and C-e to work on the title lines of Info pages.
 > For instance, in the top of the Gnus Info, there is the line
 > displayed as:
 >
 > The Gnus Newsreader
 >
 > But just under it, there is actually the invisible line:
 >
 > *******************
 >
 > This seems to be the cause of the malfunction of C-n and C-e,
 > performed on such places, in the case where `line-move-visual'
 > is nil.  It might not be so serious, but is a bug.

I suppose Chong's recent change to `vertical-motion' fixed this.  Can
you try it?

martin




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: line-move-visual & invisible text
  2008-09-18  6:06 ` martin rudalics
@ 2008-09-18  7:29   ` Katsumi Yamaoka
  0 siblings, 0 replies; 3+ messages in thread
From: Katsumi Yamaoka @ 2008-09-18  7:29 UTC (permalink / raw)
  To: martin rudalics; +Cc: emacs-devel

>>>>> martin rudalics wrote:
>> I use (setq line-move-visual nil) but I realized I need at least:
>>
>> (add-hook 'Info-mode-hook
>>        (lambda nil
>>          (set (make-local-variable 'line-move-visual) t)))
>>
>> It enables C-n and C-e to work on the title lines of Info pages.
>> For instance, in the top of the Gnus Info, there is the line
>> displayed as:
>>
>> The Gnus Newsreader
>>
>> But just under it, there is actually the invisible line:
>>
>> *******************
>>
>> This seems to be the cause of the malfunction of C-n and C-e,
>> performed on such places, in the case where `line-move-visual'
>> is nil.  It might not be so serious, but is a bug.

> I suppose Chong's recent change to `vertical-motion' fixed this.  Can
> you try it?

Oh, I see the point moves smoothly over the Info title lines just
now, even if line-move-visual is nil.  It must have been fixed.
Thank you.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-18  7:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-04 12:17 line-move-visual & invisible text Katsumi Yamaoka
2008-09-18  6:06 ` martin rudalics
2008-09-18  7:29   ` Katsumi Yamaoka

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.