emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r110789: Move note on lack of setf


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r110789: Move note on lack of setf functions from cl.texi to lispref
Date: Mon, 05 Nov 2012 21:03:34 -0500
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110789
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Mon 2012-11-05 21:03:34 -0500
message:
  Move note on lack of setf functions from cl.texi to lispref
  
  * doc/lispref/variables.texi (Adding Generalized Variables):
  Move note on lack of setf functions to here...
  
  * doc/misc/cl.texi (Obsolete Setf Customization): ... from here.
modified:
  doc/lispref/ChangeLog
  doc/lispref/variables.texi
  doc/misc/ChangeLog
  doc/misc/cl.texi
=== modified file 'doc/lispref/ChangeLog'
--- a/doc/lispref/ChangeLog     2012-11-06 01:42:17 +0000
+++ b/doc/lispref/ChangeLog     2012-11-06 02:03:34 +0000
@@ -3,6 +3,8 @@
        * variables.texi (Setting Generalized Variables):
        Split most of previous contents into this subsection.
        (Adding Generalized Variables): New subsection.
+       Move note on lack of setf functions here from misc/cl.texi.
+
        * elisp.texi: Add Generalized Variables subsections to detailed menu.
 
 2012-11-05  Chong Yidong  <address@hidden>

=== modified file 'doc/lispref/variables.texi'
--- a/doc/lispref/variables.texi        2012-11-06 01:42:17 +0000
+++ b/doc/lispref/variables.texi        2012-11-06 02:03:34 +0000
@@ -2119,3 +2119,14 @@
 This is the most general way to define a new @code{setf} expansion.
 @end defmac
 @end ignore
+
address@hidden CL note---no @code{setf} functions
+Common Lisp defines another way to specify the @code{setf} behavior of
+a function, namely address@hidden functions'', whose names are lists
address@hidden(setf @var{name})} rather than symbols.  For example,
address@hidden(defun (setf foo) @dots{})} defines the function that is used
+when @code{setf} is applied to @code{foo}.  Emacs does not support
+this.  It is a compile-time error to use @code{setf} on a form that
+has not already had an appropriate expansion defined.  In Common Lisp,
+this is not an error since the function @code{(setf @var{func})} might
+be defined later.

=== modified file 'doc/misc/ChangeLog'
--- a/doc/misc/ChangeLog        2012-11-03 18:55:29 +0000
+++ b/doc/misc/ChangeLog        2012-11-06 02:03:34 +0000
@@ -1,3 +1,8 @@
+2012-11-06  Glenn Morris  <address@hidden>
+
+       * cl.texi (Obsolete Setf Customization):
+       Move note on lack of setf functions to lispref/variables.texi.
+
 2012-11-03  Glenn Morris  <address@hidden>
 
        * cl.texi: Further general copyedits.

=== modified file 'doc/misc/cl.texi'
--- a/doc/misc/cl.texi  2012-11-03 18:55:29 +0000
+++ b/doc/misc/cl.texi  2012-11-06 02:03:34 +0000
@@ -5105,19 +5105,6 @@
 simpler case, then massaging the result.
 @end defun
 
address@hidden FIXME does not belong here any more, maybe in lispref?
-Modern Common Lisp defines a second, independent way to specify
-the @code{setf} behavior of a function, namely address@hidden
-functions'' whose names are lists @code{(setf @var{name})}
-rather than symbols.  For example, @code{(defun (setf foo) @dots{})}
-defines the function that is used when @code{setf} is applied to
address@hidden  This package does not currently support @code{setf}
-functions.  In particular, it is a compile-time error to use
address@hidden on a form which has not already been @code{defsetf}'d
-or otherwise declared; in newer Common Lisps, this would not be
-an error since the function @code{(setf @var{func})} might be
-defined later.
-
 
 @node GNU Free Documentation License
 @appendix GNU Free Documentation License


reply via email to

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