[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: same-window-regexps for M-x man

From: Dmitriy Igrishin
Subject: Re: same-window-regexps for M-x man
Date: Thu, 10 Mar 2011 23:19:28 +0300

2011/3/10 Eli Zaretskii <address@hidden>
> Date: Thu, 10 Mar 2011 22:30:42 +0300
> From: Dmitriy Igrishin <address@hidden>
> 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'.
To my blame I was confused by same-window-regexps
and didn't tried to figure out this variable myself...
Thank you very much!

PS. Maybe it should be documented (noticed) in the documentation
Because I personally considered that the M-x man affected
by same-window-regexps as M-x shell after reading 25.4 chapter
of the doc...

// Dmitriy.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]