GNU bug report logs -
#75126
[PATCH] Add scheme-mode indentation rules for SRFI 227 and 253
Previous Next
Reported by: Antero Mejr <mail <at> antr.me>
Date: Thu, 26 Dec 2024 21:15:01 UTC
Severity: normal
Tags: patch
Fixed in version 31.1
Done: Stefan Kangas <stefankangas <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75126 in the body.
You can then email your comments to 75126 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#75126
; Package
emacs
.
(Thu, 26 Dec 2024 21:15:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Antero Mejr <mail <at> antr.me>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 26 Dec 2024 21:15:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Tags: patch
Both SRFIs are finalized and introduce identifiers that need specific
indentation rules.
[0001-Add-scheme-mode-indentation-rules-for-SRFI-227-and-2.patch (text/patch, attachment)]
Reply sent
to
Stefan Kangas <stefankangas <at> gmail.com>
:
You have taken responsibility.
(Thu, 26 Dec 2024 21:45:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Antero Mejr <mail <at> antr.me>
:
bug acknowledged by developer.
(Thu, 26 Dec 2024 21:45:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 75126-done <at> debbugs.gnu.org (full text, mbox):
Version: 31.1
Antero Mejr <mail <at> antr.me> writes:
> Tags: patch
>
> Both SRFIs are finalized and introduce identifiers that need specific
> indentation rules.
Thanks for the patch. Installed on master as commit 099e439ea99.
I'm therefore closing this bug report.
> From 183781e6b9813404f457759018f1178205bbe621 Mon Sep 17 00:00:00 2001
> From: Antero Mejr <mail <at> antr.me>
> Date: Thu, 26 Dec 2024 15:58:24 -0500
> Subject: [PATCH] Add scheme-mode indentation rules for SRFI 227 and 253
>
> * lisp/progmodes/scheme.el: Add properties for SRFI 227 and SRFI 253
> identifiers.
> ---
> lisp/progmodes/scheme.el | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
> index a0f922f279c..db3e0161f79 100644
> --- a/lisp/progmodes/scheme.el
> +++ b/lisp/progmodes/scheme.el
> @@ -693,6 +693,19 @@ indentation."
> (put 'match-let* 'scheme-indent-function 1)
> (put 'match-letrec 'scheme-indent-function 1)
>
> +;; SRFI-227
> +(put 'opt-lambda 'scheme-indent-function 1)
> +(put 'opt*-lambda 'scheme-indent-function 1)
> +(put 'let-optionals 'scheme-indent-function 2)
> +(put 'let-optionals* 'scheme-indent-function 2)
> +;; define-optionals and define-optionals* already work
> +
> +;; SRFI-253
> +(put 'check-case 'scheme-indent-function 1)
> +(put 'lambda-checked 'scheme-indent-function 1)
> +(put 'case-lambda-checked 'scheme-doc-string-elt 1)
> +;; define-checked and define-record-type-checked already work
> +
> ;;;; MIT Scheme specific indentation.
>
> (if scheme-mit-dialect
> --
> 2.46.0
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 24 Jan 2025 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 142 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.