all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: aurelien.aptel+emacs@gmail.com, dmantipov@yandex.ru,
	sdl.web@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Why not zlib-compress-region?
Date: Sun, 29 Jun 2014 12:58:46 +0900	[thread overview]
Message-ID: <87d2dswemh.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <831tu96kb1.fsf@gnu.org>

Eli Zaretskii writes:

 > Again, building GCC is not something an end user would easily consider
 > when all she needs is to be able to use some plugin.

For MacPorts and all end-user-oriented GNU/Linux distros I know of
there are binary packages for the C toolchain at least.  I know such
used to be available for AIX, HP/UX, SunOS and Solaris (which is now
OpenSolaris).

I wonder how many systems that don't distribute a C compiler in the
base distribution distribute Emacs (which last I looked was not in the
same space as Adobe Acrobat, much less *Office)?  I suspect on most
such systems to use Emacs, you have to build it yourself.

 > > I have a bunch of them (three versions of GTK, two of libpng for
 > > example).  I don't notice it at all
 > 
 > I have more than "a bunch" of them, too.  This is not about you or me,
 > you know.

No, it's not.  My point is that to the extent I have those, I *don't*
deal with them, I let the PMS do it.

True, I'm not a typical end-user, but people on systems with a PMS are
surely as used to using the PMS to install "stuff" as Windows users
are used to downloading MSIs.

 > > Nonsense.  I do it about once a month, sometimes twice a week
 > > (automatically via Gentoo's Portage PMS, which always builds from
 > > source).
 > 
 > Again, this is not about you or me.

Again, from my point of view it's all hidden by the PMS.

It's just more *stuff* to install, and since in XEmacs's system it's
all done by a specialized compiler driver (distributed and built with
XEmacs) which knows about XEmacs's configuration, Emacs could use the
same technology and it's probably as easy as installing the C
toolchain with the PMS, firing up Emacs and running

(defun ffi-install-package (package)
  (interactive "sWhat package would you like to install? ")
  (ffi-install-download-source package)
  (ffi-install-check-dependencies package)
  (shell-command (format "cd %s; ./configure %s; make; make install"
                         package
                         (ffi-install-configure-options package))))

where `ffi-install-download-source', `ffi-install-check-dependencies',
and `ffi-install-configure-options' consult a database distributed
with Emacs and/or online at ELPA.  (XEmacs doesn't actually do this
because all loadable modules currently available for XEmacs are
distributed with XEmacs.  So if you configure --with-modules they get
built as part of the default make target, and installed as part of the
"install" target.)

Sure, a few people will be left out, but AFAICT it should be possible
for Emacs to build a binary distribution for Windows users, and
pretty much everybody else is able to fend for themselves.

I'm not arguing that this is *better* than something like a libffi
binding in LISP, just that it's clearly feasible, and unlikely to
leave even a large minority of users without support.

Steve



  parent reply	other threads:[~2014-06-29  3:58 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-26  9:20 Why not zlib-compress-region? Leo Liu
2014-06-26 12:07 ` Dmitry Antipov
2014-06-26 13:27   ` Stefan Monnier
2014-06-26 14:03     ` Leo Liu
2014-06-26 16:43       ` Stefan Monnier
2014-06-27 12:50         ` Aurélien Aptel
2014-06-27 13:28           ` Stefan Monnier
2014-06-27 15:32             ` Dmitry Antipov
2014-06-27 22:07               ` Stefan Monnier
2014-06-28  6:50                 ` Eli Zaretskii
2014-06-28 12:51                   ` Stephen J. Turnbull
2014-06-28 13:16                     ` Eli Zaretskii
2014-06-28 16:30                       ` Stephen J. Turnbull
2014-06-28 17:00                         ` Eli Zaretskii
2014-06-28 17:41                           ` Eli Zaretskii
2014-06-29  3:58                           ` Stephen J. Turnbull [this message]
2014-06-29 21:03                           ` Stefan Monnier
2014-06-28 18:06                         ` Paul Eggert
2014-06-28 14:07                   ` Richard Stallman
2014-06-27 19:48         ` Ted Zlatanov

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=87d2dswemh.fsf@uwakimon.sk.tsukuba.ac.jp \
    --to=stephen@xemacs.org \
    --cc=aurelien.aptel+emacs@gmail.com \
    --cc=dmantipov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=sdl.web@gmail.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.