[jasspa] Re: hkhtml overrides
> >> To disable the auto-spell turned on in hkhtml, I added a couple of linesOkay, the bugs my fault, when I added Visual Basic support into html I screwed
> to myhtml.emf:
> >> define-macro my-fhook-html
> >> ; turn off auto-spell
> >> set-variable :auto-spell 0
> >> :auto-spell auto-spell
> >> !emacro
> >You could turn this off globally from "Help->User Setup". I assume that
> >this works ??
> No. It's set to N, still comes up. After adding the above, it is gone.
> (Can't see why, either, it doesn't look like they're setting a global
> mode... maybe it's that unconditional call to auto-spell-init in fhook-html??)
up the auto-spell settings - affects only html support. Heres a proper fix for
*** C:/me/macros/hkhtml.emf.~0~ Fri Jul 16 14:35:46 1999
--- C:/me/macros/hkhtml.emf Sun Aug 22 11:06:20 1999
*** 251,256 ****
--- 251,257 ----
1 global-bind-key html-toggle-mode "C-1"
2 global-bind-key html-toggle-mode "C-2"
+ set-variable :auto-spell &cond &seq $buffer-input "auto-spell-input" 1 -1
; comment the next line to switch indentation off
>I'm not sure what going on here, but hunting through all the macros there
> >> For some reason the line-kill was getting screwed up, so I put this in,
> >> 1 global-mode "line" ; ^K doesn't kill newline too
> >The default mode is to kill line as well IF AND ONLY IF
> >you are at the start of the line. If you do not want this behaviour
> >then you are correct in adding the above to your user.emf.
> I had it in user.emf. Had to add it *again* to hkhtml.emf to get it to stop.
> I'm trying it again now, on my home machine, which doesn't have a modified
> myhtml.emf (yet), and guess what, the "kill" mode is correct for my
> settings (i.e., kills just from cursor forward). So I'm now not sure what
> caused the problem earlier, maybe somehow the mode got toggled by accident.
> I'll keep an eye on it and let you know if I figure it out.
isn't a single reference to the mode. So there are two possibilities, either
an internal ME bug or some how you managed to toggle the mode without
realizing it. I know which I prefer to believe ;-)
While we are on the subject of line mode, I have a suspicion that its a bit
dangerous to use. The reason being that I wrote most of the macros with this
mode disabled so any use of the function kill-line in a macro may have a
different effect leading to problems. kill-line is used quite a lot so I will
try and address this issue for the next release. In the mean time, if a macro
doesn't work try disabling the mode.
> >This should probably be one of those global modes that is set inI'll add this, but only when I've fixed the fore-mentioned issues.
> >"Help->User Setup", this would fit after "Quiet"
> Probably a good idea. I happened to have learned Emacs on GNU, way back,
> so I'm used to it this way. (But never got along well with Lisp, and so
> really like MicroEmacs.)