unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 27103@debbugs.gnu.org
Subject: bug#27103: Should show-trailing-whitespace highlight specified spaces?
Date: Sat, 27 May 2017 15:52:27 -0400	[thread overview]
Message-ID: <0541b31f-46b4-e52f-9d58-d649809b940d@live.com> (raw)
In-Reply-To: <83o9uegk7e.fsf@gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 1085 bytes --]

On 2017-05-27 15:42, Eli Zaretskii wrote:
>> Cc: 27103@debbugs.gnu.org
>> From: Clément Pit--Claudel <clement.pitclaudel@live.com>
>> Date: Sat, 27 May 2017 15:14:00 -0400
>>
>> Would it be a reasonable feature request to ask for a non-replacing version of left-fringe and right-fringe?
> 
> I'm not sure.  Non-replacing specs are those which affect the way the
> text having the display property is displayed, but you want something
> else: a portion of text that is both displayed normally and produces
> the fringe bitmap.  That's not how display properties work.
> 
> IOW, it looks like implementing something like that will need serious
> changes in how the display engine works, because it basically
> traverses across a given buffer position only once.

Makes sense, thanks for the detailed explanation. Would the same caveat apply to the creation of a new 'left-fringe text property, such that instead of (concat "A" (propertize "_" 'display '(left-fringe filled-square))) one could write (propertize "A" 'left-fringe 'filled-square)?

Thanks,
Clément.


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2017-05-27 19:52 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-27 16:47 bug#27103: Should show-trailing-whitespace highlight specified spaces? Clément Pit--Claudel
2017-05-27 18:26 ` Eli Zaretskii
2017-05-27 19:14   ` Clément Pit--Claudel
2017-05-27 19:42     ` Eli Zaretskii
2017-05-27 19:52       ` Clément Pit--Claudel [this message]
2017-05-28 16:28         ` Eli Zaretskii
2017-05-28 16:43           ` Clément Pit--Claudel
2017-05-28 17:44             ` Eli Zaretskii
2017-05-28 17:53               ` Clément Pit--Claudel
2017-05-28 18:14                 ` Eli Zaretskii
2017-05-28 19:43                   ` Clément Pit--Claudel
2017-05-28 19:51                     ` Eli Zaretskii
2017-05-28 20:18                       ` Clément Pit--Claudel
2017-05-29  2:30                         ` Eli Zaretskii
2017-05-29  2:33                           ` Clément Pit--Claudel
2017-05-29 17:28                             ` 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

  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=0541b31f-46b4-e52f-9d58-d649809b940d@live.com \
    --to=clement.pitclaudel@live.com \
    --cc=27103@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 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).