Subject: 24.2; global newline mode shows whitespace too

From: Steven Degutis <[email-masked]>
Date: Sun, 23 Sep 2012 12:41:43 -0500

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)