all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Dallas Gray <mail@robertdallasgray.com>
To: 12277@debbugs.gnu.org
Subject: bug#12277: 24.1.50; Graphical issues with linum-mode and fringe
Date: Mon, 27 Aug 2012 09:37:14 +0100	[thread overview]
Message-ID: <46BA7BE1-F310-40E4-AFC8-C91200634344@robertdallasgray.com> (raw)
In-Reply-To: <936C2ADB-83AF-40CD-98D3-56580768D12B@robertdallasgray.com>


On 25 Aug 2012, at 20:01, Eli Zaretskii wrote:

>> From: Robert Dallas Gray <mail@robertdallasgray.com>
>> Date: Sat, 25 Aug 2012 15:43:05 +0100
>> 
>> On starting emacs and entering linum-mode, with a vertical split,
>> vertical border periodically disappears or becomes 'broken' while scrolling.
>> 
>> Changing fringe-mode to left-only fixes the problem, but only if it is
>> done in the minibuffer. Using fringe-mode, set-fringe-mode or
>> set-fringe-style from lisp code does not help.
> 
> Could you please provide a detailed recipe, starting with "emacs -Q",
> for reproducing the problem?  I cannot reproduce this on my system,
> but I'm not sure I understood the procedure (e.g., what are "vertical
> split" and "vertical border"?).
> 
> Also, you are using a very old snapshot of the development sources;
> could you update to the latest code and see if the problem is still
> there?
> 
> Thanks.

Bearing in mind this affects Cocoa Emacs on OS X, in windowed mode:

cd /Applications/Emacs.app/Contents/MacOS
./Emacs -Q
M-x scroll-bar-mode (to turn scroll bars off)
(now visit a file with contents large enough to require scrolling)
C-x 3 (to split the window vertically)
M-x linum-mode

Now scroll the right-hand window (using the mouse wheel seems to reproduce the glitch more often). The black vertical bar between the two windows intermittently disappears or becomes 'broken'.

Enlarging the window beyond the default startup size also seems to help reproduce the bug.

I have a screenshot of the bug occurring, but I'm not sure on the rules for posting images here.

I've just checked the default gtk+ version of Emacs in Ubuntu (which is v23) and am able to reproduce the bug there also).

Also confirmed the bug exists in Cocoa Emacs 24.1.50 HEAD.

I have found a workaround for this by doing:

(set-fringe-mode '(0 . 8))

in init.el (it seems the fringe-mode [mnemonic] command doesn't work properly when used from lisp code.






  parent reply	other threads:[~2012-08-27  8:37 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-25 14:43 bug#12277: 24.1.50; Graphical issues with linum-mode and fringe Robert Dallas Gray
2012-08-25 19:01 ` Eli Zaretskii
2012-08-27  8:37 ` Robert Dallas Gray [this message]
2012-08-31  9:05   ` Eli Zaretskii
2012-09-03 10:38     ` Robert Dallas Gray
2012-09-08 12:22       ` Jan Djärv
2012-09-08 13:01         ` Eli Zaretskii
2012-09-09 18:02           ` Eli Zaretskii
2012-09-10 14:54             ` Jan Djärv
2012-09-10 16:29               ` Eli Zaretskii
2012-09-09 20:12         ` Eli Zaretskii
2012-09-10 14:55           ` Jan Djärv
2012-09-11  9:07 ` bug#12277: Thanks Robert Dallas Gray

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46BA7BE1-F310-40E4-AFC8-C91200634344@robertdallasgray.com \
    --to=mail@robertdallasgray.com \
    --cc=12277@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.