From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19395: 25.0.50; Setting left fringe to 0 messes up window-width Date: Sat, 20 Dec 2014 18:36:16 +0200 Message-ID: <831tnus2gv.fsf@gnu.org> References: <87vblbnz2u.fsf@posteo.de> <83k31rwe55.fsf@gnu.org> <87lhm772o2.fsf@posteo.de> <83h9wvwbux.fsf@gnu.org> <87bnn39cpe.fsf@posteo.de> <83a92mwau9.fsf@gnu.org> <874msu9out.fsf@posteo.de> <83vblauoh6.fsf@gnu.org> <87wq5q864m.fsf@posteo.de> <83tx0uum88.fsf@gnu.org> <87a92lmxy3.fsf@posteo.de> <837fxpue6v.fsf@gnu.org> <54945BCB.8030506@gmx.at> <83tx0rsa9e.fsf@gnu.org> <54954ACE.7050204@gmx.at> <83bnmysi2n.fsf@gnu.org> <549560B9.5070308@gmx.at> <838ui2sd54.fsf@gnu.org> <54958CE0.9060105@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419093446 29635 80.91.229.3 (20 Dec 2014 16:37:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Dec 2014 16:37:26 +0000 (UTC) Cc: 19395@debbugs.gnu.org, malsburg@posteo.de To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 20 17:37:18 2014 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 1Y2N1p-0006JP-Vm for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Dec 2014 17:37:18 +0100 Original-Received: from localhost ([::1]:35091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2N1p-0001bh-FG for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Dec 2014 11:37:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2N1g-0001UX-89 for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2014 11:37:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y2N1b-0008Kw-Do for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2014 11:37:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y2N1b-0008Kj-AX for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2014 11:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y2N1a-0002Y3-HP for bug-gnu-emacs@gnu.org; Sat, 20 Dec 2014 11:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Dec 2014 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19395-submit@debbugs.gnu.org id=B19395.14190933889749 (code B ref 19395); Sat, 20 Dec 2014 16:37:02 +0000 Original-Received: (at 19395) by debbugs.gnu.org; 20 Dec 2014 16:36:28 +0000 Original-Received: from localhost ([127.0.0.1]:53210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2N11-0002XB-Hs for submit@debbugs.gnu.org; Sat, 20 Dec 2014 11:36:27 -0500 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:60413) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y2N0y-0002Wz-Va for 19395@debbugs.gnu.org; Sat, 20 Dec 2014 11:36:26 -0500 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NGW007003C2IV00@mtaout26.012.net.il> for 19395@debbugs.gnu.org; Sat, 20 Dec 2014 18:35:36 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NGW0077J3FBRQ00@mtaout26.012.net.il>; Sat, 20 Dec 2014 18:35:36 +0200 (IST) In-reply-to: <54958CE0.9060105@gmx.at> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:97618 Archived-At: > Date: Sat, 20 Dec 2014 15:51:12 +0100 > From: martin rudalics > CC: malsburg@posteo.de, 19395@debbugs.gnu.org > > >> (with-selected-frame some-frame > >> (with-current-buffer a-buffer-not-displayed-on-some-frame > >> ... > > > > Which makes it "displayed", as far as Emacs is concerned, right? > > You mean as far as the Emacs display engine is concerned, right? But > the caller of `face-font' doesn't know that the display engine operates > on the current buffer regardless of whether it is displayed or not. She doesn't need to know: the effect doesn't depend on that. > (1) When two characters have the same face they are identic in their > appearance on screen. > > (2) When two characters have a different appearance on screen they have > different faces. I think YES to both, assuming both characters are on the same frame. If not, then (2) might be false. > For me it's difficult to discriminate the usage of the term "face" when > programming Elisp from the usage of the term "face" when Emacs displays > a character. I was primarily talking about the latter. But the different is small, if it exists at all. > > face-remapping-alist is applied _after_ the frame-specific face is > > retrieved. Does that answer your problem? > > What means "applied"? Is it merged or does it replace the > frame-specific face? It replaces the original frame-specific face. > >> IIUC face remapping maps a default face (which may be frame specific or > >> not) via a scaling value (which may be buffer local or not) to another > >> face whose width I eventually want to retrieve via `face-font'. Does > >> the buffer/frame/window relationship affect that value and if so how? > > > > AFAIK, only the buffer matters, since face-remapping-alist is > > buffer-local. > > It's doc-string says > > If this variable is made buffer-local, the face remapping takes effect > only in that buffer. OK, _if_ face-remapping-alist is buffer-local.