From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: michael-franzese@gmx.com Newsgroups: gmane.emacs.help Subject: Re: Changing outline-minor-mode keybindings for texinfo files Date: Fri, 14 May 2021 12:04:27 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31780"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 12:06:15 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lhUhv-0007zE-J1 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 12:06:11 +0200 Original-Received: from localhost ([::1]:33608 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhUhu-00082p-Lf for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 06:06:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhUgo-00082d-EA for help-gnu-emacs@gnu.org; Fri, 14 May 2021 06:05:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:39001) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhUgm-0004g7-A0 for help-gnu-emacs@gnu.org; Fri, 14 May 2021 06:05:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620986667; bh=ZLPi6/LC9tBoPuj57fSnX5/VHF1SDNHQPZdsO+W52Rg=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=V0ncaSCAdOCfyGzaXSnYOy8XGQsXWT1S9bhUKxawNyMCfRy2AK4WBvaFMuFQ6UmY2 txr2jixVG7XTgzBZE8ggdqZsLgRxP5cFg5AYGVcnLz7sK5QyIvso8uwdcMRtZnnbzS cNfIjJDyk2Fx7b+MVJHwAiR2pyPnET3oNFF/SMyk= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs04.server.lan [172.19.170.170]) (via HTTP); Fri, 14 May 2021 12:04:27 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:01QQLlXyEyj0IFBh12BWGIFMTMb9ifRQRiz2dHRHOOboYzXHsLZxM/BqfsOUrurTAq28t 3u2JgCYA1JFfoGb9R5viTy1u+9wZWA1gL3v0f16OxmuuHm8HGvh4jhbl9qfA+UZfOInqu+Tj5+2s dChiAT506S9Saast3FEKw+nzbRMD4xz5vTC0mqgsBpFs3jYrTdJlcqJPgaGdbrcmQy6Cib1SxDfQ rMz5sr5MyGKbu/Cl1in6nxJ28I7PEWdzexT1p57FCQYtoqqs6kdQNfPaFn2a7B4QkMA3k+1gTZYS 4M= X-UI-Out-Filterresults: notjunk:1;V03:K0:y7gZd1XA6LA=:qSFWN1CTOxdwN455sqmjMX HoJKSogKgI9f0BpMBCid3t2RWvrXH724/utZLwN8p07vOUj9s6ElYJimhH7xjQK35BFYXuJES SJDGBNOsD82T1wH3dK2m+lDV8pTM0ShZ/G3k4Aid4oXftLDHbK05izpvxUvlUSjWdYQ4ybpYu RILpVBPZTyQqrHFQIOK5MCpwwyHMlCnnOFUR/q+oxbYRiH+PTRb90X6z0gp/qJ6dIM1WwlWJ2 aE/n+Z1xjM6xhRysh4j34QDNUGswNQ2o+S2l6dCXBn8axs+5o2G5KHucs6QcY7qHVUjU95Dh4 KYj6AG0VXjd1SRHtgmpi1dIIVz47/7WQa6lbf19R+wBi5uzIiiooOIfJKpXur8kEQCMsfq5ND KrosHKCzgnI1QzGUlG0qA5G58QQvojoER09vwJ0+PkTWA33FM5VXvypVJbJYaWyWrK1k+kS3r DOAiM8910Rmy/FF6y5sf1GJ+7zwEMJAyp1sySXbyduFm3unRfPuOgUR0GuqaIF7lUbjBd3keq Aj4CjAhbdQGMYKlFNCtkhOOX9r9lL4TDEIH3W+/fyp8jTXBU2pudlYXj8QJs5W5+u38JuWqXx ++Ih5Gzw3wsIgHSw9IEXO4jUA1aoaFlyP4HcOsaLNbNGzexW0cpagQWEBojWvMYQq+JW/hprR 6EHVgGAnwabku9TlEX2tItj2jrBkmUodUpOCSJU+g0qsjDJzY28Bpok2540Aj3UgQodHwSlGz gxyiQOOkxNSIaY8vd0zlRMeBBU8md/rF9pOSFXEHLLAUN7u0Q8FIc6EiWOHde/Flt2CBc2f2 Received-SPF: pass client-ip=212.227.15.18; envelope-from=michael-franzese@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129764 Archived-At: > Sent: Friday, May 14, 2021 at 9:51 PM > From: "Jean Louis" > To: michael-franzese@gmx.com > Cc: "Help Gnu Emacs" > Subject: Re: Changing outline-minor-mode keybindings for texinfo files > > * michael-franzese@gmx.com [2021-05-14 10:29]= : > > Have coded things this way. Then I load a texi file and press "H-q", > > but I get "H-q is undefined". > > > > (defun vmove-keytrigger () > > "Visualises outline and moves texinfo code." > > > > (let ( (map texinfo-mode-map) ) > > (define-key map (kbd "H-q") #'outline-hide-sublevels) > > (define-key map (kbd "H-b") #'outline-hide-body) > > (define-key map (kbd "H-") #'outline-move-subtree-up) > > (define-key map (kbd "H-") #'outline-move-subtree-down) > > )) > > You define function but I without giving result out. You copy > texinfo-mode-map to map, and change the map, but after that all > changes are lost in such function that yields with nothing. Would I need add-hook of some kind? > -- > Jean > > Take action in Free Software Foundation campaigns: > https://www.fsf.org/campaigns > > Sign an open letter in support of Richard M. Stallman > https://stallmansupport.org/ > https://rms-support-letter.github.io/ > >