From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Autoload cookies Date: Sun, 07 Dec 2014 14:03:47 -0800 Message-ID: <5484CEC3.8010602@dancol.org> References: <87d27vicq7.fsf@igel.home> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Vi0KNGJEdtKX2KoTFaWnCR6XTSeiv77Vp" X-Trace: ger.gmane.org 1417989853 13980 80.91.229.3 (7 Dec 2014 22:04:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Dec 2014 22:04:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 07 23:04:05 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 1Xxjvw-0000lf-F1 for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 23:04:04 +0100 Original-Received: from localhost ([::1]:59349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxjvv-0006kM-Ps for ged-emacs-devel@m.gmane.org; Sun, 07 Dec 2014 17:04:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxjvi-0006kF-ER for emacs-devel@gnu.org; Sun, 07 Dec 2014 17:03:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxjvh-00052R-KH for emacs-devel@gnu.org; Sun, 07 Dec 2014 17:03:50 -0500 Original-Received: from dancol.org ([2600:3c01::f03c:91ff:fedf:adf3]:52056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxjvh-00052G-AJ for emacs-devel@gnu.org; Sun, 07 Dec 2014 17:03:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=K9/AxVvrzUDI5qA592r2i/NbMkF5JUSU+39ZbuQFVOM=; b=pDqpi2MqvrMF98BH1dXFA5DUHVYahI8fEP9Ru9MzrZx6TqedP2QeaIc+l0vfWqRyed/c0GfboomPoPvAeh5UsZZOT/Q8GcvYu6PD+ouqFVdq4/Xxnp3giGwFn4RG9f/ixA9nG/8DhPXGyDzduUj0HeVzJsiq+h1QngFxnt69OBADqktn8uBTfLY0Ua8OJKffIrDzMNfXIdelYA80jI5SeUeF1PBYeVX385RthYkE+nGEQ0LutxQiAtwSqTt3Bp5cLa1LoFs12QY30lC9LSTQFazznVURxEYfK9XltN1Hm4m7otsugDVvc0ll/aGlWSGK1/flGqBjHGQCm6nI/8GS0g==; Original-Received: from [2601:8:b200:688::2b1] by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84) (envelope-from ) id 1Xxjvg-0002nP-LE for emacs-devel@gnu.org; Sun, 07 Dec 2014 14:03:48 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2600:3c01::f03c:91ff:fedf:adf3 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:179315 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Vi0KNGJEdtKX2KoTFaWnCR6XTSeiv77Vp Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 12/07/2014 02:00 PM, Lars Magne Ingebrigtsen wrote: > Speaking of `declare', I've always found the autoload cookie thing a bi= t > odd. Putting functionality into comments is kinda hacky. >=20 > What about a new (declare (autoload t)) defun form or something? But you can autoload things that aren't function definitions, like keybindings or auto-mode-alist modifications. I think the current scheme is fine, but if we had to use something more lispy, I'd opt for a top-level with-autoload macro. (Or would that be emacs-core-eval-with-autoload?) --Vi0KNGJEdtKX2KoTFaWnCR6XTSeiv77Vp Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUhM7DAAoJEN4WImmbpWBlhfQP/2CLUOomYOmgjVfwImrreFIY rWaNb3HilRzggB1+DCr29AoaTIhOa2WjKB08du8HkQ7oasWcB8dK08Lx2bbudhKZ z5yk3rv+bX/cKxzsYc6myNS1eMycSJlQ+Kqij003nmLqRaywDjV+1Aj5WO7Sh6AK DK2NlwEfiQS9t2xIbU3Kwh9XyPmf9R8j5qFYREv6/od25GFeZiztZyYQu2woB3Py bx1WpWfrlBVqjTrjy7APpaeUt/kX/BtioKNHhHGQoTbMmg4yo+q+jZKoDnMfy6dT PBTXGUY55S5NYFbL2zomyecp6UodKDjJ70xFL5mXzmg4JDPcsICL65vdRFIlL1GX gTxnpetTlySylkaGTUF4gTwoAFJDSOxEtepGJN7gkhbdvosbYWpJxMj0rcaJkBvZ XMSJwwe9nZNNA423A6zbT66nhmAzOM0BvznhElDysRRzOn22f+rHrQdWUNa9D4w4 TO/VAUgGOrYkp4wzdvN/1vlqgIMKGeYMB13IZlgqFT2FiuSK8jD3UvkuXq/HL14V 7FdDPDMrSazyg5UccwM9VgmO/1OROGq6S5wECL1SKrB3naRhIsx28kjS+pG4cn7W ZrIIjmXsfrX6EkKXfDFWXdfw7tu2FjRJ1cqHLVy/EAB80b10+efg9V1BnIL4XHov 0e5QVAWB18H9kX4JM+yj =XuWm -----END PGP SIGNATURE----- --Vi0KNGJEdtKX2KoTFaWnCR6XTSeiv77Vp--