From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs Subject: bug#11484: 23.4; Scrolling leaves traces of old text behind Date: Tue, 23 Oct 2012 13:50:24 +0900 Message-ID: <87txtlvlkf.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1350967998 19672 80.91.229.3 (23 Oct 2012 04:53:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2012 04:53:18 +0000 (UTC) Cc: 11484@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 06:53:24 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 1TQWUV-000795-RN for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2012 06:53:23 +0200 Original-Received: from localhost ([::1]:55068 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQWUO-0005YN-Ch for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2012 00:53:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQWUL-0005YD-Ot for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 00:53:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQWUK-0004lw-R8 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 00:53:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQWUK-0004ls-O3 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 00:53:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TQWW6-0004YG-Hg for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2012 00:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kenichi Handa Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Oct 2012 04:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11484 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 11484-submit@debbugs.gnu.org id=B11484.135096805217441 (code B ref 11484); Tue, 23 Oct 2012 04:55:02 +0000 Original-Received: (at 11484) by debbugs.gnu.org; 23 Oct 2012 04:54:12 +0000 Original-Received: from localhost ([127.0.0.1]:56678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQWVH-0004XF-9Q for submit@debbugs.gnu.org; Tue, 23 Oct 2012 00:54:12 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:56565 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TQWVD-0004X6-Oc for 11484@debbugs.gnu.org; Tue, 23 Oct 2012 00:54:08 -0400 Original-Received: from [150.29.149.7] (port=57203 helo=mongkok) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1TQWTQ-0008En-7j; Tue, 23 Oct 2012 00:52:16 -0400 In-Reply-To: (message from Stefan Monnier on Mon, 22 Oct 2012 21:22:29 -0400) 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 (newer, 2) 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:65901 Archived-At: In article , Stefan Monnier writes: > > Now Emacs should be able to use those PCF fonts via XFT. > It actually crashed with an assertion violation because a font `spec' > was nil where a vector was expected. It means font_spec_from_name failed, which means font_parse_name failed. But, I didn't get that crach. Please find what font name is given to font_parse_name, and why it fails with that name. > I used the quick-fix below which > appeared to work, but without knowing what it implies. Can you take > a look and help me figure out what the right fix should be? I think the better way is to do something like this: if (NILP (spec)) signal_error ("Invalid font name", ascii_font); --- Kenichi Handa handa@gnu.org