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: martin rudalics
Subject: bug#4041: 23.0.92; Emacs 23: buffer point is no longer frame-local
Date: Fri, 07 Oct 2011 19:00:48 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>> We'd have to handle two issues:
>>
>> (1) If a buffer is shown nowhere else and you `switch-to-buffer' to it,
>>     you probably want it to show it at the actual position of `point' -
>>     whatever that means for you.
>>
>> (2) If the buffer is already shown on another frame with `point' visible
>>     it makes sense to `switch-to-buffer' at some position it earlier had
>>     on the present frame.
>>
>> Whatever we did here, it would make `switch-to-buffer' behave
>> inconsistently.
>
> But it'd be the natural thing to do, I think.

I can't tell because I'm a single-frame user.  The main argument in
favor of a "retain the previous point" strategy is that it makes no
sense to go to the same position already shown in another frame.  But
then what about doing C-x b in a window below another one already
showing the buffer I want to switch to?

> People commonly use `C-x b' to switch buffers...

... and that's why I'm afraid of changing its semantics.  More so
because I never use C-x b.

We could make the behavior optional but I'd like to hear more comments
from other users first.  In any case this is a 24.2 project.

martin





reply via email to

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