From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers Date: Fri, 12 Jul 2019 17:14:16 +0200 Message-ID: References: <87lfx437kc.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="203369"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 33033@debbugs.gnu.org To: Helmut Eller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 12 17:19:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlxKe-000qhB-5k for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2019 17:19:32 +0200 Original-Received: from localhost ([::1]:50464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlxGN-0002nR-Mt for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2019 11:15:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57736) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hlxGL-0002nE-2I for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 11:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hlxGJ-0002oM-UZ for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 11:15:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59971) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hlxGJ-0002oA-Px for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 11:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hlxGJ-0002jw-JP for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2019 11:15:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2019 15:15:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33033 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 33033-submit@debbugs.gnu.org id=B33033.156294446210437 (code B ref 33033); Fri, 12 Jul 2019 15:15:03 +0000 Original-Received: (at 33033) by debbugs.gnu.org; 12 Jul 2019 15:14:22 +0000 Original-Received: from localhost ([127.0.0.1]:40556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlxFd-0002iG-OZ for submit@debbugs.gnu.org; Fri, 12 Jul 2019 11:14:21 -0400 Original-Received: from quimby.gnus.org ([80.91.231.51]:46042) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlxFc-0002i8-CK for 33033@debbugs.gnu.org; Fri, 12 Jul 2019 11:14:21 -0400 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlxFY-0007HY-91; Fri, 12 Jul 2019 17:14:18 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUMNF0YU3kEI0sVQms5 gaLX3xRUAAACS0lEQVQ4jV1TAZIjIQhEnQdI9AHG7AM0zAPCyf/fdI2TzW4tVakoLQ00DLW+LShv q7fr3unjn8wigJ6/gff7uf/iD/BQfwceP7NGcsO5Xa++OO/ounq7gHBFN77Bg6vlK+LB70o4+wOK rBcw+fI3u7m7U9iH/niXTlThjA1QZeecevljPxG/k9711qjV/Pb3M+7kIK2FKOxWG/zt3H9uJ9Kz M7WBHx3tLVAL+iIu7/6pf423gJGMyZvYRL0f/VtZqkb6vAJiT6HJ2FNodBpBjh2AHk6mmfE8iQCY 3xlaqqVRhU6QMFSaDSVFtBHvRy3M+kTzlJjKbvYR/ZVCioM9ghZhbKpsWqueLueDt+gLhX1sBoaI mR1geo2SJJUpQ+ZgbIOeIjKVXtDRSb0UmnDZzCSihMbj17VcqTf4qqlij+gfVoQbEGoSu8tdrZpH 3HPeSvU2ISu1I7zMllIxQ4LxeEaBCIFoptdhC32ojk4D4hd0MVFoWsl00dQVY5u5pcJogqiERaaF DgAYMrUgR+FBIQcls4IlWoMIM76H4GrMcYLKhJKtTAlAmBV9pkL82gD4gKpzAEh1IC65j6rKSH54 HcqYUz3ztIV7MEmJ0yA+kl8XY+IFp2RZZh1Chw0f3fRRCACqK00kHJ6NLZ87hQMHNgKfhAyMlj2d MwmkF1uT68LrhUstYoZP1AFQMlvxWqR6wHKAvC54sA+IxGln2DkI5SnK8X0oHl8+QNoe29yY7IC/ bAAb8Ms84Mqx8/8YhNENOCPbX9tLD+b6F/gPqFiQfS/JeQIAAAAASUVORK5CYII= In-Reply-To: (Helmut Eller's message of "Thu, 11 Jul 2019 18:15:12 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:162782 Archived-At: Helmut Eller writes: >> Helmut Eller 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... > > Yes, I have (set-register ?e '(file . "~/.emacs")) in .emacs. Ah, I see. Yes, then it makes sense to add a `buffer' form, too, I think? Does anybody object to this? It seems about as useful as the `file' form... And looking at the implementation in register.el, it looks pretty trivial to add. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no