* bug#6463: "prepend" font-locking not working when an sh-mode buffer is opened for the first time
@ 2010-06-19 4:53 Ken Hori
2010-06-19 6:11 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Ken Hori @ 2010-06-19 4:53 UTC (permalink / raw)
To: 6463
"prepend" font-lock keyword entries for sh-mode don't render as they
are intended
when I open an sh-mode buffer for the first time.
If I close the buffer and open it again, everything works fine.
Example:
("##+ \\(.+\\)$" 1 some-face prepend)
won't render correctly.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#6463: "prepend" font-locking not working when an sh-mode buffer is opened for the first time
2010-06-19 4:53 bug#6463: "prepend" font-locking not working when an sh-mode buffer is opened for the first time Ken Hori
@ 2010-06-19 6:11 ` Glenn Morris
2010-06-29 16:20 ` Glenn Morris
0 siblings, 1 reply; 3+ messages in thread
From: Glenn Morris @ 2010-06-19 6:11 UTC (permalink / raw)
To: Ken Hori; +Cc: 6463
Ken Hori wrote:
> "prepend" font-lock keyword entries for sh-mode don't render as they
> are intended when I open an sh-mode buffer for the first time.
>
> If I close the buffer and open it again, everything works fine.
>
> Example:
> ("##+ \\(.+\\)$" 1 some-face prepend)
> won't render correctly.
Please provide a _complete_ example starting from emacs -Q, and state
what version of Emacs you are using.
The following works for me in 22.3, 23.1, 23.2, emacs-23 branch, and trunk:
cat 1.el:
(font-lock-add-keywords 'sh-mode
'(("##+ \\(.+\\)$" 1 'underline prepend)))
cat foo.sh:
# single
## double
emacs -Q -l ./1.el ./foo.sh
"double" is underlined and red.
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#6463: "prepend" font-locking not working when an sh-mode buffer is opened for the first time
2010-06-19 6:11 ` Glenn Morris
@ 2010-06-29 16:20 ` Glenn Morris
0 siblings, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2010-06-29 16:20 UTC (permalink / raw)
To: 6463-done
Since I cannot reproduce this and no further information has been
provided, I am closing this.
Please do respond if you have a recipe for reproducing it.
You can reply any time in the next 28 days (or indeed after that if
you follow the instructions about unarchiving bugs.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-29 16:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-19 4:53 bug#6463: "prepend" font-locking not working when an sh-mode buffer is opened for the first time Ken Hori
2010-06-19 6:11 ` Glenn Morris
2010-06-29 16:20 ` Glenn Morris
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).