emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Background color past the end of the buffer


From: Yuri D'Elia
Subject: Re: Background color past the end of the buffer
Date: Sun, 12 Jul 2015 21:44:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0

On 12/07/15 21:37, Yuri D'Elia wrote:
> On 12/07/15 21:08, Achim Gratz wrote:
>> Yuri D'Elia writes:
>>> Not quite. In a hack I'm doing, I want to define a binary boundary in
>>> the text (in the sense: above/below), and I do that by changing the
>>> background color of one of the two.
>>
>> So changing the background color of the first part should just work the
>> way you want, no?
> 
> The part that needs highliting is not related to above/below, and it
> might end up being under the first.

If you want more reasons to see why it would make "visual" sense, have a
look at this test:

https://github.com/k-talo/volatile-highlights.el/pull/9

This spawns from the idea that sometimes, instead of highlighting, it
makes more sense to "de-light" text: i/e attetuate the stuff *around*
the selection/mark/region instead.

The trouble with this, as for my request, is that you'll want the
"delighting" effect to continue beyond EOF.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]