unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: 17608@debbugs.gnu.org
Subject: bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually
Date: Tue, 27 May 2014 14:12:56 +0200	[thread overview]
Message-ID: <87bnujh12v.fsf@yahoo.fr> (raw)

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.





             reply	other threads:[~2014-05-27 12:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-27 12:12 Nicolas Richard [this message]
2014-05-27 13:29 ` bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually Stefan Monnier
2014-06-11 14:14   ` Nicolas Richard
2014-06-12  1:14     ` Stefan Monnier
2014-06-13 20:00       ` Nicolas Richard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bnujh12v.fsf@yahoo.fr \
    --to=theonewiththeevillook@yahoo.fr \
    --cc=17608@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).