unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Mathias Dahl <brakjoller@gmail.com>
Subject: Re: Lock buffer to window
Date: Fri, 08 Sep 2006 10:00:40 +0200	[thread overview]
Message-ID: <uwt8eeqjb.fsf@gmail.com> (raw)
In-Reply-To: u1wqmg5ak.fsf@gmail.com

Mathias Dahl <brakjoller@gmail.com> 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.

  reply	other threads:[~2006-09-08  8:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6613.1157699819.9609.help-gnu-emacs@gnu.org>
2006-09-08  7:56 ` Lock buffer to window Mathias Dahl
2006-09-08  8:00   ` Mathias Dahl [this message]
2006-09-11  7:23   ` henning
2007-05-23 19:14 Nikolaj Fogh
     [not found] ` <mailman.1165.1180017190.32220.help-gnu-emacs@gnu.org>
2007-05-24 14:05   ` Nikolaj Fogh
2007-05-24 14:32 ` Nikolaj Schumacher
2007-05-24 21:45   ` Xavier Maillard
2007-05-24 21:45 ` Xavier Maillard
  -- strict thread matches above, loose matches on Subject: below --
2006-09-11 12:28 martin rudalics
2006-09-08  7:16 henning

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=uwt8eeqjb.fsf@gmail.com \
    --to=brakjoller@gmail.com \
    /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).