unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: David Reitter <david.reitter@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: slow make-frame + face initialization / importing x resources
Date: Sun, 15 Jul 2007 00:28:42 +0300	[thread overview]
Message-ID: <uwsx2smid.fsf@gnu.org> (raw)
In-Reply-To: <CA85DC7F-45D5-440E-8957-A6EB5D6A86E4@gmail.com> (message from David Reitter on Sat, 14 Jul 2007 21:53:38 +0100)

> From: David Reitter <david.reitter@gmail.com>
> Date: Sat, 14 Jul 2007 21:53:38 +0100
> Cc: rms@gnu.org, emacs-devel@gnu.org
> 
> On Mac and Windows window systems, is there a reason why X resources  
> should be supported in the first place?

I don't understand the question.  The Windows port reads X resources
from the Registry; why shouldn't we support that?

> Sharing the faces between frames would be good to.

What kind of sharing do you have in mind?  Faces are frame-specific,
so changing a face generally affects only the frame for which it is
changed.  If the suggested sharing will defeat this, I don't think
it's a good idea.

> Can faces be deleted? No? This is probably why more and more faces
> accumulate over time (when you use something like color-theme,
> e.g.).

If color-theme blindly adds faces instead of modifying existing ones,
then yes.  Does it actually do that?

> What is the memory footprint of a single frame then?

See struct frame defined on frame.h, but some of its members have
variable length.

  reply	other threads:[~2007-07-14 21:28 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 17:55 slow make-frame + face initialization / importing x resources David Reitter
2007-07-13 23:08 ` Richard Stallman
2007-07-14  1:21   ` Stefan Monnier
2007-07-14 22:32     ` Richard Stallman
2007-07-14  1:55   ` Stefan Monnier
2007-07-14 20:53     ` David Reitter
2007-07-14 21:28       ` Eli Zaretskii [this message]
2007-07-15  1:29         ` Stefan Monnier
2007-07-15 13:50           ` Jan Djärv
2007-07-15 14:07             ` David Kastrup
2007-07-15 22:02               ` Jan Djärv
2007-07-15 22:54             ` Richard Stallman
2007-07-15 22:53           ` Richard Stallman
2007-07-15  8:26         ` Juanma Barranquero
2007-07-15  9:35         ` David Reitter
2007-07-15 20:10           ` chad brown
2007-07-15 22:08             ` David Reitter
2007-07-16  1:40           ` Stefan Monnier
2007-07-16  3:19           ` 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

  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=uwsx2smid.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 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).