[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird treatment of ' and `
From: |
Daniel Pfeiffer |
Subject: |
Re: weird treatment of ' and ` |
Date: |
Sun, 9 Nov 2003 10:07:29 +0100 |
Hi,
I wrote:
> These two quotes, even though they are plain Ascii, seem to come from another
> font. This has several undesirable effects:
>
> - Their underlines (if any) will be one pixel lower than those of neighboring
> characters.
>
> - When inserting them, all following lines scroll down one pixel, or back up
> one pixel when deleting them.
>
> - When at least one appears, there will be an empty line at the bottom of the
> window. This happens with M-x shell, C-- C-l or in the minibuffer.
>
> - I compiled Emacs with gtk after installing SuSE Linux 9.0 and transferred
> it to a machine still running under SuSE Linux 8.2. Due to some font
> differences that machine showed empty boxes for the quotes. I have since
> updated that machine too, and the behaviour is now the same as described
> above.
>
> In GNU Emacs 21.3.50.3 (i686-pc-linux-gnu, GTK+ Version 2.2.3)
> of 2003-10-19 on pfdabpc
> configured using `configure '--with-gtk'
> '--with-pkg-config-prog=/tmp/pkgconfig-0.15.0/pkg-config' 'CFLAGS=-O2
> -march=pentium3''
>
> Important settings:
> value of $LC_ALL: nil
> value of $LC_COLLATE: POSIX
> value of $LC_CTYPE: nil
> value of $LC_MESSAGES: nil
> value of $LC_MONETARY: nil
> value of $LC_NUMERIC: nil
> value of $LC_TIME: nil
> value of $LANG: address@hidden
> locale-coding-system: iso-latin-9
> default-enable-multibyte-characters: t
>
> Major mode: Fundamental
>
> Minor modes in effect:
> show-paren-mode: t
> mouse-wheel-mode: t
> menu-bar-mode: t
> global-font-lock-mode: t
> unify-8859-on-encoding-mode: t
> line-number-mode: t
I noticed this when I first tried Emacs with GTK. I compiled that way as soon
as I installed SuSE Linux 9.0 with gtk2-devel-2.2.3-27 rpm. But I threw out
GTK because it can't yet handle make-frame-on-display.
So I fount that default Emacs has the same annoying bug I describe above. So,
either it was introduced in CVS around the same time I upgraded. Or SuSE 9.0
has some different setup that makes Emacs go wrong. If this was happening for
a runic or other weird character I'd go for that explanation. But I don't see
how SuSE could influence this for a plain 7-bit Ascii character.
I looked at the font in xfd. ", ' and ` all have the same ascent of 12 and
descent of -8. But " doesn't trigger this behaviour.
coralament / best Grötens / liebe Grüße / best regards / elkorajn salutojn
Daniel Pfeiffer
--
lerne / learn / apprends / läramå Esperanto:
http://lernu.net/
- Re: weird treatment of ' and `,
Daniel Pfeiffer <=