Re: [dev][project] soap - a simple xdg-open replacement

From: FRIGN <dev_AT_frign.de>
Date: Wed, 7 May 2014 12:41:47 +0200

On Wed, 7 May 2014 00:02:42 +0200
"Dmitrij D. Czarkoff" <czarkoff_AT_gmail.com> wrote:

> I did not investigate issue in detail, but apparently xdg-open treats
> all http links as "text/html". "xdg-open http:" starts Firefox.

Yes, that's the problem. That's why I wrote soap in the first place.

> I edit my ~/.mailcap much more frequently then I build all suckless
> tools combined. That happens mostly because I stumble across file
> formats that I didn't need to deal with before, or simply didn't need to
> define. I expect that if I would be using soap, it would end up being
> the most frequently compiled software on my system. This is an easy
> shot, given that your design suggests hardcoding URLs, which, given the
> nature of modern web, would lead to very frequent changes.

Well, if you edit your .mailcap frequently, why not just alias a
command like

editsoap = vim /path/to/soap/config.h && make clean && make install

to provide the same functionality?

Cheers

FRIGN

-- 
FRIGN <dev_AT_frign.de>
Received on Wed May 07 2014 - 12:41:47 CEST

This archive was generated by hypermail 2.3.0 : Wed May 07 2014 - 12:48:06 CEST