From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: inputting characters by hexadigit Date: Mon, 21 Jul 2008 02:04:49 -0400 Message-ID: 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 1216620314 22528 80.91.229.12 (21 Jul 2008 06:05:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2008 06:05:14 +0000 (UTC) Cc: Juri Linkov , tzz@lifelogs.com, emacs-devel@gnu.org, Kenichi Handa , Miles Bader To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 21 08:06:02 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 1KKoX2-0003Cj-HS for ged-emacs-devel@m.gmane.org; Mon, 21 Jul 2008 08:06:00 +0200 Original-Received: from localhost ([127.0.0.1]:56380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKoW9-0000YY-BD for ged-emacs-devel@m.gmane.org; Mon, 21 Jul 2008 02:05:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KKoW4-0000Xw-SF for emacs-devel@gnu.org; Mon, 21 Jul 2008 02:05:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KKoW2-0000Xd-QW for emacs-devel@gnu.org; Mon, 21 Jul 2008 02:05:00 -0400 Original-Received: from [199.232.76.173] (port=50117 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KKoW2-0000XZ-LE for emacs-devel@gnu.org; Mon, 21 Jul 2008 02:04:58 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:34828 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KKoVx-0007R7-Qx; Mon, 21 Jul 2008 02:04:54 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAK/Dg0hFxIYw/2dsb2JhbACBWqswgXo X-IronPort-AV: E=Sophos;i="4.31,221,1215403200"; d="scan'208";a="24577856" Original-Received: from 69-196-134-48.dsl.teksavvy.com (HELO pastel.home) ([69.196.134.48]) by ironport2-out.teksavvy.com with ESMTP; 21 Jul 2008 02:04:50 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 12E008636; Mon, 21 Jul 2008 02:04:49 -0400 (EDT) In-Reply-To: <48841992.6030604@harpegolden.net> (David De La Harpe Golden's message of "Mon, 21 Jul 2008 06:07:30 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:101054 Archived-At: >> So by using chars ? # or \ to mean something else, we get into the >> situation where the user might not know how to insert #, ?, or \ when >> those keys are bound to non-self-inserting commands. I think this is >> a serious problem. > Well, that's true enough, though of course already applies to 0-7 or > 0-9A-F depending on read-quoted-char-radix That's true, and it bit me already several times. I'd really prefer not to make it worse. > (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. > Also, couldn't #?\ pretty easily be made another > customize option? read-quoted-char-accept-elisp-literals) I'm only worried about the default behavior, here, but providing this functionality via an option doesn't seem very satisfactory either. 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, ...). Stefan