From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Guillaume Brunerie Newsgroups: gmane.emacs.bugs Subject: bug#74415: 29.4; mouse-start-end does not respect syntax-table text properties Date: Thu, 5 Dec 2024 07:13:20 +0100 Message-ID: References: <86cyilj6ks.fsf@gnu.org> <86mshjcpod.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16379"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Stefan Monnier , 74415@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 05 08:39:27 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 1tJ6SM-00043u-L2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Dec 2024 08:39:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tJ6S6-0007Hr-Vv; Thu, 05 Dec 2024 02:39:11 -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 1tJ6Rz-0007HE-24 for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:39:04 -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 1tJ6Ry-0003iL-Ne for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:39:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=enj4Qtum/0gCYtMI+Ca9HIuUioQLd/RgmPej7kFFTSU=; b=sx2/JwIQxKNgETo95H9AM0CztK+js2V+mWiRQ2zL4iQ9SvF8oKTqkAwQDYBucz0WOgDgPiuy7Z65OaHvU6VLhm86ANcW4R04n6NvePuNfBYL9XbwHDCOZpZsodCk+MfZ4bBu14sAwgOZAKKC0FBXZed9BPaa29jXr3FsbtdlBQtfhoon9CF/y3YLTwtmtw6mG+cbLy8Oy3mHKKctLzU9h987vHl6N1Eieft0akq5SY8kFHHrg9hUKQnf/qHG6DBf3T01Ts7H53ZhoFemKr5IhJSpYx5N66WR1EYn5kT7TGMxyw64EFG8nJIcggz/2lCiahKMMPdQuI69QrgtQn/ssg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tJ6Ry-0005HR-Ig for bug-gnu-emacs@gnu.org; Thu, 05 Dec 2024 02:39:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Guillaume Brunerie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Dec 2024 07:39:02 +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.173338430320214 (code B ref 74415); Thu, 05 Dec 2024 07:39:02 +0000 Original-Received: (at 74415) by debbugs.gnu.org; 5 Dec 2024 07:38:23 +0000 Original-Received: from localhost ([127.0.0.1]:37994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ6RK-0005Fx-U1 for submit@debbugs.gnu.org; Thu, 05 Dec 2024 02:38:23 -0500 Original-Received: from mail-vk1-f169.google.com ([209.85.221.169]:61922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tJ58H-00016G-3v for 74415@debbugs.gnu.org; Thu, 05 Dec 2024 01:14:37 -0500 Original-Received: by mail-vk1-f169.google.com with SMTP id 71dfb90a1353d-515415386c0so159353e0c.3 for <74415@debbugs.gnu.org>; Wed, 04 Dec 2024 22:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733379211; x=1733984011; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=enj4Qtum/0gCYtMI+Ca9HIuUioQLd/RgmPej7kFFTSU=; b=Ix8PJbMEBmrQGEUnw5V5FTP+NCW9L4pErHCDRj7KwKl6zqF9AVkiLdVfRPME/2+MIZ mzV6v0ZhbFnAbqPqpPsWAPwgXcSJWxcbYCXkfMtG0YD2EeLqDemtfD0yeT8sTe2TTDhm tGn8/kugL1pK9odxsf4VLOmHoG58OJvnFtZLmE9YP7ZdeQFRi1E+Gzz0fjgKucMWJARl msVFAWoV1zPJ977Hx3D5f8J0cTaJ9dD9Cuz4lnY71WUlFhr5UpHLaJeyB9hGsXdpqiz9 1C0rLwXgxyKh/GqaqMhUk+FN/jhr/aQrquD1oIExldcFP0eLk41u2r9lMB8RfbxrPFUo WijA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733379211; x=1733984011; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=enj4Qtum/0gCYtMI+Ca9HIuUioQLd/RgmPej7kFFTSU=; b=nR3b2pkGDMwXGf+TK23I4aOjP2WOxHgbJ3S339rRfoGkiFjlb7OBHtbWLtO1Bz3mDW OLiF0SIjvj1b5c08lmFpqIuVWSTIwToQe94Jzki+ohC/HwsV3BpJS0mjSl+rtH4Xaeaw sjvecn+dweqjEQH1cwdTLdMhMygTLEyn12SvmOFydYWrRXQ7Lx3dqWKavrIcCax5rTLC Wr0VkD99QO+NINH50V2MmrtgXZijoVv0pflvi8Gn5DzK4OdkOIItRpPsjw/yz96M/GkG qHLmVv8UOeIxyDdYObmMYFaEdypknGvHlNPfE4p/VHIpo4nui7uy1g0mVLWgSrAsVNSP NyrQ== X-Forwarded-Encrypted: i=1; AJvYcCVJlYm4zFNANeaTW5wcby2BEQAK63mlPuRblUeSDhCzEvwRPvwT2C5Cppu+JxfKstRtMj1qKg==@debbugs.gnu.org X-Gm-Message-State: AOJu0YzCyd3Nw3R8PlJydxiFMzbvutHv6z9Sc5ZC2dlHIt2fbOR3sAZw TggX1hMMsf3vEd7VEvxtumzH+yDTptZY7/516ja7Hfx0+46HDxj5JwJEnP5MjOTrJ54jjDLT4fp eLuKCbY/lR88Y3YjguDWup9KUTw== X-Gm-Gg: ASbGncvvUprVsnCjfe59FDfz1vxabDWRAR5chRqNUJggmo8j6NHFXe+0dvBARzVBtLC LOxYj9hrUwsObX/LX5f+imqAAsgGUKg== X-Google-Smtp-Source: AGHT+IHhGQnKbJo8shwE4EfN2Pt4RjcR+wY56SXcTpEjnZ/wT3XHCXETiMu8a+cyoFRpsWL9Z0HApyTKEnCKwTiU7qA= X-Received: by 2002:a05:6102:5106:b0:4af:bae7:893b with SMTP id ada2fe7eead31-4afbae78afemr2112548137.15.1733379211331; Wed, 04 Dec 2024 22:13:31 -0800 (PST) In-Reply-To: <86mshjcpod.fsf@gnu.org> X-Mailman-Approved-At: Thu, 05 Dec 2024 02:38:21 -0500 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:296451 Archived-At: Den tors 28 nov. 2024 kl 17:02 skrev Eli Zaretskii : > Thanks. Guillaume, does the patch below give good results? Thank you, I haven=E2=80=99t managed to apply the patch locally yet but I think that would work (I=E2=80=99m 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. 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).