Re: [dev] [surf][patch] Add support for mailto links

2015-01-20 Thread FRIGN
On Mon, 19 Jan 2015 19:15:12 +0100 Michael Schupikov wrote: > Currently surf cannot handle mailto links. > This patch changes that and passes them to the email client. I agree with koneu here. Just call xdg-open. If you don't like xdg-open, I wrote a suckless implementation[0] of it a while ago

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:44:11 +0100 Markus Teich wrote: > Christoph Lohmann wrote: > > There is now PLUMB() in config.h, which will be run, when some URI does > > not start with "about:", "http://"; or "https://";. Please test this if > > there are some other URIS that should be

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:34:13 +0100 Markus Teich wrote: > Christoph Lohmann wrote: > > There is now PLUMB() in config.h, which will be run, when some URI does > > not start with "about:", "http://"; or "https://";. Please test this if > > there are some other URIS that should be

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Markus Teich
Christoph Lohmann wrote: > There is now PLUMB() in config.h, which will be run, when some URI does > not start with "about:", "http://"; or "https://";. Please test this if > there are some other URIS that should be handled from some outside ap‐ > plication. Heyho Christoph, What about "fil

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Christoph Lohmann
Greetings. On Mon, 19 Jan 2015 22:16:39 +0100 Markus Teich wrote: > Michael Schupikov wrote: > > Currently surf cannot handle mailto links. > > This patch changes that and passes them to the email client. Thanks for the patch! > I would propose to write a generic protocol handling patch instea

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Markus Teich
Michael Schupikov wrote: > Currently surf cannot handle mailto links. > This patch changes that and passes them to the email client. Heyho, I would propose to write a generic protocol handling patch instead. This is useful for e.g. magnet: or ftp: if you would like to handle them with external pr

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread koneu
Michael Schupikov wrote: > Currently surf cannot handle mailto links. > This patch changes that and passes them to the email client. xdg-open?

Re: [dev] [surf][patch] Add support for mailto links

2015-01-19 Thread Michael Schupikov
Currently surf cannot handle mailto links. This patch changes that and passes them to the email client. >From 1414a492f53095b793d12b18e1b5092b338503f8 Mon Sep 17 00:00:00 2001 From: Michael Schupikov Date: Sun, 18 Jan 2015 15:01:28 +0100 Subject: [PATCH] Add support for mailto links. --- config