GNU bug report logs - #19468
25.0.50; UI inconveniences with M-.

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 29 Dec 2014 20:27:02 UTC

Severity: normal

Found in version 25.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: Dmitry Gutov <dgutov <at> yandex.ru>
To: martin rudalics <rudalics <at> gmx.at>, Helmut Eller <eller.helmut <at> gmail.com>
Cc: 19468 <at> debbugs.gnu.org
Subject: bug#19468: 25.0.50; UI inconveniences with M-.
Date: Mon, 05 Jan 2015 01:51:39 +0300
On 01/04/2015 11:55 AM, martin rudalics wrote:

> You could try to bind "q" to a function that invokes `quit-window' for
> both windows (preferably in inverse order of how they were made).

In all likelihood, we've displayed several buffers in succession in that 
other window. Or none. Doing `quit-window' there exactly once won't suffice.

So I guess this amounts to keeping a buffer-window history of everything 
that was opened from *xrefs*, and on `q', iterate through that list and, 
if the given window displays the given buffer, `quit-buffer' on it. Then 
clear the history and quit *xrefs*.

I kinda like that.




This bug report was last modified 9 years and 150 days ago.

Previous Next


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