[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map pref
From: |
Juri Linkov |
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 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
> Juri Linkov <address@hidden> 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/
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix, Chong Yidong, 2008/08/21
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix, Juri Linkov, 2008/08/21
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix, Chong Yidong, 2008/08/21
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix,
Juri Linkov <=
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix, Chong Yidong, 2008/08/25
- Re: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix, Juri Linkov, 2008/08/25
- center-line on region (was: bug#684: 23.0.60; text-mode redefines "\es", the new search-map prefix), Juri Linkov, 2008/08/25