* small issue with emacs customization
@ 2008-03-09 18:19 Dieter Jurzitza
2008-03-10 3:33 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Dieter Jurzitza @ 2008-03-09 18:19 UTC (permalink / raw)
To: emacs-devel
Dear listmembers,
when I enter the emacs-customization menu, move forward from wp-group to
tex to auctex and try to modify Tex Pdf Mode from "off" to "on" and say "save
for future sessions" I get an error about unmatched parentheses.
The Message buffer tells me:
forward-sexp: Scan error: "Unbalanced parentheses", 996, 7860
The error is caused by the modify-syntax-entry - line in .gnu-emacs-custom:
<more commands>
;; several comments here ...
(modify-syntax-entry ?" "w")
<more commands>
No error happens at startup time, emacs loads and (at least seems to ...)
accept the command, however, the customization - save function does not.
Googling around I found a potential hint in cobol-mode.el:
(modify-syntax-entry ?\" "." st) ; wiki \" bug workaround comment
but this made nothing really clearer to me .... should I modify ?" into ?
\" ???
User error or issue with the customization function?
Could some gentle soul shine some light on this?
Thank you very much for looking into this,
take care
Dieter Jurzitza
--
-----------------------------------------------------------
|
\
/\_/\ |
| ~x~ |/-----\ /
\ /- \_/
^^__ _ / _ ____ /
<°°__ \- \_/ | |/ | |
|| || _| _| _| _|
if you really want to see the pictures above - use some font
with constant spacing like courier! :-)
-----------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: small issue with emacs customization
2008-03-09 18:19 small issue with emacs customization Dieter Jurzitza
@ 2008-03-10 3:33 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2008-03-10 3:33 UTC (permalink / raw)
To: Dieter Jurzitza; +Cc: emacs-devel
> when I enter the emacs-customization menu, move forward from wp-group to
> tex to auctex and try to modify Tex Pdf Mode from "off" to "on" and say "save
> for future sessions" I get an error about unmatched parentheses.
> The Message buffer tells me:
> forward-sexp: Scan error: "Unbalanced parentheses", 996, 7860
> The error is caused by the modify-syntax-entry - line in .gnu-emacs-custom:
> <more commands>
> ;; several comments here ...
> (modify-syntax-entry ?" "w")
You need to escape the " in ?" -> ?\"
Sadly enough Emacs's syntax-tables aren't powerful enough to describe
email lisp syntax.
Stefan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-10 3:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-09 18:19 small issue with emacs customization Dieter Jurzitza
2008-03-10 3:33 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).