From: Anders Lindgren <andlind@gmail.com>
To: 16856@debbugs.gnu.org
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 [thread overview]
Message-ID: <CABr8ebaOSXg0fsFbViM5dZF-rt1X7+z2gN=axODcYapcbxEo2Q@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3024 bytes --]
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 <up> <down>
C-g C-x 1 <escape> x r e p o r t <tab> <return>
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)
[-- Attachment #2: Type: text/html, Size: 4444 bytes --]
next reply other threads:[~2014-02-23 21:39 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-23 21:39 Anders Lindgren [this message]
2014-02-24 3:44 ` bug#16856: 24.3.50; Cursor leaves garbage in fringe (and a request: width of fringes + scroll bar should be full characters) Eli Zaretskii
2014-02-24 7:41 ` martin rudalics
2014-02-24 10:12 ` Anders Lindgren
2014-02-24 10:53 ` martin rudalics
2014-02-24 15:12 ` Anders Lindgren
2014-02-26 10:15 ` martin rudalics
2014-02-26 12:51 ` Anders Lindgren
2016-05-17 18:30 ` Alan Third
2016-05-17 19:06 ` Anders Lindgren
2016-05-17 21:14 ` bug#16856: [PATCH] Prevent cursor from over-drawing the fringe Alan Third
2016-05-20 19:33 ` Anders Lindgren
2016-05-21 7:35 ` Alan Third
2016-05-21 19:07 ` Anders Lindgren
2016-07-17 6:57 ` bug#16856: 24.3.50; Cursor leaves garbage in fringe David Reitter
2017-11-09 18:50 ` bug#16856: Enable fringe cursor when *almost* exact_window_width_line_p Keith David Bershatsky
2017-11-09 18:58 ` bug#29233: " Keith David Bershatsky
2017-11-09 22:11 ` Alan Third
2017-11-10 7:53 ` bug#16856: " Eli Zaretskii
2017-11-11 16:34 ` Anders Lindgren
2017-11-11 17:25 ` Eli Zaretskii
2017-11-11 17:49 ` Anders Lindgren
2017-11-11 18:46 ` Alan Third
2017-11-11 20:36 ` Anders Lindgren
2017-11-10 0:31 ` bug#29233: " Keith David Bershatsky
2017-11-11 22:33 ` Keith David Bershatsky
2017-11-12 4:10 ` Eli Zaretskii
2017-12-12 23:24 ` Noam Postavsky
2017-11-09 19:00 ` bug#16856: Cursor leaves garbage in fringe Keith David Bershatsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABr8ebaOSXg0fsFbViM5dZF-rt1X7+z2gN=axODcYapcbxEo2Q@mail.gmail.com' \
--to=andlind@gmail.com \
--cc=16856@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).