From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: Re: Pasting from X clipboard sometimes uses different font Date: Tue, 29 Jan 2008 21:07:43 +0000 (GMT) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: ger.gmane.org 1201640884 23986 80.91.229.12 (29 Jan 2008 21:08:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Jan 2008 21:08:04 +0000 (UTC) To: Emacs Bugs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 29 22:08:24 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JJxgq-0000G8-P9 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2008 22:08:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJxgP-0001Mz-H1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Jan 2008 16:07:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJxgK-0001LL-LB for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2008 16:07:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJxgI-0001Ig-Td for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2008 16:07:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJxgI-0001IY-LU for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2008 16:07:46 -0500 Original-Received: from pelican.sc3d.org ([216.184.201.86]) by monty-python.gnu.org with esmtps (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJxgI-0004hw-FD for bug-gnu-emacs@gnu.org; Tue, 29 Jan 2008 16:07:46 -0500 DKIM-Signature: a=rsa-sha1; t=1201640866; x=1202245666; s=key1024; d=sc3d.org; c=relaxed/relaxed; q=dns; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type:In-Reply-To:References; b=ZWQAKFAFsQYd+3EpYM/vwAARCvmMPE2Bzc9g0Ms1eT7lApftGXUijBVYMDS5ka1pVQMVTu9GLmcdpi30zuPvkQq38Lf1OHtT30uOyfjgDz6xPkMyZqFj/+rv4hWs79ILKvlFFnY/SIJNhC0pvUa5VSI+eoultmwJ/gCFdB7foZM= Original-Received: from drom (cpc1-popl1-0-0-cust343.popl.cable.ntl.com [81.106.81.88]) by pelican.sc3d.org (pf ESMTP spamd IP-based SPAM blocker) with ASMTP (SSL) id JWK95245 for ; Tue, 29 Jan 2008 16:07:45 -0500 X-X-Sender: rrt@localhost.localdomain In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) X-detected-kernel: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17426 Archived-At: On Tue, 29 Jan 2008, Reuben Thomas wrote: > For example, with U+2026 HORIZONTAL ELLIPSIS. If I type one in an Emacs > buffer, I get the character from my normal font: > > *font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-*-* > > whereas if I have one on the X clipboard and paste it (e.g. button-2), then I > get a wider character, but if I go into hexl-mode I can see it's the same > character code, though annoyingly it's not on the baseline (so there's also a > bug in whatever font is being used, but I'm not sure which font is being > used). I looked at that code point in all my fonts, and found the exact character diplayed in -misc-fixed-medium-r-normal-ko-18-120-100-100-c-180-iso10646-1 Is there any reason that font might have been used when I was pasting from the clipboard rather than the default face, mentioned above? In my custom.el I have: '(default ((t (:stipple nil :background "black" :foreground "white" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width semi-condensed :family "misc-fixed")))) i.e. the same font as listed from my .Xresources file, in Emacs notation. -- http://rrt.sc3d.org/ | Astrophysics: it's not exactly rocket science