Re: [RFC] search word with sdcv



On 8/31/09, Teika Kazura <teika lavabit com> wrote:
> Hi, Lei.
>
> On Thu, 27 Aug 2009 21:36:49 +0800, Wang Lei wrote:
>> Sdcv is a dictionary. With it, sdcv-search can get and search a word
>> from x selection or user input or picked from emacs if it is focus
>> window. The result display for N secs. But there are two problems.
>
> What do you mean exactly?
Thanks for your reply, Teika.
What i'm saying is this code pick a word and search in dictionary. If
the focus window is Emacs, It can pick the word under cursor. But
other windows, it has to rely X selection. There are applications can
pick word in anywhere of screen. How do they achieve that?

I also doubt this idea,making a frontend of a command as a wm's
extension, is proper.
>
>> 1. It can release all sdcv's power.
> Cpu usage shoots 100% or so?
Sorry for confusing you. Here, I mean i didn't use all of sdcv's
function. For example, if I spelt a wrong word, sdcv can guess and
list some suggestion, but i found it's hard to implement.
>
>> 2. Can we pick word from screen? And how?
> Your code picks from X selection, but not sufficient?
I think picking word under mouse is better. Is it eazy to implement?
>
> Teika (Teika kazura)
>
>


-- 
Regards
Lei


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]