GNU bug report logs - #33870
27.0.50; xref-goto-xref not configurable

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 25 Dec 2018 20:53:01 UTC

Severity: minor

Found in version 27.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 33870 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, joaotavora <at> gmail.com, dgutov <at> yandex.ru
Subject: bug#33870: 27.0.50; xref-goto-xref not configurable
Date: Mon, 28 Jan 2019 19:38:58 +0100
> Thanks, some suggestions to simplify its usage:
>
> 1. avoid using dotted pair notation that often causes problems;

You probably mean separate 'direction' and 'window' entries instead of
the (direction . (WIN . DIR)).  But we didn't find a good term for
denoting the reference window and the two inherently belong together.

> 2. instead of asking the user to invent a value to use for the selected window,
>     allow omitting it in this case, by reversing WIN and DIR, for example:
>
>     display-buffer-in-direction (direction DIR WIN)
>     display-buffer-in-direction (direction up main)
>     display-buffer-in-direction (direction up) -- by default means
>                                                   from the selected window

We can do that.

> PS: what about 'resize-to-fit'?  I guess it's impossible to implement it
> as an alist, because currently fit-window-to-buffer/preserve-size usually
> are used as an argument of the macro 'with-displayed-buffer-window'.

If we don't implement it already via the window-height/window-width
entries we can add a window-size entry.  But I forgot what you wanted
here.

martin




This bug report was last modified 6 years and 35 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.