From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: use-package.el -> Emacs core Date: Tue, 10 Nov 2015 07:42:06 -0500 Message-ID: References: <564136F7.2020404@yandex.ru> <877flqe1a4.fsf@gmail.com> <87twoucaxz.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2c8d491f3f205242f091e X-Trace: ger.gmane.org 1447159347 16664 80.91.229.3 (10 Nov 2015 12:42:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 Nov 2015 12:42:27 +0000 (UTC) Cc: Dmitry Gutov , Oleh Krehel , Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 10 13:42:27 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 1Zw8Fm-0004KV-Ov for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2015 13:42:26 +0100 Original-Received: from localhost ([::1]:59299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw8Fm-00016F-7f for ged-emacs-devel@m.gmane.org; Tue, 10 Nov 2015 07:42:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw8FU-00015A-3s for emacs-devel@gnu.org; Tue, 10 Nov 2015 07:42:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw8FS-0003mH-Rj for emacs-devel@gnu.org; Tue, 10 Nov 2015 07:42:08 -0500 Original-Received: from mail-ob0-x22d.google.com ([2607:f8b0:4003:c01::22d]:33672) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw8FS-0003lx-NH for emacs-devel@gnu.org; Tue, 10 Nov 2015 07:42:06 -0500 Original-Received: by obbww6 with SMTP id ww6so136700760obb.0 for ; Tue, 10 Nov 2015 04:42:06 -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 :cc:content-type; bh=ewJWiJJwJMqO5SVyHGYZp59wYlquYq/syin3/EO2rOk=; b=tBzp8Aqis3vt2Vg3aN3XuWoOa3qAxVW9Vr0XYDruYbSrhtjO0kCsVfvcvrsBuL8yOl lhRm5+cmmKTb6b22kWmxXwcQNPucs5I9CckN8lWHFL5wKmeJup7VWEpstPiEAos+Adcx ZY1GULdkvX7HNWUXh9c8oo3CLqcfgVmFgyGDYbUg7kannLJBr5hCqr5+VXe/039/btDb aq35poTWAYu+SM4ODtUo2huG/gtcHOPqqDAFzxVQ/tHu8zKn60tt73h0Xm9bVo0mXUho VWpFTlEncHFmbYn8akzq539mtZsvDbGl9TlbzIORZcvdB5saBwyQw5IlIJUMMAfsxpPS MjAA== X-Received: by 10.182.134.170 with SMTP id pl10mr1403336obb.42.1447159326173; Tue, 10 Nov 2015 04:42:06 -0800 (PST) Original-Received: by 10.202.80.133 with HTTP; Tue, 10 Nov 2015 04:42:06 -0800 (PST) Original-Received: by 10.202.80.133 with HTTP; Tue, 10 Nov 2015 04:42:06 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::22d 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:193841 Archived-At: --001a11c2c8d491f3f205242f091e Content-Type: text/plain; charset=UTF-8 I'd also like to add that as use-package is a top-level form, we cannot use edebug and other defun-specific functions on the functions defined in that form: http://emacs.stackexchange.com/q/7643/115 I then came up with a custom solution that works for me to make edebugging possible for such functions. If you notice, it's more like a hack. So something need to be done to make such defun-related functions work in use-package too, if we go that route. --001a11c2c8d491f3f205242f091e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

I'd also like to add that as use-package is a top-level = form, we cannot use edebug and other defun-specific functions on the functi= ons defined in that form: http://emacs.stackexchange.com/q/7643/115

I then came up with a custom solution that works for me to m= ake edebugging possible for such functions. If you notice, it's more li= ke a hack. So something need to be done to make such defun-related function= s work in use-package too, if we go that route.

--001a11c2c8d491f3f205242f091e--