From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Autoload cookies (was: Ordering of command completions) Date: Mon, 8 Dec 2014 00:14:36 +0000 Message-ID: References: <87d27vicq7.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c34daed4edd00509a94f50 X-Trace: ger.gmane.org 1418009482 1218 80.91.229.3 (8 Dec 2014 03:31:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Dec 2014 03:31:22 +0000 (UTC) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 08 04:31:15 2014 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 1Xxp2W-0004ll-Gy for ged-emacs-devel@m.gmane.org; Mon, 08 Dec 2014 04:31:12 +0100 Original-Received: from localhost ([::1]:59935 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxp2W-0000Y3-25 for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 22:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxlyO-0005Oq-EC for emacs-devel@gnu.org; Sun, 07 Dec 2014 19:14:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxlyJ-0005tU-1D for emacs-devel@gnu.org; Sun, 07 Dec 2014 19:14:44 -0500 Original-Received: from mail-lb0-x22a.google.com ([2a00:1450:4010:c04::22a]:57018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxlyI-0005sx-OD for emacs-devel@gnu.org; Sun, 07 Dec 2014 19:14:38 -0500 Original-Received: by mail-lb0-f170.google.com with SMTP id 10so1402128lbg.29 for ; Sun, 07 Dec 2014 16:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xsEjXByre2Xt92kWof0pFJl/giEb5gMwJsxCqlFuhts=; b=KGVhiNFChgmh8F23KTb/QD7+sNa1I1DoCEqiZcalVfr67mtuODSVwaaohcdYktvT2q 8GQ8fgsqzId4NQN9gBOoXfydwCfqM4H7d4rodTRV+VB8d2hKADqjuzNP/z6GKKFdq1Vu 0/jIEPheM3iCMb1/0HxhgEMdoujLJWBN3OAdJLn53YMpba6Zijb/Dqyd0ozvYo3FOeFQ ayTDHzJJg4R5FhxvqCtQ3uLPSO4FtDdCPnnWacP+iGqB/ifHtCaYYGEiUICr+pfYK3Eb jSmIZhP8P2snccJ5Xpf5xwmhqLpjlLgY+dDIbain/LqGUyXJU03e12baDHThYZpmj1CF Nf+g== X-Received: by 10.152.42.198 with SMTP id q6mr13472243lal.48.1417997677028; Sun, 07 Dec 2014 16:14:37 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Sun, 7 Dec 2014 16:14:36 -0800 (PST) Original-Received: by 10.112.53.137 with HTTP; Sun, 7 Dec 2014 16:14:36 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22a X-Mailman-Approved-At: Sun, 07 Dec 2014 22:30:59 -0500 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:179357 Archived-At: --001a11c34daed4edd00509a94f50 Content-Type: text/plain; charset=UTF-8 On 7 Dec 2014 20:00, "Lars Magne Ingebrigtsen" wrote: > > Speaking of `declare', I've always found the autoload cookie thing a bit > odd. Putting functionality into comments is kinda hacky. > > What about a new (declare (autoload t)) defun form or something? I'd love that (it would have made Names.el a lot easier), but the declare form is only for defun and defmacro, while the autoload cookies go on anything. --001a11c34daed4edd00509a94f50 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On 7 Dec 2014 20:00, "Lars Magne Ingebrigtsen" <larsi@gnus.org> wrote:
>
> Speaking of `declare', I've always found the autoload cookie t= hing a bit
> odd.=C2=A0 Putting functionality into comments is kinda hacky.
>
> What about a new (declare (autoload t)) defun form or something?

I'd love that (it would have made Names.el a lot easier)= , but the declare form is only for defun and defmacro, while the autoload c= ookies go on anything.

--001a11c34daed4edd00509a94f50--