From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.devel Subject: Re: Background color past the end of the buffer Date: Sun, 12 Jul 2015 21:44:17 +0200 Message-ID: References: <559F8153.6020805@gmail.com> <87h9p9gpns.fsf@Rainer.invalid> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1436730301 20859 80.91.229.3 (12 Jul 2015 19:45:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2015 19:45:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 12 21:44:53 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZENBE-000766-WF for ged-emacs-devel@m.gmane.org; Sun, 12 Jul 2015 21:44:53 +0200 Original-Received: from localhost ([::1]:51761 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZENBE-0007tY-BO for ged-emacs-devel@m.gmane.org; Sun, 12 Jul 2015 15:44:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZENAx-0007py-Uc for emacs-devel@gnu.org; Sun, 12 Jul 2015 15:44:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZENAu-0007Gp-Nk for emacs-devel@gnu.org; Sun, 12 Jul 2015 15:44:35 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:42138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZENAu-0007FQ-Hb for emacs-devel@gnu.org; Sun, 12 Jul 2015 15:44:32 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZENAm-0006wi-3L for emacs-devel@gnu.org; Sun, 12 Jul 2015 21:44:24 +0200 Original-Received: from 193.106.183.18 ([193.106.183.18]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Jul 2015 21:44:24 +0200 Original-Received: from wavexx by 193.106.183.18 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 12 Jul 2015 21:44:24 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.18 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187835 Archived-At: 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.