Subject: bug#1339: flyspell-buffer extraneous message to messages buffer

From: xah lee <[email-masked]>
Date: Thu, 13 Nov 2008 10:29:59 -0800

flyspell-buffer will create a error/warning messages in *Messages*  
buffer for words that ether contains unicode, or html such as  
“href”, or words containing apostrophe. Each of these shouldn't  
occure as error/warning messages.

e.g.:

  -> href - 1770: word not found
  -> Youngbloodz - 1765: word not found
  -> href - 1753: word not found
  -> flo - 1748: word not found
  -> ing - 1744: word not found
  -> href - 1740: word not found
  -> utb - 1735: word not found
  -> param - 1731: word not found
  -> pre - 1725: word not found
  -> lil - 1721: word not found
  -> lil - 1717: word not found
  -> b'ness - 1713: word not found
  -> b'ness - 1706: word not found
  -> b'ness - 1699: word not found
  -> b'ness - 1692: word not found
  -> Hollywoood - 1685: word not found
  -> shiiit - 1674: word not found
  -> AMGs - 1667: word not found
  -> nigga - 1662: word not found
  -> Nik - 1656: word not found
  -> pimpin - 1652: word not found
  -> nigga - 1645: word not found
  -> gon - 1639: word not found
  -> Payless - 1635: word not found
  -> holla - 1627: word not found
  -> nigga - 1621: word not found
  -> solve'em - 1615: word not found
  -> holla - 1606: word not found
  -> holla - 1600: word not found
  -> nigga - 1594: word not found
  -> holla - 1588: word not found
  -> nigga - 1582: word not found
  -> niggas - 1576: word not found
  -> Gabana - 1569: word not found
  -> Dolce - 1562: word not found
  -> Burberry - 1556: word not found
  -> BCBG - 1547: word not found
  -> Prada - 1542: word not found
  -> Fendi - 1536: word not found
  -> lyc - 1530: word not found
  -> pre - 1526: word not found
  -> href - 1522: word not found
  -> Beyonce - 1517: word not found
  -> href - 1509: word not found
  -> utb - 1504: word not found
  -> param - 1500: word not found
  -> pre - 1494: word not found
  -> lyc - 1490: word not found
  -> pre - 1486: word not found
  -> Beyonce - 1482: word not found
  -> href - 1474: word not found
  -> Kelis - 1469: word not found
  -> href - 1463: word not found
  -> Kelis - 1458: word not found
  -> href - 1452: word not found
  -> utb - 1447: word not found
  -> param - 1443: word not found
  -> pre - 1437: word not found
  -> lyc - 1433: word not found
  -> pre - 1429: word not found
  -> ludacris - 1425: word not found
  -> href - 1416: word not found
  -> utb - 1411: word not found
  -> param - 1407: word not found
  -> pre - 1401: word not found
  -> dracula - 1397: word not found
  -> sto - 1389: word not found
  -> escalade - 1385: word not found
  -> twerk - 1376: word not found
  -> dir - 1370: word not found
  -> Ludacris - 1366: word not found
  -> stratch - 1357: word not found
  -> champaign - 1349: word not found
  -> tryna - 1339: word not found
  -> runnin - 1333: word not found
  -> Ludacris - 1326: word not found
  -> Ludacris - 1317: word not found
  -> Ludacris - 1308: word not found
  -> Flatlands - 1299: word not found
  -> Pac - 1289: word not found
  -> t'ree - 1285: word not found
  -> Ludacris - 1279: word not found
  -> sy - 1270: word not found
  -> ahh - 1267: word not found
  -> ahh - 1263: word not found
  -> flo - 1259: word not found
  -> li - 1255: word not found
  -> li - 1252: word not found
  -> li - 1249: word not found
  -> Ludacris - 1246: word not found
  -> Ludacris - 1237: word not found
  -> lyc - 1228: word not found
  -> pre - 1224: word not found
  -> Ludacris - 1220: word not found
  -> img - 1207: word not found
  -> Chingy - 556: word not found

For example, “li”, “img”, “href”, “pre” are from html  
keywords enclosed by double straight quotes. “t'ree” is a word  
containing apostrophe.

not sure what the number means.

This behavior effect the user because these messages scrolls thru  
minibuffer, and take a while.

here's a sample text where i got my result:
http://xahlee.org/Periodic_dosage_dir/sanga_pemci/hiphop.html
(flyspell the html source)

This does not happen on other html file with lots of words containing  
unicode though. e.g. doesn't happen on this file for some reason,  
even though this is also html file and contain lots of words with  
unicode:
http://xahlee.org/PageTwo_dir/Vocabulary_dir/foreignwords.html

perhaps something triggered it?

In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0)
  of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp
Windowing system distributor `Apple Inc.', version 10.4.11
configured using `configure  '--prefix=/Applications/Emacs.app/ 
Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/ 
Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-Os -arch  
i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI - 
DUSE_MAC_TSM''

   Xah
∑ http://xahlee.org/

☄