brw@jim.odr.oz (Brian Wallis) (02/09/88)
We are running emacs version 17.49 (hopefully to upgrade to version 18.49 soon. The bug I am having trouble with is in query-replace-regexp. It is an intermittent problem. Symptoms: the regular expression is found and I am prompted for replace or not (Query replace xxx with yyy:) The cursor is in the right place. When confirmed with SPC the replace is done, but instead of deleting the matching expression, the region deleted is from 1 character back from the start of the match to 1 character back from the end of the match (ie. the right NUMBER of characters are deleted, but the delete starts in the wrong place!). The replacement text is then inserted properly. This is very annoying (particularly if you use '!' to replace the lot or when the replacement is not seen (I usually use SPC not ','). I usually find out when I compile the file later (or proofread, spellcheck etc..). It doesn't happen every time I run q-r-r just occasionally, enough to be VERY annoying. Does this ring a bell with anybody? Maybe it will go away when we eventually upgrade, If not I will post again! -- Brian Wallis (brw@jim.odr.oz) (03) 562-0100 Fax: (03) 562-0616, Telex: Jacobs Radio (Bayswater) 152093 ^ What What What What What! Only 5 whats, that's not very bright!