From: David Kastrup <dak@gnu.org>
To: "Jan Djärv" <jan.h.d@swipnet.se>
Cc: David Reitter <david.reitter@gmail.com>,
Eli Zaretskii <eliz@gnu.org>,
Stefan Monnier <monnier@iro.umontreal.ca>,
emacs-devel@gnu.org
Subject: Re: slow make-frame + face initialization / importing x resources
Date: Sun, 15 Jul 2007 16:07:14 +0200 [thread overview]
Message-ID: <85ir8lvjzh.fsf@lola.goethe.zz> (raw)
In-Reply-To: <469A260F.7010204@swipnet.se> ("Jan Djärv"'s message of "Sun\, 15 Jul 2007 15\:50\:07 +0200")
Jan Djärv <jan.h.d@swipnet.se> writes:
> Stefan Monnier skrev:
>>>> 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.
>>
>> I'm thinking of doing ref-counts and COW, so by default, if the new frame is
>> similar (e.g. on the same screen with the "same" frame parameters), so the
>> faces are inherited. They can later get unshared if needed.
>>
>
> What if X resources changed between creation of the first and second frame?
What if? We don't track the changes of X resources in real-time for
the first frame, so what problem is there in not tracking them between
frames?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
next prev parent reply other threads:[~2007-07-15 14:07 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
2007-07-15 1:29 ` Stefan Monnier
2007-07-15 13:50 ` Jan Djärv
2007-07-15 14:07 ` David Kastrup [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85ir8lvjzh.fsf@lola.goethe.zz \
--to=dak@gnu.org \
--cc=david.reitter@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jan.h.d@swipnet.se \
--cc=monnier@iro.umontreal.ca \
/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.