GNU bug report logs - #5600
23.1; etags don't tag (defvar foo) declaration

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Fri, 19 Feb 2010 00:03:01 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Ryde <user42 <at> zip.com.au>
To: Francesco Potortì <pot <at> gnu.org>
Cc: 5600 <at> debbugs.gnu.org
Subject: bug#5600: 23.1; etags don't tag (defvar foo) declaration
Date: Sat, 20 Feb 2010 11:06:17 +1100
[Message part 1 (text/plain, inline)]
Francesco Potortì <pot <at> gnu.org> writes:
>
> Lisp_functions should distinguish between defvar and other (def*
> constructs, and tag the former only if --declarations.

Sounds likely.  I didn't know about that option, new diff below.
I suppose it could tag `declare-function' and the like too, but start
with untagging the defvar ones.

(The bloat of bizaar has made the tree inaccessible for me, so excuse
three separate diff files.)

2010-02-19  Kevin Ryde  <user42 <at> zip.com.au>

	* etags.c (skip_name): New helper.
	(Lisp_functions): Tag "(defvar foo)" only under --declarations.
	(Lisp_help): Describe this --declarations.

2010-02-19  Kevin Ryde  <user42 <at> zip.com.au>

	* maintaining.texi (Tag Syntax): Add Lisp --declarations for
	(defvar foo).

2010-02-19  Kevin Ryde  <user42 <at> zip.com.au>

	* doc/man/etags.1 (--declarations): Add Lisp (defvar foo).

[etags.c.defvar-2.diff (text/x-diff, attachment)]
[maintaining.texi.defvar-2.diff (text/x-diff, attachment)]
[etags.1.defvar-2.diff (text/x-diff, attachment)]

This bug report was last modified 12 years and 174 days ago.

Previous Next


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