emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xref completion


From: William Xu
Subject: Re: Xref completion
Date: Wed, 18 Nov 2020 19:53:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (darwin)

Dmitry Gutov <dgutov@yandex.ru> writes:

> I'm not sure why prepend and not append, but I suppose it's a matter
> of preference.

In my case, some directory/file names are extremely long... But either
way is fine.

> Also, xref-location-line can return nil (then format will error out
> because of %d). So after a little experimenting, this is the form I 
> ended up with:
>
>   (format "%s:%s: %s" group line summary)

Thanks for catching that. I didn't know that "%s" prints not only
strings, but any types.. 

It would be nice if the change can be merged. Then I only need one line
setting.

-- 
William




reply via email to

[Prev in Thread] Current Thread [Next in Thread]