bug-auctex
[Top][All Lists]
Advanced

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

Re: [Bug-AUCTeX] missing (require 'cl) ?


From: jfbu
Subject: Re: [Bug-AUCTeX] missing (require 'cl) ?
Date: Thu, 20 Sep 2012 12:36:07 +0200



> jfbu <address@hidden> writes:
> 
>> Hi,
>> 
>> isn't the latest auctex release missing somewhere a (require 'cl)?
>> 
>> I have installed auctex-20120917-a (downloaded from
>> <http://theotp1.physik.uni-ulm.de/~ste/comp/emacs/auctex/snapshots/ftp/auctex-current.tar.gz>)
>> this seems to be the latest version of the package.
>> 
>> At some point (I am in the mix of moving to a new laptop and system)
>> nothing worked anymore: I got error messages Symbol's function
>> definition is void: mapcar*,
>> 
>> The problem seems to have been mentioned already in another mailing
>> list
>> <http://lists.gnu.org/archive/html/help-gnu-emacs/2011-12/msg00107.html>
>> 
>> and indeed (require 'cl) in my .emacs solves the problem
>> 
>> I realized later that in my .emacs I had moved at some point (require
>> mic-paren) (which as far as I understand does load the cl library)
>> from a position before to one after the loading of auctex,
> 
> In general the policy for Emacs packages considered close to the core is
> to _not_ require cl at run time (in contrast, using cl-macs at compile
> time is more or less developer choice), so it would seem that the proper
> remedy would involve not using mapcar* here.
> 
> -- 
> David Kastrup

Thanks David, and thanks for AUCTeX! 

I look at the code in mic-paren.el and it starts with

(eval-when-compile (require 'cl))

This seems to comply with the official policy advised at 
<http://www.gnu.org/software/emacs/manual/html_mono/cl.html#Overview>

in case avoiding the use of mapcar* proves troublesome, couldn't auctex require 
cl in the same manner mic-paren does? 

(and I have now learned what "cl" means...)

JF B.




reply via email to

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