From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Hikaru Ichijyo Newsgroups: gmane.emacs.help Subject: Re: logical not condition in ibuffer config Date: Mon, 12 Mar 2018 09:15:02 -0500 Organization: UN Spacy Message-ID: <8xx1sgp1iu1.fsf@macross.sdf.jp> References: <8xxk1ui1i4v.fsf@macross.sdf.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1520864311 18521 195.159.176.226 (12 Mar 2018 14:18:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Mar 2018 14:18:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 12 15:18:26 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1evOHR-0004gR-P7 for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Mar 2018 15:18:25 +0100 Original-Received: from localhost ([::1]:59143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1evOJU-0004HT-Lz for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Mar 2018 10:20:32 -0400 X-Received: by 10.200.41.198 with SMTP id 6mr6141285qtt.30.1520864103042; Mon, 12 Mar 2018 07:15:03 -0700 (PDT) Original-Path: usenet.stanford.edu!t24no2991049qtn.0!news-out.google.com!a13ni958qtd.1!nntp.google.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!post02.iad!fx40.iad.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Cancel-Lock: sha1:o6S2v13X4VwEZ5wusmALw7QUk9E= Original-Lines: 27 Original-X-Complaints-To: http://abuse.usenetxs.com Original-NNTP-Posting-Date: Mon, 12 Mar 2018 14:15:02 UTC X-Received-Bytes: 1458 X-Received-Body-CRC: 3855055776 Original-Xref: usenet.stanford.edu gnu.emacs.help:222065 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116183 Archived-At: Yuri Khan 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