all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 19300@debbugs.gnu.org
Subject: bug#19300: 24.4.51; visual-line-mode messes up after-string rendering when it spans all	window columns
Date: Mon, 08 Dec 2014 18:40:36 +0200	[thread overview]
Message-ID: <5485D484.3020704@yandex.ru> (raw)
In-Reply-To: <83r3waxh49.fsf@gnu.org>

On 12/08/2014 06:04 PM, Eli Zaretskii wrote:

> visual-line-mode doesn't care about newlines, when the stuff before
> the newline overflows the window width.

Right. That's why I made sure the stuff before and after each newline 
fits the window.

>> and the length of each line there equals to the value reported by
>> (window-width).
>
> Not here:

I'm sure it does. It depends on the test data only: 34 columns in the 
first example, 32 columns in the second.

> I need to resize a bit the windows showing the overlays, in
> order to see something similar to your images.

The scenarios intentionally resize the newly popped window to make sure 
it's the right size.

>> Without overlays, even when visual-line-mode is enabled, I can make a
>> window body 34 chars wide and type 34 characters (maybe including
>> spaces) on a line without seeing them break up.
>
> Are you saying that if you insert your test-string-1 and test-string-2
> into the respective windows as buffer text, you see them displayed
> differently than the overlay in the same window?

Hmm, actually no. Sorry about that. So the examples could be simplified 
to just insert the respective test string, without overlays.

But I can open a different window, enable visual-line-mode, take its 
(window-width), insert that numbers of characters on one line and not 
see them wrapped.

Could this be a bug in `enlarge-window-horizontally' and/or `window-width'?

> If so, I cannot
> reproduce this: I see both the overlay and the buffer text wrap
> exactly identically.

Have you installed Fira Mono and set it up, like the first code line in 
the example does? This doesn't happen with the default Ubuntu font in 
the Emacs master, although in emacs-24 it did when I tried.





  reply	other threads:[~2014-12-08 16:40 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-07 23:50 bug#19300: 24.4.51; visual-line-mode messes up after-string rendering when it spans all window columns Dmitry Gutov
2014-12-08  3:46 ` Eli Zaretskii
2014-12-08 10:14   ` Dmitry Gutov
2014-12-08 16:04     ` Eli Zaretskii
2014-12-08 16:40       ` Dmitry Gutov [this message]
2014-12-08 17:03         ` Eli Zaretskii
2014-12-08 18:47           ` Dmitry Gutov
2014-12-08 20:39             ` Eli Zaretskii
2014-12-09  0:51               ` Dmitry Gutov
2014-12-09 16:11                 ` Eli Zaretskii
2014-12-09 17:30                   ` Dmitry Gutov
2014-12-09 17:51                     ` Eli Zaretskii
2014-12-09 18:38                       ` Dmitry Gutov
2014-12-09 18:50                         ` Eli Zaretskii
2014-12-10 17:58                         ` Eli Zaretskii
2014-12-10 22:50                           ` Dmitry Gutov
2014-12-11  3:42                             ` 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=5485D484.3020704@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=19300@debbugs.gnu.org \
    --cc=eliz@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.