From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.bugs Subject: bug#34506: 27.0.50: push-button bug with basic text-property button Date: Wed, 20 Feb 2019 00:22:44 -0500 Message-ID: <9A74136C-D6E3-44B8-8C9F-060BFC29E068@gmail.com> References: <83pnrql9p0.fsf@gnu.org> <831s45ksiz.fsf@gnu.org> <875ztgrfb3.fsf@tcd.ie> <838sycjw0j.fsf@gnu.org> <87lg2bsssc.fsf@tcd.ie> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="161174"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34506@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 20 06:23:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gwKLk-000fn1-6K for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Feb 2019 06:23:16 +0100 Original-Received: from localhost ([127.0.0.1]:34114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwKLj-0000vo-4r for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Feb 2019 00:23:15 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gwKLZ-0000ur-78 for bug-gnu-emacs@gnu.org; Wed, 20 Feb 2019 00:23:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gwKLY-000629-AA for bug-gnu-emacs@gnu.org; Wed, 20 Feb 2019 00:23:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56302) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gwKLW-00061A-O7 for bug-gnu-emacs@gnu.org; Wed, 20 Feb 2019 00:23:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gwKLW-0004jI-Gv for bug-gnu-emacs@gnu.org; Wed, 20 Feb 2019 00:23:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Weiner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Feb 2019 05:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34506 X-GNU-PR-Package: emacs Original-Received: via spool by 34506-submit@debbugs.gnu.org id=B34506.155064017418153 (code B ref 34506); Wed, 20 Feb 2019 05:23:02 +0000 Original-Received: (at 34506) by debbugs.gnu.org; 20 Feb 2019 05:22:54 +0000 Original-Received: from localhost ([127.0.0.1]:57068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwKLO-0004ij-8v for submit@debbugs.gnu.org; Wed, 20 Feb 2019 00:22:54 -0500 Original-Received: from mail-qk1-f182.google.com ([209.85.222.182]:36095) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gwKLL-0004iV-VN for 34506@debbugs.gnu.org; Wed, 20 Feb 2019 00:22:52 -0500 Original-Received: by mail-qk1-f182.google.com with SMTP id o125so1319611qkf.3 for <34506@debbugs.gnu.org>; Tue, 19 Feb 2019 21:22:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=AjH746h68qOyU4IaOgWDYA6WoTwyl8dgbVRH639/tLA=; b=vcIU/HoHk9nXhr/iGFUiloHZ3+TmiaKboHEk55arJfvJNo8tNhlv66S2FZ+QKByCEa GbVd7JSdZEmUaoNXU2YxxI0ZxH+o9m2Y8td3kOLyL3RY3jpK4fYjhRzeT+rLWit/xI2B kVVLj4XegDoiJ0ouq/it5eFpGUeuvXI4xiCBDQWeMkrCmoa6DujOBdpmdNj5VsWQgMsQ Lx08x5ynTWYPWizD6wy8QIac82v/o0NOLUAVHPxSM0bbErbxEwOHQR1oHi/w2gMvAkgi SNbqoXes2CN7C4z6a59UAfbkwFjgPZRz7mg/RuzvrZv6cB5Jnb7fFsZG1TEva89LjXAp qC/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=AjH746h68qOyU4IaOgWDYA6WoTwyl8dgbVRH639/tLA=; b=I2nlgFwPVGVD5jWIf8iOFe9vZFy3WlF94bf7p84R0VTAN9rTtGitpVGV+zAg7tJncu 0f1hGhfF6rD9CePVQadXb+Ctp2gVeavuuSHyzP3Gsw8H0sFdr1jtr40qhc/bmBVEsHNF O/JJ/vVvba+2eE4PlDljIlrxYukEVZ26OYfASoz9L1RAZqxFyJog8l9QvMuSMzokqzj2 LeB023rpU08xdIIacMHL7bqhiFPLz9n0XTG6evI7013iOFBlIcb8R5WxJpDAwz04ZTXH DViORX9YikiQv2w2SCdsKEt+3OAEqgaZ8HVNkbi5mV1DroUJoUrfPX+DFVI6I1SGAtIL wpZg== X-Gm-Message-State: AHQUAuY9jJG2ESttdE6VR5sWqWCaxkJoSvgEKqh7SgvdFejfqAF/IT5e B0yAXYQh+matawcpMksJh8w= X-Google-Smtp-Source: AHgI3IZPvPivbL5t4lpr8B3vjH3vAk9rvb90fVJ0OpjqsxzAiy/A2RSKoEQ2wgzVQUXITwtJlOFUeQ== X-Received: by 2002:a37:8d01:: with SMTP id p1mr23923532qkd.91.1550640166378; Tue, 19 Feb 2019 21:22:46 -0800 (PST) Original-Received: from [192.168.10.108] (ool-2f1481cf.dyn.optonline.net. [47.20.129.207]) by smtp.gmail.com with ESMTPSA id u32sm23658481qtc.54.2019.02.19.21.22.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Feb 2019 21:22:45 -0800 (PST) X-Mailer: iPhone Mail (16C101) In-Reply-To: <87lg2bsssc.fsf@tcd.ie> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:155583 Archived-At: > On Feb 19, 2019, at 10:26 AM, Basil L. Contovounesios wr= ote: >=20 > I don't see why anyone > would mix widgets and buttons in the same buffer and run the risk of > such gotchas. I believe this contributed in part to Robert's > confusion. If buttons and widgets are wholly incompatible and separate then button-at s= hould return nil when on a widget even if both buttons and widgets use the s= ame underlying mechanism. This is what abstractions are for. The implement= ation should be hidden. The abstraction I really want is if there is a clickable item under point, a= ctivate it in the most appropriate way, e.g. if selected with a mouse event,= use it=E2=80=99s mouse action, etc. Maybe an activate-at function that han= dles different types of objects with a priority order if there are multiple m= atches.=20 Bob=