GNU bug report logs - #76855
etags-regen-mode: Universal ctags bug

Previous Next

Package: emacs;

Reported by: Ben Scuron <bscuron19 <at> gmail.com>

Date: Sat, 8 Mar 2025 06:54:04 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 76855 in the body.
You can then email your comments to 76855 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#76855; Package emacs. (Sat, 08 Mar 2025 06:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Scuron <bscuron19 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 08 Mar 2025 06:54:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ben Scuron <bscuron19 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: etags-regen-mode: Universal ctags bug
Date: Fri, 7 Mar 2025 22:29:36 -0500
[Message part 1 (text/plain, inline)]
When using `etags-regen-mode` with Universal Ctags, I receive the following
error message when appending to the TAGS file: `ctags: -o option may not
follow a file name`.

NOTE: This error only occurs when appending to the TAGS file, not when
initially generating the file.

The attached patch file fixed the error for me. I tested the patch using
both `etags` and Universal `ctags`.

Information:
ctags version: Universal Ctags 6.1.0
OS: macOS 14.2.1
[Message part 2 (text/html, inline)]
[0001-etags-regen.el.patch (application/octet-stream, attachment)]

Added tag(s) patch. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 08 Mar 2025 08:23:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#76855; Package emacs. (Sat, 08 Mar 2025 11:18:01 GMT) Full text and rfc822 format available.

Message #10 received at 76855 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ben Scuron <bscuron19 <at> gmail.com>, Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 76855 <at> debbugs.gnu.org
Subject: Re: bug#76855: etags-regen-mode: Universal ctags bug
Date: Sat, 08 Mar 2025 13:17:45 +0200
> From: Ben Scuron <bscuron19 <at> gmail.com>
> Date: Fri, 7 Mar 2025 22:29:36 -0500
> 
> When using `etags-regen-mode` with Universal Ctags, I receive the following error message when appending
> to the TAGS file: `ctags: -o option may not follow a file name`.
> 
> NOTE: This error only occurs when appending to the TAGS file, not when initially generating the file.
> 
> The attached patch file fixed the error for me. I tested the patch using both `etags` and Universal `ctags`.

Thanks.

Dmitry, any reasons not to install this on the emacs-30 release
branch?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#76855; Package emacs. (Sat, 08 Mar 2025 20:56:01 GMT) Full text and rfc822 format available.

Message #13 received at 76855 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Eli Zaretskii <eliz <at> gnu.org>, Ben Scuron <bscuron19 <at> gmail.com>
Cc: 76855 <at> debbugs.gnu.org
Subject: Re: bug#76855: etags-regen-mode: Universal ctags bug
Date: Sat, 8 Mar 2025 22:55:38 +0200
Hi!

On 08/03/2025 13:17, Eli Zaretskii wrote:
> Dmitry, any reasons not to install this on the emacs-30 release
> branch?

It seems like a good change.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 09 Mar 2025 06:23:01 GMT) Full text and rfc822 format available.

Notification sent to Ben Scuron <bscuron19 <at> gmail.com>:
bug acknowledged by developer. (Sun, 09 Mar 2025 06:23:02 GMT) Full text and rfc822 format available.

Message #18 received at 76855-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: bscuron19 <at> gmail.com, 76855-done <at> debbugs.gnu.org
Subject: Re: bug#76855: etags-regen-mode: Universal ctags bug
Date: Sun, 09 Mar 2025 08:22:25 +0200
> Date: Sat, 8 Mar 2025 22:55:38 +0200
> Cc: 76855 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> On 08/03/2025 13:17, Eli Zaretskii wrote:
> > Dmitry, any reasons not to install this on the emacs-30 release
> > branch?
> 
> It seems like a good change.

Thanks, done, and closing the bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 06 Apr 2025 11:24:20 GMT) Full text and rfc822 format available.

This bug report was last modified 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.