From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: Re: undo C-_ and C-/: mention hex codes Date: Wed, 16 Apr 2008 12:50:19 -0400 Message-ID: References: <87ve2hc0td.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208366357 23280 80.91.229.12 (16 Apr 2008 17:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 16 Apr 2008 17:19:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 16 19:19:54 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JmAqi-0004Vi-1O for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2008 18:51:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmAq3-0002j8-GZ for geb-bug-gnu-emacs@m.gmane.org; Wed, 16 Apr 2008 12:50:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JmApz-0002iy-HZ for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2008 12:50:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JmApx-0002gw-DW for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2008 12:50:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JmApx-0002gs-8q for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2008 12:50:21 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182] helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JmApx-0006EI-5H for bug-gnu-emacs@gnu.org; Wed, 16 Apr 2008 12:50:21 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAJDLBUhMCqsI/2dsb2JhbACBYK0U X-IronPort-AV: E=Sophos;i="4.25,665,1199682000"; d="scan'208";a="18657853" Original-Received: from smtp.pppoe.ca (HELO smtp.teksavvy.com) ([65.39.196.238]) by ironport2-out.teksavvy.com with ESMTP; 16 Apr 2008 12:50:19 -0400 Original-Received: from pastel.home ([76.10.171.8]) by smtp.teksavvy.com (Internet Mail Server v1.0) with ESMTP id WUO61219; Wed, 16 Apr 2008 12:50:19 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 47F0F8DD0; Wed, 16 Apr 2008 12:50:19 -0400 (EDT) In-Reply-To: <87ve2hc0td.fsf@jidanni.org> (jidanni@jidanni.org's message of "Wed, 16 Apr 2008 22:49:02 +0800") 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: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17850 Archived-At: > In the emacs manual at the several places where it talks about the > undo keys C-_ and C-/, please also mention what hex codes you are > talking about (0x1F) etc. By "hex code" you mean "ascii char code", I guess. > Maybe you are just talking about the same 0x1F and 0x1F, or maybe two > different codes. The user wants to know. Patches welcome, but note that unless you're running Emacs on a tty, C-/ and C-_ are two different keys/events. And I wouldn't be surprised if some terminal emulator out there also sends different byte-sequences for those two keys. > Or maybe there's a extra layer of abstraction involved. Mention that > too. I don't see why, really. My main concern is to make sure the user can run the command bound to those keys, and that doc should be appropriate since the user can then try C-x u, C-_, C-/, and C--, all of which should work, whether or not they generate the same byte-sequence. Stefan