Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-27 Thread Max Nikulin
tml though these tools are specific to Debian. I feel that we are abusing the scope of mailcap when opening file links. From my point of view, Org just uses facility that Emacs provides. - Eli had objections, but did not provide any details. - Error handling code was dropped for the sake of Emacs

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-14 Thread Ihor Radchenko
he default value of `mailcap-mime-data'? > > I am unsure what is a proper way to do it. I am not confident enough > with the code that selects handlers for files. I feel that we are abusing the scope of mailcap when opening file links. >>> I am still not really comfortable du

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 13/02/2024 22:44, Max Nikulin wrote: (info "emacs-mailcap") (info "emacs-mime")

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 13/02/2024 18:27, Ihor Radchenko wrote: Max Nikulin writes: I am mostly going to address user confusion about mailcap XDG configuration and so xdg-open behavior is often confusing to users as well, especially in the cases of KDE and no DE. In GNOME it is alleviated by a step with the

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Ihor Radchenko
Max Nikulin writes: >> I have been digging more on this issue recently, and I have found that >> Carsten once attempted to tweak this default to use xdg-mime: > > Have you faced another issue with mailcap? Frankly speaking, I am unsure > what particular issues we are going to address (file

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-13 Thread Max Nikulin
On 12/02/2024 19:36, Ihor Radchenko wrote: Max Nikulin writes: I believe, there are enough issues with mailcap implementation in Emacs, but do we have some alternative? [...] I have been digging more on this issue recently, and I have found that Carsten once attempted to tweak this default

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2024-02-12 Thread Ihor Radchenko
Max Nikulin writes: > On 04/06/2022 20:42, Ihor Radchenko wrote: >> >> It appears that using mailcap is giving us more trouble than benefits. >> I am not sure about the situation on Windows and Mac though. >> >> Should we change the default file handlers to Emacs globally (unless >> user

Re: Opening of links

2022-09-25 Thread Max Nikulin
On 24/09/2022 18:49, Max Nikulin wrote: On 23/09/2022 21:49, Guillaume MULLER wrote: - My OS settings are configured so that PDFs are opened in Evince. I configured this with "xfce4-settings-manager > Default Applications" (which runs "xfce4-mime-settings" under the hood) and it can be

Re: Opening of links

2022-09-24 Thread Max Nikulin
On 23/09/2022 21:49, Guillaume MULLER wrote: - My OS settings are configured so that PDFs are opened in Evince. I configured this with "xfce4-settings-manager > Default Applications" (which runs "xfce4-mime-settings" under the hood) and it can be verified with "xdg-open test.pdf" or by

Re: Opening of links

2022-09-23 Thread Ihor Radchenko
Guillaume MULLER writes: > + [[file:~/test.pdf][PDF 1]] > -- > > When I click on the link with mouse1, the document is opened in Calibre. When > I use mouse3, the document is opened in Emacs. I get a similar behavior with > org-attached PDF documents: using 'o' will open them in

Opening of links

2022-09-23 Thread Guillaume MULLER
Hi, Thanks for org, "the best tool in the world"! ;) (*) I have a simple org file (Linux / Emacs 27.1 + Doom): -- #+TITLE: Test pdf links + [[file:~/test.pdf][PDF 1]] -- When I click on the link with mouse1, the document is opened in Calibre. When I use mouse3, the

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2022-06-10 Thread Max Nikulin
On 07/06/2022 00:47, Bhavin Gandhi wrote: On Mon, 6 Jun 2022 at 19:09, Max Nikulin wrote: P.P.S. I had a hope that recent Fedora-36 release has Emacs-28 packaged, so it would be possible to test live image in qemu to quickly check behavior in full-fledged desktop environment, but version 27 is

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2022-06-06 Thread Bhavin Gandhi
Hello Max, On Mon, 6 Jun 2022 at 19:09, Max Nikulin wrote: > P.P.S. I had a hope that recent Fedora-36 release has Emacs-28 packaged, > so it would be possible to test live image in qemu to quickly check > behavior in full-fledged desktop environment, but version 27 is really > packaged there.

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2022-06-06 Thread Max Nikulin
On 04/06/2022 20:42, Ihor Radchenko wrote: Should we change the default file handlers to Emacs globally (unless user customizes otherwise)? Should we continue efforts to work around mailcap issues? Maybe there is yet another alternative generic way to open files? Ihor, back to your patch

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links

2022-06-06 Thread Max Nikulin
On 04/06/2022 20:42, Ihor Radchenko wrote: It appears that using mailcap is giving us more trouble than benefits. I am not sure about the situation on Windows and Mac though. Should we change the default file handlers to Emacs globally (unless user customizes otherwise)? Should we continue

Re: [DISCUSSION, default settings] Using mailcap as default handler for opening file links (was: [PATCH v3] Re: Bug in 9.5.3 org--file-default-apps)

2022-06-04 Thread Greg Minshall
hi, Ihor, > It appears that using mailcap is giving us more trouble than benefits. > I am not sure about the situation on Windows and Mac though. > Should we change the default file handlers to Emacs globally (unless > user customizes otherwise)? Should we continue efforts to work around >

[DISCUSSION, default settings] Using mailcap as default handler for opening file links (was: [PATCH v3] Re: Bug in 9.5.3 org--file-default-apps)

2022-06-04 Thread Ihor Radchenko
ng about only exists since Org 9.5.3 (April, 2022). Before Org 9.5.3, the default behavior on Linux (not Windows or Mac) was opening links in Emacs or, more precisely (funcall (cdr (assq 'file org-link-frame-setup)) file) Since Org 9.5.3, the default behavior on Linux is using mailcap with all the si

Re: Bug: org-agenda-open-link disallow permanenly changing point position while opening some links (e.g. elisp:) [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-04-07 Thread Ihor Radchenko
Hi Bastien, Seems _not_ to be fixed. I see the same problem following my recipe. Org mode version 9.3.6 (release_9.3.6-441-gba6855 @/home/yantar92/.emacs.d/straight/build/org/) Best, Ihor Bastien writes: > Hi Ihor, > > thanks for reporting this, this should be fixed now. > > -- > Bastien

Re: Bug: org-agenda-open-link disallow permanenly changing point position while opening some links (e.g. elisp:) [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-02-04 Thread Bastien
Hi Ihor, thanks for reporting this, this should be fixed now. -- Bastien

Bug: org-agenda-open-link disallow permanenly changing point position while opening some links (e.g. elisp:) [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2019-12-20 Thread Ihor Radchenko
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [O] problem opening web links

2013-04-04 Thread Bastien
Hi, 42 147 aeus...@gmail.com writes: These links apparently require their own instance of Firefox. (setq browse-url-firefox-new-window-is-tab t) HTH, -- Bastien

[O] problem opening web links

2013-03-27 Thread 42 147
Mailing list, I get the following error whenever I call the function org-open-at-point on a web link while Firefox is already running: Firefox is already running, but is not responding. To open a new window, you must first close the existing Firefox process, or restart your system. These links

[Orgmode] When opening email links, unseen messages marked as read!

2010-11-05 Thread Sébastien Vauban
Hello, I just found out a particularly annoying feature of following email links. Let's say I follow a link to an email stored in my INBOX.friends. 1. I do C-c C-o on the link. 2. It opens a summary buffer with that mail as only line in it 3. It displays its content below or on the left,

Re: [Orgmode] When opening email links, unseen messages marked as read!

2010-11-05 Thread David Maus
At Fri, 05 Nov 2010 13:47:22 +0100, Sébastien Vauban wrote: Now, suppose I have 1 unseen (hence, unread as well) email that has been moved into that same INBOX.friends folder (because of the splitting rules). ... But... the unseen messages are marked as read, though I've not read them at