From: Katsumi Yamaoka <yamaoka@jpl.org>
To: Jens Lechtenboerger <lechten@wi.uni-muenster.de>
Cc: 14994-done@debbugs.gnu.org
Subject: bug#14994: 24.3; gnus-completing-read in smime.el fails to complete
Date: Thu, 01 Aug 2013 09:12:19 +0900 [thread overview]
Message-ID: <b4mtxjas1zw.fsf@jpl.org> (raw)
In-Reply-To: <874nbbukki.fsf@pcwi7557.uni-muenster.de>
[-- Attachment #1: Type: text/plain, Size: 591 bytes --]
Jens Lechtenboerger wrote:
> Hi there,
> the calls to gnus-completing-read in smime-sign-buffer and
> smime-decrypt-buffer do not provide completion support.
> If I change gnus-completing-read-function from
> gnus-emacs-completing-read to completing-read, everything works:
> (setq gnus-completing-read-function 'completing-read)
> A related problem is reported there:
> https://bugs.launchpad.net/ubuntu/+source/emacs24/+bug/1096449
> Best wishes
> Jens
This has been fixed at 2013-05-01 (bug#14304), so it will work
properly in the forthcoming Emacs 24.4. Here's a patch for 24.3:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 804 bytes --]
--- gnus-util.el~ 2013-01-01 20:37:17.000000000 +0000
+++ gnus-util.el 2013-08-01 00:10:19.897216100 +0000
@@ -1531,9 +1531,12 @@
"Call standard `completing-read-function'."
(let ((completion-styles gnus-completion-styles))
(completing-read prompt
- ;; Old XEmacs (at least 21.4) expect an alist for
- ;; collection.
- (mapcar 'list collection)
+ ;; Old XEmacs (at least 21.4) expect an alist,
+ ;; in which the car of each element is a string,
+ ;; for collection.
+ (mapcar (lambda (elem)
+ (list (format "%s" (or (car-safe elem) elem))))
+ collection)
nil require-match initial-input history def)))
(autoload 'ido-completing-read "ido")
next prev parent reply other threads:[~2013-08-01 0:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-31 9:48 bug#14994: 24.3; gnus-completing-read in smime.el fails to complete Jens Lechtenboerger
2013-08-01 0:12 ` Katsumi Yamaoka [this message]
2013-08-01 2:30 ` Stefan Monnier
2013-08-01 3:51 ` Katsumi Yamaoka
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=b4mtxjas1zw.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=14994-done@debbugs.gnu.org \
--cc=lechten@wi.uni-muenster.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.