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

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

Re: logical not condition in ibuffer config


From: Hikaru Ichijyo
Subject: Re: logical not condition in ibuffer config
Date: Mon, 12 Mar 2018 09:15:02 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Yuri Khan <yuri.v.khan@gmail.com> writes:

[...]

>
>> So, I want to use a 'not' condition in these rules, to say, "Put
>> anything in 'Lisp & Emacs' that's in emacs-lisp-mode,
>> bookmark-bmenu-mode, or is named '*Packages*', except for buffers named
>> 'bbdb'."
>
> This should be it:
>
>     ("Lisp & Emacs"
>       (not name . "^bbdb$")
>       (or (mode . emacs-lisp-mode)
>           (mode . bookmark-bmenu-mode)
>           (name . "^\\*Packages\\*$")))
>

Now I see what Emanuel meant by assigning twice.  I never would have
suspected that would work.  Thank you.

-- 
He that would make his own liberty secure must guard even his enemy from
oppression; for if he violates this duty, he establishes a precedent
that will reach to himself.
                                        --Thomas Paine


reply via email to

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