From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: electric-pair-mode as a minor mode? Date: Sun, 26 Apr 2015 21:48:52 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1430077772 9279 80.91.229.3 (26 Apr 2015 19:49:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 26 Apr 2015 19:49:32 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: joaotavora@gmail.com (=?iso-8859-1?Q?Jo=E3o_T=E1vora?=) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 26 21:49:20 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 1YmSYJ-0003dQ-2f for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2015 21:49:19 +0200 Original-Received: from localhost ([::1]:51953 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmSYI-0004dY-Hc for ged-emacs-devel@m.gmane.org; Sun, 26 Apr 2015 15:49:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmSY5-0004dS-Tu for emacs-devel@gnu.org; Sun, 26 Apr 2015 15:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmSY0-0003Lr-UW for emacs-devel@gnu.org; Sun, 26 Apr 2015 15:49:05 -0400 Original-Received: from lamora.getmail.no ([84.210.184.7]:51771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmSY0-0003Ix-Ni for emacs-devel@gnu.org; Sun, 26 Apr 2015 15:49:00 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 05F17C57E6; Sun, 26 Apr 2015 21:48:53 +0200 (CEST) Original-Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id RvVI3TfaHsdH; Sun, 26 Apr 2015 21:48:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by lamora.getmail.no (Postfix) with ESMTP id 94365C0C3C; Sun, 26 Apr 2015 21:48:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at lamora.get.c.bitbit.net Original-Received: from lamora.getmail.no ([127.0.0.1]) by localhost (lamora.get.c.bitbit.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iWbWwbmFK4vL; Sun, 26 Apr 2015 21:48:52 +0200 (CEST) Original-Received: from stories (cm-84.215.51.58.getinternet.no [84.215.51.58]) by lamora.getmail.no (Postfix) with ESMTPS id 6A561C5778; Sun, 26 Apr 2015 21:48:52 +0200 (CEST) X-Hashcash: 1:23:150426:emacs-devel@gnu.org::Bn7HXh6BUUjhRIaj:0000000000000000000000000000000000000000001DmB X-Hashcash: 1:23:150426:monnier@iro.umontreal.ca::euzEz0ODc8y1let6:00000000000000000000000000000000000008rlv X-Hashcash: 1:23:150426:joaotavora@gmail.com::VJ58FCm5fwFwx0gR:00000000000000000000000000000000000000001H5Fx In-Reply-To: (=?iso-8859-1?Q?=22Jo=E3o_T=E1vora?= =?iso-8859-1?Q?=22's?= message of "Sun, 26 Apr 2015 11:28:36 +0100") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 84.210.184.7 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:185921 Archived-At: joaotavora@gmail.com (Jo=E3o T=E1vora) writes: > Not so, unfortunately. Requiring it eventually requires `message' > recursively. I tried with `eval-when-compile'. It works when compiling > message.el standalone, but not when making emacs (some interaction with > eager-macroexpansion, apparently): > > How do I solve this? Looking at smiley.el, it seems to be referring to a few Gnus internals, and Gnus depends on message.el all over the place. So for this to work you'd either have to refactor smiley.el to be more standalone, or you can move the definition of the smileys to message.el, and do the dependencies the opposite way. Or something. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no