[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Search StackOverflow and paste code snippets without leaving the edi
From: |
Andrey Tykhonov |
Subject: |
Re: Search StackOverflow and paste code snippets without leaving the edited file |
Date: |
Fri, 10 Jan 2014 12:23:06 +0200 |
Great! I'll add this code snippet to the README. It makes howdoi much more
usable. How do you think: may be it would be good idea to integrate this
code with howdoi? Of course in case of helm availability.
Yesterday howdoi was significantly improved.
As I was mentioned there is for now major mode available in a pop up buffer
and thus a little bit handy key bindings for navigation within questions.
A message during the retrieval ("Retrieving answer...") has been added.
Also html 2 text transformation was changed. Now links in a pop up buffer
transforms to text-buttons so you can click or RET on it to browse a answer
in a www browser. Also in general transformed answers looks much more
better then before. (I keep going without any third party dependencies).
Please let me know in case of any issues or about things which you don't
like or would like to have improved.
Thank you.
Andrey
2014/1/5 Tom <adatgyujto@gmail.com>
> Andrey Tykhonov <atykhonov <at> gmail.com> writes:
> > >
> > > - There could be a message when the question is retrieved, so the
> > > user sees something is happening. Minor issue.
> >
> > Fixed (I hope a message is good enough: "Answer retrieved!")
>
> I meant a message during the retrieval ("Retrieving answer..."),
> because sometimes a few seconds elapses while the answer is retrieved
> and the user has no feedback then.
>
> >
> > Great! I dreamed about such ability! Ability from emacs to make a query
> > with auto-completion to the google. I tried helm but didn't discover it
> > enough to find it useful for me.
> >
> > It would very good for me also to have ability to make howdoi queries
> with
> > suggestions! I took a look at source code but didn't find nice solution
> > yet. Please share your code snippet.
> >
>
> I simply I copied the google suggest source and changed the action to
> howdoi:
>
> (setq helm-howdoi
> '((name . "howdoi google")
> (candidates . (lambda ()
> (funcall helm-google-suggest-default-function)))
> (action . (("howdoi" . howdoi-query)))
> (volatile)
> (requires-pattern . 3)
> (delayed)))
>
>
> and then you can call howdoi via helm like this:
>
> (helm :sources 'helm-howdoi)
>
>
>
>
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/03
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Tom, 2014/01/03
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/04
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Tom, 2014/01/05
- Re: Search StackOverflow and paste code snippets without leaving the edited file,
Andrey Tykhonov <=
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Tom, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Stefan Monnier, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Andrey Tykhonov, 2014/01/10
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Stefan Monnier, 2014/01/10
- Message not available
- Re: Search StackOverflow and paste code snippets without leaving the edited file, Emanuel Berg, 2014/01/10
Re: Search StackOverflow and paste code snippets without leaving the edited file, York Zhao, 2014/01/04