all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: imgur.el and small packages to interface with commercial services
Date: Fri, 01 Jul 2016 18:03:38 -0400	[thread overview]
Message-ID: <E1bJ6XC-0000RY-44@fencepost.gnu.org> (raw)
In-Reply-To: <8760sqlec9.fsf@lifelogs.com> (message from Ted Zlatanov on Thu,  30 Jun 2016 14:29:58 -0400)

[[[ 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.




  reply	other threads:[~2016-07-01 22:03 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-29 12:21 imgur.el and small packages to interface with commercial services Lars Magne Ingebrigtsen
2016-06-29 12:38 ` Kaushal Modi
2016-06-30 15:06 ` Ted Zlatanov
2016-06-30 15:39   ` Lars Magne Ingebrigtsen
2016-06-30 16:05     ` Ted Zlatanov
2016-06-30 23:20   ` Richard Stallman
2016-06-30 17:57 ` Richard Stallman
2016-06-30 18:29   ` Ted Zlatanov
2016-07-01 22:03     ` Richard Stallman [this message]
2016-07-02  0:12       ` Ted Zlatanov
2016-07-03  0:06         ` Richard Stallman
2016-07-05  2:34           ` Ted Zlatanov
2016-07-20 11:55             ` Lars Ingebrigtsen
2016-07-20 13:13               ` Ted Zlatanov
2016-07-20 13:16                 ` Lars Ingebrigtsen
2016-07-20 13:30                   ` Ted Zlatanov
2016-07-20 13:46                     ` Lars Ingebrigtsen
2016-07-20 15:15                       ` Ted Zlatanov
2016-07-20 16:41                       ` [OFFTOPIC] " Stefan Monnier
2016-07-20 17:01                         ` Lars Ingebrigtsen

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=E1bJ6XC-0000RY-44@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.