gnu-emacs-sources
[Top][All Lists]
Advanced

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

Re: contentswitch.el --- switch to buffer/file by content


From: address@hidden
Subject: Re: contentswitch.el --- switch to buffer/file by content
Date: Fri, 22 Aug 2008 11:08:31 -0700 (PDT)
User-agent: G2/1.0

On Aug 21, 7:31 pm, Ted Zlatanov <address@hidden> wrote:
>
> This was not heavily tested, so check it out for yourself.  I added
> defcustoms to all your user-visible variables (except for the keymap), I
> hope that's OK.  Users can now say
>
> (setq contentswitch-ignore '(hidden-buffer encrypted remote))

I added your modifications with some changes.

I did not make filtering out hidden buffers an option. I doubt anyone
needs to search hidden buffers, so they are always ignored. If someone
needs them please speak up.

I added buffers with names beginning with * to contextswitch-ignore,
because searching in *Messages* and such is not very useful.

For encrypted and remote files I added separate variables. These are
global options, so there is no need to stuff them into contextswitch-
ignore. Also they are only applied to filtering unopened files. I
don't think already opened remote and encrypted files which have their
live buffers are a problem. Let me know if I'm wrong and they should
also be filtered.

Here's the new version:

http://www.emacswiki.org/cgi-bin/wiki/contentswitch.el



reply via email to

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