[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Dropping the dashes when displying command names
From: |
Eli Zaretskii |
Subject: |
Re: Dropping the dashes when displying command names |
Date: |
Wed, 06 Dec 2023 14:21:30 +0200 |
> Date: Tue, 05 Dec 2023 17:48:30 +0000
> From: reader <gertopc@proton.me>
>
> 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>)
> 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>)
> 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.