From: David Kastrup <dak@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Working with one buffer in two frames/windows
Date: Sat, 12 Jul 2008 10:21:57 +0200 [thread overview]
Message-ID: <85myknqzq2.fsf@lola.goethe.zz> (raw)
In-Reply-To: <jwviqvbj18k.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 11 Jul 2008 22:24:09 -0400")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> it is annoyingly impossible to keep working with two views of the same
>> buffer. For example, say that I have a file text.tex open in two frames
>> since I want to work on two different locations of it via
>> comparison/cut&paste/whatever.
>
>> Now I type M-x gnus RET, read news and quit again. As a consequence, a
>> totally unrelated buffer pops up. And of course, when I get back the
>> buffer again (which is not the default offered), the window point is
>> lost and replaced by that of the other frame that is still on.
>
> Yes, it's problematic. Emacs's buffer/window management presumes you
> most likely want to display a buffer in only 1 window at a time.
It is clearly presuming too much and remembering too little about my
preferences.
> As someone else mentioned you can kind of work around this via
> clone-indirect-buffer.
>
>> That is quite a nuisance. Are there some ways to make a two-view setup
>> less ephemeral?
>
> You might want to try and play with window-configs.
Do you mean as in "find your own private way to fight Emacs'
misbehavior" or in "somebody should really start working on improving
this, and maybe you could give it a thought"?
I don't think that the solution lies in user commands. The behavior for
temporary screens like help screens and gnus screens and other stuff is
far too egregiously annoying to make it reasonable to require the user
to fight for his window configuration each time.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2008-07-12 8:21 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-11 10:55 Working with one buffer in two frames/windows David Kastrup
2008-07-11 11:28 ` David Hansen
2008-07-12 2:24 ` Stefan Monnier
2008-07-12 8:21 ` David Kastrup [this message]
2008-07-12 10:40 ` martin rudalics
2008-07-12 11:02 ` David Kastrup
2008-07-12 12:22 ` martin rudalics
2008-07-12 20:40 ` Stephen J. Turnbull
2008-07-12 20:41 ` David Kastrup
2008-07-12 22:53 ` Stephen J. Turnbull
2008-07-12 21:20 ` Stefan Monnier
2008-07-13 13:06 ` Alan Mackenzie
2008-07-14 1:44 ` Stefan Monnier
2008-07-22 5:45 ` Vincent Belaïche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85myknqzq2.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.