emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: bug in vc-state functions in Emacs v 22.1]


From: Dan Nicolaescu
Subject: Re: address@hidden: bug in vc-state functions in Emacs v 22.1]
Date: Fri, 26 Oct 2007 10:34:28 -0700

Richard Stallman <address@hidden> writes:

  > I sent this message three times to ESR, and never got a response.
  > Would someone else please fix deal with these problems, then ack?

I can't reproduce this. 

GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-03-07 on hs20-bc1-6.build.redhat.com
up-to-date
up-to-date
up-to-date

The bug report used 21.3, I tried it with 21.4. AFAIR the only
difference between the 2 is some security bug that had nothing to do
with VC.



  > Can you please fix these bugs, then ack?
  > 
  > From: "Guru Gandharv" <address@hidden>
  > Subject: bug in vc-state functions in Emacs v 22.1
  > To: address@hidden
  > Date: Tue, 2 Oct 2007 15:31:31 -0400
  > 
  > - ------=_Part_17733_22620424.1191353491870
  > Content-Type: text/plain; charset=ISO-8859-1
  > Content-Transfer-Encoding: 7bit
  > Content-Disposition: inline
  > 
  > In batch mode vc related commands doesn't work as expected. In editor
  > mode it partially works, if we do a vc-<backend>-state before we do vc-state
  > it gives correct state and a 'vc-recompute-state' gives correct state in any
  > order.
  > I verified the latest Emacs CVS source and the behavior is still same. It
  > works fine with vc version shipped with Emacs v21.3.
  > 
  > *Problem *Illustration: <address@hidden:/u/parimiv/work/cos/xrsh>
  > 
  > $ cvs status myfile.sh|grep Status
  > File: myfile.sh           Status: Needs Patch
  > $ <address@hidden:/u/parimiv/work/cos/xrsh>
  > 
  > $ <address@hidden:/u/parimiv/tmp> cat get-vc-state.el
  > (require 'vc-cvs)
  > (require 'vc)
  > (message "%s" (emacs-version))
  > (if (> emacs-major-version 21)
  >     (message "%s" (vc-recompute-state "/tmp/myfile.sh"))
  >     (message "%s" (vc-state "/tmp/myfile.sh")))
  > (message "%s" (vc-cvs-state "/tmp/myfile.sh"))
  > (message "%s" (vc-state "/tmp/myfile.sh"))
  > $
  > 
  > $ <address@hidden:/u/parimiv/tmp> emacs-22.1 -batch -l get-vc-state.el
  > GNU Emacs 22.1.1 (i386-pc-solaris2.10, GTK+ Version 2.4.9)
  >  of 2007-09-27 on sx86qa3.nyc.deshaw.com
  > up-to-date
  > up-to-date
  > up-to-date
  > <address@hidden:/u/parimiv/tmp>$
  > <address@hidden:/u/parimiv/tmp> emacs-21.3
  > - -batch -l get-vc-state.el
  > GNU Emacs 21.3.1 (i386-pc-solaris2.10, Motif Version 2.1.0)
  >  of 2005-05-14 on sx86qa1.nyc.deshaw.com
  > up-to-date
  > needs-patch
  > needs-patch
  > <address@hidden:/u/parimiv/tmp>$ <address@hidden:/u/parimiv/tmp>
  > 
  > - ------=_Part_17733_22620424.1191353491870
  > Content-Type: text/html; charset=ISO-8859-1
  > Content-Transfer-Encoding: 7bit
  > Content-Disposition: inline
  > 
  > <div>In batch mode vc related commands doesn&#39;t work as expected. In 
editor mode&nbsp;it partially works, if we do a vc-&lt;backend&gt;-state before 
we do vc-state it gives correct state and a &#39;vc-recompute-state&#39; gives 
correct state in any order. 
  > <br>I verified the latest Emacs CVS source and the behavior is still same. 
It works fine with vc version shipped with Emacs v21.3.</div>
  > <div>&nbsp;</div>
  > <div><u>Problem </u><a 
href="mailto:address@hidden:/u/parimiv/work/cos/xrsh";><font 
color="#000000">Illustration:</font></a></div>
  > <div>&nbsp;</div>
  > <div>$&nbsp;cvs status myfile.sh|grep Status<br>File: 
myfile.sh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Status: 
Needs Patch<br><a 
href="mailto:address@hidden:/u/parimiv/work/cos/xrsh";>$</a><br>&nbsp;</div>
  > <div><a href="mailto:address@hidden:/u/parimiv/tmp";>$</a>&nbsp;cat 
get-vc-state.el<br>(require &#39;vc-cvs)<br>(require &#39;vc)<br>(message 
&quot;%s&quot; (emacs-version))<br>(if (&gt; emacs-major-version 
21)<br>&nbsp;&nbsp; &nbsp;(message &quot;%s&quot; (vc-recompute-state 
&quot;/tmp/myfile.sh&quot;))
  > <br>&nbsp;&nbsp; &nbsp;(message &quot;%s&quot; (vc-state 
&quot;/tmp/myfile.sh&quot;)))<br>(message &quot;%s&quot; (vc-cvs-state 
&quot;/tmp/myfile.sh&quot;))<br>(message &quot;%s&quot; (vc-state 
&quot;/tmp/myfile.sh&quot;))<br>$</div>
  > <div>&nbsp;</div>
  > <div><a href="mailto:address@hidden:/u/parimiv/tmp";>$</a><a 
href="mailto:address@hidden:/u/parimiv/tmp";>&nbsp;emacs-22.1 -batch -l 
get-vc-state.el<br>GNU Emacs 22.1.1 (i386-pc-solaris2.10, GTK+ Version 
2.4.9)<br>&nbsp;of 2007-09-27 on sx86qa3.nyc.deshaw.com
  > <br>up-to-date<br>up-to-date<br>up-to-date<br></a><a 
href="mailto:address@hidden:/u/parimiv/tmp";>$</a><a 
href="mailto:address@hidden:/u/parimiv/tmp";>&nbsp;emacs-21.3 -batch -l 
get-vc-state.el<br>GNU Emacs 21.3.1 (i386-pc-solaris2.10, Motif Version 2.1.0)
  > <br>&nbsp;of 2005-05-14 on 
sx86qa1.nyc.deshaw.com<br>up-to-date<br>needs-patch<br>needs-patch<br></a><a 
href="mailto:address@hidden:/u/parimiv/tmp";>$</a><br>&nbsp;</div>
  > 
  > - ------=_Part_17733_22620424.1191353491870--
  > ----------




reply via email to

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