From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug#14605: Problem with export an .org file to .pdf does not open pdf file Date: Fri, 20 Sep 2013 14:29:00 +0200 Message-ID: References: <20130917212557.GC16911@kuru.dyndns-at-home.com> <87eh8m4hx6.fsf@ucl.ac.uk> <20130918121429.GA2905@kuru.dyndns-at-home.com> <7618A639-D354-436C-A7D4-A0030F9C9663@gmail.com> <8761txig54.fsf@gmail.com> <20130919063652.GA443@kuru.dyndns-at-home.com> <20130919142548.GD16381@kuru.dyndns-at-home.com> <46BBAE44-326C-4128-BA68-5361F8632EE3@gmail.com> <20130920110741.GA2394@kuru.dyndns-at-home.com> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B957B29D-3EBF-4C60-864A-FFB9330A703D"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMzpf-0006wS-JW for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 08:29:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VMzpX-0004ms-6b for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 08:29:11 -0400 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]:44384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VMzpX-0004ma-0E for emacs-orgmode@gnu.org; Fri, 20 Sep 2013 08:29:03 -0400 Received: by mail-ee0-f41.google.com with SMTP id d17so229514eek.14 for ; Fri, 20 Sep 2013 05:29:02 -0700 (PDT) In-Reply-To: <20130920110741.GA2394@kuru.dyndns-at-home.com> 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: Suvayu Ali Cc: Nick Dokos , emacs-orgmode@gnu.org --Apple-Mail=_B957B29D-3EBF-4C60-864A-FFB9330A703D Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On Sep 20, 2013, at 1:07 PM, Suvayu Ali = wrote: > Hi Carsten, >=20 > On Fri, Sep 20, 2013 at 12:49:43PM +0200, Carsten Dominik wrote: >>=20 >> On Sep 19, 2013, at 4:25 PM, Suvayu Ali = wrote: >>=20 >>> I have some good news (sort of). We can force generic open by = calling >>> xdg-open like this[1]: >>>=20 >>> DE=3Dgeneric xdg-open /path/to/file >>=20 >> Hi Suvayu, >>=20 >> interesting! How does this work? Is this setting an environment = variable DE before it is run? >> The syntax looks unfamiliar to me. >=20 > Yes, it is setting the DE variable (internal to xdg-open) to generic. > You can temporarily alter the environment of a command by prefixing it > with `var=3Dvalue '. The cool thing is the current shell does not = retain > the temporary value. Here is an example: >=20 > $ var=3Dfoo > $ var=3Dbar sh -c 'echo $var' > bar > $ echo $var > foo OK, this sounds useful. Next question: Maybe people who *are* on a Desktop environment will not = like it if we force DE=3Dgeneric onto them as well? Or would't that make a difference? - Carsten >=20 > :) >=20 > --=20 > Suvayu >=20 > Open source is the future. It sets us free. --Apple-Mail=_B957B29D-3EBF-4C60-864A-FFB9330A703D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSPD+MAAoJEO+gg/nAZuwMktQIAIJGdoFLBI67ZJD/67BdJXyE zxKzys7UcQt5/m7vRv0M9qL9TCs5Q2yyJI+l4g51EeniXn+FjohyX+XhQhMpxRkz 9tmZeTNwJmrthNtBY6JW3Xf9zNu2EZQQnUiYybCRc3wRZ2bdSs25bSjRGmhRxGu1 T6Kb9GnfoNHNzqYknacfVuot9Fj8jAGGSloPuA9GjVboD5kd1oPkQX7p85e03PuH Avy1Xe4Ryf31X063xXWTn51kSZMtrE6XIQtK2HaN+vE+44nIdLzA3ycaitaGPUhD 0WxHdEhQMv9C7VXw7aszCv2Czhm+arZpZImfCnj0MhsHFFYqDM4L9NDd6fUlvgc= =tA6S -----END PGP SIGNATURE----- --Apple-Mail=_B957B29D-3EBF-4C60-864A-FFB9330A703D--