[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#15006: 24.3; emacs manual comment-start-skip example grouping
From: |
Kevin Ryde |
Subject: |
bug#15006: 24.3; emacs manual comment-start-skip example grouping |
Date: |
Fri, 02 Aug 2013 10:48:36 +1000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
In the emacs manual info node "(emacs)Options for Comments" an example
comment-start-skip is given
"\\(//+\\|/\\*+\\)\\s *"
If I understand the comment-start-skip docstring correctly a \(..\)
group is for extra distinguishing text preceding the comment. Should
that example be a shy group, or perhaps expanded out to ungroup like
vera-mode.el has?
"/\\*+ *\\|//+ *"
I also wondered whether the whitespace "\\s *" in the example was a
little too loose since it matches \n and leading whitespace of the next
line too. Does that matter to anything?
In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2013-05-29 on blah.blah, modified by Debian
System Description: Debian GNU/Linux 7.0 (wheezy)
Configured using:
`configure '--build' 'i486-linux-gnu' '--build' 'i486-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/i386-linux-gnu' '--with-x=yes'
'--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'LDFLAGS=-Wl,-z,relro -Wl,-znocombreloc'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LANG: en_AU
locale-coding-system: iso-latin-1-unix
default enable-multibyte-characters: t
- bug#15006: 24.3; emacs manual comment-start-skip example grouping,
Kevin Ryde <=