unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: ynyaaa@gmail.com
Cc: 39482@debbugs.gnu.org
Subject: bug#39482: 26.3; set-fontset-font with emacs charset does not work correctly
Date: Sun, 09 Feb 2020 19:19:59 +0200	[thread overview]
Message-ID: <83h7zzd6f4.fsf@gnu.org> (raw)
In-Reply-To: <86d0ap3j9y.fsf@gmail.com> (ynyaaa@gmail.com)

> From: ynyaaa@gmail.com
> Cc: 39482@debbugs.gnu.org
> Date: Sat, 08 Feb 2020 11:27:53 +0900
> 
> #'setfontset-font does not work well if ADD argument is non-nil.
> In the example below, dummy3 should be added for both 199 and 200,
> but it is not added for 200.
> 
> (progn (set-fontset-font t 199 "dummy1")
>        (set-fontset-font t 200 "dummy2")
>        (set-fontset-font t '(199 . 200) "dummy3" nil 'append)
>        (mapcar (lambda (c) (cons c (aref (fontset-info t) c)))
>                '(199 200)))
> => ((199 ("-*-dummy1-*-*-*-*-*-*-*-*-*-*-*-*")
>          ("-*-dummy3-*-*-*-*-*-*-*-*-*-*-*-*"))
>     (200 ("-*-dummy2-*-*-*-*-*-*-*-*-*-*-*-*")))

There was an off-by-one error in this function, which is now fixed.

Thanks.





      parent reply	other threads:[~2020-02-09 17:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-07 15:11 bug#39482: 26.3; set-fontset-font with emacs charset does not work correctly ynyaaa
2020-02-07 16:04 ` Eli Zaretskii
2020-02-08  2:27   ` ynyaaa
2020-02-08  8:16     ` Eli Zaretskii
2020-02-08 10:50       ` ynyaaa
2020-02-08 11:36         ` Eli Zaretskii
2020-02-08 14:20           ` ynyaaa
2020-02-08 15:06             ` Eli Zaretskii
2022-02-02 18:26               ` Lars Ingebrigtsen
2022-03-03 21:38                 ` Lars Ingebrigtsen
2020-02-09 17:19     ` Eli Zaretskii [this message]

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=83h7zzd6f4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39482@debbugs.gnu.org \
    --cc=ynyaaa@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).