all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Delay in highlighting current line
@ 2006-03-08  7:05 Markus Gritsch
  2006-03-11 22:08 ` Juri Linkov
  0 siblings, 1 reply; 3+ messages in thread
From: Markus Gritsch @ 2006-03-08  7:05 UTC (permalink / raw)


Hi,

Using goto-line in global-hl-line-mode does not immediately highlight 
the line jumped to, but it takes about two seconds before the line gets 
highlighted.  Is this a bug or can I customize something to make the 
line highlighted immediately?

Steps to reproduce:
* start Emacs with -D -Q
* M-x global-hl-line-mode <RET>
* press <RET> a few times to insert some lines
* M-x goto-line <RET>
* 3
-> The cursor jumps to that line, but the line highlighting takes 2 
seconds to appear.

Kind regards,
Markus

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

* Re: Delay in highlighting current line
  2006-03-08  7:05 Delay in highlighting current line Markus Gritsch
@ 2006-03-11 22:08 ` Juri Linkov
  2006-03-12 14:11   ` Markus Gritsch
  0 siblings, 1 reply; 3+ messages in thread
From: Juri Linkov @ 2006-03-11 22:08 UTC (permalink / raw)
  Cc: emacs-devel

> Using goto-line in global-hl-line-mode does not immediately highlight the
> line jumped to, but it takes about two seconds before the line
> gets highlighted.  Is this a bug or can I customize something to make the
> line highlighted immediately?
>
> Steps to reproduce:
> * start Emacs with -D -Q
> * M-x global-hl-line-mode <RET>
> * press <RET> a few times to insert some lines
> * M-x goto-line <RET>
> * 3
> -> The cursor jumps to that line, but the line highlighting takes
> 2 seconds to appear.

This delay is caused by the message:

  You can run the command `goto-line' with M-g g

whose duration is controlled by `suggest-key-bindings'.  When it is 0,
there is no delay.

-- 
Juri Linkov
http://www.jurta.org/emacs/

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

* Re: Delay in highlighting current line
  2006-03-11 22:08 ` Juri Linkov
@ 2006-03-12 14:11   ` Markus Gritsch
  0 siblings, 0 replies; 3+ messages in thread
From: Markus Gritsch @ 2006-03-12 14:11 UTC (permalink / raw)
  Cc: emacs-devel

Juri Linkov wrote:

>>Using goto-line in global-hl-line-mode does not immediately highlight the
>>line jumped to, but it takes about two seconds before the line
>>gets highlighted.  Is this a bug or can I customize something to make the
>>line highlighted immediately?
>>
>>Steps to reproduce:
>>* start Emacs with -D -Q
>>* M-x global-hl-line-mode <RET>
>>* press <RET> a few times to insert some lines
>>* M-x goto-line <RET>
>>* 3
>>-> The cursor jumps to that line, but the line highlighting takes
>>2 seconds to appear.
> 
> 
> This delay is caused by the message:
> 
>   You can run the command `goto-line' with M-g g
> 
> whose duration is controlled by `suggest-key-bindings'.  When it is 0,
> there is no delay.

Ah, thank you very much.  This solves the problem.

Kind regards,
Markus

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

end of thread, other threads:[~2006-03-12 14:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08  7:05 Delay in highlighting current line Markus Gritsch
2006-03-11 22:08 ` Juri Linkov
2006-03-12 14:11   ` Markus Gritsch

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.