emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gnus issues


From: Reiner Steib
Subject: Re: Gnus issues
Date: Tue, 28 Sep 2004 19:37:44 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux)

On Mon, Sep 27 2004, Dave Love wrote:

> In mml.el, I think the second and third calls of `completing-read'
> should have t for the fourth arg (REQUIRE-MATCH) since only the listed
> completions are meaningful.  I tend to type `a RET' and expect it to
> complete to `attachment', but it just makes the mml stuff in the
> buffer invalid.

Do you refer to the current Gnus version on the Emacs trunk?  When
entering just RET when prompted for the disposition, you should get
"inline" or "attachment":

--8<---------------cut here---------------start------------->8---
(defun mml-minibuffer-read-disposition (type &optional default)
  (let* ((default (or default
                      (if (string-match "^text/.*" type)
                          "inline"
                        "attachment")))
         (disposition (completing-read "Disposition: "
                                       '(("attachment") ("inline") (""))
                                       nil
                                       nil)))
    (if (not (equal disposition ""))
        disposition
      default)))
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]