From: Juri Linkov <juri@jurta.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 684@emacsbugs.donarmstrong.com, emacs-devel@gnu.org
Subject: Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix
Date: Mon, 25 Aug 2008 18:45:45 +0300 [thread overview]
Message-ID: <87od3hdhit.fsf@jurta.org> (raw)
In-Reply-To: <87vdxuggfl.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 21 Aug 2008 18:18:54 -0400")
> Juri Linkov <juri@jurta.org> writes:
>
>>>> Starting from Emacs 22 we dedicated a special prefix map M-o
>>>> just for such formatting commands. So I propose to move these
>>>> commands to the following keys:
>>>>
>>>> M-o M-s center-line
>>>> M-o M-S center-paragraph
>>>
>>> Isn't the M-o prefix key used for text properties? I don't think it's
>>> such a good fit. Maybe M-g would be better. WDYT?
>>
>> M-g was intended for navigation commands ("goto" mnemonics), and
>> M-o for formatting commands (see (emacs) Formatted Text).
>> I think center-line and center-paragraph are more formatting
>> than navigation commands.
>
> But center-line and center-paragraph have nothing to do with text
> formatting as such -- currently, the commands in M-o all change
> properties. In contrast, center-line and center-paragraph perform
> indentation.
In word processors, formatting has a broader sense - it includes
indentation, centering, alignment, justification, bulleting, numbering.
There was an idea to develop Emacs into a word processor
with the M-o map as the starting point.
> How about C-c C-s and C-c C-S?
These are good keybindings for the text major mode. However, I don't see
why center-line and center-paragraph should be restricted to text-mode
only. These commands are useful in any mode, and with a global keybinding
they will be available everywhere just like other formatting commands
such as `fill-paragraph' and commands in the `M-o' map that now has
enough room for more keybindings:
M-o b facemenu-set-bold
M-o d facemenu-set-default
M-o i facemenu-set-italic
M-o l facemenu-set-bold-italic
M-o o facemenu-set-face
M-o u facemenu-set-underline
M-o M-o font-lock-fontify-block
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2008-08-25 15:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-21 15:15 bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix Chong Yidong
2008-08-21 20:43 ` Juri Linkov
2008-08-21 22:18 ` Chong Yidong
2008-08-25 15:45 ` Juri Linkov [this message]
2008-08-25 16:29 ` Chong Yidong
2008-08-25 20:33 ` Juri Linkov
2008-08-25 20:52 ` center-line on region (was: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix) Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87od3hdhit.fsf@jurta.org \
--to=juri@jurta.org \
--cc=684@emacsbugs.donarmstrong.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).