lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PATCH Makefile, Make 'cscope -q' play well with cscope.el
On Sun, Jun 19, 2005 at 12:50:47AM -0700, Karl Hegbloom wrote:
> LinuxVersion: 2.6-git 2005/06/19
>
> I tried the Linux Makefile 'make cscope' target, and found that the
> generated database is not compatible with 'cscope.el' under XEmacs.
> The thing is that 'cscope.el' does not allow setting the command line
> options to the 'cscope' commands it runs, and it errors with a message
> about the options not matching the ones used to generate the index.
>
> It turns out the cscope designers already thought of this. The
> options can be written into the "cscope.files". The included patch
> moves the "-q" and "-k" options from the 'cmd_cscope' to the
> 'cmd_cscope-file', echoing them into the top of the files listing.
>
> Now the index is generated with the "-q" option, and when 'cscope.el'
> performs it's search, it uses that argument as well. Lookups are fast
> and everyone is happy.

Applied - thanks.

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-13 22:06    [W:0.037 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site