From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#60011: 30.0.50; git commit from *vc-diff* does not work over tramp Date: Mon, 12 Dec 2022 11:31:48 -0500 Message-ID: Reply-To: sds@gnu.org Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13392"; mail-complaints-to="usenet@ciao.gmane.io" To: 60011@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 17:33:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4ljt-0003Jx-4L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 17:33:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4ljk-0004Pc-JO; Mon, 12 Dec 2022 11:33:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4ljj-0004PO-EA for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:33:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4lji-0004w9-VM for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4lji-0000XX-Lh for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2022 16:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60011 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16708627232053 (code B ref -1); Mon, 12 Dec 2022 16:33:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Dec 2022 16:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:53951 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4lik-0000X3-TU for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:32:03 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:37052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4lij-0000Wf-7C for submit@debbugs.gnu.org; Mon, 12 Dec 2022 11:32:02 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4lih-0003wj-D5 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 11:32:01 -0500 Original-Received: from mail-qt1-x82d.google.com ([2607:f8b0:4864:20::82d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4lid-0004ob-4j; Mon, 12 Dec 2022 11:31:58 -0500 Original-Received: by mail-qt1-x82d.google.com with SMTP id i20so2809860qtw.9; Mon, 12 Dec 2022 08:31:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to :from:sender:from:to:cc:subject:date:message-id:reply-to; bh=tTCw++GkXPODTWkXRIosVbbkLK14mxKyJSA/GmRiahA=; b=Ck/O7ezlmP+F06H8eTVKVNhcQZ5x7a9ru6b2PGeAQTCbPGMsPMc0WLrYNsCBWGJ4BF mNrO83K5GVs39Ez3cIzi4RMUEILUXJ67vBY3DXFjdFx/DwwXahZQRlZD5AFsRi/T+/xs LZx4kHoFkL/42c/H29Fv4coFE/GtJaKXGNIwUPeVKaHQTxZ6mysDmkVLiFnTmnbW3RXb NUhwp79oJKthW/o5YvrdR0Wo7O/OT25hjMVXOatP0Nom7r9qYarjsWMxi2eZjXhTQ6m6 l9fzQMRKmigMYQ0IEqcJGl7Jrdwjj/bTfsRSLA6Nwv6WkwIT9YDb6j98fHtaPQqrIyTh Jk4Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:reply-to:return-receipt-to:subject:to :from:sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tTCw++GkXPODTWkXRIosVbbkLK14mxKyJSA/GmRiahA=; b=4X19QWOo9cAYSHq5s1NHOk32o/OHzztaK6vM0yjnUp/4tYqeqHAUOX998bV4Pzm/1j hqZx9hiUHKcbh1nAactxLheQa75uL+hu1JY01GJWklP/aFw48duJHnf0jAqypZlmAJYl 3rEOLyUEEsz/S/1Lcr5+kSbZeU+n3bfEF1oCI7XakL2d6J6yv2rfwiAQ7gFqyZJssL6a fIqPyVIzMfquluY5KINHkLjUwfkdmJ7EAcbvR0B0iT8BMdOapmgAXisTH7J3hRrtTrll 27u6jRBFAptngB+cMdU/mHONEHpbIAfTXnjppikMV0jQkQqGSSlOmVT8Q754x42crMpw D2gw== X-Gm-Message-State: ANoB5pmam0QXf15h7aHHNOST6sMxOqwOZTFRBS2jk1E5a6dZbgCRcIoL fjubavbqn29VRq70tds2+ageHH61uA== X-Google-Smtp-Source: AA0mqf430YfbZamQgHdwNXn0FKBu3CtmvJfFn1qYuSETwXulew8z27nv6xpXZ8HmrIXUdedyT/gTMw== X-Received: by 2002:ac8:4d07:0:b0:3a7:ef7b:6aac with SMTP id w7-20020ac84d07000000b003a7ef7b6aacmr23052412qtv.11.1670862710734; Mon, 12 Dec 2022 08:31:50 -0800 (PST) Original-Received: from 3c22fb11fdab.ant.amazon.com (pool-72-69-2-113.nycmny.fios.verizon.net. [72.69.2.113]) by smtp.gmail.com with ESMTPSA id a13-20020ac84d8d000000b003972790deb9sm6025233qtw.84.2022.12.12.08.31.49 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Dec 2022 08:31:50 -0800 (PST) X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. Received-SPF: pass client-ip=2607:f8b0:4864:20::82d; envelope-from=sam.steingold@gmail.com; helo=mail-qt1-x82d.google.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250717 Archived-At: I run Emacs locally (macosx laptop) and edit remote (Amazon Linux "cloud desktop") files using tramp (scp). I can commit files using vc/git just fine. However, when I edit *vc-diff* and hit C-v v v (vc-next-action), and then edit the commit message abd hit C-c C-c, I get this error: --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (error "Failed (status 128): git --no-pager apply --cached...") signal(error ("Failed (status 128): git --no-pager apply --cached...")) error("Failed (%s): %s" "status 128" "git --no-pager apply --cached /var/folders/20/__3t...") vc-do-command("*vc*" 0 "git" "/var/folders/20/__3tt7vx6wg51x8xvqdc1cmw0000gr/T/g..." "--no-pager" "apply" "--cached") apply(vc-do-command "*vc*" 0 "git" "/var/folders/20/__3tt7vx6wg51x8xvqdc1cmw0000gr/T/g..." ("--no-pager" "apply" "--cached")) vc-git-command(nil 0 "/var/folders/20/__3tt7vx6wg51x8xvqdc1cmw0000gr/T/g..." "apply" "--cached") vc-git-checkin(nil #("Summary: TEE: split pairs_mx into make_da2mt_mx an..." ... vc-git-checkin-patch(#("diff --git a/TEE/lucindex.py b/TEE/lucindex.py\nind..." ... apply(vc-git-checkin-patch (#("diff --git a/TEE/lucindex.py b/TEE/lucindex.py\nind..." ... vc-call-backend(Git checkin-patch #("diff --git a/TEE/lucindex.py b/TEE/lucindex.py\nind..." ... #f(compiled-function (files comment) #) ... vc-finish-logentry() funcall-interactively(vc-finish-logentry) call-interactively(vc-finish-logentry) log-edit-done() funcall-interactively(log-edit-done) call-interactively(log-edit-done nil nil) command-execute(log-edit-done) --8<---------------cut here---------------end--------------->8--- and *vc* says --8<---------------cut here---------------start------------->8--- error: can't open patch '/var/folders/20/__3tt7vx6wg51x8xvqdc1cmw0000gr/T/git-patchAWaImM': No such file or directory --8<---------------cut here---------------end--------------->8--- this is a _local_ directory - it exists on the laptop but not on the "cloud desktop". In GNU Emacs 30.0.50 (build 2, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.1 (Build 21G217)) of 2022-12-12 built on 3c22fb11fdab.ant.amazon.com Repository revision: 5325d815af43a36ea8571851e272c3d39bc19252 Repository branch: master Windowing system distributor 'Apple', version 10.3.2113 System Description: macOS 12.6.1 Configured using: 'configure --with-imagemagick --with-mailutils --with-ns PKG_CONFIG_PATH=' Configured features: ACL GIF GMP GNUTLS IMAGEMAGICK JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XIM ZLIB Important settings: value of $LC_MESSAGES: C value of $LANG: C locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: shell-dirtrack-mode: t bug-reference-prog-mode: t pyvenv-mode: t global-edit-server-edit-mode: t server-mode: t winner-mode: t which-function-mode: t url-handler-mode: t desktop-save-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t column-number-mode: t line-number-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow sort bbdb-message mailalias cookie1 mail-extr gnus-msg emacsbug cl-print debug backtrace log-edit vc-src vc-sccs vc-svn vc-cvs vc-rcs log-view pcvs-util smerge-mode diff misearch multi-isearch skeleton dabbrev url-http url-auth url-gw nsm ein-jupyter ein-dev ein-notebook ein-python-send ein-traceback ein-pytools ein-pager ein-completer ein-notification ein-scratchsheet ein-worksheet poly-ein quail polymode poly-lock polymode-base polymode-weave polymode-export polymode-compat polymode-methods polymode-core polymode-classes eieio-custom eieio-base color ein-kill-ring ein-cell ein-shared-output ein-output-area ein-kernelinfo ein-kernel ein-ipdb ein-events ein-websocket websocket bindat ein-file ein-node ein-notebooklist shortdoc ein-contents-api ein-query ein-log ein-classes ein-core request autorevert anaphora ein-utils deferred dash cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ein display-line-numbers add-log vc-hg vc-bzr tramp-cache time-stamp tramp-sh tramp tramp-loaddefs trampver tramp-integration tramp-compat shell ls-lisp remember score-mode conf-mode bug-reference flyspell ispell display-fill-column-indicator org-element org-persist org-id org-refile avl-tree oc-basic ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail mailcap 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 gmm-utils mailheader gnus-win ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs find-func cal-x view cal-china cal-bahai cal-islam holidays holiday-loaddefs bbdb-anniv cal-iso cal-hebrew lunar cal-julian solar cal-dst appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs org-version org-compat org-macs format-spec vc-dir ewoc vc sh-script smie executable vc-git vc-dispatcher company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-clang company-template company-cmake company-bbdb yasnippet-snippets cl-extra yasnippet flymake-proc flymake thingatpt company-capf company help-fns radix-tree help-mode elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util cus-start elpy-shell elpy-profile elpy-django s elpy-refactor diff-mode easy-mmode ido hideshow grep compile files-x etags fileloop generator xref python rx project compat compat-macs treesit comint ansi-osc ansi-color dired-aux midnight dired dired-loaddefs cus-edit pp warnings icons gnus nnheader gnus-util text-property-search time-date mail-utils range mm-util mail-prsvr wid-edit bbdb-mua bbdb-com crm mailabbrev bbdb bbdb-site timezone modus-vivendi-theme modus-themes pcase edit-server advice server winner ring which-func imenu 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 help-at-pt desktop frameset cl-loaddefs cl-lib cus-load info fb2-reader-autoloads async-autoloads f-autoloads ein-autoloads bbdb-autoloads yaml-mode-autoloads with-editor-autoloads dash-autoloads request-autoloads yasnippet-snippets-autoloads compat-autoloads websearch-autoloads elpy-autoloads s-autoloads company-autoloads polymode-autoloads edit-server-autoloads markdown-mode-autoloads rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win 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 kqueue cocoa ns lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 691472 82991) (symbols 48 40963 6) (strings 32 262476 9487) (string-bytes 1 7246730) (vectors 16 110814) (vector-slots 8 2207864 131822) (floats 8 1153 347) (intervals 56 17739 877) (buffers 976 105)) -- Sam Steingold (https://aphar.dreamwidth.org/) on darwin Ns 10.3.2113 https://lastingimpactpsychology.com https://steingoldpsychology.com https://iris.org.il https://fairforall.org http://think-israel.org A bullet affects the way the brain functions even when it hits the butt.