Gnus development mailing list
 help / color / mirror / Atom feed
From: Didier Verna <didier@lrde.epita.fr>
Subject: [PATCH] test
Date: Wed, 05 Dec 2001 16:10:32 +0100	[thread overview]
Message-ID: <mux4rn5u2hj.fsf@uzeb.lrde.epita.fr> (raw)


		Dear folks,

	

lisp/ChangeLog addition:

2001-12-05  Didier Verna  <didier@lrde.epita.fr>

	* mm-decode.el (mm-mailcap-command): test.


Gnus Patch (runsocks cvs -q diff -u -t -b -B -w lisp/mm-decode.el):

Index: lisp/mm-decode.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/mm-decode.el,v
retrieving revision 6.57
diff -u -u -t -b -B -w -r6.57 mm-decode.el
--- lisp/mm-decode.el	2001/10/19 14:13:36	6.57
+++ lisp/mm-decode.el	2001/12/05 15:13:51
@@ -721,7 +721,8 @@
         (beg 0)
         (uses-stdin t)
         out sub total)
-    (while (string-match "%{\\([^}]+\\)}\\|%s\\|%t\\|%%" method beg)
+    (while (string-match "%{\\([^}]+\\)}\\|%s\\|'%s'\\|%t\\|'%t'\\|%%"
+                         method beg)
       (push (substring method beg (match-beginning 0)) out)
       (setq beg (match-end 0)
             total (match-string 0 method)
@@ -729,11 +730,11 @@
       (cond
        ((string= total "%%")
         (push "%" out))
-       ((string= total "%s")
+       ((or (string= total "%s") (string= total "'%s'"))
         (setq uses-stdin nil)
         (push (mm-quote-arg
                (gnus-map-function mm-path-name-rewrite-functions file)) out))
-       ((string= total "%t")
+       ((or (string= total "%t") (string= total "'%t'"))
         (push (mm-quote-arg (car type-list)) out))
        (t
         (push (mm-quote-arg (or (cdr (assq (intern sub) ctl)) "")) out))))

-- 
Didier Verna, didier@lrde.epita.fr, http://www.lrde.epita.fr/~didier

EPITA / LRDE, 14-16 rue Voltaire   Tel.+33 (1) 53 14 59 47
94276 Le Kremlin-Bicêtre, France   Fax.+33 (1) 53 14 59 22   didier@xemacs.org



             reply	other threads:[~2001-12-05 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-05 15:10 Didier Verna [this message]
2001-12-05 15:20 ` Didier Verna

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=mux4rn5u2hj.fsf@uzeb.lrde.epita.fr \
    --to=didier@lrde.epita.fr \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).