GNU bug report logs - #20346
24.3; Variable `whitespace-style': documentation and custom choices inconsistent

Previous Next

Package: emacs;

Reported by: Philipp Stephani <p.stephani2 <at> gmail.com>

Date: Thu, 16 Apr 2015 09:18:02 UTC

Severity: minor

Found in version 24.3

Done: Eli Zaretskii <eliz <at> gnu.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 20346 in the body.
You can then email your comments to 20346 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Thu, 16 Apr 2015 09:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Philipp Stephani <p.stephani2 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 16 Apr 2015 09:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; Variable `whitespace-style': documentation and custom choices
 inconsistent
Date: Thu, 16 Apr 2015 11:17:38 +0200
The documentation of the `whitespace-style' variable mentions the
following possible symbols:

big-indent
empty
face
indentation
indentation::space
indentation::tab
lines
lines-tail
newline
newline-mark
space-after-tab
space-after-tab::space
space-after-tab::tab
space-before-tab
space-before-tab::space
space-before-tab::tab
space-mark
spaces
tab-mark
tabs
trailing

However, the available customization choices are only:

big-indent
empty
face
indentation
lines
newline
newline-mark
space-after-tab
space-before-tab
space-mark
spaces
tab-mark
tabs
trailing

Also for the type of the customization option, `set' would be more
appropriate than `repeat'.


In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7)
 of 2014-03-07 on lamiak, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-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:
M-x r e p o r t - e <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
easymenu 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 time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt
fringe tabulated-list newcomment 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 macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Sat, 18 Apr 2015 08:20:02 GMT) Full text and rfc822 format available.

Message #8 received at 20346 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20346 <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3;
 Variable `whitespace-style': documentation and custom
 choices	inconsistent
Date: Sat, 18 Apr 2015 11:19:02 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Thu, 16 Apr 2015 11:17:38 +0200
> 
> The documentation of the `whitespace-style' variable mentions the
> following possible symbols:
> 
> big-indent
> empty
> face
> indentation
> indentation::space
> indentation::tab
> lines
> lines-tail
> newline
> newline-mark
> space-after-tab
> space-after-tab::space
> space-after-tab::tab
> space-before-tab
> space-before-tab::space
> space-before-tab::tab
> space-mark
> spaces
> tab-mark
> tabs
> trailing
> 
> However, the available customization choices are only:
> 
> big-indent
> empty
> face
> indentation
> lines
> newline
> newline-mark
> space-after-tab
> space-before-tab
> space-mark
> spaces
> tab-mark
> tabs
> trailing
> 
> Also for the type of the customization option, `set' would be more
> appropriate than `repeat'.

I'm not sure I understand the report: are you saying that the
documentation is wrong (doesn't fit the code), or are you saying that
the customize form is wrong/incomplete?

Thanks.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Sat, 18 Apr 2015 08:27:01 GMT) Full text and rfc822 format available.

Message #11 received at 20346 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20346 <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3; Variable `whitespace-style': documentation and
 custom choices inconsistent
Date: Sat, 18 Apr 2015 08:26:21 +0000
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> schrieb am Sa., 18. Apr. 2015 um 10:19 Uhr:

> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Thu, 16 Apr 2015 11:17:38 +0200
> >
> > The documentation of the `whitespace-style' variable mentions the
> > following possible symbols:
> >
> > big-indent
> > empty
> > face
> > indentation
> > indentation::space
> > indentation::tab
> > lines
> > lines-tail
> > newline
> > newline-mark
> > space-after-tab
> > space-after-tab::space
> > space-after-tab::tab
> > space-before-tab
> > space-before-tab::space
> > space-before-tab::tab
> > space-mark
> > spaces
> > tab-mark
> > tabs
> > trailing
> >
> > However, the available customization choices are only:
> >
> > big-indent
> > empty
> > face
> > indentation
> > lines
> > newline
> > newline-mark
> > space-after-tab
> > space-before-tab
> > space-mark
> > spaces
> > tab-mark
> > tabs
> > trailing
> >
> > Also for the type of the customization option, `set' would be more
> > appropriate than `repeat'.
>
> I'm not sure I understand the report: are you saying that the
> documentation is wrong (doesn't fit the code), or are you saying that
> the customize form is wrong/incomplete?
>
>
From my experience the documentation is correct, and it's the customization
option list that's incomplete. I can send a patch if you like.
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Sat, 18 Apr 2015 08:36:01 GMT) Full text and rfc822 format available.

Message #14 received at 20346 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20346 <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3;
 Variable `whitespace-style': documentation and custom choices
 inconsistent
Date: Sat, 18 Apr 2015 11:34:52 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Sat, 18 Apr 2015 08:26:21 +0000
> Cc: 20346 <at> debbugs.gnu.org
> 
> From my experience the documentation is correct, and it's the customization
> option list that's incomplete. I can send a patch if you like. 

Please do, and thanks!




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Sat, 18 Apr 2015 08:45:02 GMT) Full text and rfc822 format available.

Message #17 received at 20346 <at> debbugs.gnu.org (full text, mbox):

From: Philipp Stephani <p.stephani2 <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 20346 <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3; Variable `whitespace-style': documentation and
 custom choices inconsistent
Date: Sat, 18 Apr 2015 08:44:43 +0000
[Message part 1 (text/plain, inline)]
Eli Zaretskii <eliz <at> gnu.org> schrieb am Sa., 18. Apr. 2015 um 10:35 Uhr:

> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Sat, 18 Apr 2015 08:26:21 +0000
> > Cc: 20346 <at> debbugs.gnu.org
> >
> > From my experience the documentation is correct, and it's the
> customization
> > option list that's incomplete. I can send a patch if you like.
>
> Please do, and thanks!
>

Patch is attached.
[Message part 2 (text/html, inline)]
[0001-Overhaul-customization-type-for-whitespace-style.patch (application/octet-stream, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20346; Package emacs. (Sat, 18 Apr 2015 09:42:02 GMT) Full text and rfc822 format available.

Message #20 received at 20346 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 20346 <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3;
 Variable `whitespace-style': documentation and custom choices
 inconsistent
Date: Sat, 18 Apr 2015 12:40:56 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Sat, 18 Apr 2015 08:44:43 +0000
> Cc: 20346 <at> debbugs.gnu.org
> 
> Patch is attached. 

Thanks.  Please in the future include a ChangeLog-style log entry.

Let's wait for a few days to let others comment, and then I will push
this.




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sat, 02 May 2015 09:19:02 GMT) Full text and rfc822 format available.

Notification sent to Philipp Stephani <p.stephani2 <at> gmail.com>:
bug acknowledged by developer. (Sat, 02 May 2015 09:19:03 GMT) Full text and rfc822 format available.

Message #25 received at 20346-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: p.stephani2 <at> gmail.com
Cc: 20346-done <at> debbugs.gnu.org
Subject: Re: bug#20346: 24.3;
 Variable `whitespace-style': documentation and custom
 choices	inconsistent
Date: Sat, 02 May 2015 12:17:36 +0300
> Date: Sat, 18 Apr 2015 12:40:56 +0300
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 20346 <at> debbugs.gnu.org
> 
> > From: Philipp Stephani <p.stephani2 <at> gmail.com>
> > Date: Sat, 18 Apr 2015 08:44:43 +0000
> > Cc: 20346 <at> debbugs.gnu.org
> > 
> > Patch is attached. 
> 
> Thanks.  Please in the future include a ChangeLog-style log entry.
> 
> Let's wait for a few days to let others comment, and then I will push
> this.

No comments, so I pushed this, and I'm marking this bug done.

Thanks again for working on this.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 30 May 2015 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 75 days ago.

Previous Next


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