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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to