From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Al Petrofsky Newsgroups: gmane.emacs.devel Subject: Re: Changes to make the C-x @ commands work with function keys Date: Tue, 12 Feb 2002 09:56:51 -0800 Message-ID: <200202121756.JAA08706@radish.petrofsky.org> References: NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013537486 19061 195.204.10.66 (12 Feb 2002 18:11:26 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 12 Feb 2002 18:11:26 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ahOm-0004xK-00 for ; Tue, 12 Feb 2002 19:11:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ahDw-0002la-00; Tue, 12 Feb 2002 13:00:12 -0500 Original-Received: from radish.petrofsky.org ([216.240.48.33]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ahAr-0002dN-00 for ; Tue, 12 Feb 2002 12:57:01 -0500 Original-Received: (from al@localhost) by radish.petrofsky.org (8.9.3/8.9.3/Debian 8.9.3-21) id JAA08706; Tue, 12 Feb 2002 09:56:51 -0800 Original-To: eliz@is.elta.co.il In-reply-to: (message from Eli Zaretskii on Tue, 12 Feb 2002 10:44:22 +0200 (IST)) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1046 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1046 > From: Eli Zaretskii > On Mon, 11 Feb 2002, Al Petrofsky wrote: > > > Below are some changes that make the C-x @ commands work with function > > keys. > > Sorry, I don't understand: this seems to work already. For example, > "C-x @ c " invokes . What am i missing? You must be running on a window system, where pressing right generates a single event. On a tty, pressing right generates something like ESC O C. In 21.1, the C-x @ sequences modify just the single event that follows (i.e. ESC), rather than modifying the translated event that would follow after function-key-map processing. > (Btw, I always wondered how can this be useful for the Ctrl modifier, > since "C-x" requires Ctrl at least with `x'. Is there an assumption > that the user can arrange for some key to generate "C-x", but cannot > use Ctrl otherwise?) Yes. An uncustomized tty will generate C-x when you type C-x, but will not generate C-right when you type C-right. Termcap/terminfo don't even provide a way to state what the byte sequence for C-right would be. With the changes I proposed, the user can at least make a private arrangement between his tty and emacs. -al _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel