unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Oliver Scholz <alkibiades@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: `set-fontset-font' and ascii characters
Date: Fri, 02 May 2003 02:39:53 +0200	[thread overview]
Message-ID: <uade6ji5i.fsf@ID-87814.user.dfncis.de> (raw)
In-Reply-To: <200305012353.IAA15973@etlken.m17n.org> (Kenichi Handa's message of "Fri, 2 May 2003 08:53:17 +0900 (JST)")

Kenichi Handa <handa@m17n.org> writes:
[...]
> By the way, I re-consider the problem of chaning the fontset
> of the default face.
>
> You wrote:
>> Now, if an ASCII font was changed, Fset_fontset_font checks all frames
>> whether FONTSET is their frame fontset and forces a resizing of all
>> frames that have. This is done by the new function
>> x_new_fontset_force, which is like x_new_fontset, except that it does
>> its works even if new fontset = old fontset. (This is done by
>> factoring out a new function x_set_fontset_internal out of x_set_fontset.)
>
> Isn't it easier to call Finternal_set_lisp_face_attribute on
> all faces that has FONTSET?  That function handles the
> default face correctly.

I guess so. Basically that is how I discovered x_new_fontset. I
started with Finternal_set_lisp_face_attribute and read the code until
I found the exact spot where the frame is resized. And now you tell
me that all this was pointless, because I could have used
Finternal_set_lisp_face in the first place? *moan* :-)

Allright, if you say that it is cleaner or easier to maintain this
way, then I'll look at it tomorrow.

    Oliver
-- 
Oliver Scholz               13 Floréal an 211 de la Révolution
Taunusstr. 25               Liberté, Egalité, Fraternité!
60329 Frankfurt a. M.       http://www.jungdemokratenhessen.de
Tel. (069) 97 40 99 42      http://www.jdjl.org

  parent reply	other threads:[~2003-05-02  0:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-27 10:22 `set-fontset-font' and ascii characters Oliver Scholz
2003-05-01  8:10 ` Kenichi Handa
2003-05-01 17:48   ` Oliver Scholz
2003-05-01 20:01     ` Oliver Scholz
2003-05-01 23:53       ` Kenichi Handa
2003-05-02  0:06         ` Kenichi Handa
2003-05-02  0:39         ` Oliver Scholz [this message]
2003-05-02  1:05           ` Kenichi Handa
2003-05-02 23:16             ` Oliver Scholz
2003-05-03  2:48               ` Kenichi Handa
2003-05-03 22:24                 ` Oliver Scholz
2003-05-05  8:33                   ` Kenichi Handa
2003-05-06 13:48                     ` Oliver Scholz
2003-05-07  1:12                       ` Kenichi Handa
2003-05-25 12:17                         ` Oliver Scholz
2003-06-10  2:16                           ` Kenichi Handa
2003-06-10  2:47                             ` Stefan Monnier
2003-05-02  7:06   ` Richard Stallman

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=uade6ji5i.fsf@ID-87814.user.dfncis.de \
    --to=alkibiades@gmx.de \
    --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).