all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
Cc: emacs-devel@gnu.org
Subject: Re: TUTORIAL.bg and windows-1251
Date: Sat, 17 Jan 2004 21:31:34 +0200	[thread overview]
Message-ID: <40098D96.90205@fmi.uni-sofia.bg> (raw)
In-Reply-To: <200401141210.VAA16210@etlken.m17n.org>

Kenichi Handa wrote:
> In article <40052B24.2030803@fmi.uni-sofia.bg>, Ognyan Kulev <ogi@fmi.uni-sofia.bg> writes:
> That's still strange.  You wrote that microsoft-cp1251 font
> is used when you modify the default fontset by this code:
> 
> (defun use-microsoft-cp1251-font ()
>    (let ((fontspec '(nil . "microsoft-cp1251")))
>      (map-char-table
>       #'(lambda (k v)
> 	 (if (and v (> k 128))
> 	     (set-fontset-font "fontset-default" k fontspec)))
>       (get 'encode-windows-1251 'translation-table))))
> 
> That means that you are using the default fontset, thus
> making override-fontspec have the higher priority than the
> defualt fontset should be enough (as the current Emacs
> code).
> 
> And, if a user is using a fontset (other than the default
> fontset) that specifies some font for Cyrillic characters, I
> think override-fontspec should not have the higher priority
> than that fontset.

I agree with that.

The patch I've send you raises priority in two functions.  Actually, 
only raising it in fontset_font_pattern gives effect.  So when run with 
"emacs -q" and cyrillic character is being displayed, is it expected 
that "FONTSET (fontset, c)" fails in function fontset_font_pattern, or 
"fontset_id_valid_p (id)" is false?  One of these must fail somewhat in 
order lookup_overriding_fontspec to be used.

Regards,
ogi

  reply	other threads:[~2004-01-17 19:31 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-14 18:56 TUTORIAL.bg and windows-1251 Ognyan Kulev
2003-11-15 12:19 ` Ognyan Kulev
2003-11-26  7:33   ` Ognyan Kulev
2003-11-15 14:24 ` Jason Rumney
2003-11-17  7:21 ` Kenichi Handa
2003-11-18 15:49   ` Ognyan Kulev
2003-11-24 23:55     ` Kenichi Handa
2003-11-26  7:16       ` Ognyan Kulev
2003-11-26  7:47         ` Kenichi Handa
2003-11-26  8:30           ` Ognyan Kulev
2003-11-26 13:17             ` Kenichi Handa
2003-11-26 14:08               ` Ognyan Kulev
2003-12-03  8:34               ` Kenichi Handa
2003-12-04 16:28                 ` Ognyan Kulev
2003-12-04 23:28                   ` Kenichi Handa
2003-12-31 15:06                     ` Ognyan Kulev
2003-12-31 15:54                       ` Eli Zaretskii
2004-01-05  4:20                         ` Kenichi Handa
2004-01-05  4:14                       ` Kenichi Handa
2004-01-06 12:03                         ` YAMAMOTO Mitsuharu
2004-01-07  0:25                           ` Kenichi Handa
2004-01-07  1:32                             ` YAMAMOTO Mitsuharu
2004-01-07 16:22                         ` Ognyan Kulev
2004-01-07 23:58                           ` Kenichi Handa
2004-01-09 16:10                             ` Ognyan Kulev
2004-01-13  4:07                               ` Kenichi Handa
2004-01-14 11:42                                 ` Ognyan Kulev
2004-01-14 12:10                                   ` Kenichi Handa
2004-01-17 19:31                                     ` Ognyan Kulev [this message]
2004-01-19  0:34                                       ` Kenichi Handa
2004-01-21  6:45                                         ` Ognyan Kulev
2004-01-21 10:52                                           ` 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40098D96.90205@fmi.uni-sofia.bg \
    --to=ogi@fmi.uni-sofia.bg \
    --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 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.