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

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

bug#39427: 26.3; whitespace-mode doesn't track fill-column changes


From: Trey Harris
Subject: bug#39427: 26.3; whitespace-mode doesn't track fill-column changes
Date: Tue, 04 Feb 2020 15:50:15 -0500


1. In *scratch*, toggle whitespace-mode (M-x whitespace-mode RET)

2. Do (C-u 65 x) to get 65 characters, then continue typing into the
line. When you reach 70 (or the value of fill-column), the line will
change face to the long line variant.

3. Do set-fill-column (C-x f) and accept the current value matching 
point's current column. Then type "some more".

**Expected behavior:** the long-line face variant should go away when you
increase fill-column, until you begin typing "some-more".

**Actual behaviOor:** the face does not change.

4. Toggle whitespace-mode off and back on (M-x whitespace-mode RET M-xx
whitespace-mode RET)u

5. Delete "some-more" and press DEL again to get the line under a width
of fill-column. Note that the face changes, as a toggle of
whitespace-mode caused it to re-read fill-column's value.

When whitespace-mode is enabled and whitespace-line-column is set to nil
(meaning track fill-column,) it should track changes to fill-column.

But in fact, whitespace-mode doesn't even track changes to
whitespace-line-column; if you set it to, say, 200 at step 3 above, the
line does not re-face without toggling whitespace-mode, either.
---

In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-09-16 built on lcy01-amd64-030
System Description:     Ubuntu 18.04.3 LTS

Recent messages:
No MH variant found on the system
Creating group...
Creating group entries...done
Creating customization items ...done
Resetting customization items...done
Creating customization setup...done
Mark saved where search started
Quit
Saving file /home/trey/.emacs.d/custom.el...
Wrote /home/trey/.emacs.d/custom.el [2 times]

Configured using:
 'configure --build=x86_64-linux-gnu --prefix=/usr
 '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
 '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
 --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu'
 '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
 --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
 --program-suffix=26 --with-modules --with-file-notification=inotify
 --with-mailutils --with-x=yes --with-x-toolkit=gtk3 --with-xwidgets
 --with-lcms2 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs26-TP6iDo/emacs26-26.3~1.git96dd019=. 
-fstack-protector-strong
 -Wformat -Werror=format-security -no-pie' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro
 -no-pie''

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD LCMS2

Important settings:
  value of $LC_COLLATE: POSIX
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  global-magit-file-mode: t
  direnv-mode: t
  savehist-mode: t
  csv-field-index-mode: t
  paredit-mode: t
  rainbow-delimiters-mode: t
  elmacro-mode: t
  ws-butler-global-mode: t
  ws-butler-mode: t
  pcre-mode: t
  helm-mode: t
  helm--remap-mouse-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  desktop-save-mode: t
  xterm-mouse-mode: t
  show-paren-mode: t
  recentf-mode: t
  rcirc-track-minor-mode: t
  other-frame-window-mode: t
  magit-wip-initial-backup-mode: t
  magit-wip-before-change-mode: t
  magit-wip-after-apply-mode: t
  magit-wip-after-save-mode: t
  magit-wip-mode: t
  diff-auto-refine-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  electric-pair-mode: t
  display-time-mode: t
  override-global-mode: t
  cl-old-struct-compat-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
[snip]

Features:
[snip]

Memory information:
((conses 16 6740696 666979)
 (symbols 48 101039 1)
 (miscs 40 16055 9728)
 (strings 32 773826 62430)
 (string-bytes 1 44503375)
 (vectors 16 183288)
 (vector-slots 8 4279365 137664)
 (floats 8 843 2525)
 (intervals 56 663386 40618)
 (buffers 992 466))





reply via email to

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