GNU bug report logs -
#15920
24.3; [PATCH] etags doesn't recognize functions with [<=>] in them.
Previous Next
Reported by: Oleh <o.krehel <at> tue.nl>
Date: Mon, 18 Nov 2013 17:14:02 UTC
Severity: normal
Tags: fixed, patch
Found in version 24.3
Done: Lars Ingebrigtsen <larsi <at> gnus.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 15920 in the body.
You can then email your comments to 15920 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15920
; Package
emacs
.
(Mon, 18 Nov 2013 17:14:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Oleh <o.krehel <at> tue.nl>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 18 Nov 2013 17:14:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi all,
While functions with name like `string=' or `string>' are present in
TAGS generated by etags, `etags-tags-completion-table' doesn't recognize
them. It's fixed by a tweak in the regex it uses. I attach the patch.
regards,
Oleh
[0001-lisp-progmodes-etags.el-etags-tags-completion-table-.patch (text/x-diff, inline)]
From 8ba84e883d68d0d7d83bdb8a96f6b6c42ba52ffe Mon Sep 17 00:00:00 2001
From: Oleh Krehel <ohwoeowho <at> gmail.com>
Date: Mon, 18 Nov 2013 18:06:38 +0100
Subject: [PATCH] lisp/progmodes/etags.el (etags-tags-completion-table): add
[<=>] to tag name regex.
---
lisp/progmodes/etags.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index a7b7e63..7556add 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1285,8 +1285,8 @@ buffer-local values of tags table format variables."
;; \6 is the line to start searching at;
;; \7 is the char to start searching at.
(while (re-search-forward
- "^\\(\\([^\177]+[^-a-zA-Z0-9_+*$:\177]+\\)?\
-\\([-a-zA-Z0-9_+*$?:]+\\)[^-a-zA-Z0-9_+*$?:\177]*\\)\177\
+ "^\\(\\([^\177]+[^-<=>a-zA-Z0-9_+*$:\177]+\\)?\
+\\([-<=>a-zA-Z0-9_+*$?:]+\\)[^-<=>a-zA-Z0-9_+*$?:\177]*\\)\177\
\\(\\([^\n\001]+\\)\001\\)?\\([0-9]+\\)?,\\([0-9]+\\)?\n"
nil t)
(intern (prog1 (if (match-beginning 5)
--
1.8.4
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15920
; Package
emacs
.
(Wed, 24 Feb 2016 03:57:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 15920 <at> debbugs.gnu.org (full text, mbox):
Oleh <o.krehel <at> tue.nl> writes:
> While functions with name like `string=' or `string>' are present in
> TAGS generated by etags, `etags-tags-completion-table' doesn't recognize
> them. It's fixed by a tweak in the regex it uses. I attach the patch.
I'm unable to reproduce this bug on the current trunk, so this may have
been fixed in the meantime. I'm closing this bug report, but please
reopen if this is still a problem.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 24 Feb 2016 03:57:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
15920 <at> debbugs.gnu.org and Oleh <o.krehel <at> tue.nl>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Wed, 24 Feb 2016 03:57:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 23 Mar 2016 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 9 years and 92 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.