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: inputting characters by hexadigit Date: Mon, 21 Jul 2008 12:01:07 +0300 Organization: JURTA Message-ID: <877ibfipbg.fsf@jurta.org> References: <868ww3vydn.fsf@lifelogs.com> <87myki6fqp.fsf@jurta.org> <87mykhz6tf.fsf@jurta.org> <87tzeokrku.fsf@jurta.org> <87tzeogih6.fsf@catnip.gol.com> <488020A4.4060601@harpegolden.net> <873am6rb8k.fsf@jurta.org> <87r69oqojm.fsf@jurta.org> <48841992.6030604@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216632749 22774 80.91.229.12 (21 Jul 2008 09:32:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2008 09:32:29 +0000 (UTC) Cc: tzz@lifelogs.com, Miles Bader , emacs-devel@gnu.org, Kenichi Handa , David De La Harpe Golden To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 21 11:33:17 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 1KKrlV-0002uC-GA for ged-emacs-devel@m.gmane.org; Mon, 21 Jul 2008 11:33:09 +0200 Original-Received: from localhost ([127.0.0.1]:55005 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKrkc-0004mf-Bl for ged-emacs-devel@m.gmane.org; Mon, 21 Jul 2008 05:32:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKrkP-0004fk-Mi for emacs-devel@gnu.org; Mon, 21 Jul 2008 05:32:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKrkK-0004bZ-MG for emacs-devel@gnu.org; Mon, 21 Jul 2008 05:31:59 -0400 Original-Received: from [199.232.76.173] (port=48564 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKrkJ-0004au-7y for emacs-devel@gnu.org; Mon, 21 Jul 2008 05:31:55 -0400 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]:2816) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KKrkC-0003mK-03; Mon, 21 Jul 2008 05:31:48 -0400 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1KKrk6-000Gwi-CZ; Mon, 21 Jul 2008 12:31:42 +0300 In-Reply-To: (Stefan Monnier's message of "Mon, 21 Jul 2008 02:04:49 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) X-Scanner-Signature: 6f32a619495bd298c8ed4cb100af0918 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Trusted X-SpamTest-Info: Profiles 4382 [July 21 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 4.8-5.1 (or MacOS X 10.2-10.3) 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:101060 Archived-At: >> (Though one thing that springs to mind is to allow C-q ## to insert >> a literal #... > > Maybe C-q # SPC (and C-q ? SPC, ...) could be used, indeed. But it's > still yet-another-rule to learn. The beauty of using standard Emacs Lisp notations is that we don't have to invent another escaping syntax. So with the latest patch it is possible to insert them with C-q ?# C-q ?? C-q \# C-q \? C-q \\ All these notations are well documented in Emacs manuals. > I think a good solution should start by scrapping the C-q > corner case, and replace it with something that does not interfere as > much with C-q and which additionally accepts hexadecimal (and > maybe more such as char names, ...). I agree with your idea of separating input by number. To do this we should find only one special key to activate input by number. I propose `RET'. Currently `C-q RET' inserts "^M". This character is rarely needed to insert since more useful line-feed is on `C-q C-j'. And it is more natural to insert ^M by using `C-q C-m'. -- Juri Linkov http://www.jurta.org/emacs/