bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local


From: Lars Magne Ingebrigtsen
Subject: bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local
Date: Sat, 17 Sep 2011 09:04:17 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Steve Yegge <address@hidden> writes:

> 1) emacs -q  (with non-nil window-system)
> 2) find-file /usr/share/dict/words
>    - any file longer than ~3x the frame height should serve to demonstrate
>    - in remaining steps I'll call this file buffer BUF
> 3) (goto-char (/ (point-max) 2))
> 4) (new-frame)
> 5) (other-frame)  ; if necessary to put point in new frame
> 6) switch to buffer BUF
> 7) (goto-char (point-min))
> 8) switch to buffer *scratch* (or any other buffer)
> 9) switch to buffer BUF
>
> Observe that point has returned to (/ (point-max) 2).

I can confirm that this behaviour is still present in Emacs 24.

And it seems like an unfortunate behaviour.  How difficult would it be
to stash window-point (I guess) on a per-frame basis?  Frame-local
variables are being phased out, but it seems like this would be nice to
have.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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