From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: `ibuffer-saved-filter-groups` case sensitive? Date: Fri, 07 Apr 2017 19:03:55 +0200 Message-ID: <878tnc2lqc.fsf@drachen> References: <20170407110624.GA6139@workstation> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1491584684 32617 195.159.176.226 (7 Apr 2017 17:04:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 17:04:44 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org, hector To: zimoun Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 07 19:04:40 2017 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 1cwXJI-0007G9-7d for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Apr 2017 19:04:32 +0200 Original-Received: from localhost ([::1]:51924 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwXJN-00067x-R5 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Apr 2017 13:04:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwXIm-00066e-Kl for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 13:04:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwXIi-0005UG-NW for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 13:04:00 -0400 Original-Received: from mout.web.de ([212.227.15.3]:56069) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwXIi-0005T0-CG for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 13:03:56 -0400 Original-Received: from drachen.dragon ([188.106.175.45]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Mb8d1-1cgFbS36kd-00Ke8T; Fri, 07 Apr 2017 19:03:50 +0200 In-Reply-To: (zimoun's message of "Fri, 7 Apr 2017 14:47:39 +0200") X-Provags-ID: V03:K0:rzfFu2HKFYPAMYpEK0tj8yUgKjkkTDLbmLXUgsglKE+XXXayiBb y11ZFOOtp1znI0v9A32hYucO7HR9bVUXTn9+EyqqbhVwBAnsK+aPepZN/K336lGFOmZXUu5 wf0+2lmrFXnftTSFoWq+6AmoTfgGaUWVyINPUUiDkVxMK47gMZMaz36aLRV4H3raEFaRRcO QhNmz1ThKOG3V9awWdPFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:CkDPvwCgpd0=:LDBzdvX68kAMpOCoh+NOO8 0nSz0XOrZqxfFgfvfsGMwWl4JVN+xWwpg2sdS9H5/o7Mn2Ty8DdjD5jkl9L6t/XYsMiiGhNP2 Q3Wec3HXzuGJbvPcRx/J1k5dcXJ57X57nKZtrbUGWd9Zv776z0fTC3sAgqjRe5C6AgtUsH2Aq xt7dfAD8wpmPqVxm3j59Ztg5NFxLShvVi42XwL4ouF9QTlJoECBRMFmcAR6i+FDHVqwpWFWz8 g4VLjAtj9mGCkdSsgXIq0xT4KE8+OxUOqrjLnSsEJMK4y7k1L37dtidH8RjPx1B33CxmHNWLz Z7ch1NW9lVCAmEdI0HX0eH1eqVAKFXi+GFhI35Jj8Fbw5GhKCBnEgMkGMsMirTAHd3/QkITpm POjzaoMXd3FUl0o0sJzkgFAk7VyLSBoTBKMXMQLKBJUSGfB3e75hLMc36Oy3HKUjKArW3GNIc LdNJTkpfpWCOlWMRexAQoGVPYCxxshAX/YREz1JtOaenmm+KE6bm9PRnxhqcU2tcmndktFEEG JbMvTqzk/61OcINTA50ZvxWVUfBF/ZDNHMkW043cN3LwoBVuOehpBVWVhW2PzAl7SKIgzBkdb j61a6zZSFWm43mv1qEu6QcFmwvO2jsmODZ6kL83QpUl2hqsRLgtUYvybMFwFQ0RrW0FoSEbSs F/mkedZUPLvp/uAq7Y1Mtssg9nS0tn5yQS7PLO9luX9qpHivP+tJd2KVmpHhSoPU8WdC460UT 8A28KUSBUHHtUWAxLSWganbVAdykfti+OGhVBOdTi4ee/+88eYrCR3Vh5EByMGHphrT2ExFF X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.3 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:112720 Archived-At: zimoun writes: > Thank you for the tip. > However, I have tried different ways to use it and no one works. > Any advice ? This works for me: #+begin_src emacs-lisp (setq ibuffer-saved-filter-groups (quote (("default" ("lower" (name . "\\`[^[:upper:]]*\\'")) ("Upper" (name . "[[:upper:]]")))))) (add-hook 'ibuffer-mode-hook (lambda () (setq-local case-fold-search nil) (ibuffer-switch-to-saved-filter-groups "default"))) #+end_src "[[:lower:]]" would match names containing at least one lowercase letter. That's not what you want. The regexp used above for "lower" matches any string not containing any uppercase letter. Michael.