[Top][All Lists]

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

Re: Rmail: rmail-enable-mime is causing troubles

From: Eli Zaretskii
Subject: Re: Rmail: rmail-enable-mime is causing troubles
Date: Fri, 13 Jan 2006 10:15:59 +0200

> From: Xavier Maillard <address@hidden>
> Date: Thu, 12 Jan 2006 22:54:58 +0100
> Cc: address@hidden, address@hidden, address@hidden
> Except that here, it just fails when trying to make it:
> address@hidden 22:37:02 rmail-mime]$ make
> echo '
>       ' > lisp/autodefs.el
> emacs-snapshot -q --no-site-file -batch -l autoload --eval \
>                 '(setq source-directory (expand-file-name ".") \
>                        generated-autoload-file "autodefs.el")' \
>                 -f batch-update-autoloads `find lisp -type d -print`
> Wrong type argument: symbolp, "autodefs.el"
> make: *** [autodefs.el] Error 255

What is your version of Make?  It looks like the Makefile that comes
with rmail-mime is buggy: a command-line argument that is quoted with
single quotes '..' cannot be split between two lines like that,
because the shell will retain the newline, and Emacs will see bad
Lisp.  Latest version of GNU Make make a point of passing such
commands to the shell without removing the newline, so such bugs
started popping up.

A simple work-around is to edit the Makefile so that the '..'-quoted
argument, the one which starts with ``'(setq'', is on a single line.

reply via email to

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