unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: lekktu@gmail.com, unicad.el@gmail.com, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] emacs/src fontset.c
Date: Thu, 12 Mar 2009 09:41:41 +0900	[thread overview]
Message-ID: <E1LhYzV-0005Xf-Fp@etlken> (raw)
In-Reply-To: <87eix49ppl.fsf@cyd.mit.edu> (message from Chong Yidong on Wed, 11 Mar 2009 09:03:18 -0400)

In article <87eix49ppl.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > Please try again.  I committed all changes.

> What is the purpose of these latest changes?

To fix this problem reported a while ago:

In article <760897560812160136v32810859x92081fde365dee1e@mail.gmail.com>, "Qichen Huang" <unicad.el@gmail.com> writes:

> run emacs without any extra settings: runemacs.exe -Q

> (set-fontset-font
>  "fontset-startup" 'ascii  ;; or 'latin
>  "-*-Courier New-*-*-*-*-17-*-*-*-*-*-iso8859-1")

> or

> (set-fontset-font (frame-parameter nil 'font)
> 		  'ascii  ;; or 'latin
> 		  (font-spec :family "Courier New" :size 17))

> Neither work.

In the new code, when a font for ASCII is changed in a
fontset, the default font is changed to that new font in all
frames that are using the same fontset.

By the way, after the following change, (frame-parameter nil
'font) doesn't return a fontset of the current frame.

2009-01-14  Jason Rumney  <jasonr@gnu.org>

	* frame.c (x_set_font): Always store a font to the font parameter,
	never a fontset.  (Bug#1562)

Now the right way to get a fontset is:
   (face-attribute 'default :fontset)

---
Kenichi Handa
handa@m17n.org




  reply	other threads:[~2009-03-12  0:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1LhJDy-00082t-Cg@cvs.savannah.gnu.org>
2009-03-11 10:59 ` [Emacs-diffs] emacs/src fontset.c Juanma Barranquero
2009-03-11 12:31   ` Miles Bader
2009-03-11 12:44   ` Kenichi Handa
2009-03-11 13:03     ` Chong Yidong
2009-03-12  0:41       ` Kenichi Handa [this message]
2009-03-12 13:02         ` Jason Rumney
2009-03-13  5:29           ` Kenichi Handa

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=E1LhYzV-0005Xf-Fp@etlken \
    --to=handa@m17n.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=unicad.el@gmail.com \
    /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).