unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11963: 23.4; flyspell should update display after dictionary insertion
@ 2012-07-17 19:59 Norman Ramsey
  2012-07-18  2:53 ` Eli Zaretskii
  2012-10-13  9:52 ` Chong Yidong
  0 siblings, 2 replies; 4+ messages in thread
From: Norman Ramsey @ 2012-07-17 19:59 UTC (permalink / raw)
  To: 11963

  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)





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

* bug#11963: 23.4; flyspell should update display after dictionary insertion
  2012-07-17 19:59 bug#11963: 23.4; flyspell should update display after dictionary insertion Norman Ramsey
@ 2012-07-18  2:53 ` Eli Zaretskii
  2012-08-05  5:15   ` Glenn Morris
  2012-10-13  9:52 ` Chong Yidong
  1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2012-07-18  2:53 UTC (permalink / raw)
  To: Norman Ramsey; +Cc: 11963

> From: Norman Ramsey <nr@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.





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

* bug#11963: 23.4; flyspell should update display after dictionary insertion
  2012-07-18  2:53 ` Eli Zaretskii
@ 2012-08-05  5:15   ` Glenn Morris
  0 siblings, 0 replies; 4+ messages in thread
From: Glenn Morris @ 2012-08-05  5:15 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: Norman Ramsey, 11963

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.





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

* bug#11963: 23.4; flyspell should update display after dictionary insertion
  2012-07-17 19:59 bug#11963: 23.4; flyspell should update display after dictionary insertion Norman Ramsey
  2012-07-18  2:53 ` Eli Zaretskii
@ 2012-10-13  9:52 ` Chong Yidong
  1 sibling, 0 replies; 4+ messages in thread
From: Chong Yidong @ 2012-10-13  9:52 UTC (permalink / raw)
  To: Norman Ramsey; +Cc: 11963

Norman Ramsey <nr@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.





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

end of thread, other threads:[~2012-10-13  9:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17 19:59 bug#11963: 23.4; flyspell should update display after dictionary insertion Norman Ramsey
2012-07-18  2:53 ` Eli Zaretskii
2012-08-05  5:15   ` Glenn Morris
2012-10-13  9:52 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).