Re: flyspell and abbrev

2007-04-21 Thread Richard Stallman
I think this is an issue for aspell or ispell
(whichever one you are using).
Not for Emacs.


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-21 Thread emacs user

I think this is an issue for aspell or ispell
(whichever one you are using).
Not for Emacs.


thanks for the prompt response.  actually I thought this might be an issue 
of dabbrev and emacs.  flyspell is only the way in which the abbrev is 
defined in my bug report.


So if I create an abbrev such that CHo should be replaced by Cho, it 
wouldn't work right now (for me).  again, the documentation regarding the 
treatment of case with abbrevs is not simple, and I may have not understood 
it.


_
Download Messenger. Join the i’m Initiative. Help make a difference today. 
http://im.live.com/messenger/im/home/?source=TAGHM_APR07




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-21 Thread Glenn Morris
Richard Stallman wrote:

> I think this is an issue for aspell or ispell (whichever one you are
> using). Not for Emacs.

No, I think rather that flyspell should downcase abbrevs before
defining them, like define-mode-abbrev does.

Beyond that, given the way expand-abbrev treats case, does it make any
sense for define-abbrev to allow you to define an abbrev without
downcasing it? They don't seem to work at all, eg:

emacs -Q -f abbrev-mode
(define-abbrev lisp-mode-abbrev-table "FOO" "foobar")

FOO -> not expanded
foo -> not expanded

(define-abbrev lisp-mode-abbrev-table "bar" "foobar")

bar -> foobar
Bar -> Foobar
BAr -> Foobar
BAR -> FOOBAR


*** flyspell.el 06 Apr 2007 19:55:53 -0700  1.117
--- flyspell.el 21 Apr 2007 16:30:23 -0700  
***
*** 1827,1833 
  (defun flyspell-define-abbrev (name expansion)
(let ((table (flyspell-abbrev-table)))
  (when table
!   (define-abbrev table name expansion
  
  ;;*-*/
  ;;*flyspell-auto-correct-word ...   */
--- 1827,1833 
  (defun flyspell-define-abbrev (name expansion)
(let ((table (flyspell-abbrev-table)))
  (when table
!   (define-abbrev table (downcase name) expansion
  
  ;;*-*/
  ;;*flyspell-auto-correct-word ...   */



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-21 Thread Glenn Morris

For now, I installed the flyspell change. I suggest we think about the
wider issue after the release.



___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-22 Thread Richard Stallman
Beyond that, given the way expand-abbrev treats case, does it make any
sense for define-abbrev to allow you to define an abbrev without
downcasing it? They don't seem to work at all, eg:

Let's document this.  Could someone please do so?


___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-22 Thread emacs user





From: Richard Stallman <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Glenn Morris <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED], emacs-pretest-bug@gnu.org
Subject: Re: flyspell and abbrev
Date: Sun, 22 Apr 2007 12:35:57 -0400

Beyond that, given the way expand-abbrev treats case, does it make any
sense for define-abbrev to allow you to define an abbrev without
downcasing it? They don't seem to work at all, eg:

Let's document this.  Could someone please do so?


I think I missed part of the discussion on which I wasn't copied, but I 
think it is clear that in the context of spell checking for which the abbrev 
thing is (also) used, it makes sense to allow correcting CHo to Cho or such.


_
Interest Rates NEAR 39yr LOWS!  $430,000 Mortgage for $1,299/mo - Calculate 
new payment 
http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-19132&moid=14888




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug


Re: flyspell and abbrev

2007-04-22 Thread emacs user





From: Glenn Morris <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: emacs-pretest-bug@gnu.org,  emacs user <[EMAIL PROTECTED]>
Subject: Re: flyspell and abbrev
Date: Sat, 21 Apr 2007 20:17:45 -0400


For now, I installed the flyspell change. I suggest we think about the
wider issue after the release.



it's fine now!  thanks for the prompt fix!  cheers, EU

_
Download Messenger. Join the i’m Initiative. Help make a difference today. 
http://im.live.com/messenger/im/home/?source=TAGHM_APR07




___
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug