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 wrote: > Hi Matt, > >> On Fri, Sep 20, 2013 at 6:34 PM, Matt Price wrote: >>> On Fri, Sep 20, 2013 at 9:14 AM, Suvayu Ali >>> 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 Suvayu Ali
Hi Matt, > On Fri, Sep 20, 2013 at 6:34 PM, Matt Price wrote: > > On Fri, Sep 20, 2013 at 9:14 AM, Suvayu Ali > > wrote: > >> On Fri, Sep 20, 2013 at 02:29:00PM +0200, Carsten Dominik wrote: > >>> > >>> >> On Sep 19, 2013, at 4:25 PM, Suvayu Ali > >>> >> wrote: > >>> >> > >>> >>> I have some

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

2013-09-20 Thread Matt Price
sorry, forgot to cc the group. On Fri, Sep 20, 2013 at 6:34 PM, Matt Price wrote: > On Fri, Sep 20, 2013 at 9:14 AM, Suvayu Ali > wrote: >> On Fri, Sep 20, 2013 at 02:29:00PM +0200, Carsten Dominik wrote: >>> >>> >> On Sep 19, 2013, at 4:25 PM, Suvayu Ali >>> >> wrote: >>> >> >>> >>> I have s

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 > >> 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-20 Thread Carsten Dominik
On Sep 20, 2013, at 1:07 PM, Suvayu Ali 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 wrote: >> >>> I have some good news (sort of). We can force generic open by calling >>> xdg-open like this[1]: >>>

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 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 > > Hi Suvayu, >

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 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 wrote: >>> Carsten Dominik writes: > On 18.9.2013, at 14:

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 wrote: > > > > > Carsten Dominik writes: > > > > > >> On 18.9.2013, at 14:14, Suvayu Ali wrote: > > >> ... > > >>> I think

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 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): > > > > Essentially, running xdg-

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

2013-09-18 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 wrote: > > > Carsten Dominik writes: > > > >> On 18.9.2013, at 14:14, Suvayu Ali wrote: > >> ... > >>> I think that is expected. The bug is in the desktop specific open > >>> commands. Si

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

2013-09-18 Thread Carsten Dominik
On 19.9.2013, at 06:34, Nick Dokos wrote: > Carsten Dominik writes: > >> On 18.9.2013, at 14:14, Suvayu Ali 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 d

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 writes: > On 18.9.2013, at 14:14, Suvayu Ali 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 right thing. > > Is there a generic open comma

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 wrote: > Hi Eric, > > On Wed, Sep 18, 2013 at 10:07:17AM +0100, Eric S Fraga wrote: >> Suvayu Ali writes: >> >> [...] >> >>> I need some feedback from users using different desktop environments. >> >> [...] >> >>> I would like to know if other desktop env

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

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 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 pdf/odt/html files in dir

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 writes: > Hi, > > On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: >> On 17.9.2013, at 22:21, Suvayu Ali >> wrote: >> > I can consistently repeat this outside of Org. I am trying with >> > dired-do-shell-command'. >> > >> > Steps: 1) (dired-do-shell-command "xdg-op

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 writes: > On Tue, Sep 17, 2013 at 5:25 PM, Glyn Millington > wrote: >> Carsten Dominik writes: >> >>> On 17.9.2013, at 15:56, Suvayu Ali >>> wrote: >>> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: > Carsten Dominik writes: > >> On 17.9.2013, at

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

2013-09-17 Thread Carsten Dominik
On 18.9.2013, at 08:51, Suvayu Ali 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 >> wrote: >>> >>> I would like to know if other desktop environments has the same issue:

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

2013-09-17 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 > wrote: > > > > I would like to know if other desktop environments has the same issue: > > kde-open (KDE) and gvfs-open (Gnome, Mate, etc). So t

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 wrote: > Carsten Dominik writes: > >> On 17.9.2013, at 15:56, Suvayu Ali >> wrote: >> >>> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik writes: > On 17.9.2013, at 08:01, Matt Price wrote: > >>

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 wrote: > Hi, > > On Tue, Sep 17, 2013 at 10:31:41PM +0200, Carsten Dominik wrote: >> >> On 17.9.2013, at 22:21, Suvayu Ali wrote: >> > >> > I can consistently repeat this outside of Org. I am trying with >> > `dired-do-shell-command'. >> > >> > Steps:

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 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 '("file.pdf")),

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 writes: > On 17.9.2013, at 15:56, Suvayu Ali > wrote: > >> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: >>> Carsten Dominik writes: >>> On 17.9.2013, at 08:01, Matt Price wrote: > On Tue, Sep 17, 2013 at 12:42 AM, Matt Price > wrote: >>>

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 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 wrote: >>> I see the same pro

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 wrote: > > > > > I see the same problem. But I think this might be an Emacs issue; I > >

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 wrote: > On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: >> Carsten Dominik writes: >> >>> On 17.9.2013, at 08:01, Matt Price wrote: >>> On Tue, Sep 17, 2013 at 12:42 AM, Matt Price wrote: > On Tue, Sep 3, 2013 at 5:12 AM, Ac

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 wrote: > On Tue, Sep 17, 2013 at 09:34:34PM +0200, Carsten Dominik wrote: >> >> On 17.9.2013, at 15:56, Suvayu Ali wrote: >> >>> On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: Carsten Dominik writes: > On 17.9.2013, at 08:01

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 wrote: > > > On Tue, Sep 17, 2013 at 09:04:45AM +0100, Glyn Millington wrote: > >> Carsten Dominik writes: > >> > >>> On 17.9.2013, at 08:01, Matt Price wrote: > >>> > On Tue, Sep 17,

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 writes: > > > On 17.9.2013, at 08:01, Matt Price wrote: > > > >> On Tue, Sep 17, 2013 at 12:42 AM, Matt Price > >> wrote: > >>> On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz > >>> wrote: > Or you could leave

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 writes: > On 17.9.2013, at 08:01, Matt Price wrote: > >> On Tue, Sep 17, 2013 at 12:42 AM, Matt Price >> wrote: >>> On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz >>> wrote: Or you could leave it in and see who complains. The instances where xdg-open doesn't work or is

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 wrote: > On Tue, Sep 17, 2013 at 12:42 AM, Matt Price wrote: >> On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz 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 prob

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

2013-09-16 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-16 Thread Matt Price
On Tue, Sep 17, 2013 at 12:42 AM, Matt Price wrote: > On Tue, Sep 3, 2013 at 5:12 AM, Achim Gratz 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 wh

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 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 Emacs is instal

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 avail

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

2013-09-03 Thread Jambunathan K
Carsten Dominik writes: > OK, we now use xdg-open when available on a Linux system. Just realized that you have reverted the commit (a bit too early). Emacs goes through a long pre-test cycle for a reason. There is a plenty of room to test the waters on how useful or problematic xdg-open is.

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 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 a console, can

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 wrote: > Carsten Dominik 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 le

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 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 and think the envi

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 > wrote: > > > > > On 2.9.2013, at 18:54, Achim Gratz wrote: > > > >> Carsten Dominik writes: > >>> OK, we now use xdg-open when available on a Linux system. > >> > >> The avail

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 wrote: > > On 2.9.2013, at 18:54, Achim Gratz 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

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

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 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 available, i

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 cons

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

2013-08-17 Thread Bastien
Hi Petr, Petr Hracek writes: > "External applications for opening `file:path' items in a document. > Org-mode uses system defaults for different file types, but > you can use this variable to set the application for a given file > extension. The entries in this list are cons cells where the car

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

2013-08-13 Thread Petr Hracek
Hi, I have browsed the lisp code of org.el where is mentioned: "External applications for opening `file:path' items in a document. Org-mode uses system defaults for different file types, but you can use this variable to set the application for a given file extension. The entries in this list ar

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

2013-06-25 Thread Petr Hracek
On 06/13/2013 03:28 PM, Petr Hracek wrote: Hi folks, I would like to export some .org file into .pdf file. This should also open PDF after export is done but it does not. This is done by command C-c C-e d. In some case emacs freezes. Could you please help me? Hi I have find out that if file