* same-window-regexps for M-x man
@ 2011-03-10 19:30 Dmitriy Igrishin
2011-03-10 20:02 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Dmitriy Igrishin @ 2011-03-10 19:30 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
Hey all,
Somebody can explain why the code below does not work
as expected ?
(add-to-list 'same-window-regexps "\\`\\*Man.*\\*\\'")
nor
(add-to-list 'same-window-regexps "\\*Man.*\\*")
does not force display man pages with M-x man
in the same window (as expected).
I am totally annoyed to switch to *Man buffers for C-x 1 when
I working in shell mode. I found it more naturally to view
man pages in the window of the shell mode (as in Un*x shell).
Please, any workaround (solution)?
--
// Dmitriy.
[-- Attachment #2: Type: text/html, Size: 639 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: same-window-regexps for M-x man
2011-03-10 19:30 same-window-regexps for M-x man Dmitriy Igrishin
@ 2011-03-10 20:02 ` Eli Zaretskii
2011-03-10 20:19 ` Dmitriy Igrishin
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2011-03-10 20:02 UTC (permalink / raw)
To: help-gnu-emacs
> Date: Thu, 10 Mar 2011 22:30:42 +0300
> From: Dmitriy Igrishin <dmitigr@gmail.com>
>
> Somebody can explain why the code below does not work
> as expected ?
>
> (add-to-list 'same-window-regexps "\\`\\*Man.*\\*\\'")
> nor
> (add-to-list 'same-window-regexps "\\*Man.*\\*")
>
> does not force display man pages with M-x man
> in the same window (as expected).
Because "M-x man" doesn't use display-buffer?
> Please, any workaround (solution)?
Try customizing Man-notify-method to the value `pushy'.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-10 20:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-10 19:30 same-window-regexps for M-x man Dmitriy Igrishin
2011-03-10 20:02 ` Eli Zaretskii
2011-03-10 20:19 ` Dmitriy Igrishin
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).