unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Frames and buffers: where to customize?
@ 2007-10-25 16:05 Joel J. Adamson
  2007-10-25 18:44 ` Drew Adams
  2007-10-27  6:59 ` Frames and buffers: where to customize? don provan
  0 siblings, 2 replies; 4+ messages in thread
From: Joel J. Adamson @ 2007-10-25 16:05 UTC (permalink / raw)
  To: help-gnu-emacs

Howdy,

I'm searching for the right variable to customize to affect the
following behavior: I'll be using a buffer in one frame, and then want
to visit that buffer in another frame (perhaps on another workspace).
I switch to the desired frame, then "C-x b <buffer-name>" and I'll be
switched back to the first frame.  I would rather have that buffer in
the new frame.  How do I get the behavior I want.

I'm using iswitchb mode in Emacs 23.0.0.1 on Slackware Linux 12.0 (I
compiled this from CVS myself).

Thanks,
Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109

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

* RE: Frames and buffers: where to customize?
  2007-10-25 16:05 Frames and buffers: where to customize? Joel J. Adamson
@ 2007-10-25 18:44 ` Drew Adams
  2007-10-25 19:06   ` iswitchb-default-method (was: Frames and buffers: where to customize?) Joel J. Adamson
  2007-10-27  6:59 ` Frames and buffers: where to customize? don provan
  1 sibling, 1 reply; 4+ messages in thread
From: Drew Adams @ 2007-10-25 18:44 UTC (permalink / raw)
  To: Joel J. Adamson, help-gnu-emacs

> I'm searching for the right variable to customize to affect the
> following behavior: I'll be using a buffer in one frame, and then want
> to visit that buffer in another frame (perhaps on another workspace).
> I switch to the desired frame, then "C-x b <buffer-name>" and I'll be
> switched back to the first frame.  I would rather have that buffer in
> the new frame.  How do I get the behavior I want.
> 
> I'm using iswitchb mode in Emacs 23.0.0.1 on Slackware Linux 12.0 (I
> compiled this from CVS myself).

Not sure what you want.

C-x 5 2 clones the current frame.
C-x 5 b visits a buffer in another frame.

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

* iswitchb-default-method (was: Frames and buffers: where to customize?)
  2007-10-25 18:44 ` Drew Adams
@ 2007-10-25 19:06   ` Joel J. Adamson
  0 siblings, 0 replies; 4+ messages in thread
From: Joel J. Adamson @ 2007-10-25 19:06 UTC (permalink / raw)
  To: Drew Adams; +Cc: help-gnu-emacs

"Drew Adams" <drew.adams@oracle.com> writes:
>> I'm using iswitchb mode in Emacs 23.0.0.1 on Slackware Linux 12.0 (I
>> compiled this from CVS myself).
>
> Not sure what you want.

I want the world and I want it now.

apropos iswitchb-buffer.  I customized iswitchb-default-method:
--8<---------------cut here---------------start------------->8---

iswitchb-default-method is a variable defined in `iswitchb.el'.
Its value is always-frame


Documentation:
*How to switch to new buffer when using `iswitchb-buffer'.
Possible values:
`samewindow'	Show new buffer in same window
`otherwindow'	Show new buffer in another window (same frame)
`display'	Display buffer in another window without switching to it
`otherframe'	Show new buffer in another frame
`maybe-frame'	If a buffer is visible in another frame, prompt to ask if you
		you want to see the buffer in the same window of the current
  		frame or in the other frame.
`always-frame'  If a buffer is visible in another frame, raise that
		frame.  Otherwise, visit the buffer in the same window.

You can customize this variable.
--8<---------------cut here---------------end--------------->8---

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109


The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.

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

* Re: Frames and buffers: where to customize?
  2007-10-25 16:05 Frames and buffers: where to customize? Joel J. Adamson
  2007-10-25 18:44 ` Drew Adams
@ 2007-10-27  6:59 ` don provan
  1 sibling, 0 replies; 4+ messages in thread
From: don provan @ 2007-10-27  6:59 UTC (permalink / raw)
  To: help-gnu-emacs

jadamson@partners.org (Joel J. Adamson) writes:

> I'll be using a buffer in one frame, and then want
> to visit that buffer in another frame (perhaps on another workspace).
> I switch to the desired frame, then "C-x b <buffer-name>" and I'll be
> switched back to the first frame.  I would rather have that buffer in
> the new frame.  How do I get the behavior I want.

See the variable iswitchb-default-method. At least that's what
controls it in Emacs 21.3.
-don

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

end of thread, other threads:[~2007-10-27  6:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-25 16:05 Frames and buffers: where to customize? Joel J. Adamson
2007-10-25 18:44 ` Drew Adams
2007-10-25 19:06   ` iswitchb-default-method (was: Frames and buffers: where to customize?) Joel J. Adamson
2007-10-27  6:59 ` Frames and buffers: where to customize? don provan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).