Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-22 Thread Suvayu Ali
Hi Matt, On Fri, Sep 20, 2013 at 6:34 PM, Matt Price mopto...@gmail.com wrote: On Fri, Sep 20, 2013 at 9:14 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Fri, Sep 20, 2013 at 02:29:00PM +0200, Carsten Dominik wrote: On Sep 19, 2013, at 4:25 PM, Suvayu Ali

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-22 Thread Carsten Dominik
On 22.9.2013, at 10:49, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi Matt, On Fri, Sep 20, 2013 at 6:34 PM, Matt Price mopto...@gmail.com wrote: On Fri, Sep 20, 2013 at 9:14 AM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Fri, Sep 20, 2013 at 02:29:00PM +0200, Carsten Dominik

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-20 Thread Carsten Dominik
On Sep 19, 2013, at 4:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Thu, Sep 19, 2013 at 08:36:52AM +0200, Suvayu Ali wrote: On Thu, Sep 19, 2013 at 08:24:51AM +0200, Carsten Dominik wrote: On 19.9.2013, at 06:34, Nick Dokos ndo...@gmail.com wrote: Carsten Dominik

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-20 Thread Suvayu Ali
Hi Carsten, On Fri, Sep 20, 2013 at 12:49:43PM +0200, Carsten Dominik wrote: On Sep 19, 2013, at 4:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I have some good news (sort of). We can force generic open by calling xdg-open like this[1]: DE=generic xdg-open /path/to/file

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-20 Thread Carsten Dominik
On Sep 20, 2013, at 1:07 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi Carsten, On Fri, Sep 20, 2013 at 12:49:43PM +0200, Carsten Dominik wrote: On Sep 19, 2013, at 4:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I have some good news (sort of). We can force generic open

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-20 Thread Suvayu Ali
On Fri, Sep 20, 2013 at 02:29:00PM +0200, Carsten Dominik wrote: On Sep 19, 2013, at 4:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I have some good news (sort of). We can force generic open by calling xdg-open like this[1]: DE=generic xdg-open /path/to/file OK,

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-19 Thread Carsten Dominik
On 19.9.2013, at 06:34, Nick Dokos ndo...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 18.9.2013, at 14:14, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: ... I think that is expected. The bug is in the desktop specific open commands. Since you use none, generic

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-19 Thread Suvayu Ali
On Thu, Sep 19, 2013 at 08:24:51AM +0200, Carsten Dominik wrote: On 19.9.2013, at 06:34, Nick Dokos ndo...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 18.9.2013, at 14:14, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: ... I think that is expected. The bug

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-19 Thread Glyn Millington
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Unfortunately this is a problem with most of the desktop specific *-open commands. Take a look at this post from emacs-devel (thanks to Glenn for pointing me to it): http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00279.html

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-19 Thread Suvayu Ali
On Thu, Sep 19, 2013 at 08:36:52AM +0200, Suvayu Ali wrote: On Thu, Sep 19, 2013 at 08:24:51AM +0200, Carsten Dominik wrote: On 19.9.2013, at 06:34, Nick Dokos ndo...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 18.9.2013, at 14:14, Suvayu Ali

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Suvayu Ali
Hi, I think I have tracked down the issue. On Tue, Sep 17, 2013 at 06:10:02PM -0400, Matt Price wrote: On Tue, Sep 17, 2013 at 5:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I would like to know if other desktop environments has the same issue: kde-open (KDE) and gvfs-open

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Carsten Dominik
On 18.9.2013, at 08:51, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi, I think I have tracked down the issue. On Tue, Sep 17, 2013 at 06:10:02PM -0400, Matt Price wrote: On Tue, Sep 17, 2013 at 5:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I would like to know if other

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Glyn Millington
Matt Price mopto...@gmail.com writes: On Tue, Sep 17, 2013 at 5:25 PM, Glyn Millington glyn.milling...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Glyn Millington
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi, On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: On 17.9.2013, at 22:21, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I can consistently repeat this outside of Org. I am trying with dired-do-shell-command'.

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Eric S Fraga
Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] I need some feedback from users using different desktop environments. [...] I would like to know if other desktop environments has the same issue: kde-open (KDE) and gvfs-open (Gnome, Mate, etc). So to test, just open a directory with

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Suvayu Ali
Hi Eric, On Wed, Sep 18, 2013 at 10:07:17AM +0100, Eric S Fraga wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] I need some feedback from users using different desktop environments. [...] I would like to know if other desktop environments has the same issue: kde-open

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Carsten Dominik
On 18.9.2013, at 14:14, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi Eric, On Wed, Sep 18, 2013 at 10:07:17AM +0100, Eric S Fraga wrote: Suvayu Ali fatkasuvayu+li...@gmail.com writes: [...] I need some feedback from users using different desktop environments. [...] I would

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-18 Thread Nick Dokos
Carsten Dominik carsten.domi...@gmail.com writes: On 18.9.2013, at 14:14, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: ... I think that is expected. The bug is in the desktop specific open commands. Since you use none, generic open is used. That is simply a shell function, and does the

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Matt Price
On Tue, Sep 17, 2013 at 12:42 AM, Matt Price mopto...@gmail.com wrote: On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz strom...@nexgo.de wrote: Or you could leave it in and see who complains. The instances where xdg-open doesn't work or is not correctly configured will probably be in multi-user

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Matt Price
(xdg-open-my-org-file.html) has been run. -- (xdg-open my-org-file.html) has been run.

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Carsten Dominik
On 17.9.2013, at 08:01, Matt Price mopto...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:42 AM, Matt Price mopto...@gmail.com wrote: On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz strom...@nexgo.de wrote: Or you could leave it in and see who complains. The instances where xdg-open doesn't

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Glyn Millington
Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 08:01, Matt Price mopto...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:42 AM, Matt Price mopto...@gmail.com wrote: On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz strom...@nexgo.de wrote: Or you could leave it in and see who

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Suvayu Ali
On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 08:01, Matt Price mopto...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:42 AM, Matt Price mopto...@gmail.com wrote: On Tue, Sep 3, 2013 at 5:12 AM, Achim

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Suvayu Ali
On Tue, Sep 17, 2013 at 09:34:34PM +0200, Carsten Dominik wrote: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 08:01, Matt Price

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Carsten Dominik
On 17.9.2013, at 21:42, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:34:34PM +0200, Carsten Dominik wrote: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Carsten Dominik
On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 08:01, Matt Price mopto...@gmail.com wrote: On Tue, Sep 17, 2013 at 12:42 AM, Matt

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Suvayu Ali
Hi, Some comments and a question. On Tue, Sep 17, 2013 at 09:42:50PM +0200, Suvayu Ali wrote: On Tue, Sep 17, 2013 at 09:34:34PM +0200, Carsten Dominik wrote: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I see the same problem. But I think this might be an

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Carsten Dominik
On 17.9.2013, at 22:21, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi, Some comments and a question. On Tue, Sep 17, 2013 at 09:42:50PM +0200, Suvayu Ali wrote: On Tue, Sep 17, 2013 at 09:34:34PM +0200, Carsten Dominik wrote: On 17.9.2013, at 15:56, Suvayu Ali

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Glyn Millington
Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 08:01, Matt Price mopto...@gmail.com

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Suvayu Ali
Hi, On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: On 17.9.2013, at 22:21, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I can consistently repeat this outside of Org. I am trying with `dired-do-shell-command'. Steps: 1) (dired-do-shell-command xdg-open nil

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Matt Price
On Tue, Sep 17, 2013 at 5:25 PM, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: Hi, On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: On 17.9.2013, at 22:21, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: I can consistently repeat this outside of Org. I am trying with

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-17 Thread Matt Price
On Tue, Sep 17, 2013 at 5:25 PM, Glyn Millington glyn.milling...@gmail.com wrote: Carsten Dominik carsten.domi...@gmail.com writes: On 17.9.2013, at 15:56, Suvayu Ali fatkasuvayu+li...@gmail.com wrote: On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-16 Thread Matt Price
On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz strom...@nexgo.de wrote: Or you could leave it in and see who complains. The instances where xdg-open doesn't work or is not correctly configured will probably be in multi-user / corporate environments where it is unlikely that the newest Org or

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Carsten Dominik
On Sep 2, 2013, at 10:54 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On 2.9.2013, at 18:54, Achim Gratz strom...@nexgo.de wrote: Carsten Dominik writes: OK, we now use xdg-open when available on a Linux system. The availability of xdg-open has nothing to do with whether or not

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Suvayu Ali
On Tue, Sep 03, 2013 at 09:52:26AM +0200, Carsten Dominik wrote: On Sep 2, 2013, at 10:54 PM, Carsten Dominik carsten.domi...@gmail.com wrote: On 2.9.2013, at 18:54, Achim Gratz strom...@nexgo.de wrote: Carsten Dominik writes: OK, we now use xdg-open when available on a Linux

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Achim Gratz
Carsten Dominik carsten.dominik at gmail.com writes: Do you know how I would test this? Something like this: $ xdg-settings get default-web-browser xdg-settings: unknown desktop environment There ought to be some better way maybe, but you'd at least find out if the XDG utilities are in path

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Carsten Dominik
On 3.9.2013, at 11:12, Achim Gratz strom...@nexgo.de wrote: Carsten Dominik carsten.dominik at gmail.com writes: Do you know how I would test this? Something like this: $ xdg-settings get default-web-browser xdg-settings: unknown desktop environment There ought to be some better

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Jambunathan K
Achim Gratz strom...@nexgo.de writes: While I think it's a good default for someone using a desktop that conforms to XDG standards, there should be a check if in fact Emacs is running on such a desktop. What desktops you have in mind? How can they be checked for? On an Emacs running within

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-03 Thread Achim Gratz
Jambunathan K writes: On an Emacs running within a console, can one really view say a PDF file. Yes, if it has graphics capabilities and the application knows how to use them. For a long time that was the only way to get graphics on UNIX and it only changed when workstations(1) became

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-02 Thread Achim Gratz
Carsten Dominik writes: OK, we now use xdg-open when available on a Linux system. The availability of xdg-open has nothing to do with whether or not you are running Emacs on a Linux system. Indeed, even on a system where it is available, it won't do anything useful if you're running from a

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-02 Thread Carsten Dominik
On 2.9.2013, at 18:54, Achim Gratz strom...@nexgo.de wrote: Carsten Dominik writes: OK, we now use xdg-open when available on a Linux system. The availability of xdg-open has nothing to do with whether or not you are running Emacs on a Linux system. Indeed, even on a system where it is

Re: [O] bug#14605: Problem with export an .org file to .pdf does not open pdf file

2013-09-02 Thread Suvayu Ali
Hi Achim, Carsten, On Mon, Sep 02, 2013 at 10:54:13PM +0200, Carsten Dominik wrote: On 2.9.2013, at 18:54, Achim Gratz strom...@nexgo.de wrote: Carsten Dominik writes: OK, we now use xdg-open when available on a Linux system. The availability of xdg-open has nothing to do with