From: Dmitriy Igrishin <dmitigr@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: same-window-regexps for M-x man
Date: Thu, 10 Mar 2011 23:19:28 +0300 [thread overview]
Message-ID: <AANLkTinVLxSu=yAxw=cSBMt9SOseUWa+YugU9pp73Jbd@mail.gmail.com> (raw)
In-Reply-To: <83aah2vj5m.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1010 bytes --]
2011/3/10 Eli Zaretskii <eliz@gnu.org>
> > 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'.
>
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
here
http://www.gnu.org/software/emacs/manual/html_node/emacs/Force-Same-Window.html
?
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.
[-- Attachment #2: Type: text/html, Size: 1650 bytes --]
prev parent reply other threads:[~2011-03-10 20:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='AANLkTinVLxSu=yAxw=cSBMt9SOseUWa+YugU9pp73Jbd@mail.gmail.com' \
--to=dmitigr@gmail.com \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).