From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: poplife-mode Date: Mon, 13 Nov 2017 02:17:14 +0700 Message-ID: References: <83k1yvmo7z.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1510514326 13201 195.159.176.226 (12 Nov 2017 19:18:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 12 Nov 2017 19:18:46 +0000 (UTC) Cc: Emacs developers To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 12 20:18:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDxmC-00036v-3R for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2017 20:18:40 +0100 Original-Received: from localhost ([::1]:51028 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDxmJ-0006e0-6M for ged-emacs-devel@m.gmane.org; Sun, 12 Nov 2017 14:18:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDxlA-0006cA-Gw for emacs-devel@gnu.org; Sun, 12 Nov 2017 14:17:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDxl9-0003wA-GF for emacs-devel@gnu.org; Sun, 12 Nov 2017 14:17:36 -0500 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:56708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eDxl9-0003v4-B4 for emacs-devel@gnu.org; Sun, 12 Nov 2017 14:17:35 -0500 Original-Received: by mail-oi0-x230.google.com with SMTP id v9so9929425oif.13 for ; Sun, 12 Nov 2017 11:17:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=voettm7+yf27ac5JpS5z8s04CulPVt3+Z1w8Mj0dROA=; b=Gkhy3pmsou92pfHAoDUrO3RJB/4l8qreNtvewTdG7uOjpl4PUHTU0YmHTXuYI+u/Kj VNP30q7ruVnYDQJ7FHiKlp1LBUFm0d6cq3xKAtD+puSIS0DjZz+gD9oB40i6sLeZn4zK g1az/pQmDpRfOKTFQT2YJO9mVfcMK1lTcGhXZLBAtNCvpP7Dre+9rjesBsN9iIv3lPjh wF5tJLB17LBOiarpdjElc7I4orcF9G9LtFJ28bp9cFpev6vTAertz6COFJXUdGRALvOS dkwp03hVrarozjJ38eBggKiOeXJ9OtHgLjp8bM+GG0x8H7Sbn1O0t4x1xokMw6DXwN17 Rv3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=voettm7+yf27ac5JpS5z8s04CulPVt3+Z1w8Mj0dROA=; b=NgwT7G3Y3gYYmGAblYrQ9/gLIMFPvs9DWLuQHnzoNskmOX6FlbBZD1O5mQoC5qweRB YaSds0W0AFAr9RxP51O03GOKvcWNmLS+jAscTSnhR3esY71u+ru1Iwv18Skcu4vDKdUO L0TaiOBNT3eC1sZ9XEj7OpMrbfg3og5qxCmzsfrESiYG2dfz8OsBuoXwcrOXAk0M93es umCzRqTUojpktk6gWIWVErM5BWdSHeQK5uQwhRQP+sJZf+1un1ARWK22yTOn+oI4nz7N 3MHL2HrVxpcCQrxN15/f266i7k8rafvX4U4XIVZ2ujULJKbIGqyARAb48x57og5FTUCg pZKA== X-Gm-Message-State: AJaThX7klgwbZd1NOCgT8K1jiKxtNTYjUyVsN7RTCn3tHTpG0pztoN2+ 1padY6+EoaR+dtQNs3bZCHorIXEX12bOOM4Kk2c= X-Google-Smtp-Source: AGs4zMaGeZoie7A80UZtBi43AIAouSJ3qjRlnTcLOgNlymmAlnsTADRPIojCOeL79+OpyM+d22MTpQTy0EQpCSEB1bY= X-Received: by 10.202.80.199 with SMTP id e190mr3663432oib.80.1510514254417; Sun, 12 Nov 2017 11:17:34 -0800 (PST) Original-Received: by 10.74.139.130 with HTTP; Sun, 12 Nov 2017 11:17:14 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: lNl9bD30Z1Fc6yjvcAEtqLwc44U X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c06::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220109 Archived-At: On Mon, Nov 13, 2017 at 12:47 AM, Stefan Monnier wrote: >> Is it a good idea to invent a UI that is unlike anything out there in >> any other GUI application, at least AFAIK? Last time Emacs did that >> there was no other app around, but not so nowadays... > > AFAIK "long click brings up a context menu" was used in macOS some years > ago (no idea if it is still used), so it's not a completely new idea. Also, on mobile devices (starting at least as far back as Pocket PC around 2002), as a poor man=E2=80=99s substitute for secondary mouse button click. Inefficient as hell, since instead of just clicking a button you have to hold your finger until the timeout elapses and watch the little ring around your cursor fill. > The only existing standard I know for context menus is to use mouse-3, > but that clashes with existing Emacs behavior. Of course, we could > simply drop that existing Emacs behavior. Those same applications that show a context menu on the secondary mouse button click also select a region on Shift+primary click. Emacs as is: * marks region, one more at the same position kills it * pops up buffer appearance menu Emacs mimicking other applications could do this: * pops up context menu which includes buffer appearance as part or submenu * marks region, one more at the same position kills= it