From: Leo <sdl.web@gmail.com>
To: Eric Hanchrow <offby1@blarg.net>
Cc: emacs-devel@gnu.org
Subject: Re: vc-bzr failed in Windows XP
Date: Sun, 06 Jul 2008 19:50:47 +0100 [thread overview]
Message-ID: <xbaitzf2kfso.fsf@cam.ac.uk> (raw)
In-Reply-To: <87lk0eewuw.fsf@offby1.atm01.sea.blarg.net> (Eric Hanchrow's message of "Sun, 06 Jul 2008 10:38:47 -0700")
On 2008-07-06 18:38 +0100, Eric Hanchrow wrote:
>>>>>> "Leo" == Leo <sdl.web@gmail.com> writes:
>
> Leo> sha1sum.exe downloaded from
> Leo> ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe.
>
> Leo> Now when I try to open a file in bzr repo and type C-x v =,
> Leo> Emacs throws the following backtrace:
>
> Leo> Debugger entered--Lisp error: (args-out-of-range 1 41)
> Leo> buffer-substring(1 41)
>
> Try to figure out what the output of "sha1sum" is -- my guess is it's
> not producing any output at all, or just an error. It looks to me like
> the lisp code is merely assuming that the output contains a 41-byte
> hexencoded SHA1 sum, which will be the case only if the program is
> actually working properly.
In DOS window, sha1sum FILE produces a correct output
(e.g. ae7734e7a54353ab13ecba780ed62344332fbc6f putty.exe).
However in the mentioned elisp, the temp buffer contains only:
,----
| usage: sha1sum filenames
`----
Looks like a bug in that elisp code.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the better alternative -- http://www.openoffice.org/
next prev parent reply other threads:[~2008-07-06 18:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-06 17:02 vc-bzr failed in Windows XP Leo
2008-07-06 17:38 ` Eric Hanchrow
2008-07-06 18:50 ` Leo [this message]
2008-11-15 4:25 ` chunlinyao
2008-11-15 9:28 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=xbaitzf2kfso.fsf@cam.ac.uk \
--to=sdl.web@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=offby1@blarg.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.