From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Why not zlib-compress-region? Date: Sun, 29 Jun 2014 12:58:46 +0900 Message-ID: <87d2dswemh.fsf@uwakimon.sk.tsukuba.ac.jp> References: <53AC0D17.9020604@yandex.ru> <53AD8EA8.9090805@yandex.ru> <83egy97cj6.fsf@gnu.org> <87k381w61p.fsf@uwakimon.sk.tsukuba.ac.jp> <83a98x6up5.fsf@gnu.org> <87fvipvvwk.fsf@uwakimon.sk.tsukuba.ac.jp> <831tu96kb1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Trace: ger.gmane.org 1404014364 8409 80.91.229.3 (29 Jun 2014 03:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Jun 2014 03:59:24 +0000 (UTC) Cc: aurelien.aptel+emacs@gmail.com, dmantipov@yandex.ru, sdl.web@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 29 05:59:16 2014 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 1X16Gq-0008Qa-F7 for ged-emacs-devel@m.gmane.org; Sun, 29 Jun 2014 05:59:16 +0200 Original-Received: from localhost ([::1]:56470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X16Gp-0007WM-MO for ged-emacs-devel@m.gmane.org; Sat, 28 Jun 2014 23:59:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X16Gf-0007UL-68 for emacs-devel@gnu.org; Sat, 28 Jun 2014 23:59:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X16GX-0003DI-Fe for emacs-devel@gnu.org; Sat, 28 Jun 2014 23:59:05 -0400 Original-Received: from mgmt1.sk.tsukuba.ac.jp ([130.158.97.223]:54216) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X16GP-0003B2-7E; Sat, 28 Jun 2014 23:58:49 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 71A133FA0B28; Sun, 29 Jun 2014 12:58:46 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 2732C11F538; Sun, 29 Jun 2014 12:58:46 +0900 (JST) In-Reply-To: <831tu96kb1.fsf@gnu.org> X-Mailer: VM undefined under 21.5 (beta34) "kale" acf1c26e3019 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.223 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:172811 Archived-At: 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