all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#8369: vc-annotate fails
@ 2011-03-28 20:42 Uwe Brauer
  2011-03-29  2:31 ` Glenn Morris
       [not found] ` <mailman.16.1301366232.5232.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Uwe Brauer @ 2011-03-28 20:42 UTC (permalink / raw)
  To: 8369

[-- Attachment #1: Type: text/plain, Size: 180 bytes --]


Hello 

I have a file under rcs control (about 50 checkins) 
and vc-annotate worked fine, however today vc-annotate returned an error which I 
attach. I am puzzled,

Uwe Brauer 


[-- Attachment #2: vc-ann-err --]
[-- Type: text/plain, Size: 627 bytes --]

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
  vc-rcs-annotate-command("/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1")
  apply(vc-rcs-annotate-command ("/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1"))
  vc-call-backend(RCS annotate-command "/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1")
  vc-annotate("/home/oub/tex/Francais-B1.2/lettre.tex" "3.1" fullscale)
  call-interactively(vc-annotate)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

[-- Attachment #3: Type: text/plain, Size: 2940 bytes --]




In GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2010-03-26 on rothera, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
  shell-dirtrack-mode: t
  global-pabbrev-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
y C-x C-f <backspace> <return> s <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> f M-x v c SPC a n <tab> <return> M-x 
d e b <tab> o <backspace> u <tab> SPC o n <tab> <M-backspace> 
<tab> <return> C-g C-h a d e b u g <return> C-x o <next> 
C-s e r r o r C-x o M-x t o g <tab> d e <tab> e <tab> 
<return> C-x 1 M-x v c SPC a n <tab> <return> C-x C-w 
d e b u g - <M-backspace> v c - a n n - e r r <return> 
C-x C-f t e <tab> <backspace> <backspace> <backspace> 
<return> g + t e s t <return> f C-x C-f t e s t r c 
<backspace> c s <return> t h i s SPC C-x C-s C-x v 
v y e s <return> SPC C-x v v SPC SPC <return> <return> 
n e w SPC C-x C-s C-x v v C-c C-c C-x v v SPC SPC <return> 
<return> <return> a g a i n SPC C-x C-s C-x v v C-c 
C-c C-x k <return> g <down> f C-x v v C-h v C-g C-c 
C-g C-x v l <next> <prior> C-x o C-x 1 C-x C-f <backspace> 
<return> g <up> <up> <up> <down> f g <down> <down> 
f M-x r e p o r <tab> <return>

Recent messages:
Press C-c C-c when you are done editing.
Enter a change comment.  Type C-c C-c when done
Checking in /home/oub/tex/Francais-B1.2/test/testrcs...done
pabbrev scavenging...
Note: file is write protected
Checking out /home/oub/tex/Francais-B1.2/test/testrcs...done
Quit
Loading log-view...done
Directory has changed on disk; type g to update Dired [2 times]
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8369: vc-annotate fails
  2011-03-28 20:42 bug#8369: vc-annotate fails Uwe Brauer
@ 2011-03-29  2:31 ` Glenn Morris
       [not found] ` <mailman.16.1301366232.5232.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2011-03-29  2:31 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: 8369

Uwe Brauer wrote:

> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
>   vc-rcs-annotate-command("/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1")
>   apply(vc-rcs-annotate-command ("/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1"))
>   vc-call-backend(RCS annotate-command "/home/oub/tex/Francais-B1.2/lettre.tex" #<buffer *Annotate lettre.tex (rev 3.1)*> "3.1")
>   vc-annotate("/home/oub/tex/Francais-B1.2/lettre.tex" "3.1" fullscale)
>   call-interactively(vc-annotate)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)

The backtrace doesn't really tell us anything, so unless this is
repeatable, I don't think much can be done.

> In GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2010-03-26 on rothera, modified by Ubuntu

Emacs 22.1 is old and is no longer supported. The latest release is 23.3.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: bug#8369: vc-annotate fails
       [not found] ` <mailman.16.1301366232.5232.bug-gnu-emacs@gnu.org>
@ 2011-03-29 11:08   ` Uwe Brauer
  2011-03-29 17:58     ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Uwe Brauer @ 2011-03-29 11:08 UTC (permalink / raw)
  To: bug-gnu-emacs

>> Regarding bug#8369: vc-annotate fails; Glenn Morris <rgm@gnu.org> adds:

   > Uwe Brauer wrote:

   > The backtrace doesn't really tell us anything, so
   > unless this is repeatable, I don't think much can be
   > done.

That was my imperssion too.
   >> In GNU Emacs 22.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
   >> of 2010-03-26 on rothera, modified by Ubuntu

   > Emacs 22.1 is old and is no longer supported. The
   > latest release is 23.3. 

Right, I tried it out also with GNU emacs 23.1 (that is the
latest version in Kubuntu 10.1) with  Xemacs 21.4.22 and
21.5.29 and it failed in all of them.

I then tried vc-annotate  with different rev version and
indeed then I found a critical number such that it worked for
all version below this number.

I removed the version from the branch via rcs -orev and then
vc-annotate worked again!

BTW there is no emacs command for rcs -o?

So I am not sure what to conclude, maybe I should contact
directly the author of that function.


Uwe Brauer 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8369: vc-annotate fails
  2011-03-29 11:08   ` Uwe Brauer
@ 2011-03-29 17:58     ` Glenn Morris
  2011-07-11 23:39       ` Glenn Morris
  0 siblings, 1 reply; 5+ messages in thread
From: Glenn Morris @ 2011-03-29 17:58 UTC (permalink / raw)
  To: Uwe Brauer; +Cc: 8369


[Please try not to use the newsgroup gateway for posting if you can.
It bypasses the bug tracker.]

Uwe Brauer wrote:

> Right, I tried it out also with GNU emacs 23.1 (that is the
> latest version in Kubuntu 10.1) with  Xemacs 21.4.22 and
> 21.5.29 and it failed in all of them.
>
> I then tried vc-annotate  with different rev version and
> indeed then I found a critical number such that it worked for
> all version below this number.
>
> I removed the version from the branch via rcs -orev and then
> vc-annotate worked again!
>
> BTW there is no emacs command for rcs -o?
>
> So I am not sure what to conclude, maybe I should contact
> directly the author of that function.


I suggest something like:

Make sure you have the .el files installed, if they come in a separate
package on your distribution. Then do:

emacs-23.1 -Q -l cl -l vc-rcs.el

C-h f vc-rcs-annotate-command

Click on `vc-rcs.el' link to go to definition.

M-x edebug-defun

Then repeat the thing that causes the error, stepping through the
vc-rcs-annotate-command with the space key.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#8369: vc-annotate fails
  2011-03-29 17:58     ` Glenn Morris
@ 2011-07-11 23:39       ` Glenn Morris
  0 siblings, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2011-07-11 23:39 UTC (permalink / raw)
  To: 8369-done


If you ever figure out what was different about that revision, then
please reply to this and we can reopen this report if needed.
Or you can send me the whole RCS (so long as there are no privacy
concerns) and I will take a look. But without more information, there's
nothing we can do, so I am closing this for now.

Glenn Morris wrote:

>> indeed then I found a critical number such that it worked for
>> all version below this number.
>>
>> I removed the version from the branch via rcs -orev and then
>> vc-annotate worked again!
[...]
> Make sure you have the .el files installed, if they come in a separate
> package on your distribution. Then do:
>
> emacs-23.1 -Q -l cl -l vc-rcs.el
>
> C-h f vc-rcs-annotate-command
>
> Click on `vc-rcs.el' link to go to definition.
>
> M-x edebug-defun
>
> Then repeat the thing that causes the error, stepping through the
> vc-rcs-annotate-command with the space key.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-11 23:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-28 20:42 bug#8369: vc-annotate fails Uwe Brauer
2011-03-29  2:31 ` Glenn Morris
     [not found] ` <mailman.16.1301366232.5232.bug-gnu-emacs@gnu.org>
2011-03-29 11:08   ` Uwe Brauer
2011-03-29 17:58     ` Glenn Morris
2011-07-11 23:39       ` Glenn Morris

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.