From: James Nguyen <ja.nguyen@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: James Nguyen <ja.nguyen@gmail.com>, 23755@debbugs.gnu.org
Subject: bug#23755: 25.0.95; Emacs 25.0.95 Line number is in fringe
Date: Fri, 17 Jun 2016 10:48:51 -0700 [thread overview]
Message-ID: <m2eg7vhfjw.fsf@gmail.com> (raw)
In-Reply-To: <20160617174134.GA68643@breton.holly.idiocy.org>
The font is https://github.com/madmalik/mononoki which I believe is fixed-width.
Alan Third writes:
> On Fri, Jun 17, 2016 at 10:21:01AM +0300, Eli Zaretskii wrote:
>> Sorry, still not reproducible. Maybe there's something else to be
>> done? Here's the complete recipe I used, after downloading
>> smart-mode-line and rich-minority which it requires:
>>
>> emacs -Q
>> (add-to-list 'load-path "/path/to/smart-mode-line-master")
>> (load-library "smart-mode-line")
>> (sml/setup)
>> (dolist (sym '(mode-line mode-line-inactive))
>> (set-face-attribute
>> sym nil
>> :box `(:line-width 2 :color ,(face-attribute `,sym :background))))
>>
>> I see no display problems in the mode line after the above.
>
> I just tried this on the NS port and it leaves stuff behind. The line
> number goes over into that left-hand section, which is fine since it's
> not the fringe.
>
> Aside from that, the digits seem to be placed wrongly. Sometimes
> they're fine, other times they're all wonky. I've attached a
> screenshot where it's displaying 404, but it looks like the 0 is too
> far left, and the second 4 is cut off, and another screenshot after I
> paged down and you can still see the left edge of the zero.
>
> I don't see any other characters that are obviously displayed wrong.
>
> I don't know how to tell what font it is, but I suspect it's
> variable-width and Emacs doesn't notice when they change size. For
> example, the misplaced 0 in 404 occurs after scrolling from a number
> starting with 3, and the 3 appears to be narrower than the 4. The
> second digit doesn't move right to compensate for the larger first
> digit. When it finally does move, it leaves artifacts behind.
>
> Changing line-width to 1 in your code fixes it.
--
James Nguyen
next prev parent reply other threads:[~2016-06-17 17:48 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-12 17:19 bug#23755: 25.0.95; Emacs 25.0.95 Line number is in fringe ja.nguyen
2016-06-12 17:48 ` Eli Zaretskii
[not found] ` <6D7D3844-4E4A-4341-8F9C-DE18481480F5@gmail.com>
2016-06-12 19:53 ` Eli Zaretskii
2016-06-12 21:50 ` Alan Third
2016-06-12 22:03 ` James Nguyen
2016-06-13 4:00 ` Eli Zaretskii
2016-06-13 4:01 ` James Nguyen
2016-06-13 13:48 ` Eli Zaretskii
2016-06-16 15:17 ` Eli Zaretskii
2016-06-16 15:30 ` James Nguyen
2016-06-17 5:50 ` James Nguyen
2016-06-17 7:21 ` Eli Zaretskii
2016-06-17 13:15 ` James Nguyen
2016-06-17 17:41 ` Alan Third
2016-06-17 17:48 ` James Nguyen [this message]
2016-06-17 17:58 ` Alan Third
2016-06-17 19:56 ` James Nguyen
2016-06-17 20:16 ` Eli Zaretskii
2016-06-17 23:17 ` bug#23755: [PATCH] Move text line right when in box (bug#23755) Alan Third
2016-06-18 8:22 ` Eli Zaretskii
2016-06-26 0:34 ` Alan Third
2016-06-17 20:14 ` bug#23755: 25.0.95; Emacs 25.0.95 Line number is in fringe Eli Zaretskii
2016-06-13 7:18 ` Alan Third
2016-06-13 13:50 ` Eli Zaretskii
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=m2eg7vhfjw.fsf@gmail.com \
--to=ja.nguyen@gmail.com \
--cc=23755@debbugs.gnu.org \
--cc=alan@idiocy.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.