From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yoni Rabkin Newsgroups: gmane.emacs.devel Subject: Re: Adding Emms to ELPA (take 2), and a technical question Date: Thu, 30 Apr 2020 10:43:39 -0400 Message-ID: <87r1w53ug4.fsf@rabkins.net> References: <87pnbwg0up.fsf@rabkins.net> <87lfmfbuxz.fsf@rabkins.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="106569"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: Robert Pluim , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 30 16:44:25 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUAQK-000Rae-B1 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 16:44:24 +0200 Original-Received: from localhost ([::1]:42540 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUAQJ-0004k7-D3 for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Apr 2020 10:44:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35192) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUAPg-0003mX-HP for emacs-devel@gnu.org; Thu, 30 Apr 2020 10:43:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jUAPf-00066h-S1 for emacs-devel@gnu.org; Thu, 30 Apr 2020 10:43:44 -0400 Original-Received: from smtprelay0086.hostedemail.com ([216.40.44.86]:49084 helo=smtprelay.hostedemail.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUAPf-0005wp-De; Thu, 30 Apr 2020 10:43:43 -0400 Original-Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id AEFE4181D3058; Thu, 30 Apr 2020 14:43:41 +0000 (UTC) X-Session-Marker: 796F6E69407261626B696E732E6E6574 X-HE-Tag: room70_777d8ea363548 X-Filterd-Recvd-Size: 3623 Original-Received: from birch.rabkins.net (c-73-238-99-162.hsd1.ma.comcast.net [73.238.99.162]) (Authenticated sender: yoni@rabkins.net) by omf14.hostedemail.com (Postfix) with ESMTPA; Thu, 30 Apr 2020 14:43:41 +0000 (UTC) X-Ethics: Use GNU Received-SPF: none client-ip=216.40.44.86; envelope-from=yoni@rabkins.net; helo=smtprelay.hostedemail.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/30 10:43:41 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 216.40.44.86 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:248242 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > I=CA=BCd take a look at 'pdf-tools', it both compiles C-code and inst= alls > > necessary packages using 'apt-get' and similar. > > That is an undesirable practice: it turns package installation into > something users won't keep track of. > > (Secondary practical issue: to succeed in running apt-get it would > have to run as root, I think.) I've had a look at pdf-tools and arrived at the conclusion that we won't be copying much from what pdf-tools does into Emms; the two project are too different, and pdf-tools does a few of other things I don't agree with. Any copying will probably be limited to the some stuff in the Makefile of pdf-tools that helps it prepare to be distributed with ELPA. That's the short of it. No need to read more if that is all you needed to know. Below the line is the longer version for anyone curious, or with too much time on their hands. ---------------------------------------------------------------------- pdf-tools does a lot more compilation than Emms. pdf-tools comes with over 13,000 lines of C/C++, while Emms has under 200 lines of C/C++. pdf-tools requires the compilation step in order to function at all. But Emms works fine without compiling anything, and only uses the compilation step to provide a binary which enhances functionality. Where Emms and pdf-tools are alike is that they both require build-tools to be present on the machine, and the compilation step is in essence the same. This is why I'll see if the pdf-tools Makefile has anything valuable for Emms and use that. Outside of compilation, I find it annoying that pdf-tools doesn't come with a proper manual. I needed to go and look up to figure out how to read the org file that came with pdf-tools. It isn't that much text, and the annoying folding that org does for what amounts to a simple README file is gratuitous at best. pdf-tools also uses its a package/distribution manager called cask, and also something called appveyor which I looked up on Wikipedia and found that "AppVeyor is a hosted, distributed continuous integration service", but that left me none the wiser as to why an AppVeyor file/s come with pdf-tools or what I am supposed to do with them. None of those make sense for such a small project, so I'm assuming that those are simply the tools the author/s of pdf-tools are used to working with, so that is what they used. --=20 "Cut your own wood and it will warm you twice"