From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#44611: Prefix arg for xref-goto-xref Date: Sun, 13 Dec 2020 22:20:10 +0200 Organization: LINKOV.NET Message-ID: <87lfe1a191.fsf@mail.linkov.net> References: <87k0up68e4.fsf@mail.linkov.net> <99772eb6-5a4e-7cf6-259d-0e9429e6bf97@yandex.ru> <878sb3n0a9.fsf@mail.linkov.net> <48f942f9-a557-0185-25fe-612e78cd9071@yandex.ru> <877dpopuli.fsf@linkov.net> <831rfw35pp.fsf@gnu.org> <87mtyi7o96.fsf@mail.linkov.net> <83a6uheo7j.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8224"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: dgutov@yandex.ru, 44611@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 21:44:12 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koYDz-00023E-TU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 21:44:11 +0100 Original-Received: from localhost ([::1]:35226 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koYDy-0008Kh-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 15:44:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koYDq-0008KT-Nj for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38984) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koYDq-0004t8-GR for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koYDq-0004v0-Em for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 15:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 20:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44611 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 44611-submit@debbugs.gnu.org id=B44611.160789220118718 (code B ref 44611); Sun, 13 Dec 2020 20:44:02 +0000 Original-Received: (at 44611) by debbugs.gnu.org; 13 Dec 2020 20:43:21 +0000 Original-Received: from localhost ([127.0.0.1]:50530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koYDB-0004rp-AX for submit@debbugs.gnu.org; Sun, 13 Dec 2020 15:43:21 -0500 Original-Received: from relay12.mail.gandi.net ([217.70.178.232]:53895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koYD9-0004r1-Bi for 44611@debbugs.gnu.org; Sun, 13 Dec 2020 15:43:19 -0500 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id B3A4A200004; Sun, 13 Dec 2020 20:43:11 +0000 (UTC) In-Reply-To: <83a6uheo7j.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 13 Dec 2020 17:10:40 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196010 Archived-At: >> Maybe this is clearer: "kill the buffer that was current before popping back." > > Is that the XREF buffer? Or is that the buffer where the definition > was shown? The latter. > I don't understand why you call them "temporary": they are normal > buffers visiting files that belong to the program you are working on, > right? These buffers are considered temporary only in one specific workflow: when there is a need to quickly peek into a definition and immediately jump back. > And if you care so much about what goes into your desktop > file, then you review the list of buffers each time before ending a > session, right? Alas, this is what required to do each time before ending a session. Since it's a more general problem, I withdraw my patch that adds C-u to kill the buffer. It's too much hassle to type C-u before every 'M-,'. There are too many commands that leave unwanted buffers. For example, browsing the grep results, visiting the next file doesn't kill the previous visited file buffer, etc. So better to clean up buffers afterwards, using e.g. project-kill-buffers.