unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Berman <stephen.berman@gmx.net>
To: Chong Yidong <cyd@gnu.org>
Cc: 12349@debbugs.gnu.org
Subject: bug#12349: 24.2.50; Italic face is underlined instead of slanted
Date: Sun, 04 Nov 2012 21:44:47 +0100	[thread overview]
Message-ID: <87fw4pnlmo.fsf@rosalinde.fritz.box> (raw)
In-Reply-To: <87txt6lylk.fsf@gnu.org> (Chong Yidong's message of "Sun, 04 Nov 2012 13:35:19 +0800")

On Sun, 04 Nov 2012 13:35:19 +0800 Chong Yidong <cyd@gnu.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> When I start Emacs with my init file or with -q, doing `M-x
>> customize-face RET italic' shows this:
>>
>> Hide italic face: [sample]
>>     State : STANDARD.
>>    Basic italic face.
>>    [X] Underline: Value Menu On:
>>
>> This behavior began with my build from bzr trunk revision 109818.
>
> That doesn't look right; 109818 is a doc fix to compile.el.

Sorry for the confusion; I meant that the problem appeared no later than that
revision (there are usually many revisions between my Emacs builds).

>> (setq default-frame-alist
>>       '((font . "Dejavu Sans Mono-9") (font-backend . "xft")))
>>
>> which suffices, in my build from revision 109703, to show italic as
>> slanted; but since revision 109818, italic is shown as underlined even
>> with the above sexp.
>>
>> I ran bzr bisect, and if I used it correctly (which I'm not sure of), it
>> appears to implicate revision 109788:
>>
>> On revision 109788 (dmantipov@yandex.ru-20120827041533-3cy7pdjdqz14o90c):      
>> Special MEM_TYPE_SPARE to denote reserved memory.
>> * alloc.c (enum mem_type): New memory type.
>> (refill_memory_reserve): Use new type for spare memory.
>> This prevents live_cons_p and live_string_p from incorrect
>> detection of uninitialized objects from spare memory as live.
>
> This makes no sense either; Dmitry's patch does not touch any part of
> the code which can affect the behavior you're describing.  Are you sure
> you are bisecting correctly?

Now I'm sure I didn't do it right; when I have time I'll try to do a
proper bisection.

>> my system (openSUSE 12.1) has this in /usr/share/X11/app-defaults/Emacs:
>>
>> Emacs.Font:                     fontset-16
>> [...]
>> Emacs*Fontset-0:\
>>         -*-fixed-medium-r-*--16-*-*-*-*-*-fontset-16,\
>
> I guess openSUSE is still catering to pre-Xft (< 23.1) Emacs.  You
> should be able to safely remove the Emacs.Font setting (or do
> `xrdb -remove'), so that Emacs uses xft fonts by default.

It also works to put `Emacs.FontBackend: xft' in ~/.Xresources.  Yet
that wasn't necessary before whichever change between revisions 109704
and 109818 made italics show up as underlined even when setting
default-frame-alist in my init file as above.  I hope I have time to
track down which revision is responsible.

Steve Berman





  reply	other threads:[~2012-11-04 20:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 11:25 bug#12349: 24.2.50; Italic face is underlined instead of slanted Stephen Berman
2012-11-04  5:35 ` Chong Yidong
2012-11-04 20:44   ` Stephen Berman [this message]
2019-01-09  0:30     ` Glenn Morris
2019-01-09 12:10       ` Stephen Berman

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=87fw4pnlmo.fsf@rosalinde.fritz.box \
    --to=stephen.berman@gmx.net \
    --cc=12349@debbugs.gnu.org \
    --cc=cyd@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 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).