all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* clone-buffer in Info
@ 2009-11-19 17:19 Drew Adams
  2009-11-19 18:03 ` martin rudalics
  2009-11-23 14:31 ` A Soare
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2009-11-19 17:19 UTC (permalink / raw
  To: emacs-devel

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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: clone-buffer in Info
  2009-11-19 17:19 clone-buffer in Info Drew Adams
@ 2009-11-19 18:03 ` martin rudalics
  2009-11-19 18:33   ` Drew Adams
  2009-11-23 14:31 ` A Soare
  1 sibling, 1 reply; 4+ messages in thread
From: martin rudalics @ 2009-11-19 18:03 UTC (permalink / raw
  To: Drew Adams; +Cc: emacs-devel

 > 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.

Here I don't have any problems cloning any Info buffers and navigating
them independently within their respective windows.  AFAICT this issue
was never related to dedicated windows - at least until recently.

martin




^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: clone-buffer in Info
  2009-11-19 18:03 ` martin rudalics
@ 2009-11-19 18:33   ` Drew Adams
  0 siblings, 0 replies; 4+ messages in thread
From: Drew Adams @ 2009-11-19 18:33 UTC (permalink / raw
  To: 'martin rudalics'; +Cc: emacs-devel

> Here I don't have any problems cloning any Info buffers and navigating
> them independently within their respective windows.  AFAICT this issue
> was never related to dedicated windows - at least until recently.

My bad. I was using C-x 5 2 to get the buffers in different frames, and then I
removed the wrong window, so I was in fact looking at the same buffer in both
frames. So I was mistaken, which is good. Thx.






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: clone-buffer in Info
  2009-11-19 17:19 clone-buffer in Info Drew Adams
  2009-11-19 18:03 ` martin rudalics
@ 2009-11-23 14:31 ` A Soare
  1 sibling, 0 replies; 4+ messages in thread
From: A Soare @ 2009-11-23 14:31 UTC (permalink / raw
  To: emacs-devel


> 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.
> 

Also, you can duplicate the *info* , *shell* session with rename-uniquely.










^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-23 14:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-19 17:19 clone-buffer in Info Drew Adams
2009-11-19 18:03 ` martin rudalics
2009-11-19 18:33   ` Drew Adams
2009-11-23 14:31 ` A Soare

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.