From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-store-link gives lisp error "wrong-type-argument" [9.1.3 (release_9.1.3-171-gb6df86)] Date: Thu, 18 Jan 2018 23:11:56 +0100 Message-ID: <87inbyrf4j.fsf@nicolasgoaziou.fr> References: <20180118193643.GA19499@seven> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ecIPh-0000wo-LC for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 17:12:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ecIPg-0003ZG-NA for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 17:12:01 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:49608) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ecIPg-0003Yg-Gs for emacs-orgmode@gnu.org; Thu, 18 Jan 2018 17:12:00 -0500 In-Reply-To: <20180118193643.GA19499@seven> (Stefan-W. Hahn's message of "Thu, 18 Jan 2018 20:36:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Stefan-W. Hahn" Cc: emacs-orgmode@gnu.org Hello, "Stefan-W. Hahn" writes: > Hello, > > when storing a link of an bibtex entry I get an lisp error. This happens > because I have more then one function for storing bibtex links and > org-store-link calls completing-read with initial-input as symbol not as > string. > > This has been changed in commit > > commit 0cc231a7bb9f261640205943ddeb42ad8cefc43d > Author: Nicolas Goaziou > Date: Fri Dec 1 19:33:35 2017 +0100 > > > Not working: > (completing-read "what: " '(a b c) nil t 'a) > > Working: > (completing-read "what: " '(a b c) nil t "a") > > In the version before the given commit then initial-input parameter was > the "symbol-name" of the value. > > The following change repairs the problem, perhaps this is sufficient. Fixed. Thank you for the report and the patch. Regards, -- Nicolas Goaziou