From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Constantine Vetoshev 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: Thu, 2 Oct 2014 01:38:46 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1412239215 21572 80.91.229.3 (2 Oct 2014 08:40:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Oct 2014 08:40:15 +0000 (UTC) To: 18601@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 02 10:40:09 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 1XZbvl-0003xN-En for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 10:40:09 +0200 Original-Received: from localhost ([::1]:60860 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbvl-0005vZ-2G for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Oct 2014 04:40:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbvh-0005tZ-5a for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZbvf-0001SB-Ri for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:40:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbvf-0001Rp-No for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZbvf-0006kM-5d for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Constantine Vetoshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 Oct 2014 08:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18601 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.141223915725863 (code B ref -1); Thu, 02 Oct 2014 08:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Oct 2014 08:39:17 +0000 Original-Received: from localhost ([127.0.0.1]:58025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZbuu-0006j5-OK for submit@debbugs.gnu.org; Thu, 02 Oct 2014 04:39:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43053) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZbuq-0006it-S9 for submit@debbugs.gnu.org; Thu, 02 Oct 2014 04:39:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZbup-0000Fz-4V for submit@debbugs.gnu.org; Thu, 02 Oct 2014 04:39:12 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbup-0000Fu-1i for submit@debbugs.gnu.org; Thu, 02 Oct 2014 04:39:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbuo-0005hu-1A for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:39:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZbum-0000Ca-Rm for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:39:09 -0400 Original-Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:58329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZbum-0000AD-Jq for bug-gnu-emacs@gnu.org; Thu, 02 Oct 2014 04:39:08 -0400 Original-Received: by mail-la0-f49.google.com with SMTP id q1so1901597lam.22 for ; Thu, 02 Oct 2014 01:39:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=MfdFjN5acIgr7onAMaeJ7w9dSEmQOE8P6Qku/BA/Gmc=; b=IPwpH2O+YyMNPDho2l8Go7vMkNUvw/2oUQoA4NMwQ67tnnU+RbAzuElZKQ2Qkqpy2D nBAEvLjZ6GlvEUKc/KgIKkdq//oSMrq29mnHiPXVucVFyQrHBZL2vqkSRCtpBqnNlz60 Ob9DmO8aEA3NghGa2p/HZlnNToXSp7ouvuBE4PhY0PXFMMIbxN3vbOhJuTzK8ijp6lMz P+SFNXf8M4cbodxwEmRZiUdbapObM8XJcsayvLGL1/mDx5sGj+2N1W5XqUTCDTdfii2J rtCQ/JhS4K1gc33Y1wx7MlttO20qYO8f7aZLrDrIXYZxj3grQN2/bQv7jqvU0lL2/FeV z+ng== X-Received: by 10.112.144.106 with SMTP id sl10mr8787419lbb.68.1412239146880; Thu, 02 Oct 2014 01:39:06 -0700 (PDT) Original-Received: by 10.112.13.34 with HTTP; Thu, 2 Oct 2014 01:38:46 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:94013 Archived-At: The Emacs pretest released earlier today has a window width calculation bug on Mac OS X when the window left fringe is turned off. This bug is not present in the previous Emacs pretest, version 24.3.93. The outward symptoms of this bug are similar to those #16470, fixed in January of this year. To reproduce, do the following: 1. Start Emacs 24.3.94 (with -Q to avoid loading initialization files). 2. Execute this Elisp: (set-fringe-mode '(0 . 2)) 3. Execute M-x ansi-term and select /bin/zsh as your shell. 4. Run 'ls' or any other command in the shell. Notice the spurious % characters printed everywhere. This is the bug. Setting the fringe to '(1 . 2) makes the problem go away. I'm wondering if this commit is related to this bug? http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-24&id=984a7aaadb9c10a60621b729a86d6b13a471b92b In GNU Emacs 24.3.94.1 (x86_64-apple-darwin13.4.0, NS apple-appkit-1265.21) of 2014-10-01 on athena.local Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Term Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t