From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: headings for texinfo-mode using outline-minor-mode Date: Thu, 13 May 2021 10:06:44 +0100 Message-ID: <87bl9fc89n.fsf@robertthorpeconsulting.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5499"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca To: Christopher Dimech Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 11:08:06 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 1lh7KA-0001KN-Nt for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 11:08:06 +0200 Original-Received: from localhost ([::1]:60804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh7K9-0002yL-Fj for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 05:08:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42696) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh7Jc-0002wz-Ti for help-gnu-emacs@gnu.org; Thu, 13 May 2021 05:07:32 -0400 Original-Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:42745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh7Ja-0001Vq-4j for help-gnu-emacs@gnu.org; Thu, 13 May 2021 05:07:32 -0400 Original-Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id EE35E1C35CE for ; Thu, 13 May 2021 10:07:25 +0100 (IST) Original-Received: (qmail 22968 invoked from network); 13 May 2021 09:07:25 -0000 Original-Received: from unknown (HELO rt-inspiron-3480) (rt@robertthorpeconsulting.com@[51.37.90.145]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 13 May 2021 09:07:25 -0000 In-Reply-To: (message from Christopher Dimech on Thu, 13 May 2021 06:46:48 +0200) Received-SPF: pass client-ip=46.22.139.12; envelope-from=rt@robertthorpeconsulting.com; helo=outbound-smtp07.blacknight.com 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, RCVD_IN_DNSWL_LOW=-0.7, 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:129742 Archived-At: Christopher Dimech writes: >> Sent: Thursday, May 13, 2021 at 4:28 PM >> From: "Stefan Monnier via Users list for the GNU Emacs text editor" >> 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. This is because, you >> > could collapse code independently of headers. Currently code structures 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-mode`. > > I am saying to clean up outline-minor-mode and write clear instructions on how > to set up user defined outline-heading-alist. This is because outline-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. 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. 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. 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. BR, Robert Thorpe