public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* etags - why changes incompatible with Emacs use (doesn't list all files)?
@ 2001-02-13  9:14 Daniel Barclay
  2001-02-13  9:31 ` Earnie Boyd
  2001-02-13 11:59 ` etags - why changes incompatible with Emacs use (doesn't listall files)? Charles Wilson
  0 siblings, 2 replies; 4+ messages in thread
From: Daniel Barclay @ 2001-02-13  9:14 UTC (permalink / raw)
  To: cygwin

Does anyone know why the Cygwin version (or the original version) of
etags doesn't support --append in etags (-e) mode and doesn't list all 
files anymore (relative to Emacs' etags executable)?


Listing all files was essential for Emacs' tags-search command.  

If you ran etags on a list of files, you could use tags-search or
tags-query-replace to search or search and replace in all listed files.
(It didn't matter whether the files contained any functions or variables 
for which tags could be created.  All given files were listed in the TAGS 
files, so all could be searched.)

However, the current Cygwin etags ignores files with extensions that
it doesn't recognize.  It doesn't seem to have any option to list 
all files.

(Adding a few specific file extensions (with --langmap) won't work, 
because I want it to list any file found.  Some don't have extensions,
and I don't want to have to find every extension used in the directory
subtree and add that to the etags command just to get the file listed.)

(I can partly work around the problem by using "--lang=java", but 
that's only because in my case it doesn't matter if I break support
for etags' other languages.)


Append mode was essential too.  Without it, you can't use find and xargs 
to invoke etags.  (That means you can't select exactly which files you want 
to index or control their order, or you can't handle a long list of file
names.)


Does anyone have any idea why the CygWin version of etags doesn't support
these important features? 


Thanks,

Daniel
-- 
Daniel Barclay
Digital Focus
Daniel.Barclay@digitalfocus.com

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: etags - why changes incompatible with Emacs use (doesn't list all files)?
  2001-02-13  9:14 etags - why changes incompatible with Emacs use (doesn't list all files)? Daniel Barclay
@ 2001-02-13  9:31 ` Earnie Boyd
  2001-02-13 11:59 ` etags - why changes incompatible with Emacs use (doesn't listall files)? Charles Wilson
  1 sibling, 0 replies; 4+ messages in thread
From: Earnie Boyd @ 2001-02-13  9:31 UTC (permalink / raw)
  To: Daniel Barclay; +Cc: cygwin

Daniel Barclay wrote:
> 
> Does anyone know why the Cygwin version (or the original version) of
> etags doesn't support --append in etags (-e) mode and doesn't list all
> files anymore (relative to Emacs' etags executable)?
> 
> Listing all files was essential for Emacs' tags-search command.
> 
> If you ran etags on a list of files, you could use tags-search or
> tags-query-replace to search or search and replace in all listed files.
> (It didn't matter whether the files contained any functions or variables
> for which tags could be created.  All given files were listed in the TAGS
> files, so all could be searched.)
> 
> However, the current Cygwin etags ignores files with extensions that
> it doesn't recognize.  It doesn't seem to have any option to list
> all files.
> 
> (Adding a few specific file extensions (with --langmap) won't work,
> because I want it to list any file found.  Some don't have extensions,
> and I don't want to have to find every extension used in the directory
> subtree and add that to the etags command just to get the file listed.)
> 
> (I can partly work around the problem by using "--lang=java", but
> that's only because in my case it doesn't matter if I break support
> for etags' other languages.)
> 
> Append mode was essential too.  Without it, you can't use find and xargs
> to invoke etags.  (That means you can't select exactly which files you want
> to index or control their order, or you can't handle a long list of file
> names.)
> 
> Does anyone have any idea why the CygWin version of etags doesn't support
> these important features?
> 

Check the vim documentation.  IIRC this etags is vim supplied.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: etags - why changes incompatible with Emacs use (doesn't listall  files)?
  2001-02-13  9:14 etags - why changes incompatible with Emacs use (doesn't list all files)? Daniel Barclay
  2001-02-13  9:31 ` Earnie Boyd
@ 2001-02-13 11:59 ` Charles Wilson
  1 sibling, 0 replies; 4+ messages in thread
From: Charles Wilson @ 2001-02-13 11:59 UTC (permalink / raw)
  To: Daniel Barclay; +Cc: cygwin

On Tue, 13 Feb 2001, Daniel Barclay wrote:

> Does anyone know why the Cygwin version (or the original version) of
> etags doesn't support --append in etags (-e) mode and doesn't list all 
> files anymore (relative to Emacs' etags executable)?

The only etags executable that would be installed by 'official' cygwin
packages is the etags from the vim package.  IIRC, the vim-etags and the
emacs/xemacs-etags are different.

--Chuck



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: etags - why changes incompatible with Emacs use (doesn't list all  files)?
@ 2001-02-13 10:27 Robinow, David
  0 siblings, 0 replies; 4+ messages in thread
From: Robinow, David @ 2001-02-13 10:27 UTC (permalink / raw)
  To: cygwin

> From: Daniel Barclay [ mailto:Daniel.Barclay@digitalfocus.com ]

> Does anyone know why the Cygwin version (or the original version) of
> etags doesn't support --append in etags (-e) mode and doesn't 
> list all 
> files anymore (relative to Emacs' etags executable)?
 Although I've used emacs for over 10 years, I don't use etags so I'm not
really sure how it's supposed to work.  I'm not sure why you need a cygwin
version if you're not using a cygwin emacs but I'm sure you have your
reasons. 
 Anyway, it appears that the etags.exe which comes with cygwin xemacs does
what you want.  The XEmacs folks have stolen the Cygwin setup and applied it
to their latest windows distribution.  If you don't want to try XEmacs on
you should just download the cygwin xemacs package from www.xemacs.org
(still over 6 megs since it includes all of etc, info, and basic lisp
packages)

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-02-13 11:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-13  9:14 etags - why changes incompatible with Emacs use (doesn't list all files)? Daniel Barclay
2001-02-13  9:31 ` Earnie Boyd
2001-02-13 11:59 ` etags - why changes incompatible with Emacs use (doesn't listall files)? Charles Wilson
2001-02-13 10:27 etags - why changes incompatible with Emacs use (doesn't list all files)? Robinow, David

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).