Article View: gnu.emacs.bug
Article #715ispell-buffer bug
From: steiner
Date: Thu, 20 Aug 1992 17:16
Date: Thu, 20 Aug 1992 17:16
38 lines
1962 bytes
1962 bytes
In GNU Emacs 18.58.1 of Fri Jul 10 1992 on klinzhai.rutgers.edu (berkeley-unix)
If you ispell-buffer a tex file, it comes back and says "Current
buffer has no processes". This is because emacs wants to kill the
ispell process when the ispell-args has changed (eg, it's a tex file
so -t is used) but doesn't check if it has one already running. So
the following patch will work:
*** ispell.el.ORIG Thu Nov 21 16:30:17 1991
--- ispell.el Thu Aug 20 17:49:23 1992
***************
*** 291,297 ****
(message "Starting new ispell process...")
(if (not (equal ispell-args ispell-old-args))
(progn ; we have to kill and restart
! (quit-process ispell-process)
(setq ispell-old-args ispell-args)))
(and (get-buffer ispell-out-name) (kill-buffer ispell-out-name))
(setq ispell-process (apply 'start-process "ispell"
--- 291,297 ----
(message "Starting new ispell process...")
(if (not (equal ispell-args ispell-old-args))
(progn ; we have to kill and restart
! (if ispell-process (quit-process ispell-process))
(setq ispell-old-args ispell-args)))
(and (get-buffer ispell-out-name) (kill-buffer ispell-out-name))
(setq ispell-process (apply 'start-process "ispell"
Also the ispell will complain about things like '\hbox' even though
the -t flag is used. It should ignore tex commands with the -t flag.
I haven't looked into this one yet.
ds
Dave Steiner
arpa: Steiner@BakerSt.Rutgers.Edu or Steiner@Rutgers.Edu
uucp: ...{backbone site}!rutgers!bakerst.rutgers.edu!steiner
Technical Details
Message-ID:
<9208202216.AA07126@bakerst.rutgers.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bakerst.rutgers.edu!steinerShow Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!bakerst.rutgers.edu!steiner From: steiner@bakerst.rutgers.edu Subject: ispell-buffer bug Message-ID: <9208202216.AA07126@bakerst.rutgers.edu> Sender: gnulists@ai.mit.edu Organization: GNUs Not Usenet Distribution: gnu Date: Thu, 20 Aug 1992 17:16:09 GMT Approved: bug-gnu-emacs@prep.ai.mit.edu Lines: 39