help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: outline-heading-alist for elisp using ";; * "


From: Christopher Dimech
Subject: Re: outline-heading-alist for elisp using ";; * "
Date: Thu, 13 May 2021 12:22:53 +0200

> Sent: Thursday, May 13, 2021 at 10:03 PM
> From: "Jean Louis" <bugs@gnu.support>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org, monnier@iro.umontreal.ca
> Subject: Re: outline-heading-alist for elisp using ";; * "
>
> * Christopher Dimech <dimech@gmx.com> [2021-05-13 10:42]:
> > > Anything is folded that begins with ( in the first column. Not just
> > > `defun'.
> >
> > One of your criticisms has been that simply using "(" in the first column
> > generates problems whilst working.  Is that correct?
>
> It collides with TAB indentation. Remedy for those lines is SPC TAB.

Are you happy with "SPC TAB" or do you consider the solution as just a 
workaround?

What would you think about having "C-o" bringing the cursor point to the 
indentation
point appropriate for that section of code?

> I Step:
>
> (defun my-fun (a)
>   (let ((var 1)
>       (var 3)
>       (var 4))))
>
> II Step:
>
> (defun my-fun (a)
>   (let ((var 1)
>       <--- C-o brings it down to new line
> (var 3)
>       (var 4))))
>
> III Step:
>
> (defun my-fun (a)
>   (let ((var 1)
>       (var 2)
> (var 3)        <--- TAB in first column will not work to indent it back
>       (var 4))))
>
> IV Step:
>
> (defun my-fun (a)
>   (let ((var 1)
>       (var 2)
>  (var 3)        <--- insert SPC, THEN TAB
>       (var 4))))
>
> IV Step:
>
> (defun my-fun (a)
>   (let ((var 1)
>       (var 2)
>       (var 3)
>       (var 4))))
>
> --
> Jean
>
> Take action in Free Software Foundation campaigns:
> https://www.fsf.org/campaigns
>
> Sign an open letter in support of Richard M. Stallman
> https://stallmansupport.org/
> https://rms-support-letter.github.io/
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]