all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* hi-lock mode problem
@ 2010-03-10 20:55 harven
  2010-03-11 19:02 ` Glenn Morris
  0 siblings, 1 reply; 3+ messages in thread
From: harven @ 2010-03-10 20:55 UTC (permalink / raw)
  To: help-gnu-emacs

It seems that if a file contains more than 10000 characters,
and a hi-lock pattern is specified near the end of the file,
then this pattern is not recognized by hi-lock mode.

Let me give an example. Just put at the end of a file
  *containing more than 10000 characters
  *with hi-lock mode enabled (M-x hi-lock-mode)
the line
;;  hi-lock: (("h" . 'hi-blue-b))
then try to activate the pattern with C-x w i. Nothing happens.
If the hi-lock line is at the start of the file, it works,
all occurences of the letter h are highlighted.

I didn't find anything in the manual.
Is it a bug ? Or did I miss something ?



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

* Re: hi-lock mode problem
  2010-03-10 20:55 hi-lock mode problem harven
@ 2010-03-11 19:02 ` Glenn Morris
  2010-03-11 22:28   ` harven
  0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-03-11 19:02 UTC (permalink / raw)
  To: help-gnu-emacs

harven wrote:

> It seems that if a file contains more than 10000 characters,
> and a hi-lock pattern is specified near the end of the file,
> then this pattern is not recognized by hi-lock mode.

C-h v hi-lock-file-patterns-range


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

* Re: hi-lock mode problem
  2010-03-11 19:02 ` Glenn Morris
@ 2010-03-11 22:28   ` harven
  0 siblings, 0 replies; 3+ messages in thread
From: harven @ 2010-03-11 22:28 UTC (permalink / raw)
  To: help-gnu-emacs

Glenn Morris <rgm+news@stanford.edu> writes:

> harven wrote:
>
>> It seems that if a file contains more than 10000 characters,
>> and a hi-lock pattern is specified near the end of the file,
>> then this pattern is not recognized by hi-lock mode.
>
> C-h v hi-lock-file-patterns-range

I see. Thanks.


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

end of thread, other threads:[~2010-03-11 22:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-10 20:55 hi-lock mode problem harven
2010-03-11 19:02 ` Glenn Morris
2010-03-11 22:28   ` harven

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.