help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: can't tag module w/ PCL-CVS in Emacs 21.2


From: Richard V. Molen
Subject: Re: can't tag module w/ PCL-CVS in Emacs 21.2
Date: 18 Oct 2002 15:10:50 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Stefan Monnier <foo@acm.com>" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> 
writes:

> >>>>> "Richard" == Richard V Molen <rvmolen@bambecksystems.com> writes:
> > The PCL-CVS documentation suggests that it is a replacement for the VC
> > frontend (when using CVS).  This leads me to three questions:
> 
> Hmmm... I though I had been very careful to explain that it is a complement
> to VC and a replacement only to VC-dired.

Sorry, I misread.

> 
> > 2. Does it make sense to use the VC front-end instead of PCL-CVS
> >    some/most of the time when working with a CVS backend?
> 
> I use both all the time.
> 
> > 3. Are there any plans to merge the two frontends?
> 
> No.  There's a clear understanding that some kind of merging would be
> great, but the two codes are very different and work very differently,
> so I don't know of any actual plan to merge them.  They interact well
> enough for my purposes right now.
> 
> > Repository : :server:user@hostname:/no/place/like/home/cvs
> 
> What is this :server: access method ?  I know of :ext:, :pserver:,
> :fork:, and :gserver: but hadn't heard of that one yet.

>From info pages on Cygwin install...

   This info manual describes how to use and administer CVS version
1.11.2.

... *Note Connecting via rsh:* ...

   If METHOD is not specified, and the repository name contains `:',
then the default is `ext' or `server', depending on your platform; both
are described in *Note Connecting via rsh::.

WinNT Environment variables
CVS_SERVER=/usr/bin/cvs
CVSROOT=:server:user@hostname:/no/place/like/home/cvs

> 
> > Module     : vendor/app
> > Working dir: c:/wrk/app/
> 
> 
> > In directory .:
> >               Up-To-Date  1.4         a.bat
> > .
> > .
> > .
> >               Up-To-Date  1.1.1.2     file.txt
> 
> > --------------------- End ---------------------
> > -- last cmd: cvs -f tag dumbd4 . --
> 
> So it seems everything is perfectly right, you've done the right thing
> and Emacs seems to think we got the right result as well.
> 
> > ...showing that the cvs command was supposedly sent.
> > However, placing cursor on 'file.txt' then pressing '+'
> > to view tag tree shows only prior tags done outside Emacs.
> > In fact, doing it at a bash prompt thus...
> 
> Hmm... That's strange!
> Can you shows us the ` *cvs-tmp*' buffer right after the
> command terminates (note the leading space in the buffer name) ?

I find no ' *cvs-tmp*' buffer in the buffer list.  Is there some
way to turn it on?  

I'm using Emacs on WinNT with Cygwin bash if that makes a difference.
 GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy
 Concurrent Versions System (CVS) 1.11.1p1 (client)

Here's what I found in *Messages*
Loading pcvs...
Loading easy-mmode...done
Loading easymenu...done
Loading pcvs...done
(No files need saving)
Running cvs status ...
CVS process has completed
Loading cvs-status...done
(No files need saving)
Running cvs tag ...
CVS process has completed
(No files need saving)
Running cvs status ...
CVS process has completed

> 
> > $ cvs tag dumbcvs1
> > ...then viewing the tag tree for file.txt shows that tagging
> > via the bash prompt works...
> 
> Can you try `cvs -f tag dumbcvs2 .' to make it even more like
> what Emacs runs ?
> Are you sure bash and Emacs run the same `cvs' executable ?

Yes, Cygwin mounts 
d:\tools\cygwin\bin on /usr/bin so /usr/bin = /bin
a symbolic link in /bin/cvs points to d:\bin\cvs.exe

so bash finds the link in /usr/bin/cvs and Emacs has this
exec-path...

("d:/tools/cygwin/bin"   ;find link first?
      ; ... paths
 "d:/bin"                ;or find real program first?
      ; ... paths
 "d:/tools/emacs-21.2/bin")

Also this is my WinNT path, if it matters...
Path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;d:\bin


-- 
Richard V. Molen

Warning!!
Signature under construction, safety glasses required.


reply via email to

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