GNU bug report logs - #18117
24.3; tex-mode.el tex-font-lock-verb docstring backslash

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42_kevin <at> yahoo.com.au>

Date: Sun, 27 Jul 2014 10:58:02 UTC

Severity: normal

Found in version 24.3

Done: Andreas Schwab <schwab <at> linux-m68k.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 18117 in the body.
You can then email your comments to 18117 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#18117; Package emacs. (Sun, 27 Jul 2014 10:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kevin Ryde <user42_kevin <at> yahoo.com.au>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 27 Jul 2014 10:58:02 GMT) Full text and rfc822 format available.

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

From: Kevin Ryde <user42_kevin <at> yahoo.com.au>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; tex-mode.el tex-font-lock-verb docstring backslash
Date: Sun, 27 Jul 2014 20:54:41 +1000
Doing

    (require 'tex-mode)
    C-h f tex-font-lock-verb

shows

    Place syntax table properties on the ^Kerb construct.

where I expected to see \verb.  Perhaps the backslash should be escaped

  "Place syntax table properties on the \\=\\verb construct.



In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-06-07 on babin, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11599904
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'
 '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2
 -fstack-protector --param=ssp-buffer-size=4 -Wformat
 -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

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




Reply sent to Andreas Schwab <schwab <at> linux-m68k.org>:
You have taken responsibility. (Sun, 27 Jul 2014 11:42:02 GMT) Full text and rfc822 format available.

Notification sent to Kevin Ryde <user42_kevin <at> yahoo.com.au>:
bug acknowledged by developer. (Sun, 27 Jul 2014 11:42:03 GMT) Full text and rfc822 format available.

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

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Kevin Ryde <user42_kevin <at> yahoo.com.au>
Cc: 18117-done <at> debbugs.gnu.org
Subject: Re: bug#18117: 24.3;
 tex-mode.el tex-font-lock-verb docstring backslash
Date: Sun, 27 Jul 2014 13:41:20 +0200
Kevin Ryde <user42_kevin <at> yahoo.com.au> writes:

> Doing
>
>     (require 'tex-mode)
>     C-h f tex-font-lock-verb
>
> shows
>
>     Place syntax table properties on the ^Kerb construct.
>
> where I expected to see \verb.  Perhaps the backslash should be escaped

Thanks, fixed.

>   "Place syntax table properties on the \\=\\verb construct.

There is no need for \= though, since \v isn't special to
substitute-command-keys.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#18117; Package emacs. (Mon, 28 Jul 2014 06:25:01 GMT) Full text and rfc822 format available.

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

From: Kevin Ryde <user42_kevin <at> yahoo.com.au>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 18117 <at> debbugs.gnu.org
Subject: Re: bug#18117: 24.3;
 tex-mode.el tex-font-lock-verb docstring backslash
Date: Mon, 28 Jul 2014 16:20:43 +1000
Andreas Schwab <schwab <at> linux-m68k.org> writes:
>
> There is no need for \= though, since \v isn't special to
> substitute-command-keys.

Would it be prudent to protect against potential new kinds of \
expansions?  Or anything new would not be alphabeticals?

(I pondered even a checkdoc.el test which could ask for no backslashing
except the defined key seq etc forms.  Leaving room for new kinds of
expansions in the future could be good, but maybe they would never be
alnums.)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Aug 2014 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 15 days ago.

Previous Next


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