From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6222: Shouldn't f1 in isearch-mode be help? Date: Thu, 20 May 2010 02:47:32 +0200 Message-ID: References: <87sk5n77bf.fsf@mail.jurta.org> <877hmz5rn6.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274317030 7725 80.91.229.12 (20 May 2010 00:57:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 20 May 2010 00:57:10 +0000 (UTC) Cc: 6222@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 20 02:57:09 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OEu4S-00019a-Vr for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 May 2010 02:57:09 +0200 Original-Received: from localhost ([127.0.0.1]:50018 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEu4S-0000U2-99 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 May 2010 20:57:08 -0400 Original-Received: from [140.186.70.92] (port=60166 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEu4K-0000T7-BE for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 20:57:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEu4I-00047W-2C for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 20:57:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53937) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEu4I-00047P-0P for bug-gnu-emacs@gnu.org; Wed, 19 May 2010 20:56:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OEtve-0007sI-SO; Wed, 19 May 2010 20:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 May 2010 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6222 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6222-submit@debbugs.gnu.org id=B6222.127431647930254 (code B ref 6222); Thu, 20 May 2010 00:48:02 +0000 Original-Received: (at 6222) by debbugs.gnu.org; 20 May 2010 00:47:59 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEtva-0007rt-2F for submit@debbugs.gnu.org; Wed, 19 May 2010 20:47:58 -0400 Original-Received: from mail-gx0-f223.google.com ([209.85.217.223]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEtvY-0007rn-3R for 6222@debbugs.gnu.org; Wed, 19 May 2010 20:47:56 -0400 Original-Received: by gxk23 with SMTP id 23so4760038gxk.15 for <6222@debbugs.gnu.org>; Wed, 19 May 2010 17:47:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=k/pETuq8xBBH4sUqyrhqR04NWhaBYAmrKlZsJeKiUgk=; b=uDIcUNJarmd65rFZBpv2XhDuITUy9HfQJMCCbSEDxpjpudqV3lbCBHvzdqJHe9/Ysk 65wyLnVudW3HlTwOPkajwYOBq6/Zej/m4qfT5e1UCHyJmkSIIdNud9PGddjaKuqoH4tt 2eRB+aqwgSAnIoXgj62UoYqoTC5Dcn+ulChKM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=vOqh6xZTvWdarTGPmPheNDhQIKUYfVtslbBGGTeUlCA3RldwFwlfS4BFAY7xm5rWkw Dvn4E7IOo2LId1liGow1QAVgMn4s6w1ZyAvHt0xNR+olkyqfXxtkBr+EHUrvy2tLusp5 5WZbUVtssbz01KURp6ailo2FfKPKA5HhVcQPE= Original-Received: by 10.101.191.31 with SMTP id t31mr11458041anp.233.1274316472134; Wed, 19 May 2010 17:47:52 -0700 (PDT) Original-Received: by 10.100.225.13 with HTTP; Wed, 19 May 2010 17:47:32 -0700 (PDT) In-Reply-To: <877hmz5rn6.fsf@mail.jurta.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 19 May 2010 20:48:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:37066 Archived-At: On Thu, May 20, 2010 at 2:38 AM, Juri Linkov wrote: >>> =C2=A0 =C2=A0(define-key global-map (char-to-string help-char) 'help-co= mmand) >>> =C2=A0 =C2=A0(define-key global-map [help] 'help-command) >>> =C2=A0 =C2=A0(define-key global-map [f1] 'help-command) >> >> Thanks, I see. But shouldn't isearch do the same then? > > I agree that it should: Fine, thanks. >> What about having a function in help.el for defining a binding for all >> three possibilities? Something like >> >> =C2=A0 (defun help-define-help-keys (map command) >> =C2=A0 =C2=A0 (define-key map (char-to-string help-char) command) >> =C2=A0 =C2=A0 (define-key map [help] command) >> =C2=A0 =C2=A0 (define-key map [f1] command)) > > I'd rather remap all them to one key. I don't understand, but that is just because I do not know the details of remap I guess. Otherwise it sounds reasonable.