unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* About desktop file
@ 2016-09-11  8:31 Angelo Graziosi
  2016-09-11 16:34 ` Eli Zaretskii
  2016-09-12  6:23 ` martin rudalics
  0 siblings, 2 replies; 20+ messages in thread
From: Angelo Graziosi @ 2016-09-11  8:31 UTC (permalink / raw)
  To: Emacs developers

The 'desktop' file is very useful but sometimes it remembers too many 
things..

Suppose I am using "foo" font in my init.el file:

(set-face-attribute 'default nil :font "foo 13" )
(set-frame-font "foo 13" nil t)

and that I am working with many buffers. Now suppose I change the font 
to use 'bar' font:

(set-face-attribute 'default nil :font "bar13" )
(set-frame-font "bar 13" nil t)

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?

My opinion is that desktop file should remember cursor position, working 
buffers, their visiting modes, searched word, frame geometry-position 
etc. not the font how buffers are displayed and similar.


Ciao,
Angelo.



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2016-09-17 13:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2016-09-13 14:22     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).