all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: Ian Eure <ian@simplegeo.com>, <8706@debbugs.gnu.org>
Subject: bug#8706: 24.0.50; [PATCH] Function to build a URL query-string
Date: Wed, 25 May 2011 15:31:16 -0500	[thread overview]
Message-ID: <87y61uldyj.fsf@lifelogs.com> (raw)
In-Reply-To: <91C69C7A-1980-4AF4-9B4B-4AFDB16D2C0B@simplegeo.com> (Ian Eure's message of "Wed, 25 May 2011 09:32:15 -0700")

On Wed, 25 May 2011 09:32:15 -0700 Ian Eure <ian@simplegeo.com> wrote: 

IE>  1. Two-element sequences should work as they do now.
IE>  2. One-element sequences should get an empty string appended.
IE>  3. Invalid sequences ignored.

IE> I'm not sure it makes sense to support #2, since it seems somewhat
IE> opaque and you can do the same thing with an empty string in scenario
IE> #1. 

Single-element parameters, shown as just "key" instead of "key=val", are
a well-known URL query string convention.  They are not opaque.  I think
they should be explicitly supported.

IE> #3 I'm not sure how to do without using remove-if from cl-seq.

IE> I don't know why someone would pass in nil in place of a k/v pair, and
IE> it seems better to raise an error about that rather than silently
IE> accepting it, since it seems likely to be an error in the calling
IE> code.

OK, let's make #3 an error.  That works for me.  Can you just comment on
it in the source so it's clear we punt to the caller?

Thanks!
Ted





  reply	other threads:[~2011-05-25 20:31 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-20 18:37 bug#8706: 24.0.50; [PATCH] Function to build a URL query-string Ian Eure
2011-05-23 14:36 ` Ted Zlatanov
     [not found]   ` <87zkmaopfs.fsf@lifelogs.com>
2011-05-25 16:32     ` Ian Eure
2011-05-25 20:31       ` Ted Zlatanov [this message]
2011-06-07 17:07         ` Ian Eure
2011-06-07 18:12           ` Stefan Monnier
2011-06-07 18:58           ` Ted Zlatanov
2011-06-11  1:15             ` Ted Zlatanov
2011-06-11  6:32               ` Deniz Dogan
2011-06-11 10:29                 ` Ted Zlatanov
2011-06-14  1:15               ` Ted Zlatanov
2011-06-14  1:29                 ` Ian Eure
2011-06-14 16:14                   ` Glenn Morris
2011-06-14 16:27                     ` Glenn Morris
2011-06-14 16:56                     ` Ted Zlatanov
2011-06-14 16:57                       ` Ian Eure
2012-04-12 19:31                         ` Lars Magne Ingebrigtsen
2012-04-12 19:34                           ` Lars Magne Ingebrigtsen
2012-04-15 23:51                             ` Ted Zlatanov
2012-04-16  0:58                               ` Glenn Morris
2012-04-18 22:37                                 ` Glenn Morris
2012-05-13 19:31                 ` Lars Magne Ingebrigtsen
2012-05-15  8:54                   ` Ted Zlatanov
2011-05-26  0:02       ` Stefan Monnier
2011-05-26 14:33         ` 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=87y61uldyj.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=8706@debbugs.gnu.org \
    --cc=ian@simplegeo.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.