unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Bastien <bzg@gnu.org>
Cc: emacs-devel@gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>,
	Tassilo Horn <tsdh@gnu.org>
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	[thread overview]
Message-ID: <vpobfr3nbb.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <877gmgbl4h.fsf@bzg.ath.cx> (Bastien's message of "Sun, 10 Feb 2013 09:57:47 +0100")

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")



  reply	other threads:[~2013-02-10 20:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1U47Uj-0004Wk-3p@vcs.savannah.gnu.org>
2013-02-09 14:26 ` [Emacs-diffs] /srv/bzr/emacs/trunk r111707: * doc-view.el: Use (and prefer) soffice as default ODF->PDF Stefan Monnier
2013-02-09 20:03   ` Glenn Morris
2013-02-10  0:26     ` Glenn Morris
2013-02-10  8:57       ` Bastien
2013-02-10 20:51         ` Glenn Morris [this message]
2013-02-11  3:36           ` Jambunathan K
2013-02-11  4:40             ` Stephen J. Turnbull
2013-02-12  9:59               ` Tassilo Horn
2013-02-12 11:58                 ` Tassilo Horn
2013-02-10 11:07   ` Tassilo Horn

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpobfr3nbb.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=bzg@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=tsdh@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).