From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-pdfview-open doesn't work anymore Date: Fri, 05 Feb 2016 23:43:36 +0100 Message-ID: <87si16pylj.fsf@nicolasgoaziou.fr> References: <87a8nfzp44.fsf@free.fr> <8760y3qdfw.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRp4M-0000yP-Qf for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 17:41:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRp4L-0004BF-UX for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 17:41:38 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:42370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRp4L-0004B8-Nr for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 17:41:37 -0500 In-Reply-To: (Michael Brand's message of "Fri, 5 Feb 2016 19:47:13 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Brand Cc: Org Mode , Julien Cubizolles Hello, Michael Brand writes: > + ;; FIXME: Remove this check when most default installations of > + ;; Emacs have at least Org 9.0. > + ((wrong-number-of-arguments invalid-function) > + (user-error > + (concat > + "Please see Org News for version 9.0 about `org-file-apps', " > + "error: " > + (prin1-to-string err)))))) (user-error "Please see Org News for version 9.0 about `org-file-apps', error: %S" (nth 1 err)) You can use continuation character (i.e., "\" followed by a newline) if string is too large. > ((consp cmd) > ;; FIXME: Remove this check when most default installations of > ;; Emacs have at least Org 9.0. > @@ -11333,7 +11342,9 @@ If the file does not exist, an error is thrown." > ;; `org-link-frame-setup' for an old usage of `org-file-apps' > ;; with sexp instead of a function for `cmd'. > (user-error > - "Please see Org News for version 9.0 about `org-file-apps'")) > + (concat "Please see Org News for version 9.0 about `org-file-apps', " > + "error: deprecated usage of " > + (prin1-to-string cmd)))) Ditto. Regards, -- Nicolas Goaziou