--- Begin Message ---
Subject: |
24.3.91; foward-sexp via hideshow triggers scan error -- no error manually |
Date: |
Tue, 27 May 2014 14:12:56 +0200 |
Hello,
Running:
emacs -Q /usr/local/bin/latexmk -f cperl-mode --eval '(goto-char 301038)' -f
forward-sexp
makes a scan error (unbalanced parenthese)
However, leaving out "-f forward-sexp" and hitting C-M-f manually once
emacs is loaded makes no error.
My guess is that there is some jit propertization/syntax-class-ization
that has to be done before C-M-f works. Evalling (message "%S"
(buffer-substring 301038 302108)) indeed shows that syntax-table
properties are used in the region. But what should be done to fix it ?
Fwiw, I encountered the problem trying to use hideshow :
emacs -Q /usr/local/bin/latexmk -f cperl-mode -f hs-minor-mode -f hs-hide-all
--
Nico.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually |
Date: |
Fri, 13 Jun 2014 22:00:26 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.91 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>> Maybe hs-hide-all should call (syntax-propertize (point-max)), then.
>> I forgot to follow up on this bug ; the following indeed worked for me :
>
> Thanks, please install into `trunk'.
In fact you had done that yourself two weeks ago. Closing the bug.
--
Nico.
--- End Message ---