TAGS for emacs

Pranav Kant pranav913 at gmail.com
Thu Mar 17 05:22:44 UTC 2016


On Thu, Mar 17, 2016 at 7:31 AM, Takeshi Abe <tabe at fixedpoint.jp> wrote:

> Hi Pranav,
>
> On Wed, 16 Mar 2016 10:01:29 +0100, Miklos Vajna <vmiklos at collabora.co.uk>
> wrote:
> > On Sat, Mar 12, 2016 at 07:37:53PM +0530, Pranav Kant wrote:
> >> 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 ?
> No. The '-e' option is not for passing to ctags as is, just for a switch to
> ask create-tags to generate Emacs-friendly tags.
>


Yeah, that is how it is currently for LO. But -e flag does exist for
`ctags' binary too, and above should also work nicely to output emacs
formatted ctags.


>
> So far `make etags` works only when you have etags command.
>
> >> (unless people have separate `etags' file
> >> symbolically linked to ctags binary, which doesn't seem default on most
> >> systems).
> Fedora, as well as Debian, offers the alternatives system to name a command
> by symlinking a suitable binary or according to your choice:
> https://fedoraproject.org/wiki/Packaging:Alternatives
>
> At least the following packages provide etags functionality on Fedora:
> https://apps.fedoraproject.org/packages/ctags-etags
> https://apps.fedoraproject.org/packages/emacs
> A etags symlink will be magically created once you install either of them.
>

Yes, thanks. This should work as well.


>
> Cheers,
> -- Takeshi Abe
>



-- 
Regards,
Pranav Kant
http://pranavk.me
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160317/6f5959fb/attachment.html>


More information about the LibreOffice mailing list