From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: imgur.el and small packages to interface with commercial services Date: Fri, 01 Jul 2016 18:03:38 -0400 Message-ID: References: <8760sqlec9.fsf@lifelogs.com> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=Utf-8 X-Trace: ger.gmane.org 1467410674 2587 80.91.229.3 (1 Jul 2016 22:04:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 22:04:34 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jul 02 00:04:24 2016 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 1bJ6Xs-0005OR-AW for ged-emacs-devel@m.gmane.org; Sat, 02 Jul 2016 00:04:20 +0200 Original-Received: from localhost ([::1]:35939 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ6Xr-0005Cg-Jk for ged-emacs-devel@m.gmane.org; Fri, 01 Jul 2016 18:04:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ6XH-0005CO-Os for emacs-devel@gnu.org; Fri, 01 Jul 2016 18:03:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJ6XF-0001aJ-UQ for emacs-devel@gnu.org; Fri, 01 Jul 2016 18:03:42 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ6XF-0001Yk-RO for emacs-devel@gnu.org; Fri, 01 Jul 2016 18:03:41 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bJ6XC-0000RY-44; Fri, 01 Jul 2016 18:03:39 -0400 In-reply-to: <8760sqlec9.fsf@lifelogs.com> (message from Ted Zlatanov on Thu, 30 Jun 2016 14:29:58 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:205060 Archived-At: [[[ 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. ]]] > As I was saying, I think the package name and call interface should not > contain "imgur" but rather that should be a symbol meaningful to the > package. So instead of: > (defun imgur-upload-image (image &optional datap) > "Upload IMAGE to imgur and return the resulting imgur URL. [...] > We'd have: > (defun larsuploader-upload-image (image service &optional datap) > "Upload IMAGE to SERVICE and return the resulting URL. [...] I think the first name is better, because it relates to the job the program does, so users will remember it. "larsuploader" has nothing to do with the job, so it is an arbitrary obstacle to memory. I can't see that it does any good. > ...which can then support Imgur and the *hundreds* of others out there. Each site will be different, so there is no benefit in implementing them together. We could provide an overall interface called 'upload-image' which would ask you which site and then call its uploader. -- Dr Richard Stallman President, Free Software Foundation (gnu.org, fsf.org) Internet Hall-of-Famer (internethalloffame.org) Skype: No way! See stallman.org/skype.html.