On Aug 21, 7:31 pm, Ted Zlatanov <[EMAIL PROTECTED]> 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

_______________________________________________
gnu-emacs-sources mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to