From: Adam D. <du...@in...> - 2001-11-19 21:03:27
|
Well, there is a bug in ERC under XEmacs that puts a newline before erc-input-prompt every time I send a [return]. The code in question is: --- (let ((insert-end-position (point))) (goto-char (point-max)) (open-line 1) (goto-char (point-max)) --- I don't know why - because all the functions in this code are described to do the same in Emacs21 and XEmacs - but it only happens in XEmacs. Removing "(open-line 1)" seems to solve the problem - but it has, of course, unwanted effects on the Emacs-side. Well, I tried to do an "(insert "here")" before and after the `open-line' and they all end up at the end of the line in Emacs and in a new line in XEmacs. Is this my own setup or is somebody else seeing this? And: can someone add some code to fix this? In the sample configuration files they go like this: (defvar running-xemacs (string-match "XEmacs\\|Lucid" emacs-version)) I know this isn't a nice solution, but I cannot explain this behaviour. Bye. Adam. -- Adam Duck (du...@cs...) Bockenheimer Landstr. 135 / Zi. 211 60325 Frankfurt/Main ______________________________________ You can never tell which way the train went by looking at the track. |