GNU bug report logs - #43489
[PATCH] Don't signal scan-error when moving by sexp interactively

Previous Next

Package: emacs;

Reported by: Mattias Engdegård <mattiase <at> acm.org>

Date: Fri, 18 Sep 2020 11:32:02 UTC

Severity: normal

Tags: patch

Done: Mattias Engdegård <mattiase <at> acm.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mattias Engdegård <mattiase <at> acm.org>
To: João Távora <joaotavora <at> gmail.com>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 43489 <at> debbugs.gnu.org
Subject: bug#43489: [PATCH] Don't signal scan-error when moving by sexp interactively
Date: Mon, 21 Sep 2020 19:12:37 +0200
21 sep. 2020 kl. 10.49 skrev João Távora <joaotavora <at> gmail.com>:

> If, however, 
> the message is "Unbalanced parenthesis", I know something's up 
> and have to fix it.

Thanks for mentioning mark-sexp; it was accidentally omitted in my patch. I agree that this particular condition in mark-sexp merits special treatment; the reason for not being able to extend the mark may be far from the cursor and even off-screen.
It is probably worthwhile to communicate the "unbalanced parenthesis" case differently.

For those wondering what this is about: the condition arises when C-M-SPC is pressed with point before an unbalanced left bracket.





This bug report was last modified 4 years and 238 days ago.

Previous Next


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