Article View: gnu.emacs.bug
Article #87483[19.27] highlighting in ispell does not work on tty
From: Ulrich Mueller
Date: Fri, 16 Sep 1994 20:38
Date: Fri, 16 Sep 1994 20:38
29 lines
1787 bytes
1787 bytes
In GNU Emacs 19.27.1 (mips-dec-ultrix4.3) of Thu Sep 15 1994 on vsnhd1
On non-X terminals, highlighting of spelling erorrs in ispell does not
work anymore (it worked in Emacs 19.25).
The problem is in the initialization of function
`ispell-highlight-spelling-error', which depends on the return value
of `(featurep 'faces)', which is `t' in version 19.27 even for non-X
terminals (is this intentional?).
The following patch fixes the problem.
--- ispell.el~ Sun Sep 11 07:41:12 1994
+++ ispell.el Fri Sep 16 21:32:36 1994
@@ -1301,7 +1301,9 @@
(cond
((string-match "Lucid" emacs-version)
'ispell-highlight-spelling-error-lucid)
- ((and (string-lessp "19" emacs-version) (featurep 'faces))
+ ((and (string-lessp "19" emacs-version)
+ (featurep 'faces)
+ window-system)
'ispell-highlight-spelling-error-overlay)
(t 'ispell-highlight-spelling-error-generic))))
--
Ulrich Mueller Div. PPE, CERN, CH-1211 Geneva 23
ulm@vsnhd1.cern.ch http://vsnhd1.cern.ch/people/ulm.html
Technical Details
Message-ID:
<9409162033.AA20232@vsnhd1.cern.ch>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vsnhd1.cern.ch!ulmShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,9fd035c05c3bf82c,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-09-17 23:40:52 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!vsnhd1.cern.ch!ulm From: ulm@vsnhd1.cern.ch (Ulrich Mueller) Newsgroups: gnu.emacs.bug Subject: [19.27] highlighting in ispell does not work on tty Date: 16 Sep 1994 16:38:21 -0400 Organization: GNUs Not Usenet Lines: 29 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9409162033.AA20232@vsnhd1.cern.ch>