From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.help Subject: Re: Lock buffer to window Date: Fri, 08 Sep 2006 10:00:40 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157705181 8397 80.91.229.2 (8 Sep 2006 08:46:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 08:46:21 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 08 10:46:20 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLc0C-0001rY-1B for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 10:46:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLc0B-0004v9-Gy for geh-help-gnu-emacs@m.gmane.org; Fri, 08 Sep 2006 04:46:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 Original-X-Trace: individual.net cobmmejJqk6NXIYPLIbpPQXim/v/f4b8uBf5GycvEr/V0efVDw User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt) Cancel-Lock: sha1:iruODdOOBn6LxBKyUZUifuGcDMM= Original-Xref: shelby.stanford.edu gnu.emacs.help:141608 Original-To: help-gnu-emacs@gnu.org 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:37230 Archived-At: Mathias Dahl writes: > If you want to do more advanced matching of buffer names, try > `special-display-regexps' instead. While I'm at it I could as well give you an advanced example of this: (setq special-display-regexps (list (list "jabber-chat" '(width . 80) '(scroll-bar-width . 16) '(height . 15) '(tool-bar-lines . 0) '(menu-bar-lines 0) '(left . 80) '(top . 120) '(icon-type . "h:/dat/gfx/ico/jabber_bulb_small.ico") (cons 'font (if (memq window-system '(win32 w32)) "-GURSoutline-Courier New-normal-r-normal-normal-11-82-96-96-c-70-iso8859-1" "-Misc-Fixed-Medium-R-Normal--14-130-75-75-C-70-ISO8859-1"))))) The above will make all buffers matching "jabber-chat" open up in a new frame with the specified frame properties. Quite cool.