GNU bug report logs - #17608
24.3.91; foward-sexp via hideshow triggers scan error -- no error manually

Previous Next

Package: emacs;

Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Date: Tue, 27 May 2014 12:14:01 UTC

Severity: normal

Found in version 24.3.91

Done: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Subject: bug#17608: closed (Re: bug#17608: 24.3.91; foward-sexp via
 hideshow triggers scan error -- no error manually)
Date: Fri, 13 Jun 2014 20:01:02 +0000
[Message part 1 (text/plain, inline)]
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 17608 <at> debbugs.gnu.org.

-- 
17608: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17608
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>,
 17608-done <at> debbugs.gnu.org
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
Stefan Monnier <monnier <at> iro.umontreal.ca> 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.

[Message part 3 (message/rfc822, inline)]
From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: bug-gnu-emacs <at> gnu.org
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.



This bug report was last modified 11 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.