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#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS Date: Sat, 04 Oct 2014 21:49:37 +0300 Message-ID: <83a95boeke.fsf@gnu.org> References: <542D9D0F.5020002@gmx.at> <542E482D.6040001@gmx.at> <83y4sxgfv1.fsf@gnu.org> <83vbo0gvlv.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1412448645 29713 80.91.229.3 (4 Oct 2014 18:50:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 4 Oct 2014 18:50:45 +0000 (UTC) Cc: 18601@debbugs.gnu.org To: Constantine Vetoshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 04 20:50:38 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 1XaUPd-00043H-J3 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2014 20:50:37 +0200 Original-Received: from localhost ([::1]:44916 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaUPd-0006NN-76 for geb-bug-gnu-emacs@m.gmane.org; Sat, 04 Oct 2014 14:50:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaUPQ-0006K5-QR for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 14:50:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XaUP5-00037U-3o for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 14:50:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41669) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XaUP5-00037A-07 for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 14:50:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XaUP4-0007J1-JJ for bug-gnu-emacs@gnu.org; Sat, 04 Oct 2014 14:50: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: Sat, 04 Oct 2014 18:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18601 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18601-submit@debbugs.gnu.org id=B18601.141244858028052 (code B ref 18601); Sat, 04 Oct 2014 18:50:02 +0000 Original-Received: (at 18601) by debbugs.gnu.org; 4 Oct 2014 18:49:40 +0000 Original-Received: from localhost ([127.0.0.1]:33233 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaUOi-0007IO-9m for submit@debbugs.gnu.org; Sat, 04 Oct 2014 14:49:40 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43895) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XaUOe-0007IA-LI for 18601@debbugs.gnu.org; Sat, 04 Oct 2014 14:49:38 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NCX00800O5QLK00@a-mtaout22.012.net.il> for 18601@debbugs.gnu.org; Sat, 04 Oct 2014 21:49:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NCX008SXOALK120@a-mtaout22.012.net.il>; Sat, 04 Oct 2014 21:49:34 +0300 (IDT) In-reply-to: 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:94128 Archived-At: > From: Constantine Vetoshev > Date: Sat, 4 Oct 2014 10:45:59 -0700 > Cc: martin rudalics , 18601@debbugs.gnu.org > > On Sat, Oct 4, 2014 at 12:08 AM, Eli Zaretskii wrote: > >> From: Constantine Vetoshev > >> (defun term-window-width () > >> (if (and (not (featurep ‘xemacs)) > >> (display-graphic-p) > >> overflow-newline-into-fringe > >> (/= (frame-parameter nil ‘right-fringe) 0) > >> (/= (frame-parameter nil ‘left-fringe) 0)) > >> (window-body-width) > >> (1- (window-body-width)))) > >> > >> That does make the problem go away. > > > > That's what I meant, yes. > > Should this be used to patch term.el? If it gives good results, sure.