all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Warning: attempt to open-code `anonymous lambda' with too few arguments
@ 2008-04-28 22:49 Lennart Borgman (gmail)
  2008-04-29  1:02 ` Stefan Monnier
  0 siblings, 1 reply; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-04-28 22:49 UTC (permalink / raw)
  To: Emacs Devel

I get the warning above when I byte compiling a file. The error points 
to a line that contains

       (when (< new-real-end old-end)

Do I have to say I do not understand anything? ;-)

Is this a bug or? I get this with Emacs CVS 23 from 2008-04-27.




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

* Re: Warning: attempt to open-code `anonymous lambda' with too few arguments
  2008-04-28 22:49 Warning: attempt to open-code `anonymous lambda' with too few arguments Lennart Borgman (gmail)
@ 2008-04-29  1:02 ` Stefan Monnier
  2008-04-29  7:00   ` Lennart Borgman (gmail)
  2008-04-29 16:36   ` Richard M Stallman
  0 siblings, 2 replies; 4+ messages in thread
From: Stefan Monnier @ 2008-04-29  1:02 UTC (permalink / raw)
  To: Lennart Borgman (gmail); +Cc: Emacs Devel

> I get the warning above when I byte compiling a file. The error points to
> a line that contains

>       (when (< new-real-end old-end)

I'd guess the line-number is off.


        Stefan




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

* Re: Warning: attempt to open-code `anonymous lambda' with too few arguments
  2008-04-29  1:02 ` Stefan Monnier
@ 2008-04-29  7:00   ` Lennart Borgman (gmail)
  2008-04-29 16:36   ` Richard M Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Lennart Borgman (gmail) @ 2008-04-29  7:00 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs Devel

Stefan Monnier wrote:
>> I get the warning above when I byte compiling a file. The error points to
>> a line that contains
> 
>>       (when (< new-real-end old-end)
> 
> I'd guess the line-number is off.


That sounds very likely. There are several of those warnings. All of 
them located at 1361:16.

The message comes from byte-compile-unfold-lambda and the name parameter 
to this function is "anonymous lambda". It was an error in the number of 
parameters (in unused code).





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

* Re: Warning: attempt to open-code `anonymous lambda' with too few arguments
  2008-04-29  1:02 ` Stefan Monnier
  2008-04-29  7:00   ` Lennart Borgman (gmail)
@ 2008-04-29 16:36   ` Richard M Stallman
  1 sibling, 0 replies; 4+ messages in thread
From: Richard M Stallman @ 2008-04-29 16:36 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: lennart.borgman, emacs-devel

    > I get the warning above when I byte compiling a file. The error points to
    > a line that contains

    >       (when (< new-real-end old-end)

    I'd guess the line-number is off.

The byte compiler line number tracking sometimes is unreliable.
If this is a test failure case, it would be nice to debug it
and fix it.




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

end of thread, other threads:[~2008-04-29 16:36 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-28 22:49 Warning: attempt to open-code `anonymous lambda' with too few arguments Lennart Borgman (gmail)
2008-04-29  1:02 ` Stefan Monnier
2008-04-29  7:00   ` Lennart Borgman (gmail)
2008-04-29 16:36   ` Richard M Stallman

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.