From: "Davis Herring" <herring@lanl.gov>
To: "Andreas Schwab" <schwab@suse.de>
Cc: Diane Murray <disumu@x3y2z1.net>, emacs-devel@gnu.org
Subject: Re: url-cookie.el: Deal with wildcard dots in domain values.
Date: Mon, 2 Apr 2007 16:23:09 -0700 (PDT) [thread overview]
Message-ID: <51823.128.165.123.18.1175556189.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <je8xdcr12j.fsf@sykes.suse.de>
> This can be written shorter:
>
> (if (eq ?. (aref (car cur) 0))
> (substring (car cur) 1)
> (car cur)))
Oh yeah?
(substring (car cur) (if (eq ?. (aref (car cur) 0)) 1 0))
Not that I actually recommend copying every cookie's domain name...
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
next prev parent reply other threads:[~2007-04-02 23:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-01 0:30 url-cookie.el: Deal with wildcard dots in domain values Diane Murray
2007-04-01 7:44 ` Andreas Schwab
2007-04-02 23:23 ` Davis Herring [this message]
2007-04-01 15:39 ` Chong Yidong
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=51823.128.165.123.18.1175556189.squirrel@webmail.lanl.gov \
--to=herring@lanl.gov \
--cc=disumu@x3y2z1.net \
--cc=emacs-devel@gnu.org \
--cc=schwab@suse.de \
/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.