GNU bug report logs - #11963
23.4; flyspell should update display after dictionary insertion

Previous Next

Package: emacs;

Reported by: Norman Ramsey <nr <at> cs.tufts.edu>

Date: Tue, 17 Jul 2012 20:07:02 UTC

Severity: minor

Found in version 23.4

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11963 in the body.
You can then email your comments to 11963 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11963; Package emacs. (Tue, 17 Jul 2012 20:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Norman Ramsey <nr <at> cs.tufts.edu>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 17 Jul 2012 20:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Norman Ramsey <nr <at> cs.tufts.edu>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.4; flyspell should update display after dictionary insertion
Date: Tue, 17 Jul 2012 15:59:28 -0400
  When flyspell-mode inserts a word into my personal dictionary, it
  should mark that word as correctly spelled.  It doesn't.

    C-x C-f /tmp/foo.txt
    M-x text-mode
    M-x load-library flyspell
    M-x flyspell-mode
    This MRFy theorem

  at this stage the word 'MRFy' should be highlighted as misspelled.
  We now insert it into the dictionary and save it:

    M-b M-b M-$ i y

  At this stage 'MRFy' should no longer be highlighted as misspelled.
  But it remands highlighted until we move off of if, and if we move using
  M-> or similar, it does not get updated properly.  It should be updated
  immediately upon insertion into the dictionary.



In GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-04-07 on biber, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
configured using `configure  '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.4/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -DDEBIAN -O2' 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default enable-multibyte-characters: t

Major mode: Buffer Menu

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
y y e s <return> C-x C-b C-x o <next> <S-next> <M-next> 
C-p C-p C-p C-p C-p M-x r e p o <tab> r t <tab> <r
eturn>

Recent messages:
Indentation setup for shell type pdksh
Ispell process killed
Starting new Ispell process [default] ...
Ispell process killed
Starting new Ispell process [default] ...
Desktop: 399 buffers restored, 3 failed to restore.
ispell.el is already loaded
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Making completion list...

Load-path shadows:
~nr/emacs/sml-mode hides /usr/share/emacs23/site-lisp/sml-mode/sml-mode
~nr/emacs/sml-proc hides /usr/share/emacs23/site-lisp/sml-mode/sml-proc
/usr/share/emacs/site-lisp/haskell-mode/haskell-indent hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-indentation hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-indentation
/usr/share/emacs/site-lisp/haskell-mode/haskell-c hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-c
/usr/share/emacs/site-lisp/haskell-mode/haskell-hugs hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-hugs
/usr/share/emacs/site-lisp/haskell-mode/haskell-font-lock hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-font-lock
/usr/share/emacs/site-lisp/haskell-mode/haskell-mode hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-mode
/usr/share/emacs/site-lisp/haskell-mode/haskell-doc hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-doc
/usr/share/emacs/site-lisp/haskell-mode/haskell-decl-scan hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-decl-scan
/usr/share/emacs/site-lisp/haskell-mode/haskell-site-file hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-site-file
/usr/share/emacs/site-lisp/haskell-mode/haskell-simple-indent hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-simple-indent
/usr/share/emacs/site-lisp/haskell-mode/haskell-ghci hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-ghci
/usr/share/emacs/site-lisp/haskell-mode/inf-haskell hides /usr/share/emacs/23.4/site-lisp/haskell-mode/inf-haskell
/usr/share/emacs/site-lisp/haskell-mode/haskell-cabal hides /usr/share/emacs/23.4/site-lisp/haskell-mode/haskell-cabal
~nr/emacs/noweb-mode hides /usr/share/emacs/site-lisp/noweb-mode
/usr/share/emacs/23.4/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
~nr/emacs/mwheel hides /usr/share/emacs/23.4/lisp/mwheel
~nr/emacs/longlines hides /usr/share/emacs/23.4/lisp/longlines
/usr/share/emacs23/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/23.4/lisp/textmodes/ispell
/usr/share/emacs23/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/23.4/lisp/textmodes/flyspell

Features:
(shadow sort mail-extr message sendmail ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
time-date mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util
hashcash mail-utils emacsbug help-mode view mule-util html-mode vc-rcs
haskell-cabal scheme sml-menus sml-mode apache-mode make-mode parse-time
conf-mode newcomment python-21 python todoo noutline outline cc-mode
cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
info caml warnings sh-script executable vc-cvs cus-edit cus-start
cus-load wid-edit haskell-font-lock haskell-decl-scan haskell-doc
haskell-indentation haskell-indent haskell-mode byte-opt bytecomp
byte-compile pp dired flyspell ispell latexenc tex-mode shell vc-git
vc-hg darcsum easymenu add-log rect assoc lua-mode filladapt
scroll-in-place noweb derived multi-mode advice help-fns advice-preload
imenu compile comint ring desktop edmacro kmacro mmm-auto mmm-vars
mmm-compat regexp-opt cl cl-19 emacs-goodies-el emacs-goodies-custom
emacs-goodies-loaddefs easy-mmode tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset
image fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core
frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai
tai-viet lao korean japanese hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face files
text-properties overlay md5 base64 format env code-pages mule custom
widget hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11963; Package emacs. (Wed, 18 Jul 2012 03:01:02 GMT) Full text and rfc822 format available.

Message #8 received at 11963 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Norman Ramsey <nr <at> cs.tufts.edu>
Cc: 11963 <at> debbugs.gnu.org
Subject: Re: bug#11963: 23.4;
	flyspell should update display after dictionary insertion
Date: Wed, 18 Jul 2012 05:53:55 +0300
> From: Norman Ramsey <nr <at> cs.tufts.edu>
> Date: Tue, 17 Jul 2012 15:59:28 -0400
> 
>   When flyspell-mode inserts a word into my personal dictionary, it
>   should mark that word as correctly spelled.  It doesn't.
> 
>     C-x C-f /tmp/foo.txt
>     M-x text-mode
>     M-x load-library flyspell
>     M-x flyspell-mode
>     This MRFy theorem
> 
>   at this stage the word 'MRFy' should be highlighted as misspelled.
>   We now insert it into the dictionary and save it:
> 
>     M-b M-b M-$ i y
> 
>   At this stage 'MRFy' should no longer be highlighted as misspelled.
>   But it remands highlighted until we move off of if, and if we move using
>   M-> or similar, it does not get updated properly.  It should be updated
>   immediately upon insertion into the dictionary.

Works correctly for me in Emacs 24.1, the latest released version.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11963; Package emacs. (Sun, 05 Aug 2012 05:24:01 GMT) Full text and rfc822 format available.

Message #11 received at 11963 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Norman Ramsey <nr <at> cs.tufts.edu>, 11963 <at> debbugs.gnu.org
Subject: Re: bug#11963: 23.4;
	flyspell should update display after dictionary insertion
Date: Sun, 05 Aug 2012 01:15:12 -0400
Eli Zaretskii wrote:

>>   At this stage 'MRFy' should no longer be highlighted as misspelled.
>>   But it remands highlighted until we move off of if, and if we move using
>>   M-> or similar, it does not get updated properly.  It should be updated
>>   immediately upon insertion into the dictionary.
>
> Works correctly for me in Emacs 24.1, the latest released version.

I see the issue as described in 24.1 and current trunk, on GNU/Linux.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11963; Package emacs. (Sat, 13 Oct 2012 09:54:02 GMT) Full text and rfc822 format available.

Message #14 received at 11963 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Norman Ramsey <nr <at> cs.tufts.edu>
Cc: 11963 <at> debbugs.gnu.org
Subject: Re: bug#11963: 23.4;
	flyspell should update display after dictionary insertion
Date: Sat, 13 Oct 2012 17:52:37 +0800
Norman Ramsey <nr <at> cs.tufts.edu> writes:

>     C-x C-f /tmp/foo.txt
>     M-x text-mode
>     M-x load-library flyspell
>     M-x flyspell-mode
>     This MRFy theorem
>
>     M-b M-b M-$ i y
>
>   At this stage 'MRFy' should no longer be highlighted as misspelled.
>   But it remands highlighted until we move off of if, and if we move using
>   M-> or similar, it does not get updated properly.  It should be updated
>   immediately upon insertion into the dictionary.

Thanks, fix committed to trunk.




bug closed, send any further explanations to 11963 <at> debbugs.gnu.org and Norman Ramsey <nr <at> cs.tufts.edu> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 13 Oct 2012 09:54:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 10 Nov 2012 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 195 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.