I mailed the other day about "Strange behavior with MULE and
punctuation on 21.0.65,Solaris 2.5.1." It turns out this si a problem
in ispell.
If you do M-x ispell-minor-mode and then type:
.SPC
where SPC, is, you guessed a space, then you buffer will look like:
.
^--- cursor
I tried to trace what was happening by doing debug-on-entry
ispell-minor-check, but I got lost in the bowles of
ispell-word. ispell-minor-check is bound to space.
The code in question is:
(save-window-excursion
(save-restriction
(narrow-to-region (save-excursion (forward-line -1) (point)) (point))
(ispell-word nil t))))
(command-execute (key-binding (this-command-keys)))))
I'm not adept enought with elisp to figure out much else from here. I
checked ispell.el, and it had not changed since 21.0.63, and I don't
remember it being a problem then. I use ispell-minor-mode for email,
so I'm sure I would have noticed. I tried it with -no-init-file, just
to make sure that I was not messing something up in my .emacs. No
luck.
Any help in how to debug this further would be greatly apreciated.
Thanks,
Andy
Show replies by date
Me> I mailed the other day about "Strange behavior with MULE and
Me> punctuation on 21.0.65,Solaris 2.5.1." It turns out this si a
Me> problem in ispell.
Me> If you do M-x ispell-minor-mode and then type:
.SPC
Me> where SPC, is, you guessed a space, then you buffer will look
Me> like:
.
^--- cursor
Me> I tried to trace what was happening by doing debug-on-entry
Me> ispell-minor-check, but I got lost in the bowles of
Me> ispell-word. ispell-minor-check is bound to space.
Me> The code in question is:
(save-window-excursion
(save-restriction
(narrow-to-region (save-excursion (forward-line -1) (point)) (point))
(ispell-word nil t))))
(command-execute (key-binding (this-command-keys)))))
I took another whack at this. With the buffer as described above,
narrow-to-region is evaluated with 1 2. ispell-word returns nil. I
think at this point the debugger in interfering, because I just get a
bunch "d" keys that I was punching in for this-command-keys.
I just checked 21.0.63, starting with -vanilla, it has the same
problem :(
Any ideas?
Andy