From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Dropping the dashes when displying command names Date: Wed, 06 Dec 2023 14:21:30 +0200 Message-ID: <83lea74j3p.fsf@gnu.org> References: <_KCa7hG1yWNmsudi7IEVXqaPHv5UL6YTHaXRGo4P6JuRsO3QG20n0TbgJUmDRJVX6_22e0Jls3A_omOZTLNmIzNkHU2jJfs2D_me-zyv0c0=@proton.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: reader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 06 13:21:53 2023 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 1rAquW-00074f-Ki for ged-emacs-devel@m.gmane-mx.org; Wed, 06 Dec 2023 13:21:52 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rAqu1-0007jV-Rb; Wed, 06 Dec 2023 07:21:21 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAqu0-0007jM-Mn for emacs-devel@gnu.org; Wed, 06 Dec 2023 07:21:20 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rAqtz-0003v3-RF; Wed, 06 Dec 2023 07:21:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=0a0TpNZ4+4T0n+D4Kl/8UgxJcmKC5Sgfh4TykyA/TmU=; b=grzVKYJWihxw OiNJF8ctimNWoxAYqnlYikCKr0WC1lFC9pJcfYrPI+Pw3B2OkapbzaV1oik6u/tPvO4YuAtBktJSP 05J8k/7aH3Lh9+wGJMgG7/6tgCu9zt/ugQz98VdqcWZByiulOreEcuN9Cxy5gGV17V80ysJTcgB9b tOzRPVHNMY4O62lwX5F4NNAx6uj25ri2FjamykYDHmCCgiFJlwY/otAVVLrpOGyJSC6EFTTO6AIjj Gs0lpWCRFDsfYRK7f2aWtC3DMMdnhJisgAWxgQmPHZodh3nFXa3k7uHOv9xB5XlrsuJ332YD1qj0j /kXZsCbjk59arLWatb+htQ==; In-Reply-To: <_KCa7hG1yWNmsudi7IEVXqaPHv5UL6YTHaXRGo4P6JuRsO3QG20n0TbgJUmDRJVX6_22e0Jls3A_omOZTLNmIzNkHU2jJfs2D_me-zyv0c0=@proton.me> (message from reader on Tue, 05 Dec 2023 17:48:30 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:313553 Archived-At: > Date: Tue, 05 Dec 2023 17:48:30 +0000 > From: reader > > M-x presents you a list of interactive commands. They are lisp commands, but the user is concerned > with their name when looking for a command, so displaying command names with spaces instead of > dashes can make a more readable, cleaner presentation. > > So instead of this: > > delete-active-region > delete-char () > delete-directory > delete-file-local-variable > delete-frame (C-x 5 0) > delete-matching-lines (flush-lines) > delete-other-frames (C-x 5 1) > delete-other-windows-vertically > delete-region > delete-trailing-whitespace > > it would look like this: > > delete active region > delete char () > delete directory > delete file local variable > delete frame (C- x 5 0) > delete matching lines (flush lines) > delete other frames (C-x 5 1) > delete other windows vertically > delete region > delete trailing whitespace IMO, this is only feasible if we also accept command invocation via "M-x" with spaces instead of dashes (and even then as an opt-in behavior). The current behavior has the huge advantage of showing what exactly you should type to invoke each command, whereas replacing dashes with spaces loses that important feature.