From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Dynamic loading progress Date: Wed, 14 Oct 2015 22:28:01 +0000 Message-ID: References: <87bnl1vmqf.fsf@lifelogs.com> <87vbj8tow4.fsf@lifelogs.com> <87r3twtagf.fsf@lifelogs.com> <85siebl7ws.fsf@stephe-leake.org> <85a90ilwmm.fsf@stephe-leake.org> <83386a6f7z.fsf@gnu.org> <85h9upjz7v.fsf@stephe-leake.org> <83wq3k3kl4.fsf@gnu.org> <85bnkwil1c.fsf@stephe-leake.org> <83pp9cwky8.fsf@gnu.org> <85a90ggf2d.fsf@stephe-leake.org> <54E0A40F.5080603@dancol.org> <83sie7un20.fsf@gnu.org> <54E0D181.2080802@dancol.org> <83r3trulse.fsf@gnu.org> <54E0D7E0.305@87.69.4.28> <83h9unukbg.fsf@gnu.org> <54E0DEF8.7020901@dancol> <83egpruiyp.fsf@gnu.org> <54E0FF93.2000104@dancol.org> <5610ED13.1010406@dancol.org> <56117F37.9060808@dancol.org> <837fn127aj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134c69cd8cacf052218131c X-Trace: ger.gmane.org 1444861764 7452 80.91.229.3 (14 Oct 2015 22:29:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 22:29:24 +0000 (UTC) Cc: dancol@dancol.org, stephen_leake@stephe-leake.org, emacs-devel@gnu.org To: Eli Zaretskii , =?UTF-8?Q?Aur=C3=A9lien_Aptel?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 15 00:29:23 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 1ZmUXw-0003Cu-U1 for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 00:29:21 +0200 Original-Received: from localhost ([::1]:44786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmUXw-000857-63 for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2015 18:29:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmUWs-00083d-KT for emacs-devel@gnu.org; Wed, 14 Oct 2015 18:28:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmUWr-0006eh-Ka for emacs-devel@gnu.org; Wed, 14 Oct 2015 18:28:14 -0400 Original-Received: from mail-wi0-x22d.google.com ([2a00:1450:400c:c05::22d]:34478) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmUWp-0006eN-Hl; Wed, 14 Oct 2015 18:28:11 -0400 Original-Received: by wicgb1 with SMTP id gb1so3830574wic.1; Wed, 14 Oct 2015 15:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-type; bh=I1t9ro+9r2+1PgSX0ESpB8skx1gYgXqqOnsNXhLmuL8=; b=ttxsDRiIaeT10fHRA/y5QW4q/YfBhR8WvaJG7mXqAsQIpyOSH9/igsDLS65P1MI5/K j6HA+ume9BLbhoiDI2YLbcWP0O9d91XGcr36r8TT5boeMeXLrOUWkgHDLxw/QiscoyGW eqj/8AjyV6mWU5S97S68gFBCEIqayKPdbftUSwxNxHwLhd1I0VzXoAp3wCrX0W1Uf5uq IY4zlx6UU4BrDTTjhphp8t5TglNjQstX+MSi1ukOoJUctLZUAHxXGvbLidMeHHlYXzX8 /veQV5cMnfLdIOJD0sUXQgmMjtjcuXaG+mjuMa3EaNj4vvT4qYDS0bzJF6nkmzpmLlU4 jb3g== X-Received: by 10.180.216.36 with SMTP id on4mr7097446wic.65.1444861691085; Wed, 14 Oct 2015 15:28:11 -0700 (PDT) In-Reply-To: <837fn127aj.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::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:191593 Archived-At: --001a1134c69cd8cacf052218131c Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Eli Zaretskii schrieb am Mo., 5. Okt. 2015 um 07:50 Uhr: > > Date: Sun, 4 Oct 2015 23:12:16 +0200 > > From: Aur=C3=A9lien Aptel > > Cc: Daniel Colascione , Eli Zaretskii = , > > Stephen Leake , > > Emacs development discussions > > > > On Sun, Oct 4, 2015 at 9:47 PM, Philipp Stephani > wrote: > > > Aur=C3=A9lien, is that something you agree with and could implement? > > > > I'm not sure I understood what you wanted.. I've commited this, but it > > assumes Lisp_Object are the same size as pointers... > > That assumption is false in an Emacs built --with-wide-int. > > If you need to wrap a pointer in a Lisp_Object, we have XIL and XLI > macros for that. > These are no-ops in my version of lisp.h: # define lisp_h_XLI(o) (o) # define lisp_h_XIL(i) (i) Unless I'm misunderstanding something, these macros can't be used to wrap pointers in the general case. --001a1134c69cd8cacf052218131c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


Eli Za= retskii <eliz@gnu.org> schrieb am= Mo., 5. Okt. 2015 um 07:50=C2=A0Uhr:
> Date: Sun, 4 Oct 2015 23:12:16 +0200
> From: Aur=C3=A9lien Aptel <aurelien.aptel+emacs@gmail.com>
> Cc: Daniel Colascione <dancol@dancol.org>, Eli Zaretskii <eliz@gnu.org>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Stephen Leake <stephen_leake@stephe-leake.org>,
>=C2=A0 =C2=A0 =C2=A0 =C2=A0Emacs development discussions <
emacs-devel@gnu.org><= br> >
> On Sun, Oct 4, 2015 at 9:47 PM, Philipp Stephani <p.stephani2@gmail.com> wro= te:
> > Aur=C3=A9lien, is that something you agree with and could impleme= nt?
>
> I'm not sure I understood what you wanted.. I've commited this= , but it
> assumes Lisp_Object are the same size as pointers...

That assumption is false in an Emacs built --with-wide-int.

If you need to wrap a pointer in a Lisp_Object, we have XIL and XLI
macros for that.

These are no-ops in my= version of lisp.h:=C2=A0

# define lisp_h_XLI= (o) (o)
# define lisp_h_XIL(i) (i)

Unless I'm misunderstanding something, these macros can't be used = to wrap pointers in the general case.
--001a1134c69cd8cacf052218131c--