GNU bug report logs - #24644
26.0.50; Emacs 25: set-fontset-font does not take effect with some ASCII symbols

Previous Next

Package: emacs;

Reported by: Toshikazu Nakamura <bmcbq234 <at> yahoo.co.jp>

Date: Sat, 8 Oct 2016 18:30:03 UTC

Severity: normal

Found in version 26.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #19 received at 24644 <at> debbugs.gnu.org (full text, mbox):

From: Clément Pit--Claudel <clement.pit <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 24644 <at> debbugs.gnu.org
Subject: Re: bug#24644: 26.0.50; Emacs 25: set-fontset-font does not take
 effect with some ASCII symbols
Date: Sun, 9 Oct 2016 10:29:44 -0400
[Message part 1 (text/plain, inline)]
On 2016-10-09 03:08, Eli Zaretskii wrote:
>> From: Clément Pit--Claudel <clement.pit <at> gmail.com>
>> Date: Sat, 8 Oct 2016 20:14:34 -0400
>>
>> On 2016-10-08 15:10, Eli Zaretskii wrote:
>>> I've now added a variable that you can set to disable the new behavior
>>> and get back the old pre-Emacs 25.1 behavior, for those users who
>>> want/need that.  The change is on the emacs-25 branch, so Emacs 25.2
>>> will have it.
>>
>> How is the new variable called?
> 
> It's mentioned in NEWS, of course.
> 
>> Also, what's the way to use a given font for a given charset in Emacs 25.1, without setting that variable?
> 
> You should use set-fontset-font, I think its doc string explains
> this.  Also, there's an example in the ELisp manual, where
> set-fontset-font is described.

Thanks for clarifying.  I don't understand why the original change was needed, though.  What prevented users from adding the default font as the first font in their fontset?  Wouldn't that have achieved exactly the same (pick the character from the default font if available, and otherwise from the next one in the fontset)?

Clément.

[signature.asc (application/pgp-signature, attachment)]

This bug report was last modified 8 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.