all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: cyd@stupidchicken.com, romain@orebokech.com, emacs-devel@gnu.org
Subject: Re: composition bug
Date: Fri, 19 Sep 2008 11:29:55 +0900	[thread overview]
Message-ID: <E1KgVkp-0002uB-7G@etlken.m17n.org> (raw)
In-Reply-To: <jwv3ajy7zvr.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Thu, 18 Sep 2008 02:08:02 -0400)

In article <jwv3ajy7zvr.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:

> > I'm always confused by int and EMACS_INT.  "struct it" and
> > "struct text_pos" in dispextern.h uses "int" for
> > buffer/string positions, and xdisp.c calls functions in
> > composite.c with those values.  So, there exist mixture of
> > int and EMACS_INT.  Shouldn't all of them use EMACS_INT for
> > positions (and perhaps for string length)?

> Yes.  It's important for buffers (or strings) larger than 2GB.
> We probably don't need to worry about strings larger than 2GB for a few
> more years, but for buffers it's worthwhile to take it into account.

As I don't have a time to work on it at the moment, I added
this section in admin/FOR-RELEASE.

** In C, use EMACS_INT for variables and structure members
for buffer/string positions.  E.g. struct it, struct text_pos.

---
Kenichi Handa
handa@ni.aist.go.jp




  reply	other threads:[~2008-09-19  2:29 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07 19:37 composition bug Chong Yidong
2008-09-08  6:36 ` Kenichi Handa
2008-09-08 12:19   ` Romain Francoise
2008-09-09  2:07     ` Kenichi Handa
2008-09-09  5:39       ` Romain Francoise
2008-09-09  7:20         ` Kenichi Handa
2008-09-09  7:40           ` Juanma Barranquero
2008-09-11  2:06           ` Kenichi Handa
2008-09-11  5:34             ` Romain Francoise
2008-09-13 10:09             ` Romain Francoise
2008-09-16  6:24               ` Kenichi Handa
2008-09-16  6:41                 ` Romain Francoise
2008-09-16  7:51                   ` Kenichi Handa
2008-09-16 17:17                     ` Romain Francoise
2008-09-17  5:34                       ` Kenichi Handa
2008-09-17 19:31                         ` Romain Francoise
2008-09-18  1:23                           ` Kenichi Handa
2008-09-18  6:08                             ` Stefan Monnier
2008-09-19  2:29                               ` Kenichi Handa [this message]
2008-09-19  2:44                                 ` Stefan Monnier
2008-09-19  3:48                                   ` Kenichi Handa

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

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

  git send-email \
    --in-reply-to=E1KgVkp-0002uB-7G@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=romain@orebokech.com \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.