[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Jumping to C source from *Help*
From: |
Stefan Monnier |
Subject: |
Re: Jumping to C source from *Help* |
Date: |
11 Apr 2004 19:17:01 -0400 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
>> switch-to-buffer means "I specifically want the buffer in THIS window."
>> It should get an error if it can't do that. To display the buffer
>> in another window would be failing to do the intended job.
Obviously we need to distinguish between "switch-to-buffer the command"
and "switch-to-buffer" the function. I don't care about the behavior
of the command, but of the function.
> Doc string for set-window-dedicated-p says this:
> If it is dedicated, Emacs will not automatically change
> which buffer appears in it.
The problem is not only with dedicated windows but also with
minibuffer-windows.
In my experience most uses of switch-to-buffer inside code
(i.e. as a function) lead to problems in setups such as mine
(i.e. with a separate minibuffer-only frame and with many dedicated
windows).
And the problem is made worse because there is currently no function that
does what we want in such case, i.e. "show buffer B, preferably in the
current window".
Stefan
- Re: Jumping to C source from *Help*, (continued)
- Re: Jumping to C source from *Help*, Juri Linkov, 2004/04/08
- Re: Jumping to C source from *Help*, Kim F. Storm, 2004/04/08
- Re: Jumping to C source from *Help*, Richard Stallman, 2004/04/09
- Re: Jumping to C source from *Help*, Stefan Monnier, 2004/04/08
- switch-buffer to use other window if dedicated window (was: Jumping to C source from *Help*), Drew Adams, 2004/04/08
- Re: Jumping to C source from *Help*, Richard Stallman, 2004/04/09
- Re: Jumping to C source from *Help*, Kim F. Storm, 2004/04/10
- Re: Jumping to C source from *Help*,
Stefan Monnier <=
- Re: Jumping to C source from *Help*, Glenn Morris, 2004/04/12
- Re: Jumping to C source from *Help*, Richard Stallman, 2004/04/14
- Re: Jumping to C source from *Help*, Glenn Morris, 2004/04/15
- Re: Jumping to C source from *Help*, Richard Stallman, 2004/04/19
- Re: Jumping to C source from *Help*, Kim F. Storm, 2004/04/19
- Re: Jumping to C source from *Help*, Glenn Morris, 2004/04/19
- RE: Jumping to C source from *Help*, Drew Adams, 2004/04/20
- Re: Jumping to C source from *Help*, Richard Stallman, 2004/04/20
- Re: Jumping to C source from *Help*, Glenn Morris, 2004/04/20
- Re: Jumping to C source from *Help*, Miles Bader, 2004/04/20