unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* `let-values' in scheme.el
@ 2008-02-21 23:55 Peter Danenberg
  2008-02-22 11:10 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Danenberg @ 2008-02-21 23:55 UTC (permalink / raw)
  To: emacs-devel

`let-values' and `let*-values' (see SRFI 11) are control structures
similar to `let', `let*' and the like; and come up often enough that
they deserve to be treated similarly.


diff -Naur emacs-orig/lisp/progmodes/scheme.el emacs/lisp/progmodes/scheme.el
--- emacs-orig/lisp/progmodes/scheme.el	2008-02-21 15:30:14.000000000 -0800
+++ emacs/lisp/progmodes/scheme.el	2008-02-21 15:50:31.000000000 -0800
@@ -334,6 +334,7 @@
 	       "call-with-input-file" "call-with-output-file" "case" "cond"
 	       "do" "else" "for-each" "if" "lambda"
 	       "let" "let*" "let-syntax" "letrec" "letrec-syntax"
+               "let-values" "let*-values"
 	       ;; Hannes Haug <hannes.haug@student.uni-tuebingen.de> wants:
 	       "and" "or" "delay" "force"
 	       ;; Stefan Monnier <stefan.monnier@epfl.ch> says don't bother:
@@ -541,6 +542,8 @@
 (put 'let 'scheme-indent-function 'scheme-let-indent)
 (put 'let* 'scheme-indent-function 1)
 (put 'letrec 'scheme-indent-function 1)
+(put 'let-values 'scheme-indent-function 1) ; SRFI 11
+(put 'let*-values 'scheme-indent-function 1) ; SRFI 11
 (put 'sequence 'scheme-indent-function 0) ; SICP, not r4rs
 (put 'let-syntax 'scheme-indent-function 1)
 (put 'letrec-syntax 'scheme-indent-function 1)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: `let-values' in scheme.el
  2008-02-21 23:55 `let-values' in scheme.el Peter Danenberg
@ 2008-02-22 11:10 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2008-02-22 11:10 UTC (permalink / raw)
  To: Peter Danenberg; +Cc: emacs-devel

() Peter Danenberg <pcd@wikitex.org>
() Thu, 21 Feb 2008 17:55:10 -0600

   `let-values' and `let*-values' (see SRFI 11) are control structures
   similar to `let', `let*' and the like; and come up often enough that
   they deserve to be treated similarly.

Thanks, installed.

thi




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-22 11:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-21 23:55 `let-values' in scheme.el Peter Danenberg
2008-02-22 11:10 ` Thien-Thi Nguyen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).