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.devel Subject: Re: Context menus and mouse-3 [was: Changes for emacs 28] Date: Fri, 18 Sep 2020 03:53:52 -0700 Message-ID: References: <87k0wwsrj4.fsf@gkayaalp.com> <87h7ryet7n.fsf@mail.linkov.net> <837dsu8nne.fsf@gnu.org> <87k0wuynde.fsf@mail.linkov.net> <874knwalok.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21361"; mail-complaints-to="usenet@ciao.gmane.io" Cc: philipk@posteo.net, spacibba@aol.com, emacs-devel@gnu.org, ghe@sdf.org, arthur.miller@live.com, dgutov@yandex.ru, self@gkayaalp.com, eliz@gnu.org, drew.adams@oracle.com To: Juri Linkov , Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 18 12:55:08 2020 Return-path: Envelope-to: ged-emacs-devel@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 1kJE2l-0005Ph-HG for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 12:55:07 +0200 Original-Received: from localhost ([::1]:55888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJE2k-0004TP-D3 for ged-emacs-devel@m.gmane-mx.org; Fri, 18 Sep 2020 06:55:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39136) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJE1f-0003hh-U6 for emacs-devel@gnu.org; Fri, 18 Sep 2020 06:53:59 -0400 Original-Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]:42072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJE1c-0007um-Iz; Fri, 18 Sep 2020 06:53:59 -0400 Original-Received: by mail-ej1-x62c.google.com with SMTP id q13so7469019ejo.9; Fri, 18 Sep 2020 03:53:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=pTUDNrQNHitQ5qOfuYlSAHvWawPpLwZRZsmbZR4qvRs=; b=eNSTVEBV0tRYa9oOdWGMrRIWVqwLXOC41HfLoYHTfjMkHbwl1+UgubNJwOw0hIW53v ybOAyXbkMOVDrl5MIa3QCmHspPE1Q46EgfjwlmK31zJg+rxyDT4fp2qGBfYRAqlPCdPm 8LDusnDGyj+RSOIW4b4CX7FVEajqGsTZW8MO0eB1nWSg8Dm6ciPPfYXTowU4XTdZBYL7 KB0B5ezqmTUZDMK4hXu03N+R+Wri65yjcyGa6od0jNIFhAgLIlYQz8AftXFfHeasvarw GA5sfRvIr1aeOR+w0V6q54JTT7TYqiVf9MMu6Y4zZMJoAR6X1luTWcCJxyOifl6VwQKR WI2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=pTUDNrQNHitQ5qOfuYlSAHvWawPpLwZRZsmbZR4qvRs=; b=VlcFeePYOgCv//7cLqWAm8M8zJYcrZP7jdVK7is88TcKK2562kq+kx/HGfI+yiseCO 2SK+GcBQfK9qz2ETmekSXtc02bVTa6jUAI4ydznrBAwcrzM6uKhvU/SAEsIWgfg06gdk tuthriHQ5opcfSq8yfAfRiuF8wXSPC6iMoGor+Xfhgsn7CJchRZY8dhPb1TeuSiIV0TA 9NpE1EUGfwuaUTTJA7ijJ4GhtviM17nvHFcp1+ykRUxE3EqSjWN/QrWIoyijFYRLH9hV wP2yKzQUOCPTQp9+Jb6tCum41lxo6aue7D6PtgKogjmVAxNtytmb7RQEpu2oapz56kTv li5g== X-Gm-Message-State: AOAM532NDZ2dyuyZ8DH+ASdkmVARSjzzcBlDdJLjLM3hImTVbayMbx7P owfZLPIj3GLUDQ14Az3WOsLwfY8/VtqKUN+zQ+0= X-Google-Smtp-Source: ABdhPJwo7m6VNS94OPfpPpbPmI6S6xPsxLVJbAafDkwLXIRr5IG0J567T6KNnWlRNEt1DhVYh6VQHidns/4/ylAQtxY= X-Received: by 2002:a17:906:1b15:: with SMTP id o21mr34623300ejg.377.1600426434137; Fri, 18 Sep 2020 03:53:54 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 18 Sep 2020 03:53:53 -0700 In-Reply-To: <874knwalok.fsf@mail.linkov.net> Received-SPF: pass client-ip=2a00:1450:4864:20::62c; envelope-from=stefankangas@gmail.com; helo=mail-ej1-x62c.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:256074 Archived-At: Juri Linkov writes: > Constructively, I propose to include in Emacs a new mode > (with a name like 'modern-mouse-mode') where > > - down-mouse-3 and mouse-3 pop up the context menu > containing at least the items "Cut", "Copy", "Paste", "Undo", "Redo" > (and only "Copy" when the buffer is in read-only mode); > - holding down the Shift key while using mouse-1 adjusts > the already active region; > - dragging the active region moves it to the place > where the mouse-1 was released; > - dragging the active region copies it to another place > while holding down the Control key; > - holding down the Shift key while scrolling with mouse wheel > scrolls the buffer horizontally; I agree with all of this. But why not make this the default? It's a low hanging fruit where there is no reason not to make Emacs like other editors (well, except for hysterical raisins). Presumably none of it would cause any major problems for existing power users. Most discussions here seem to indicate they are more inclined to use they keyboard than the mouse.