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: Re: headings for texinfo-mode using outline-minor-mode Date: Thu, 13 May 2021 11:39:42 +0200 Message-ID: References: <87bl9fc89n.fsf@robertthorpeconsulting.com> 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="5466"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca To: Robert Thorpe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 11:41:00 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 1lh7py-0001B5-U1 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 11:40:58 +0200 Original-Received: from localhost ([::1]:42824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh7px-00030t-RT for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 05:40:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh7ot-0002zb-S9 for help-gnu-emacs@gnu.org; Thu, 13 May 2021 05:39:51 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59589) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh7or-00053s-Hg for help-gnu-emacs@gnu.org; Thu, 13 May 2021 05:39:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620898782; bh=wCYHDE4yjwAcz6iXVzFVc4k+GE3PmdyEWdAn005LZyQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=kFLKyPqanOLopkM70/DyDTUfb8dH/s3VRt2O1XiWr4VKesakeua21jCInRRq/uxqE +HIodq26LEUl49gdFXxxUBH3AvzRtU0FLdEM6np9dUTk1Dx+Uq0aNw+Snn6NG/cv5W CXGdlyIVgIcq6WVb/RVAYQoVo9VPxTrv9bT0X3b8= 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); Thu, 13 May 2021 11:39:42 +0200 Importance: normal Sensitivity: Normal In-Reply-To: <87bl9fc89n.fsf@robertthorpeconsulting.com> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:7XJrkZr+yT1FON9cr4cjr6VMjGFhAeUoKpz68+AEtmdhFkXPp5jv24qzuQlIx/sCK9DHN 0+zhzmXsmrKx/eeAxv0CRuXww+1RIik4bFkCcCSY5cKqiXooBHfJCPTl8TpvGoWRre65XSNnvMg2 OXwICkSMZJ34dkNuyrLn27OMbAdlhN2rpQXIMlnq7w4J9WJkuqoowRFc/MAAUePVPpQZ8mIDiqMD q8krtKB0LSVU6tGKqaVRvVh87eGu/LuDuOFoFOY0Rbtk5AH3YGoqaSNqRpaIFNYjpbdBGdQYrQ2k rA= X-UI-Out-Filterresults: notjunk:1;V03:K0:WCfj8kQIL8E=:EshZDsABCWThlS2Gvrj/+W BfXhvTCyrjqU8FYjIgf5bAxcXzY+G3aGgHmPLQoGrnM9zqjNhXSGyFbcHswnL1SAVHczWJ3eH hxbcHjIvxL4pyBfHzw71q6UxiqyluAnIpJ3cdqW57nuszAGAZkVOsg0ryicFNaAYafMCv5p8+ RTy5UxdibB7MFUtiZ7Wm5jEqqQfnGvgK2+ctcyTOjCeoIpp6G/l5DNBhtnnr5i/efh1kuUu8U BILuwbo1fuO3hqJNBytlaU+KyVJVd5d/U3n+B0GgaTuI0fAb/dScUhaohyQJnnPLI/HshIaIP Ye1dY8uUTJ16D2lYTLSJRXwnxJqj15+YDGWH7IhzlefE7aaMWsn0QcrKSDVBY80A/l+89YvUZ l0NQ/W0PJSmju3In4L1zSMMK4o8fym1EKkyOdnVO+rLY/xtv3b9ZCvUfrRtpPx5e4936b2J03 t7qVkpdn03ajDcqou71R5eFT8jXFwEw60Vbr/RnpkL8WQrCkhyZczQ0atR/4UppWHMuT+9LB/ Tw/UZZo+UOn2hIyb0rAOLwIDPV/i+x8j2dkripuldbI7+hGKcBTelhrfUNscRlSC34Z/Bhdrr iK6p6XeYocTWxKkyhDg8SRabSosvH/H2AfV1lxNnWBpE9oBL8k+MmEoujKCKortBIFLwaLNVN MOoQjMtGPHhDyB3U9WQAPTpRwOBvA4GwJTQ5MGODtgqlcnY7kVCgmzTwjK+UqSx1xBGSwoAwE V8ssz9eHBrgW0SatwQMsoBvE7erkfxPUA7r/QgJbNGl56sSt5eQ2JZcXGyWqcxpnQ5ulhNKJ Received-SPF: pass client-ip=212.227.15.19; 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:129743 Archived-At: > Sent: Thursday, May 13, 2021 at 9:06 PM > From: "Robert Thorpe" > To: "Christopher Dimech" > Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca > Subject: Re: headings for texinfo-mode using outline-minor-mode > > Christopher Dimech writes: > > >> Sent: Thursday, May 13, 2021 at 4:28 PM > >> From: "Stefan Monnier via Users list for the GNU Emacs text editor" <= help-gnu-emacs@gnu.org> > >> To: help-gnu-emacs@gnu.org > >> Subject: Re: headings for texinfo-mode using outline-minor-mode > >> > >> > Being able to have different comment definition for headings would = be very valuable. > >> > I also like the idea that headings become different than code. Thi= s is because, you > >> > could collapse code independently of headers. Currently code struc= tures are being > >> > used as headers, a strategy which is faulty from my point of view. > >> > >> Then you don't want `outline-minor-mode`. You might like `allout-mod= e`. > > > > I am saying to clean up outline-minor-mode and write clear instruction= s on how > > to set up user defined outline-heading-alist. This is because outlin= e-minor-mode > > has much greater use for code. > > I disagree. > > Outline-mode and outline-minor-mode are simple. They're made to do > simple and predictable things. That's the point of them. Would you know how to set up outline-heading-alist for user defined list for texinfo with post a sample code. Have not been successful yet. > We have Org-mode because people want something more than what > outline-mode provides by itself. We also have things like outshine-mode > and allout-mode because people want more than what outline-mode does by > itself. But not everybody wants more that's why outline-mode and > outline-minor-mode still exist! > > It seems that you are trying to make outline-mode into outshine-mode. > There's no need to do that, we already have outshine-mode. Not currently. Currently I am trying to set outline-heading-alist and per= haps improve it a bit. In the texinfo.el code there are some remarks on improv= ements. In addition, there are not many placed where outline-heading-alist is defi= ned. > If you're not doing that, then I don't understand what you are doing. > That's not surprising since so many of your emails are so vague. You > have to learn to express yourself more clearly as Yuri Khan said. That would help, yes. > Also, to write a new mode you have to learn elisp in more depth. This > project you're doing is a vehicle for doing that certainly. But > remember that the existing modes I've mentioned were probably written by > people who already knew elisp. I have done a few minor modes, but I can only do limited things at this po= int. Am trying to learn by actually writing some code, but realise my limited s= et I tools I am comfortable with. > BR, > Robert Thorpe > >