Subject: bug#17608: closed (Re: bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 13 Jun 2014 20:01:02 +0000

Your bug report

#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
17608: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17608
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually
From: Nicolas Richard <[email-masked]>
To: Stefan Monnier <[email-masked]>
Cc: Nicolas Richard <[email-masked]>, [email-masked]
Date: Fri, 13 Jun 2014 22:00:26 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Stefan Monnier <[email-masked]> 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.

Subject: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually
From: Nicolas Richard <[email-masked]>
To: [email-masked]
Date: Tue, 27 May 2014 14:12:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.