[<<][snot][>>][..]
Sat Apr 3 16:22:09 CEST 2010

Emacs 23 : cursor problem

For some reason, in emacs23 the cursor position doesn't update after
sending a command on the console.  I though I'd fix it by adding a
(goto-char (point-max)) in a particular place, but this doesn't seem
to carry from centeos to debian.

Another problem: output written to the stdout doesn't appear any more.
This might be because I'm using the wrong parameters though.


This thing is broken..  Many things happen that I can't explain.  It's
time for a clean solution.

FIXED: changing the following from `save-excursion' ->
`save-current-buffer' seems to do the trick.

(defun snot-display (thing)
  "Sends a string to the buffer, through the comint filter."
  (save-current-buffer
    (set-buffer snot-buffer)
    (comint-output-filter (snot-process) thing)))



[Reply][About]
[<<][snot][>>][..]