GNU bug report logs -
#12496
24.2; global newline mode shows whitespace too
Previous Next
Reported by: Steven Degutis <sdegutis <at> 8thlight.com>
Date: Sun, 23 Sep 2012 18:21:03 UTC
Severity: normal
Tags: confirmed
Found in version 24.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 12496 in the body.
You can then email your comments to 12496 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12496
; Package
emacs
.
(Sun, 23 Sep 2012 18:21:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Steven Degutis <sdegutis <at> 8thlight.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 23 Sep 2012 18:21:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
This bug report will be sent to the Bug-GNU-Emacs mailing list
and the GNU bug tracker at debbugs.gnu.org. Please check that
the From: line contains a valid email address. After a delay of up
to one day, you should receive an acknowledgement at that address.
Please write in English if possible, as the Emacs maintainers
usually do not have translators for other languages.
Please describe exactly what actions triggered the bug, and
the precise symptoms of the bug. If you can, give a recipe
starting from `emacs -Q':
putting (global-whitespace-newline-mode) in my init.el file makes all
whitespace appear, not just newlines. the work-around that jlp gave me
is to use '(whitespace-style (quote (newline newline-mark))) but he said
it's definitely a bug that i should report.
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/Cellar/emacs/24.2/share/emacs/24.2/etc/DEBUG.
In GNU Emacs 24.2.1 (x86_64-apple-darwin12.2.0, NS apple-appkit-1187.34)
of 2012-09-22 on Stevens-MacBook-Pro-2.local
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure '--prefix=/usr/local/Cellar/emacs/24.2' '--without-dbus'
'--enable-locallisppath=/usr/local/share/emacs/site-lisp'
'--infodir=/usr/local/Cellar/emacs/24.2/share/info/emacs' '--with-ns'
'--disable-ns-self-contained' 'CC=cc''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Dired by name
Minor modes in effect:
global-undo-tree-mode: t
global-whitespace-newline-mode: t
global-whitespace-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
<ns-open-file-line> <help-echo> M-x r e p o r t - e
m <tab> <return>
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
ls does not support --dired; see `dired-use-ls-dired' for more details.
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils disp-table undo-tree help-fns edmacro kmacro diff
go-mode-load dirtree dired-x dired regexp-opt windata tree-mode derived
easy-mmode easymenu tree-widget wid-edit cl ido whitespace time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd
fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev minibuffer loaddefs button faces cus-face files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process ns
multi-tty emacs)
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12496
; Package
emacs
.
(Thu, 27 Sep 2012 06:42:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 12496 <at> debbugs.gnu.org (full text, mbox):
Steven Degutis wrote:
> putting (global-whitespace-newline-mode) in my init.el file makes all
> whitespace appear, not just newlines. the work-around that jlp gave me
> is to use '(whitespace-style (quote (newline newline-mark))) but he said
> it's definitely a bug that i should report.
Thanks for the report.
global-whitespace-newline-mode basically does this:
(let ((whitespace-style '(newline-mark newline)))
(global-whitespace-mode 1))
So it does the right thing in existing buffers, but not in future
buffers that are created later (because whitespace-style is back to its
default value).
I don't know why global-whitespace-newline-mode even needs to exist.
It would be simpler to remove it and just say "customize
whitespace-style to whatever you want, and call global-whitespace-mode".
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#12496
; Package
emacs
.
(Tue, 01 Jun 2021 07:16:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 12496 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> I don't know why global-whitespace-newline-mode even needs to exist.
> It would be simpler to remove it and just say "customize
> whitespace-style to whatever you want, and call global-whitespace-mode".
Makes sense to me, so I've now obsoleted it in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug marked as fixed in version 28.1, send any further explanations to
12496 <at> debbugs.gnu.org and Steven Degutis <sdegutis <at> 8thlight.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 01 Jun 2021 07:16:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 29 Jun 2021 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 360 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.