emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#55033: closed ([PATCH] Define indentation behavior for a few more sp


From: GNU bug Tracking System
Subject: bug#55033: closed ([PATCH] Define indentation behavior for a few more special Scheme forms)
Date: Wed, 20 Apr 2022 16:40:02 +0000

Your message dated Wed, 20 Apr 2022 19:38:47 +0300
with message-id <83sfq7soa0.fsf@gnu.org>
and subject line Re: bug#55033: [PATCH] Define indentation behavior for a few 
more special Scheme forms
has caused the debbugs.gnu.org bug report #55033,
regarding [PATCH] Define indentation behavior for a few more special Scheme 
forms
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
55033: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=55033
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] Define indentation behavior for a few more special Scheme forms Date: Wed, 20 Apr 2022 09:20:45 +0200 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0
Hi,

The attached patch defines special indentation for a few more special Scheme
forms: and-let*, with-syntax, eval-when, and the pattern matching family
(match, match-lambda, match-let, etc.).

I didn't do copyright assignment, assuming that the patch is trivial enough,
but let me know if this would be desirable.

Best regards,
Jean

Attachment: 0001-Define-indentation-behavior-for-a-few-more-special-S.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#55033: [PATCH] Define indentation behavior for a few more special Scheme forms Date: Wed, 20 Apr 2022 19:38:47 +0300
> Date: Wed, 20 Apr 2022 11:31:01 +0200
> Cc: 55033@debbugs.gnu.org
> From: Jean Abou Samra <jean@abou-samra.fr>
> 
> > Thanks, but could you perhaps explain the rationale for each change,
> > so that they could be independently verified?  I find the comment
> > above this part of code, viz.:
> >
> >    ;; (put 'begin 'scheme-indent-function 0), say, causes begin to be 
> > indented
> >    ;; like defun if the first form is placed on the next line, otherwise
> >    ;; it is indented like any other form (i.e. forms line up under first).
> >
> > too obfuscated to understand the numbers used as the values of this
> > property; in particular, the interpretation of the numerical value
> > (zero in the above example) doesn't seem to be explained, at least not
> > explicitly enough for me to understand it.  I'd love to have that
> > explained better if possible.
> 
> 
> 
> Yeah, I didn't take my understanding from code comments, but from
> 
> http://community.schemewiki.org/?emacs-indentation
> 
> I could easily improve the comments.

Thanks, I used this to expand the commentary there, and installed as a
followup after your changes.

And with that, I'm closing this bug report.


--- End Message ---

reply via email to

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