Re: [dev] [vis][PATCH] Make the '.' Filerange work on one line

2015-05-07 Thread Silvan Jegen
On Wed, May 6, 2015 at 8:35 PM, Marc André Tanner wrote: > When an incomplete range is specified i.e. only a start position > the cursor should jump to it. This patch breaks this functionality. > For example :nn (absolute line), :+n (relative line), :'m mark > (move to mark) is broken. Ah, I was

Re: [dev] [vis][RFC][PATCH 1/2] Replace first '/' of substitute command with \0

2015-05-07 Thread Silvan Jegen
On Wed, May 6, 2015 at 9:03 PM, Marc André Tanner wrote: > On Tue, May 05, 2015 at 06:25:29PM +0200, Silvan Jegen wrote: >> Replacing the first '/' allows the 's' command name to be correctly >> identified even though it is part of its own argument. > > Special casing '/' seems wrong, an arbitrary

Re: [dev] [vis][RFC][PATCH 2/2] Implement the execution of external commands and cmd_substitute

2015-05-07 Thread Silvan Jegen
On Wed, May 6, 2015 at 9:47 PM, Marc André Tanner wrote: > Thanks, this will require more time to properly review than I currently > have. What follows are therefore only a few general remarks. > >> The code for the read/write loops communicating through a pipe with the >> external process is very

Re: [dev] [ST] [PATCH] Clean up xdraws and optimize glyph drawing with non-unit kerning values

2015-05-07 Thread Roberto E. Vargas Caballero
Applied, thanks!

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Jason Woofenden
Well, surprise, surprise, I was thinking about sed instead of falling asleep for a bit last night. I was excited about finally finding a way to print out multiple (possibly transformed) matches per line, but my solution was messy. Also, it was a little buggy (zero-length outputs broke it.) Here's

[dev] RSS

2015-05-07 Thread Alexander Huemer
Hi, some time ago sfeed[1] was mentioned here on the list. I tried it out. It's lean and has some very nice features, I like it. There is one feature missing though that I personally consider important. That's a 'read/unread' status per entry that's unread initually and is toggled to read when t

Re: [dev] RSS

2015-05-07 Thread stargrave
Hello, >Maybe there is some other nice feed reader out there that I don't >know about. tt-rss, miniflux and all the others are monsters >unfortunately. I like http://www.newsbeuter.org/. It is not very suckless, but seems to be closer to this term comparing to miniflux and tt-rss. -- Happy ha

Re: [dev] RSS

2015-05-07 Thread Jochen Sprickerhof
Hi Alex, * Alexander Huemer [2015-05-07 16:19]: > P.S.: Maybe there is some other nice feed reader out there that I don't > know about. tt-rss, miniflux and all the others are monsters > unfortunately. I had the same thoughts last week and implemented my own rss2maildir script. The idea is to

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Jochen Sprickerhof
* Jason Woofenden [2015-05-07 10:09]: > pdftohtml -stdout foo.pdf | sed -ne 's/href="\([^"]\+\)"/\n\1\n/g' -e > 's/\(^[^\n]*\n\|\(\n\)\)\([^\n]*\)\n[^\n]*/\2\3/gp' I would use grep ;). Using my urlselct from [1] I would write: pdftotext foo.pdf - | urlselect Cheers Jochen [1] http://lis

Re: [dev] RSS

2015-05-07 Thread Nick
Quoth Jochen Sprickerhof: > I had the same thoughts last week and implemented my own rss2maildir > script. > ... > I've implemented a prototype in Python (yes, I know) and would happily > share it, if someone is interested. Make it so!

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Ivan Tham
On Wed, May 06, 2015 at 11:19:04PM -0400, Jason Woofenden wrote: > Hi Hypsurus, > > I hope you're having fun coding. Don't let me detract from that. > But if you just need to extract links from pdfs, you can do so with > existing tools, eg: > > pdftohtml -stdout foo.pdf | sed -ne 's/\(^\|\n\)\n\(

[dev] How to use ssam in Ubuntu 14.04

2015-05-07 Thread Greg Reagle
I know this might be off-topic, but I think there are a lot of Plan 9 fans here. I want to run ssam (http://man.cat-v.org/p9p/1/ssam). I have installed package 9base (version 1:6-6) which provides sam, but not ssam. Is there a way for me to call sam so it works like ssam? Is there another way I

Re: [dev] RSS

2015-05-07 Thread Jochen Sprickerhof
* Nick [2015-05-07 16:09]: > Quoth Jochen Sprickerhof: > > I've implemented a prototype in Python (yes, I know) and would happily > > share it, if someone is interested. > > Make it so! Here you go: https://github.com/jspricke/rss2maildir Comments, patches, suckless reimplementations ;) welco

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Jason Woofenden
On 2015-05-07 05:07PM, Jochen Sprickerhof wrote: > * Jason Woofenden [2015-05-07 10:09]: > > pdftohtml -stdout foo.pdf | sed -ne 's/href="\([^"]\+\)"/\n\1\n/g' -e > > 's/\(^[^\n]*\n\|\(\n\)\)\([^\n]*\)\n[^\n]*/\2\3/gp' > > I would use grep ;). Using my urlselct from [1] I would write: > > p

Re: [dev] sple - A simple PDF links/emails extracotr.

2015-05-07 Thread Dimitris Papastamos
On Thu, May 07, 2015 at 11:58:14AM -0400, Jason Woofenden wrote: > On 2015-05-07 05:07PM, Jochen Sprickerhof wrote: > > * Jason Woofenden [2015-05-07 10:09]: > > > pdftohtml -stdout foo.pdf | sed -ne 's/href="\([^"]\+\)"/\n\1\n/g' -e > > > 's/\(^[^\n]*\n\|\(\n\)\)\([^\n]*\)\n[^\n]*/\2\3/gp' > >

Re: [dev] RSS

2015-05-07 Thread Hiltjo Posthuma
On Thu, May 7, 2015 at 4:19 PM, Alexander Huemer wrote: > Hi, > > some time ago sfeed[1] was mentioned here on the list. > I tried it out. It's lean and has some very nice features, I like it. Thanks! > There is one feature missing though that I personally consider > important. That's a 'read/un

Re: [dev] How to use ssam in Ubuntu 14.04

2015-05-07 Thread Teodoro Santoni
Hi, On Thu, May 07, 2015 at 11:40:22AM -0400, Greg Reagle wrote: > I know this might be off-topic, but I think there are a lot of Plan 9 > fans here. > > I want to run ssam (http://man.cat-v.org/p9p/1/ssam). I have installed > package 9base (version 1:6-6) which provides sam, but not ssam. Is >

Re: [dev] How to use ssam in Ubuntu 14.04

2015-05-07 Thread Connor Lane Smith
On 7 May 2015 at 20:12, Teodoro Santoni wrote: > ssam is an rc script. You can download it from plan9port or if i recall > correctly from cat-v and put it in your path. It's also in the 9base git repo [1], just not in a release. [1]: http://git.suckless.org/9base/tree/ssam cls

Re: [dev] RSS

2015-05-07 Thread Michael Savage
On Thu, May 07, 2015 at 05:03:16PM +0200, Jochen Sprickerhof wrote: > Hi Alex, > > * Alexander Huemer [2015-05-07 16:19]: > > P.S.: Maybe there is some other nice feed reader out there that I don't > > know about. tt-rss, miniflux and all the others are monsters > > unfortunately. > > I had th

Re: [dev] RSS

2015-05-07 Thread Amadeus Folego
On Thu, May 07, 2015 at 05:26:26PM +0300, stargr...@stargrave.org wrote: > Hello, > > >Maybe there is some other nice feed reader out there that I don't > >know about. tt-rss, miniflux and all the others are monsters > >unfortunately. > > I like http://www.newsbeuter.org/. It is not very suckle