From: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!chris.umcp-cs@UDel-Relay Newsgroups: net.emacs Title: Re: Bugs in Gosling's Article-I.D.: sri-arpa.1151 Posted: Fri Apr 29 12:53:42 1983 Received: Mon May 2 03:37:33 1983 From: Chris Torek From: hplabs!hao!cires!nbires!kimbo@Ucb-Vax If I'm going to have to pay for my emacs, I'd like to get rid of a few of my pet bugs, namely: 1) If an abbreviation is expanded inside a save-excursion dot is left at the beginning of the expansion. I can't tell you how to fix it, but I CAN tell you exactly what's going on: abbreviations are expanded by first deleting the original word, then inserting the new word. The deletion moves the mark that holds the old "dot" value back, while the insertion does not move it forward. This applies to a lot of situations, like setting a variable to (dot) and then munching text. I spent some time rewriting something to get around that once. 2) Why doesn't save-excursion also save the current regular expression. Good question. 3) Why no looking-at-reverse? Is this related to... Probably 'cause no one's needed it badly enough yet to write it. 4) Reverse regular expressions seem to be full of bugs. I think the FSM-code doesn't work right for reverse searches, though I don't know why. I'd have to do WORK to fix that one.... Finally, does it do any good to list bugs here? Is anyone listening? There are plenty of people LISTENING, just not the Unipress people. Still, it might be a good idea for someone to collect a list of known bugs. (And fixes? Would it be legal to distribute changes for the current (read: old, free) version of Emacs? How many of you who've fixed things have kept a ChangeLog?) - Chris