From unknown Sun Jun 15 10:53:50 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#5666 <5666@debbugs.gnu.org> To: bug#5666 <5666@debbugs.gnu.org> Subject: Status: 23.1; please define push-tag-mark in etags.el Reply-To: bug#5666 <5666@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:53:50 +0000 retitle 5666 23.1; please define push-tag-mark in etags.el reassign 5666 emacs submitter 5666 Richard.Kim1@synopsys.com severity 5666 wishlist tag 5666 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 01 14:28:38 2010 Received: (at submit) by debbugs.gnu.org; 1 Mar 2010 19:28:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmBIE-0007ge-2r for submit@debbugs.gnu.org; Mon, 01 Mar 2010 14:28:38 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmBGx-0007fL-Eg for submit@debbugs.gnu.org; Mon, 01 Mar 2010 14:27:19 -0500 Received: from mx10.gnu.org ([199.232.76.166]:54875) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmBGt-0006N5-7G for submit@debbugs.gnu.org; Mon, 01 Mar 2010 14:27:15 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NmBGr-0005bC-Io for submit@debbugs.gnu.org; Mon, 01 Mar 2010 14:27:15 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham version=3.1.0 Received: from lists.gnu.org ([199.232.76.165]:37197) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NmBGr-0005b8-CC for submit@debbugs.gnu.org; Mon, 01 Mar 2010 14:27:13 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NmBGq-0002sb-Pl for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 14:27:12 -0500 Received: from [140.186.70.92] (port=59736 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NmBGp-0002ow-8r for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 14:27:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NmBGo-0003IU-9T for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 14:27:11 -0500 Received: from us01smtp3.synopsys.com ([198.182.44.81]:41556 helo=hermes.synopsys.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmBGn-0003I6-Q3 for bug-gnu-emacs@gnu.org; Mon, 01 Mar 2010 14:27:10 -0500 Received: from crone.synopsys.com (crone.synopsys.com [146.225.7.23]) by hermes.synopsys.com (Postfix) with ESMTP id 7D19D2D597 for ; Mon, 1 Mar 2010 11:27:07 -0800 (PST) Received: from rutro-cane1.internal.synopsys.com (localhost [127.0.0.1]) by crone.synopsys.com (8.9.1/8.9.1) with ESMTP id LAA13594; Mon, 1 Mar 2010 11:27:06 -0800 (PST) Date: Mon, 01 Mar 2010 11:27:05 -0800 Message-Id: From: Richard Kim To: bug-gnu-emacs@gnu.org From: Richard.Kim1@synopsys.com Subject: 23.1; please define push-tag-mark in etags.el X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 01 Mar 2010 14:28:36 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Richard.Kim1@synopsys.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) GNU/Emacs defines pop-tag-mark command to go along with find-tag command for traversing back in cursor movement history. However GNU/Emacs does not define matching push-tag-mark command. I would like to request that something like the following be added to etags.el (defun push-tag-mark () "Push the current position to the ring of markers so that \\[pop-tag-mark] can be used to come back to current position." (interactive) (ring-insert find-tag-marker-ring (point-marker))) I make this request for the following reasons: - This is a useful command by itself which I use often - This would be useful for use by tools other than etags, e.g., forthcoming cedet tool or even for existing tools, e.g., (defadvice imenu (before use-etags-stack activate compile) "Push point onto stack used by etags so that \\[pop-tag-mark] can be used." (push-tag-mark)) (defadvice cscope-call (before use-etags-stack activate compile) "Push point onto stack used by etags so that \\[pop-tag-mark] can be used." (push-tag-mark)) - Since xemacs defines push-tag-mark already, it makes it easier for tool developers, so that we don't have to add code such as the following in our own packages: (unless (fboundp 'push-tag-mark) (defun push-tag-mark () (interactive) (ring-insert find-tag-marker-ring (point-marker)))) Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 02 14:46:46 2010 Received: (at control) by debbugs.gnu.org; 2 Mar 2010 19:46:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmY3I-0008Qb-DI for submit@debbugs.gnu.org; Tue, 02 Mar 2010 14:46:46 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NmY3H-0008QW-49 for control@debbugs.gnu.org; Tue, 02 Mar 2010 14:46:43 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NmY3B-00067X-QL; Tue, 02 Mar 2010 14:46:37 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19341.27421.767198.12912@fencepost.gnu.org> Date: Tue, 2 Mar 2010 14:46:37 -0500 From: Glenn Morris To: control Subject: control X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) reassign 5387 emacs,gnus reassign 5656 emacs,gnus reassign 5659 emacs,w32 severity 5658 minor severity 5661 wishlist severity 5666 wishlist reassign 5666 emacs,etags severity 5668 minor tags 5670 patch severity 5671 minor From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 11:41:59 2019 Received: (at 5666) by debbugs.gnu.org; 1 Oct 2019 15:41:59 +0000 Received: from localhost ([127.0.0.1]:34451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKHn-0000EO-3p for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:41:59 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54054) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKHk-0000EC-Ko for 5666@debbugs.gnu.org; Tue, 01 Oct 2019 11:41:57 -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 1iFKHg-0004kG-QP; Tue, 01 Oct 2019 17:41:55 +0200 From: Lars Ingebrigtsen To: Richard Kim Subject: Re: bug#5666: 23.1; please define push-tag-mark in etags.el References: Date: Tue, 01 Oct 2019 17:41:52 +0200 In-Reply-To: (Richard Kim's message of "Mon, 01 Mar 2010 11:27:05 -0800") Message-ID: <878sq4322n.fsf@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: Richard Kim , Richard.Kim1@synopsys.com writes: > GNU/Emacs defines pop-tag-mark command to go along with find-tag > command for traversing back in cursor movement history. However > GNU/Emacs does not define matching push-tag-mark command. I would [...] 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: 5666 Cc: 5666@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 (-) Richard Kim , Richard.Kim1@synopsys.com writes: > GNU/Emacs defines pop-tag-mark command to go along with find-tag > command for traversing back in cursor movement history. However > GNU/Emacs does not define matching push-tag-mark command. I would > like to request that something like the following be added to etags.el > > (defun push-tag-mark () > "Push the current position to the ring of markers so that > \\[pop-tag-mark] can be used to come back to current position." > (interactive) > (ring-insert find-tag-marker-ring (point-marker))) (I'm going through old bug reports that unfortunately didn't get any response at the time.) Emacs now has the xref framework for this stuff, and it has `xref-push-marker-stack', so I think this issue should now be solved, and I'm closing this bug report. If this is still something that should be done, please reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 01 11:42:04 2019 Received: (at control) by debbugs.gnu.org; 1 Oct 2019 15:42:04 +0000 Received: from localhost ([127.0.0.1]:34455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKHs-0000F3-Cs for submit@debbugs.gnu.org; Tue, 01 Oct 2019 11:42:04 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFKHp-0000Ee-SS for control@debbugs.gnu.org; Tue, 01 Oct 2019 11:42:02 -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 1iFKHn-0004kN-6X for control@debbugs.gnu.org; Tue, 01 Oct 2019 17:42:01 +0200 Date: Tue, 01 Oct 2019 17:41:59 +0200 Message-Id: <877e5o322g.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5666 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 5666 fixed close 5666 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 5666 fixed close 5666 quit From unknown Sun Jun 15 10:53:50 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, 30 Oct 2019 11:24:09 +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