unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Philipp Stephani <p.stephani2@gmail.com>
To: Daniel Colascione <dancol@dancol.org>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: Modules: definition of emacs_value
Date: Thu, 31 Mar 2016 17:32:59 +0000	[thread overview]
Message-ID: <CAArVCkRuiiCpfj8xdjM93s8Js8gn14+z_GgiM03NwmgvZ_OJbg@mail.gmail.com> (raw)
In-Reply-To: <56D74989.1070404@dancol.org>

[-- Attachment #1: Type: text/plain, Size: 1290 bytes --]

Daniel Colascione <dancol@dancol.org> schrieb am Mi., 2. März 2016 um
21:14 Uhr:

> On 03/02/2016 10:30 AM, Philipp Stephani wrote:
> >
> >
> > Daniel Colascione <dancol@dancol.org <mailto:dancol@dancol.org>> schrieb
> > am Di., 1. März 2016 um 00:15 Uhr:
> >
> >     On 02/29/2016 03:03 PM, Philipp Stephani wrote:
> >     > Is it a strict requirement that emacs_value be a pointer? If not,
> >     > couldn't we simply define it as int64 and assume that that will be
> >     large
> >     > enough to hold a Lisp_Object for the foreseeable future? Or do we
> >     expect
> >     > Lisp_Object to ever grow beyond 64 bits?
> >
> >     I don't like giving users raw Lisp_Objects.
> >
> >
> > But we are already doing that in most cases (64-bit pointers and
> > Lisp_Objects): the pointer is not a real pointer, just a Lisp_Object
> > cast to a pointer type.
>
> I know, and I don't like it. I wish it were a real pointer.
>
>
Me too, but the chance to get that changed seems rather minimal.
Given that, we currently have the worst of both worlds: emacs_value is not
a real pointer, but still bound by the size of a pointer. Since we won't be
able to change emacs_value any more once 25.1 is released, now is the last
chance to get its definition changed.

[-- Attachment #2: Type: text/html, Size: 1839 bytes --]

      reply	other threads:[~2016-03-31 17:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 23:03 Modules: definition of emacs_value Philipp Stephani
2016-02-29 23:15 ` Daniel Colascione
2016-03-02 14:37   ` Stefan Monnier
2016-03-02 18:14     ` Philipp Stephani
2016-03-04  1:04       ` Stefan Monnier
2016-03-04  1:24         ` John Wiegley
2016-03-02 18:30   ` Philipp Stephani
2016-03-02 20:14     ` Daniel Colascione
2016-03-31 17:32       ` Philipp Stephani [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAArVCkRuiiCpfj8xdjM93s8Js8gn14+z_GgiM03NwmgvZ_OJbg@mail.gmail.com \
    --to=p.stephani2@gmail.com \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).