From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Fill column indicator functionality Date: Sat, 04 May 2019 18:59:37 +0300 Message-ID: <83k1f6ky6u.fsf@gnu.org> References: <20190407200514.2p6gfucdcdsrqe47@Ergus> <83ef6d8c40.fsf@gnu.org> <20190408085102.ozcuvs323ilfid7n@Ergus> <83bm1g8s02.fsf@gnu.org> <20190412134633.g47vybtpkwxyw7dq@Ergus> <834l73mir0.fsf@gnu.org> <20190501110808.27o64tawy2gyjocr@Ergus> <83sgtvn08w.fsf@gnu.org> <20190503174935.5i2gn2nsxr4aezvf@Ergus> <83ftpvmlg2.fsf@gnu.org> <20190503210508.6jeebxmuocjmgva4@Ergus> <83a7g2n20d.fsf@gnu.org> <6439F397-1E34-4E09-8DD3-C50433D98131@aol.com> <83r29elbux.fsf@gnu.org> <87imuqbgqh.fsf@telefonica.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="135935"; mail-complaints-to="usenet@blaine.gmane.org" Cc: ofv@wanadoo.es, emacs-devel@gnu.org To: Alp Aker Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 04 18:00:50 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMx5j-000ZDP-DS for ged-emacs-devel@m.gmane.org; Sat, 04 May 2019 18:00:47 +0200 Original-Received: from localhost ([127.0.0.1]:58186 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMx5i-0002Yc-8q for ged-emacs-devel@m.gmane.org; Sat, 04 May 2019 12:00:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMx4i-0002YX-Ep for emacs-devel@gnu.org; Sat, 04 May 2019 11:59:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMx4h-0000yF-Gt; Sat, 04 May 2019 11:59:43 -0400 Original-Received: from [176.228.60.248] (port=3426 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hMx4g-00039F-Mf; Sat, 04 May 2019 11:59:43 -0400 In-reply-to: (message from Alp Aker on Sat, 4 May 2019 11:44:11 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:236155 Archived-At: > From: Alp Aker > Date: Sat, 4 May 2019 11:44:11 -0400 > Cc: Emacs devel > > User customization could be accommodated by something like the below (naive) patch. We define > fill-column-indicator face to have unspecified background; when displaying the indicator we merge the > indicator face into the current it->face_id (the same face used for the stretch glyph preceding the indicator). What about the case there's no stretch, i.e. the indicator directly follows the last character of the line?