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.bugs Subject: bug#36861: 27.0.50; display-fill-column-indicator-mode in log-edit-mode Date: Tue, 06 Aug 2019 17:59:28 +0300 Message-ID: <837e7qcpbj.fsf@gnu.org> References: <875znjntfe.fsf@mail.linkov.net> <83mugvhr66.fsf@gnu.org> <871ry6rksu.fsf@mail.linkov.net> <83zhksexvx.fsf@gnu.org> <87sgqhricg.fsf@mail.linkov.net> <87o914u65x.fsf@mail.linkov.net> <04C790C7-2667-4480-BDC9-BE838D307A74@aol.com> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="216598"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36861@debbugs.gnu.org, juri@linkov.net To: Ergus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 06 17:00:13 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hv0wc-000u4h-LT for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 17:00:10 +0200 Original-Received: from localhost ([::1]:33972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv0wb-00085v-L0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 11:00:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48420) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv0wW-00085Z-6R for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:00:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hv0wV-0006SG-7W for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:00:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57051) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hv0wV-0006SA-3r for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hv0wU-000311-Vs for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 11:00:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Aug 2019 15:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36861 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36861-submit@debbugs.gnu.org id=B36861.156510359011546 (code B ref 36861); Tue, 06 Aug 2019 15:00:02 +0000 Original-Received: (at 36861) by debbugs.gnu.org; 6 Aug 2019 14:59:50 +0000 Original-Received: from localhost ([127.0.0.1]:37639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv0wH-00030A-RR for submit@debbugs.gnu.org; Tue, 06 Aug 2019 10:59:50 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:36010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv0wE-0002zx-DS for 36861@debbugs.gnu.org; Tue, 06 Aug 2019 10:59:48 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hv0w8-0006Lq-RZ; Tue, 06 Aug 2019 10:59:40 -0400 Original-Received: from [176.228.60.248] (port=3346 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hv0w8-0006e7-4R; Tue, 06 Aug 2019 10:59:40 -0400 In-reply-to: <04C790C7-2667-4480-BDC9-BE838D307A74@aol.com> (message from Ergus on Sun, 04 Aug 2019 22:30:05 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164683 Archived-At: > Date: Sun, 04 Aug 2019 22:30:05 +0200 > CC: Eli Zaretskii ,36861@debbugs.gnu.org > From: Ergus > > Dfci was not designed to be used in this way, and the mode initialization actually sets the character, but in the > future it could make many other dynamic tests/checks if needed. So I don't think we should modify it to work > the other way you suggest, because for menit is not general enough. But I will follow the Eli's suggestions in > this aspects more than my own opinion. > Any way, if you want to use the mode in this way (for now) you can/need to set the > display-fill-column-indicator-character to your desired value and it should work as it is now. But I can't promise > that it will work the same way in the future. > But again, probably Eli will suggest a better solution for your use case. I don't think I understand the problem. Why doesn't just setting the characters and the mode variable work as expected? AFAIU, one needs to call the mode function only if one wants Emacs to deduce the indicator character automatically.