Subject: Re: 24.3.50; Error: Invalid read syntax: ". in wrong context" when compiling AUCTeX's tex-jp.el

From: 安宅 正之 <[email-masked]>
Date: Thu, 13 Jun 2013 06:10:19 +0900

Thank you for reporting,

I'll look into tex-jp.el.

2013年6月12日水曜日 Tassilo Horn [email-masked]:

>
> Some very recent change in Emacs trunk makes the byte-compilation of
> AUCTeX's tex-jp.el fail.
>
>   http://git.savannah.gnu.org/cgit/auctex.git/tree/tex-jp.el
>
> --8<---------------cut here---------------start------------->8---
> Compiling file /home/horn/Repos/el/auctex/tex-jp.el at Wed Jun 12 08:48:01
> 2013
> Entering directory `/home/horn/Repos/el/auctex/'
> tex-jp.el:348:28:Warning: reference to free variable `TeX-command-buffer'
> tex-jp.el:348:47:Warning: reference to free variable `japanese-TeX-mode'
> tex-jp.el:350:34:Warning: reference to free variable
>     `TeX-japanese-process-output-coding-system'
> tex-jp.el:351:34:Warning: reference to free variable
>     `TeX-japanese-process-input-coding-system'
> tex-jp.el:352:7:Warning: assignment to free variable
>     `TeX-after-start-process-function'
> tex-jp.el:483:1:Error: Invalid read syntax: ". in wrong context"
> --8<---------------cut here---------------end--------------->8---
>
> The file hasn't been touched recently, and at least with last Friday's
> emacs I was able to compile it just fine.
>
> I'm Cc-ing Masayuki Ataka who's the current maintainer of tex-jp.el.
>
>
>
> In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
>  of 2013-06-11 on thinkpad
> Bzr revision: [email-masked]
> Windowing system distributor `The X.Org Foundation', version 11.0.11401901
> System Description:     NAME=Gentoo
>
> Configured using:
>  `configure --prefix=/usr --build=x86_64-pc-linux-gnu
>  --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
>  --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
>  --localstatedir=/var/lib --libdir=/usr/lib64 --disable-silent-rules
>  --disable-dependency-tracking --program-suffix=-emacs-24-vcs
>  --program-transform-name=s/^(emacs)-[0-9].*-././
>  --infodir=/usr/share/info/emacs-24-vcs
>  --enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
>  --with-gameuser=games --without-compress-info
>  --with-file-notification=inotify --disable-acl --with-dbus
>  --with-gnutls --with-gpm --without-hesiod --without-kerberos
>  --without-kerberos5 --with-xml2 --without-selinux --without-wide-int
>  --with-sound --with-x --without-ns --without-gconf --with-gsettings
>  --with-toolkit-scroll-bars --with-gif --with-jpeg --with-png
>  --with-rsvg --with-tiff --with-xpm --with-imagemagick --with-xft
>  --with-libotf --with-m17n-flt --with-x-toolkit=gtk3
>  GENTOO_PACKAGE=app-editors/emacs-vcs-24.3.9999 EBZR_BRANCH=trunk
>  EBZR_REVNO=112929 CFLAGS='-march=native -pipe -g3 -ggdb'
>  LDFLAGS='-Wl,-O1 -Wl,--as-needed''
>
> Important settings:
>   value of $LC_COLLATE: C
>   value of $LC_MONETARY: de_DE.utf8
>   value of $LC_NUMERIC: de_DE.utf8
>   value of $LC_TIME: de_DE.utf8
>   value of $LANG: en_US.UTF-8
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t
>
> Major mode: Emacs-Lisp
>
> Minor modes in effect:
>   helm-match-plugin-mode: t
>   shell-dirtrack-mode: t
>   diff-auto-refine-mode: t
>   global-edit-server-edit-mode: t
>   recentf-mode: t
>   global-subword-mode: t
>   subword-mode: t
>   savehist-mode: t
>   show-paren-mode: t
>   ido-everywhere: t
>   minibuffer-depth-indicate-mode: t
>   window-number-meta-mode: t
>   tooltip-mode: t
>   mouse-wheel-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
>   column-number-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Recent input:
> <tab> <tab> <M-backspace> <M-backspace> <M-backspace>
> a u c t <tab> <M-backspace> r e p o <tab> <tab> <tab>
> <M-backspace> <M-backspace> <M-backspace> s u b m <tab>
> <backspace> e <tab> <backspace> C-g <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <return> <return> ! ! q <down-mouse-1>
> <mouse-1> <down-mouse-1> <mouse-1> <M-backspace> <M-backspace>
> a n w e M-/ f o o M-/ <left> <left> <left> <left> <backspace>
> 3 <end> <left> <backspace> <backspace> <backspace>
> <backspace> C-x C-s C-c C-c s <backspace> C-x C-s <down-mouse-1>
> <mouse-1> C-x # <down-mouse-1> <mouse-1> <down-mouse-1>
> <mouse-1> % <down> <backspace> C-x C-s <down-mouse-1>
> <mouse-1> % <up> <backspace> C-x C-s <down-mouse-1>
> <mouse-1> C-x k <return> <down-mouse-1> <mouse-1> M-x
> d e b b <tab> <tab> <return> I n v a l i d SPC r e
> a d SPC s y n t a x <return> <return> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <up> <return> <return>
> <down> <return> <down> <return> <down> <return> <down>
> <return> <down> <return> <down> <return> <down> <return>
> <down> <return> <up> <up> <help-echo> <help-echo> <down-mouse-1>
> <mouse-1> C-c a a t e x - j p . e l <return> M-x b
> y t <tab> <return> <return> M-2 <tab> <tab> <tab> <tab>
> <tab> <tab> <return> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <up> <up> <up> <up> <up>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <help-echo> <help-echo> <help-echo> <down-mouse-1>
> <mouse-1> M-x e m a c <tab> v e r s <tab> <return>
> M-1 C-< <up> <return> <up> <return> q q M-x r e p o
> <tab> <return>
>
> Recent messages:
> Contacting host: debbugs.gnu.org:80 [3 times]
> Wrote /tmp/gnus-temp-group-4280K3k
> 20130612T084644.057> Opening nndoc server on
> /tmp/gnus-temp-group-4280K3k-ephemeral...
> 20130612T084644.057> Opening nndoc server on
> /tmp/gnus-temp-group-4280K3k-ephemeral...done
> File mode specification error: (user-error "Unmatched bracket or quote")
> [2 times]
> Compiling /home/horn/Repos/el/auctex/tex-jp.el... (TeX-insert-punctuation)
> Mark set
> GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of
> 2013-06-11 on thinkpad
> 20130612T084922.735> Exiting summary buffer and applying spam rules
> call-interactively: End of buffer
>
> Load-path shadows:
> ~/Repos/el/magit/.dir-locals hides
> ~/Repos/el/highlight-symbol.el/.dir-locals
> ~/Repos/el/magit/.dir-locals hides ~/Repos/el/company-mode/.dir-locals
> ~/Repos/el/magit/.dir-locals hides ~/Repos/el/gnus/lisp/.dir-locals
> ~/Repos/el/auctex/lpath hides ~/Repos/el/gnus/lisp/lpath
> ~/Repos/el/gnus/lisp/hex-util hides /usr/share/emacs/24.3.50/lisp/hex-util
> ~/Repos/el/gnus/lisp/color hides /usr/share/emacs/24.3.50/lisp/color
> ~/Repos/el/gnus/lisp/format-spec hides
> /usr/share/emacs/24.3.50/lisp/format-spec
> ~/Repos/el/gnus/lisp/password-cache hides
> /usr/share/emacs/24.3.50/lisp/password-cache
> ~/Repos/el/gnus/lisp/md4 hides /usr/share/emacs/24.3.50/lisp/md4
> ~/Repos/el/gnus/lisp/dns-mode hides
> /usr/share/emacs/24.3.50/lisp/textmodes/dns-mode
> ~/Repos/el/org-mode/lisp/ob-css hides
> /usr/share/emacs/24.3.50/lisp/org/ob-css
> ~/Repos/el/org-mode/lisp/ob-exp hides
> /usr/share/emacs/24.3.50/lisp/org/ob-exp
> ~/Repos/el/org-mode/lisp/ob-ref hides
> /usr/share/emacs/24.3.50/lisp/org/ob-ref
> ~/Repos/el/org-mode/lisp/ob-perl hides
> /usr/share/emacs/24.3.50/lisp/org/ob-perl
> ~/Repos/el/org-mode/lisp/org-loaddefs hides
> /usr/share/emacs/24.3.50/lisp/org/org-loaddefs
> ~/Repos/el/org-mode/lisp/ob-asymptote hides
> /usr/share/emacs/24.3.50/lisp/org/ob-asymptote
> ~/Repos/el/org-mode/lisp/org-macs hides
> /usr/share/emacs/24.3.50/lisp/org/org-macs
> ~/Repos/el/org-mode/lisp/ob-ruby hides
> /usr/share/emacs/24.3.50/lisp/org/ob-ruby
> ~/Repos/el/org-mode/contrib/lisp/org-vm hides
> /usr/share/emacs/24.3.50/lisp/org/org-vm
> ~/Repos/el/org-mode/lisp/ob-keys hides
> /usr/share/emacs/24.3.50/lisp/org/ob-keys
> ~/Repos/el/org-mode/contrib/lisp/org-mew hides
> /usr/share/emacs/24.3.50/lisp/org/org-mew
> ~/Repos/el/org-mode/lisp/ob-sqlite hides
> /usr/share/emacs/24.3.50/lisp/org/ob-sqlite
> ~/Repos/el/org-mode/lisp/ob-screen hides
> /usr/share/emacs/24.3.50/lisp/org/ob-screen
> ~/Repos/el/org-mode/lisp/ob-org hides
> /usr/share/emacs/24.3.50/lisp/org/ob-org
> ~/Repos/el/org-mode/lisp/org-agenda hides
> /usr/share/emacs/24.3.50/lisp/org/org-agenda
> ~/Repos/el/org-mode/lisp/ob-ledger hides
> /usr/share/emacs/24.3.50/lisp/org/ob-ledger
> ~/Repos/el/org-mode/lisp/org-info hides
> /usr/share/emacs/24.3.50/lisp/org/org-info
> ~/Repos/el/org-mode/lisp/org-entities hides
> /usr/share/emacs/24.3.50/lisp/org/org-entities
> ~/Repos/el/org-mode/lisp/ob-ocaml hides
> /usr/share/emacs/24.3.50/lisp/org/ob-ocaml
> ~/Repos/el/org-mode/lisp/org-timer hides
> /usr/share/emacs/24.3.50/lisp/org/org-timer
> ~/Repos/el/org-mode/lisp/org-id hides
> /usr/share/emacs/24.3.50/lisp/org/org-id
> ~/Repos/el/org-mode/lisp/ob-haskell hides
> /usr/share/emacs/24.3.50/lisp/org/ob-haskell
> ~/Repos/el/org-mode/lisp/org-pcomplete hides
> /usr/share/emacs/24.3.50/lisp/org/org-pcomplete
> ~/Repos/el/org-mode/lisp/org-list hides
> /usr/share/emacs/24.3.50/lisp/org/org-list
> ~/Repos/el/org-mode/lisp/ob-dot hides
> /usr/share/emacs/24.3.50/lisp/org/ob-dot
> ~/Repos/el/org-mode/lisp/ob-comint hides
> /usr/share/emacs/24.3.50/lisp/org/ob-comint
> ~/Repos/el/org-mode/lisp/ob-C hides /usr/share/emacs/24.3.50/lisp/org/ob-C
> ~/Repos/el/org-mode/lisp/org-archive hides
> /usr/share/emacs/24.3.50/lisp/org/org-archive
> ~/Repos/el/org-mode/lisp/org-irc hides
> /usr/share/emacs/24.3.50/lisp/org/org-irc
> ~/Repos/el/org-mode/lisp/ob-mscgen hides
> /usr/share/emacs/24.3.50/lisp/org/ob-mscgen
> ~/Repos/el/org-mode/lisp/org-clock hides
> /usr/share/emacs/24.3.50/lisp/org/org-clock
> ~/Repos/el/org-mode/lisp/ob-io hides
> /usr/share/emacs/24.3.50/lisp/org/ob-io
> ~/Repos/el/org-mode/lisp/org-version hides
> /usr/share/emacs/24.3.50/lisp/org/org-version
> ~/Repos/el/org-mode/lisp/org-table hides
> /usr/share/emacs/24.3.50/lisp/org/org-table
> ~/Repos/el/org-mode/lisp/org-bbdb hides
> /usr/share/emacs/24.3.50/lisp/org/org-bbdb
> ~/Repos/el/org-mode/lisp/ob-latex hides
> /usr/share/emacs/24.3.50/lisp/org/ob-latex
> ~/Repos/el/org-mode/lisp/ob-tangle hides
> /usr/share/emacs/24.3.50/lisp/org/ob-tangle
> ~/Repos/el/org-mode/lisp/ob-fortran hides
> /usr/share/emacs/24.3.50/lisp/org/ob-fortran
> ~/Repos/el/org-mode/lisp/org-capture hides
> /usr/share/emacs/24.3.50/lisp/org/org-capture
> ~/Repos/el/org-mode/lisp/org-element hides
> /usr/share/emacs/24.3.50/lisp/org/org-element
> ~/Repos/el/org-mode/lisp/ob-awk hides
> /usr/share/emacs/24.3.50/lisp/org/ob-awk
> ~/Repos/el/org-mode/lisp/org-bibtex hides
> /usr/share/emacs/24.3.50/lisp/org/org-bibtex
> ~/Repos/el/org-mode/lisp/org-footnote hides
> /usr/share/emacs/24.3.50/lisp/org/org-footnote
> ~/Repos/el/org-mode/lisp/ob hides /usr/share/emacs/24.3.50/lisp/org/ob
> ~/Repos/el/org-mode/lisp/ob-R hides /usr/share/emacs/24.3.50/lisp/org/ob-R
> ~/Repos/el/org-mode/lisp/ob-java hides
> /usr/share/emacs/24.3.50/lisp/org/ob-java
> ~/Repos/el/org-mode/lisp/org-ctags hides
> /usr/share/emacs/24.3.50/lisp/org/org-ctags
> ~/Repos/el/org-mode/lisp/ob-python hides
> /usr/share/emacs/24.3.50/lisp/org/ob-python
> ~/Repos/el/org-mode/lisp/ob-sass hides
> /usr/share/emacs/24.3.50/lisp/org/ob-sass
> ~/Repos/el/org-mode/lisp/ob-emacs-lisp hides
> /usr/share/emacs/24.3.50/lisp/org/ob-emacs-lisp
> ~/Repos/el/org-mode/lisp/org-mobile hides
> /usr/share/emacs/24.3.50/lisp/org/org-mobile
> ~/Repos/el/org-mode/lisp/ob-js hides
> /usr/share/emacs/24.3.50/lisp/org/ob-js
> ~/Repos/el/org-mode/lisp/org-datetree hides
> /usr/share/emacs/24.3.50/lisp/org/org-datetree
> ~/Repos/el/org-mode/lisp/org-attach hides
> /usr/share/emacs/24.3.50/lisp/org/org-attach
> ~/Repos/el/org-mode/lisp/org-mhe hides
> /usr/share/emacs/24.3.50/lisp/org/org-mhe
> ~/Repos/el/org-mode/lisp/org-w3m hides
> /usr/share/emacs/24.3.50/lisp/org/org-w3m
> ~/Repos/el/org-mode/lisp/ob-picolisp hides
> /usr/share/emacs/24.3.50/lisp/org/ob-picolisp
> ~/Repos/el/org-mode/lisp/org-docview hides
> /usr/share/emacs/24.3.50/lisp/org/org-docview
> ~/Repos/el/org-mode/lisp/ob-lilypond hides
> /usr/share/emacs/24.3.50/lisp/org/ob-lilypond
> ~/Repos/el/org-mode/lisp/ob-gnuplot hides
> /usr/share/emacs/24.3.50/lisp/org/ob-gnuplot
> ~/Repos/el/org-mode/lisp/org-mouse hides
> /usr/share/emacs/24.3.50/lisp/org/org-mouse
> ~/Repos/el/org-mode/lisp/ob-clojure hides
> /usr/share/emacs/24.3.50/lisp/org/ob-clojure
> ~/Repos/el/org-mode/lisp/org-src hides
> /usr/share/emacs/24.3.50/lisp/org/org-src
> ~/Repos/el/org-mode/lisp/org-install hides
> /usr/share/emacs/24.3.50/lisp/org/org-install
> ~/Repos/el/org-mode/contrib/lisp/org-wl hides
> /usr/share/emacs/24.3.50/lisp/org/org-wl
> ~/Repos/el/org-mode/lisp/org-colview hides
> /usr/share/emacs/24.3.50/lisp/org/org-colview
> ~/Repos/el/org-mode/lisp/org-compat hides
> /usr/share/emacs/24.3.50/lisp/org/org-compat
> ~/Repos/el/org-mode/lisp/ob-sql hides
> /usr/share/emacs/24.3.50/lisp/org/ob-sql
> ~/Repos/el/org-mode/lisp/ob-lisp hides
> /usr/share/emacs/24.3.50/lisp/org/ob-lisp
> ~/Repos/el/org-mode/lisp/org-plot hides
> /usr/share/emacs/24.3.50/lisp/org/org-plot
> ~/Repos/el/org-mode/lisp/org-faces hides
> /usr/share/emacs/24.3.50/lisp/org/org-faces
> ~/Repos/el/org-mode/lisp/ob-shen hides
> /usr/share/emacs/24.3.50/lisp/org/ob-shen
> ~/Repos/el/org-mode/lisp/org-habit hides
> /usr/share/emacs/24.3.50/lisp/org/org-habit
> ~/Repos/el/org-mode/contrib/lisp/org-mac-message hides
> /usr/share/emacs/24.3.50/lisp/org/org-mac-message
> ~/Repos/el/org-mode/lisp/org-indent hides
> /usr/share/emacs/24.3.50/lisp/org/org-indent
> ~/Repos/el/org-mode/lisp/ob-matlab hides
> /usr/share/emacs/24.3.50/lisp/org/ob-matlab
> ~/Repos/el/org-mode/lisp/ob-calc hides
> /usr/share/emacs/24.3.50/lisp/org/ob-calc
> ~/Repos/el/org-mode/lisp/ob-plantuml hides
> /usr/share/emacs/24.3.50/lisp/org/ob-plantuml
> ~/Repos/el/org-mode/lisp/org-crypt hides
> /usr/share/emacs/24.3.50/lisp/org/org-crypt
> ~/Repos/el/org-mode/lisp/ob-scheme hides
> /usr/share/emacs/24.3.50/lisp/org/ob-scheme
> ~/Repos/el/org-mode/lisp/org-eshell hides
> /usr/share/emacs/24.3.50/lisp/org/org-eshell
> ~/Repos/el/org-mode/lisp/ob-ditaa hides
> /usr/share/emacs/24.3.50/lisp/org/ob-ditaa
> ~/Repos/el/org-mode/lisp/ob-octave hides
> /usr/share/emacs/24.3.50/lisp/org/ob-octave
> ~/Repos/el/org-mode/lisp/ob-lob hides
> /usr/share/emacs/24.3.50/lisp/org/ob-lob
> ~/Repos/el/org-mode/lisp/org hides /usr/share/emacs/24.3.50/lisp/org/org
> ~/Repos/el/org-mode/lisp/ob-eval hides
> /usr/share/emacs/24.3.50/lisp/org/ob-eval
> ~/Repos/el/org-mode/lisp/ob-sh hides
> /usr/share/emacs/24.3.50/lisp/org/ob-sh
> ~/Repos/el/org-mode/lisp/org-inlinetask hides
> /usr/share/emacs/24.3.50/lisp/org/org-inlinetask
> ~/Repos/el/org-mode/lisp/ob-maxima hides
> /usr/share/emacs/24.3.50/lisp/org/ob-maxima
> ~/Repos/el/org-mode/lisp/ob-scala hides
> /usr/share/emacs/24.3.50/lisp/org/ob-scala
> ~/Repos/el/org-mode/lisp/ob-table hides
> /usr/share/emacs/24.3.50/lisp/org/ob-table
> ~/Repos/el/org-mode/lisp/org-feed hides
> /usr/share/emacs/24.3.50/lisp/org/org-feed
> ~/Repos/el/org-mode/lisp/org-gnus hides
> /usr/share/emacs/24.3.50/lisp/org/org-gnus
> ~/Repos/el/org-mode/lisp/org-protocol hides
> /usr/share/emacs/24.3.50/lisp/org/org-protocol
> ~/Repos/el/org-mode/lisp/org-rmail hides
> /usr/share/emacs/24.3.50/lisp/org/org-rmail
> ~/Repos/el/gnus/lisp/hmac-def hides
> /usr/share/emacs/24.3.50/lisp/net/hmac-def
> ~/Repos/el/gnus/lisp/sasl hides /usr/share/emacs/24.3.50/lisp/net/sasl
> ~/Repos/el/gnus/lisp/dns hides /usr/share/emacs/24.3.50/lisp/net/dns
> ~/Repos/el/gnus/lisp/ntlm hides /usr/share/emacs/24.3.50/lisp/net/ntlm
> ~/Repos/el/gnus/lisp/sasl-digest hides
> /usr/share/emacs/24.3.50/lisp/net/sasl-digest
> ~/Repos/el/gnus/lisp/dig hides /usr/share/emacs/24.3.50/lisp/net/dig
> ~/Repos/el/gnus/lisp/hmac-md5 hides
> /usr/share/emacs/24.3.50/lisp/net/hmac-md5
> ~/Repos/el/gnus/lisp/tls hides /usr/share/emacs/24.3.50/lisp/net/tls
> ~/Repos/el/gnus/lisp/sasl-cram hides
> /usr/share/emacs/24.3.50/lisp/net/sasl-cram
> ~/Repos/el/gnus/lisp/sasl-ntlm hides
> /usr/share/emacs/24.3.50/lisp/net/sasl-ntlm
> ~/Repos/el/gnus/lisp/netrc hides /usr/share/emacs/24.3.50/lisp/net/netrc
> ~/Repos/el/gnus/lisp/binhex hides /usr/share/emacs/24.3.50/lisp/mail/binhex
> ~/Repos/el/gnus/lisp/hashcash hides
> /usr/share/emacs/24.3.50/lisp/mail/hashcash
> ~/Repos/el/gnus/lisp/uudecode hides
> /usr/share/emacs/24.3.50/lisp/mail/uudecod

-- 
Masayuki Ataka (Japan)
twitter: at_aka