[Orgmode] Re: Org-protocol / Chrome on Linux

2010-12-10 Thread Ross Patterson
Mattias Jämting writes: > Hello again, > > For reference, this is how i finally got org-protocol to work in > chrome on ubuntu 10.10: > > The problem was that chrome was running xdg-open for handling external > protocols. xdg-open, or it's companion gvfs-open, couldn't parse the > rather complex

[Orgmode] Re: org-protocol

2010-07-26 Thread Thierry Volpiatto
Richard Riley writes: > Richard Riley writes: > >> I'm trying to get FF working with org again - >> >> http://orgmode.org/worg/org-contrib/org-protocol.php >> >> It says >> >> , >> |1. Type "about:config" into the location bar and press enter. >> |2. Click "I'll be careful, I promis

[Orgmode] Re: org-protocol

2010-07-25 Thread Richard Riley
Richard Riley writes: > I'm trying to get FF working with org again - > > http://orgmode.org/worg/org-contrib/org-protocol.php > > It says > > , > |1. Type "about:config" into the location bar and press enter. > |2. Click "I'll be careful, I promise!" to continue. > |3. Right-cli

[Orgmode] Re: org-protocol and web links

2010-04-07 Thread Richard Riley
Matt Lundin writes: > Hi Richard, > >> e.g I want my new org item first line to be something like the following >> if I invoke org-remember from conkeror on a web page having first >> hilited "blah blah" somewhere on the page > > With the following org-remember-template: > > --8<---cu

[Orgmode] Re: org-protocol and web links

2010-04-06 Thread Matt Lundin
Hi Richard, Richard Riley writes: > Does anyone have a "w" template which can store a hot link using the > page title (not just the url) in addition to the selection under the > title line? The problem I find is that I havent got the combo right to > do this : if I select something on a conker

Re: [Orgmode] Re: org-protocol: non-ASCII characters

2010-02-15 Thread Sebastian Rose
Jan Böcker writes: > On 12.02.2010 23:23, dmg wrote: > >> For evince, I think I have found a problem in the parsing of the link. >> Evince already encodes >> the URL, but it does not encode the '/', hence you will get a link like this: >> >> emacsclient >> 'org-protocol://remember://docview/tmp/

Re: [Orgmode] Re: org-protocol: non-ASCII characters

2010-02-13 Thread Jan Böcker
On 12.02.2010 23:23, dmg wrote: > For evince, I think I have found a problem in the parsing of the link. > Evince already encodes > the URL, but it does not encode the '/', hence you will get a link like this: > > emacsclient > 'org-protocol://remember://docview/tmp/00%C3%A1%C3%A9%C3%AD%C3%B3%C3

Re: [Orgmode] Re: org-protocol: non-ASCII characters

2010-02-12 Thread dmg
> Basically, it is OK to url-encode each character who's binary > representation start with 1 (i.e., the value of the character is higher > than 127). The text to be url-encoded should be UTF-8 ideally. > > If you use glib::ustring, it's easy to transform any iso-8859 string to > utf-8. Each charac

Re: [Orgmode] Re: org-protocol: non-ASCII characters

2010-02-08 Thread Sebastian Rose
Jan Böcker writes: > On 06.02.2010 14:50, Jan Böcker wrote: >> AFAIK, your current approach is correct. > > I was wrong. The attached patch fixes a bug in the encode_uri function. > That fixes the non-ASCII characters problem in xournal for me. > > The gchar type is just typedef'd to char, which m

Re: [Orgmode] Re: org-protocol: non-ASCII characters

2010-02-06 Thread Jan Böcker
On 06.02.2010 14:50, Jan Böcker wrote: > AFAIK, your current approach is correct. I was wrong. The attached patch fixes a bug in the encode_uri function. That fixes the non-ASCII characters problem in xournal for me. The gchar type is just typedef'd to char, which means it is signed. To get the b

[Orgmode] Re: org-protocol: non-ASCII characters

2010-02-06 Thread Jan Böcker
> I have been looking around and I am not sure how to solve this > problem. Withing Evince and Xournal I am encoding any non alphanum (as > defined by the C macro) each byte that is contained in the filename > individually. > > Does anybody know which are the characters above 0 (zero) that need to

Re: [Orgmode] Re: org-protocol bug

2009-11-11 Thread Sebastian Rose
Andreas Burtzlaff writes: > On Wed, 11 Nov 2009 10:06:36 +0100 > Sebastian Rose wrote: >> >> Andreas, could you check if it works for you, too? >> > > Yes, it works with both 23 and 22. > > Thanks for your effort. Tanks for checking Andreas, Sebastian __

Re: [Orgmode] Re: org-protocol bug

2009-11-11 Thread Andreas Burtzlaff
On Wed, 11 Nov 2009 10:06:36 +0100 Sebastian Rose wrote: > > Andreas, could you check if it works for you, too? > Yes, it works with both 23 and 22. Thanks for your effort. Andreas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send r

Re: [Orgmode] Re: org-protocol bug

2009-11-11 Thread Sebastian Rose
Hi Carsten and Andreas, thanks to Kenichi Handa, here is a proposal to fix the issus mentioned below. I tested it in emacs 22 and 23 and it seems to work just fine. Carsten, as always if I use some new elisp construct, please review the patch. I used `eval-when-compile' and `defsubst' to inline

[Orgmode] Re: org-protocol bug

2009-11-10 Thread Sebastian Rose
Hi Andreas, seems this has to do with the internal encoding of Emacs. I need some advice at this point from the emacs-devel list. I'll be back if I find out something. Andreas Burtzlaff writes: > Hello Sebastian, > > I'm not sure you noticed the org-protocol bug in this thread on the > org

[Orgmode] Re: org-protocol and safari

2009-10-16 Thread Mykola Nikishov
Matthew Lundin writes: [...] >> As for FF, the instructions should work. See also: >> >>http://kb.mozillazine.org/Register_protocol#Linux_and_Mac > > These instructions are incorrect. I can confirm that setting a protocol > does not work in Firefox on Mac OS - there is a bug that's been arou

[Orgmode] Re: org-protocol and safari

2009-06-25 Thread Sebastian Rose
Matthew Lundin writes: > Sebastian Rose writes: > >> Greg Newman writes: > >>> I did try to get it working with Firefox 3.x and it's not working. >>> I followed the worg instructions ( >>> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the >>> verification links with no

[Orgmode] Re: org-protocol and safari

2009-06-25 Thread Matthew Lundin
Sebastian Rose writes: > Greg Newman writes: >> I did try to get it working with Firefox 3.x and it's not working. >> I followed the worg instructions ( >> http://orgmode.org/worg/org-contrib/org-protocol.php ) for FF and tried the >> verification links with no luck. >> Firefox just screams at

[Orgmode] Re: Org protocol and new frame for remember

2009-06-02 Thread Matthew Lundin
Sebastian Rose writes: > Matthew Lundin writes: >> But I thought it might be a nice addition to org-protocol if there were >> a variable that accomplishes this (e.g., >> org-protocol-remember-in-new-frame). I'd be eager to know if I am >> missing a current way to do this. > > Such a variable do

Re: [Orgmode] Re: Org protocol and new frame for remember

2009-06-02 Thread Sebastian Rose
Matthew Lundin writes: > My apologies for the initial post fragment. (Note to self: C-c C-c > binding for jumping to footnote reference does not work in Gnus!) > > Let's try this again: > > Hi all, > > I've recently begun to use org-protocol. I've been using it with the > intriguing emacs-inspired

[Orgmode] Re: Org protocol and new frame for remember

2009-06-01 Thread Matthew Lundin
My apologies for the initial post fragment. (Note to self: C-c C-c binding for jumping to footnote reference does not work in Gnus!) Let's try this again: Hi all, I've recently begun to use org-protocol. I've been using it with the intriguing emacs-inspired browser Conkeror.[1] With the help of

[Orgmode] Re: org-protocol and encoding

2009-04-16 Thread Ulf Stegemann
Sebastian, Carsten, Carsten Dominik wrote: > Ulf, can you do some testing, please? done that using Emacs 23 (cvs today), Org (git today + patch), Firefox 3.0.8 on linux. Everything seems to work fine, I haven't found a single page/text that hasn't been encoded correctly. So I assume that the pa

[Orgmode] Re: org-protocol://remember:// question

2009-04-04 Thread Tassilo Horn
Sebastian Rose writes: Hi Sebastian, > Yes. The best is to URL-encode the fields. Ok, no problem. I guess they're url-encoded when I get them inside Conkeror, anyway. Bye, Tassilo ___ Emacs-orgmode mailing list Remember: use `Reply All' to send r

Re: [Orgmode] Re: org-protocol://remember:// question

2009-04-04 Thread Sebastian Rose
Tassilo Horn writes: > But one question remains. Do I have to do some special quoting in order > to allow the protocol to split URL, TITLE and TEXT correctly? Let's say > I do > > emacsclient -c \ > 'org-protocol:/remember:/http://www.google.de/the search engine/bla fasel > bla' > > the lin

[Orgmode] Re: org-protocol://remember:// question

2009-04-04 Thread Tassilo Horn
Sebastian Rose writes: Hi Sebastian, > the issue should be fixed now. The docs should now match the reality. > > Your templates may refer to the page title through > > %:description > > See > http://orgmode.org/worg/org-contrib/org-protocol.php#example-template > once it's updated. Ok, now