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: outline-heading-alist for elisp using ";; * " Date: Thu, 13 May 2021 05:33:23 +0200 Message-ID: References: <878s4m5mbj.fsf@posteo.net> 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="12312"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca To: Jean Louis Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 13 05:34:32 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 1lh27M-00033l-1t for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 13 May 2021 05:34:32 +0200 Original-Received: from localhost ([::1]:58076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lh27L-0002Pa-4a for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 12 May 2021 23:34:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36556) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh26r-0002PP-I0 for help-gnu-emacs@gnu.org; Wed, 12 May 2021 23:34:01 -0400 Original-Received: from mout.gmx.net ([212.227.15.18]:48769) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lh26p-0006K6-8h for help-gnu-emacs@gnu.org; Wed, 12 May 2021 23:34:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1620876803; bh=UAfjXhve8G7f2eIDQByxQ+NDM/gAuYbmO4peXpet6Ck=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Mus3hCHiELFhkewEetwkrJERrJ9O03oYI9j+CgZJEkdypb5iJBZFyrWvzk6k/eK4e vPIAdXWTvDUzlA/hyfIbvWiLEBBs1ixdog7fAKs/peI9l67udeHGraxeqjoRCWD6Fd nTvIHu++C1RDiMSraiwidoY5pDlgNXlF5kjtZaUI= 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-bs15.server.lan [172.19.170.183]) (via HTTP); Thu, 13 May 2021 05:33:23 +0200 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:iFqk1OTrTZrXgXB+Y/yhh2w9NCbQAVHVb9eu0VVJMcB5zOrQkXGhbgkaB9EIfKFwt90LD Q5+Wa3Jn9bqbOViVaHj8a0ZTeu64lGLIJI43nLQDyxAim/eNb4pzALMYhhmI7Yi+onIZNyxHZFd2 k5XptQbD8dc5jdez3l4yP8uIwlbawbzSLlvLwG679ftInv5Co/oyRyLTu62d/U1+08MBIk7dAIKC nwkR1fSvWSZi2g4pVlNqThcv3WMVC3wazcdwrAxDqK9ouW2Elf7kFkKmzlJ2Zd3cXPFGCze4EGv9 jE= X-UI-Out-Filterresults: notjunk:1;V03:K0:dHi8/290wG4=:TePnk3aeuA5UfIwJ8meQFx wnR07fkWC00yw03jj/DIkGMBVpOBGbGco1lsVGYKajDPKIs77zRLE5nJFF680hMdizfPLbDAy dw00+lMrcJPcBXGD6OaREoCm9TS8UPGfDAKYmvgW6IW8ioexqNbI5Btq62Rre0VVr2bxDNBg+ JIe4XUu5nUATdYgO4pLRxYH2wGNYeHRPbrrTgr9spnz/kdHeD6tuCe14SLnx/5oYNFxC6HGDO Q9gU6O3EKMJrSRbTTVi1PCqGgR97lq6+xayiNbE9q3W6f6/XOT68mqrHelNVaskzTW8m/HG8O HSLQrDVrtAJEYgnZHEGtIJqWEqDDd6iWk3h8hU8v0Md+qvdNKQgljQ9w9TRM0TzrnfkmPogpe aZHErsSP08QEs/7zAwz+wcdS/QTF4GdMEEh4ZWw7W4vvObfAY231IESYTpFe/ee4bUN34NJyQ VFPfuyFPCxAROZYqURGs/VLnrT/SyiULjp8trJ5+k5c57PUUWhERrYk+f/lAVRmIqGA+ka5qS ZcaropvUbjPPlLNjL/lns8luHQGTMmqXye0QXmY/TnLI76C6Nml2wL5Pf1SaKkXCD/A+r3tEL sYSd5geu+/wAGqk0hV/mAL5GE0rJJsC2f6dGWNwQ6S1TKtNGXDgSfAOX/xHMnCC0SECqLKPWs jhvFMAvQpBQJDVOhHzeocZzpCdxGRzCs3dvnEB/78AY1iiWyO9XQrXcKoDDOWmlSFIVF6hOZ9 +FYA0kstLrQp7329Dcw3Mz1FWKTCgMZddiedhRarsj7pyhMHtTB/lFPRchkvVgYdA/6zYBI2 Received-SPF: pass client-ip=212.227.15.18; 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:129734 Archived-At: > Sent: Wednesday, May 12, 2021 at 4:00 PM > From: "Jean Louis" > To: "Christopher Dimech" > Cc: monnier@iro=2Eumontreal=2Eca, help-gnu-emacs@gnu=2Eorg > Subject: Re: outline-heading-alist for elisp using ";; * " > > * Christopher Dimech [2021-05-12 04:46]: > > I fully understand now=2E outline-minor-more must be revamped=2E For= instance, it should > > actually look for "(defun ", rather than for the simplistic "(" on a > > new line=2E >=20 > If it would be just `defun' but it is not=2E >=20 > I think simplistic approach is good as anything could be there in > parenthesis in the first column=2E Lisp has multiple paradigms and lines > of a high level program could as well consist of functions which do no > call defun directly, as functions could be already defined=2E Correct , but we could start with a defun for folding, the others would no= t fold=2E It improves the current implementation nevertheless=2E From what I see, t= here will not be many working on it, and we can start improving it some more=2E I c= ould then=20 look at it again to see what I can do=2E There certainly exists the capability of user defined code blocks, somethi= ng I am currently trying to do, particularly since there are others that would fin= d it valuable to use=2E =20 > There is no possible simple definition for what you mean=2E People use > function aliases, I was recently handling `defil' alias from GNU > Hyperbole development version=2E There can be unlimited number of > aliases and macros that will written on the first column=2E >=20 > (defalias 'definiere 'defun) >=20 > (definiere meine-sache () > "Nichts f=C3=BCr Dich") >=20 > (meine-sache) =E2=87=92 "Nichts f=C3=BCr Dich" The plan would be for users to adapt the folding to their needs=2E Many d= on't usually use an unlimited number of aliases in the code they work on=2E =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 >