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: Jean Louis
Subject: Re: outline-heading-alist for elisp using ";; * "
Date: Thu, 13 May 2021 13:03:25 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* 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.

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]