From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 13 04:10:00 2018 Received: (at submit) by debbugs.gnu.org; 13 Oct 2018 08:10:00 +0000 Received: from localhost ([127.0.0.1]:47699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBEzo-0006WO-3R for submit@debbugs.gnu.org; Sat, 13 Oct 2018 04:10:00 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gBEzm-0006WB-AO for submit@debbugs.gnu.org; Sat, 13 Oct 2018 04:09:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBEzg-00029n-Gs for submit@debbugs.gnu.org; Sat, 13 Oct 2018 04:09:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57437) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gBEzg-00029d-D2 for submit@debbugs.gnu.org; Sat, 13 Oct 2018 04:09:52 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gBEzf-0003Ye-Ny for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2018 04:09:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gBEzc-00028I-L3 for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2018 04:09:51 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:33542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gBEzc-00027g-EK for bug-gnu-emacs@gnu.org; Sat, 13 Oct 2018 04:09:48 -0400 Received: by mail-wr1-x42f.google.com with SMTP id e4-v6so15728351wrs.0 for ; Sat, 13 Oct 2018 01:09:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=ASmeM/wFzjKkQ04bPrylVVa4dI/rdnL8nmLWOtzwSfk=; b=GGp3MeNsVbMC40cQN5fKOdam2OBcZDfZMJAknEMXvajjj274DMJ1BG6+pw6ZJfrF6w KV/qfOWQJFkhwMBjaHHTr83GrfqmnwPHZBq3x/QDkdt/EzwEdsX42iDGmak0V1qgSPkw vEaLy51qjdgpUXVx7ex7KNeoHvii9NZ+gC7isfg9RWQF2bsYVCl6eUnfdvfEdWinMgr8 rmBeQ0bsQ82brt9lyELUyoU5rxHmWsH9F49rVaXWI2N2Hw9y8OerWwGQwe9Z+pZkKm4t bZE3Dkn2Lujbcg2nPbM9FRUJaLaJvQiA6kTm7EdFBCqT4QVDiTMtdcc/KIpCon8ofB+O Kpbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=ASmeM/wFzjKkQ04bPrylVVa4dI/rdnL8nmLWOtzwSfk=; b=t9wjNGFYnYvuE4Y0X48XcXsjUepAtspTDbiv3NmduyddAVex5uyBtzFH8JyPDOfLcO MEJAbqg+dyCepR06RnN7BFfy2Br1C2lHvWH1upC1OJZnFEsRbvs8VD1DxgQpKapdyWxj cWwWtHQcUw4K5Y5jDwPlLNFENDTaQ48Yad0Ke081ibdwVi+HmwGZptB2y6Gusxz2onzF tkP72OCllEBBJcqFHmy8mt9o4yHACRVGIw6Sw7W0fvZ59t/iGw80lMhVNXd5JrXQdY0P yClhpZr9f6YHYjsDdya1t1WVusMtUGXmeh7VDeAkikuGxJ9PI4bcneZJBJfe0LvZLq4Q iRkA== X-Gm-Message-State: ABuFfohaVUK4gjnszZqjJL8W4/cIJ0aQBSGRs8nD17adAtbrbS4AnEHw d2aLb4hPOYDaumBGn0h1rWDjZOLd X-Google-Smtp-Source: ACcGV63dOFij6Dv0L0FE2eX/yn+iQJ1gqMovz8gGiCz9jt3BrAmbYJ7JxXAVJ6Bm32hQKivfSrdHHg== X-Received: by 2002:a5d:618f:: with SMTP id j15-v6mr8419797wru.198.1539418186628; Sat, 13 Oct 2018 01:09:46 -0700 (PDT) Received: from caladan ([37.186.165.211]) by smtp.gmail.com with ESMTPSA id j9-v6sm2529872wrt.32.2018.10.13.01.09.45 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Oct 2018 01:09:45 -0700 (PDT) From: Helmut Eller To: bug-gnu-emacs@gnu.org Subject: 27.0.50; [wishlist] Registers for non-file buffers Date: Sat, 13 Oct 2018 10:09:44 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) 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. 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. I suppose I could implement this myself with registerv-make, but maybe those two use cases should be standardized and documented. Helmut From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:38:32 2019 Received: (at 33033) by debbugs.gnu.org; 11 Jul 2019 15:38:32 +0000 Received: from localhost ([127.0.0.1]:38431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlb9U-0004Gm-FR for submit@debbugs.gnu.org; Thu, 11 Jul 2019 11:38:32 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56930) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlb9S-0004Gd-Jj for 33033@debbugs.gnu.org; Thu, 11 Jul 2019 11:38:30 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlb9P-0004vB-BI; Thu, 11 Jul 2019 17:38:29 +0200 From: Lars Ingebrigtsen To: Helmut Eller Subject: Re: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers References: Date: Thu, 11 Jul 2019 17:38:27 +0200 In-Reply-To: (Helmut Eller's message of "Sat, 13 Oct 2018 10:09:44 +0200") Message-ID: <87lfx437kc.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 *scratc [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33033 Cc: 33033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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... 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 11:38:38 2019 Received: (at control) by debbugs.gnu.org; 11 Jul 2019 15:38:38 +0000 Received: from localhost ([127.0.0.1]:38434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlb9Z-0004H9-QI for submit@debbugs.gnu.org; Thu, 11 Jul 2019 11:38:38 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlb9Y-0004H0-4q for control@debbugs.gnu.org; Thu, 11 Jul 2019 11:38:36 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hlb9V-0004vI-Jt for control@debbugs.gnu.org; Thu, 11 Jul 2019 17:38:35 +0200 Date: Thu, 11 Jul 2019 17:38:33 +0200 Message-Id: <87k1co37k6.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33033 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 33033 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33033 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 11 12:15:23 2019 Received: (at 33033) by debbugs.gnu.org; 11 Jul 2019 16:15:23 +0000 Received: from localhost ([127.0.0.1]:38483 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbj8-00015Y-J0 for submit@debbugs.gnu.org; Thu, 11 Jul 2019 12:15:22 -0400 Received: from mail-wr1-f52.google.com ([209.85.221.52]:43763) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlbj6-00015J-BM for 33033@debbugs.gnu.org; Thu, 11 Jul 2019 12:15:20 -0400 Received: by mail-wr1-f52.google.com with SMTP id p13so6917891wru.10 for <33033@debbugs.gnu.org>; Thu, 11 Jul 2019 09:15:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Sz+HLHFC3I4BCSS+Dw9uATKBcPdm8WaFXinNYJuMxok=; b=Bs8nVq31ga1cXFh91c9bZANtzde0hu8pM+/H/98vZzg3pB5/Y7GI6zgs4X1IpveteX CedG9Ia664dMKhwckOSdw/NlxX6yCesjeG+jTFLUVfBVjCXNW2hyI9bTfo3ZQ5tcU2uD YxglRMv7/54iy0Kk64wTnOqCHoDzZdRJEH67EO124ml9INqY2g2RpbR4y6n46H/huJRL 1spys4yTQ1C5s3/7tKwr2FJRm3uk1vVFYU6nKdyLbmCnamuqitgriWQ96c9iCsx20RwB Cht1kObtpCXR6jnuOEj9ExLsVJv9kjAjCeDX/ttnB0Bc3/UKy3MWrp0znMBHk/wtJTe+ wtRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Sz+HLHFC3I4BCSS+Dw9uATKBcPdm8WaFXinNYJuMxok=; b=eCL4aWpsCYhZADqbV48YGbBQ7XlFJXYKR9lq3vVVzKV2l+4KbZ3GbzBDyhb9mV+ssB 9jDuP9LIEdus2ug181BdHhU+i713236hpPO7iqdfSHO1yMG8OIEHBnzIH8r7e9lPDn+b X0OXLTLix93vmBDuFXXRZf0KWF8Ug64lrtLHn4/sjyYe+Uady/L1ythV2vXmnQ2mf0hh 55M5CEyTENDjn2Zdf7MCEDDGMy6qOc5PHWQCQ3EAw2wrl2xcAF1S/s9jXGT1NOK/KVh8 GPCtv/BSknZXXx6z+LOfCLr0hHdKeb90OBm7qnv38zweRfVQrbwPFREskT7rjsoBrWhF JUDA== X-Gm-Message-State: APjAAAVPomElyCEtRCriF1YRBzhk9tqQSTVh+kTpp2uYK8cPhnFa6jva AK7EruHOrks5e0N9+KelZ4xnLKpo X-Google-Smtp-Source: APXvYqzoWghaggp5Q0AH91o1kyHg529v0Mdrbaa+71+rYzsadeWly6q5hPQ2ksTfLCVZ1sfjHpSnRQ== X-Received: by 2002:adf:9d8b:: with SMTP id p11mr5732881wre.226.1562861714237; Thu, 11 Jul 2019 09:15:14 -0700 (PDT) Received: from caladan ([89.107.111.183]) by smtp.gmail.com with ESMTPSA id v23sm4859870wmj.32.2019.07.11.09.15.13 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 11 Jul 2019 09:15:13 -0700 (PDT) From: Helmut Eller To: Lars Ingebrigtsen Subject: Re: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers References: <87lfx437kc.fsf@mouse.gnus.org> Date: Thu, 11 Jul 2019 18:15:12 +0200 In-Reply-To: <87lfx437kc.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Thu, 11 Jul 2019 17:38:27 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: On Thu, Jul 11 2019, Lars Ingebrigtsen wrote: > 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 *s [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (eller.helmut[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.221.52 listed in list.dnswl.org] 1.3 PDS_NO_HELO_DNS High profile HELO but no A record X-Debbugs-Envelope-To: 33033 Cc: 33033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) On Thu, Jul 11 2019, Lars Ingebrigtsen wrote: > 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. > 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. Well, you can close this bug. Helmut From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 11:14:22 2019 Received: (at 33033) by debbugs.gnu.org; 12 Jul 2019 15:14:22 +0000 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 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 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 From: Lars Ingebrigtsen To: Helmut Eller Subject: Re: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers References: <87lfx437kc.fsf@mouse.gnus.org> 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= Date: Fri, 12 Jul 2019 17:14:16 +0200 In-Reply-To: (Helmut Eller's message of "Thu, 11 Jul 2019 18:15:12 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: 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 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 33033 Cc: 33033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 27 12:22:33 2019 Received: (at control) by debbugs.gnu.org; 27 Sep 2019 16:22:33 +0000 Received: from localhost ([127.0.0.1]:48557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDt0r-0005JZ-6B for submit@debbugs.gnu.org; Fri, 27 Sep 2019 12:22:33 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDt0p-0005JN-H4 for control@debbugs.gnu.org; Fri, 27 Sep 2019 12:22:31 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDt0m-0003mi-Ti for control@debbugs.gnu.org; Fri, 27 Sep 2019 18:22:30 +0200 Date: Fri, 27 Sep 2019 18:22:28 +0200 Message-Id: <87ef01iu9n.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33033 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 33033 - moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33033 - moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 09:17:37 2021 Received: (at 33033) by debbugs.gnu.org; 30 Nov 2021 14:17:37 +0000 Received: from localhost ([127.0.0.1]:40471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms3wu-00051K-UW for submit@debbugs.gnu.org; Tue, 30 Nov 2021 09:17:37 -0500 Received: from quimby.gnus.org ([95.216.78.240]:41986) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms3ws-000514-EK for 33033@debbugs.gnu.org; Tue, 30 Nov 2021 09:17:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=yML/yk1oRss3Uqe+GYVXmQyNQ+FPUjAV1YQ+AftxEtA=; b=ShzI8YjxvMrtodlX2zbc/GcEzL 1Inp6PT07UJXZ1gTrq73r2wOf5xSPUuKaL63IkNmd7YENiIEo9irikv26jODNL5OfGoiI7Cg2R+Qb 1SbWziW1vexgBOh2vqAIahVvj9UboLl+5K+DHrxgN1NwM2zdxTNkW2pYb3uv6zJEwzns=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms3wi-0006sL-Rl; Tue, 30 Nov 2021 15:17:27 +0100 From: Lars Ingebrigtsen To: Helmut Eller Subject: Re: bug#33033: 27.0.50; [wishlist] Registers for non-file buffers References: <87lfx437kc.fsf@mouse.gnus.org> X-Now-Playing: Irreversible Entanglements's _Open The Gates_: "Six Sounds" Date: Tue, 30 Nov 2021 15:17:24 +0100 In-Reply-To: (Lars Ingebrigtsen's message of "Fri, 12 Jul 2019 17:14:16 +0200") Message-ID: <87o861ohhn.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > 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 reg [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 33033 Cc: 33033@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > 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. I've now added this to Emacs 29. As for the: > E.g. (set-register ?l '(mode emacs-lisp)) could switch to the last > recently used buffer in emacs-lisp mode. I don't think that sounds generally useful enough, so I've not added that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 30 09:17:41 2021 Received: (at control) by debbugs.gnu.org; 30 Nov 2021 14:17:41 +0000 Received: from localhost ([127.0.0.1]:40474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms3wz-00051b-6o for submit@debbugs.gnu.org; Tue, 30 Nov 2021 09:17:41 -0500 Received: from quimby.gnus.org ([95.216.78.240]:42000) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ms3wx-00051B-9c for control@debbugs.gnu.org; Tue, 30 Nov 2021 09:17:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=j3wvJfyr0RDSaIsRL2mCiOCskxDQOOG19I7phrHgU/A=; b=L2Hz2qxAvOnIFePpUHJ8mI3XYI x/TguBJv9m3Yzyrmschc1/7vtWYmJSn6QYSBMdoSR8banBu4Dp2+fRG7TKonwPHfHp6glw40ZSOoL iwI1zIbmltI+kM+wbHA1O3i7JkhkrA67ipd0oXLSVRKZazGjbsvr4rvU5q/7/nHT9yGU=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms3wp-0006sT-C2 for control@debbugs.gnu.org; Tue, 30 Nov 2021 15:17:33 +0100 Date: Tue, 30 Nov 2021 15:17:30 +0100 Message-Id: <87mtllohhh.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #33033 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 33033 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 33033 29.1 quit From unknown Sat Jun 21 10:25:03 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 29 Dec 2021 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator