From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ryo Furue Newsgroups: gmane.emacs.bugs Subject: bug#4709: 23.1; keyboard-translate not working with emacs daemon Date: Wed, 14 Oct 2009 11:07:19 -1000 (HST) Message-ID: <20091014.110719.209373463.furue@hawaii.edu> References: <20091012.103742.231009806.furue@hawaii.edu> Reply-To: Ryo Furue , 4709@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1255566467 24473 80.91.229.12 (15 Oct 2009 00:27:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2009 00:27:47 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4709@emacsbugs.donarmstrong.com To: monnier@iro.umontreal.ca Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 15 02:27:37 2009 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 1MyEBr-0006YM-4X for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Oct 2009 02:27:35 +0200 Original-Received: from localhost ([127.0.0.1]:50687 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyEBq-0003mZ-ET for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Oct 2009 20:27:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyBNO-00031J-Tz for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:27:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyBNK-0002zn-VT for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:27:18 -0400 Original-Received: from [199.232.76.173] (port=45476 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyBNK-0002zU-HS for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:27:14 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34057) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MyBNJ-0004vW-PQ for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:27:14 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9ELRB4t006630; Wed, 14 Oct 2009 14:27:11 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n9ELF43N004596; Wed, 14 Oct 2009 14:15:04 -0700 Resent-Date: Wed, 14 Oct 2009 14:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Ryo Furue Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 14 Oct 2009 21:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4709 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12555544523697 (code B ref -1); Wed, 14 Oct 2009 21:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 14 Oct 2009 21:07:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n9EL7UiT003693 for ; Wed, 14 Oct 2009 14:07:31 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MyB4D-0008Ta-Lo for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MyB49-0008Rh-Ll for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:29 -0400 Original-Received: from [199.232.76.173] (port=37929 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MyB49-0008RV-Ds for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:25 -0400 Original-Received: from mta12.its.hawaii.edu ([128.171.224.148]:57867) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MyB48-00026g-Nq for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2009 17:07:25 -0400 Original-Received: from pmxchannel-daemon.mta12.its.hawaii.edu by mta12.its.hawaii.edu (Sun Java(tm) System Messaging Server 6.3-7.02 (built Jun 27 2008; 32bit)) id <0KRI00102W09N900@mta12.its.hawaii.edu>; Wed, 14 Oct 2009 11:07:21 -1000 (HST) Original-Received: from localhost (amakihi.soest.hawaii.edu [128.171.156.62]) by mta12.its.hawaii.edu (Sun Java(tm) System Messaging Server 6.3-7.02 (built Jun 27 2008; 32bit)) with ESMTPS id <0KRI00GLTW07TB10@mta12.its.hawaii.edu>; Wed, 14 Oct 2009 11:07:19 -1000 (HST) In-reply-to: X-Mailer: Mew version 6.2 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) X-PMX-Version: 5.5.7.378829, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2009.10.14.205117 X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 14 Oct 2009 17:27:18 -0400 X-Mailman-Approved-At: Wed, 14 Oct 2009 20:27:10 -0400 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:31944 Archived-At: Hi Stefan, Thank you very much for your response. | AFAIK, you cannot set it globally. | Then, could we make it a request for a new feature? We could even say that the keyboard-translate functionality is partially broken because it sometimes works and sometimes doesn't (Please recall my example). | You can arrange to set it in every | terminal (by putting (keyboard-translate ?\C-h ?\C-?) on some | hook whose name escapes me), tho. That sounds promising. | Still, I wonder: why would you want to set such a mapping | everywhere? | I'm not sure if I understand your question. . . . If you want a keyboard translation, you'd want it everywhere consistently, wouldn't you? In this particular case, I want C-h to delete the character before the cursor anywhere and everywhere (when deleting characters makes sense, that is. You don't want to delete characters on a webpage displayed by a webbrowser, for example). That's natural for a person like me who instinctively types C-h to delete. I used to use (global-set-key "\C-h" 'delete-backward-char) instead of keyboard-translate. But, as of emacs23, C-h invokes a help-like feature in the incremental search even with the setting above. So, I think keyboard-translate is the cleanest, once-and-for-all solution, if it works globally. Best regards, Ryo