all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Face of wrap-prefix in adaptive-wrap
Date: Wed, 21 Aug 2013 18:26:11 +0300	[thread overview]
Message-ID: <83r4dnjca4.fsf@gnu.org> (raw)
In-Reply-To: <iwbo4rmskk.fsf@newton.mathematik.tu-chemnitz.de>

> From: Frank Fischer <frank.fischer@mathematik.tu-chemnitz.de>
> Date: Wed, 21 Aug 2013 09:06:03 +0200
> 
> I often use visual-line-mode together with adaptive-wrap-mode when
> writing certain kinds of text (in particular LaTeX). However, It seems
> as if the prefix-text in the wrapped lines does not share the face of
> the original prefix in the first visual line: screenshot [1] shows an
> emacs-lisp buffer with a wrapped comment. The (comment) prefix of the
> successive lines is black instead of red.
> 
> The problem becomes more apparent when used in conjunction with
> variable-width fonts, which I use with LaTeX files [2]. The first
> wrapped line has again a comment prefix, but the successive lines seem
> to use the wrong (fixed width) font. The second wrapped line has only a
> whitespace prefix, but again the wrap-prefix seems to use the wrong font
> (with "larger" spaces) causing a too large indentation of the successive
> lines (I would expect the successive lines to have exactly the same
> indentation as the first visual line). This problem gets
> worse as the indentation of the first line is increased.
> 
> IIRC the problem did not exist in Emacs 23 (the examples are all with
> Emacs 24.2.1), where the wrap-prefix always had the same font as the
> original prefix (but I may be wrong).
> 
> Is there a way to make the wrap-prefix have the same font/face as the
> original prefix?

I suggest to create a simple test case, starting with "emacs -Q", and
report it as a bug with "M-x report-emacs-bug RET".  Then the Emacs
maintainers could see if this indeed worked in previous versions, and
what will it take to do what you want.



      reply	other threads:[~2013-08-21 15:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-21  7:06 Face of wrap-prefix in adaptive-wrap Frank Fischer
2013-08-21 15:26 ` Eli Zaretskii [this message]

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=83r4dnjca4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@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.