unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Reitter <david.reitter@gmail.com>
Subject: Re: font for dired mode?
Date: Sun, 24 Apr 2005 08:53:07 +0100	[thread overview]
Message-ID: <ab1b803e602023595df702dda4adddbd@gmail.com> (raw)

Hi Kevin,

problem solved!

> Why is the Dired buffer opened in a new frame?  Is it because you're
> using `C-x 5 d', or is some other customization coming into play
> (e.g. special-display-buffer-names)?

Yes, some other customizations are used; it's an option the user has.


> (defvar dired-other-frame-alist nil)
>
> (defadvice dired-other-frame (around frame-alist activate)

Doesn't work for me, I suspect dired-other-frame is not used.

> (add-hook 'after-make-frame-functions
>

This is getting closer! The working code is:

  (add-hook  'after-make-frame-functions
           (lambda (frame)
	    (select-frame frame)
             (when (eq major-mode 'dired-mode)
               (set-frame-font "fontset-monaco12"))))

Many thanks for setting me on the right track

-- David

             reply	other threads:[~2005-04-24  7:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-24  7:53 David Reitter [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-22  6:29 font for dired mode? David Reitter
2005-04-22 13:57 ` Joe Corneli
2005-04-21 23:07 David Reitter
2005-04-21 23:29 ` Joe Corneli
2005-04-22  9:23 ` Peter Dyballa
2005-04-22  9:33   ` David Reitter
2005-04-22 16:04 ` Kevin Rodgers

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=ab1b803e602023595df702dda4adddbd@gmail.com \
    --to=david.reitter@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).