Coder Social home page Coder Social logo

jaro's People

Contributors

isamert avatar liz-desartiges avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jaro's Issues

Issue with non-ASCII character

jaro ~/Téléchargements/LICENSE.txt                 
Backtrace:
In ice-9/boot-9.scm:
 160: 9 [catch #t #<catch-closure 7fbfc1915740> ...]
In unknown file:
   ?: 8 [apply-smob/1 #<catch-closure 7fbfc1915740>]
In ice-9/boot-9.scm:
  66: 7 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 6 [eval # #]
In /home/striker/.local/bin/jaro:
 384: 5 [main #]
 349: 4 [run-assoc-list "/home/striker/Téléchargements/LICENSE.txt" #]
 334: 3 [x "/home/striker/Téléchargements/LICENSE.txt" #f]
 266: 2 [run-fn-or-system #<procedure 7fbfc15a7c00 at /home/striker/.local/bin/jaro:216:2 (file mime-type)> ...]
 217: 1 [#<procedure 7fbfc15a7c00 at /home/striker/.local/bin/jaro:216:2 (file mime-type)> "/home/striker/Téléchargements/LICENSE.txt" ...]
In unknown file:
   ?: 0 [concatenate (#f # # # ...)]

ERROR: In procedure concatenate:
ERROR: In procedure append: Wrong type argument in position 1 (expecting empty list): #f

This happen only when I give a relative or full path of a file (but it does work for current folder files)

[enhancement ] Capture slice of `#:pattern'

Hi, first of all thanks for this great application.

I found it so useful, a wonder if you have any plans to add feature of capture part of #:pattern and play around with it.

for examble:
this example show neatmail(1)[1] in work
suppose that I have inbox with somethig like that:

N0140    [From]    [mail header]

and N140 is the mail ID, now the feature is to have something like that

(assoc
	#:pattern "N([0-9]+)"
	#:program "grap_the_full_message_program $1")

which allow you to capture the ID without N and put it in $1.

This idea have been shown by Plan9OS program called plumber(1)[2] introduced by Rop Pike but it's kind of mess, the /Rule/ of plumer written as this

# urls go to web browser
type is text
data matches '(https?|ftp|file|gopher|mailto|news|nntp|telnet|wais|prospero)://[a-zA-Z0-9_@\-]+([.:][a-zA-Z0-9_@\-]+)*/?[a-zA-Z0-9_?,%#~&/\-+=]+([:.][a-zA-Z0-9_?,%#~&/\-+=]+)*'
plumb to web
plumb start web $0

FootNote:
[1]: https://github.com/aligrudi/neatmail
[2]: paper: http://doc.cat-v.org/plan_9/4th_edition/papers/plumb
man: http://man.cat-v.org/plan_9/1/plumb

select-alternative-with doesn't work on rewrite branch at all

when passing an URI

ERROR: In procedure string-delete:
In procedure string-delete: Wrong type argument in position 2 (expecting string): #\"

when passing a local path

ERROR: In procedure string-split:
In procedure string-split: Wrong type argument in position 1 (expecting string): #f

My apologies if it's just unfinished and not meant to be used yet

Stricter #term

; ~/.config/associations
(assoc
  #:pattern "inode/directory"
  #:program "lf %f"
  #:term "st -e"
)

If I open chromium from sxhkd

# ~/.config/sxhkd/sxhkdrc
XF86HomePage
  chromium

Show Folder in downloads page or download bar does not work.

When running $ setsid chromium, I get logs on clicking Show Folder:

In execvp of mimetype: No such file or directory
2020/02/06 17:21:53 initializing termbox: open /dev/tty: no such device or address

I get the first log all the time and wonder what it means.

(I accidentally published the issue before writing it in full and now I'm making lots of edits. When I'm satisfied, I'll remove this comment. Sorry)

redirect xdg-open calls to jaro parameter issue

with redirecting xdg-open call to jaro and the current jaro.desktop thunderbird does not work.
It seems to need an %U instead of %F.
Testing with a non-URL, e.g. xdg-open ~/test.pdf and %U this still works.

Maybe the jaro.desktop should ship with %U instead of %F?

PS: great project!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.