Fork me on GitHub
#emacs
<
2018-06-12
>
borkdude07:06:13

After having edited the xslt file I can now open it again with emacs

ag19:06:18

oh I thought it's kinda lame. You're welcome

dpsutton19:06:56

crazy you put your api key in it

dpsutton19:06:06

although i guess if people abuse it you shut it down and get another one and don't share?

jfntn19:06:54

I’ve been trying to get an offline thesaurus setup in emacs forever but kinda gave up, this is really useful and the org-mode buffer is a good idea for that kind of content

ag19:06:50

jfntn... I have a recommendation for offline thesaurus. let me get back to my laptop, I'll share some thoughts

ag20:06:33

@U0CJ8PTE1 for offline you can use sdcv. It's a command line tool, there's also emacs package called sdcv-mode. - first install sdcv (cmd tool) - then download dictionaries: you can use this simple bash script to install basic 3 that I use, explore the link in that script if you need more dicts:

DICTS="
            
            "

     mkdir -p ~/Downloads/dictionary/extracted
     cd ~/Downloads/dictionary

     for dic in $DICTS; do
         curl -o ~/Downloads/dictionary/dict.tar.bz2 $dic
         tar -xvf ./dict.tar.bz2 -C ./extracted --strip-components=1
         cp ~/Downloads/dictionary/extracted/* ~/.stardict/dic/
         rm -rf ./extracted
     done

     rm -rf ~/Donwloads/dictionary
 
- after making sure that sdcv works fine in command line, you can set up Emacs package. Here's an example how I use it in my custom Spacemacs layer. https://github.com/agzam/dot-spacemacs/blob/master/layers/ag-lang-tools/packages.el#L30

ag20:06:03

Hope this helps.

jfntn20:06:00

I’ll check it out, thanks!

ag20:06:57

> crazy you put your api key in it @U11BV7MTK yah probably at some point it will reach the limit of requests (I'm not sure if they have any) per api key.

dpsutton21:06:29

And I bet the demand for emacs thesaurus is self limiting as well :)