unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* flyspell
@ 2002-10-15 23:39 Tim Cross
  2002-10-16  2:15 ` flyspell Matt Armstrong
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Tim Cross @ 2002-10-15 23:39 UTC (permalink / raw)



I just decided to start using flyspell again. I previously used it
under emacs 20 on a redhat linux box. However, I can't seem to get it
workin under emacs 21 running on a debian wooddy box. 

If I open a file in text mode and type M-x flyspell-mode it appears to be
loading fine and tells me the next search will use the british
dictionary. However, if I mis-spell a word it is not picked up at
all. THe mode line has Fly in it, so it appears it is loaded, but it
is not checking the spelling. 

I've looked at the docs and the flyspell behavior I am after appears
to be the default, so I gather it should just work as expected by
loading the mode. Also, the text-mode-hook I use to use to load
flyspell in all text modes does not appear to be working. Ispell is
working fine and I can perform a spell check of a buffer using it, but
flyspell mode just does not appear to be functioning. 

So, my question - what has changed with flyspell in emacs 21.2 and
what am I missing? An example of a typical flyspell config would be
helpful. 

Tim

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

* Re: flyspell
  2002-10-15 23:39 flyspell Tim Cross
@ 2002-10-16  2:15 ` Matt Armstrong
  2002-10-16  7:06 ` flyspell Charles Muller
  2002-10-17 22:56 ` flyspell Tim Cross
  2 siblings, 0 replies; 19+ messages in thread
From: Matt Armstrong @ 2002-10-16  2:15 UTC (permalink / raw)


In article <87elarclvn.fsf@blind-bat.une.edu.au>, Tim Cross wrote:
> 
> I just decided to start using flyspell again. I previously used it
> under emacs 20 on a redhat linux box. However, I can't seem to get it
> workin under emacs 21 running on a debian wooddy box. 

You might try running "emacs -q", then load a file, run flyspell mode
and see if it works.  If it does, the problem is with your local config.


-- 
matt

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

* Re: flyspell
  2002-10-15 23:39 flyspell Tim Cross
  2002-10-16  2:15 ` flyspell Matt Armstrong
@ 2002-10-16  7:06 ` Charles Muller
  2002-10-17 22:56 ` flyspell Tim Cross
  2 siblings, 0 replies; 19+ messages in thread
From: Charles Muller @ 2002-10-16  7:06 UTC (permalink / raw)


Tim Cross wrote:

> what am I missing? An example of a typical flyspell config would be
> helpful. 

I don't know if this is *typical* or not. I was having a heck of a time
getting flyspell to run according the instructions I had found, but finally succeeded with this configuration,
which as you can see, is added in with some other text-mode hooks.

Chuck

-----------------------------------

(require 'flyspell)

(setq default-major-mode 'text-mode)
(setq text-mode-hook
      '(lambda nil
	 (setq fill-column 76)
	 (auto-fill-mode 1)
	 (flyspell-mode 1)))

 

> 
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 
---------------------------
Charles Muller  <acmuller@gol.com>
Faculty of Humanities,  Toyo Gakuen University
Digital Dictionary of Buddhism and CJKV-English Dictionary 
[http://www.acmuller.net]
Mobile Phone: 090-9310-1787

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

* Re: flyspell
  2002-10-15 23:39 flyspell Tim Cross
  2002-10-16  2:15 ` flyspell Matt Armstrong
  2002-10-16  7:06 ` flyspell Charles Muller
@ 2002-10-17 22:56 ` Tim Cross
  2 siblings, 0 replies; 19+ messages in thread
From: Tim Cross @ 2002-10-17 22:56 UTC (permalink / raw)


Tim Cross <tcross@nospam.une.edu.au> writes:

> I just decided to start using flyspell again. I previously used it
> under emacs 20 on a redhat linux box. However, I can't seem to get it
> workin under emacs 21 running on a debian wooddy box. 
> 
Just a follow-up to my own post. It turns out the problem is with
the emacspeak package I also use - it seems flyspell has changed
substantially since the version in emacs 20 and the 'advice' which
emacspeak uses to add voice locking support needs to be updated to
work with the newer version. 

Thanks to those who provided suggestions/help.

Tim

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

* Flyspell
@ 2002-11-14 15:04 Tormod Omholt-Jensen
  2002-11-14 15:14 ` Flyspell Jesper Harder
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Tormod Omholt-Jensen @ 2002-11-14 15:04 UTC (permalink / raw)



I try to run flyspell and ntemacs.  When a erronenous word occures, the
word is underlined and turned red. Flyspell tells me to hit mouse button2
to correct word at point. Hitting either mouse button yields no action at
all. Anyone has an idea of the reason for this and/or how to fix it?

Regards Tormod Omholt-Jensen

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

* Re: Flyspell
  2002-11-14 15:04 Flyspell Tormod Omholt-Jensen
@ 2002-11-14 15:14 ` Jesper Harder
  2002-11-14 22:32   ` Flyspell Jason Rumney
  2002-11-14 19:35 ` Flyspell ken
       [not found] ` <mailman.1037305366.13093.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 19+ messages in thread
From: Jesper Harder @ 2002-11-14 15:14 UTC (permalink / raw)


Tormod Omholt-Jensen <toj@pvv.org> writes:

> I try to run flyspell and ntemacs.  When a erronenous word occures,
> the word is underlined and turned red. Flyspell tells me to hit mouse
> button2 to correct word at point. Hitting either mouse button yields
> no action at all. Anyone has an idea of the reason for this and/or how
> to fix it?

If your mouse has a scroll wheel, that's button 2.  (Emacs sort of
assumes a 3 button mouse, so button2 would be the middle button).

If you do `C-h k' and press a mouse button, Emacs will tell you which
button it thinks you pressed.

See also the ntEmacs FAQ:

    <http://www.gnu.org/software/emacs/windows/faq4.html#mouse>

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

* Re: Flyspell
  2002-11-14 15:04 Flyspell Tormod Omholt-Jensen
  2002-11-14 15:14 ` Flyspell Jesper Harder
@ 2002-11-14 19:35 ` ken
       [not found] ` <mailman.1037305366.13093.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 19+ messages in thread
From: ken @ 2002-11-14 19:35 UTC (permalink / raw)
  Cc: help-gnu-emacs


If you don't have a three-button mouse, then the "second" mouse button 
means pressing both at the same time.


hth,
ken

-- 
AMD crashes?  See http://cleveland.lug.net/~ken/amd-problem/.

Spake Tormod Omholt-Jensen at 16:04 (UTC+0100) on Thu, 14 Nov 2002:

= 
= I try to run flyspell and ntemacs.  When a erronenous word occures, the
= word is underlined and turned red. Flyspell tells me to hit mouse button2
= to correct word at point. Hitting either mouse button yields no action at
= all. Anyone has an idea of the reason for this and/or how to fix it?
= 
= Regards Tormod Omholt-Jensen
= 
= _______________________________________________
= Help-gnu-emacs mailing list
= Help-gnu-emacs@gnu.org
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= 

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

* Re: Flyspell
       [not found] ` <mailman.1037305366.13093.help-gnu-emacs@gnu.org>
@ 2002-11-14 21:22   ` Benjamin Lewis
  0 siblings, 0 replies; 19+ messages in thread
From: Benjamin Lewis @ 2002-11-14 21:22 UTC (permalink / raw)


On Thu, 14 Nov 2002, ken@cleveland.lug.net wrote:

> If you don't have a three-button mouse, then the "second" mouse button 
> means pressing both at the same time.

... assuming you have this emulation enabled in your XF86Config.

-- 
Benjamin Lewis

Now is the time for all good men to come to.
                -- Walt Kelly

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

* Re: Flyspell
  2002-11-14 15:14 ` Flyspell Jesper Harder
@ 2002-11-14 22:32   ` Jason Rumney
  2002-11-22 15:56     ` Flyspell Michael Hudson
  0 siblings, 1 reply; 19+ messages in thread
From: Jason Rumney @ 2002-11-14 22:32 UTC (permalink / raw)


Jesper Harder <harder@myrealbox.com> writes:

> Tormod Omholt-Jensen <toj@pvv.org> writes:
> 
> > I try to run flyspell and ntemacs.  When a erronenous word occures,
> > the word is underlined and turned red. Flyspell tells me to hit mouse
> > button2 to correct word at point. Hitting either mouse button yields
> > no action at all. Anyone has an idea of the reason for this and/or how
> > to fix it?
> 
> If your mouse has a scroll wheel, that's button 2.  (Emacs sort of
> assumes a 3 button mouse, so button2 would be the middle button).

And if you have a 2 button mouse, generally the middle mouse button
can be simulated by pressing both buttons at once (this is built into
the Windows version of Emacs, and also built into many X Servers,
including XFree86).

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

* Re: Flyspell
  2002-11-14 22:32   ` Flyspell Jason Rumney
@ 2002-11-22 15:56     ` Michael Hudson
  2002-11-22 16:45       ` Flyspell Andrew Choi
  2002-12-04 22:47       ` Flyspell Edward Dodge
  0 siblings, 2 replies; 19+ messages in thread
From: Michael Hudson @ 2002-11-22 15:56 UTC (permalink / raw)


Jason Rumney <jasonr@btinternet.co> writes:

> Jesper Harder <harder@myrealbox.com> writes:
> 
> > Tormod Omholt-Jensen <toj@pvv.org> writes:
> > 
> > > I try to run flyspell and ntemacs.  When a erronenous word occures,
> > > the word is underlined and turned red. Flyspell tells me to hit mouse
> > > button2 to correct word at point. Hitting either mouse button yields
> > > no action at all. Anyone has an idea of the reason for this and/or how
> > > to fix it?
> > 
> > If your mouse has a scroll wheel, that's button 2.  (Emacs sort of
> > assumes a 3 button mouse, so button2 would be the middle button).
> 
> And if you have a 2 button mouse,

What if I have a one-button mouse (i.e. a Mac)?

Cheers,
M.

-- 
58. Fools ignore complexity. Pragmatists suffer it. Some can avoid
    it. Geniuses remove it.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html

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

* Re: Flyspell
  2002-11-22 15:56     ` Flyspell Michael Hudson
@ 2002-11-22 16:45       ` Andrew Choi
  2002-12-04 22:47       ` Flyspell Edward Dodge
  1 sibling, 0 replies; 19+ messages in thread
From: Andrew Choi @ 2002-11-22 16:45 UTC (permalink / raw)


Michael Hudson <mwh@python.net> writes:

> > > Tormod Omholt-Jensen <toj@pvv.org> writes:
> > > 
> > > > I try to run flyspell and ntemacs.  When a erronenous word
> > > > occures, the word is underlined and turned red. Flyspell tells
> > > > me to hit mouse button2 to correct word at point. Hitting either
> > > > mouse button yields no action at all. Anyone has an idea of the
> > > > reason for this and/or how to fix it?
> [...]
> 
> What if I have a one-button mouse (i.e. a Mac)?

Try binding it to C-S-mouse-1, e.g.,

(add-hook
 'flyspell-mode-hook
 '(lambda () 
    (define-key flyspell-mode-map [(C-S-mouse-1)] 'flyspell-correct-word)))

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

* Re: Flyspell
  2002-11-22 15:56     ` Flyspell Michael Hudson
  2002-11-22 16:45       ` Flyspell Andrew Choi
@ 2002-12-04 22:47       ` Edward Dodge
  2002-12-05 16:19         ` Flyspell Michael Hudson
  1 sibling, 1 reply; 19+ messages in thread
From: Edward Dodge @ 2002-12-04 22:47 UTC (permalink / raw)


Michael Hudson <mwh@python.net> writes:

> What if I have a one-button mouse (i.e. a Mac)?
> 
> Cheers,
> M.

You go out to Wal-Mart and buy an $18 USB Logitech Wheelman and plug
it into your Mac.  Problem solved.

Edward

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

* Re: Flyspell
  2002-12-04 22:47       ` Flyspell Edward Dodge
@ 2002-12-05 16:19         ` Michael Hudson
  2002-12-05 16:49           ` Flyspell Schone Mullerin
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Hudson @ 2002-12-05 16:19 UTC (permalink / raw)


Edward Dodge <someone@g3.com> writes:

> Michael Hudson <mwh@python.net> writes:
> 
> > What if I have a one-button mouse (i.e. a Mac)?
> > 
> > Cheers,
> > M.
> 
> You go out to Wal-Mart and buy an $18 USB Logitech Wheelman and plug
> it into your Mac.  Problem solved.

I have one of them, but my Mac is an iBook...

Cheers,
M.

-- 
31. Simplicity does not precede complexity, but follows it.
  -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html

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

* Re: Flyspell
  2002-12-05 16:19         ` Flyspell Michael Hudson
@ 2002-12-05 16:49           ` Schone Mullerin
  2002-12-05 17:56             ` Flyspell Michael Hudson
  0 siblings, 1 reply; 19+ messages in thread
From: Schone Mullerin @ 2002-12-05 16:49 UTC (permalink / raw)


In article <m2vg28xwsn.fsf@localhost.bris.ac.uk>, Michael Hudson wrote:
>> You go out to Wal-Mart and buy an $18 USB Logitech Wheelman and plug
>> it into your Mac.  Problem solved.
> 
> I have one of them, but my Mac is an iBook...

Which has a usb port, no?

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

* Re: Flyspell
  2002-12-05 16:49           ` Flyspell Schone Mullerin
@ 2002-12-05 17:56             ` Michael Hudson
  2002-12-06 23:17               ` Flyspell Jason Rumney
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Hudson @ 2002-12-05 17:56 UTC (permalink / raw)


Schone Mullerin <smullerin@deutsches.lieder.net> writes:

> In article <m2vg28xwsn.fsf@localhost.bris.ac.uk>, Michael Hudson wrote:
> >> You go out to Wal-Mart and buy an $18 USB Logitech Wheelman and plug
> >> it into your Mac.  Problem solved.
> > 
> > I have one of them, but my Mac is an iBook...
> 
> Which has a usb port, no?

Yes, but I use my iBook in situations where using an external mouse
would be inconvenient.

Cheers,
M.

-- 
 "The future" has arrived but they forgot to update the docs.
                                        -- R. David Murray, 9 May 2000

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

* Re: Flyspell
  2002-12-05 17:56             ` Flyspell Michael Hudson
@ 2002-12-06 23:17               ` Jason Rumney
  2002-12-11 13:22                 ` Flyspell Michael Hudson
  0 siblings, 1 reply; 19+ messages in thread
From: Jason Rumney @ 2002-12-06 23:17 UTC (permalink / raw)


Michael Hudson <mwh@python.net> writes:

> Yes, but I use my iBook in situations where using an external mouse
> would be inconvenient.

So get a trackball instead.

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

* Re: Flyspell
  2002-12-06 23:17               ` Flyspell Jason Rumney
@ 2002-12-11 13:22                 ` Michael Hudson
  0 siblings, 0 replies; 19+ messages in thread
From: Michael Hudson @ 2002-12-11 13:22 UTC (permalink / raw)


Jason Rumney <jasonr@btinternet.co> writes:

> Michael Hudson <mwh@python.net> writes:
> 
> > Yes, but I use my iBook in situations where using an external mouse
> > would be inconvenient.
> 
> So get a trackball instead.

No.  Attempts to educate me in the proper use of my computer are
appreciated[*], but my original question was answered at least a week
back...

Cheers,
M.
[*] note sarcasm, please.

-- 
  MAN:  How can I tell that the past isn't a fiction designed to
        account for the discrepancy between my immediate physical
        sensations and my state of mind?
                   -- The Hitch-Hikers Guide to the Galaxy, Episode 12

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

* flyspell
@ 2006-08-29  1:27 Hadron Quark
  2006-08-29 13:12 ` flyspell Hadron Quark
  0 siblings, 1 reply; 19+ messages in thread
From: Hadron Quark @ 2006-08-29  1:27 UTC (permalink / raw)



If I add the flyspell minor mode to  my gnus message mode, is there a
way to "add word" to flyspell's dictionaries? "C-h a flyspell" shows nothing
similar:

,----
| flyspell-auto-correct-previous-hook M-x ... RET
|   Command: Hook to track successive calls to `flyspell-auto-correct-previous-word'.
| flyspell-auto-correct-previous-word C-;
|   Command: Auto correct the first mispelled word that occurs before point.
| flyspell-auto-correct-word    M-TAB, C-.
|   Command: Correct the current word.
| flyspell-buffer		      M-x ... RET
|   Command: Flyspell whole buffer.
| flyspell-check-previous-highlighted-word M-x ... RET
|   Command: Correct the closer misspelled word.
| flyspell-correct-word	      M-x ... RET
|   Command: Pop up a menu of possible corrections for a misspelled word.
| flyspell-delay-command	      M-x ... RET
|   Command: Set COMMAND to be delayed, for Flyspell.
| flyspell-deplacement-command  M-x ... RET
|   Command: Set COMMAND that implement cursor movements, for Flyspell.
| flyspell-goto-next-error      C-,
|   Command: Go to the next previously detected error.
| flyspell-mode		      <menu-bar> <tools> <spell> <flyspell-mode>
|   Command: Minor mode performing on-the-fly spelling checking.
| flyspell-post-command-hook    M-x ... RET
|   Command: The `post-command-hook' used by flyspell to check a word in-the-fly.
| flyspell-pre-command-hook     M-x ... RET
|   Command: Save the current buffer and point for Flyspell's post-command hook.
| flyspell-prog-mode	      M-x ... RET
|   Command: Turn on `flyspell-mode' for comments and strings.
| flyspell-region		      M-x ... RET
|   Command: Flyspell text between BEG and END.
| flyspell-word		      M-x ... RET
|   Command: Spell check a word.
`----

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

* Re: flyspell
  2006-08-29  1:27 flyspell Hadron Quark
@ 2006-08-29 13:12 ` Hadron Quark
  0 siblings, 0 replies; 19+ messages in thread
From: Hadron Quark @ 2006-08-29 13:12 UTC (permalink / raw)


Hadron Quark <hadronquark@gmail.com> writes:

> If I add the flyspell minor mode to  my gnus message mode, is there a
> way to "add word" to flyspell's dictionaries? "C-h a flyspell" shows nothing
> similar:
>
> ,----
> | flyspell-auto-correct-previous-hook M-x ... RET
> |   Command: Hook to track successive calls to `flyspell-auto-correct-previous-word'.
> | flyspell-auto-correct-previous-word C-;
> |   Command: Auto correct the first mispelled word that occurs before point.
> | flyspell-auto-correct-word    M-TAB, C-.
> |   Command: Correct the current word.
> | flyspell-buffer		      M-x ... RET
> |   Command: Flyspell whole buffer.
> | flyspell-check-previous-highlighted-word M-x ... RET
> |   Command: Correct the closer misspelled word.
> | flyspell-correct-word	      M-x ... RET
> |   Command: Pop up a menu of possible corrections for a misspelled word.
> | flyspell-delay-command	      M-x ... RET
> |   Command: Set COMMAND to be delayed, for Flyspell.
> | flyspell-deplacement-command  M-x ... RET
> |   Command: Set COMMAND that implement cursor movements, for Flyspell.
> | flyspell-goto-next-error      C-,
> |   Command: Go to the next previously detected error.
> | flyspell-mode		      <menu-bar> <tools> <spell> <flyspell-mode>
> |   Command: Minor mode performing on-the-fly spelling checking.
> | flyspell-post-command-hook    M-x ... RET
> |   Command: The `post-command-hook' used by flyspell to check a word in-the-fly.
> | flyspell-pre-command-hook     M-x ... RET
> |   Command: Save the current buffer and point for Flyspell's post-command hook.
> | flyspell-prog-mode	      M-x ... RET
> |   Command: Turn on `flyspell-mode' for comments and strings.
> | flyspell-region		      M-x ... RET
> |   Command: Flyspell text between BEG and END.
> | flyspell-word		      M-x ... RET
> |   Command: Spell check a word.
> `----

Woke up today and it was staring me in the face. I didn't see the "?"
after the M-$ to bring up corrections. So, "i", unsurprisingly. And turn
off lazy highlighting to get emacs to immediately remark the inserted
words. personal dictionary default is : ".aspell.en.prepl" (customisable
of course in the ispell configuration).

I'm beginning to love emacs.

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

end of thread, other threads:[~2006-08-29 13:12 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-15 23:39 flyspell Tim Cross
2002-10-16  2:15 ` flyspell Matt Armstrong
2002-10-16  7:06 ` flyspell Charles Muller
2002-10-17 22:56 ` flyspell Tim Cross
  -- strict thread matches above, loose matches on Subject: below --
2002-11-14 15:04 Flyspell Tormod Omholt-Jensen
2002-11-14 15:14 ` Flyspell Jesper Harder
2002-11-14 22:32   ` Flyspell Jason Rumney
2002-11-22 15:56     ` Flyspell Michael Hudson
2002-11-22 16:45       ` Flyspell Andrew Choi
2002-12-04 22:47       ` Flyspell Edward Dodge
2002-12-05 16:19         ` Flyspell Michael Hudson
2002-12-05 16:49           ` Flyspell Schone Mullerin
2002-12-05 17:56             ` Flyspell Michael Hudson
2002-12-06 23:17               ` Flyspell Jason Rumney
2002-12-11 13:22                 ` Flyspell Michael Hudson
2002-11-14 19:35 ` Flyspell ken
     [not found] ` <mailman.1037305366.13093.help-gnu-emacs@gnu.org>
2002-11-14 21:22   ` Flyspell Benjamin Lewis
2006-08-29  1:27 flyspell Hadron Quark
2006-08-29 13:12 ` flyspell Hadron Quark

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).