From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Help mode keybindings Date: Sat, 25 May 2013 01:36:45 +0200 Message-ID: <87txlsympe.fsf@web.de> References: <87sj1dpft7.fsf@VLAN-3434.student.uu.se> <87ip28kux8.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369438634 19507 80.91.229.3 (24 May 2013 23:37:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 May 2013 23:37:14 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Emanuel Berg Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat May 25 01:37:13 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ug1Xt-0001h5-5S for geh-help-gnu-emacs@m.gmane.org; Sat, 25 May 2013 01:37:13 +0200 Original-Received: from localhost ([::1]:52487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ug1Xs-0000bp-OL for geh-help-gnu-emacs@m.gmane.org; Fri, 24 May 2013 19:37:12 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ug1Xe-0000bZ-Hd for help-gnu-emacs@gnu.org; Fri, 24 May 2013 19:37:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ug1XZ-0000PZ-LK for help-gnu-emacs@gnu.org; Fri, 24 May 2013 19:36:58 -0400 Original-Received: from mout.web.de ([212.227.15.3]:54865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ug1XZ-0000Oe-Be for help-gnu-emacs@gnu.org; Fri, 24 May 2013 19:36:53 -0400 Original-Received: from drachen.dragon ([89.204.154.30]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MKJAE-1UeNe83uoY-001pIi; Sat, 25 May 2013 01:36:51 +0200 Mail-Followup-To: Emanuel Berg , help-gnu-emacs@gnu.org In-Reply-To: <87ip28kux8.fsf@VLAN-3434.student.uu.se> (Emanuel Berg's message of "Fri, 24 May 2013 22:02:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Provags-ID: V02:K0:IK4feV2i4hQCSc4Z1Y+QlDtAlZa7ysogIml2/nb272n aJJnwSuPr3j21XnNrek6gDCqLQ5JybxreYkx9IpowZYZbEZt2E mvabdsy9PfLwIwU2d2T/45AVss1E4QgeB7TmYrhEwgmDHnhuop 9DEGr57fRSxqxJm/FuriyTVVTz7mNvXBneR4h8sySbf4BPVTkB dWjmjUgfSVOmlwe0gd+c/IKfqJpH0zcCmIG8au9Xjg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91040 Archived-At: Emanuel Berg writes: > (I got this by mail, and can't find it on the list. Anyway, I suppose > it was intended for the list as well.) Thanks for the hint - my mistake. > > Probably there is no trivial way to achieve what you want. You could > > use a minor mode yourself - or find a key that is not already used at > > multiple places. > > Hm, to write a minor mode to shadow the view-mode sounds like > overkill. It would have the advantage that you would not have to treat any mode that binds C-j individually. But it would have the disadvantage that you would have to ensure that your new minor mode has a higher priority than any other minor mode it should "shadow". > Wouldn't it be simpler to change the view minor mode? Or is > there something making that more difficult than I thought, as well? No, it's easy - just do (define-key view-mode-map [?\C-j] nil) > > Or make a binding in `key-translation-map'. > > How would I do that? Better don't - it's possible, but only the last solution one should think about. Let's try to do without. Michael.