unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* `ibuffer-saved-filter-groups` case sensitive?
@ 2016-10-24 17:06 zimoun
  2017-04-07  9:37 ` zimoun
  0 siblings, 1 reply; 6+ messages in thread
From: zimoun @ 2016-10-24 17:06 UTC (permalink / raw)
  To: help-gnu-emacs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-08 11:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24 17:06 `ibuffer-saved-filter-groups` case sensitive? zimoun
2017-04-07  9:37 ` zimoun
2017-04-07 11:06   ` hector
2017-04-07 12:47     ` zimoun
2017-04-07 17:03       ` Michael Heerdegen
2017-04-08 11:03         ` zimoun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).