all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: 32902@debbugs.gnu.org
Subject: bug#32902: Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps
Date: Wed, 10 Oct 2018 06:49:03 +0300	[thread overview]
Message-ID: <83o9c2xxzk.fsf@gnu.org> (raw)
In-Reply-To: <3f0bcf06-83f2-a0e9-c9ab-b06d65417afe@cs.ucla.edu> (message from Paul Eggert on Tue, 9 Oct 2018 13:15:57 -0700)

> Cc: 32902@debbugs.gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Tue, 9 Oct 2018 13:15:57 -0700
> 
> >> Any of these would insulate the rest of Emacs from this glitch.
> > The last two are undesirable, since it is generally expected of a
> > single Windows binary to run on all supported systems; having 2
> > separate binaries is possible, but complicates the matters.
> 
> 
> Alternative (2) should also let a single binary run on all supported 
> MS-Windows systems, unless I'm misunderstanding something.

You are right, I wasn't paying attention.

> The idea is that Emacs proper uses 64-bit time_t and only a small
> part of w32*.c knows whether the MS-Windows API is using 32- or
> 64-bit time_t. Emacs could do this by using "#define time_t long
> long int" for most of Emacs, and having only the small part of
> w32*.c worry about the conversion.

Yes.  Not sure about the "small" part, though: time_t appears in many
libc functions ('stat' and 'fstat' come to mind), and we currently
still use most of the structures defined in system headers which
reference time_t values.

> Also, don't we already have 2 separate binaries, one for 32-bit and one 
> for 64-bit MS-Windows?

We do, but the 32-bit binaries are expected to run on 64-bit systems.
We cannot avoid having the separate 64-bit binaries, whereas the
additional 32-bit binaries are just a nuisance.  Note that at least
some of the support libraries might also need to be built twice, if
time_t is used in their interfaces, directly or indirectly.

> > Last time this came up, we decided not to drop support even for Windows 9X
> 
> It's your decision since you're the maintainer, and if you want to spend 
> time porting to obsolete operating systems it's your time to spend. That 
> being said, there's vanishingly little real-world need to run the *very 
> latest* version of GNU Emacs on Windows XP and earlier and for security 
> reasons if the documentation for the latest Emacs version discusses 
> these older machines it should be warning Emacs users to not connect 
> these machines to the Internet.

Well, my main development machine still runs XP, so for now this is a
real necessity ;-)





      parent reply	other threads:[~2018-10-10  3:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-02  1:00 bug#32902: Add support for (TIMESTAMP . RESOLUTION) Lisp timestamps Paul Eggert
2018-10-02  3:04 ` Eli Zaretskii
2018-10-03 18:45   ` Paul Eggert
2018-10-04 16:08     ` Eli Zaretskii
2018-10-07  6:32       ` Paul Eggert
2018-10-07 17:55         ` Eli Zaretskii
2018-10-07 20:05           ` Paul Eggert
2018-10-08  2:44             ` Eli Zaretskii
2018-10-08  5:18               ` Paul Eggert
2018-10-09 15:09                 ` Eli Zaretskii
     [not found]                   ` <3f0bcf06-83f2-a0e9-c9ab-b06d65417afe@cs.ucla.edu>
2018-10-10  3:49                     ` Eli Zaretskii [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

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

  git send-email \
    --in-reply-to=83o9c2xxzk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=32902@debbugs.gnu.org \
    --cc=eggert@cs.ucla.edu \
    /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.