From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#74415: 29.4; mouse-start-end does not respect syntax-table text properties Date: Sat, 07 Dec 2024 14:33:01 +0200 Message-ID: <86seqzisg2.fsf@gnu.org> References: <86cyilj6ks.fsf@gnu.org> <86mshjcpod.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17448"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 74415@debbugs.gnu.org To: Guillaume Brunerie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 07 13:34:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tJu0n-0004Oj-Nl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 Dec 2024 13:34:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJu0a-0006LD-L8; Sat, 07 Dec 2024 07:34:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJu0Y-0006Km-In for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 07:34:02 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tJu0Y-00034t-4i for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 07:34:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=EMoNjeIX56F/kxeq60KRjcSp5KSkmkuYWMX83RYcV1E=; b=kqT5OvF3jncEGlGiGsJoujGEbvOtj67xoOUSQiR0W4bob/GYWiECePzMHOj1GlYC06xDtOR0gLzFSwKIs5mN635WM2RQU0nkpA1gBUAAMj6ZlVU22EplQlMqEgBOuDaydxuhrCD0PYFs3zatQR91n/lkfbWFuhaLZcSgYNNlzGQmg1Dg2JVm+6SrlhFxJT/xgnRWDScrVNsk2eac9bMVYvcY+xzRvcdOf5eccpg9aXqzX5t7aoLZPYvB0m9PRy87EFBbuqzqZ4+ebavRO17YCvvWtuTrlDZm0Hi0gprhSXPVikmyWLIw8c8eLciWYUvN7TH2HsPuYSeg8BoLqJXWlQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJu0X-0002MH-UB for bug-gnu-emacs@gnu.org; Sat, 07 Dec 2024 07:34:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 Dec 2024 12:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74415 X-GNU-PR-Package: emacs Original-Received: via spool by 74415-submit@debbugs.gnu.org id=B74415.17335747948970 (code B ref 74415); Sat, 07 Dec 2024 12:34:01 +0000 Original-Received: (at 74415) by debbugs.gnu.org; 7 Dec 2024 12:33:14 +0000 Original-Received: from localhost ([127.0.0.1]:45822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtzl-0002Kb-Gh for submit@debbugs.gnu.org; Sat, 07 Dec 2024 07:33:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJtzj-0002KI-VI for 74415@debbugs.gnu.org; Sat, 07 Dec 2024 07:33:12 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tJtzd-000326-0N; Sat, 07 Dec 2024 07:33:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=EMoNjeIX56F/kxeq60KRjcSp5KSkmkuYWMX83RYcV1E=; b=kQS3IsCLe1e4/mlCp3/g 5+2NqtkSo99/Oz4z17Bt6yTY4GXR684rp3SsTXrGije6LTqGeTEpwZ3shZK5jPOI+n3dpKMidDwMQ 9UImz3YiB+ItPqsOxJTbnrJlrXOFPMIDGuBr2SiXklD2G6SmFoltbff2fVtR0c+Nah5AfIHZxmpyE Tjo5sqaFglcAYlWNdUmhOLtAxy/Sk6Ss0VWmMwBzsD5oYnNqniGe7vIfE9u14LLPul/kmqVns8zFr NXBac53bxpBSOxiWiSDpJdN0P0lCnPcGhzRmzMLQWyLmqMth8bNH4s+NP47xCpwKzQObUlhEk6UOM caWA04DdEORWyw==; In-Reply-To: (message from Guillaume Brunerie on Thu, 5 Dec 2024 07:13:20 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296553 Archived-At: > From: Guillaume Brunerie > Date: Thu, 5 Dec 2024 07:13:20 +0100 > Cc: Stefan Monnier , 74415@debbugs.gnu.org > > Den tors 28 nov. 2024 kl 17:02 skrev Eli Zaretskii : > > 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).