GNU bug report logs - #51
frame-title-format is built with wrong selected-frame

Previous Next

Package: emacs;

Reported by: Damon Permezel <permezel <at> mac.com>

Date: Tue, 11 Mar 2008 17:55:03 UTC

Severity: normal

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 51 <at> debbugs.gnu.org
Subject: bug#51: difficulty creating unique frame names
Date: Tue, 11 Mar 2008 17:35:09 -0400
retitle 51 frame-title-format run with wrong selected-frame
thanks

> The Buffers>Frames menu thus presents a list of buffers many with the
> same names.

Indeed.  I don't think there's much we can do about that for now.

> Also, any command for manipulating frames by frame names
> really cannot use the name to distinguish between the frames.  Note that
> the Buffers>Frames cannot be used to select all the frames with the same
> name when there are more than 2 with the same name.  This is a bug!

Indeed, thanks.  Should be fixed now on the trunk.

> I wish to retain the "%b" functionality in the frame-title-format, so
> I have attempted to construct a FORM that will be evaluated when the
> frame title is desired to provide some unique element --- in this case
> a F%d where the %d is the index of the frame within the (frame-list), say.

> I find that it is not possible to calculate this correctly, as I have
> no means, from elisp, at the time the FORM is being evaluated, to
> obtain the frame in question.

Indeed, I expected `selected-frame' to return the right frame, but
it doesn't.  That's also a bug.  But it's not fixed yet.


        Stefan




This bug report was last modified 17 years and 120 days ago.

Previous Next


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