all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* what is the easiest way to install a thesaurus feature in emacs?
@ 2009-01-14 11:15 avilella
  2009-01-14 12:26 ` Richard Riley
  2009-01-14 19:38 ` Xah Lee
  0 siblings, 2 replies; 10+ messages in thread
From: avilella @ 2009-01-14 11:15 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

How can I install a thesaurus in emacs? I am using Ubuntu 8.10 and
I've googled a bit about mthesaur.el, synonyms.el et al, but haven't
found any packaged options to do an apt-get install.

Anyone?

Cheers,

    Albert.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-14 11:15 what is the easiest way to install a thesaurus feature in emacs? avilella
@ 2009-01-14 12:26 ` Richard Riley
  2009-01-14 19:38 ` Xah Lee
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Riley @ 2009-01-14 12:26 UTC (permalink / raw
  To: help-gnu-emacs


"avilella@gmail.com" <avilella@gmail.com> writes:

> Hi,
>
> How can I install a thesaurus in emacs? I am using Ubuntu 8.10 and
> I've googled a bit about mthesaur.el, synonyms.el et al, but haven't
> found any packaged options to do an apt-get install.
>
> Anyone?
>
> Cheers,
>
>     Albert.

http://www.emacswiki.org/emacs/synonyms.el

Save the code into your .emacs directory or wherever you store your .el files.

My setup:

(setq synonyms-file "/home/rgr/.emacs.d/mthesaur.txt")
(setq synonyms-cache-file "/home/rgr/.emacs.d/syn.cache")
(setq synonyms-match-more-flag nil)

(require 'synonyms)
(define-key mode-specific-map [?S] 'synonyms)



-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-14 11:15 what is the easiest way to install a thesaurus feature in emacs? avilella
  2009-01-14 12:26 ` Richard Riley
@ 2009-01-14 19:38 ` Xah Lee
  2009-01-15 14:33   ` Richard Riley
  1 sibling, 1 reply; 10+ messages in thread
From: Xah Lee @ 2009-01-14 19:38 UTC (permalink / raw
  To: help-gnu-emacs

On Jan 14, 3:15 am, "avile...@gmail.com" <avile...@gmail.com> wrote:
> Hi,
>
> How can I install a thesaurus in emacs? I am using Ubuntu 8.10 and
> I've googled a bit about mthesaur.el, synonyms.el et al, but haven't
> found any packaged options to do an apt-get install.

i use

<a href="http://www.myrkr.in-berlin.de/dictionary/
index.html">dictionary↗</a> by <a href="http://www.myrkr.in-
berlin.de/">Torsten Hilbrich↗</a>

which is a interface to dict.org, which includes a similar words dict.

you can easily setup emacs so you can press a button to lookup current
word in any online references sites, including professional ones like
American Heritage Dict, Merriem Webster, Oxford, etc. You may set it
up to either switch you to browser, or show result inside emacs.

See also:

• Dictionary and Reference Lookup with Emacs
  http://xahlee.org/emacs/emacs_lookup_ref.html

• Problems of Open Source Dictionaries
  http://xahlee.org/Periodic_dosage_dir/bangu/dict_open_source_probs.html

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-14 19:38 ` Xah Lee
@ 2009-01-15 14:33   ` Richard Riley
  2009-01-15 15:08     ` Xah Lee
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Riley @ 2009-01-15 14:33 UTC (permalink / raw
  To: help-gnu-emacs

Xah Lee <xahlee@gmail.com> writes:

> On Jan 14, 3:15 am, "avile...@gmail.com" <avile...@gmail.com> wrote:
>> Hi,
>>
>> How can I install a thesaurus in emacs? I am using Ubuntu 8.10 and
>> I've googled a bit about mthesaur.el, synonyms.el et al, but haven't
>> found any packaged options to do an apt-get install.
>
> i use
>
> <a href="http://www.myrkr.in-berlin.de/dictionary/
> index.html">dictionary↗</a> by <a href="http://www.myrkr.in-
> berlin.de/">Torsten Hilbrich↗</a>
>
> which is a interface to dict.org, which includes a similar words dict.

This seems to be a subset of the excellent dictem package

http://sourceforge.net/projects/dictem

>
> you can easily setup emacs so you can press a button to lookup current
> word in any online references sites, including professional ones like
> American Heritage Dict, Merriem Webster, Oxford, etc. You may set it
> up to either switch you to browser, or show result inside emacs.
>
> See also:
>
> • Dictionary and Reference Lookup with Emacs
>   http://xahlee.org/emacs/emacs_lookup_ref.html
>
> • Problems of Open Source Dictionaries
>   http://xahlee.org/Periodic_dosage_dir/bangu/dict_open_source_probs.html
>
>   Xah
> ∑ http://xahlee.org/
>
> ☄

-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 14:33   ` Richard Riley
@ 2009-01-15 15:08     ` Xah Lee
  2009-01-15 15:15       ` Richard Riley
  0 siblings, 1 reply; 10+ messages in thread
From: Xah Lee @ 2009-01-15 15:08 UTC (permalink / raw
  To: help-gnu-emacs



> How can I install a thesaurus in emacs?

> http://www.myrkr.in-berlin.de/dictionary/index.html
> by Torsten Hilbrich
> which is a interface to dict.org, which includes a similar words dict.

Richard Riley wrote:
> This seems to be a subset of the excellent dictem package
> http://sourceforge.net/projects/dictem

i tried it before and somewhat hated it.

It requires you to install a third party dict software. But it does
not mention this fact explicitly until you try to install it. I
vaguely recall it was originally a modification of Torsten's package,
but i think it's worse in one important respect because now it
UNCESSARILY relies on another software.

dict protocol is a simple text based protocol. Elisp can handle it
completely, perhaps even better than other langs. It is extremely
silly to throw away the core of Torsten's engine. Further, if i have
to install another dict program for accessing online dicts ... i
really have a million choices, the last would be something from the
linux world.

i can also simply have few lines of elisp so that i can have emacs as
interface to access any web based dict thru w3 engine.

somehow i find dictem distasteful, perhaps dishonest and technically
stupid. I could be wrong ...

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 15:08     ` Xah Lee
@ 2009-01-15 15:15       ` Richard Riley
  2009-01-15 15:29         ` avilella
  2009-01-15 15:36         ` Xah Lee
  0 siblings, 2 replies; 10+ messages in thread
From: Richard Riley @ 2009-01-15 15:15 UTC (permalink / raw
  To: help-gnu-emacs

Xah Lee <xahlee@gmail.com> writes:

>> How can I install a thesaurus in emacs?
>
>> http://www.myrkr.in-berlin.de/dictionary/index.html
>> by Torsten Hilbrich
>> which is a interface to dict.org, which includes a similar words dict.
>
> Richard Riley wrote:
>> This seems to be a subset of the excellent dictem package
>> http://sourceforge.net/projects/dictem
>
> i tried it before and somewhat hated it.
>
> It requires you to install a third party dict software. But it does
> not mention this fact explicitly until you try to install it. I

It seems to be the correct time :-;

> vaguely recall it was originally a modification of Torsten's package,
> but i think it's worse in one important respect because now it
> UNCESSARILY relies on another software.
>
> dict protocol is a simple text based protocol. Elisp can handle it
> completely, perhaps even better than other langs. It is extremely
> silly to throw away the core of Torsten's engine. Further, if i have
> to install another dict program for accessing online dicts ... i
> really have a million choices, the last would be something from the
> linux world.
>
> i can also simply have few lines of elisp so that i can have emacs as
> interface to access any web based dict thru w3 engine.
>
> somehow i find dictem distasteful, perhaps dishonest and technically
> stupid. I could be wrong ...
>
>   Xah
> ∑ http://xahlee.org/

Yes, the dictd client.

It also features lots of nice pretty printing extensions to provide hot
links in an emacs buffer.


But the original post was targetting *synonyms*. Can either package do
them?

-- 
 important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 15:15       ` Richard Riley
@ 2009-01-15 15:29         ` avilella
  2009-01-15 15:36         ` Xah Lee
  1 sibling, 0 replies; 10+ messages in thread
From: avilella @ 2009-01-15 15:29 UTC (permalink / raw
  To: help-gnu-emacs

So I was mainly interested in a thesaurus feature, does dictem do
that?

On Jan 15, 3:15 pm, Richard Riley <rileyrg...@gmail.com> wrote:
> Xah Lee <xah...@gmail.com> writes:
> >> How can I install a thesaurus in emacs?
>
> >>http://www.myrkr.in-berlin.de/dictionary/index.html
> >> by Torsten Hilbrich
> >> which is a interface to dict.org, which includes a similar words dict.
>
> > Richard Riley wrote:
> >> This seems to be a subset of the excellent dictem package
> >>http://sourceforge.net/projects/dictem
>
> > i tried it before and somewhat hated it.
>
> > It requires you to install a third party dict software. But it does
> > not mention this fact explicitly until you try to install it. I
>
> It seems to be the correct time :-;
>
>
>
> > vaguely recall it was originally a modification of Torsten's package,
> > but i think it's worse in one important respect because now it
> > UNCESSARILY relies on another software.
>
> > dict protocol is a simple text based protocol. Elisp can handle it
> > completely, perhaps even better than other langs. It is extremely
> > silly to throw away the core of Torsten's engine. Further, if i have
> > to install another dict program for accessing online dicts ... i
> > really have a million choices, the last would be something from the
> > linux world.
>
> > i can also simply have few lines of elisp so that i can have emacs as
> > interface to access any web based dict thru w3 engine.
>
> > somehow i find dictem distasteful, perhaps dishonest and technically
> > stupid. I could be wrong ...
>
> >   Xah
> > \xAD\xF4http://xahlee.org/
>
> Yes, the dictd client.
>
> It also features lots of nice pretty printing extensions to provide hot
> links in an emacs buffer.
>
> But the original post was targetting *synonyms*. Can either package do
> them?
>
> --
>  important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday.  ~Dennis Gabor, Innovations:  Scientific, Technological and Social, 1970


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 15:15       ` Richard Riley
  2009-01-15 15:29         ` avilella
@ 2009-01-15 15:36         ` Xah Lee
  2009-01-15 16:41           ` Richard Riley
  1 sibling, 1 reply; 10+ messages in thread
From: Xah Lee @ 2009-01-15 15:36 UTC (permalink / raw
  To: help-gnu-emacs


> But the original post was targetting *synonyms*. Can either package do
> them

basically all open source dict clients access the open source dict at
dict.org, which includes the free Moby Thesaurus.

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 15:36         ` Xah Lee
@ 2009-01-15 16:41           ` Richard Riley
  2009-01-15 17:00             ` Richard Riley
  0 siblings, 1 reply; 10+ messages in thread
From: Richard Riley @ 2009-01-15 16:41 UTC (permalink / raw
  To: help-gnu-emacs


Xah Lee <xahlee@gmail.com> writes:

>> But the original post was targetting *synonyms*. Can either package do
>> them
>
> basically all open source dict clients access the open source dict at
> dict.org, which includes the free Moby Thesaurus.

Yes, I spotted that. Which is good as now I can drop synonyms.el and use
the one service.

,----
| (defun rgr/synonyms()
|   (interactive)
|   (let* ((default (region-or-word-at-point))
| 	 (term (read-string (format "Synonyms for (%s): "
|                                     default))))
|     (dictem-run
|      'dictem-base-search
|      "moby-thes" term "exact")))
| 
| (define-key mode-specific-map [?S] 'rgr/synonyms)
`----




^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: what is the easiest way to install a thesaurus feature in emacs?
  2009-01-15 16:41           ` Richard Riley
@ 2009-01-15 17:00             ` Richard Riley
  0 siblings, 0 replies; 10+ messages in thread
From: Richard Riley @ 2009-01-15 17:00 UTC (permalink / raw
  To: help-gnu-emacs

Richard Riley <rileyrgdev@gmail.com> writes:

> Xah Lee <xahlee@gmail.com> writes:
>
>>> But the original post was targetting *synonyms*. Can either package do
>>> them
>>
>> basically all open source dict clients access the open source dict at
>> dict.org, which includes the free Moby Thesaurus.
>
> Yes, I spotted that. Which is good as now I can drop synonyms.el and use
> the one service.
>

Apologies, correction:

,----
| (defun rgr/synonyms()
|   (interactive)
|   (let* ((default (region-or-word-at-point))
| 	 (term (read-string (format "Synonyms for (%s): "
|                                     default) default)))
|     (dictem-run
|      'dictem-base-search
|      "moby-thes" term "exact")))
`----


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-01-15 17:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-14 11:15 what is the easiest way to install a thesaurus feature in emacs? avilella
2009-01-14 12:26 ` Richard Riley
2009-01-14 19:38 ` Xah Lee
2009-01-15 14:33   ` Richard Riley
2009-01-15 15:08     ` Xah Lee
2009-01-15 15:15       ` Richard Riley
2009-01-15 15:29         ` avilella
2009-01-15 15:36         ` Xah Lee
2009-01-15 16:41           ` Richard Riley
2009-01-15 17:00             ` Richard Riley

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.