all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#59087: 29.0.50; package-vc-update error
@ 2022-11-07  2:33 Feng Shu
  2022-11-14 11:32 ` Philip Kaludercic
  0 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-07  2:33 UTC (permalink / raw)
  To: 59087


Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  make-symbol(nil)
  package-vc-update(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  package-update(pyim)
  mapc(package-update (pyim))
  package-update-all(t)
  funcall-interactively(package-update-all t)
  call-interactively(package-update-all record nil)
  command-execute(package-update-all record)
  execute-extended-command(nil "package-update-all" nil)
  funcall-interactively(execute-extended-command nil "package-update-all" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)



In GNU Emacs 29.0.50 (build 11, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.16.0, Xaw3d scroll bars) of 2022-11-07 built on Tumashu
Repository revision: 61d55ce3bb4dc1f7deac552439c61bbe0909dcdb
Repository branch: feng-emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Debian GNU/Linux 11 (bullseye)

Configured using:
 'configure --with-x-toolkit=lucid --with-json'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS
X11 XAW3D XDBE XIM XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: zh_CN.UTF-8
  value of $XMODIFIERS: @im=fcitx
  locale-coding-system: utf-8-unix

Major mode: ELisp/l

Minor modes in effect:
  bug-reference-prog-mode: t
  global-git-commit-mode: t
  magit-auto-revert-mode: t
  aggressive-indent-mode: t
  emms-playing-time-display-mode: t
  emms-playing-time-mode: t
  cnfonts-mode: t
  projectile-mode: t
  corfu-history-mode: t
  global-corfu-mode: t
  corfu-mode: t
  org-super-agenda-mode: t
  auto-revert-mode: t
  pyim-isearch-mode: t
  vertico-mode: t
  savehist-mode: t
  global-tab-line-mode: t
  tab-line-mode: t
  global-so-long-mode: t
  electric-pair-mode: t
  pixel-scroll-precision-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  context-menu-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  line-number-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/feng/.emacs.d/elpa-29/xr-1.23/xr hides ~/projects/emacs-packages/pyim/.deps/xr
/home/feng/.emacs.d/elpa-29/pyim-basedict-0.5.4/pyim-basedict hides ~/projects/emacs-packages/pyim/.deps/pyim-basedict
/home/feng/.emacs.d/elpa-29/async-20221103.638/async hides ~/projects/emacs-packages/pyim/.deps/async
/home/feng/.emacs.d/elpa-29/transient-20221028.1430/transient hides /home/feng/emacs/emacs29/lisp/transient

Features:
(shadow mail-extr emacsbug loaddefs-gen shortdoc vc-git citre
citre-global bug-reference cl-print cus-start package-vc mule-util
mm-archive network-stream url-cache url-http url-auth url-gw nsm
cursor-sensor warnings emacs-helper eh-guix guix geiser-guile info-look
geiser-debug geiser-repl geiser-image geiser-capf geiser-doc geiser-menu
geiser-autodoc geiser-edit etags fileloop xref geiser-completion
geiser-eval geiser-connection geiser-syntax scheme geiser-log
geiser-popup view geiser eh-misc vundo magit-bookmark magit-submodule
magit-obsolete magit-popup magit-blame magit-stash magit-reflog
magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote
magit-commit magit-sequence magit-notes magit-worktree magit-tag
magit-merge magit-branch magit-reset magit-files magit-refs magit-status
magit magit-repos magit-apply magit-wip magit-log which-func imenu
edebug debug backtrace magit-diff smerge-mode diff diff-mode git-commit
log-edit pcvs-util add-log magit-core magit-autorevert magit-margin
magit-transient magit-process with-editor server magit-mode transient
edmacro magit-git magit-base magit-section compat-27 compat-26
aggressive-indent eh-emms emms-player-vlc emms-player-mpv
emms-player-mplayer emms-setup emms-librefm-stream
emms-librefm-scrobbler emms-playlist-limit emms-i18n emms-history
emms-score emms-stream-info emms-metaplaylist-mode emms-bookmarks
emms-cue emms-mode-line-icon emms-browser emms-volume
emms-volume-sndioctl emms-volume-mixerctl emms-volume-pulse
emms-volume-amixer emms-playlist-sort emms-last-played emms-player-xine
emms-player-mpd tq emms-playing-time emms-lyrics emms-url
emms-player-simple emms-streams emms-show-all emms-tag-editor
emms-tag-tracktag emms-mark emms-mode-line emms-cache emms-info-native
bindat emms-info-exiftool emms-info-tinytag emms-info-metaflac
emms-info-opusinfo emms-info-ogginfo emms-info-mp3info emms-info
emms-later-do emms-playlist-mode emms-source-playlist emms-source-file
locate emms emms-compat el2org cnfonts tempel citre-config
citre-lang-fileref citre-tags citre-ctags citre-readtags
citre-readtags-tables citre-backend-interface citre-ui-peek color
citre-ui-jump citre-common-tag citre-common-util projectile skeleton
ibuf-macs find-dired lisp-mnt grep compile ibuf-ext ibuffer
ibuffer-loaddefs eh-gnus-common ebdb-message ebdb-gnus nnselect ebdb-mua
ebdb-complete ebdb-com crm ebdb-format ebdb-i18n-chn ebdb-i18n
ebdb-i18n-basic ebdb inline eieio-base timezone eww xdg url-queue
thingatpt mm-url gnus-demon gnus-search eieio-opt speedbar ezimage
dframe gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg
nntp gnus-cite gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig
gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group
gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail
mail-source utf7 nnoo gnus-spec gnus-int gnus-range message sendmail
yank-media puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader
gnus-util mail-utils range mm-util mail-prsvr eh-complete cape
corfu-history corfu eh-org org-ql peg org-super-agenda ts ht s dash
org-habit org-capture ob-python python project ob-org ox-md ox-org
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
org-agenda ox-html table ox-ascii ox-publish ox org-element avl-tree
generator autorevert filenotify org-attach org-id org-refile org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src
ob-comint org-pcomplete org-list org-faces org-entities noutline outline
org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol
org-keys oc org-compat advice org-macs org-loaddefs find-func
eh-functions eh-theme modus-vivendi-theme modus-themes eh-basic
cal-china-x cal-china lunar solar cal-dst holidays holiday-loaddefs
cal-menu calendar cal-loaddefs pyim-basedict pyim-cregexp-utils
easy-mmode pyim pyim-cloudim pyim-probe pyim-preview pyim-page popup
cl-extra posframe pyim-indicator pyim-dregcache pyim-dhashcache sort
pyim-dict async pyim-autoselector pyim-process pyim-punctuation
pyim-outcome pyim-candidates pyim-cstring pyim-cregexp pcase xr
pyim-codes pyim-imobjs pyim-pinyin pyim-entered pyim-dcache pyim-pymap
pyim-scheme pyim-common wdired dired dired-loaddefs vc vc-dispatcher
consult-vertico consult compat-28 compat compat-macs kmacro orderless
vertico-directory vertico savehist tab-line switch-window
switch-window-mvborder switch-window-asciiart quail so-long elec-pair
bookmark text-property-search pixel-scroll cua-base tramp-cache
time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration
cus-edit pp cus-load icons files-x tramp-compat rx shell pcomplete
comint ansi-osc ansi-color parse-time iso8601 time-date ls-lisp
format-spec recentf tree-widget wid-edit elpa-mirror finder-inf
vertico-autoloads org-ql-autoloads f-autoloads ov-autoloads
peg-autoloads aggressive-indent-autoloads magit-autoloads
git-commit-autoloads orderless-autoloads cnfonts-autoloads
modus-themes-autoloads consult-autoloads magit-section-autoloads
org-download-autoloads org-super-agenda-autoloads ht-autoloads
paredit-autoloads pos-tip-autoloads switch-window-autoloads ts-autoloads
s-autoloads geiser-guile-autoloads geiser-impl help-fns radix-tree
help-mode geiser-custom geiser-base ring transient-autoloads
with-editor-autoloads xmlgen-autoloads wrap-region-autoloads
wgrep-autoloads vundo-autoloads recentf-ext-autoloads
rainbow-mode-autoloads rainbow-delimiters-autoloads
pyim-basedict-autoloads citre-autoloads compat-autoloads cape-autoloads
emms-autoloads org-contrib-autoloads ox-gfm-autoloads guix-autoloads
geiser-autoloads bui-autoloads edit-indirect-autoloads
marginalia-autoloads flycheck-autoloads pkg-info-autoloads epl-autoloads
elpa-mirror-autoloads el2org-autoloads ebdb-i18n-chn-autoloads
ebdb-autoloads pyim-autoloads async-autoloads markdown-mode-autoloads
xr-autoloads dired-ranger-autoloads dired-hacks-utils-autoloads
dash-autoloads ef-themes-autoloads tempel-autoloads projectile-autoloads
cal-china-x-autoloads autopair-autoloads info corfu-autoloads
adaptive-wrap-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv
bytecomp byte-compile url-vars cl-loaddefs cl-lib china-util rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice seq simple cl-generic indonesian philippine
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo x-toolkit xinput2 x multi-tty
make-network-process emacs)

Memory information:
((conses 16 1048686 212343)
 (symbols 48 50972 509)
 (strings 32 515270 12443)
 (string-bytes 1 9353453)
 (vectors 16 91566)
 (vector-slots 8 13173061 129488)
 (floats 8 1301 1009)
 (intervals 56 1276 496)
 (buffers 984 20))






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-07  2:33 bug#59087: 29.0.50; package-vc-update error Feng Shu
@ 2022-11-14 11:32 ` Philip Kaludercic
  2022-11-15  1:52   ` Feng Shu
                     ` (3 more replies)
  0 siblings, 4 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-14 11:32 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>   make-symbol(nil)
>   package-vc-update(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
>   package-update(pyim)
>   mapc(package-update (pyim))
>   package-update-all(t)
>   funcall-interactively(package-update-all t)
>   call-interactively(package-update-all record nil)
>   command-execute(package-update-all record)
>   execute-extended-command(nil "package-update-all" nil)
>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)

This issue (and the others you reported) might have been resolved on the
scratch/package-vc-fixes branch.  Could you try that out?





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-14 11:32 ` Philip Kaludercic
@ 2022-11-15  1:52   ` Feng Shu
  2022-11-15  9:48     ` Philip Kaludercic
  2022-11-15  2:08   ` Feng Shu
                     ` (2 subsequent siblings)
  3 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-15  1:52 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   make-symbol(nil)
>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..."
>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-update(pyim)
>>   mapc(package-update (pyim))
>>   package-update-all(t)
>>   funcall-interactively(package-update-all t)
>>   call-interactively(package-update-all record nil)
>>   command-execute(package-update-all record)
>>   execute-extended-command(nil "package-update-all" nil)
>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>
> This issue (and the others you reported) might have been resolved on the
> scratch/package-vc-fixes branch.  Could you try that out?

wow, good job, I install pyim and run package-vc-update again, show:

Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
  cl--assertion-failed(dir)
  package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind tar :archive "gnu" :dir nil :extras ((:url . "https://github.com/tumashu/pyim") (:keywords "convenience" "chinese" "pinyin" "input-method") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2")) :signed nil) nil)
  #f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>)("git" nil ("pull" "--stat"))
  run-hook-with-args(#f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>) "git" nil ("pull" "--stat"))
  #f(compiled-function () #<bytecode -0x1712b007cb06d41a>)()
  vc-exec-after(#f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
  vc--process-sentinel(#<process git> #f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
  #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>)(#<process git> "exited abnormally with code 128\n")
  apply(#f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) (#<process git> "exited abnormally with code 128\n"))
  #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore)(#<process git> "exited abnormally with code 128\n")
  apply(#f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore) (#<process git> "exited abnormally with code 128\n"))
  #f(advice #f(compiled-function (p msg) #<bytecode -0xa9844be2e2d4106>) :after #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore))(#<process git> "exited abnormally with code 128\n")



-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-14 11:32 ` Philip Kaludercic
  2022-11-15  1:52   ` Feng Shu
@ 2022-11-15  2:08   ` Feng Shu
  2022-11-15  5:51   ` Feng Shu
  2022-11-19  5:10   ` Feng Shu
  3 siblings, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-15  2:08 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   make-symbol(nil)
>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..."
>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-update(pyim)
>>   mapc(package-update (pyim))
>>   package-update-all(t)
>>   funcall-interactively(package-update-all t)
>>   call-interactively(package-update-all record nil)
>>   command-execute(package-update-all record)
>>   execute-extended-command(nil "package-update-all" nil)
>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>
> This issue (and the others you reported) might have been resolved on the
> scratch/package-vc-fixes branch.  Could you try that out?

When I delete pyim and reinstall it, and run pyim-vc-update again, show:

Debugger entered--Lisp error: (error "No VC backend is responsible for ~/")
  signal(error ("No VC backend is responsible for ~/"))
  error("No VC backend is responsible for %s" "~/")
  vc-responsible-backend("~/")
  vc-deduce-fileset-1(t nil nil)
  vc-deduce-fileset(t)
  vc-pull()
  package-vc-update(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  package-update("pyim")
  funcall-interactively(package-update "pyim")
  call-interactively(package-update record nil)
  command-execute(package-update record)
  execute-extended-command(nil "package-update" nil)
  funcall-interactively(execute-extended-command nil "package-update" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)



-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-14 11:32 ` Philip Kaludercic
  2022-11-15  1:52   ` Feng Shu
  2022-11-15  2:08   ` Feng Shu
@ 2022-11-15  5:51   ` Feng Shu
  2022-11-19  5:10   ` Feng Shu
  3 siblings, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-15  5:51 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   make-symbol(nil)
>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..."
>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-update(pyim)
>>   mapc(package-update (pyim))
>>   package-update-all(t)
>>   funcall-interactively(package-update-all t)
>>   call-interactively(package-update-all record nil)
>>   command-execute(package-update-all record)
>>   execute-extended-command(nil "package-update-all" nil)
>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>
> This issue (and the others you reported) might have been resolved on the
> scratch/package-vc-fixes branch.  Could you try that out?

When I run package-vc-install pyim and run package-vc-rebuild pyim,
show:

Debugger entered--Lisp error: (circular-list (("use-package" :url "https://github.com/jwiegley/use-package" :ignored-files ("LICENSE" "bind-*" "use-package-chords.el") :readme "README.md" :doc "use-package.texi" :news "NEWS.md" :auto-sync t :internal--html-docs (("use-package" . "use-package.html"))) ("validate" :url "https://github.com/Malabarba/validate.el") ("valign" :url "https://github.com/casouri/valign") ("vc-backup" :url "https://git.sr.ht/~pkal/vc-backup" :auto-sync t) ("vc-got" :url "https://git.omarpolo.com/vc-got.git" :ignored-files ("targets" "LICENSE") :auto-sync t) ("vc-hgcmd" :url "https://github.com/muffinmad/emacs-vc-hgcmd" :auto-sync t) (vcard :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/vcard") ("vcl-mode" :url "git://git.gnu.org.ua/vcl-mode") ("vdiff" :url "https://github.com/justbur/emacs-vdiff" :auto-sync t) ("vertico" :url "https://github.com/minad/vertico" :doc "README.org" :ignored-files ("*.svg") :renames (("extensions/" "")) :auto-sync t) ("vertico-posframe" :url "https://github.com/tumashu/vertico-posframe" :auto-sync t) (vigenere :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/vigenere") (visual-filename-abbrev :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/visual-filename-abbrev") (visual-fill :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/visual-fill") ("vlf" :url "https://github.com/m00natic/vlfi") ("vundo" :url "https://github.com/casouri/vundo" :ignored-files ("test") :news "NEWS.txt" :auto-sync t) ("wcheck-mode" :url "https://github.com/tlikonen/wcheck-mode") ("wconf" :url "https://github.com/ilohmar/wconf") ("web-server" :url "https://github.com/eschulte/emacs-web-server.git") ("webfeeder" :url "https://gitlab.com/ambrevar/emacs-webfeeder.git") ("websocket" :url "https://github.com/ahyatt/emacs-websocket.git") ("which-key" :url "https://github.com/justbur/emacs-which-key" :auto-sync t) ("windower" :url "https://gitlab.com/ambrevar/emacs-windower") (windresize :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/windresize") (wisi :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/wisi" :doc ("wisi.texi" "wisitoken-user_guide.texinfo") :release-branch t) (wisitoken-grammar-mode :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/wisitoken-grammar-mode") (wpuzzle :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/wpuzzle") (xclip :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xclip") ("xelb" :url "https://github.com/ch11ng/xelb.git") (xpm :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xpm") ("xr" :url "https://github.com/mattiase/xr" :ignored-files ("Makefile" ".github" "*-test.el*") :auto-sync t) ("yasnippet" :url "https://github.com/capitaomorte/yasnippet.git") (yasnippet-classic-snippets :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/yasnippet-classic-snippets") (zones :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/zones") ("ztree" :url "https://github.com/fourier/ztree") ("zuul" :url "https://git.sr.ht/~niklaseklund/zuul.el" :news "CHANGELOG.org" :readme "README.md" :auto-sync t) ("ace-window" :url "https://github.com/abo-abo/ace-window" :auto-sync t) ("ack" :url "https://github.com/leoliu/ack-el" :auto-sync t) (ada-mode :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/ada-mode" :doc ("ada-mode.texi") :release-branch t) (ada-ref-man :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/ada-ref-man") (adaptive-wrap :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/adaptive-wrap") (adjust-parens :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/adjust-parens") (advice-patch :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/advice-patch") (aggressive-completion :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/aggressive-completion" :auto-sync t) ("aggressive-indent" :url "https://github.com/Malabarba/aggressive-indent-mod..." :auto-sync t) ("agitate" :url "https://git.sr.ht/~protesilaos/agitate" :auto-sync t :doc "README.org" :readme "README.md" :ignored-files ("COPYING" "doclicense.texi")) ("ahungry-theme" :url "https://github.com/ahungry/color-theme-ahungry") ("aircon-theme" :url "https://git.sr.ht/~chambln/aircon-theme.el" :ignored-files ("README" "COPYING") :readme ignore :auto-sync t) (all :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/all") (ampc :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/ampc") ...))
  mapcan(append (((afternoon-theme :url "https://github.com/osener/..." :ignored-files ...) (alect-themes :url "https://github.com/alezost..." :ignored-files ...) (ample-theme :url "https://github.com/jordonb...") (annotate :url "https://github.com/bastibe..." :news "NEWS.org" :readme "README.org") (anti-zenburn-theme :url "https://github.com/m00nati..." :ignored-files ...) (anzu :url "https://github.com/emacsor..." :readme "README.md" :news "Changes" :ignored-files ...) (apache-mode :url "https://github.com/emacs-p..." :ignored-files ...) (apropospriate-theme :url "https://github.com/waymond..." :ignored-files ...) (arduino-mode :url "git://git.sv.gnu.org/emacs..." :branch "elpa/arduino-mode" :ignored-files ...) (autothemer :url "https://github.com/jasonm2..." :readme "README.md") (better-jumper :url "https://github.com/gilbert..." :readme "Readme.md" :ignored-files ...) (bind-map :url "https://github.com/justbur..." :ignored-files ...) (bison-mode :url "https://github.com/Wilfred...") (boxquote :url "https://github.com/davep/b..." :readme "README.md" :ignored-files ...) (buttercup :url "https://github.com/jorgens..." :ignored-files ...) (caml :url "https://github.com/ocaml/c..." :ignored-files ...) (cdlatex :url "https://github.com/cdomini...") (cider :url "https://github.com/clojure..." :ignored-files ... :news "CHANGELOG.md") (clojure-mode :url "https://github.com/clojure..." :ignored-files ... :news "CHANGELOG.md") (coffee-mode :url "https://github.com/defunkt...") (corfu-terminal :url "https://codeberg.org/akib/...") (crux :url "https://github.com/bbatsov..." :readme "README.md" :news "CHANGELOG.md") (cyberpunk-theme :url "https://github.com/n3mo/cy..." :ignored-files ...) (cycle-at-point :url "https://codeberg.org/ideas..." :ignored-files ...) (d-mode :url "https://github.com/Emacs-D..." :ignored-files ...) (dart-mode :url "https://github.com/bradyt/..." :ignored-files ... :news "CHANGELOG.md") ...) (("ace-window" :url "https://github.com/abo-abo..." :auto-sync t) ("ack" :url "https://github.com/leoliu/..." :auto-sync t) (ada-mode :url "https://git.sv.gnu.org/git..." :branch "externals/ada-mode" :doc ... :release-branch t) (ada-ref-man :url "https://git.sv.gnu.org/git..." :branch "externals/ada-ref-man") (adaptive-wrap :url "https://git.sv.gnu.org/git..." :branch "externals/adaptive-wrap") (adjust-parens :url "https://git.sv.gnu.org/git..." :branch "externals/adjust-parens") (advice-patch :url "https://git.sv.gnu.org/git..." :branch "externals/advice-patch") (aggressive-completion :url "https://git.sv.gnu.org/git..." :branch "externals/aggressive-compl..." :auto-sync t) ("aggressive-indent" :url "https://github.com/Malabar..." :auto-sync t) ("agitate" :url "https://git.sr.ht/~protesi..." :auto-sync t :doc "README.org" :readme "README.md" :ignored-files ...) ("ahungry-theme" :url "https://github.com/ahungry...") ("aircon-theme" :url "https://git.sr.ht/~chambln..." :ignored-files ... :readme ignore :auto-sync t) (all :url "https://git.sv.gnu.org/git..." :branch "externals/all") (ampc :url "https://git.sv.gnu.org/git..." :branch "externals/ampc") (arbitools :url "https://git.sv.gnu.org/git..." :branch "externals/arbitools") (ascii-art-to-unicode :url "https://git.sv.gnu.org/git..." :branch "externals/ascii-art-to-uni...") ("async" :url "https://github.com/jwiegle..." :ignored-files ... :auto-sync t) ("auctex" :url "git://git.sv.gnu.org/aucte..." :auto-sync nil) (aumix-mode :url "https://git.sv.gnu.org/git..." :branch "externals/aumix-mode") (auto-correct :url "https://git.sv.gnu.org/git..." :branch "externals/auto-correct") ("auto-overlays" :url "http://www.dr-qubit.org/gi..." :doc "docs/auto-overlay-manual.t...") ("avy" :url "https://github.com/abo-abo...") ("bbdb" :url "git://git.savannah.nongnu...." :lisp-dir "lisp" :doc "doc/bbdb.texi" :auto-sync nil) ("beacon" :url "https://github.com/Malabar..." :auto-sync t) ("bind-key" :url "https://github.com/jwiegle..." :ignored-files ... :news "/dev/null" :auto-sync t :internal--html-docs nil) ("blist" :url "https://gitlab.com/mmemmew..." :doc "blist.texinfo" :readme "README.org" :auto-sync t) ...)))
  package-vc--desc->spec(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  package-vc--main-file(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
  package-vc-rebuild(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  funcall-interactively(package-vc-rebuild #s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil))
  call-interactively(package-vc-rebuild record nil)
  command-execute(package-vc-rebuild record)
  execute-extended-command(nil "package-vc-rebuild" "package-vc-reb")
  funcall-interactively(execute-extended-command nil "package-vc-rebuild" "package-vc-reb")
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)




-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-15  1:52   ` Feng Shu
@ 2022-11-15  9:48     ` Philip Kaludercic
  2022-11-16  0:46       ` Feng Shu
  0 siblings, 1 reply; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-15  9:48 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087


Thank you for all these stack traces, I have managed to reproduce and
resolve all the mistakes -- at least on my end.  The new state is still
on scratch/package-vc-fixes.

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>   make-symbol(nil)
>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>   package-update(pyim)
>>>   mapc(package-update (pyim))
>>>   package-update-all(t)
>>>   funcall-interactively(package-update-all t)
>>>   call-interactively(package-update-all record nil)
>>>   command-execute(package-update-all record)
>>>   execute-extended-command(nil "package-update-all" nil)
>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>   call-interactively(execute-extended-command nil nil)
>>>   command-execute(execute-extended-command)
>>
>> This issue (and the others you reported) might have been resolved on the
>> scratch/package-vc-fixes branch.  Could you try that out?
>
> wow, good job, I install pyim and run package-vc-update again, show:
>
> Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
>   cl--assertion-failed(dir)
>   package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind tar :archive "gnu"
> :dir nil :extras ((:url . "https://github.com/tumashu/pyim")
> (:keywords "convenience" "chinese" "pinyin" "input-method")
> (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2")) :signed nil) nil)
>   #f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>)("git" nil ("pull" "--stat"))
>   run-hook-with-args(#f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>) "git" nil ("pull" "--stat"))
>   #f(compiled-function () #<bytecode -0x1712b007cb06d41a>)()
>   vc-exec-after(#f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
>   vc--process-sentinel(#<process git> #f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
>   #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>)(#<process git> "exited abnormally with code 128\n")
>   apply(#f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) (#<process git> "exited abnormally with code 128\n"))
>   #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore)(#<process git> "exited abnormally with code 128\n")
>   apply(#f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore) (#<process git> "exited abnormally with code 128\n"))
>   #f(advice #f(compiled-function (p msg) #<bytecode
> -0xa9844be2e2d4106>) :after #f(advice #f(compiled-function (p msg)
> #<bytecode 0xef07964a0216b31>) :after ignore))(#<process git> "exited
> abnormally with code 128\n")

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>   make-symbol(nil)
>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>   package-update(pyim)
>>>   mapc(package-update (pyim))
>>>   package-update-all(t)
>>>   funcall-interactively(package-update-all t)
>>>   call-interactively(package-update-all record nil)
>>>   command-execute(package-update-all record)
>>>   execute-extended-command(nil "package-update-all" nil)
>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>   call-interactively(execute-extended-command nil nil)
>>>   command-execute(execute-extended-command)
>>
>> This issue (and the others you reported) might have been resolved on the
>> scratch/package-vc-fixes branch.  Could you try that out?
>
> When I delete pyim and reinstall it, and run pyim-vc-update again, show:
>
> Debugger entered--Lisp error: (error "No VC backend is responsible for ~/")
>   signal(error ("No VC backend is responsible for ~/"))
>   error("No VC backend is responsible for %s" "~/")
>   vc-responsible-backend("~/")
>   vc-deduce-fileset-1(t nil nil)
>   vc-deduce-fileset(t)
>   vc-pull()
>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))
> :signed nil))
>   package-update("pyim")
>   funcall-interactively(package-update "pyim")
>   call-interactively(package-update record nil)
>   command-execute(package-update record)
>   execute-extended-command(nil "package-update" nil)
>   funcall-interactively(execute-extended-command nil "package-update" nil)
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>   make-symbol(nil)
>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>   package-update(pyim)
>>>   mapc(package-update (pyim))
>>>   package-update-all(t)
>>>   funcall-interactively(package-update-all t)
>>>   call-interactively(package-update-all record nil)
>>>   command-execute(package-update-all record)
>>>   execute-extended-command(nil "package-update-all" nil)
>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>   call-interactively(execute-extended-command nil nil)
>>>   command-execute(execute-extended-command)
>>
>> This issue (and the others you reported) might have been resolved on the
>> scratch/package-vc-fixes branch.  Could you try that out?
>
> When I run package-vc-install pyim and run package-vc-rebuild pyim,
> show:
>
> Debugger entered--Lisp error: (circular-list (("use-package" :url
> "https://github.com/jwiegley/use-package" :ignored-files ("LICENSE"
> "bind-*" "use-package-chords.el") :readme "README.md" :doc
> "use-package.texi" :news "NEWS.md" :auto-sync t :internal--html-docs
> (("use-package" . "use-package.html"))) ("validate" :url
> "https://github.com/Malabarba/validate.el") ("valign" :url
> "https://github.com/casouri/valign") ("vc-backup" :url
> "https://git.sr.ht/~pkal/vc-backup" :auto-sync t) ("vc-got" :url
> "https://git.omarpolo.com/vc-got.git" :ignored-files ("targets"
> "LICENSE") :auto-sync t) ("vc-hgcmd" :url
> "https://github.com/muffinmad/emacs-vc-hgcmd" :auto-sync t) (vcard
> :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/vcard") ("vcl-mode" :url "git://git.gnu.org.ua/vcl-mode")
> ("vdiff" :url "https://github.com/justbur/emacs-vdiff" :auto-sync t)
> ("vertico" :url "https://github.com/minad/vertico" :doc "README.org"
> :ignored-files ("*.svg") :renames (("extensions/" "")) :auto-sync t)
> ("vertico-posframe" :url "https://github.com/tumashu/vertico-posframe"
> :auto-sync t) (vigenere :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/vigenere") (visual-filename-abbrev :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/visual-filename-abbrev") (visual-fill :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/visual-fill") ("vlf" :url
> "https://github.com/m00natic/vlfi") ("vundo" :url
> "https://github.com/casouri/vundo" :ignored-files ("test") :news
> "NEWS.txt" :auto-sync t) ("wcheck-mode" :url
> "https://github.com/tlikonen/wcheck-mode") ("wconf" :url
> "https://github.com/ilohmar/wconf") ("web-server" :url
> "https://github.com/eschulte/emacs-web-server.git") ("webfeeder" :url
> "https://gitlab.com/ambrevar/emacs-webfeeder.git") ("websocket" :url
> "https://github.com/ahyatt/emacs-websocket.git") ("which-key" :url
> "https://github.com/justbur/emacs-which-key" :auto-sync t) ("windower"
> :url "https://gitlab.com/ambrevar/emacs-windower") (windresize :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/windresize") (wisi :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/wisi"
> :doc ("wisi.texi" "wisitoken-user_guide.texinfo") :release-branch t)
> (wisitoken-grammar-mode :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/wisitoken-grammar-mode") (wpuzzle :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/wpuzzle") (xclip :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xclip")
> ("xelb" :url "https://github.com/ch11ng/xelb.git") (xpm :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xpm")
> ("xr" :url "https://github.com/mattiase/xr" :ignored-files ("Makefile"
> ".github" "*-test.el*") :auto-sync t) ("yasnippet" :url
> "https://github.com/capitaomorte/yasnippet.git")
> (yasnippet-classic-snippets :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/yasnippet-classic-snippets") (zones :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/zones")
> ("ztree" :url "https://github.com/fourier/ztree") ("zuul" :url
> "https://git.sr.ht/~niklaseklund/zuul.el" :news "CHANGELOG.org"
> :readme "README.md" :auto-sync t) ("ace-window" :url
> "https://github.com/abo-abo/ace-window" :auto-sync t) ("ack" :url
> "https://github.com/leoliu/ack-el" :auto-sync t) (ada-mode :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/ada-mode" :doc ("ada-mode.texi") :release-branch t)
> (ada-ref-man :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/ada-ref-man") (adaptive-wrap :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/adaptive-wrap") (adjust-parens :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/adjust-parens") (advice-patch :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/advice-patch") (aggressive-completion :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/aggressive-completion" :auto-sync t) ("aggressive-indent"
> :url "https://github.com/Malabarba/aggressive-indent-mod..."
> :auto-sync t) ("agitate" :url "https://git.sr.ht/~protesilaos/agitate"
> :auto-sync t :doc "README.org" :readme "README.md" :ignored-files
> ("COPYING" "doclicense.texi")) ("ahungry-theme" :url
> "https://github.com/ahungry/color-theme-ahungry") ("aircon-theme" :url
> "https://git.sr.ht/~chambln/aircon-theme.el" :ignored-files ("README"
> "COPYING") :readme ignore :auto-sync t) (all :url
> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/all")
> (ampc :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
> "externals/ampc") ...))
>   mapcan(append (((afternoon-theme :url
> "https://github.com/osener/..." :ignored-files ...) (alect-themes :url
> "https://github.com/alezost..." :ignored-files ...) (ample-theme :url
> "https://github.com/jordonb...") (annotate :url
> "https://github.com/bastibe..." :news "NEWS.org" :readme "README.org")
> (anti-zenburn-theme :url "https://github.com/m00nati..."
> :ignored-files ...) (anzu :url "https://github.com/emacsor..." :readme
> "README.md" :news "Changes" :ignored-files ...) (apache-mode :url
> "https://github.com/emacs-p..." :ignored-files ...)
> (apropospriate-theme :url "https://github.com/waymond..."
> :ignored-files ...) (arduino-mode :url "git://git.sv.gnu.org/emacs..."
> :branch "elpa/arduino-mode" :ignored-files ...) (autothemer :url
> "https://github.com/jasonm2..." :readme "README.md") (better-jumper
> :url "https://github.com/gilbert..." :readme "Readme.md"
> :ignored-files ...) (bind-map :url "https://github.com/justbur..."
> :ignored-files ...) (bison-mode :url "https://github.com/Wilfred...")
> (boxquote :url "https://github.com/davep/b..." :readme "README.md"
> :ignored-files ...) (buttercup :url "https://github.com/jorgens..."
> :ignored-files ...) (caml :url "https://github.com/ocaml/c..."
> :ignored-files ...) (cdlatex :url "https://github.com/cdomini...")
> (cider :url "https://github.com/clojure..." :ignored-files ... :news
> "CHANGELOG.md") (clojure-mode :url "https://github.com/clojure..."
> :ignored-files ... :news "CHANGELOG.md") (coffee-mode :url
> "https://github.com/defunkt...") (corfu-terminal :url
> "https://codeberg.org/akib/...") (crux :url
> "https://github.com/bbatsov..." :readme "README.md" :news
> "CHANGELOG.md") (cyberpunk-theme :url "https://github.com/n3mo/cy..."
> :ignored-files ...) (cycle-at-point :url
> "https://codeberg.org/ideas..." :ignored-files ...) (d-mode :url
> "https://github.com/Emacs-D..." :ignored-files ...) (dart-mode :url
> "https://github.com/bradyt/..." :ignored-files ... :news
> "CHANGELOG.md") ...) (("ace-window" :url
> "https://github.com/abo-abo..." :auto-sync t) ("ack" :url
> "https://github.com/leoliu/..." :auto-sync t) (ada-mode :url
> "https://git.sv.gnu.org/git..." :branch "externals/ada-mode" :doc
> ... :release-branch t) (ada-ref-man :url
> "https://git.sv.gnu.org/git..." :branch "externals/ada-ref-man")
> (adaptive-wrap :url "https://git.sv.gnu.org/git..." :branch
> "externals/adaptive-wrap") (adjust-parens :url
> "https://git.sv.gnu.org/git..." :branch "externals/adjust-parens")
> (advice-patch :url "https://git.sv.gnu.org/git..." :branch
> "externals/advice-patch") (aggressive-completion :url
> "https://git.sv.gnu.org/git..." :branch
> "externals/aggressive-compl..." :auto-sync t) ("aggressive-indent"
> :url "https://github.com/Malabar..." :auto-sync t) ("agitate" :url
> "https://git.sr.ht/~protesi..." :auto-sync t :doc "README.org" :readme
> "README.md" :ignored-files ...) ("ahungry-theme" :url
> "https://github.com/ahungry...") ("aircon-theme" :url
> "https://git.sr.ht/~chambln..." :ignored-files ... :readme ignore
> :auto-sync t) (all :url "https://git.sv.gnu.org/git..." :branch
> "externals/all") (ampc :url "https://git.sv.gnu.org/git..." :branch
> "externals/ampc") (arbitools :url "https://git.sv.gnu.org/git..."
> :branch "externals/arbitools") (ascii-art-to-unicode :url
> "https://git.sv.gnu.org/git..." :branch
> "externals/ascii-art-to-uni...") ("async" :url
> "https://github.com/jwiegle..." :ignored-files ... :auto-sync t)
> ("auctex" :url "git://git.sv.gnu.org/aucte..." :auto-sync nil)
> (aumix-mode :url "https://git.sv.gnu.org/git..." :branch
> "externals/aumix-mode") (auto-correct :url
> "https://git.sv.gnu.org/git..." :branch "externals/auto-correct")
> ("auto-overlays" :url "http://www.dr-qubit.org/gi..." :doc
> "docs/auto-overlay-manual.t...") ("avy" :url
> "https://github.com/abo-abo...") ("bbdb" :url
> "git://git.savannah.nongnu...." :lisp-dir "lisp" :doc "doc/bbdb.texi"
> :auto-sync nil) ("beacon" :url "https://github.com/Malabar..."
> :auto-sync t) ("bind-key" :url "https://github.com/jwiegle..."
> :ignored-files ... :news "/dev/null" :auto-sync t :internal--html-docs
> nil) ("blist" :url "https://gitlab.com/mmemmew..." :doc
> "blist.texinfo" :readme "README.org" :auto-sync t) ...)))
>   package-vc--desc->spec(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))
> :signed nil))
>   package-vc--main-file(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))
> :signed nil))
>   package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))
> :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
>   package-vc-rebuild(#s(package-desc :name pyim :version (5 2 8)
> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))
> :signed nil))
>   funcall-interactively(package-vc-rebuild #s(package-desc :name pyim
> :version (5 2 8) :summary "A Chinese input method support quanpin,
> shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind
> vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras
> ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye
> Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com"))
> (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience"
> "chinese" "pinyin" "input-method") (:url
> . "https://github.com/tumashu/pyim")) :signed nil))
>   call-interactively(package-vc-rebuild record nil)
>   command-execute(package-vc-rebuild record)
>   execute-extended-command(nil "package-vc-rebuild" "package-vc-reb")
>   funcall-interactively(execute-extended-command nil "package-vc-rebuild" "package-vc-reb")
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-15  9:48     ` Philip Kaludercic
@ 2022-11-16  0:46       ` Feng Shu
  2022-11-16  8:20         ` Philip Kaludercic
  0 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-16  0:46 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Thank you for all these stack traces, I have managed to reproduce and
> resolve all the mistakes -- at least on my end.  The new state is still
> on scratch/package-vc-fixes.
>

Ok, new info :-)

1. package-vc-update is unusable when first run emacs.

2. when I run 'package-vc-install pyim' twice, package-list-package
"*Packages*" buffer will show pyim twice, is it a feature or bug? like:

```
  wrap-region                    20140117.720   dependency            Wrap text with punctation or tag
  pyim                           16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source                A Chinese input method support quanpin, shuangpin, wubi, cangjie and rime.
  pyim                           16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source                A Chinese input method support quanpin, shuangpin, wubi, cangjie and rime.
  allout                         2.3            built-in              extensive outline mode for use alone and with other modes
  allout-widgets                 1.0            built-in              Visually highlight allout outline structure.

```

In this time, when I run package-delete pyim, show

```
Error in post-command-hook (package-menu--post-refresh): (file-missing
"Opening directory" "没有那个文件或目录" 
"/home/feng/.emacs.d/elpa-29/pyim")
```

which mean have no "/home/feng/.emacs.d/elpa-29/pyim" file or directory.


3. package-vc-install-from-checkout is unusable, I use vertico. show:

```
Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
  cl--assertion-failed(dir)
  package-vc--unpack-1(#s(package-desc :name pyim :version nil :summary "No description available." :reqs nil :kind vc :archive nil :dir nil :extras nil :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
  package-vc-install-from-checkout("/home/feng/projects/emacs-packages/pyim/" "pyim")
  funcall-interactively(package-vc-install-from-checkout "/home/feng/projects/emacs-packages/pyim/" "pyim")
  call-interactively(package-vc-install-from-checkout record nil)
  command-execute(package-vc-install-from-checkout record)
  execute-extended-command(nil "package-vc-install-from-checkout" nil)
  funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
  recursive-edit()
  debug(error (file-already-exists "File already exists" "/home/feng/.emacs.d/elpa-29/pyim"))
  make-symbolic-link("~/projects/emacs-packages/pyim/" "/home/feng/.emacs.d/elpa-29/pyim")
  package-vc-install-from-checkout("~/projects/emacs-packages/pyim/" "pyim")
  funcall-interactively(package-vc-install-from-checkout "~/projects/emacs-packages/pyim/" "pyim")
  call-interactively(package-vc-install-from-checkout record nil)
  command-execute(package-vc-install-from-checkout record)
  execute-extended-command(nil "package-vc-install-from-checkout" nil)
  funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)
```




> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>>   make-symbol(nil)
>>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>>   package-update(pyim)
>>>>   mapc(package-update (pyim))
>>>>   package-update-all(t)
>>>>   funcall-interactively(package-update-all t)
>>>>   call-interactively(package-update-all record nil)
>>>>   command-execute(package-update-all record)
>>>>   execute-extended-command(nil "package-update-all" nil)
>>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>>   call-interactively(execute-extended-command nil nil)
>>>>   command-execute(execute-extended-command)
>>>
>>> This issue (and the others you reported) might have been resolved on the
>>> scratch/package-vc-fixes branch.  Could you try that out?
>>
>> wow, good job, I install pyim and run package-vc-update again, show:
>>
>> Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
>>   cl--assertion-failed(dir)
>>   package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind tar :archive "gnu"
>> :dir nil :extras ((:url . "https://github.com/tumashu/pyim")> (:keywords "convenience" "chinese" "pinyin" "input-method")
>> (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2")) :signed nil) nil)
>>   #f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>)("git" nil ("pull" "--stat"))
>>   run-hook-with-args(#f(compiled-function (command file-or-list flags) #<bytecode 0xe12829862413ae8>) "git" nil ("pull" "--stat"))
>>   #f(compiled-function () #<bytecode -0x1712b007cb06d41a>)()
>>   vc-exec-after(#f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
>>   vc--process-sentinel(#<process git> #f(compiled-function () #<bytecode -0x1712b007cb06d41a>) nil)
>>   #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>)(#<process git> "exited abnormally with code 128\n")
>>   apply(#f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) (#<process git> "exited abnormally with code 128\n"))
>>   #f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore)(#<process git> "exited abnormally with code 128\n")
>>   apply(#f(advice #f(compiled-function (p msg) #<bytecode 0xef07964a0216b31>) :after ignore) (#<process git> "exited abnormally with code 128\n"))
>>   #f(advice #f(compiled-function (p msg) #<bytecode
>> -0xa9844be2e2d4106>) :after #f(advice #f(compiled-function (p msg)
>> #<bytecode 0xef07964a0216b31>) :after ignore))(#<process git> "exited
>> abnormally with code 128\n")
>
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>>   make-symbol(nil)
>>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>>   package-update(pyim)
>>>>   mapc(package-update (pyim))
>>>>   package-update-all(t)
>>>>   funcall-interactively(package-update-all t)
>>>>   call-interactively(package-update-all record nil)
>>>>   command-execute(package-update-all record)
>>>>   execute-extended-command(nil "package-update-all" nil)
>>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>>   call-interactively(execute-extended-command nil nil)
>>>>   command-execute(execute-extended-command)
>>>
>>> This issue (and the others you reported) might have been resolved on the
>>> scratch/package-vc-fixes branch.  Could you try that out?
>>
>> When I delete pyim and reinstall it, and run pyim-vc-update again, show:
>>
>> Debugger entered--Lisp error: (error "No VC backend is responsible for ~/")
>>   signal(error ("No VC backend is responsible for ~/"))
>>   error("No VC backend is responsible for %s" "~/")
>>   vc-responsible-backend("~/")
>>   vc-deduce-fileset-1(t nil nil)
>>   vc-deduce-fileset(t)
>>   vc-pull()
>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
>> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-update("pyim")
>>   funcall-interactively(package-update "pyim")
>>   call-interactively(package-update record nil)
>>   command-execute(package-update record)
>>   execute-extended-command(nil "package-update" nil)
>>   funcall-interactively(execute-extended-command nil "package-update" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>>>   make-symbol(nil)
>>>>   package-vc-update(#s(package-desc :name pyim :version (5 2 8)
>>>> :summary "A Chinese input method support quanpin, shuangpin,..."
>>>> :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive
>>>> nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>>>> . "8c4f7d40c05dc06b3c96c2955e5d72ec268f2b61") (:authors ("Ye Wenbin"
>>>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>>>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>>>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>>>   package-update(pyim)
>>>>   mapc(package-update (pyim))
>>>>   package-update-all(t)
>>>>   funcall-interactively(package-update-all t)
>>>>   call-interactively(package-update-all record nil)
>>>>   command-execute(package-update-all record)
>>>>   execute-extended-command(nil "package-update-all" nil)
>>>>   funcall-interactively(execute-extended-command nil "package-update-all" nil)
>>>>   call-interactively(execute-extended-command nil nil)
>>>>   command-execute(execute-extended-command)
>>>
>>> This issue (and the others you reported) might have been resolved on the
>>> scratch/package-vc-fixes branch.  Could you try that out?
>>
>> When I run package-vc-install pyim and run package-vc-rebuild pyim,
>> show:
>>
>> Debugger entered--Lisp error: (circular-list (("use-package" :url
>> "https://github.com/jwiegley/use-package" :ignored-files ("LICENSE"
>> "bind-*" "use-package-chords.el") :readme "README.md" :doc
>> "use-package.texi" :news "NEWS.md" :auto-sync t :internal--html-docs
>> (("use-package" . "use-package.html"))) ("validate" :url
>> "https://github.com/Malabarba/validate.el") ("valign" :url
>> "https://github.com/casouri/valign") ("vc-backup" :url
>> "https://git.sr.ht/~pkal/vc-backup" :auto-sync t) ("vc-got" :url
>> "https://git.omarpolo.com/vc-got.git" :ignored-files ("targets"
>> "LICENSE") :auto-sync t) ("vc-hgcmd" :url
>> "https://github.com/muffinmad/emacs-vc-hgcmd" :auto-sync t) (vcard
>> :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/vcard") ("vcl-mode" :url "git://git.gnu.org.ua/vcl-mode")
>> ("vdiff" :url "https://github.com/justbur/emacs-vdiff" :auto-sync t)
>> ("vertico" :url "https://github.com/minad/vertico" :doc "README.org"
>> :ignored-files ("*.svg") :renames (("extensions/" "")) :auto-sync t)
>> ("vertico-posframe" :url "https://github.com/tumashu/vertico-posframe"> :auto-sync t) (vigenere :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/vigenere") (visual-filename-abbrev :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/visual-filename-abbrev") (visual-fill :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/visual-fill") ("vlf" :url
>> "https://github.com/m00natic/vlfi") ("vundo" :url
>> "https://github.com/casouri/vundo" :ignored-files ("test") :news
>> "NEWS.txt" :auto-sync t) ("wcheck-mode" :url
>> "https://github.com/tlikonen/wcheck-mode") ("wconf" :url
>> "https://github.com/ilohmar/wconf") ("web-server" :url
>> "https://github.com/eschulte/emacs-web-server.git") ("webfeeder" :url
>> "https://gitlab.com/ambrevar/emacs-webfeeder.git") ("websocket" :url
>> "https://github.com/ahyatt/emacs-websocket.git") ("which-key" :url
>> "https://github.com/justbur/emacs-which-key" :auto-sync t) ("windower"
>> :url "https://gitlab.com/ambrevar/emacs-windower") (windresize :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/windresize") (wisi :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/wisi"
>> :doc ("wisi.texi" "wisitoken-user_guide.texinfo") :release-branch t)
>> (wisitoken-grammar-mode :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/wisitoken-grammar-mode") (wpuzzle :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/wpuzzle") (xclip :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xclip")
>> ("xelb" :url "https://github.com/ch11ng/xelb.git") (xpm :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/xpm")
>> ("xr" :url "https://github.com/mattiase/xr" :ignored-files ("Makefile"
>> ".github" "*-test.el*") :auto-sync t) ("yasnippet" :url
>> "https://github.com/capitaomorte/yasnippet.git")> (yasnippet-classic-snippets :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/yasnippet-classic-snippets") (zones :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/zones")
>> ("ztree" :url "https://github.com/fourier/ztree") ("zuul" :url
>> "https://git.sr.ht/~niklaseklund/zuul.el" :news "CHANGELOG.org"
>> :readme "README.md" :auto-sync t) ("ace-window" :url
>> "https://github.com/abo-abo/ace-window" :auto-sync t) ("ack" :url
>> "https://github.com/leoliu/ack-el" :auto-sync t) (ada-mode :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/ada-mode" :doc ("ada-mode.texi") :release-branch t)
>> (ada-ref-man :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/ada-ref-man") (adaptive-wrap :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/adaptive-wrap") (adjust-parens :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/adjust-parens") (advice-patch :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/advice-patch") (aggressive-completion :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/aggressive-completion" :auto-sync t) ("aggressive-indent"
>> :url "https://github.com/Malabarba/aggressive-indent-mod..."> :auto-sync t) ("agitate" :url "https://git.sr.ht/~protesilaos/agitate"> :auto-sync t :doc "README.org" :readme "README.md" :ignored-files
>> ("COPYING" "doclicense.texi")) ("ahungry-theme" :url
>> "https://github.com/ahungry/color-theme-ahungry") ("aircon-theme" :url
>> "https://git.sr.ht/~chambln/aircon-theme.el" :ignored-files ("README"
>> "COPYING") :readme ignore :auto-sync t) (all :url
>> "https://git.sv.gnu.org/git/emacs/elpa.git" :branch "externals/all")
>> (ampc :url "https://git.sv.gnu.org/git/emacs/elpa.git" :branch
>> "externals/ampc") ...))
>>   mapcan(append (((afternoon-theme :url
>> "https://github.com/osener/..." :ignored-files ...) (alect-themes :url
>> "https://github.com/alezost..." :ignored-files ...) (ample-theme :url
>> "https://github.com/jordonb...") (annotate :url
>> "https://github.com/bastibe..." :news "NEWS.org" :readme "README.org")
>> (anti-zenburn-theme :url "https://github.com/m00nati..."> :ignored-files ...) (anzu :url "https://github.com/emacsor..." :readme
>> "README.md" :news "Changes" :ignored-files ...) (apache-mode :url
>> "https://github.com/emacs-p..." :ignored-files ...)
>> (apropospriate-theme :url "https://github.com/waymond..."> :ignored-files ...) (arduino-mode :url "git://git.sv.gnu.org/emacs..."
>> :branch "elpa/arduino-mode" :ignored-files ...) (autothemer :url
>> "https://github.com/jasonm2..." :readme "README.md") (better-jumper
>> :url "https://github.com/gilbert..." :readme "Readme.md"
>> :ignored-files ...) (bind-map :url "https://github.com/justbur..."> :ignored-files ...) (bison-mode :url "https://github.com/Wilfred...")> (boxquote :url "https://github.com/davep/b..." :readme "README.md"
>> :ignored-files ...) (buttercup :url "https://github.com/jorgens..."> :ignored-files ...) (caml :url "https://github.com/ocaml/c..."> :ignored-files ...) (cdlatex :url "https://github.com/cdomini...")> (cider :url "https://github.com/clojure..." :ignored-files ... :news
>> "CHANGELOG.md") (clojure-mode :url "https://github.com/clojure..."> :ignored-files ... :news "CHANGELOG.md") (coffee-mode :url
>> "https://github.com/defunkt...") (corfu-terminal :url
>> "https://codeberg.org/akib/...") (crux :url
>> "https://github.com/bbatsov..." :readme "README.md" :news
>> "CHANGELOG.md") (cyberpunk-theme :url "https://github.com/n3mo/cy..."> :ignored-files ...) (cycle-at-point :url
>> "https://codeberg.org/ideas..." :ignored-files ...) (d-mode :url
>> "https://github.com/Emacs-D..." :ignored-files ...) (dart-mode :url
>> "https://github.com/bradyt/..." :ignored-files ... :news
>> "CHANGELOG.md") ...) (("ace-window" :url
>> "https://github.com/abo-abo..." :auto-sync t) ("ack" :url
>> "https://github.com/leoliu/..." :auto-sync t) (ada-mode :url
>> "https://git.sv.gnu.org/git..." :branch "externals/ada-mode" :doc
>> ... :release-branch t) (ada-ref-man :url
>> "https://git.sv.gnu.org/git..." :branch "externals/ada-ref-man")
>> (adaptive-wrap :url "https://git.sv.gnu.org/git..." :branch
>> "externals/adaptive-wrap") (adjust-parens :url
>> "https://git.sv.gnu.org/git..." :branch "externals/adjust-parens")
>> (advice-patch :url "https://git.sv.gnu.org/git..." :branch
>> "externals/advice-patch") (aggressive-completion :url
>> "https://git.sv.gnu.org/git..." :branch
>> "externals/aggressive-compl..." :auto-sync t) ("aggressive-indent"
>> :url "https://github.com/Malabar..." :auto-sync t) ("agitate" :url
>> "https://git.sr.ht/~protesi..." :auto-sync t :doc "README.org" :readme
>> "README.md" :ignored-files ...) ("ahungry-theme" :url
>> "https://github.com/ahungry...") ("aircon-theme" :url
>> "https://git.sr.ht/~chambln..." :ignored-files ... :readme ignore
>> :auto-sync t) (all :url "https://git.sv.gnu.org/git..." :branch
>> "externals/all") (ampc :url "https://git.sv.gnu.org/git..." :branch
>> "externals/ampc") (arbitools :url "https://git.sv.gnu.org/git..."> :branch "externals/arbitools") (ascii-art-to-unicode :url
>> "https://git.sv.gnu.org/git..." :branch
>> "externals/ascii-art-to-uni...") ("async" :url
>> "https://github.com/jwiegle..." :ignored-files ... :auto-sync t)
>> ("auctex" :url "git://git.sv.gnu.org/aucte..." :auto-sync nil)
>> (aumix-mode :url "https://git.sv.gnu.org/git..." :branch
>> "externals/aumix-mode") (auto-correct :url
>> "https://git.sv.gnu.org/git..." :branch "externals/auto-correct")
>> ("auto-overlays" :url "http://www.dr-qubit.org/gi..." :doc
>> "docs/auto-overlay-manual.t...") ("avy" :url
>> "https://github.com/abo-abo...") ("bbdb" :url
>> "git://git.savannah.nongnu...." :lisp-dir "lisp" :doc "doc/bbdb.texi"
>> :auto-sync nil) ("beacon" :url "https://github.com/Malabar..."> :auto-sync t) ("bind-key" :url "https://github.com/jwiegle..."> :ignored-files ... :news "/dev/null" :auto-sync t :internal--html-docs
>> nil) ("blist" :url "https://gitlab.com/mmemmew..." :doc
>> "blist.texinfo" :readme "README.org" :auto-sync t) ...)))
>>   package-vc--desc->spec(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
>> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-vc--main-file(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
>> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   package-vc--unpack-1(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
>> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
>>   package-vc-rebuild(#s(package-desc :name pyim :version (5 2 8)
>> :summary "A Chinese input method support quanpin, shuangpin,..." :reqs
>> ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir
>> "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit
>> . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin"
>> . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer
>> "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese"
>> "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim"))> :signed nil))
>>   funcall-interactively(package-vc-rebuild #s(package-desc :name pyim
>> :version (5 2 8) :summary "A Chinese input method support quanpin,
>> shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind
>> vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras
>> ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye
>> Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com"))
>> (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience"
>> "chinese" "pinyin" "input-method") (:url
>> . "https://github.com/tumashu/pyim")) :signed nil))
>>   call-interactively(package-vc-rebuild record nil)
>>   command-execute(package-vc-rebuild record)
>>   execute-extended-command(nil "package-vc-rebuild" "package-vc-reb")
>>   funcall-interactively(execute-extended-command nil "package-vc-rebuild" "package-vc-reb")
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  0:46       ` Feng Shu
@ 2022-11-16  8:20         ` Philip Kaludercic
  2022-11-16  9:22           ` Feng Shu
                             ` (2 more replies)
  0 siblings, 3 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16  8:20 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Thank you for all these stack traces, I have managed to reproduce and
>> resolve all the mistakes -- at least on my end.  The new state is still
>> on scratch/package-vc-fixes.
>>
>
> Ok, new info :-)
>
> 1. package-vc-update is unusable when first run emacs.

Unusable in what sense?  The command is not auto-loaded, so you need to

  M-x load-library RET package-vc RET

first.

> 2. when I run 'package-vc-install pyim' twice, package-list-package
> "*Packages*" buffer will show pyim twice, is it a feature or bug? like:

No, that was a bug I assumed was resolved... I'll take a look at it
again.

> ```
>   wrap-region                    20140117.720   dependency            Wrap text with punctation or tag
>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
> method support quanpin, shuangpin, wubi, cangjie and rime.
>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
> method support quanpin, shuangpin, wubi, cangjie and rime.
>   allout                         2.3            built-in              extensive outline mode for use alone and with other modes
>   allout-widgets                 1.0            built-in              Visually highlight allout outline structure.
>
> ```
>
> In this time, when I run package-delete pyim, show
>
> ```
> Error in post-command-hook (package-menu--post-refresh): (file-missing
> "Opening directory" "没有那个文件或目录" 
> "/home/feng/.emacs.d/elpa-29/pyim")
> ```
>
> which mean have no "/home/feng/.emacs.d/elpa-29/pyim" file or directory.

Interesting.

> 3. package-vc-install-from-checkout is unusable, I use vertico. show:
>
> ```
> Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
>   cl--assertion-failed(dir)
>   package-vc--unpack-1(#s(package-desc :name pyim :version nil
> :summary "No description available." :reqs nil :kind vc :archive nil
> :dir nil :extras nil :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
>   package-vc-install-from-checkout("/home/feng/projects/emacs-packages/pyim/" "pyim")
>   funcall-interactively(package-vc-install-from-checkout "/home/feng/projects/emacs-packages/pyim/" "pyim")
>   call-interactively(package-vc-install-from-checkout record nil)
>   command-execute(package-vc-install-from-checkout record)
>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)
>   recursive-edit()
>   debug(error (file-already-exists "File already exists" "/home/feng/.emacs.d/elpa-29/pyim"))
>   make-symbolic-link("~/projects/emacs-packages/pyim/" "/home/feng/.emacs.d/elpa-29/pyim")
>   package-vc-install-from-checkout("~/projects/emacs-packages/pyim/" "pyim")
>   funcall-interactively(package-vc-install-from-checkout "~/projects/emacs-packages/pyim/" "pyim")
>   call-interactively(package-vc-install-from-checkout record nil)
>   command-execute(package-vc-install-from-checkout record)
>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>   call-interactively(execute-extended-command nil nil)
>   command-execute(execute-extended-command)
> ```

I'll take a look at what is going on here, and report back.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  8:20         ` Philip Kaludercic
@ 2022-11-16  9:22           ` Feng Shu
  2022-11-16  9:51             ` Philip Kaludercic
  2022-11-16 12:01           ` Feng Shu
  2022-11-17  1:44           ` Feng Shu
  2 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-16  9:22 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087



package-vc-prepare-patch seem to run in wrong directory:

```
Debugger entered--Lisp error: (error "Buffer *Packages* is not associated with a file")
  signal(error ("Buffer *Packages* is not associated with a file"))
  error("Buffer %s is not associated with a file" "*Packages*")
  vc-ensure-vc-buffer()
  vc-prepare-patch("Feng Shu <tumashu@163.com>" nil ("HEAD"))
  package-vc-prepare-patch(#s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil) nil ("HEAD"))
  funcall-interactively(package-vc-prepare-patch #s(package-desc :name pyim :version (5 2 8) :summary "A Chinese input method support quanpin, shuangpin,..." :reqs ((emacs (25 1)) (async (1 6)) (xr (1 13))) :kind vc :archive nil :dir "/home/feng/.emacs.d/elpa-29/pyim" :extras ((:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:maintainer "Feng Shu" . "tumashu@163.com") (:keywords "convenience" "chinese" "pinyin" "input-method") (:url . "https://github.com/tumashu/pyim")) :signed nil) nil ("HEAD"))
  call-interactively(package-vc-prepare-patch record nil)
  command-execute(package-vc-prepare-patch record)
  execute-extended-command(nil "package-vc-prepare-patch" nil)
  funcall-interactively(execute-extended-command nil "package-vc-prepare-patch" nil)
  call-interactively(execute-extended-command nil nil)
  command-execute(execute-extended-command)

```
-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  9:22           ` Feng Shu
@ 2022-11-16  9:51             ` Philip Kaludercic
  2022-11-16 12:03               ` Feng Shu
  0 siblings, 1 reply; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16  9:51 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> package-vc-prepare-patch seem to run in wrong directory:

This and the other two issues should be fixed on the branch.  Note that
I have updated it and rebased it onto master, so you might need to do a
reset.

I am still uncertain what you mean when you say that package-vc-update
is not usable.  When that is fixed, I'll be able to apply the changes
onto master.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  8:20         ` Philip Kaludercic
  2022-11-16  9:22           ` Feng Shu
@ 2022-11-16 12:01           ` Feng Shu
  2022-11-16 12:18             ` Philip Kaludercic
  2022-11-17  1:44           ` Feng Shu
  2 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-16 12:01 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Thank you for all these stack traces, I have managed to reproduce and
>>> resolve all the mistakes -- at least on my end.  The new state is still
>>> on scratch/package-vc-fixes.
>>>
>>
>> Ok, new info :-)
>>
>> 1. package-vc-update is unusable when first run emacs.
>
> Unusable in what sense?  The command is not auto-loaded, so you need to
>
>   M-x load-library RET package-vc RET
>
> first.

Yes, I mean command is not auto-loaded :-)


>
>> 2. when I run 'package-vc-install pyim' twice, package-list-package
>> "*Packages*" buffer will show pyim twice, is it a feature or bug? like:
>
> No, that was a bug I assumed was resolved... I'll take a look at it
> again.
>
>> ```
>>   wrap-region                    20140117.720   dependency            Wrap text with punctation or tag
>>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
>> method support quanpin, shuangpin, wubi, cangjie and rime.
>>   pyim 16f7c3cf0736a65d8af0c8ba8396343dbd17e368 source A Chinese input
>> method support quanpin, shuangpin, wubi, cangjie and rime.
>>   allout                         2.3            built-in              extensive outline mode for use alone and with other modes
>>   allout-widgets                 1.0            built-in              Visually highlight allout outline structure.
>>
>> ```
>>
>> In this time, when I run package-delete pyim, show
>>
>> ```
>> Error in post-command-hook (package-menu--post-refresh): (file-missing
>> "Opening directory" "没有那个文件或目录" 
>> "/home/feng/.emacs.d/elpa-29/pyim")
>> ```
>>
>> which mean have no "/home/feng/.emacs.d/elpa-29/pyim" file or directory.
>
> Interesting.
>
>> 3. package-vc-install-from-checkout is unusable, I use vertico. show:
>>
>> ```
>> Debugger entered--Lisp error: (cl-assertion-failed (dir nil))
>>   cl--assertion-failed(dir)
>>   package-vc--unpack-1(#s(package-desc :name pyim :version nil
>> :summary "No description available." :reqs nil :kind vc :archive nil
>> :dir nil :extras nil :signed nil) "/home/feng/.emacs.d/elpa-29/pyim")
>>   package-vc-install-from-checkout("/home/feng/projects/emacs-packages/pyim/" "pyim")
>>   funcall-interactively(package-vc-install-from-checkout "/home/feng/projects/emacs-packages/pyim/" "pyim")
>>   call-interactively(package-vc-install-from-checkout record nil)
>>   command-execute(package-vc-install-from-checkout record)
>>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>>   recursive-edit()
>>   debug(error (file-already-exists "File already exists" "/home/feng/.emacs.d/elpa-29/pyim"))
>>   make-symbolic-link("~/projects/emacs-packages/pyim/" "/home/feng/.emacs.d/elpa-29/pyim")
>>   package-vc-install-from-checkout("~/projects/emacs-packages/pyim/" "pyim")
>>   funcall-interactively(package-vc-install-from-checkout "~/projects/emacs-packages/pyim/" "pyim")
>>   call-interactively(package-vc-install-from-checkout record nil)
>>   command-execute(package-vc-install-from-checkout record)
>>   execute-extended-command(nil "package-vc-install-from-checkout" nil)
>>   funcall-interactively(execute-extended-command nil "package-vc-install-from-checkout" nil)
>>   call-interactively(execute-extended-command nil nil)
>>   command-execute(execute-extended-command)
>> ```
>
> I'll take a look at what is going on here, and report back.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  9:51             ` Philip Kaludercic
@ 2022-11-16 12:03               ` Feng Shu
  2022-11-16 12:20                 ` Philip Kaludercic
  0 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-16 12:03 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> package-vc-prepare-patch seem to run in wrong directory:
>
> This and the other two issues should be fixed on the branch.  Note that
> I have updated it and rebased it onto master, so you might need to do a
> reset.

Good job, I do not test new code today, but I have a question:
If I run package-vc-install pyim, then I run
package-vc-install-from-checkout /path/to/pyim.git, what will happened?



>
> I am still uncertain what you mean when you say that package-vc-update
> is not usable.  When that is fixed, I'll be able to apply the changes
> onto master.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:01           ` Feng Shu
@ 2022-11-16 12:18             ` Philip Kaludercic
  2022-11-16 12:58               ` Feng Shu
  2022-11-16 16:22               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16 12:18 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>
>>>> Thank you for all these stack traces, I have managed to reproduce and
>>>> resolve all the mistakes -- at least on my end.  The new state is still
>>>> on scratch/package-vc-fixes.
>>>>
>>>
>>> Ok, new info :-)
>>>
>>> 1. package-vc-update is unusable when first run emacs.
>>
>> Unusable in what sense?  The command is not auto-loaded, so you need to
>>
>>   M-x load-library RET package-vc RET
>>
>> first.
>
> Yes, I mean command is not auto-loaded :-)

Do you think we should make it such?  The command is strictly speaking
not necessary, because package-update does the same thing.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:03               ` Feng Shu
@ 2022-11-16 12:20                 ` Philip Kaludercic
  0 siblings, 0 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16 12:20 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> package-vc-prepare-patch seem to run in wrong directory:
>>
>> This and the other two issues should be fixed on the branch.  Note that
>> I have updated it and rebased it onto master, so you might need to do a
>> reset.
>
> Good job, I do not test new code today, but I have a question:
> If I run package-vc-install pyim, then I run
> package-vc-install-from-checkout /path/to/pyim.git, what will happened?

I would expect an error to be raised, because the basename ("pyim")
would already have a directory entry in ~/.emacs.d/elpa/.  Currently
this is a generic file error, we could replace it with something else,
e.g. a user-error that indicates that the name is already used.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:18             ` Philip Kaludercic
@ 2022-11-16 12:58               ` Feng Shu
  2022-11-16 12:59                 ` Philip Kaludercic
  2022-11-16 16:22               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-16 12:58 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>
>>>>> Thank you for all these stack traces, I have managed to reproduce and
>>>>> resolve all the mistakes -- at least on my end.  The new state is still
>>>>> on scratch/package-vc-fixes.
>>>>>
>>>>
>>>> Ok, new info :-)
>>>>
>>>> 1. package-vc-update is unusable when first run emacs.
>>>
>>> Unusable in what sense?  The command is not auto-loaded, so you need to
>>>
>>>   M-x load-library RET package-vc RET
>>>
>>> first.
>>
>> Yes, I mean command is not auto-loaded :-)
>
> Do you think we should make it such?  The command is strictly speaking
> not necessary, because package-update does the same thing.

If so, package-update is enough.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:58               ` Feng Shu
@ 2022-11-16 12:59                 ` Philip Kaludercic
  2022-11-17  0:43                   ` Feng Shu
  0 siblings, 1 reply; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16 12:59 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>
>>>> Feng Shu <tumashu@163.com> writes:
>>>>
>>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>>
>>>>>> Thank you for all these stack traces, I have managed to reproduce and
>>>>>> resolve all the mistakes -- at least on my end.  The new state is still
>>>>>> on scratch/package-vc-fixes.
>>>>>>
>>>>>
>>>>> Ok, new info :-)
>>>>>
>>>>> 1. package-vc-update is unusable when first run emacs.
>>>>
>>>> Unusable in what sense?  The command is not auto-loaded, so you need to
>>>>
>>>>   M-x load-library RET package-vc RET
>>>>
>>>> first.
>>>
>>> Yes, I mean command is not auto-loaded :-)
>>
>> Do you think we should make it such?  The command is strictly speaking
>> not necessary, because package-update does the same thing.
>
> If so, package-update is enough.

I will add a comment in the docstring to clarify this point.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:18             ` Philip Kaludercic
  2022-11-16 12:58               ` Feng Shu
@ 2022-11-16 16:22               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-16 16:29                 ` Philip Kaludercic
  1 sibling, 1 reply; 35+ messages in thread
From: Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-16 16:22 UTC (permalink / raw)
  To: Philip Kaludercic, Feng Shu; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Do you think we should make it such?  The command is strictly speaking
> not necessary, because package-update does the same thing.

Does it?  `package-update' updates *all* packages, not just the VC
packages.  If I understand that correctly, then I suggest we auto-load
`package-vc-update[-all]' so that the user can update *just* their VC
package[s] when they need to.

Rudy
-- 
"Mathematics takes us still further from what is human into the region
of absolute necessity, to which not only the actual world, but every
possible world, must conform."
-- Bertrand Russell, 1902

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 16:22               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-16 16:29                 ` Philip Kaludercic
  0 siblings, 0 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-16 16:29 UTC (permalink / raw)
  To: Rudolf Adamkovič; +Cc: Feng Shu, 59087

Rudolf Adamkovič <salutis@me.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Do you think we should make it such?  The command is strictly speaking
>> not necessary, because package-update does the same thing.
>
> Does it?  `package-update' updates *all* packages, not just the VC
> packages.  If I understand that correctly, then I suggest we auto-load
> `package-vc-update[-all]' so that the user can update *just* their VC
> package[s] when they need to.

Just to avoid, confusion, we have two separate issues here: What
packages are prompted for updating, what packages a command can update.
package-vc-update prompts only VC packages, package-update prompts all
packages, always including VC packages.  But both commands always just
update a single package.

In fact, what package-update does is just check if a package is a VC
package, in which case it just calls package-vc-update.  I am actually
leaning towards removing package-vc-update, but I recognise the
convenience of package-vc-update-all and think preserving the symmetry
is preferable.

> Rudy





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16 12:59                 ` Philip Kaludercic
@ 2022-11-17  0:43                   ` Feng Shu
  2022-11-17 15:54                     ` Philip Kaludercic
  0 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-17  0:43 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>
>>>>> Feng Shu <tumashu@163.com> writes:
>>>>>
>>>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>>>
>>>>>>> Thank you for all these stack traces, I have managed to reproduce and
>>>>>>> resolve all the mistakes -- at least on my end.  The new state is still
>>>>>>> on scratch/package-vc-fixes.
>>>>>>>
>>>>>>
>>>>>> Ok, new info :-)
>>>>>>
>>>>>> 1. package-vc-update is unusable when first run emacs.
>>>>>
>>>>> Unusable in what sense?  The command is not auto-loaded, so you need to
>>>>>
>>>>>   M-x load-library RET package-vc RET
>>>>>
>>>>> first.
>>>>
>>>> Yes, I mean command is not auto-loaded :-)
>>>
>>> Do you think we should make it such?  The command is strictly speaking
>>> not necessary, because package-update does the same thing.
>>
>> If so, package-update is enough.
>
> I will add a comment in the docstring to clarify this point.

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


-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-16  8:20         ` Philip Kaludercic
  2022-11-16  9:22           ` Feng Shu
  2022-11-16 12:01           ` Feng Shu
@ 2022-11-17  1:44           ` Feng Shu
  2 siblings, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-17  1:44 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

I have tested package-vc-prepare-patch again, still run error
directory.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-17  0:43                   ` Feng Shu
@ 2022-11-17 15:54                     ` Philip Kaludercic
  2022-11-18  0:43                       ` Feng Shu
  2022-11-18  3:31                       ` Feng Shu
  0 siblings, 2 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-17 15:54 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@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.

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
> I have tested package-vc-prepare-patch again, still run error
> directory.

You are right, but this looks like a separate bug related to
vc-prepare-patch.  I will report that.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-17 15:54                     ` Philip Kaludercic
@ 2022-11-18  0:43                       ` Feng Shu
  2022-11-18  9:53                         ` Philip Kaludercic
  2022-11-18  3:31                       ` Feng Shu
  1 sibling, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-18  0:43 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@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").

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


>
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>> I have tested package-vc-prepare-patch again, still run error
>> directory.
>
> You are right, but this looks like a separate bug related to
> vc-prepare-patch.  I will report that.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-17 15:54                     ` Philip Kaludercic
  2022-11-18  0:43                       ` Feng Shu
@ 2022-11-18  3:31                       ` Feng Shu
  2022-11-18  9:55                         ` Philip Kaludercic
  1 sibling, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-18  3:31 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@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
>

When I install another package, for example: cnfonts, package-update do
not show cnfonts, I need to reboot emacs.


> 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.
>
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>> I have tested package-vc-prepare-patch again, still run error
>> directory.
>
> You are right, but this looks like a separate bug related to
> vc-prepare-patch.  I will report that.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18  0:43                       ` Feng Shu
@ 2022-11-18  9:53                         ` Philip Kaludercic
  2022-11-18 11:48                           ` Feng Shu
  0 siblings, 1 reply; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-18  9:53 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@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.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18  3:31                       ` Feng Shu
@ 2022-11-18  9:55                         ` Philip Kaludercic
  2022-11-18 11:47                           ` Feng Shu
  2022-11-18 11:52                           ` Feng Shu
  0 siblings, 2 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-18  9:55 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@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
>>
>
> When I install another package, for example: cnfonts, package-update do
> not show cnfonts, I need to reboot emacs.

That is interesting, it the package listed in the Package List before
restarting?





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18  9:55                         ` Philip Kaludercic
@ 2022-11-18 11:47                           ` Feng Shu
  2022-11-18 11:52                           ` Feng Shu
  1 sibling, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-18 11:47 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@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
>>>
>>
>> When I install another package, for example: cnfonts, package-update do
>> not show cnfonts, I need to reboot emacs.
>
> That is interesting, it the package listed in the Package List before
> restarting?

Yes, it is listed in *Package* buffer. but do not show by package-update.


-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18  9:53                         ` Philip Kaludercic
@ 2022-11-18 11:48                           ` Feng Shu
  0 siblings, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-18 11:48 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@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)".

Seem to be a good idea.

>
> 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.

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18  9:55                         ` Philip Kaludercic
  2022-11-18 11:47                           ` Feng Shu
@ 2022-11-18 11:52                           ` Feng Shu
  2022-11-18 15:22                             ` Philip Kaludercic
  1 sibling, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-18 11:52 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@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
>>>
>>
>> When I install another package, for example: cnfonts, package-update do
>> not show cnfonts, I need to reboot emacs.
>
> That is interesting, it the package listed in the Package List before
> restarting?

I have installed cnfonts tar from melpa before, when I delete it,
package-update show cnfonts. 


-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18 11:52                           ` Feng Shu
@ 2022-11-18 15:22                             ` Philip Kaludercic
  2022-11-19  4:59                               ` Feng Shu
  2022-11-19  5:06                               ` Feng Shu
  0 siblings, 2 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-18 15:22 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> Feng Shu <tumashu@163.com> writes:
>>
>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>
>>>> Feng Shu <tumashu@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
>>>>
>>>
>>> When I install another package, for example: cnfonts, package-update do
>>> not show cnfonts, I need to reboot emacs.
>>
>> That is interesting, it the package listed in the Package List before
>> restarting?
>
> I have installed cnfonts tar from melpa before, when I delete it,
> package-update show cnfonts. 

Ok, so it looks like the issue is in the following:

--8<---------------cut here---------------start------------->8---
  (seq-filter
    (lambda (elt)
      (or (let ((available
                 (assq (car elt) package-archive-contents)))
            (and available
                 (version-list-<
                  (package-desc-version (cadr elt))
                  (package-desc-version (cadr available)))))
          (package-vc-p (cadr (assq (car elt) package-alist)))))
    package-alist)
--8<---------------cut here---------------end--------------->8---

specifically the

--8<---------------cut here---------------start------------->8---
(package-vc-p (cadr (assq (car elt) package-alist)))
--8<---------------cut here---------------end--------------->8---

We store all package descriptions in `package-alist', but here we only
check the first one (which is also the one I believe that is activated).

But after restarting Emacs, package.el makes sure that VC packages are
prioritised, so that is why the check does work later on.

The question is, what package is enabled?  I'd say that if after
installation, you run M-x find-library and end up in the MELPA
directory, then we would have to make up our mind of this is the right
thing or not.

But if the VC package is active, then we just have to make sure that it
is inserted at the beginning of the list, and not at the end.





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18 15:22                             ` Philip Kaludercic
@ 2022-11-19  4:59                               ` Feng Shu
  2022-11-19  7:28                                 ` Philip Kaludercic
  2022-11-19  5:06                               ` Feng Shu
  1 sibling, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-19  4:59 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>
>>>>> Feng Shu <tumashu@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
>>>>>
>>>>
>>>> When I install another package, for example: cnfonts, package-update do
>>>> not show cnfonts, I need to reboot emacs.
>>>
>>> That is interesting, it the package listed in the Package List before
>>> restarting?
>>
>> I have installed cnfonts tar from melpa before, when I delete it,
>> package-update show cnfonts. 
>
> Ok, so it looks like the issue is in the following:
>
>   (seq-filter
>     (lambda (elt)
>       (or (let ((available
>                  (assq (car elt) package-archive-contents)))
>             (and available
>                  (version-list-<
>                   (package-desc-version (cadr elt))
>                   (package-desc-version (cadr available)))))
>           (package-vc-p (cadr (assq (car elt) package-alist)))))
>     package-alist)
>
>
> specifically the
>
> (package-vc-p (cadr (assq (car elt) package-alist)))
>
> We store all package descriptions in `package-alist', but here we only
> check the first one (which is also the one I believe that is activated).
>
> But after restarting Emacs, package.el makes sure that VC packages are
> prioritised, so that is why the check does work later on.
>
> The question is, what package is enabled?  I'd say that if after
> installation, you run M-x find-library and end up in the MELPA
> directory, then we would have to make up our mind of this is the right
> thing or not.
>
> But if the VC package is active, then we just have to make sure that it
> is inserted at the beginning of the list, and not at the end.
>

Maybe this issue is related package dependent, I have test like below:


1. before package-vc-install

(find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon-0.12/popon.el"
(find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"

2. package-vc-install popon

(find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
(find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"

popon item is showed when run package-vc-update.

3. package-vc-install corfu-terminal

(find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
(find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal/corfu-terminal.el"

package-vc-update only show corfu-terminal, and popon lost.
corfu-terminal is depend on popon.



-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-18 15:22                             ` Philip Kaludercic
  2022-11-19  4:59                               ` Feng Shu
@ 2022-11-19  5:06                               ` Feng Shu
  1 sibling, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-19  5:06 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> Feng Shu <tumashu@163.com> writes:
>>>
>>>> Philip Kaludercic <philipk@posteo.net> writes:
>>>>
>>>>> Feng Shu <tumashu@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
>>>>>
>>>>
>>>> When I install another package, for example: cnfonts, package-update do
>>>> not show cnfonts, I need to reboot emacs.
>>>
>>> That is interesting, it the package listed in the Package List before
>>> restarting?
>>
>> I have installed cnfonts tar from melpa before, when I delete it,
>> package-update show cnfonts. 
>
> Ok, so it looks like the issue is in the following:
>
>   (seq-filter
>     (lambda (elt)
>       (or (let ((available
>                  (assq (car elt) package-archive-contents)))
>             (and available
>                  (version-list-<
>                   (package-desc-version (cadr elt))
>                   (package-desc-version (cadr available)))))
>           (package-vc-p (cadr (assq (car elt) package-alist)))))
>     package-alist)
>
>
> specifically the
>
> (package-vc-p (cadr (assq (car elt) package-alist)))
>
> We store all package descriptions in `package-alist', but here we only
> check the first one (which is also the one I believe that is activated).
>
> But after restarting Emacs, package.el makes sure that VC packages are
> prioritised, so that is why the check does work later on.
>
> The question is, what package is enabled?  I'd say that if after
> installation, you run M-x find-library and end up in the MELPA
> directory, then we would have to make up our mind of this is the right
> thing or not.
>
> But if the VC package is active, then we just have to make sure that it
> is inserted at the beginning of the list, and not at the end.
>

After I install popon and corfu-terminal, and reboot emacs.

package-update show nothing, but package-vc-update-all works, after
package-vc-update-all finish, package-update will show popon and corfu-terminal.


-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-14 11:32 ` Philip Kaludercic
                     ` (2 preceding siblings ...)
  2022-11-15  5:51   ` Feng Shu
@ 2022-11-19  5:10   ` Feng Shu
  3 siblings, 0 replies; 35+ messages in thread
From: Feng Shu @ 2022-11-19  5:10 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

By the way, what does "Done updating packages." mean?
Do it mean package has been updated or package is updating?

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-19  4:59                               ` Feng Shu
@ 2022-11-19  7:28                                 ` Philip Kaludercic
  2022-11-19 10:01                                   ` Feng Shu
  0 siblings, 1 reply; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-19  7:28 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

> Maybe this issue is related package dependent, I have test like below:
>
> 1. before package-vc-install
>
> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon-0.12/popon.el"
> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"

Ok.

> 2. package-vc-install popon
>
> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"
>
> popon item is showed when run package-vc-update.

Makes sense, the "popon" directory has no version number.

> 3. package-vc-install corfu-terminal
>
> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal/corfu-terminal.el"
>
> package-vc-update only show corfu-terminal, and popon lost.
> corfu-terminal is depend on popon.

I'll try this out, but in the future it would be useful to see the
contents of the variable `package-alist'.  This is all related to that
value.

Feng Shu <tumashu@163.com> writes:

> After I install popon and corfu-terminal, and reboot emacs.
>
> package-update show nothing, but package-vc-update-all works, after
> package-vc-update-all finish, package-update will show popon and corfu-terminal.

Feng Shu <tumashu@163.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
> By the way, what does "Done updating packages." mean?
> Do it mean package has been updated or package is updating?

You mean the message printed out at the end of `package-vc-update-all'?
That means that all packages have /been/ updated.  I also just noticed,
that it is printed out unconditionally, even if no VC packages have been
updated (because non are installed).





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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-19  7:28                                 ` Philip Kaludercic
@ 2022-11-19 10:01                                   ` Feng Shu
  2022-11-19 10:52                                     ` Philip Kaludercic
  0 siblings, 1 reply; 35+ messages in thread
From: Feng Shu @ 2022-11-19 10:01 UTC (permalink / raw)
  To: Philip Kaludercic; +Cc: 59087

Philip Kaludercic <philipk@posteo.net> writes:

> Feng Shu <tumashu@163.com> writes:
>
>> Maybe this issue is related package dependent, I have test like below:
>>
>> 1. before package-vc-install
>>
>> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon-0.12/popon.el"
>> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"
>
> Ok.
>
>> 2. package-vc-install popon
>>
>> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
>> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5/corfu-terminal.el"
>>
>> popon item is showed when run package-vc-update.
>
> Makes sense, the "popon" directory has no version number.
>
>> 3. package-vc-install corfu-terminal
>>
>> (find-library-name "popon") => "/home/feng/.emacs.d/elpa-29/popon/popon.el"
>> (find-library-name "corfu-terminal") => "/home/feng/.emacs.d/elpa-29/corfu-terminal/corfu-terminal.el"
>>
>> package-vc-update only show corfu-terminal, and popon lost.
>> corfu-terminal is depend on popon.
>
> I'll try this out, but in the future it would be useful to see the
> contents of the variable `package-alist'.  This is all related to that
> value.

(cl-prettyprint package-alist)

((undo-tree #s(package-desc undo-tree (20170706 246) "Treat undo history as a tree" nil nil nil "/home/feng/.emacs.d/elpa-29/undo-tree-20170706.246" ((:keywords "convenience" "files" "undo" "redo" "history" "tree") (:url . "http://www.dr-qubit.org/emacs.php") (:commit . "e9a9102f515acd7523158f20e83f300600374989")) nil))
 (with-editor #s(package-desc with-editor (20220810 1159) "Use the Emacsclient as $EDITOR" ((emacs (25 1)) (compat (28 1 1 0))) nil nil "/home/feng/.emacs.d/elpa-29/with-editor-20220810.1159" ((:url . "https://github.com/magit/with-editor") (:keywords "processes" "terminals") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:commit . "14a958d4f2fc932db1c1af30ca405e6570d60e24")) nil))
 (async #s(package-desc async (20221103 638) "Asynchronous processing in Emacs" ((emacs (24 4))) nil nil "/home/feng/.emacs.d/elpa-29/async-20221103.638" ((:url . "https://github.com/jwiegley/emacs-async") (:keywords "async") (:maintainer "Thierry Volpiatto" . "thievol@posteo.net") (:authors ("John Wiegley" . "jwiegley@gmail.com")) (:commit . "10cedd8ac7173e92a6822317f1782550199d2d6d")) nil))
 (adaptive-wrap #s(package-desc adaptive-wrap (0 8) "Smart line-wrapping with wrap-prefix" nil nil nil "/home/feng/.emacs.d/elpa-29/adaptive-wrap-0.8" ((:maintainer "Stephen Berman" . "stephen.berman@gmx.net") (:authors ("Stephen Berman" . "stephen.berman@gmx.net") ("Stefan Monnier" . "monnier@iro.umontreal.ca")) (:url . "https://elpa.gnu.org/packages/adaptive-wrap.html")) nil))
 (corfu #s(package-desc corfu (0 28) "Completion Overlay Region FUnction" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/corfu-0.28" ((:url . "https://github.com/minad/corfu") (:maintainer "Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Daniel Mendler" . "mail@daniel-mendler.de")) (:commit . "3408e41bf0d2264d754a59b0326c622d874d5537")) t))
 (dash #s(package-desc dash (20221013 836) "A modern list library for Emacs" ((emacs (24))) nil nil "/home/feng/.emacs.d/elpa-29/dash-20221013.836" ((:url . "https://github.com/magnars/dash.el") (:keywords "extensions" "lisp") (:maintainer "Magnar Sveen" . "magnars@gmail.com") (:authors ("Magnar Sveen" . "magnars@gmail.com")) (:commit . "3df46d7d9fe74f52a661565888e4d31fd760f0df")) nil))
 (pos-tip #s(package-desc pos-tip (20220715 1020) "Show tooltip at point" nil nil nil "/home/feng/.emacs.d/elpa-29/pos-tip-20220715.1020" ((:keywords "tooltip") (:maintainer "S. Irie") (:authors ("S. Irie")) (:commit . "bfe74204d1201a33ace81898e7c485382817510a")) nil))
 (bui #s(package-desc bui (20210108 1141) "Buffer interface library" ((emacs (24 3)) (dash (2 11 0))) nil nil "/home/feng/.emacs.d/elpa-29/bui-20210108.1141" ((:url . "https://github.com/alezost/bui.el") (:keywords "tools") (:maintainer "Alex Kost" . "alezost@gmail.com") (:authors ("Alex Kost" . "alezost@gmail.com")) (:commit . "f3a137628e112a91910fd33c0cff0948fa58d470")) nil))
 (rainbow-mode #s(package-desc rainbow-mode (1 0 6) "Colorize color names in buffers" nil nil nil "/home/feng/.emacs.d/elpa-29/rainbow-mode-1.0.6" ((:keywords "faces") (:maintainer "Julien Danjou" . "julien@danjou.info") (:authors ("Julien Danjou" . "julien@danjou.info")) (:url . "https://elpa.gnu.org/packages/rainbow-mode.html") (:commit . "ac68593018ef3555e64ea592d72334f4e3e39209")) t))
 (git-commit #s(package-desc git-commit (20221106 1128) "Edit Git commit messages." ((emacs (25 1)) (compat (28 1 1 2)) (transient (20210920)) (with-editor (20211001))) nil nil "/home/feng/.emacs.d/elpa-29/git-commit-20221106.1128" ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li") ("Sebastian Wiesner" . "lunaryorn@gmail.com") ("Florian Ragwitz" . "rafl@debian.org") ("Marius Vollmer" . "marius.vollmer@gmail.com")) (:commit . "161ab485209ecd0f304e16ca95f8a145327e7ffe")) nil))
 (epl #s(package-desc epl (20180205 2049) "Emacs Package Library" ((cl-lib (0 3))) nil nil "/home/feng/.emacs.d/elpa-29/epl-20180205.2049" ((:url . "http://github.com/cask/epl") (:maintainer "Johan Andersson" . "johan.rejeep@gmail.com") (:authors ("Sebastian Wiesner" . "swiesner@lunaryorn.com")) (:keywords "convenience") (:commit . "78ab7a85c08222cd15582a298a364774e3282ce6")) nil))
 (f #s(package-desc f (20220911 711) "Modern API for working with files and directories" ((emacs (24 1)) (s (1 7 0)) (dash (2 2 0))) nil nil "/home/feng/.emacs.d/elpa-29/f-20220911.711" ((:url . "http://github.com/rejeep/f.el") (:keywords "files" "directories") (:maintainer "Lucien Cartier-Tilet" . "lucien@phundrak.com") (:authors ("Johan Andersson" . "johan.rejeep@gmail.com")) (:commit . "d50dca48929575642912bb5bbb2585709ba38f82")) nil))
 (markdown-mode #s(package-desc markdown-mode (20221105 236) "Major mode for Markdown-formatted text" ((emacs (26 1))) nil nil "/home/feng/.emacs.d/elpa-29/markdown-mode-20221105.236" ((:url . "https://jblevins.org/projects/markdown-mode/") (:keywords "markdown" "github flavored markdown" "itex") (:maintainer "Jason R. Blevins" . "jblevins@xbeta.org") (:authors ("Jason R. Blevins" . "jblevins@xbeta.org")) (:commit . "c338cdff80012893e64ba62a199281f430db7021")) nil))
 (org-ql #s(package-desc org-ql (20221007 2334) "Org Query Language, search command, and agenda-like view" ((emacs (26 1)) (dash (2 18 1)) (f (0 17 2)) (map (2 1)) (org (9 0)) (org-super-agenda (1 2)) (ov (1 0 6)) (peg (1 0)) (s (1 12 0)) (transient (0 1)) (ts (0 2 -1))) nil nil "/home/feng/.emacs.d/elpa-29/org-ql-20221007.2334" ((:url . "https://github.com/alphapapa/org-ql") (:keywords "hypermedia" "outlines" "org" "agenda") (:maintainer "Adam Porter" . "adam@alphapapa.net") (:authors ("Adam Porter" . "adam@alphapapa.net")) (:commit . "5f70636556bffca92d8ef8297ba3002a4ab5b52d")) nil))
 (company #s(package-desc company (20221007 2145) "Modular text completion framework" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/company-20221007.2145" ((:url . "http://company-mode.github.io/") (:keywords "abbrev" "convenience" "matching") (:maintainer "Dmitry Gutov" . "dgutov@yandex.ru") (:authors ("Nikolaj Schumacher")) (:commit . "48fea7a905b3bcc6d97609316beced666da89b1f")) nil))
 (dired-hacks-utils #s(package-desc dired-hacks-utils (20201005 2318) "Utilities and helpers for dired-hacks collection" ((dash (2 5 0))) nil nil "/home/feng/.emacs.d/elpa-29/dired-hacks-utils-20201005.2318" ((:maintainer "Matúš Goljer" . "matus.goljer@gmail.com") (:authors ("Matúš Goljer" . "matus.goljer@gmail.com")) (:keywords "files") (:commit . "d6d4d1930969bbc22fd0551d5195887bf92cab3e")) nil))
 (popon #s(package-desc popon (0 12) "\"Pop\" floating text \"on\" a window" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/popon-0.12" ((:url . "https://codeberg.org/akib/emacs-popon") (:keywords "lisp" "extensions" "frames") (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:commit . "f57efe0abbe73a9c0e7f6953bce1eb81a2b37e7e")) t)
        #s(package-desc popon (0 12) "\"Pop\" floating text \"on\" a window" ((emacs (25 1))) vc nil "/home/feng/.emacs.d/elpa-29/popon" ((:commit . "f57efe0abbe73a9c0e7f6953bce1eb81a2b37e7e") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:keywords "lisp" "extensions" "frames") (:url . "https://codeberg.org/akib/emacs-popon")) nil))
 (pyim-basedict #s(package-desc pyim-basedict (0 5 4) "The default pinyin dict of pyim" nil nil nil "/home/feng/.emacs.d/elpa-29/pyim-basedict-0.5.4" ((:url . "https://github.com/tumashu/pyim-basedict") (:keywords "convenience" "chinese" "pinyin" "input-method" "complete") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Feng Shu" . "tumashu@163.com")) (:commit . "d61af27686f7a39e6c138b7261a686e7ea7a0ef7")) t))
 (pkg-info #s(package-desc pkg-info (20150517 1143) "Information about packages" ((epl (0 8))) nil nil "/home/feng/.emacs.d/elpa-29/pkg-info-20150517.1143" ((:url . "https://github.com/lunaryorn/pkg-info.el") (:maintainer "Sebastian Wiesner" . "swiesner@lunaryorn.com") (:authors ("Sebastian Wiesner" . "swiesner@lunaryorn.com")) (:keywords "convenience") (:commit . "76ba7415480687d05a4353b27fea2ae02b8d9d61")) nil))
 (company-posframe #s(package-desc company-posframe (20221118 824) "Use a posframe as company candidate menu" ((emacs (26 0)) (company (0 9 0)) (posframe (0 9 0))) nil nil "/home/feng/.emacs.d/elpa-29/company-posframe-20221118.824" ((:url . "https://github.com/tumashu/company-posframe") (:keywords "abbrev" "convenience" "matching") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Clément Pit-Claudel, Feng Shu, Lars Andersen" . "expez@expez.com")) (:commit . "ab58972c2cebc5ecf68c4cdd140c3aed2c68f42b")) nil))
 (transient #s(package-desc transient (20221118 1443) "Transient commands" ((emacs (25 1)) (compat (28 1 1 0))) nil nil "/home/feng/.emacs.d/elpa-29/transient-20221118.1443" ((:url . "https://github.com/magit/transient") (:keywords "extensions") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:commit . "804c27f1f585c05a777c288fbcfa1c16a3c0cd45")) nil))
 (xmlgen #s(package-desc xmlgen (20170411 1317) "A DSL for generating XML." nil nil nil "/home/feng/.emacs.d/elpa-29/xmlgen-20170411.1317" ((:maintainer "Philip Jackson" . "phil@shellarchive.co.uk") (:authors ("Philip Jackson" . "phil@shellarchive.co.uk")) (:commit . "dba66681f0c5e621a9e70e8afb34903c9ffe93c4")) nil))
 (evil #s(package-desc evil (1 15 0) "extensible vi layer" nil nil nil "/home/feng/.emacs.d/elpa-29/evil-1.15.0" ((:url . "https://github.com/emacs-evil/evil") (:keywords "emulation" "vim") (:maintainer "Tom Dalziel" . "tom.dalziel@gmail.com") (:commit . "008a6cdb12f15e748979a7d1c2f26c34c84dedbf")) t))
 (emms #s(package-desc emms (20221006 1511) "The Emacs Multimedia System" ((cl-lib (0 5)) (nadvice (0 3)) (seq (0))) nil nil "/home/feng/.emacs.d/elpa-29/emms-20221006.1511" ((:url . "https://www.gnu.org/software/emms/") (:keywords "emms" "mp3" "ogg" "flac" "music" "mpeg" "video" "multimedia") (:maintainer "Yoni Rabkin" . "yrk@gnu.org") (:authors ("Jorgen Schäfer" . "forcer@forcix.cx")) (:commit . "d9f67eeb1ce68c228fcbe02596318c6452b6292a")) nil))
 (elpa-mirror #s(package-desc elpa-mirror (20220526 1512) "Create local package repository from installed packages" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/elpa-mirror-20220526.1512" ((:url . "http://github.com/redguardtoo/elpa-mirror") (:keywords "tools") (:maintainer "Chen Bin" . "chenbin.sh@gmail.com") (:authors ("Chen Bin" . "chenbin.sh@gmail.com")) (:commit . "fecb74e8b5ce1562df2951dbbed158d75a21aa7f")) nil))
 (consult #s(package-desc consult (20221117 807) "Consulting completing-read" ((emacs (27 1)) (compat (28 1))) nil nil "/home/feng/.emacs.d/elpa-29/consult-20221117.807" ((:url . "https://github.com/minad/consult") (:maintainer "Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Daniel Mendler and Consult contributors")) (:commit . "35b57c1996b0887d4940960f1cd7deb7a5f4a2d9")) nil))
 (ebdb #s(package-desc ebdb (0 8 16) "Contact management package" ((emacs (25 1)) (seq (2 15))) nil nil "/home/feng/.emacs.d/elpa-29/ebdb-0.8.16" ((:url . "https://github.com/girzel/ebdb") (:keywords "convenience" "mail") (:maintainer "Eric Abrahamsen" . "eric@ericabrahamsen.net") (:authors ("Eric Abrahamsen" . "eric@ericabrahamsen.net")) (:commit . "a961744cc49a6e9b96474ef8ea90dc34feaef24c")) t))
 (ht #s(package-desc ht (20221031 705) "The missing hash table library for Emacs" ((dash (2 12 0))) nil nil "/home/feng/.emacs.d/elpa-29/ht-20221031.705" ((:keywords "hash table" "hash map" "hash") (:maintainer "Wilfred Hughes" . "me@wilfred.me.uk") (:authors ("Wilfred Hughes" . "me@wilfred.me.uk")) (:commit . "ef768ccdeb8159814628ab0e2714e7dc8d9674fa")) nil))
 (posframe #s(package-desc posframe (1 2 0) "Pop a posframe (just a frame) at point" ((emacs (26 1))) nil nil "/home/feng/.emacs.d/elpa-29/posframe-1.2.0" ((:url . "https://github.com/tumashu/posframe") (:keywords "convenience" "tooltip") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Feng Shu" . "tumashu@163.com")) (:commit . "48b7130ca3b5c98bdb21bf99b64a3536acf2b0eb")) t))
 (orderless #s(package-desc orderless (20221113 1719) "Completion style for matching regexps in any order" ((emacs (26 1))) nil nil "/home/feng/.emacs.d/elpa-29/orderless-20221113.1719" ((:url . "https://github.com/oantolin/orderless") (:keywords "extensions") (:maintainer "Omar Antolín Camarena" . "omar@matem.unam.mx") (:authors ("Omar Antolín Camarena" . "omar@matem.unam.mx")) (:commit . "2debd96da6f75703ccbca6d852ad994ce84fa529")) nil))
 (xr #s(package-desc xr (1 23) "Convert string regexp to rx notation" ((emacs (26 1))) nil nil "/home/feng/.emacs.d/elpa-29/xr-1.23" ((:url . "https://github.com/mattiase/xr") (:keywords "lisp" "regexps") (:maintainer "Mattias Engdegård" . "mattiase@acm.org") (:authors ("Mattias Engdegård" . "mattiase@acm.org")) (:commit . "74906f6d104b7daae162dc32684e0443e80fdb03")) t))
 (wgrep #s(package-desc wgrep (20210322 2207) "Writable grep buffer and apply the changes to files" nil nil nil "/home/feng/.emacs.d/elpa-29/wgrep-20210322.2207" ((:url . "http://github.com/mhayashi1120/Emacs-wgrep/raw/master/wgrep.el") (:keywords "grep" "edit" "extensions") (:maintainer "Masahiro Hayashi" . "mhayashi1120@gmail.com") (:authors ("Masahiro Hayashi" . "mhayashi1120@gmail.com")) (:commit . "f9687c28bbc2e84f87a479b6ce04407bb97cfb23")) nil))
 (cal-china-x #s(package-desc cal-china-x (20200924 1837) "Chinese localization, lunar/horoscope/zodiac info and more..." ((cl-lib (0 5))) nil nil "/home/feng/.emacs.d/elpa-29/cal-china-x-20200924.1837" ((:url . "https://github.com/xwl/cal-china-x") (:maintainer "William Xu" . "william.xwl@gmail.com") (:authors ("William Xu" . "william.xwl@gmail.com")) (:commit . "94005e678a1d2522b7a00299779f40c5c77286b8")) nil))
 (edit-indirect #s(package-desc edit-indirect (20220511 1124) "Edit regions in separate buffers" ((emacs (24 3))) nil nil "/home/feng/.emacs.d/elpa-29/edit-indirect-20220511.1124" ((:url . "https://github.com/Fanael/edit-indirect") (:maintainer "Fanael Linithien" . "fanael4@gmail.com") (:authors ("Fanael Linithien" . "fanael4@gmail.com")) (:commit . "f80f63822ffae78de38dbe72cacaeb1aaa96c732")) nil))
 (geiser-guile #s(package-desc geiser-guile (0 28 0) "Guile and Geiser talk to each other" ((emacs (25 1)) (transient (0 3)) (geiser (0 28))) nil nil "/home/feng/.emacs.d/elpa-29/geiser-guile-0.28.0" ((:url . "https://gitlab.com/emacs-geiser/guile") (:keywords "languages" "guile" "scheme" "geiser") (:maintainer "Jose Antonio Ortega Ruiz" . "jao@gnu.org") (:authors ("Jose Antonio Ortega Ruiz" . "jao@gnu.org")) (:commit . "f5e82dc0f5a076335f201885a7edbefaa1ad435f")) t))
 (citre #s(package-desc citre (20221111 1230) "Ctags IDE on the True Editor" ((emacs (26 1))) nil nil "/home/feng/.emacs.d/elpa-29/citre-20221111.1230" ((:url . "https://github.com/universal-ctags/citre") (:keywords "convenience" "tools") (:maintainer "Hao Wang" . "amaikinono@gmail.com") (:authors ("Hao Wang" . "amaikinono@gmail.com")) (:commit . "244501472ddf31c91cc374231849a05c86dfb1fb")) nil))
 (peg #s(package-desc peg (1 0) "Parsing Expression Grammars in Emacs Lisp" ((emacs (25))) nil nil "/home/feng/.emacs.d/elpa-29/peg-1.0" ((:url . "http://elpa.gnu.org/packages/peg.html")) t))
 (modus-themes #s(package-desc modus-themes (20221117 1155) "Elegant, highly legible and customizable themes" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/modus-themes-20221117.1155" ((:url . "https://git.sr.ht/~protesilaos/modus-themes") (:keywords "faces" "theme" "accessibility") (:maintainer "Modus-Themes Development" . "~protesilaos/modus-themes@lists.sr.ht") (:authors ("Protesilaos Stavrou" . "info@protesilaos.com")) (:commit . "30b622807601d3c1722347717f998d6d5a0146f3")) nil))
 (ov #s(package-desc ov (20200326 1042) "Overlay library for Emacs Lisp" ((emacs (24 3))) nil nil "/home/feng/.emacs.d/elpa-29/ov-20200326.1042" ((:url . "https://github.com/ShingoFukuyama/ov.el") (:keywords "convenience" "overlay") (:maintainer "Shingo Fukuyama - http://fukuyama.co") (:authors ("Shingo Fukuyama - http://fukuyama.co")) (:commit . "c5b9aa4e1b00d702eb2caedd61c69a22a5fa1fab")) nil))
 (marginalia #s(package-desc marginalia (0 15) "Enrich existing commands with completion annotations" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/marginalia-0.15" ((:url . "https://github.com/minad/marginalia") (:maintainer "Omar Antolín Camarena <omar@matem.unam.mx>, Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Omar Antolín Camarena <omar@matem.unam.mx>, Daniel Mendler" . "mail@daniel-mendler.de")) (:commit . "cc7a086cd7816ad41ff004c61c41bdd26ec3ea0b")) t))
 (vertico #s(package-desc vertico (0 28) "VERTical Interactive COmpletion" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/vertico-0.28" ((:url . "https://github.com/minad/vertico") (:maintainer "Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Daniel Mendler" . "mail@daniel-mendler.de")) (:commit . "31060942d65ccd3c1b488d8db497af5eda9ac7fc")) t))
 (vundo #s(package-desc vundo (2 0 0) "Visual undo tree" ((emacs (28 1))) nil nil "/home/feng/.emacs.d/elpa-29/vundo-2.0.0" ((:url . "https://github.com/casouri/vundo") (:keywords "undo" "text" "editing") (:maintainer "Yuan Fu" . "casouri@gmail.com") (:authors ("Yuan Fu" . "casouri@gmail.com")) (:commit . "10d5debe317b2244d19085151040f955dda4a9ab")) t))
 (magit #s(package-desc magit (20221113 2221) "A Git porcelain inside Emacs." ((emacs (25 1)) (compat (28 1 1 2)) (dash (20210826)) (git-commit (20220222)) (magit-section (20220325)) (transient (20220325)) (with-editor (20220318))) nil nil "/home/feng/.emacs.d/elpa-29/magit-20221113.2221" ((:url . "https://github.com/magit/magit") (:keywords "git" "tools" "vc") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Marius Vollmer" . "marius.vollmer@gmail.com") ("Jonas Bernoulli" . "jonas@bernoul.li")) (:commit . "05b0d99d714350d51676b86da9f5daa2f6b7fa3e")) nil))
 (tempel #s(package-desc tempel (20221016 1017) "Tempo templates/snippets with in-buffer field editing" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/tempel-20221016.1017" ((:url . "https://github.com/minad/tempel") (:maintainer "Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Daniel Mendler" . "mail@daniel-mendler.de")) (:commit . "7d7adf155760d33b8c391fbf1e99c5be85bab85a")) nil))
 (org-contrib #s(package-desc org-contrib (0 4) "Unmaintained add-ons for Org-mode" ((emacs (25 1)) (org (9 4 6))) nil nil "/home/feng/.emacs.d/elpa-29/org-contrib-0.4" ((:url . "https://git.sr.ht/~bzg/org-contrib") (:keywords "org") (:maintainer "Bastien Guerry" . "bzg@gnu.org") (:authors ("Bastien Guerry" . "bzg@gnu.org")) (:commit . "c6aef31ccfc7c4418c3b51e98f7c3bd8e255f5e6")) t))
 (flycheck #s(package-desc flycheck (20221112 1552) "On-the-fly syntax checking" ((dash (2 12 1)) (pkg-info (0 4)) (let-alist (1 0 4)) (seq (1 11)) (emacs (24 3))) nil nil "/home/feng/.emacs.d/elpa-29/flycheck-20221112.1552" ((:url . "http://www.flycheck.org") (:keywords "convenience" "languages" "tools") (:maintainer "Clément Pit-Claudel" . "clement.pitclaudel@live.com") (:authors ("Sebastian Wiesner" . "swiesner@lunaryorn.com")) (:commit . "ab93e2db1dd8333e86f8aeeafbf1e2a0e5f0be38")) nil))
 (cnfonts #s(package-desc cnfonts (20221019 159) "A simple Chinese fonts config tool" ((emacs (24))) nil nil "/home/feng/.emacs.d/elpa-29/cnfonts-20221019.159" ((:url . "https://github.com/tumashu/cnfonts") (:keywords "convenience" "chinese" "font") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Feng Shu" . "tumashu@163.com")) (:commit . "102f808e500715e0cfb80905110d1f42aa7b6069")) nil))
 (switch-window #s(package-desc switch-window (20220812 2137) "A *visual* way to switch window" ((emacs (24))) nil nil "/home/feng/.emacs.d/elpa-29/switch-window-20220812.2137" ((:url . "https://github.com/dimitri/switch-window") (:keywords "convenience") (:maintainer "Dimitri Fontaine" . "dim@tapoueh.org") (:authors ("Dimitri Fontaine" . "dim@tapoueh.org") ("Feng Shu" . "tumashu@163.com")) (:commit . "71ef2f54c97f3fd2e7ff7964d82e6562eb6282f7")) nil))
 (ox-gfm #s(package-desc ox-gfm (20220910 1321) "Github Flavored Markdown Back-End for Org Export Engine" nil nil nil "/home/feng/.emacs.d/elpa-29/ox-gfm-20220910.1321" ((:keywords "org" "wp" "markdown" "github") (:maintainer "Lars Tveito") (:authors ("Lars Tveito")) (:commit . "46faa67dbb3fb0cd7a76c3fe518f16e4195c22c7")) nil))
 (ebdb-i18n-chn #s(package-desc ebdb-i18n-chn (1 3 2) "China-specific internationalization support for EBDB" ((pyim (1 6 0)) (ebdb (0 6 17))) nil nil "/home/feng/.emacs.d/elpa-29/ebdb-i18n-chn-1.3.2" ((:maintainer "Eric Abrahamsen" . "eric@ericabrahamsen.net") (:authors ("Eric Abrahamsen" . "eric@ericabrahamsen.net")) (:url . "https://elpa.gnu.org/packages/ebdb-i18n-chn.html")) t))
 (aggressive-indent #s(package-desc aggressive-indent (20221009 1158) "Minor mode to aggressively keep your code always indented" ((emacs (24 3))) nil nil "/home/feng/.emacs.d/elpa-29/aggressive-indent-20221009.1158" ((:url . "https://github.com/Malabarba/aggressive-indent-mode") (:keywords "indent" "lisp" "maint" "tools") (:maintainer "Artur Malabarba" . "emacs@endlessparentheses.com") (:authors ("Artur Malabarba" . "emacs@endlessparentheses.com")) (:commit . "f376cdc25de5c0f8c330f1e053557d95ca47a540")) nil))
 (geiser #s(package-desc geiser (0 28) "GNU Emacs and Scheme talk to each other" ((emacs (25 1)) (project (0 8 1))) nil nil "/home/feng/.emacs.d/elpa-29/geiser-0.28" ((:url . "https://gitlab.com/emacs-geiser/") (:keywords "languages" "scheme" "geiser") (:maintainer "Jose Antonio Ortega Ruiz" . "jao@gnu.org") (:authors ("Jose Antonio Ortega Ruiz" . "jao@gnu.org")) (:commit . "04dbdacfeca0190856abad859360da4bb873f9dd")) t))
 (ivy #s(package-desc ivy (0 13 4) "Incremental Vertical completYon" ((emacs (24 5))) nil nil "/home/feng/.emacs.d/elpa-29/ivy-0.13.4" ((:url . "https://github.com/abo-abo/swiper") (:maintainer "Oleh Krehel" . "ohwoeowho@gmail.com") (:authors ("Oleh Krehel" . "ohwoeowho@gmail.com")) (:keywords "matching")) t))
 (guix #s(package-desc guix (20210608 1653) "Interface for GNU Guix" ((emacs (24 3)) (dash (2 11 0)) (geiser (0 8)) (bui (1 2 0)) (magit-popup (2 1 0)) (edit-indirect (0 1 4))) nil nil "/home/feng/.emacs.d/elpa-29/guix-20210608.1653" ((:url . "https://emacs-guix.gitlab.io/website/") (:keywords "tools") (:maintainer "Alex Kost" . "alezost@gmail.com") (:authors ("Alex Kost" . "alezost@gmail.com")) (:commit . "c9aef52121b458297e70bb50f49f7276b4a8d759")) nil))
 (package-lint #s(package-desc package-lint (20221003 1636) "A linting library for elisp package authors" ((cl-lib (0 5)) (emacs (24 1)) (let-alist (1 0 6))) nil nil "/home/feng/.emacs.d/elpa-29/package-lint-20221003.1636" ((:url . "https://github.com/purcell/package-lint") (:keywords "lisp") (:maintainer "Steve Purcell" . "steve@sanityinc.com") (:authors ("Steve Purcell" . "steve@sanityinc.com") ("Fanael Linithien" . "fanael4@gmail.com")) (:commit . "4ea8318c1bf79ccb1b4658d58917bbd9f990c432")) nil))
 (0blayout #s(package-desc 0blayout (20190703 527) "Layout grouping with ease" nil nil nil "/home/feng/.emacs.d/elpa-29/0blayout-20190703.527" ((:url . "https://github.com/etu/0blayout") (:keywords "convenience" "window-management") (:maintainer "Elis \"etu\" Axelsson") (:authors ("Elis \"etu\" Axelsson")) (:commit . "fd9a8f353dbd45b4628b5f84b8d8c2525ebf571d")) nil))
 (popup #s(package-desc popup (0 5 9) "Visual Popup User Interface" ((emacs (24 3))) nil nil "/home/feng/.emacs.d/elpa-29/popup-0.5.9" ((:url . "https://github.com/auto-complete/popup-el") (:keywords "lisp") (:maintainer "Shen, Jen-Chieh" . "jcs090218@gmail.com") (:authors ("Tomohiro Matsuyama" . "m2ym.pub@gmail.com"))) t))
 (org-download #s(package-desc org-download (20220906 1929) "Image drag-and-drop for Org-mode." ((emacs (24 3)) (async (1 2))) nil nil "/home/feng/.emacs.d/elpa-29/org-download-20220906.1929" ((:url . "https://github.com/abo-abo/org-download") (:keywords "multimedia" "images" "screenshots" "download") (:maintainer "Oleh Krehel") (:authors ("Oleh Krehel")) (:commit . "19e166f0a8c539b4144cfbc614309d47a9b2a9b7")) nil))
 (pyim #s(package-desc pyim (20221107 41) "A Chinese input method support quanpin, shuangpin, wubi, cangjie and rime." ((emacs (25 1)) (async (1 6)) (xr (1 13))) nil nil "/home/feng/.emacs.d/elpa-29/pyim-20221107.41" ((:url . "https://github.com/tumashu/pyim") (:keywords "convenience" "chinese" "pinyin" "input-method") (:maintainer "Feng Shu" . "tumashu@163.com") (:authors ("Ye Wenbin" . "wenbinye@163.com") ("Feng Shu" . "tumashu@163.com")) (:commit . "93fab3c9e8c2490687781d45c1cecead0bd3ecf2")) nil))
 (paredit #s(package-desc paredit (20220709 916) "minor mode for editing parentheses" nil nil nil "/home/feng/.emacs.d/elpa-29/paredit-20220709.916" ((:keywords "lisp") (:maintainer "Taylor R. Campbell" . "campbell+paredit@mumble.net") (:authors ("Taylor R. Campbell" . "campbell+paredit@mumble.net")) (:commit . "42500e5d450c88a3b249b548be447577d8549b17")) nil))
 (el2org #s(package-desc el2org (20200408 146) "Convert elisp file to org file" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/el2org-20200408.146" ((:url . "https://github.com/tumashu/el2org") (:maintainer "Feng Shu " . "tumashu@163.com") (:authors ("Feng Shu " . "tumashu@163.com")) (:keywords "convenience") (:commit . "7db77fdd73f378d4e60e34c11bbdf00677adc32c")) nil))
 (rainbow-delimiters #s(package-desc rainbow-delimiters (20210515 1254) "Highlight brackets according to their depth" nil nil nil "/home/feng/.emacs.d/elpa-29/rainbow-delimiters-20210515.1254" ((:url . "https://github.com/Fanael/rainbow-delimiters") (:keywords "faces" "convenience" "lisp" "tools") (:maintainer "Fanael Linithien" . "fanael4@gmail.com") (:authors ("Jeremy Rayman" . "opensource@jeremyrayman.com") ("Fanael Linithien" . "fanael4@gmail.com")) (:commit . "d576e6694ad3a3e88b2bb1363305b38fa364c149")) nil))
 (cape #s(package-desc cape (0 10) "Completion At Point Extensions" ((emacs (27 1))) nil nil "/home/feng/.emacs.d/elpa-29/cape-0.10" ((:url . "https://github.com/minad/cape") (:maintainer "Daniel Mendler" . "mail@daniel-mendler.de") (:authors ("Daniel Mendler" . "mail@daniel-mendler.de")) (:commit . "4b32036a6c667b445dcc001fd70a01eee8baa924")) t))
 (corfu-terminal #s(package-desc corfu-terminal (0 5) "Corfu popup on terminal" ((emacs (26 1)) (corfu (0 24)) (popon (0 1))) vc nil "/home/feng/.emacs.d/elpa-29/corfu-terminal" ((:commit . "1a15a01e2e1464daadfa4973cb695802e5c23a25") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:keywords "convenience") (:url . "https://codeberg.org/akib/emacs-corfu-terminal")) nil)
                 #s(package-desc corfu-terminal (0 5) "Corfu popup on terminal" ((emacs (26 1)) (corfu (0 24)) (popon (0 1))) nil nil "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5" ((:url . "https://codeberg.org/akib/emacs-corfu-terminal") (:keywords "convenience") (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:commit . "1a15a01e2e1464daadfa4973cb695802e5c23a25")) t))
 (org-super-agenda #s(package-desc org-super-agenda (20220826 2315) "Supercharge your agenda" ((emacs (26 1)) (s (1 10 0)) (dash (2 13)) (org (9 0)) (ht (2 2)) (ts (0 2))) nil nil "/home/feng/.emacs.d/elpa-29/org-super-agenda-20220826.2315" ((:url . "http://github.com/alphapapa/org-super-agenda") (:keywords "hypermedia" "outlines" "org" "agenda") (:maintainer "Adam Porter" . "adam@alphapapa.net") (:authors ("Adam Porter" . "adam@alphapapa.net")) (:commit . "f4f528985397c833c870967884b013cf91a1da4a")) nil))
 (compat #s(package-desc compat (28 1 2 2) "Emacs Lisp Compatibility Library" ((emacs (24 3)) (nadvice (0 3))) nil nil "/home/feng/.emacs.d/elpa-29/compat-28.1.2.2" ((:url . "https://sr.ht/~pkal/compat") (:keywords "lisp") (:maintainer "Compat Development" . "~pkal/compat-devel@lists.sr.ht") (:authors ("Philip Kaludercic" . "philipk@posteo.net")) (:commit . "d533692182c084bad623977b69f9dc298255eaab")) t))
 (projectile #s(package-desc projectile (20221118 1035) "Manage and navigate projects in Emacs easily" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/projectile-20221118.1035" ((:url . "https://github.com/bbatsov/projectile") (:keywords "project" "convenience") (:maintainer "Bozhidar Batsov" . "bozhidar@batsov.dev") (:authors ("Bozhidar Batsov" . "bozhidar@batsov.dev")) (:commit . "5703797bb2a400e962479e670086aca4241a77b7")) nil))
 (ts #s(package-desc ts (20220822 2313) "Timestamp and date/time library" ((emacs (26 1)) (dash (2 14 1)) (s (1 12 0))) nil nil "/home/feng/.emacs.d/elpa-29/ts-20220822.2313" ((:url . "http://github.com/alphapapa/ts.el") (:keywords "calendar" "lisp") (:maintainer "Adam Porter" . "adam@alphapapa.net") (:authors ("Adam Porter" . "adam@alphapapa.net")) (:commit . "552936017cfdec89f7fc20c254ae6b37c3f22c5b")) nil))
 (magit-popup #s(package-desc magit-popup (20200719 1015) "Define prefix-infix-suffix command combos" ((emacs (24 4)) (dash (2 13 0))) nil nil "/home/feng/.emacs.d/elpa-29/magit-popup-20200719.1015" ((:url . "https://github.com/magit/magit-popup") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:keywords "bindings") (:commit . "d8585fa39f88956963d877b921322530257ba9f5")) nil))
 (magit-section #s(package-desc magit-section (20220929 1014) "Sections for read-only buffers." ((emacs (25 1)) (compat (28 1 1 2)) (dash (20210826))) nil nil "/home/feng/.emacs.d/elpa-29/magit-section-20220929.1014" ((:url . "https://github.com/magit/magit") (:keywords "tools") (:maintainer "Jonas Bernoulli" . "jonas@bernoul.li") (:authors ("Jonas Bernoulli" . "jonas@bernoul.li")) (:commit . "cfe5a1260bf19191adab837e90acc1004529a0c9")) nil))
 (s #s(package-desc s (20220902 1511) "The long lost Emacs string manipulation library." nil nil nil "/home/feng/.emacs.d/elpa-29/s-20220902.1511" ((:keywords "strings") (:maintainer "Jason Milkins" . "jasonm23@gmail.com") (:authors ("Magnar Sveen" . "magnars@gmail.com")) (:commit . "b4b8c03fcef316a27f75633fe4bb990aeff6e705")) nil)))


>
> Feng Shu <tumashu@163.com> writes:
>
>> After I install popon and corfu-terminal, and reboot emacs.
>>
>> package-update show nothing, but package-vc-update-all works, after
>> package-vc-update-all finish, package-update will show popon and corfu-terminal.
>
> Feng Shu <tumashu@163.com> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>> By the way, what does "Done updating packages." mean?
>> Do it mean package has been updated or package is updating?
>
> You mean the message printed out at the end of `package-vc-update-all'?
> That means that all packages have /been/ updated.  I also just noticed,
> that it is printed out unconditionally, even if no VC packages have been
> updated (because non are installed).

-- 






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

* bug#59087: 29.0.50; package-vc-update error
  2022-11-19 10:01                                   ` Feng Shu
@ 2022-11-19 10:52                                     ` Philip Kaludercic
  0 siblings, 0 replies; 35+ messages in thread
From: Philip Kaludercic @ 2022-11-19 10:52 UTC (permalink / raw)
  To: Feng Shu; +Cc: 59087

Feng Shu <tumashu@163.com> writes:

>> I'll try this out, but in the future it would be useful to see the
>> contents of the variable `package-alist'.  This is all related to that
>> value.
>
> (cl-prettyprint package-alist)

[...]

>  (popon #s(package-desc popon (0 12) "\"Pop\" floating text \"on\" a window" ((emacs (25 1))) nil nil "/home/feng/.emacs.d/elpa-29/popon-0.12" ((:url . "https://codeberg.org/akib/emacs-popon") (:keywords "lisp" "extensions" "frames") (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:commit . "f57efe0abbe73a9c0e7f6953bce1eb81a2b37e7e")) t)
>         #s(package-desc popon (0 12) "\"Pop\" floating text \"on\" a window" ((emacs (25 1))) vc nil "/home/feng/.emacs.d/elpa-29/popon" ((:commit . "f57efe0abbe73a9c0e7f6953bce1eb81a2b37e7e") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:keywords "lisp" "extensions" "frames") (:url . "https://codeberg.org/akib/emacs-popon")) nil))

[...]

>  (corfu-terminal #s(package-desc corfu-terminal (0 5) "Corfu popup on terminal" ((emacs (26 1)) (corfu (0 24)) (popon (0 1))) vc nil "/home/feng/.emacs.d/elpa-29/corfu-terminal" ((:commit . "1a15a01e2e1464daadfa4973cb695802e5c23a25") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:keywords "convenience") (:url . "https://codeberg.org/akib/emacs-corfu-terminal")) nil)
>                  #s(package-desc corfu-terminal (0 5) "Corfu popup on terminal" ((emacs (26 1)) (corfu (0 24)) (popon (0 1))) nil nil "/home/feng/.emacs.d/elpa-29/corfu-terminal-0.5" ((:url . "https://codeberg.org/akib/emacs-corfu-terminal") (:keywords "convenience") (:maintainer "Akib Azmain Turja" . "akib@disroot.org") (:authors ("Akib Azmain Turja" . "akib@disroot.org")) (:commit . "1a15a01e2e1464daadfa4973cb695802e5c23a25")) t))

As I had assumed, "corfu-terminal" has a vc package in the cadr position
(as indicated by the "vc" after the dependency list), while
"popon" has a regular package, which confuses `package-vc-p'.

I will run a few experiments myself and report back if I have a solution.





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

end of thread, other threads:[~2022-11-19 10:52 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-07  2:33 bug#59087: 29.0.50; package-vc-update error Feng Shu
2022-11-14 11:32 ` Philip Kaludercic
2022-11-15  1:52   ` Feng Shu
2022-11-15  9:48     ` Philip Kaludercic
2022-11-16  0:46       ` Feng Shu
2022-11-16  8:20         ` Philip Kaludercic
2022-11-16  9:22           ` Feng Shu
2022-11-16  9:51             ` Philip Kaludercic
2022-11-16 12:03               ` Feng Shu
2022-11-16 12:20                 ` Philip Kaludercic
2022-11-16 12:01           ` Feng Shu
2022-11-16 12:18             ` Philip Kaludercic
2022-11-16 12:58               ` Feng Shu
2022-11-16 12:59                 ` Philip Kaludercic
2022-11-17  0:43                   ` Feng Shu
2022-11-17 15:54                     ` Philip Kaludercic
2022-11-18  0:43                       ` Feng Shu
2022-11-18  9:53                         ` Philip Kaludercic
2022-11-18 11:48                           ` Feng Shu
2022-11-18  3:31                       ` Feng Shu
2022-11-18  9:55                         ` Philip Kaludercic
2022-11-18 11:47                           ` Feng Shu
2022-11-18 11:52                           ` Feng Shu
2022-11-18 15:22                             ` Philip Kaludercic
2022-11-19  4:59                               ` Feng Shu
2022-11-19  7:28                                 ` Philip Kaludercic
2022-11-19 10:01                                   ` Feng Shu
2022-11-19 10:52                                     ` Philip Kaludercic
2022-11-19  5:06                               ` Feng Shu
2022-11-16 16:22               ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-16 16:29                 ` Philip Kaludercic
2022-11-17  1:44           ` Feng Shu
2022-11-15  2:08   ` Feng Shu
2022-11-15  5:51   ` Feng Shu
2022-11-19  5:10   ` Feng Shu

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.