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#22891: 25.0.92; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS (again) Date: Fri, 15 Apr 2016 11:25:48 +0300 Message-ID: <831t67e0s3.fsf@gnu.org> References: <83y48gdxsy.fsf@gnu.org> <83h9f4dmd1.fsf@gnu.org> <8360vje2rr.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1460708845 28042 80.91.229.3 (15 Apr 2016 08:27:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Apr 2016 08:27:25 +0000 (UTC) Cc: 22891@debbugs.gnu.org To: Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 15 10:27:13 2016 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 1aqz5r-0003wH-F4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 10:27:11 +0200 Original-Received: from localhost ([::1]:57310 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqz5q-0001T7-Pa for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Apr 2016 04:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqz5m-0001QA-OW for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2016 04:27:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqz5i-0000A2-P3 for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2016 04:27:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqz5i-00009y-LQ for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2016 04:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aqz5i-0000nY-FL for bug-gnu-emacs@gnu.org; Fri, 15 Apr 2016 04:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Apr 2016 08:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22891 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22891-submit@debbugs.gnu.org id=B22891.14607087833019 (code B ref 22891); Fri, 15 Apr 2016 08:27:02 +0000 Original-Received: (at 22891) by debbugs.gnu.org; 15 Apr 2016 08:26:23 +0000 Original-Received: from localhost ([127.0.0.1]:36160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqz54-0000md-UM for submit@debbugs.gnu.org; Fri, 15 Apr 2016 04:26:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40069) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqz54-0000mR-6n for 22891@debbugs.gnu.org; Fri, 15 Apr 2016 04:26:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqz4y-0008N1-8M for 22891@debbugs.gnu.org; Fri, 15 Apr 2016 04:26:16 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqz4s-0008MV-I7; Fri, 15 Apr 2016 04:26:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1750 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aqz4r-0004vF-V1; Fri, 15 Apr 2016 04:26:10 -0400 In-reply-to: (message from Anders Lindgren on Fri, 15 Apr 2016 10:05:19 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116494 Archived-At: > Date: Fri, 15 Apr 2016 10:05:19 +0200 > From: Anders Lindgren > Cc: 22891@debbugs.gnu.org, martin rudalics > > To see what I meant, create a new buffer with "C-x b", then paste the > same text there, after setting the left fringe width to zero. > > Yes, now I see it. (However, the continuation characters disappeared when L2R text was entered on the line > before the R2L text.) If there was no empty line between the L2R and the R2L lines, then inserting that L2R line made the entire paragraph be L2R, and you are back at what happened in *scratch*. (How Emacs determines the base paragraph direction is documented in the Emacs User manual, in the node "Bidirectional Editing".) > In addition, I can think of a use case. If you want to create a window of a specific width, excluding the > continuation glyph, this can be used: > > (split-window-right (if (continuation-glyph-visible-p (selected-window)) You can implement this using window-max-chars-per-line.