GNU bug report logs - #17589
24.3.91; lisp/frameset.el

Previous Next

Package: emacs;

Reported by: eg5cue <at> gmail.com

Date: Sun, 25 May 2014 19:47:02 UTC

Severity: normal

Tags: patch

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 17589 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Arash Cue <eg5cue <at> gmail.com>
Cc: 17589 <at> debbugs.gnu.org
Subject: Re: bug#17589: 24.3.91; lisp/frameset.el
Date: Mon, 26 May 2014 21:04:07 +0200
On Mon, May 26, 2014 at 7:49 PM, Arash Cue <eg5cue <at> gmail.com> wrote:

> sry, now i noticed it only happens when different files with the same name
> opened in each frame...

Interesting.

Saving a frame configuration to a register really does a very
low-level saving of the frame, so I suppose it keeps pointers to the
buffers even if they are renamed.

Framesets (or, really, window states) on the other hand, save the
buffer *names*. So if you rename a buffer, as it happens when you
visit another file with the same name, the frameset's window state
loses the reference to the original buffer.

As framesets used in frameset-to-register (C-x r f R) are intended for
in-session use only, I suppose I could hook into uniquify or some
other hook and dynamically alter the in-memory frameset(s), but it
seems quite hackish. I'll have to think about it.

    J




This bug report was last modified 3 years and 225 days ago.

Previous Next


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