From: "Drew Adams" <drew.adams@oracle.com>
To: "'Dan Espen'" <daneNO@MORE.mk.SPAMtelcordia.com>,
<help-gnu-emacs@gnu.org>
Subject: RE: Electric Buffer mode too boring
Date: Thu, 24 Apr 2008 15:35:47 -0700 [thread overview]
Message-ID: <016a01c8a65b$8a753130$c2b22382@us.oracle.com> (raw)
In-Reply-To: <icd4ofowxb.fsf@mk.telcordia.com>
> I've been using this with XEmacs for years:
>
> (defconst Electric-buffer-menu-mode-font-lock-keywords
> (purecopy
> (list
> '("^ MR Buffer.*" .
> font-lock-preprocessor-face) ;hdr 1
> '("^ -- ------.*" .
> font-lock-preprocessor-face) ;hdr 2
> '("^\\(....Man: .*\\)" 1 font-lock-variable-name-face
> t) ;Manpg (new)
> '("^[. ][*][^%].[^*].*" .
> font-lock-comment-face) ;Mod x temp
> '("^....[*]Buffer List[*].*" .
> font-lock-doc-string-face) ;Buffer list
> '("^\\(....[*]shell.*\\)" 1
> font-lock-reference-face t) ;shell buff
> '("^....[*].*" .
> font-lock-string-face) ;Temp buffer
> '("^....[+].*" .
> font-lock-keyword-face) ;Mail buffer
> '("^....[A-Za-z0-9/]*[-][+].*" .
> font-lock-keyword-face) ;Mail buffer
> '(".*Dired.*" . font-lock-function-name-face)
> )))
>
> ; This hook run after buffer formatted, so it is necessary to
> re-fontify it..;
> (add-hook 'electric-buffer-menu-mode-hook
> '(lambda ()
> (font-lock-mode 1)
> (font-lock-fontify-buffer)))
>
> I've never been able to figure out why it doesn't work with gnu emacs.
> Help!
You might be interested in buff-menu+.el:
http://www.emacswiki.org/cgi-bin/wiki/BufferMenu#BufferMenuPlus
next prev parent reply other threads:[~2008-04-24 22:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-24 19:49 Electric Buffer mode too boring Dan Espen
2008-04-24 22:35 ` Drew Adams [this message]
[not found] ` <mailman.10791.1209076628.18990.help-gnu-emacs@gnu.org>
2008-04-24 23:12 ` Dan Espen
2008-04-24 23:58 ` Drew Adams
[not found] ` <mailman.10793.1209081505.18990.help-gnu-emacs@gnu.org>
2008-04-25 1:22 ` Dan Espen
2008-04-25 1:25 ` Dan Espen
2008-04-25 3:59 ` Kevin Rodgers
[not found] ` <mailman.10796.1209096000.18990.help-gnu-emacs@gnu.org>
2008-04-25 12:15 ` Dan Espen
2008-04-25 14:55 ` Lennart Borgman (gmail)
[not found] ` <mailman.10809.1209135366.18990.help-gnu-emacs@gnu.org>
2008-04-25 15:16 ` Dan Espen
2008-04-25 15:55 ` Lennart Borgman (gmail)
2008-04-25 15:20 ` Sven Joachim
2008-04-25 15:38 ` Dan Espen
2008-04-25 15:53 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='016a01c8a65b$8a753130$c2b22382@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=daneNO@MORE.mk.SPAMtelcordia.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.