From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: Package initialization Date: Sat, 18 Jul 2015 21:00:23 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1437246049 13697 80.91.229.3 (18 Jul 2015 19:00:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jul 2015 19:00:49 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 18 21:00:48 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZGXLs-000511-52 for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2015 21:00:48 +0200 Original-Received: from localhost ([::1]:49414 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGXLr-0008AV-96 for ged-emacs-devel@m.gmane.org; Sat, 18 Jul 2015 15:00:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGXLa-0008AP-Ux for emacs-devel@gnu.org; Sat, 18 Jul 2015 15:00:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZGXLX-0008IA-Hg for emacs-devel@gnu.org; Sat, 18 Jul 2015 15:00:30 -0400 Original-Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:34893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZGXLX-0008HY-BX for emacs-devel@gnu.org; Sat, 18 Jul 2015 15:00:27 -0400 Original-Received: by wgav7 with SMTP id v7so38039107wga.2 for ; Sat, 18 Jul 2015 12:00:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=h4VnAdqfgihbPIsgeCRtF9eljevpBdxWvMZGXMMRXI8=; b=LMsGLsJjQa/UhJGZ0kWSgJQGcKeezThNGM+pjdiqkQT+evM+LccKFcgqIcO6TlJ51W E9/Rq1Rcr1hnYnLvgeMuuM/6ac9uwjWp5uvkUYFyf7JBygMMM01n5tCVUODxSIxriu+0 DFI7K+jfQaxMHoBoPQajAAx54dRvZe8IHKqP/dpBGHei+qlLLjc7G/d5ZjLuZ6Mf0t10 8DBPR9N54Ritj7ubKE+xz8c4/3lbdl6Gf8ng47bMlNqX42XmRIdrOV+cPNbxPhrZh6XO IeLDO6txI8DrITSXlGCsnLh9rPrZnFoKGaF7iZrpDiBJMCR+mMlIWHP6FgXAF7GD4gyp eU1w== X-Received: by 10.180.74.162 with SMTP id u2mr7100828wiv.0.1437246025205; Sat, 18 Jul 2015 12:00:25 -0700 (PDT) Original-Received: from ix ([212.46.170.156]) by smtp.gmail.com with ESMTPSA id lj2sm3764948wic.1.2015.07.18.12.00.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Jul 2015 12:00:24 -0700 (PDT) Original-Received: from helmut by ix with local (Exim 4.84) (envelope-from ) id 1ZGXLT-0002qX-OA; Sat, 18 Jul 2015 21:00:23 +0200 In-Reply-To: (Artur Malabarba's message of "Sat, 18 Jul 2015 18:16:05 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187956 Archived-At: On Sat, Jul 18 2015, Artur Malabarba wrote: >> Which seems to suggest that one should write some >> ;;;###autoload (progn ...) >> somewhere that does the initialization. Is this the way it should be >> done? > > Yes, that line can be added to any of the package's =E2=80=9C.el=E2=80=9D= files. The question was not if it works; the question was if this is considered good style. Frankly, I think this is very ugly because I can no longer load the foo-auotload.el file without clobbering global variables. Helmut