GNU bug report logs - #59087
29.0.50; package-vc-update error

Previous Next

Package: emacs;

Reported by: Feng Shu <tumashu <at> 163.com>

Date: Mon, 7 Nov 2022 02:34:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


Message #74 received at 59087 <at> debbugs.gnu.org (full text, mbox):

From: Philip Kaludercic <philipk <at> posteo.net>
To: Feng Shu <tumashu <at> 163.com>
Cc: 59087 <at> debbugs.gnu.org
Subject: Re: bug#59087: 29.0.50; package-vc-update error
Date: Fri, 18 Nov 2022 09:53:46 +0000
Feng Shu <tumashu <at> 163.com> writes:

> Philip Kaludercic <philipk <at> posteo.net> writes:
>
>> Feng Shu <tumashu <at> 163.com> writes:
>>
>>> I have found another issue:
>>>
>>> If I run package-update when emacs first start, it will show error:
>>>
>>> package-update: Symbol’s function definition is void: package-vc-update
>>
>> It appears that I had assumed package-vc-update was autoloaded, when it
>> was in fact not autoloaded.  This comes back to the question of whether
>> it is worth autoloading the function or not.
>
> Good job, a simple suggstion:
>
>  Source package ‘pyim’ installed (Version 5.2.8, Revision "16f7c3cf0736a65d8af0c8ba8396343dbd17e368").
>
> seem to too long, what about:
>
>  Source package ‘pyim’ installed (Version 5.2.8, Revision "16f7c3").

That would work too, but abbreviating commits is not always correct...

How about using `format-spec' together with a user option to format the
success messages?  E.g. you could set it do "Source package `%n'
installed (Version %v, Revision %6r)".

Then again, I don't know if this issue is that important.

> or more info:
>  
>  Source package ‘pyim’ installed (Version 5.2.8, Revision "16f7c3", Commit "commit message").

VC doesn't expose a convenient way of fetching commit messages from revisions.




This bug report was last modified 2 years and 216 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.