From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44611: Prefix arg for xref-goto-xref Date: Sun, 13 Dec 2020 17:10:40 +0200 Message-ID: <83a6uheo7j.fsf@gnu.org> 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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24639"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, 44611@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 16:12:16 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 1koT2l-0006HM-T7 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 16:12:15 +0100 Original-Received: from localhost ([::1]:51952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koT2k-0005d4-Uk for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 10:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koT2b-0005bJ-Qi for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 10:12:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38372) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1koT2Y-0007Ct-Ha for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 10:12:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1koT2Y-000676-Ct for bug-gnu-emacs@gnu.org; Sun, 13 Dec 2020 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Dec 2020 15:12: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.160787226323421 (code B ref 44611); Sun, 13 Dec 2020 15:12:02 +0000 Original-Received: (at 44611) by debbugs.gnu.org; 13 Dec 2020 15:11:03 +0000 Original-Received: from localhost ([127.0.0.1]:49915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koT1b-00065g-8e for submit@debbugs.gnu.org; Sun, 13 Dec 2020 10:11:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1koT1Z-00065D-Kf for 44611@debbugs.gnu.org; Sun, 13 Dec 2020 10:11:02 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36326) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koT1T-0006pT-Bx; Sun, 13 Dec 2020 10:10:55 -0500 Original-Received: from [176.228.60.248] (port=3103 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1koT1Q-0007D5-64; Sun, 13 Dec 2020 10:10:53 -0500 In-Reply-To: <87mtyi7o96.fsf@mail.linkov.net> (message from Juri Linkov on Sat, 12 Dec 2020 22:39:17 +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:195966 Archived-At: > From: Juri Linkov > Cc: dgutov@yandex.ru, 44611@debbugs.gnu.org > Date: Sat, 12 Dec 2020 22:39:17 +0200 > > >> +(defun xref-pop-marker-stack (&optional kill) > >> + "Pop back to where \\[xref-find-definitions] was last invoked. > >> +With prefix argument KILL non-nil, kill the previous buffer instead of > >> +burying it." > > > > What is "the previous buffer" in this context? The doc string leaves > > that unexplained, and thus may confuse the reader. > > 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? > > (I don't object to such a feature, but I really don't understand the > > urge to kill Emacs buffers just because they were needed temporarily. > > Why is that important?) > > The problem is that such temporary file buffers are saved > to the desktop file and dangling in the buffer list forever. 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? 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? Anyway, I don't want to argue about this.