From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF Date: Sun, 10 Feb 2013 15:51:04 -0500 Message-ID: References: <877gmgbl4h.fsf@bzg.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1360529469 19068 80.91.229.3 (10 Feb 2013 20:51:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Feb 2013 20:51:09 +0000 (UTC) Cc: emacs-devel@gnu.org, Stefan Monnier , Tassilo Horn To: Bastien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 10 21:51:30 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U4ds1-0005Kp-Sm for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2013 21:51:30 +0100 Original-Received: from localhost ([::1]:55033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4dri-0006kc-RI for ged-emacs-devel@m.gmane.org; Sun, 10 Feb 2013 15:51:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:58011) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4drf-0006k7-GL for emacs-devel@gnu.org; Sun, 10 Feb 2013 15:51:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U4dre-0008T4-Nl for emacs-devel@gnu.org; Sun, 10 Feb 2013 15:51:07 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U4dre-0008Sy-KZ for emacs-devel@gnu.org; Sun, 10 Feb 2013 15:51:06 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1U4drc-00067d-VM; Sun, 10 Feb 2013 15:51:05 -0500 X-Spook: Leitrim SEAL Team 6 Cohiba Agfa Majic undercover IMF X-Ran: {^PC7!A2:!&&qkj''!dGRy}:b5n<-Nm^ (Bastien's message of "Sun, 10 Feb 2013 09:57:47 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156948 Archived-At: Bastien wrote: >> PS I think it's impossible to have unoconv without soffice, so this >> change amounts to "always use soffice". > > I'm not sure I get the logic here: you need to have soffice installed > if you want to use unoconv, but being able to use unoconv instead of > soffice is good. So as I understand it, the change does not amount > to "always use soffice", does it? (cond ((executable-find "soffice") "soffice") ((executable-find "unoconv") "unoconv") (t "soffice")) It is impossible for this to return anything but "soffice". IMO it should be: (or (executable-find "unoconv") "soffice")