unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14492: [PATCH] Bug in Elisp manual
@ 2013-05-28 22:31 Kelly Dean
  2013-06-05 23:06 ` bug#14492: [PATCH2] Re: bug# 14492: " Kelly Dean
       [not found] ` <20919.23351.46170.855479@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Kelly Dean @ 2013-05-28 22:31 UTC (permalink / raw)
  To: 14492

Self explanatory.

--- emacs-24.3/doc/lispref/variables.texi
+++ emacs-24.3/doc/lispref/variables.texi
@@ -987,9 +987,9 @@
 (let ((x 0))             ; @r{@code{x} is lexically bound.}
   (setq my-ticker (lambda ()
                     (setq x (1+ x)))))
     @result{} (closure ((x . 0) t) ()
-          (1+ x))
+          (setq x (1+ x)))
 
 (funcall my-ticker)
     @result{} 1
 






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

* bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual
  2013-05-28 22:31 bug#14492: [PATCH] Bug in Elisp manual Kelly Dean
@ 2013-06-05 23:06 ` Kelly Dean
  2013-06-10  0:35   ` Glenn Morris
       [not found] ` <20919.23351.46170.855479@gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Kelly Dean @ 2013-06-05 23:06 UTC (permalink / raw)
  To: 14492

Here's another one. Patch below.
Also, the {describe-symbols example} xref in that file doesn't work, but I don't know why.

--- emacs-24.3/doc/lispref/functions.texi
+++ emacs-24.3/doc/lispref/functions.texi
@@ -974,15 +974,15 @@
   If you compile the above code, the anonymous function is also
 compiled.  This would not happen if, say, you had constructed the
 anonymous function by quoting it as a list:
 
 @example
 @group
 (defun double-property (symbol prop)
-  (change-property symbol prop (lambda (x) (* 2 x))))
+  (change-property symbol prop '(lambda (x) (* 2 x))))
 @end group
 @end example
 
 @noindent
 In that case, the anonymous function is kept as a lambda expression in
 the compiled code.  The byte-compiler cannot assume this list is a
 function, even though it looks like one, since it does not know that






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

* bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual
  2013-06-05 23:06 ` bug#14492: [PATCH2] Re: bug# 14492: " Kelly Dean
@ 2013-06-10  0:35   ` Glenn Morris
  2013-06-12  1:26     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2013-06-10  0:35 UTC (permalink / raw)
  To: Kelly Dean; +Cc: 14492


I notice you've been sending us quite a few things (thanks!).
How's it going with your copyright assignment?

http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00646.html





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

* bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual
  2013-06-10  0:35   ` Glenn Morris
@ 2013-06-12  1:26     ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2013-06-12  1:26 UTC (permalink / raw)
  To: 14492-done

Version: 24.4

Fixed in emacs-24.





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

* bug#14492: [PATCH2] Re: bug# 14492: Bug in Elisp manual
       [not found] ` <20919.23351.46170.855479@gnu.org>
@ 2013-06-12  2:21   ` Kelly Dean
  0 siblings, 0 replies; 5+ messages in thread
From: Kelly Dean @ 2013-06-12  2:21 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 14492

Glenn Morris <rgm@gnu.org> wrote:
>> My work is in the public domain, so no copyright assignment is
>> necessary or possible. Since the FSF says that the U.S. Congress
>> claims that my work isn't in the public domain, and the FSF
>> therefore requires assignment, I can't contribute to Emacs.
>
>Have you already discussed this with assign@gnu.org?

Yes. The copyright clerk said "placing a work in the public domain is difficult/may not be possible".

>> That's why I've only been sending bugfixes (under the tiny-change
>> limit, so no assignment needed) after learning of this problem.
>
>The tiny change limit is a cumulative one. It doesn't mean we can
>accept an infinite number of tiny changes from you. I think (without
>checking carefully) that you have already reached the limit.
>
>In any case, it's probably better if you don't send patches, just
>clear descriptions of the problem so that someone else can fix it.

A patch is the clearest description; anything else is less clear. Since I fix the bug locally for my own use, I have to make the patch anyway, and apply it locally to a clean copy of Emacs and test it, in order to verify that my description of the bug and solution are right, rather than just being some artifact of my customized environment. It seems rude to send a bug report and say, "here's a bug, and I know how to fix it, but I'm not going to tell you." Besides that, for documentation bugs like 14492, there isn't even a difference between the bug description and the solution.

But I certainly don't want to cause copyright hassles for the maintainers, so if you don't want me to send any more patches, then I won't. Does this mean that I shouldn't report documentation bugs at all? Or is copyright law so insane that there's a legal difference between:
--- emacs-24.3/doc/lispref/functions.texi
+++ emacs-24.3/doc/lispref/functions.texi
@@ -981 +981 @@
-  (change-property symbol prop (lambda (x) (* 2 x))))
+  (change-property symbol prop '(lambda (x) (* 2 x))))

and the English prose, "in the file emacs-24.3/doc/lispref/functions.texi, on line 981, before the parenthesis before the word lambda, there's supposed to be an apostrophe"?






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

end of thread, other threads:[~2013-06-12  2:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-28 22:31 bug#14492: [PATCH] Bug in Elisp manual Kelly Dean
2013-06-05 23:06 ` bug#14492: [PATCH2] Re: bug# 14492: " Kelly Dean
2013-06-10  0:35   ` Glenn Morris
2013-06-12  1:26     ` Glenn Morris
     [not found] ` <20919.23351.46170.855479@gnu.org>
2013-06-12  2:21   ` Kelly Dean

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