From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: outline-minor-mode and org-mode capabilities for programming languages Date: Sun, 9 May 2021 14:35:41 +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="20662"; 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 Sun May 09 14:37:33 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 1lfigf-0005G9-44 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 14:37:33 +0200 Original-Received: from localhost ([::1]:51268 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfigd-0004DZ-C6 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 09 May 2021 08:37:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49128) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfifV-0004D6-5M for help-gnu-emacs@gnu.org; Sun, 09 May 2021 08:36:21 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:50999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfifP-0000ZZ-Or for help-gnu-emacs@gnu.org; Sun, 09 May 2021 08:36:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620563741; bh=1xjaE22x+uL4eoQ65GFLHFlLYUI5ueTmvLublP6jwws=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=W878qUyqEBg9+PtKg8xiaEZqTnjUksA0Oy0s1e9jzyO8glNHK1cIzui7KnNEX0Gwz sTdmnTLSz9hQLDxmhE/HGz6GauCsgvVsHz7yIfqgDMHpY4RYLLsxiA/QvJRtbLNg+D MjD2fo7PrbKRV0FVUoWnaRswGH5fKcXT2zeNLEos= 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); Sun, 9 May 2021 14:35:41 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:nUZCKe4mbC4EcMYGLXu/5pXAyFYvFPjCIM7oCGeSCEIZq9eATxch+/IjnP5r4J/kT0wWh I2jITrKSxVPWO4E5WukstanCfus0t2pFwP/TAY4I9y/mF9ZtEACUAlerfmAnu6QBUWSp3xbbDOpW Z7rFi8BmNBGV7RoQKRJHMv2oEaTBp1sbfId1kY75r4hqDbb4SD0b5Wl3EoYU+wMCkJ8XTgjzpoB2 WRj8kDIJu1ZOK2qQXq6pO+OUsOxA09YAV5ThEVlHLWuERAAuhwFann0HaUYmROqisVauHDXPfiuq IY= X-UI-Out-Filterresults: notjunk:1;V03:K0:U3ekVcNdAco=:7UNcqZiSJOQh6MfGoNlLsE pNtkKeJm1coM2LL+hcZQ92nVT8dsPGrfGnQWP9hONY0IGxx6LdCJBTv6X1KuhPVvhL6D+SOBD ykIyy/RdySJuAXOTqCrQHh+84rXF40EpLIaEFQ671hphGP4LvbM7ZeYmyd5HCCm+nSJGvJIdR EoXu6AYsnd1sI+rebBMXzXr27D2hWPhLmBAoDCDcXFVtaDdzZnMrfztShyqEGY8gGhdz+kwHE g0DBgSfDKcTts5UvCLjwZT1xIZOzw2E5U4t+n1yD8TViyEUododuR5I6+8P5vT/OgS7/f0yxo Z2DCa3ChBPdJp5fdr0FRD8UMHaienf25JpOKQz6/cnGcf6OH4E8XjcwS8Wl4P3/rwmxmCEG4C 6XjotIjJbu9SMsi4lqwa4R2Y1OtM0dzskS1f3vAeZlLarJyLPHBmnNFzYATJLFFl4ZlSmHZJw FbFvTT+K5fGnO1Gv29HsvijTASg4vNt/8pZ1PBNyD3T6Ujoo+K6wUMNzkxfLBZcNnZY2n04X1 RRSZxX/IWD0e//x69fQ1yivs3vFFZ4E2wUCO67tEf43Se8ud8uX46q3+zg2aQuPfWP6LK6Dhe 2nmCcEW4ldE7F3S6/X47qWfp2cVD25O9Cwe4i18Usvp+fjeQdE9PCLbA0TSyXHyQSbJEVghXj hREtdyP5Muvege+rToDnhM8LbcFjBy8oeEMwN6K3uFcsBYja7TbCOEDiodpuHXZeXw14TKllQ tkSX1uVczGwWj0DSz8CG86jlIfhTuWoyuav5YeEMOPWMEENRiukhz7aBEW8BTrx0Ml5yHNgv Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@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:129613 Archived-At: There are some difficulties using outline-minor-mode and can do with some i= mprovements=2E As you declared, the key bindings are problematic=2E Going through "https://www=2Eemacswiki=2Eorg/emacs/OutlineMode", the adva= ntages of cycling is discussed, referring to OrgMode and its many features=2E The text also refers to outline-magic by Carsten Dominik that provides the= command "outline-cycle"=2E Would there be any interest in outline-minor-mode in remodeling for cyclin= g using=20 and moving around with M-up, M-, M-right, M-left, with same ef= fect as OrgMode=2E These types of functionalities (org mode for programming languages) will m= ake it much easier to navigate and modify the code quite rapidly=2E =20 > Sent: Sunday, May 09, 2021 at 9:11 PM > From: "Jean Louis" > To: "Christopher Dimech" > Cc: "Help Gnu Emacs" > Subject: Re: outline-minor-mode and org-mode capabilities for programmin= g languages > > * Christopher Dimech [2021-05-09 11:54]: > > Dear Compeers, > >=20 > > I have same elisp code and using outline-minor-mode=2E The good thing= about it is that > > the language highlighting is preserved=2E But navigating and moving t= he code around is > > much more difficult than actually being in org-mode (I can use tab ate= move code with > > "M-", M-)=2E The downside is that org-mode removes the high= lighting for the > > language=2E Is there any way out of this=2E Having flexibility of or= g-mode with language > > highlighting preserved? >=20 > That is great for programming=2E I had difficulties with the key binding > like @ if I remember well, so I have changed the prefix to what is > closer to C-c, so I have changed it to C-c C-d >=20 > outline-minor-mode-prefix is a variable defined in =E2=80=98outline=2Eel= =E2=80=99=2E >=20 > Its value is "=03=04" > Original value was "=03@" >=20 > You can customize this variable=2E > Probably introduced at or before Emacs version 19=2E20=2E >=20 > Then instead of C-c Shift-@ C-n I Just do C-c C-d C-n=20 >=20 > Outline-minor-mode is not related to Org mode >=20 > --=20 > Jean >=20 > Take action in Free Software Foundation campaigns: > https://www=2Efsf=2Eorg/campaigns >=20 > Sign an open letter in support of Richard M=2E Stallman > https://stallmansupport=2Eorg/ > https://rms-support-letter=2Egithub=2Eio/ >=20 >=20 >