From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel 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 Organization: JURTA Message-ID: <87od3hdhit.fsf@jurta.org> References: <878wuq5rgy.fsf@cyd.mit.edu> <87od3mt7yn.fsf@jurta.org> <87vdxuggfl.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219679850 13065 80.91.229.12 (25 Aug 2008 15:57:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Aug 2008 15:57:30 +0000 (UTC) Cc: 684@emacsbugs.donarmstrong.com, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 25 17:58:22 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KXeSF-0003Lb-JN for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 17:58:08 +0200 Original-Received: from localhost ([127.0.0.1]:56465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXeRG-0006in-J7 for ged-emacs-devel@m.gmane.org; Mon, 25 Aug 2008 11:57:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KXeOU-0005Wt-1e for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KXeOS-0005WE-MB for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:13 -0400 Original-Received: from [199.232.76.173] (port=56922 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KXeOS-0005Vu-2N for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:12 -0400 Original-Received: from relay03.kiev.sovam.com ([62.64.120.201]:54927) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KXeOR-0008WQ-PI for emacs-devel@gnu.org; Mon, 25 Aug 2008 11:54:12 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay03.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KXeON-000J1c-1J; Mon, 25 Aug 2008 18:54:07 +0300 In-Reply-To: <87vdxuggfl.fsf@cyd.mit.edu> (Chong Yidong's message of "Thu, 21 Aug 2008 18:18:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 4fe2b897d4d72954524b6b73d18f8617 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4896 [Aug 24 2008] X-SpamTest-Info: {received from trusted relay: common white list} X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: white ip list X-SpamTest-Rate: 10 X-SpamTest-Status: Trusted X-SpamTest-Status-Extended: trusted X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102956 Archived-At: > Juri Linkov 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/