all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Angelo Graziosi <angelo.graziosi@alice.it>
To: martin rudalics <rudalics@gmx.at>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: About desktop file
Date: Mon, 12 Sep 2016 22:07:17 +0200	[thread overview]
Message-ID: <e5e25bb9-a03c-f3c9-8847-aca2a4baa9a9@alice.it> (raw)
In-Reply-To: <57D649ED.90504@gmx.at>

Il 12/09/2016 08:23, martin rudalics ha scritto:
>> When I restart Emacs, it loads the buffers with the old 'foo' font.
> Usually, to have the buffers with the new font, I remove the desktop
> file and reload manually the working buffers.
>>
>> Is there a way to do this differently?
>
> Customize ‘frameset-filter-alist’.  That's precisely what this variable
> should have been devised for.  I can't help much with this because since
> commit e65c307 my init file font settings are not respected anyway.
>

Maybe I haven't understood things.

On EmacsWiki [1], I find

'To change the default font for the current frame, as well as future 
frames, put either of these in your init file:

(set-face-attribute 'default nil :font FONT ))
(set-frame-font FONT nil t)

where FONT is a string naming the font you want, for example, "Droid 
Sans Mono-10"'

So I would expect that restarting Emacs, not only the second but also 
the first frame is rendered with the new font. If I have to customize 
something else, like you suggest, the EmacsWiki information are incomplete.

The question, then, is: How an user can change the default font so that 
this change in the init file is honored also by desktop file? What to 
put in the init file..

Angelo


-----
[1] https://www.emacswiki.org/emacs/SetFonts



  reply	other threads:[~2016-09-12 20:07 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-11  8:31 About desktop file Angelo Graziosi
2016-09-11 16:34 ` Eli Zaretskii
2016-09-11 20:13   ` Angelo Graziosi
2016-09-11 21:32     ` Chad Brown
2016-09-11 23:43       ` Angelo Graziosi
2016-09-12 16:47         ` Eli Zaretskii
2016-09-12 16:43     ` Eli Zaretskii
2016-09-12 20:14       ` Angelo Graziosi
2016-09-13 14:20         ` Eli Zaretskii
2016-09-13 21:35           ` Angelo Graziosi
2016-09-14 17:30             ` Eli Zaretskii
2016-09-15 13:25               ` Angelo Graziosi
2016-09-15 14:41                 ` Eli Zaretskii
2016-09-15 18:01                   ` Angelo Graziosi
2016-09-17  9:21                     ` Eli Zaretskii
2016-09-17 13:04                       ` Angelo Graziosi
2016-09-17 13:36                         ` Eli Zaretskii
2016-09-12  6:23 ` martin rudalics
2016-09-12 20:07   ` Angelo Graziosi [this message]
2016-09-13 14:22     ` Eli Zaretskii

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=e5e25bb9-a03c-f3c9-8847-aca2a4baa9a9@alice.it \
    --to=angelo.graziosi@alice.it \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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.