From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#36922: [PATCH] Add defalias toolbar-mode for tool-bar-mode Date: Mon, 09 Sep 2019 00:58:46 +0300 Organization: LINKOV.NET Message-ID: <87ftl6qwkp.fsf@mail.linkov.net> References: <415e3da4-1635-421d-bd04-08e6a824ef5b@default> <87d0gatt7g.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="129930"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 36922@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 09 00:03: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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i75H9-000XeY-PB for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Sep 2019 00:03:16 +0200 Original-Received: from localhost ([::1]:50980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i75H7-0003V9-Rn for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Sep 2019 18:03:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53358) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i75Gy-0003Uz-QQ for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2019 18:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i75Gx-0003Fa-QW for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2019 18:03:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58673) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i75Gx-0003FV-Gv for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2019 18:03:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i75Gx-0000UZ-A3 for bug-gnu-emacs@gnu.org; Sun, 08 Sep 2019 18:03:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Sep 2019 22:03:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36922 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36922-submit@debbugs.gnu.org id=B36922.15679801461818 (code B ref 36922); Sun, 08 Sep 2019 22:03:03 +0000 Original-Received: (at 36922) by debbugs.gnu.org; 8 Sep 2019 22:02:26 +0000 Original-Received: from localhost ([127.0.0.1]:39259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i75GL-0000TF-N1 for submit@debbugs.gnu.org; Sun, 08 Sep 2019 18:02:25 -0400 Original-Received: from cheetah.birch.relay.mailchannels.net ([23.83.209.34]:38861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i75GI-0000T3-Mt for 36922@debbugs.gnu.org; Sun, 08 Sep 2019 18:02:24 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6E16D205B0; Sun, 8 Sep 2019 22:02:21 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a53.g.dreamhost.com (100-96-14-157.trex.outbound.svc.cluster.local [100.96.14.157]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id B107A214CC; Sun, 8 Sep 2019 22:02:20 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a53.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.17.5); Sun, 08 Sep 2019 22:02:21 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Dime-Trade: 5471b3df22d347a2_1567980140955_2478062605 X-MC-Loop-Signature: 1567980140955:3320867476 X-MC-Ingress-Time: 1567980140955 Original-Received: from pdx1-sub0-mail-a53.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTP id 8848D841DD; Sun, 8 Sep 2019 15:02:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=BCkrIclJlerQpuIlN+eGcHo9YKU=; b= V7D3lyFSN+jmZpFZD7m/Gdf9WFsANfTEhQIJutt50RjrDTYcPpAC8Sij5OCl8lDc 6KFeT6w4WufiWrj+wRyE3DM5lydN/v0Tk41eRh2RHHM9pIhzJtJ3stHtdxjvqefF mEbxWRQwiyXnoQ+MLqkB35YhNa2QPJEu8zeKKuggXPM= Original-Received: from mail.jurta.org (m91-129-108-240.cust.tele2.ee [91.129.108.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a53.g.dreamhost.com (Postfix) with ESMTPSA id 47718846A4; Sun, 8 Sep 2019 15:02:12 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a53 In-Reply-To: (Stefan Kangas's message of "Sun, 8 Sep 2019 22:57:30 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudekhedgtdehucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdekrddvgedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtkedrvdegtddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehsthgvfhgrnhesmhgrrhigihhsthdrshgvnecuvehluhhsthgvrhfuihiivgeptd 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:166313 Archived-At: >> Oh, the name of the new feature tab-bar was modeled after tool-bar, >> so now it should be renamed to tabbar, this doesn't look too nice. > > I think that should be "tab-bar", since that seems to be the most > common spelling. Indeed preparing good names for completion makes them easier to type. For example, recently after adding the "tab-bar-mouse" command made harder to enable "tab-bar-mode" by typing just "tab-b-mo", it doesn't complete anymore. Also better would be to group all related commands under one prefix, such as "tab-next", "tab-previous" for easier completion. > I'm not suggesting a rename of "tool-bar" by the way, only a convenience alias. Please try to find evidence that more people have the same problem with completion. For example, I have in my init file such aliases that I often mistype, e.g.: (defalias 'comapre-windows 'compare-windows) because "comapre" is easier to type than "compare" on a qwerty keyboard :) Another solution is to make completion smarter, like when in bash mistyping a shell command still find it by correcting its name.