* bug#18117: 24.3; tex-mode.el tex-font-lock-verb docstring backslash
@ 2014-07-27 10:54 Kevin Ryde
2014-07-27 11:41 ` Andreas Schwab
0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2014-07-27 10:54 UTC (permalink / raw
To: 18117
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#18117: 24.3; tex-mode.el tex-font-lock-verb docstring backslash
2014-07-27 10:54 bug#18117: 24.3; tex-mode.el tex-font-lock-verb docstring backslash Kevin Ryde
@ 2014-07-27 11:41 ` Andreas Schwab
2014-07-28 6:20 ` Kevin Ryde
0 siblings, 1 reply; 3+ messages in thread
From: Andreas Schwab @ 2014-07-27 11:41 UTC (permalink / raw
To: Kevin Ryde; +Cc: 18117-done
Kevin Ryde <user42_kevin@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@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#18117: 24.3; tex-mode.el tex-font-lock-verb docstring backslash
2014-07-27 11:41 ` Andreas Schwab
@ 2014-07-28 6:20 ` Kevin Ryde
0 siblings, 0 replies; 3+ messages in thread
From: Kevin Ryde @ 2014-07-28 6:20 UTC (permalink / raw
To: Andreas Schwab; +Cc: 18117
Andreas Schwab <schwab@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.)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-07-28 6:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-27 10:54 bug#18117: 24.3; tex-mode.el tex-font-lock-verb docstring backslash Kevin Ryde
2014-07-27 11:41 ` Andreas Schwab
2014-07-28 6:20 ` Kevin Ryde
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.