[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#6280: 24.0.50; (elisp) Dedicated Windows
From: |
Drew Adams |
Subject: |
bug#6280: 24.0.50; (elisp) Dedicated Windows |
Date: |
Thu, 27 May 2010 10:51:42 -0700 |
> > Please present the topic of dedicated windows in a way that is more
> > useful to users such as the OP in help-gnu-emacs.
>
> Should users really control the dedicatedness of individual windows?
Questions that start "Should users really control" are anti-GNU/Emacs. (Only
half-kidding.) Users are not losers.
FYI, here is what the OP on help-gnu-emacs said, before his technical request:
OP> I swear, if emacs "steals" a window to reuse for
OP> something else again, I'm going to swing an axe at it.
IMO, users should be able to make windows dedicated.
And they are able to, AFAICT.
BTW, why do you specify "individual" windows here? Did you mean something
special by that? The OP wants to dedicate all windows for buffers in a certain
mode.
> ECB, for example, uses a quite sophisticated approach to control which
> buffers can be displayed in which windows.
>
> > Provide, for instance:
> >
> > * a simple recipe for making all windows dedicated and
> > * a simple recipe for making all windows for buffers in a
> > certain mode dedicated
>
> There is none. Any function accomplishing such a thing would
> have to be run by `window-configuration-change-hook'.
* To dedicate all windows, can't you just
set `special-display-regexps' to include ".*"?
* To dedicate all windows for buffers in a mode, can't you just
add ".*" to `special-display-regexps' on the mode hook and
make the var buffer-local?
Those both seem to work OK. If you customize `emacs-lisp-mode-hook' to add this
function, doesn't it DTRT for you?
(lambda ()
(make-local-variable 'special-display-regexps)
(add-to-list 'special-display-regexps ".*"))
- bug#6280: 24.0.50; (elisp) Dedicated Windows, Drew Adams, 2010/05/27
- bug#6280: 24.0.50; (elisp) Dedicated Windows, martin rudalics, 2010/05/27
- bug#6280: 24.0.50; (elisp) Dedicated Windows,
Drew Adams <=
- bug#6280: 24.0.50; (elisp) Dedicated Windows, martin rudalics, 2010/05/28
- bug#6280: 24.0.50; (elisp) Dedicated Windows, Drew Adams, 2010/05/28
- bug#6280: 24.0.50; (elisp) Dedicated Windows, martin rudalics, 2010/05/28
- bug#6280: 24.0.50; (elisp) Dedicated Windows, Drew Adams, 2010/05/28
- bug#6280: 24.0.50; (elisp) Dedicated Windows, martin rudalics, 2010/05/29