[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buffer Navigation

From: Thien-Thi Nguyen
Subject: Re: Buffer Navigation
Date: Thu, 20 Oct 2005 00:54:34 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Shug Boabby" <address@hidden> writes:

> is writing a wrapper for open/close the only solution...

write a function that sets a buffer-local variable (for example, you
could name it `shug-boabby-interesting-buffer-p') to a recognizable
value.  arrange for `find-file-hook' to call this function, but only if
`this-command' is `find-file'.  use your buffer-selection/management
package of choice to test for this value during its filtering pass.

when you kill the buffer, the buffer-local variable will be deleted
along w/ the buffer, so that side of things is worry free.

of course, you can write a wrapper anyway for the exercise.  there's
nothing wrong w/ finding and following many paths.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]