GNU bug report logs - #74415
29.4; mouse-start-end does not respect syntax-table text properties

Previous Next

Package: emacs;

Reported by: Guillaume Brunerie <guillaume.brunerie <at> gmail.com>

Date: Mon, 18 Nov 2024 10:25:02 UTC

Severity: normal

Found in version 29.4

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 74415 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Guillaume Brunerie <guillaume.brunerie <at> gmail.com>
Cc: monnier <at> iro.umontreal.ca, 74415 <at> debbugs.gnu.org
Subject: Re: bug#74415: 29.4; mouse-start-end does not respect syntax-table
 text properties
Date: Sat, 07 Dec 2024 14:33:01 +0200
> From: Guillaume Brunerie <guillaume.brunerie <at> gmail.com>
> Date: Thu, 5 Dec 2024 07:13:20 +0100
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, 74415 <at> debbugs.gnu.org
> 
> Den tors 28 nov. 2024 kl 17:02 skrev Eli Zaretskii <eliz <at> gnu.org>:
> > Thanks.  Guillaume, does the patch below give good results?
> 
> Thank you, I haven’t managed to apply the patch locally yet but I
> think that would work (I’m on Emacs 29.4, but I guess I might need to
> get the development version of Emacs? The patch seems to fail on my
> mouse.el).
> But one thing I want to point out is that the two `(signal 'scan-error
> [...])` seem to be dead code now, as they test the exact opposite of
> what the previous test now does.

Sorry, I don't understand.  The changes I proposed didn't touch the
lines that signals errors.  Are you saying that those errors were dead
code before these changes as well?  If not, could you please elaborate
on the issues you see with the changes I proposed?

> So I guess it should be implemented a bit differently if you want to
> preserve the current behavior (have a signal 'scan-error' when double
> clicking on unbalanced parentheses in CC mode).





This bug report was last modified 199 days ago.

Previous Next


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