From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#12349: 24.2.50; Italic face is underlined instead of slanted Date: Sun, 04 Nov 2012 21:44:47 +0100 Message-ID: <87fw4pnlmo.fsf@rosalinde.fritz.box> References: <87y5kqrpvz.fsf@rosalinde.fritz.box> <87txt6lylk.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352061911 17500 80.91.229.3 (4 Nov 2012 20:45:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 20:45:11 +0000 (UTC) Cc: 12349@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 04 21:45:20 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TV74J-0002Vc-P9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2012 21:45:19 +0100 Original-Received: from localhost ([::1]:36775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV74A-0000TE-VT for geb-bug-gnu-emacs@m.gmane.org; Sun, 04 Nov 2012 15:45:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44374) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV742-0000OS-UG for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 15:45:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV741-000246-48 for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 15:45:02 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39082) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV741-00023v-0k for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 15:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TV76v-0007xF-Mb for bug-gnu-emacs@gnu.org; Sun, 04 Nov 2012 15:48:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Nov 2012 20:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12349 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12349-submit@debbugs.gnu.org id=B12349.135206207630565 (code B ref 12349); Sun, 04 Nov 2012 20:48:01 +0000 Original-Received: (at 12349) by debbugs.gnu.org; 4 Nov 2012 20:47:56 +0000 Original-Received: from localhost ([127.0.0.1]:49333 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TV76p-0007wv-SC for submit@debbugs.gnu.org; Sun, 04 Nov 2012 15:47:56 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:37490) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1TV76m-0007wn-Mm for 12349@debbugs.gnu.org; Sun, 04 Nov 2012 15:47:54 -0500 Original-Received: (qmail invoked by alias); 04 Nov 2012 20:44:48 -0000 Original-Received: from i59F569B1.versanet.de (EHLO rosalinde.fritz.box) [89.245.105.177] by mail.gmx.net (mp029) with SMTP; 04 Nov 2012 21:44:48 +0100 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/oacIzn97oyXpPnMIZX+ayk7gszc8nJlJFa+7yhE C+SQCYg5v6Yb5D In-Reply-To: <87txt6lylk.fsf@gnu.org> (Chong Yidong's message of "Sun, 04 Nov 2012 13:35:19 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66446 Archived-At: On Sun, 04 Nov 2012 13:35:19 +0800 Chong Yidong wrote: > Stephen Berman 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