From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: "modern" colors Re: Changes for emacs 28 Date: Thu, 10 Sep 2020 20:55:01 +0700 Message-ID: References: <87y2lkb6kb.fsf@gmail.com> <9A4FA038-CCFD-45DF-8B57-E348AFF951D9@gmail.com> <87sgbsb0eb.fsf@gmail.com> <20200909165723.kdnwicwvplmezusr@Ergus> <20200910102000.2t6tsju745xutg7u@Ergus> <20200910110832.ko66gqnqo4l664d6@Ergus> <83ft7pke22.fsf@gnu.org> <20200910131754.vmwb7wl3un7gt36k@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="5123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , Emacs developers , "Alfred M. Szmidt" , Stefan Monnier , ghe@sdf.org, Eli Zaretskii , tecosaur@gmail.com To: Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 10 15:56:06 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 1kGN3U-0001DZ-P8 for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Sep 2020 15:56:04 +0200 Original-Received: from localhost ([::1]:40954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kGN3T-0004se-NN for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Sep 2020 09:56:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44158) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kGN2j-0003oh-Dx for emacs-devel@gnu.org; Thu, 10 Sep 2020 09:55:17 -0400 Original-Received: from mail-ua1-x935.google.com ([2607:f8b0:4864:20::935]:41851) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kGN2h-0003G7-El; Thu, 10 Sep 2020 09:55:17 -0400 Original-Received: by mail-ua1-x935.google.com with SMTP id i22so2005999uat.8; Thu, 10 Sep 2020 06:55:13 -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=C4ovl79oMFi3BJUtqI6ybueYx9v6SZldNxYl1GmtAW8=; b=hdPctjQvT1Vz1cyzAfH7Huxunc/tPZ86EW208y3ej/CKkKYX1PhCChiD1dca+rqQ8e mBlj8cfEWW/9yjF9RzaJYowq4Y1C8LK2aTgpjd04JyWkI2xObuY/n3Efzy4ftmhX3Lg4 llEirbUr1WCjJDHoT7hG9Z4Aj068Hrt5OxEYviTdWaoPbWAUGm2IzaNoOFKk1P9JZmdP fWxcJaZQ91Bz2CYo8hOoDs6sV67OIz0ZcugFucEnGP6srdEtxygVcEasA2BkaMnxuhyp c5m9DLJQUfJRKGhbBrVfBrPKGS2z6PmzF3BR6OEOY8ndfh8WMUfSrSKrcBe2UAh2KHrh f45A== 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=C4ovl79oMFi3BJUtqI6ybueYx9v6SZldNxYl1GmtAW8=; b=sIQYfHmxLBOhwOA9JsNVjsD3Gnp6qrHRUoSH8U442eh6x8KaiSewHXqTXG+CD0MRx/ DdIHn60DnWyDLsCzogGprSzQuFblc9AcC5pNJp7MKwOhtYgXNRtQy31rMd04/5rvcWMb kujV6/hnxengap2TqNBVfWEodxrVmdPLAmX4JxFuNT51xj6t7SHt/W0aPx4zbq78XC1S Jt3vtfNBqv2Hb155KV3r1Hcf1Gu5W6R59w8efVPhx3+Tj4urx9ulkhcM/ekV4Gi/Q2pA p63loNPQcq528lbNFZ7yKSdT/+UovAbx0i8wd+AdKGEix53pxdnFRfyySuiBqZ7fa8Nl h5PQ== X-Gm-Message-State: AOAM530klsxSD15RJP5VY+skDSATdH2biuaRYN4b46hEtikfzZboySIe 82lWAJtzmVV+8eRkNb1VflfosbkrsApzKEtyNME= X-Google-Smtp-Source: ABdhPJy2CgcvRR5DSGnrugDhQy2aNFiqsuB8OfealNBOwaxJN8ztj2r+rZEi6fBWzOxoAZhN5SbQv5ajgkd0/3xRYzA= X-Received: by 2002:ab0:2c5:: with SMTP id 63mr3656165uah.102.1599746113197; Thu, 10 Sep 2020 06:55:13 -0700 (PDT) In-Reply-To: <20200910131754.vmwb7wl3un7gt36k@Ergus> Received-SPF: pass client-ip=2607:f8b0:4864:20::935; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x935.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:255000 Archived-At: On Thu, 10 Sep 2020 at 20:22, Ergus wrote: > >> (OR hided OR enabled xterm-mouse-mode because otherwise the toolbar is > >> pretty much useless as F10 is intercepted by most of the terminal > >> emulators or desktop environments). > > > >If F10 is intercepted, perhaps we should also bind the command to > >another key? That's a simple and backward-compatible change. > > > I have discussed this with Stefan already and there are some small > backward compatible changes we can do here because usually F10 is > intercepted by gnome, toggle guake, gnome-terminal menu or tmux before > arriving to emacs. Most GUI terminal emulators have a preference option to refrain from squatting important key combinations (F1, F10, Alt+F, Alt+E, =E2=80=A6) for their own UI and pass them to the application running within, although that runs against keyboard accessibility of the terminal emulator. Some in-terminal applications also have provisions that let them run on terminals without function keys. For example, Midnight Commander accepts ESC 1, =E2=80=A6, ESC 0 (and thus also M-1, =E2=80=A6, M-0) as equi= valents of F1..F10. Emacs could not adopt the same workaround though, because of universal numeric argument. (Also for historical reasons Midnight Commander opens its menu bar on F9, not F10. F10 is Quit. This is because the MC descends in spirit from Norton Commander whose keybindings were established way before CUA.) > 3) Underline the letter in the menus that "opens" each menu from the > keyboard (as some Windows applications do) Windows applications (and applications on other GUI toolkits that use mnemonics) open those menus when those letters are pressed with the Alt modifier. Emacs mostly cannot do that because Alt+F is M-f is forward-word. In Emacs-GTK you can choose a different modifier key for Meta, but in terminal I=E2=80=99m not sure.