From: Nicolas Richard <theonewiththeevillook@yahoo.fr>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Nicolas Richard <theonewiththeevillook@yahoo.fr>, 17608@debbugs.gnu.org
Subject: bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually
Date: Wed, 11 Jun 2014 16:14:41 +0200 [thread overview]
Message-ID: <878up3cz3i.fsf@geodiff-mac3.ulb.ac.be> (raw)
In-Reply-To: <87bnujh12v.fsf@yahoo.fr>
Stefan Monnier <monnier@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 :
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -789,6 +789,7 @@ If `hs-hide-comments-when-hiding-all' is non-nil, also hide the comments."
(unless hs-allow-nesting
(hs-discard-overlays (point-min) (point-max)))
(goto-char (point-min))
+ (syntax-propertize (point-max))
(let ((spew (make-progress-reporter "Hiding all blocks..."
(point-min) (point-max)))
(re (concat "\\("
--
Nico.
next prev parent reply other threads:[~2014-06-11 14:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-27 12:12 bug#17608: 24.3.91; foward-sexp via hideshow triggers scan error -- no error manually Nicolas Richard
2014-05-27 13:29 ` Stefan Monnier
2014-06-11 14:14 ` Nicolas Richard [this message]
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=878up3cz3i.fsf@geodiff-mac3.ulb.ac.be \
--to=theonewiththeevillook@yahoo.fr \
--cc=17608@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).