emacs-devel
[Top][All Lists]
Advanced

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

Re: C-x 4 a ceased to work in *cvs-diff* buffer


From: Kai Grossjohann
Subject: Re: C-x 4 a ceased to work in *cvs-diff* buffer
Date: Sun, 10 Oct 2004 14:07:52 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Stefan <address@hidden> writes:

> I can't reproduce this here.  Could you give some more info?

Perhaps two hours ago I updated my working copy, and it still
happens.  I proceeded as follows:

    cvs update -dP
    ./kai.sh make
    ./kai.sh install
    emacs -Q
    M-x cvs-update RET ~/work/gnu/emacs RET
    ;; Hit = on the lisp/net/tramp.el line.
    ;; Go to the *cvs-diff* buffer/window and navigate to the + line.
    C-x 4 a
    ;; Minibuffer shows: Use file tramp.el: ~/work/gnu/emacs/tramp.el

Here is the *cvs* buffer after M-x cvs-update RET:

    Repository : address@hidden:/cvsroot/emacs
    Module     : emacs
    Working dir: ~/work/gnu/emacs/



    In directory .:
                  Modified                .cvsignore
                  Modified                configure
                  Unknown                 foo
    In directory lisp:
                  Modified                lisp/.cvsignore
    In directory lisp/emacs-lisp:
                  Unknown                 lisp/emacs-lisp/semantic.cache
    In directory lisp/net:
                  Modified                lisp/net/.cvsignore
                  Modified                lisp/net/tramp.el
    In directory lispref:
                  Unknown                 lispref/semantic.cache
    In directory man:
                  Modified                man/.cvsignore
    In directory src:
                  Modified                src/.cvsignore

    --------------------- End ---------------------
    -- last cmd: cvs -f diff -u -N lisp/net/tramp.el --

And here is the *cvs-diff* buffer for tramp.el:

    pcl-cvs: descending directory lisp/net/
    Index: tramp.el
    ===================================================================
    RCS file: /cvsroot/emacs/emacs/lisp/net/tramp.el,v
    retrieving revision 1.50
    diff -u -r1.50 tramp.el
    --- tramp.el        10 Aug 2004 20:49:45 -0000      1.50
    +++ tramp.el        10 Oct 2004 11:57:11 -0000
    @@ -2370,7 +2370,7 @@
                                   (point) (progn (end-of-line) (point)))))
                     (equal tramp-buffer-file-attributes attr))
                    ;; If file does not exist, say it is not modified.
    -           (t nil)))))))
    +           (t t)))))))

     (defadvice clear-visited-file-modtime (after tramp activate)
       "Set `tramp-buffer-file-attributes' back to nil.

All of this was done on a FreeBSD 5.3 beta machine, though I'm now
posting from Debian GNU/Linux.

Does this provide the detail you need?

This was the first time ever I used "emacs -Q", I vaguely remember
that it is something like "emacs -q -no-site-file", only more so.

Kai

PS: You are probably wondering about my kai.sh script for building
    Emacs.  It is not very sophisticated, but just so that you know
    what I've been doing, I'll include it here:

#!/bin/sh
what="$1"

case x$what in
        x[cm]*)
                make maintainer-clean
                autoconf257
                ./configure --prefix=$HOME/sw/emacs --with-gtk
                make bootstrap
                ;;
        xi*)
                rm -rf $HOME/sw/SAV.emacs
                mv $HOME/sw/emacs $HOME/sw/SAV.emacs
                make install tags
                ( cd $HOME/sw/emacs/share/emacs;
                  mv site-lisp site-lisp.SAV;
                  ln -s /usr/local/share/emacs/site-lisp )
                ;;
        *)
                echo "Usage: $0 <what>"
                echo "<what> can be 'make' or 'install'"
                exit 2
                ;;
esac





reply via email to

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