GNU bug report logs - #19070
25.0.50; Provide a user option that filters the buffer list for `switch-to-next-buffer'

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Sun, 16 Nov 2014 16:40:02 UTC

Severity: wishlist

Found in version 25.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 19070 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: "19070 <at> debbugs.gnu.org" <19070 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#19070: 25.0.50; Provide a user option that
 filters the buffer list for `switch-to-next-buffer'
Date: Thu, 12 May 2022 16:02:49 +0000
> > Provide a user option with a regexp value that filters the buffers (by
> > name) that are cycled through by `next-buffer' and `previous-buffer'.
> > Buffer names matching the regexp would be excluded.
> 
> Emacs 27.1 added switch-to-prev-buffer-skip, but didn't include a
> simple regexp form, and I agree that such a simple form is usually what people
> want.  (I know you can achieve some of this stuff by making windows
> dedicated, too, but that's another complication.)
> 
> > Or the option could be a cons, with one part determining whether the
> > regexp is used to exclude or include and the other part being the
> > regexp.
> 
> I see the charm, but for complex setups like that, I think using
> dedicated windows would be the thing.
> 
> So I've now added switch-to-prev-buffer-skip-regexp to Emacs 29.

Did you respect this part?

  The default value should not exclude any buffers.




This bug report was last modified 3 years and 69 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.