Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


While looking for compatible TAGS file for emacs, I found we have a 'make
etags' that is supposed to generates emacs compatible tags file. But this
doesn't seem to work, atleast on my fedora box (because the `etags' binary
on my system is different and doesn't accept some flags that
solenv/bin/create-tags script gives it to, such as --langmap)

ctags documentation says, to generate tags in emacs format one either needs
to pass -e flag to binary or alternatively

"if ctags is invoked by a name containing the string "etags" (either by
renaming, or creating a link to, the executable), etags mode will be
enabled."

Shouldn't it be like this :

--- a/solenv/bin/create-tags
+++ b/solenv/bin/create-tags
@@ -9,7 +9,7 @@

 ctags=ctags
 if test "$1" = "-e"; then
-    ctags=etags
+    ctags="ctags -e"
 fi


to make it work properly ? (unless people have separate `etags' file
symbolically linked to ctags binary, which doesn't seem default on most
systems).

Or is there something I missed here ?

-- 
Regards,
Pranav Kant
http://pranavk.me

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.