all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler.smith@mail.mcgill.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: special-display-regexps
Date: Fri, 27 Apr 2007 16:53:58 GMT	[thread overview]
Message-ID: <slrnf34e5q.fqd.tyler.smith@blackbart.mynetwork> (raw)
In-Reply-To: mailman.2609.1177690056.7795.help-gnu-emacs@gnu.org

On 2007-04-27, Drew Adams <drew.adams@oracle.com> wrote:
>
>> That should cover any possible configuration of
>> *help[R](<anything>)* ?
>
> Yes.
>
>> It works in regexp searches within a buffer,
>> just not for a buffer name. I checked the value returned by
>> (buffer-name), so I'm pretty sure I'm trying to match the right
>> phrase.
>
> Are you sure you're testing with `pop-to-buffer' or `display-buffer' (or
> something that calls one of those)? It works for me, using your examples.
>
> You can also test using `special-display-p', but you will need to ensure
> that `same-window-buffer-names' and `same-window-regexps' are not
> interfering with whatever you use for `special-display-buffer-regexps'.
>

I don't know how to use pop-to-buffer or display-buffer to test
this. I tried special-display-p on the following, and all worked as
expected. 

(special-display-p "*Completions*") ; returns t
(special-display-p "*Help*") ; returns t
(special-display-p "*help[R](matrix)*") ; returns t
(special-display-p "*scratch*") ; returns nil

Maybe it's something internal to ESS -- it uses a special function to
call the help buffer, so I've posted my problem on the
gmane.emacs.ess.general list to see if they know what's going on. 

Thanks again,

Tyler

       reply	other threads:[~2007-04-27 16:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2609.1177690056.7795.help-gnu-emacs@gnu.org>
2007-04-27 16:53 ` Tyler Smith [this message]
2007-04-27 17:43   ` special-display-regexps Drew Adams
     [not found] <mailman.2610.1177696237.7795.help-gnu-emacs@gnu.org>
2007-04-27 19:43 ` special-display-regexps Tyler Smith
     [not found] <mailman.2605.1177686747.7795.help-gnu-emacs@gnu.org>
2007-04-27 15:29 ` special-display-regexps Tyler Smith
2007-04-27 16:00   ` special-display-regexps Drew Adams
     [not found] <mailman.2574.1177649782.7795.help-gnu-emacs@gnu.org>
2007-04-27 12:40 ` special-display-regexps Tyler Smith
2007-04-27 15:06   ` special-display-regexps Drew Adams
2007-04-27  2:20 special-display-regexps Tyler Smith
2007-04-27  4:49 ` special-display-regexps Drew Adams

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=slrnf34e5q.fqd.tyler.smith@blackbart.mynetwork \
    --to=tyler.smith@mail.mcgill.ca \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.