From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16856: 24.3.50; Cursor leaves garbage in fringe (and a request: width of fringes + scroll bar should be full characters) Date: Sun, 23 Feb 2014 22:39:55 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c34e9e22473004f319b2dd X-Trace: ger.gmane.org 1393191666 23594 80.91.229.3 (23 Feb 2014 21:41:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Feb 2014 21:41:06 +0000 (UTC) To: 16856@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 23 22:41:13 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 1WHgnQ-0002Xk-UR for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Feb 2014 22:41:13 +0100 Original-Received: from localhost ([::1]:54345 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgnQ-0005bE-6d for geb-bug-gnu-emacs@m.gmane.org; Sun, 23 Feb 2014 16:41:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57471) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgnL-0005b5-Lg for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:41:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHgnH-0001IW-N7 for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:41:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35809) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgnH-0001IR-JT for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:41:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WHgnH-0001qq-02 for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:41:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Feb 2014 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16856 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.13931916147038 (code B ref -1); Sun, 23 Feb 2014 21:41:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2014 21:40:14 +0000 Original-Received: from localhost ([127.0.0.1]:36991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHgmT-0001pR-84 for submit@debbugs.gnu.org; Sun, 23 Feb 2014 16:40:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55647) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WHgmM-0001on-I4 for submit@debbugs.gnu.org; Sun, 23 Feb 2014 16:40:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHgmF-0000uI-Uw for submit@debbugs.gnu.org; Sun, 23 Feb 2014 16:40:01 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:57002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgmF-0000uB-Rl for submit@debbugs.gnu.org; Sun, 23 Feb 2014 16:39:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgmE-0004wP-Db for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:39:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHgmD-0000tR-4U for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:39:58 -0500 Original-Received: from mail-we0-x232.google.com ([2a00:1450:400c:c03::232]:43443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHgmC-0000tJ-PJ for bug-gnu-emacs@gnu.org; Sun, 23 Feb 2014 16:39:57 -0500 Original-Received: by mail-we0-f178.google.com with SMTP id q59so4105323wes.9 for ; Sun, 23 Feb 2014 13:39:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=BOA0va6KVYWLNKLi5AbWWX5sVcZ2V/80TDJroUjcnWM=; b=TdzbRsd64yaDi4PiX2OC+zduO5XkYaDFS+EXcw1P0oa4yrxB28lqSLrnCtNHZSFwfT EnhBW4X86Ccxz9pCwqpTnDVXw6nYof5n4gjq6FWZKOIigJ7yldR8rpRDcXn767WsAAeG F38BabS7WyYpXwuECiVx7ruS+bzdLCfKbmhkKE41p/TR2xpapi2JezahJUu1bFgyUxWQ G6da4aAKWEG8HrYPEd26w+fneoGTR48noncG+Eb7+zgrfdpVc+nO9lV9pKc+Q/pljN5O xFAyhh8lZUuyHbcv0d/fFN96i7DTGvyzLKAjfiqEXR537NLd4ToS8SU+E6irMcUejrpr JaMQ== X-Received: by 10.180.185.197 with SMTP id fe5mr11444485wic.56.1393191595164; Sun, 23 Feb 2014 13:39:55 -0800 (PST) Original-Received: by 10.217.110.131 with HTTP; Sun, 23 Feb 2014 13:39:55 -0800 (PST) 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:86084 Archived-At: --001a11c34e9e22473004f319b2dd Content-Type: text/plain; charset=ISO-8859-1 Hi! The cursor leaves garbage in the fringe column. Steps to repeat: Emacs -Q (setq truncate-partial-width-windows nil) C-j C-x 3 C-x 3 C-x o C-u 15 x C-p Here, the cursor have left a one-pixel bar in the fringe area. In other scenarios I have seen the cursor leave two or three pixels wide garbage. (I use six columns and a 6x8 font.) I use OS X 10.9. I have noticed that when splitting two windows horizontally, the width of the fringes + scroll bar between the two windows don't add up to full characters. Instead, they are five characters and one pixel. My theory is that this extra pixel pushes the cursor into the fringe to the right. If possible, I would like to see the pixel width of fringes + scroll bar to be a multiple of the width of the font used in the frame, since it is much more convenient for elisp packages that make layout decisions. (As I mentioned above, now they are 5 characters and one pixel. In 24.3 they were exactly six characters wide.) Sincerely, Anders Lindgren In GNU Emacs 24.3.50.2 (x86_64-apple-darwin13.0.0, NS apple-appkit-1265.00) of 2014-02-16 on macpro.lan Repository revision: 116451 jan.h.d@swipnet.se-20140216095141-cop794qd0bf30tmt Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --with-ns' Important settings: value of $LC_CTYPE: UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction 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 Recent input: C-y C-j C-x 3 C-x 3 C-x o C-u 1 5 x C-p C-g C-x 1 x r e p o r t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark set Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) --001a11c34e9e22473004f319b2dd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

The cursor leaves garbag= e in the fringe column.

Steps to repeat:

= =A0 =A0 Emacs -Q
=A0 =A0=A0(setq = truncate-partial-width-windows nil) C-j
=A0 =A0 C-x 3
=A0 =A0 C-x 3
=A0 =A0 C-x o
=A0 =A0 C-u 15 x
=A0 =A0 C-p

Here, the cursor have left a one-pixel bar in the= fringe area.

In other scenarios I have seen the c= ursor leave two or three pixels wide garbage. (I use six columns and a 6x8 = font.)

I use OS X 10.9.

I have notice= d that when splitting two windows horizontally, the width of the fringes + = scroll bar between the two windows don't add up to full characters. Ins= tead, they are five characters and one pixel. My theory is that this extra = pixel pushes the cursor into the fringe to the right.

If possible, I would like to see the pixel width of fri= nges + scroll bar to be a multiple of the width of the font used in the fra= me, since it is much more convenient for elisp packages that make layout de= cisions. (As I mentioned above, now they are 5 characters and one pixel. In= 24.3 they were exactly six characters wide.)

Sincerely,
=A0 =A0 Anders Lindgren
=
In GNU Emacs 24.3.50.2 (x86_64-apple-darwin13.0.0, NS apple-= appkit-1265.00)
=A0of 2014-02-16 on macpro.lan
Reposito= ry revision: 116451 jan.h.d@swipnet.se-20140216095141-cop794qd0bf30tmt
Windowing system distributor `Apple', version 10.3.1265
= Configured using:
=A0`configure --with-ns'

Important settings:
=A0 value of $LC_CTYPE: UTF-8
=A0 locale-coding-system: utf-8-unix

Major mode: L= isp Interaction

Minor modes in effect:
= =A0 tooltip-mode: t
=A0 electric-indent-mode: t
=A0 mou= se-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
=A0 file= -name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 f= ont-lock-mode: t
=A0 blink-cursor-mode: t
=A0 auto-comp= osition-mode: t
=A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-mark-mode: t

Recent input:
C-y C-j C-x 3 C-x 3 C-x o C-u 1 5= x C-p <up> <down>=A0
C-g C-x 1 <escape> x r e p o r t <tab> <return>

Recent messages:
For information about GNU E= macs and the GNU system, type C-h C-a.
Mark set
Quit

Load-path shadows:
None found.

=
Features:
(shadow sort gnus-util mail-extr emacsbug me= ssage format-spec rfc822 mml
easymenu mml-sec mm-decode mm-bodies= mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns mail-prsvr mail-utils time-date tooltip electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-ba= r dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-ba= r
mouse jit-lock font-lock syntax facemenu font-core frame cham g= eorgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
=
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abb= rev
minibuffer nadvice loaddefs button faces cus-face macroexp files
=
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-proces= s
cocoa ns multi-tty emacs)

--001a11c34e9e22473004f319b2dd--