unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44232@debbugs.gnu.org, jidanni@jidanni.org
Subject: bug#44232: global-display-fill-column-indicator-mode vs. readonly buffers
Date: Mon, 26 Oct 2020 17:26:02 +0200	[thread overview]
Message-ID: <83eellf1px.fsf@gnu.org> (raw)
In-Reply-To: <875z6x2q4s.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon,  26 Oct 2020 12:17:07 +0100)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Mon, 26 Oct 2020 12:17:07 +0100
> Cc: 44232@debbugs.gnu.org
> 
> 積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:
> 
> > (A workaround might be for
> >     fill-column is a variable defined in ‘C source code’.
> >     Its value is 70
> > to be turned off for Dired, Gnus, etc. buffers.)
> 
> That's true.  `special-mode' could set it to nil, and then everything
> that inherits from that would have no fill column.
> 
> Does anybody see any disadvantages to that?

This is an opt-in feature.  People who don't like it can solve that
very easily: by never enabling this mode.

As for the specific suggestion: it sounds somewhat kludgey to me.  Why
not take the Emacsy way: add a defcustom that lists major modes whose
users are unlikely to want this mode turned on, and let the default
value include the modes you think belong to that group.  (It should be
a defcustom because I can easily envision someone who may wish to see
this indicator even in those modes, perhaps to use it for some purpose
other than filling, e.g. to find filenames longer than some limit in
Dired.)





  reply	other threads:[~2020-10-26 15:26 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-26  7:44 bug#44232: global-display-fill-column-indicator-mode vs. readonly buffers 積丹尼 Dan Jacobson
2020-10-26 10:55 ` Lars Ingebrigtsen
2020-10-26 11:09   ` 積丹尼 Dan Jacobson
2020-10-26 11:17     ` Lars Ingebrigtsen
2020-10-26 15:26       ` Eli Zaretskii [this message]
2020-10-26 16:19         ` Lars Ingebrigtsen
2020-10-26 16:39           ` Basil L. Contovounesios
2020-10-26 16:51             ` bug#44232: (no subject) Lars Ingebrigtsen
2020-10-26 17:15               ` bug#44232: global-display-fill-column-indicator-mode vs. readonly buffers Basil L. Contovounesios
2020-10-26 17:31                 ` Lars Ingebrigtsen
2020-10-26 20:07                   ` Basil L. Contovounesios
2020-10-26 22:06               ` bug#44232: (no subject) Dmitry Gutov
2020-10-26 17:06           ` bug#44232: global-display-fill-column-indicator-mode vs. readonly buffers Eli Zaretskii
2020-10-26 18:22             ` Lars Ingebrigtsen
2020-10-26 18:26               ` Lars Ingebrigtsen
2020-10-26 18:40                 ` Eli Zaretskii
2020-10-26 18:45                   ` Lars Ingebrigtsen
2020-10-26 18:51                   ` Lars Ingebrigtsen
2020-10-26 19:17                     ` Eli Zaretskii
2020-10-26 19:20                       ` Lars Ingebrigtsen
2020-10-26 19:39                         ` Eli Zaretskii
2020-10-26 19:45                           ` Lars Ingebrigtsen
2020-10-26 16:09     ` Eli Zaretskii
2020-10-26 16:25       ` 積丹尼 Dan Jacobson
2020-10-26 17:11         ` Eli Zaretskii
2020-10-26 22:28           ` 積丹尼 Dan Jacobson
2020-10-27  3:36             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eellf1px.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=44232@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).