From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: zimoun Newsgroups: gmane.emacs.help Subject: Re: `ibuffer-saved-filter-groups` case sensitive? Date: Fri, 7 Apr 2017 11:37:15 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1491557936 30042 195.159.176.226 (7 Apr 2017 09:38:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Apr 2017 09:38:56 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 07 11:38:50 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 1cwQLs-0006Hb-61 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Apr 2017 11:38:44 +0200 Original-Received: from localhost ([::1]:49726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwQLu-0002SP-J8 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Apr 2017 05:38:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwQKU-0001yO-C4 for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 05:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwQKT-0005MN-KS for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 05:37:18 -0400 Original-Received: from mail-wr0-x22a.google.com ([2a00:1450:400c:c0c::22a]:33890) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cwQKT-0005MJ-Da for help-gnu-emacs@gnu.org; Fri, 07 Apr 2017 05:37:17 -0400 Original-Received: by mail-wr0-x22a.google.com with SMTP id t20so99207622wra.1 for ; Fri, 07 Apr 2017 02:37:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=gHVUozLwUAjdfAemfgIR9CFdx7pBow3Unyfd5W9sQm8=; b=M1RycJvAo1fybQnU51x9G6uqU8sgkSRMyCuWHqRmnU5lY/dcWnJFmGNcGyaQp1Pipz wu9fqIULG+92bIPxSPL/Y3D2NjPxjm3FaEHGkJKBWCujVwG8duqAK8HWzTTVQAmXgX4T BJYmRxLWZO1703+KPAbiY3t95jJrLbVW6LQL4PoHuVeszTWpfvddKCNhS21CFo09ySzn TYqfX8BtV6dcJ3Lg4xcLX/c5M5H9jR/tPFOH2FjDdzTeQ6nzIt7nVB5iT/1UD0btMyQO HS0ERFWaVSbWTITCE+PfT4cae7MSwr5cMe86URuhwxgbTHcZfg+lXM61YrGQKX/XTYJL 4Cyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=gHVUozLwUAjdfAemfgIR9CFdx7pBow3Unyfd5W9sQm8=; b=jzBzp4h7AuLUM1dMhkpeSZCWRzvWkS2AdFbDM2bGHcyeAqxpdoLIe0AAzF70TE27/U B3ctosjugAwThDpNA6Tn3mvi+K+sceRoYYFLH7pwQpq39Z3+xULS6xCVpPS5bUCiXWAb wHX85kNfjSLyd4ob4mTh3cY4qkQWsTilvOfxz/IKI9pMkGe7Rvt3NQ82BtXBPAce4pQ5 /VrQVaDgyM4ZSW08pZtAoGYIZa0Rb/93RzzEq4P0rbEh+pzfSxS/Fl0y8crN9vTlT/UP qO0W4pgmu9pHYnMOaRGeqkwTDyUCfES2rZ1UUM/hbF4Dj8d1gNnF5lOuchLG7GHoW7ky eOoA== X-Gm-Message-State: AFeK/H3I5b9ur6W/6nvDk7eYQEu/vIF4z9JL9zOwA73xR3Q16QTg+fHCUCf0K9Mo0s+6f4990Mz6wpuyR861pQ== X-Received: by 10.28.39.132 with SMTP id n126mr28091483wmn.16.1491557836234; Fri, 07 Apr 2017 02:37:16 -0700 (PDT) Original-Received: by 10.28.137.209 with HTTP; Fri, 7 Apr 2017 02:37:15 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22a 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:112717 Archived-At: Dear community, Ping. Is it a bug ? Or do I miss a point ? Thank you for any suggestion. All the best, -simon On 24 October 2016 at 19:06, zimoun wrote: > Dear, > > I do not know if this behavior is expected or I perhaps miss a point. > Ah, I am running Emacs 24.5.1 packaged by Debian (testing) and I have > not tried Emacs 25 yet. > > I would like to filter IBuffer in Gnus-style grouping. Then, I am not > able to split the buffer names between Upper-case and lower-case. > > If I understand well, in this case the regexp is case insensitive. > > Using this minimal snippet (saved in `ibuf.el`): > > (setq ibuffer-saved-filter-groups > (quote (("default" > ("lower" (name . "[:lower:]")) > ("Upper" (name . "[:upper]")))))) > (add-hook 'ibuffer-mode-hook > (lambda () > (ibuffer-switch-to-saved-filter-groups "default"))) > > Then, running `emacs -Q -l ibuf.el`, for example, the buffer > *Messages* is in the lower-group. > > (note that if you switch the "filters", then *scratch* appears in Upper-group) > > To be concrete, I do not know to locally turn `case-fold-search` to > `nil`, or something in this flavor I guess. > > > Thank you in advance to any suggestion. > > --simon