From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#42887: 28.0.50; Customize Group doesn't show/hide option on repeated clicking Date: Mon, 11 Sep 2023 11:01:49 -0700 Message-ID: References: <7c86ca80-e4ab-7954-d21c-9f7a908aa9f8@gmail.com> 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="18221"; mail-complaints-to="usenet@ciao.gmane.io" To: Mauro Aranda , 42887@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Sep 11 20:03:12 2023 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 1qflFf-0004Vv-Io for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 11 Sep 2023 20:03:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qflFU-0005tZ-Q7; Mon, 11 Sep 2023 14:03:00 -0400 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 1qflFR-0005tI-Vl for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 14:02:58 -0400 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 1qflFR-0001vm-NQ for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 14:02:57 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qflFV-0003ch-RA for bug-gnu-emacs@gnu.org; Mon, 11 Sep 2023 14:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Sep 2023 18:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42887 X-GNU-PR-Package: emacs Original-Received: via spool by 42887-submit@debbugs.gnu.org id=B42887.169445532213853 (code B ref 42887); Mon, 11 Sep 2023 18:03:01 +0000 Original-Received: (at 42887) by debbugs.gnu.org; 11 Sep 2023 18:02:02 +0000 Original-Received: from localhost ([127.0.0.1]:54732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qflEX-0003bN-UI for submit@debbugs.gnu.org; Mon, 11 Sep 2023 14:02:02 -0400 Original-Received: from mail-lj1-x22b.google.com ([2a00:1450:4864:20::22b]:42152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qflEW-0003aq-2C for 42887@debbugs.gnu.org; Mon, 11 Sep 2023 14:02:00 -0400 Original-Received: by mail-lj1-x22b.google.com with SMTP id 38308e7fff4ca-2bcc331f942so57891761fa.0 for <42887@debbugs.gnu.org>; Mon, 11 Sep 2023 11:01:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694455310; x=1695060110; darn=debbugs.gnu.org; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZCx6op+IhfzKQAaaHFokMzgFKTcKyvEzTl+9TncMcAU=; b=naYC/ICB4ZchJKZtEPrBeudGzTgGgRIAiO/9F0o5xS1bqOCYjgl3PNrLrfmbQdJXSD DR3OZX4ANKsv0oORPb8J80wLtXOgAyX/j1nuodHPi0qkTJaVwS56YpAci+hGM3nHnOaQ ac4P6pfM9D2bG209rf0T/Z6MqZ0chIGzQY70xGGDfe5YcZfd/7ae9fOCvaKMIzi2k+7j FHFJabuDq8Hl/OVHBEgEy+Z66eaorksVSv5Rqf14YEMeZ3hP4wjIZKp1P/GxBElJSnzf A9Ummh6aCF6qPQf4jYqGEQIBgUXaiQBCP3nhtOe0+9G8R8Bg4Z1OjYBAXyjrRk5OYTUI hB8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694455310; x=1695060110; h=content-transfer-encoding:to:subject:message-id:date:mime-version :references:in-reply-to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=ZCx6op+IhfzKQAaaHFokMzgFKTcKyvEzTl+9TncMcAU=; b=tJB+zzoEZiKoTSaAsZGdJuIiL0C20nbLd3KIrIsu6RBBMJ2AtAHEyMRWIobJApGoV7 XIab14X/nuUcMgg8XlsaLYktUPkw7BdWSQLAde7WW0p8kXjFOnc2SjwKarL6jfGVAV5a DKWLPlsohO4eheUoR08wuFd7YYEfdubIW/lk+f/PFSmBKCo87FzD9IzQFg4UsUxjR8yO J/EgWEV0g0Q9Trip4zVdSekeYF36rsv8ZGERJAu+8pdHINSLUMTcn+NVeCgodZyo2/Re Pe3R7r4zBpdlSNm8kjOgNOqAJ23AUKD3r6P6Zwj+74yXg5cl+NwAXW1UBAAx93F5bT/N mdPQ== X-Gm-Message-State: AOJu0YzB59wOA9cnD/Vx2iMyzsReAMBOuZy+sWzFeild0vfDDEQmh/IN 8P7gvRq1Ai44mh2uB3RF1irtWHQ/Ptik5I3AYgc= X-Google-Smtp-Source: AGHT+IHcrGBfaLfn4KYX4jX9/CugjHZ/D55OXsiQNO6wUaFKONziuGAyhdIk7Mp+ZqKLxQc1TgC4J2L3bdt8dRERPLE= X-Received: by 2002:a2e:a285:0:b0:2be:58a8:1ac with SMTP id k5-20020a2ea285000000b002be58a801acmr151871lja.1.1694455309577; Mon, 11 Sep 2023 11:01:49 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 11 Sep 2023 11:01:49 -0700 In-Reply-To: <7c86ca80-e4ab-7954-d21c-9f7a908aa9f8@gmail.com> 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:270066 Archived-At: Mauro Aranda writes: > I don't know why I couldn't reproduce it three years ago, but I managed > to do that now, I think. > > Could you please check if the following change to > widget-button-release-event-p fixes this for you? > > (defun widget-button-release-event-p (event) > =C2=A0 "Non-nil if EVENT is a mouse-button-release event object." > =C2=A0 (and (eventp event) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (memq (event-basic-type event) '(mo= use-1 mouse-2 mouse-3)) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (seq-some (lambda (el) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (memq el '(click drag triple double))) > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 (event-modifiers event)))) > > > Please do try it with mouse-1 and mouse-2 if you can. > > (I know that the mark gets set with repeating clicks with mouse-1, > and there's a signal with mouse-2, but I'm focusing on whether this > changes fixes the detection of repeated clicks) Thanks. I don't currently have convenient access to the machine where I can reproduce this, and it will be at least another couple of weeks until I do. Apologies in advance if it takes a while before I can review this. If someone else can reproduce and this patch fixes it for them, that works too.