TAGS for emacs

Pranav Kant pranav913 at gmail.com
Sat Mar 12 14:07:53 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160312/87967ac4/attachment.html>


More information about the LibreOffice mailing list