GNU bug report logs - #33033
27.0.50; [wishlist] Registers for non-file buffers

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Sat, 13 Oct 2018 08:10:02 UTC

Severity: wishlist

Found in version 27.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


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Helmut Eller <eller.helmut <at> gmail.com>
Cc: 33033 <at> debbugs.gnu.org
Subject: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers
Date: Thu, 11 Jul 2019 17:38:27 +0200
Helmut Eller <eller.helmut <at> gmail.com> writes:

> 1.) It would be nice if the register machinery could also be used for
> switching to buffers that aren't connected to a file but have
> more-or-less fixed names like *shell*, *Backtrace*, or *scratch*.
>
> E.g. (set-register ?s '(buffer "*scratch*")) could set up things so that
> C-x r j s would switch to the *scratch* buffer.

Can you use registers today to jump to buffers that are connected to
files?  I'm wondering why you're singling out non-file buffers here...

But in general, it seems to me that these keystrokes aren't that much
more efficient than just C-x b scr RET or something.

> 2.) Similarly, it would be useful to have a way to switch to a buffer
> based on the buffer's mode.
>
> E.g. (set-register ?l '(mode emacs-lisp)) could switch to the last
> recently used buffer in emacs-lisp mode.

Hm...  I don't quite see the utility here.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




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

Previous Next


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