* ispell, aspell, and personal word list
@ 2012-05-02 21:04 Steve Petersen
2012-05-02 21:23 ` Peter Dyballa
0 siblings, 1 reply; 8+ messages in thread
From: Steve Petersen @ 2012-05-02 21:04 UTC (permalink / raw)
To: Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 844 bytes --]
Hi Emacs folks,
I've dug around but can't find help on this. I have a long personal word
list for ispell named ".ispell_american" that I've built up over the years
with uncommon words I commonly use. I sync this personal dictionary across
a few computers.
But lately my emacs at work (GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+
Version 2.24.4) of 2011-04-04 on rothera, modified by Debian) won't
recognize common words of mine.
I traced this to its using aspell instead of ispell when I invoke
"ispell-buffer", and referring to ".aspell.en.pws" instead of my ispell
personal dictionary. Is there a good way to tell it to use my ispell list
instead? (I tried a symbolic link but it's not in the right format to make
aspell happy.) Or is there a good way to convert all my emacsen to aspell
and convert the personal dictionary?
Thanks,
spetey
[-- Attachment #2: Type: text/html, Size: 1022 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-02 21:04 ispell, aspell, and personal word list Steve Petersen
@ 2012-05-02 21:23 ` Peter Dyballa
2012-05-02 23:02 ` Steve Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2012-05-02 21:23 UTC (permalink / raw)
To: Steve Petersen; +Cc: Help-gnu-emacs
Am 02.05.2012 um 23:04 schrieb Steve Petersen:
> I traced this to its using aspell instead of ispell when I invoke
> "ispell-buffer", and referring to ".aspell.en.pws" instead of my ispell
> personal dictionary. Is there a good way to tell it to use my ispell list
> instead?
I don't think so... It's quite easy to let aspell spell-check your personal ispell word list so that it can learn from it the words unknown to aspell.
--
Greetings
Pete
From error to error, one discovers the entire truth.
- Sigmund Freud
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-02 21:23 ` Peter Dyballa
@ 2012-05-02 23:02 ` Steve Petersen
2012-05-03 8:32 ` Peter Dyballa
0 siblings, 1 reply; 8+ messages in thread
From: Steve Petersen @ 2012-05-02 23:02 UTC (permalink / raw)
To: Peter Dyballa, Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]
Thanks, that's an interesting idea - and actually I did something similar,
by just adding the little ID line aspell wants at the top of my old ispell
list. This is a good temporary fix, but then the lists will start to
diverge - I guess I'd like one list synced across all my computers. Which -
I guess - means either telling them all to use aspell (or ispell), or
telling both aspell and ispell to use one list.
On Wed, May 2, 2012 at 5:23 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 02.05.2012 um 23:04 schrieb Steve Petersen:
>
> > I traced this to its using aspell instead of ispell when I invoke
> > "ispell-buffer", and referring to ".aspell.en.pws" instead of my ispell
> > personal dictionary. Is there a good way to tell it to use my ispell list
> > instead?
>
> I don't think so... It's quite easy to let aspell spell-check your
> personal ispell word list so that it can learn from it the words unknown to
> aspell.
>
> --
> Greetings
>
> Pete
>
> From error to error, one discovers the entire truth.
> - Sigmund Freud
>
>
--
http://stevepetersen.net
[-- Attachment #2: Type: text/html, Size: 1570 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-02 23:02 ` Steve Petersen
@ 2012-05-03 8:32 ` Peter Dyballa
2012-05-03 8:39 ` Jeffrey Spencer
0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2012-05-03 8:32 UTC (permalink / raw)
To: Steve Petersen; +Cc: Help-gnu-emacs
Am 03.05.2012 um 01:02 schrieb Steve Petersen:
> I guess I'd like one list synced across all my computers
Put the files into a cloud! (DropBox and so on.)
--
Greetings
Pete <\
_\ O _
|o \ _\\_/-\='
_____________(_)|-(_) (_)___________________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-03 8:32 ` Peter Dyballa
@ 2012-05-03 8:39 ` Jeffrey Spencer
2012-05-03 14:38 ` Steve Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Jeffrey Spencer @ 2012-05-03 8:39 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Steve Petersen, Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 717 bytes --]
I just use aspell and hunspell but have the same list in the cloud. Then
symbolic links to it depending on the computer so essentially like you said
they all use the same personal dictionary list which seems to work great. I
reckon it should work with ispell is well but not sure if the format
changed or not.
On Thu, May 3, 2012 at 6:32 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 03.05.2012 um 01:02 schrieb Steve Petersen:
>
> > I guess I'd like one list synced across all my computers
>
> Put the files into a cloud! (DropBox and so on.)
>
> --
> Greetings
>
> Pete <\
> _\ O _
> |o \ _\\_/-\='
> _____________(_)|-(_) (_)___________________________________
>
>
>
[-- Attachment #2: Type: text/html, Size: 1060 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-03 8:39 ` Jeffrey Spencer
@ 2012-05-03 14:38 ` Steve Petersen
2012-05-03 19:13 ` Peter Dyballa
0 siblings, 1 reply; 8+ messages in thread
From: Steve Petersen @ 2012-05-03 14:38 UTC (permalink / raw)
To: Jeffrey Spencer; +Cc: Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 645 bytes --]
Thanks! Yes I use "the cloud" (Dropbox) to sync my personal word list - but
my problem is that ispell lists don't play nicely with aspell lists, and I
don't know why one emacs uses one and another emacs uses the other, or how
to change it.
On Thu, May 3, 2012 at 4:39 AM, Jeffrey Spencer <jeffspencerd@gmail.com>wrote:
> I just use aspell and hunspell but have the same list in the cloud. Then
> symbolic links to it depending on the computer so essentially like you said
> they all use the same personal dictionary list which seems to work great. I
> reckon it should work with ispell is well but not sure if the format
> changed or not.
>
>
[-- Attachment #2: Type: text/html, Size: 958 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-03 14:38 ` Steve Petersen
@ 2012-05-03 19:13 ` Peter Dyballa
2012-05-03 19:31 ` Steve Petersen
0 siblings, 1 reply; 8+ messages in thread
From: Peter Dyballa @ 2012-05-03 19:13 UTC (permalink / raw)
To: Steve Petersen; +Cc: Help-gnu-emacs
Am 03.05.2012 um 16:38 schrieb Steve Petersen:
> my problem is that ispell lists don't play nicely with aspell lists, and I
> don't know why one emacs uses one and another emacs uses the other, or how
> to change it.
(setq ispell-program-name "ispell")
; (setq ispell-program-name "aspell")
;
; Für Französisch:
; (require 'ispell)
; (defun ispell-get-otherchars ()
; (replace-regexp-in-string "-" "" (ispell-get-decoded-string 3)))
;
(if (string= "aspell" ispell-program-name)
(progn
; (setq ispell-extra-args "--norm-form=comp --norm-required --run-together")
; (setq ispell-dictionary "en_GB-ise-w_accents")
(setq ispell-dictionary "deutsch")
(set-default 'ispell-local-dictionary ispell-dictionary);"deutsch"
(add-hook 'LaTeX-mode-hook (function (lambda () (setq ispell-extra-args '("--mode=tex")))))
; (setq-default ispell-extra-args '("--mode=tex"))
; (setq-default ispell-extra-args '("--personal=custom_dict.rws"))
; (add-hook 'LaTeX-mode-hook 'flyspell-mode)
(message "Alles für «a»spell")
)
(setq ispell-dictionary "german8")
(setq ispell-dictionary "deutsch8")
(add-hook 'LaTeX-mode-hook (function (lambda () (setq ispell-extra-args '("-t")))))
(message "Alles für »i«spell")
(add-hook 'TeX-language-en-hook (function (lambda () (ispell-change-dictionary "british"))))
(add-hook 'TeX-language-de-hook (function (lambda () (ispell-change-dictionary ispell-dictionary))));"deutsch"
)
--
Greetings
Pete
You can learn many things from children. How much patience you have, for instance.
– Franklin P. Jones
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: ispell, aspell, and personal word list
2012-05-03 19:13 ` Peter Dyballa
@ 2012-05-03 19:31 ` Steve Petersen
0 siblings, 0 replies; 8+ messages in thread
From: Steve Petersen @ 2012-05-03 19:31 UTC (permalink / raw)
To: Peter Dyballa; +Cc: Help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 2225 bytes --]
Oh thank you! I should have known it would be that easy. Though I've been
using emacs regularly for over ten years, I'm not a programmer, and still
don't know much about lisp or my .emacs file. Maybe someday ...
On Thu, May 3, 2012 at 3:13 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:
>
> Am 03.05.2012 um 16:38 schrieb Steve Petersen:
>
> > my problem is that ispell lists don't play nicely with aspell lists, and
> I
> > don't know why one emacs uses one and another emacs uses the other, or
> how
> > to change it.
>
> (setq ispell-program-name "ispell")
> ; (setq ispell-program-name "aspell")
> ;
> ; Für Französisch:
> ; (require 'ispell)
> ; (defun ispell-get-otherchars ()
> ; (replace-regexp-in-string "-" "" (ispell-get-decoded-string 3)))
> ;
> (if (string= "aspell" ispell-program-name)
> (progn
> ; (setq ispell-extra-args "--norm-form=comp --norm-required
> --run-together")
> ; (setq ispell-dictionary "en_GB-ise-w_accents")
> (setq ispell-dictionary "deutsch")
> (set-default 'ispell-local-dictionary ispell-dictionary);"deutsch"
> (add-hook 'LaTeX-mode-hook (function (lambda () (setq
> ispell-extra-args '("--mode=tex")))))
> ; (setq-default ispell-extra-args '("--mode=tex"))
> ; (setq-default ispell-extra-args '("--personal=custom_dict.rws"))
> ; (add-hook 'LaTeX-mode-hook 'flyspell-mode)
> (message "Alles für «a»spell")
> )
> (setq ispell-dictionary "german8")
> (setq ispell-dictionary "deutsch8")
> (add-hook 'LaTeX-mode-hook (function (lambda () (setq
> ispell-extra-args '("-t")))))
> (message "Alles für »i«spell")
> (add-hook 'TeX-language-en-hook (function (lambda ()
> (ispell-change-dictionary "british"))))
> (add-hook 'TeX-language-de-hook (function (lambda ()
> (ispell-change-dictionary ispell-dictionary))));"deutsch"
> )
>
> --
> Greetings
>
> Pete
>
> You can learn many things from children. How much patience you have, for
> instance.
> – Franklin P. Jones
>
>
--
http://stevepetersen.net
[-- Attachment #2: Type: text/html, Size: 2917 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-05-03 19:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-02 21:04 ispell, aspell, and personal word list Steve Petersen
2012-05-02 21:23 ` Peter Dyballa
2012-05-02 23:02 ` Steve Petersen
2012-05-03 8:32 ` Peter Dyballa
2012-05-03 8:39 ` Jeffrey Spencer
2012-05-03 14:38 ` Steve Petersen
2012-05-03 19:13 ` Peter Dyballa
2012-05-03 19:31 ` Steve Petersen
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.