all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>, Lars Ingebrigtsen <larsi@gnus.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 62376@debbugs.gnu.org
Subject: bug#62376: 30.0.50; global-display-fill-column-indicator-modes broken?
Date: Wed, 22 Mar 2023 17:39:34 +0100	[thread overview]
Message-ID: <m21qlg7nax.fsf@me.com> (raw)
In-Reply-To: <83r0tg6ax2.fsf@gnu.org>

Eli Zaretskii <eliz@gnu.org> writes:

> How did you customize it?

The relevant parts (in the order they execute):

  ;; Set the fill column.
  ;;
  (setopt fill-column 80)

  ;; Define the "not" modes.
  ;;
  (defconst not-modes
    '(special-mode
      java-mode swift-mode kotlin-mode
      telega-chat-mode))

  ;; Highlight text beyond 80 columns (and also tabs).
  ;;
  ;; THIS (SIMILAR) PART WORKS
  ;;
  (setopt whitespace-line-column 80
          whitespace-style '(face tabs lines-tail)
          whitespace-global-modes (cons 'not not-modes))
  (global-whitespace-mode)

  ;; Show a vertical line at 80 columns.
  ;;
  ;; THIS PART DOES NOT WORK
  ;;
  (setopt display-fill-column-indicator-column 80)
  (setopt global-display-fill-column-indicator-modes
          (list (append '(not) not-modes) t))
  (global-display-fill-column-indicator-mode)

> Actually, it is [...] And they pass.

I missed *all* that; thank you for letting me know!

Rudy
-- 
"Genius is 1% inspiration and 99% perspiration."
-- Thomas Alva Edison, 1932

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia





  reply	other threads:[~2023-03-22 16:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 12:03 bug#62376: 30.0.50; global-display-fill-column-indicator-modes broken? Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-22 15:52 ` Eli Zaretskii
2023-03-22 16:39   ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-03-22 17:52   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-23  9:04     ` Eli Zaretskii
2023-03-23  9:39       ` Eli Zaretskii
2023-03-23 13:16         ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-23 15:11           ` Eli Zaretskii
2023-03-23 17:44             ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-27  9:34               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-27 19:41                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-03-27 21:18                   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors

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

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

  git send-email \
    --in-reply-to=m21qlg7nax.fsf@me.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=62376@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=salutis@me.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.