bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#62376: 30.0.50; global-display-fill-column-indicator-modes broken?


From: Rudolf Adamkovič
Subject: bug#62376: 30.0.50; global-display-fill-column-indicator-modes broken?
Date: Wed, 22 Mar 2023 17:39:34 +0100

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 via email to

[Prev in Thread] Current Thread [Next in Thread]