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 09:28:34 +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="14091"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: michael-franzese@gmx.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 14 09:29:02 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 1lhSFq-0003WR-S8 for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 09:29:02 +0200 Original-Received: from localhost ([::1]:52296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhSFp-0006KS-Uf for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 14 May 2021 03:29:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49184) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhSFS-0006KE-RN for help-gnu-emacs@gnu.org; Fri, 14 May 2021 03:28:38 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:34643) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhSFQ-0005Fj-Nl for help-gnu-emacs@gnu.org; Fri, 14 May 2021 03:28:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620977314; bh=QWJDil6Dc4lkBi7kYMkUvY/80Vu8Sb88ZLPAobYrfu8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=QG5DEB/V+aM4J5jC6UnhZQNgDWq48h7H3vXo1hvuKXNKcgqv6oAgU8JBvdDdpgk8J pJirl9Vr5DTHSSx18ERdgRNq9+GOhT+HKZr0uIy1F7SoVo0+/UFANuz4a2+iBMhYAt fjZOesp+cNyH/ZVSsazNcE6x3+i5G2Oa5QzSY1Dc= 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-bs03.server.lan [172.19.170.169]) (via HTTP); Fri, 14 May 2021 09:28:34 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:6DQrdEl0Kx7xOvdpNPDtak9Em7+egp5j+cE8Rwjyjt+fAc7xkGpghSrkv2EHbI1II+qz5 PW4/bqwsS+rBziiaVUh84QRh2C/eVGwLMx61vkuwnp99J40bOliDzpjjXPBRWqdi18PPrJkL5UZa CkSRhZNvFmasvohBemLZln46VaOOYYNH1SzILPwbWmd9r1ZI8DMCyD504bfr5bVENlNaityoXu9w dSiSnAhtZ5ap+wqozVvPffQ5Fl1YEPida1D+klp3kuzEMpz9+tVfUoiKA+Nf7sUIlM0EsNyYfUoY TI= X-UI-Out-Filterresults: notjunk:1;V03:K0:k+UOdG8nb8w=:2l/5DDnHLGI9csXv+fuWvp nAQf6wvQusOhvJdupNnVr0Bd8csPSfJHnQy954xeu+TQnB5chUBW6JmUUhBrLFTfsqmIgIwm7 XV6bOU09Be1rSS7R2vJEcfQRu61tmvxrjNU3A2/xbFQa8Ra4ot8Ir84nwRRf7JiFARXkv7Iz1 VGcLoOxWu/Q58GqfvZtP7c0/I7AFwE/sbC9gX98ygtdtz1BEsphvFOqVkN3PoiUcgJePXluw8 BPAFtVLQeugLamSSKzDo47GlJs2fMncIt1KJ0ND4ASiQBGwMTCFaZPNsF4OD8MA3JjX+uxl/U u9tiwiDsLrHLYTD1Tb4P9RXorUCXYOQw0fzhGVurgaxrlekfMvuWjwrWZJnacRKsxFZgkhOEb FDZ6Kp2ic2CHa9X5PkZxXeAsZagUIGk9g8LMrFnoY68P1LD7dKBONFW+eQVeLiypgJd65FcML cpsBT/ZzSqH7eN0vIxQW3ZzTCtE/1oYXrvpbTLVE8289KJJ+uL53sgfwZlrpFoa058/zm8tzo E7INyfmsnXCi0b6k2FVD1bGasgmP96daxFjRqIjy5mCjFVyzyE4QA9Uetzs/6U7Iy2RCc9LRc TsWcC0qvWgva6m/t2aDMnu8Ctb2RdRzS2E2h2bfcAO5C81OGvUk5StlqZWW0OUnjWmVGjht8K vQEXdqqaqmP8mZ7x+rJigplVVt14qTkMYugxZb1tSezmLH0uS3020kuNTPvm6enZ+it5HqPdb 0aE4De1Y3MkkLGrMwwqZmt6hOHm6Fg56pbOA1ss9VJCqObdjrH3tacfC5sI5sIyeDUJS1Oh2 Received-SPF: pass client-ip=212.227.17.22; 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_H2=-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:129762 Archived-At: 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) )) (defun hide-keytrigger () "Hides various aspects of outline structure." (let ( (map texinfo-mode-map) ) (define-key map (kbd "H-c") #'outline-hide-entry) (define-key map (kbd "H-l") #'outline-hide-leaves) (define-key map (kbd "H-d") #'outline-hide-subtree) (define-key map (kbd "H-o") #'outline-hide-other) )) > Sent: Friday, May 14, 2021 at 5:47 PM > From: michael-franzese@gmx.com > To: "Help Gnu Emacs" > Subject: Changing outline-minor-mode keybindings for texinfo files > > Have been following the discussion about outline-minor-mode for texinfo. > > Would like to know how I can set up different keybindings for outline-hi= de-sublevels > outline-hide-body, outline-move-subtree-up, outline-move-subtree-down, w= hen I am > in texinfo-mode. > > Mic > >