* rfc2368
@ 2004-04-30 2:35 Yoichi NAKAYAMA
0 siblings, 0 replies; only message in thread
From: Yoichi NAKAYAMA @ 2004-04-30 2:35 UTC (permalink / raw)
Hi, Nagata-san
rfc2368 says:
> mailto:addr1%2C%20addr2
>
> is equivalent to
>
> mailto:?to=addr1%2C%20addr2
>
> is equivalent to
>
> mailto:addr1?to=addr2
but rfc2368.el's behaves like:
(rfc2368-parse-mailto-url "mailto:addr1%2C%20addr2")
=> (("To" . "addr1%2C%20addr2"))
(rfc2368-parse-mailto-url "mailto:?to=addr1%2C%20addr2")
=> (("To" . "addr1, addr2"))
(rfc2368-parse-mailto-url "mailto:addr1?to=addr2")
=> (("To" . "addr2, addr1"))
following diff to emacs-21.3.50 will make them equal.
--- rfc2368.el.orig 2004-04-30 11:25:23.000000000 +0900
+++ rfc2368.el 2004-04-30 11:23:33.000000000 +0900
@@ -120,12 +120,13 @@
;; deal w/ multiple 'To' recipients
(if prequery
(progn
+ (setq prequery (rfc2368-unhexify-string prequery))
(if (assoc "To" headers-alist)
(let* ((our-cons-cell
(assoc "To" headers-alist))
(our-cdr
(cdr our-cons-cell)))
- (setcdr our-cons-cell (concat our-cdr ", " prequery)))
+ (setcdr our-cons-cell (concat prequery ", " our-cdr)))
(setq headers-alist
(cons (cons "To" prequery) headers-alist)))))
Best regards,
--
Yoichi NAKAYAMA
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-30 2:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 2:35 rfc2368 Yoichi NAKAYAMA
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.