all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: clone-buffer in Info
Date: Thu, 19 Nov 2009 09:19:04 -0800	[thread overview]
Message-ID: <686066FE605346A3B2374C97903C0D55@us.oracle.com> (raw)

I just discovered something I should probably have discovered years ago.

I often use `M-x clone-buffer' in Info, to be able to view different nodes at
the same time. In my own setup, Info windows are always dedicated, which is
(apparently) why I can do that. The nodes can be in different manuals.

Just now, for instance, for my reply to thread "questions about blink-cursor
mode", I compared Info nodes (emacs)Hooks and (elisp)Hooks in separate windows,
just by using `clone-buffer'.

I never realized that this possibility was only because I use dedicated windows.
I found that out by accident, by trying the same thing in `emacs -Q'. There,
it's not possible - when you navigate to a node, the cloned buffer follows.

Just using `set-window-dedicated-p' takes care of this and DTRT. But `M-:
(set-window-dedicated-p (selected-window) t)' is not something that many Emacs
users will think of doing, especially for this purpose. They wouldn't even know
that this would give them a way to look at multiple nodes (I assume this is not
documented as such).

It seems so useful, to me, to be able to have separate Info windows looking at
different nodes (possibly in different manuals), that I wonder if we shouldn't
somehow automatically DTRT in this regard. Either by automatically dedicating
the window whenever you use `clone-buffer' (in Info) or by some other means.

Or at least document this. I had no idea that this feature was _not_ available
out of the box without doing anything. Many Emacs users must have been losing
out on this.





             reply	other threads:[~2009-11-19 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19 17:19 Drew Adams [this message]
2009-11-19 18:03 ` clone-buffer in Info martin rudalics
2009-11-19 18:33   ` Drew Adams
2009-11-23 14:31 ` A Soare

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=686066FE605346A3B2374C97903C0D55@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /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.