From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tyler Smith Newsgroups: gmane.emacs.help Subject: Re: special-display-regexps Date: Fri, 27 Apr 2007 16:53:58 GMT Organization: Business Internet Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1177695270 10886 80.91.229.12 (27 Apr 2007 17:34:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 Apr 2007 17:34:30 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 27 19:34:29 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HhUKy-0008Q6-DO for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 19:34:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HhUQp-00064K-KP for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Apr 2007 13:40:31 -0400 Original-Path: shelby.stanford.edu!newshub.stanford.edu!elk.ncren.net!newsflash.concordia.ca!News.Dal.Ca!ursa-nb00s0.nbnet.nb.ca!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: slrn/0.9.8.1pl1 (Debian) Original-Lines: 38 Original-NNTP-Posting-Host: 142.177.125.219 Original-X-Complaints-To: abuse@aliant.net Original-X-Trace: ursa-nb00s0.nbnet.nb.ca 1177692838 142.177.125.219 (Fri, 27 Apr 2007 13:53:58 ADT) Original-NNTP-Posting-Date: Fri, 27 Apr 2007 13:53:58 ADT Original-Xref: shelby.stanford.edu gnu.emacs.help:147684 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:43287 Archived-At: On 2007-04-27, Drew Adams wrote: > >> That should cover any possible configuration of >> *help[R]()* ? > > 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