From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan <yuri.v.khan@gmail.com> Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Sat, 12 Sep 2020 18:13:38 +0700 Message-ID: <CAP_d_8Us8OBKm3_Qhh1J=ERCA4aaCaFA5aGoaL5=7C4U==Z0mQ@mail.gmail.com> References: <87sgbsb0eb.fsf@gmail.com> <jwvft7rynu7.fsf-monnier+emacs@gnu.org> <20200909165723.kdnwicwvplmezusr@Ergus> <E1kGIaT-0006RB-AV@fencepost.gnu.org> <20200910102000.2t6tsju745xutg7u@Ergus> <E1kGJpO-0001fb-LX@fencepost.gnu.org> <20200910110832.ko66gqnqo4l664d6@Ergus> <E1kGitw-00052w-CI@fencepost.gnu.org> <20200911134225.zhnlq7cdhmu2iraj@Ergus> <jwvlfhge6oq.fsf-monnier+emacs@gnu.org> <20200911221435.go7b5kz2zcvxp2ft@Ergus> 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="35741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu <casouri@gmail.com>, Emacs developers <emacs-devel@gnu.org>, "Alfred M. Szmidt" <ams@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca>, Gregory Heytings <ghe@sdf.org>, TEC <tecosaur@gmail.com> To: Ergus <spacibba@aol.com> Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 12 13:14:30 2020 Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> 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 <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1kH3UE-0009DU-CK for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 13:14:30 +0200 Original-Received: from localhost ([::1]:33814 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org>) id 1kH3UD-0006Nn-8M for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Sep 2020 07:14:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <yurivkhan@gmail.com>) id 1kH3Tc-0005w9-5u for emacs-devel@gnu.org; Sat, 12 Sep 2020 07:13:52 -0400 Original-Received: from mail-vk1-xa36.google.com ([2607:f8b0:4864:20::a36]:36867) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <yurivkhan@gmail.com>) id 1kH3Tb-0005KM-EZ; Sat, 12 Sep 2020 07:13:51 -0400 Original-Received: by mail-vk1-xa36.google.com with SMTP id h23so3003346vkn.4; Sat, 12 Sep 2020 04:13:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wPCF9ll5DDyQwBn9mKZAFOfSG3Yh+qXiSZsdnnZaFPc=; b=gd33BWDTLMUPPQn/pMKbqddA6l6fxyTjI6A2c+DQUjRNM/VbTf0Q1207Ng6PeIS58y g1LydAVACiEHtMnfwMidhcLh0tB62Qe7X1hU08/YZqtSCh04soOvQ5dSNycD9J23LBWJ 3896NDTrF/tNfI2vIObX4G2LyG+xNwodlaZAune0YxLWMIQgwXpZs7l3Lq0fXdD/HnSO vGw/lMCiMJtlVX4XQx7sQyXEV6Bp1w8Xx7AdFBdwKkq2THpiyx+1a8yXH2wxdRQwsBTN hcS532B7djiaveNZwECSAuZ5sa5G18IdE8vZDl5hR1pHLGwgOJX/84C7JsBvpJEYdMgq VtkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wPCF9ll5DDyQwBn9mKZAFOfSG3Yh+qXiSZsdnnZaFPc=; b=nlpiZPmGVTBVnWlGJUveqdazDK9VHnNDpNIe13fpA8Gr7anyIUTINsFMGc7u2Rx5eQ Ilt1Ta81cnaGt3iDNW1RrSAtCWC9SuDwmnhcnt5iaIdDH3vtEZqPXIme6awcYbw7LBK/ BEfeYwQKaRHCK/JPtJzV//RdjKGhVgkYN1j+AzJP1MMRrBj1LeqvetyRMTHT0NWQock1 2Bu0y7eDwnbL6j0jtfy/QcGXyTgDDA6i5iKqzwSotMD6NEZYJHoYmIO1OijNpxKJajFp R/ZvyImKz6yXYLwCNTS0LybBug1J7efaGhddLxOI6krLv6dz83+gkvYeUP1Kqqqrvhay jYCg== X-Gm-Message-State: AOAM53067U0GNOtcCNVkwqyacPTiBuzifN+2ztMHxq4zLGCML4RJkUYa M7Z/MjTnReIjpXfmG+KjppVaRcxWzr21OW5wcfA= X-Google-Smtp-Source: ABdhPJxFqaJGYqjwu4NcmfgI8h++6+30Gs2cIJ8Jsqlsd4AqeX3xr3rrWMbJrJHQyTLqLI3LbaoVmVjWdX+qwTJAoVg= X-Received: by 2002:a1f:2e54:: with SMTP id u81mr3423821vku.10.1599909229662; Sat, 12 Sep 2020 04:13:49 -0700 (PDT) In-Reply-To: <20200911221435.go7b5kz2zcvxp2ft@Ergus> Received-SPF: pass client-ip=2607:f8b0:4864:20::a36; envelope-from=yurivkhan@gmail.com; helo=mail-vk1-xa36.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." <emacs-devel.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-devel> List-Post: <mailto:emacs-devel@gnu.org> List-Help: <mailto:emacs-devel-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-devel>, <mailto:emacs-devel-request@gnu.org?subject=subscribe> Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" <emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org> Xref: news.gmane.io gmane.emacs.devel:255299 Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/255299> On Sat, 12 Sep 2020 at 05:15, Ergus <spacibba@aol.com> wrote: > 4) Right click: (Probably it is the most lacking functionality and > surprising for any user not using the terminal.) Right click is expected > to bring a panel with the most common operations. It is useful, fast > and somehow standard since 1995 while removing most of the needs of the > toolbar which takes precious vertical space. I want to clarify an important detail here. Right click is expected to display a *context menu* and the context menu is expected to contain commands that are related to the object that received the right click. This does not always correlate with =E2=80=9Cthe most common operations=E2= =80=9D. Right-clicking a misspelled word offers a list of possible corrections. Right-clicking with a highlighted region offers Cut and Copy. (Actually, Cut/Copy/Paste are always on the context menu for text editors, and get enabled/disabled depending on availability.) In a programming mode, right-clicking an identifier could offer xref-find-definitions and xref-find-references. Applications made with greater attention to UI design also extend the context menu functionality to other UI elements. Right-clicking a toolbar offers to hide or customize it. Right-clicking a tab offers to save or close the document. Implementing a context menu in Emacs is not a simple matter of binding <mouse-3> to any of the menus displayed by <C-mouse-1=E2=80=A63>. Someone= =E2=84=A2 needs to pick things that are relevant in each context. More likely, each major mode needs to pick things that are appropriate in its buffers.