Discussion:
aspell question
(too old to reply)
AndreLTR
2013-08-15 18:51:39 UTC
Permalink
Hello,

I run ubuntu and use aspell. Although it works fine in general, I do have a problem using it related to a custom keyset in my .emacs (it is the last part of it),

;; spell options
(setq ispell-program-name "aspell")
(setq-default ispell-program-name "aspell")
(setq-default ispell-extra-args '("--reverse"))
;; ;; dicionario brasileiro ispell
(setq ispell-dictionary "brasileiro")
(global-set-key (kbd "C-c C-x") 'ispell-buffer)

The custom keysets are,

(global-set-key [f6] 'search-all-buffers) ;; search word(s) em todos buffers
(global-set-key [f7] 'spell-buffer) ;; spell buffer
(global-set-key [f8] 'spell-region) ;; spell region
(global-set-key [f9] 'spell-word) ;; spell word

Only the first one of them work. Any suggestions on how to solve it?

TIA,

Andre Luiz
Michael Heerdegen
2013-08-16 11:15:42 UTC
Permalink
Hi AndreLTR,
(global-set-key [f6] 'search-all-buffers) ;; search word(s) em todos
buffers
(global-set-key [f7] 'spell-buffer) ;; spell buffer
(global-set-key [f8] 'spell-region) ;; spell region
(global-set-key [f9] 'spell-word) ;; spell word
I don't know these commands. Where are they defined?


Michael.
AndreLTR
2013-08-16 16:19:16 UTC
Permalink
Post by AndreLTR
Hello,
I run ubuntu and use aspell. Although it works fine in general, I do have a problem using it related to a custom keyset in my .emacs (it is the last part of it),
;; spell options
(setq ispell-program-name "aspell")
(setq-default ispell-program-name "aspell")
(setq-default ispell-extra-args '("--reverse"))
;; ;; dicionario brasileiro ispell
(setq ispell-dictionary "brasileiro")
(global-set-key (kbd "C-c C-x") 'ispell-buffer)
The custom keysets are,
(global-set-key [f6] 'search-all-buffers) ;; search word(s) em todos buffers
(global-set-key [f7] 'spell-buffer) ;; spell buffer
(global-set-key [f8] 'spell-region) ;; spell region
(global-set-key [f9] 'spell-word) ;; spell word
Only the first one of them work. Any suggestions on how to solve it?
TIA,
Andre Luiz
Dear Michael,

What do you mean by where they were defined? Answer: my .emacs.

Sincerely,

Andre Luiz
Michael Heerdegen
2013-08-16 21:04:18 UTC
Permalink
Post by AndreLTR
(global-set-key [f6] 'search-all-buffers) ;; search word(s) em todos
buffers
(global-set-key [f7] 'spell-buffer) ;; spell buffer
(global-set-key [f8] 'spell-region) ;; spell region
(global-set-key [f9] 'spell-word) ;; spell word
What do you mean by where they were defined? Answer: my .emacs.
Ok. Do they work when you call them with M-x <command>?

Feel free to send your .emacs to me privatly. Then I can have a look -
that's faster than guessing what could be wrong with it.


Regards,

Michael.
AndreLTR
2013-08-19 11:59:31 UTC
Permalink
Post by Michael Heerdegen
Post by AndreLTR
(global-set-key [f6] 'search-all-buffers) ;; search word(s) em todos
buffers
(global-set-key [f7] 'spell-buffer) ;; spell buffer
(global-set-key [f8] 'spell-region) ;; spell region
(global-set-key [f9] 'spell-word) ;; spell word
What do you mean by where they were defined? Answer: my .emacs.
Ok. Do they work when you call them with M-x <command>?
Feel free to send your .emacs to me privatly. Then I can have a look -
that's faster than guessing what could be wrong with it.
Regards,
Michael.
Dear Michael,

Thanks for the reply. Regarding your question, no they don't. How can I send you a private reply please?

TIA,

Andre Luiz
Michael Heerdegen
2013-08-19 12:58:04 UTC
Permalink
Post by AndreLTR
Thanks for the reply. Regarding your question, no they don't. How can
I send you a private reply please?
Please just use the address from the header, ***@web.de.

Michael.

Loading...