From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: "Void function setf" in emacs 24.1 Date: Thu, 27 Jun 2013 11:32:31 +0200 Organization: Gnus News User Services Message-ID: <87txkj291s.fsf@turtle.gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372349171 30737 80.91.229.3 (27 Jun 2013 16:06:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 16:06:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 27 18:06:13 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UsEi4-0001OM-QN for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 18:06:12 +0200 Original-Received: from localhost ([::1]:46852 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsEi4-00041v-2y for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Jun 2013 12:06:12 -0400 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: p4fc61276.dip0.t-ipconnect.de Original-X-Trace: quimby.gnus.org 1372325549 7658 79.198.18.118 (27 Jun 2013 09:32:29 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 27 Jun 2013 09:32:29 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:e+ozRxgDDTfOAikUT/fPBX/pZCI= Original-Xref: usenet.stanford.edu gnu.emacs.help:199497 X-Mailman-Approved-At: Thu, 27 Jun 2013 12:05:41 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91787 Archived-At: On 2013-06-27 11:17 +0200, Klaus-Dieter Bauer wrote: > I wanted to demonstrate some emacs lisp today to a colleague (Ubuntu, emacs > 24.1). However when I wrote "(setf x (1+ x))" I got an error "void function > setf". > > On my system I have been using setf for some while now combined with > compiling my source files in a new emacs session without initialization > file in order to get error messages about missing imports, functions yet to > be implemented etc. Hence I'm pretty sure that on my system setf is defined > without explicitly requiring 'gv since some versions. > > Am I just wrong and setf was introduced as a default autoload after 24.1? Correct, it's only autoloaded in 24.3 and later, according to the NEWS file. In previous versions you need to (require 'cl), I think. Cheers, Sven