From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: ELPA queue.el weirdness Date: Wed, 14 May 2014 20:25:01 +0200 Message-ID: <87lhu4tdz6.fsf@zigzag.favinet> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1400091673 20479 80.91.229.3 (14 May 2014 18:21:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2014 18:21:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: toby-predictive@dr-qubit.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 20:21:07 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 1Wkdnd-0004ll-ST for ged-emacs-devel@m.gmane.org; Wed, 14 May 2014 20:21:06 +0200 Original-Received: from localhost ([::1]:53561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkdnd-0005mH-7Y for ged-emacs-devel@m.gmane.org; Wed, 14 May 2014 14:21:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43132) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkdnU-0005ko-Hp for emacs-devel@gnu.org; Wed, 14 May 2014 14:21:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkdnO-00020p-9H for emacs-devel@gnu.org; Wed, 14 May 2014 14:20:56 -0400 Original-Received: from smtp208.alice.it ([82.57.200.104]:34558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkdnN-00020Y-U8 for emacs-devel@gnu.org; Wed, 14 May 2014 14:20:50 -0400 Original-Received: from zigzag.favinet (62.211.168.185) by smtp208.alice.it (8.6.060.28) id 52443B822B445EB6; Wed, 14 May 2014 20:20:36 +0200 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1Wkdrk-0007f6-Ep; Wed, 14 May 2014 20:25:20 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.57.200.104 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:171837 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I see that the GNU ELPA packages/queue/queue.el has the following: (defmacro queue-empty (queue) "Return t if QUEUE is empty, otherwise return nil." (null (queue-head queue))) =20 (defmacro queue-first (queue) "Return the first element of QUEUE or nil if it is empty, without removing it from the QUEUE." (car (queue-head queue))) I don't understand how these can work in their present formulation, and think they should be changed to use either =E2=80=98backquote=E2=80=99 and =E2=80=98unquote=E2=80=99, or (preferably) = =E2=80=98defsubst=E2=80=99. Also i notice that the queue.el from the www.dr-qubit.org Git repo includes =E2=80=98lexical-binding: t=E2=80=99 whereas the ELPA version does= not. Do you have any plans to do these small changes and release (on the ELPA side, that is) a new version? If not, any objections or advice if i were to do it? =2D-=20 Thien-Thi Nguyen GPG key: 4C807502 (if you're human and you know it) read my lisp: (responsep (questions 'technical) (not (via 'mailing-list))) =3D> nil --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlNztQgACgkQZwMiJEyAdQKyywCg6hvu+RbO9oeMRkuqRkTqrqHL NZoAoKeMROQAsBbKFSvYtg4rvEcU7r7V =5al1 -----END PGP SIGNATURE----- --=-=-=--