GNU bug report logs - #18601
24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS

Previous Next

Package: emacs;

Reported by: Constantine Vetoshev <vetoshev <at> gmail.com>

Date: Thu, 2 Oct 2014 08:40:02 UTC

Severity: important

Found in version 24.3.94

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18601: closed (24.3.94; set-fringe-mode with left fringe 0
 breaks window width calculations on Mac OS)
Date: Mon, 06 Oct 2014 06:50:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 06 Oct 2014 08:49:24 +0200
with message-id <54323B74.9000200 <at> gmx.at>
and subject line Re: bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS
has caused the debbugs.gnu.org bug report #18601,
regarding 24.3.94; set-fringe-mode with left fringe 0 breaks window width calculations on Mac OS
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18601: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18601
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Constantine Vetoshev <vetoshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 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
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


[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: Constantine Vetoshev <vetoshev <at> gmail.com>, 
 Eli Zaretskii <eliz <at> gnu.org>
Cc: 18601-done <at> debbugs.gnu.org
Subject: Re: bug#18601: 24.3.94; set-fringe-mode with left fringe 0 breaks
 window width calculations on Mac OS
Date: Mon, 06 Oct 2014 08:49:24 +0200
>> If it gives good results, sure.
>
> I'm happy to submit a patch, but I never signed FSF paperwork. I can
> get that ball rolling, but it would surely be faster for one of you to
> make the one-line change. :)

Feeling responsible for the changes leading up to this problem I've
committed the changes you proposed and apparently solve the problem
as revision 117557 of the release branch.  Please have a look.

Meanwhile closing this bug, martin


This bug report was last modified 10 years and 231 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.