bug-global
[Top][All Lists]
Advanced

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

source text not including leading whitespace


From: Leo Liu
Subject: source text not including leading whitespace
Date: Sun, 02 Mar 2014 22:03:29 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.9.2)

Source text I mean, for example, ``#define SLIST_INIT(head) { \'' as in
this 'grep output format:

libdb/queue.h:138:#define SLIST_INIT(head) { \

The output is slightly different with and without using ctags plugin.

If the project is indexed by gtags without the ctags, the whole source
line is printed i.e. FILE:LINE:SOURCE LINE

If the project is indexed by gtags with ctags plugin, the leading
whitespace of the source line is stripped before being printed after
FILE:LINE.

The source text in the cscope output format also strips the leading
whitespace regardless of ctags.

I am not sure this inconsistency is intentional. Thus this report.

Personally I prefer having the source text printed as it is without any
transformation.

BTW, 

Leo




reply via email to

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