From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: Placing eol glyph (buffer-display-table) before an overlay after-string. Date: Sat, 12 Aug 2017 16:26:52 +0700 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502530075 24193 195.159.176.226 (12 Aug 2017 09:27:55 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 12 Aug 2017 09:27:55 +0000 (UTC) Cc: Emacs developers To: Keith David Bershatsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 12 11:27:51 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dgShy-0005zw-5v for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2017 11:27:50 +0200 Original-Received: from localhost ([::1]:38936 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgSi4-0006eK-8y for ged-emacs-devel@m.gmane.org; Sat, 12 Aug 2017 05:27:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgShQ-0006e3-DU for emacs-devel@gnu.org; Sat, 12 Aug 2017 05:27:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgShP-00066D-7Y for emacs-devel@gnu.org; Sat, 12 Aug 2017 05:27:16 -0400 Original-Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]:36618) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgShP-00065u-29 for emacs-devel@gnu.org; Sat, 12 Aug 2017 05:27:15 -0400 Original-Received: by mail-it0-x231.google.com with SMTP id 77so4526684itj.1 for ; Sat, 12 Aug 2017 02:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=E6Em1DwEG45vFn289IcL/tafmPckJ2Nwkfi/VFfc97I=; b=L5yrAkto2qebk6qUs05hMryDG2gdrqmoqU08aAdBfcWUWK48fbnPISJjcz7u/7xcGG arQjAuUEP1kZ6xEN9GCmTV+DGRMGhnEZ2bnEdzcQ2uPP9/BiSzninQnggqAP7PDJvsNy 23Iua+drNeshyLtOwsVLcjvLh3HYwmInTJpG27rp13fjoy/syeTj2VMt1pXowuUT9hXN 2/bUpCES+A9OhaM6PuMOGZ8RxFGQ+Qf1+MyE8m4gEVTI5qMtlyXNJ3XBkYwK/SprWiJq PvRcJUgJIAmffWBGM+xQtBmj572gIACoWh8qniqsI0C0gdWtQaEZ/wlURuWMcKoL2yvM 4peA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=E6Em1DwEG45vFn289IcL/tafmPckJ2Nwkfi/VFfc97I=; b=tbKSaxvoYeNqauZDY5ldMbIJa0AYX9GFuD/KtJHnBj2NfSh8Fjtc+/NR0Mj14HD7vu +ng4xUccZIHqArh4GLGQ6ukO+rR6cIK/S5mNrrQW3ZGwM4d48fWPb7JNBPvAnvo6llvj d8XIADpae1uG1VYKFf7JBqafatHoGz9wDZN40lYG3ORorEZLJMi4spVRMHxLmXI5Xp/3 3mCOr73pP3ddejJ15Bd/2qJyz0lMNnhBl8ZUPrqaCjk2hw0LCcgq6YJlw726SMZ2/ecc EB1k/5EdzXBpYaHFq2r9IuGbNU9G5sw/jKU1yowO9+WWXoZ0A/i3B2sqJ/zmCuhbANJt RjCA== X-Gm-Message-State: AHYfb5g7FNnCKsCWOfCmUeeQXfeCeHv1M6TUdqq6sJ6eWC9tbQDr3JHW l33GfywAZcC1n50cLjDtVIQZTKpP4w== X-Received: by 10.36.236.5 with SMTP id g5mr1020303ith.49.1502530032671; Sat, 12 Aug 2017 02:27:12 -0700 (PDT) Original-Received: by 10.79.144.208 with HTTP; Sat, 12 Aug 2017 02:26:52 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: YoFWYjDX_F6JN7lDfbAJGesFlvA X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:217463 Archived-At: On Sat, Aug 12, 2017 at 1:14 PM, Keith David Bershatsky w= rote: > My goal is to use a pilcrow to represent line endings, and this option ca= n be set up using the appropriate buffer-display-table entry. > > I have a custom minor mode that draws cross-hairs the length of the scree= n to track the cursor position, which requires the use of the overlay after= -string property. Emacs draws the eol glyph after the overlay after-string= s are placed -- i.e., to the right of the after-string. The result is that= the eol glyph (e.g., pilcrow) is always on the far right of the after-stri= ng overlay. I want the eol glyph to appear at the end of the line of text,= and the overlay after-string should come after the eol glyph (not before). That explanation would benefit from a screenshot. I am using whitespace-mode to display a pilcrow for line endings, and hl-line-mode to highlight the current line. For me, that setup works and places the pilcrow correctly, although I don=E2=80=99t highlight the current column.