[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatic updating (of display?) of the buffer *cvs* fails

From: Markus Rost
Subject: Re: Automatic updating (of display?) of the buffer *cvs* fails
Date: Sun, 29 Jun 2003 15:33:31 -0400 (EDT)

       I don't know how to provide more details than I did already, except
       for the fact that I am running emacs on X on Solaris and GNU/Linux.

   Can you please tell me exactly what to type, starting with `emacs -q'?
   My Emacs checkout is in ~/emacs.

I'll try.

This is for the current CVS emacs on X on Solaris and GNU/Linux.  Here
are the results of C-u M-x emacs-version :

GNU Emacs (sparc-sun-solaris2.9, X toolkit) of 2003-06-27 on hampton

GNU Emacs (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 
2003-06-28 on euler

The problem is not present with emacs -nw.

Start Emacs with emacs -q


M-x cvs-examine ~/emacs RET  (where ~/emacs is the Emacs checkout directory)

Move point up to a line with a "Need-Update" file info, like

              Need-Update             lisp/ChangeLog

(Hopefully there is such a line when you test this.)

Hit key "O" (cvs-mode-update)

Eventually the minibuffer displays the message

CVS process has completed in *cvs*

However, the buffer *cvs* is not visibly updated.  Only after C-g or
C-l it gets visibly updated.

A critical function seems to be here the function cvs-sentinel.  It
contains the following part:

          (save-excursion (eval cvs-postproc))
          ;; check whether something is left
          (unless cvs-postprocess
            ;; IIRC, we enable undo again once the process is finished
            ;; for cases where the output was inserted in *vc-diff* or
            ;; in a file-like buffer.  -stef
            (with-current-buffer cvs-buffer
              (cvs-update-header nil nil) ;FIXME: might need to be inline
              (message "CVS process has completed in %s" (buffer-name)))))

Here (eval cvs-postproc) in the first line does the updating of buffer
*cvs*, and the message "CVS process has completed ..." comes from the
last line.  Since I can see that message, without seeing the updated
version of buffer *cvs*, it seems that there is a problem with the
display engine.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]