GNU bug report logs - #62376
30.0.50; global-display-fill-column-indicator-modes broken?

Previous Next

Package: emacs;

Reported by: Rudolf Adamkovič <salutis <at> me.com>

Date: Wed, 22 Mar 2023 12:04:01 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Rudolf Adamkovič <salutis <at> me.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Lars Ingebrigtsen <larsi <at> gnus.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 62376 <at> 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
Eli Zaretskii <eliz <at> 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 <at> me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia




This bug report was last modified 2 years and 112 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.