bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug Report (Feature request?) etags (GNU Emacs 21.1)


From: Sven Utcke
Subject: Bug Report (Feature request?) etags (GNU Emacs 21.1)
Date: Thu, 14 Feb 2002 19:16:32 +0100 (CET)

Hi,

I would like to report what I consider a bug in etags --- although you
might consider it a feature; if you do please treat this mail as a
feature request.

When programming, I usually do not write my *.c files directly, but
rather write *.web files (in FWEB) or *.prog files (Khoros) from which
*.c files will be generated (as well as *.h files, makefiles, *.tex
files and possibly many formats more).  A c-file generated in such a
way might look like this:

--- snip ---
#define MAX(x,y)((x)>(y)?(x):(y))
/* 45: */
#line 1085 "test-homology.web"

#include "read_tangent_files.h" 
#include "read_Outline.h"       

static char rcsid[]= "$Id: test-homology.web,v 1.11 2001/12/21 15:40:15 utcke 
Exp utcke $";

/* 1: */
#line 181 "test-homology.web"

#define COMBINATIONS 1
--- snip ---

Naturally, when looking for the definition of rcsid I do _not_ want to
be referred to line 8 of test-homology.c (which I never even look at),
but rather to line 1090 of file test-homology.web --- i.e. I think
that etags should honour #line directives, or at least provide an
option to do so.

Apart from this, thanks for etags and its emacs-interface!

Greetings from Germany

Sven
-- 
 _  __                     The Cognitive Systems Group
| |/ /___  __ _ ___                                       University of Hamburg
| ' </ _ \/ _` (_-<  phone:    +49 (0)40 42883-2576      Vogt-Koelln-Strasse 30
|_|\_\___/\__, /__/  fax  :    +49 (0)40 42883-2572             D-22527 Hamburg
          |___/ http://kogs-www.informatik.uni-hamburg.de/~utcke/home.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]