emacs-orgmode
[Top][All Lists]
Advanced

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

[O] Bug: If multiple org-store-link-function available, Org fails to pro


From: Benjamin Drieu
Subject: [O] Bug: If multiple org-store-link-function available, Org fails to prompt which [8.2.5g (8.2.5g-dist @ /home/benj/usr/share/emacs/site-lisp/org/)]
Date: Wed, 29 Jan 2014 11:46:40 +0100

Since probably version 8.2 of Org I could not store links from Gnus.
After some investigation it appears that org-store-link was faulty, not
allowing me to choose between functions.  The cause is that
completing-read was not called properly, attached patch (hopefully)
fixes this.

Bug is trigged only if multiple store link functions are available,
which was my case since I included org-nnml.el as well as org-gnus.el.


Emacs  : GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-09 on murphy, modified by Debian
Package: Org-mode version 8.2.5g (8.2.5g-dist @ 
/home/benj/usr/share/emacs/site-lisp/org/)

-- 
* Benjamin Drieu <address@hidden> - http://www.april.org/
* Soutenez le logiciel libre, rejoignez l'April
  http://www.april.org/association/adhesion.html
--- org-orig.el 2014-01-29 11:43:43.000000000 +0100
+++ org.el      2014-01-29 11:39:37.000000000 +0100
@@ -9411,7 +9411,7 @@
                       (funcall (intern
                                 (completing-read
                                  "Which function for creating the link? "
-                                 sfunsn t (car sfunsn)))))
+                                 sfunsn nil t (car sfunsn)))))
                  (funcall (caar sfuns)))
              (setq link (plist-get org-store-link-plist :link)
                    desc (or (plist-get org-store-link-plist

Attachment: pgpi3sjyQ3uUA.pgp
Description: PGP signature


reply via email to

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