From: Lars Ingebrigtsen <larsi@gnus.org>
To: Manuel Giraud <manuel@ledu-giraud.fr>
Cc: 55247@debbugs.gnu.org, Michael Albinus <michael.albinus@gmx.de>,
Jacob Faibussowitsch <jacob.fai@gmail.com>
Subject: bug#55247: [29.0.50; TRAMP] Tramp Always Thinks Buffer Changed On Disk After Edit -> Save
Date: Thu, 05 May 2022 16:42:36 +0200 [thread overview]
Message-ID: <87tua4niqr.fsf@gnus.org> (raw)
In-Reply-To: <8735hojbhn.fsf@elite.giraud> (Manuel Giraud's message of "Thu, 05 May 2022 16:32:52 +0200")
Manuel Giraud <manuel@ledu-giraud.fr> writes:
> I'm also affected by this rather annoying bug when editing a file over
> TRAMP. FWIW, I've just bisected it to this patch 47fe7a5983.
Sorry; I was testing with an Emacs that was a couple days old. With the
current trunk, I can indeed reproduce the problem. I'm also getting
further errors:
Debugger entered--Lisp error: (wrong-type-argument "number-or-marker-p nil")
signal(wrong-type-argument ("number-or-marker-p nil"))
tramp-error((tramp-file-name "ssh" nil nil "stories" nil "/tmp/foo" nil) wrong-type-argument "number-or-marker-p nil")
tramp-signal-hook-function(wrong-type-argument (number-or-marker-p nil))
tramp-sh-handle-write-region(nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo" nil)
apply(tramp-sh-handle-write-region (nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo" nil))
tramp-sh-file-name-handler(write-region nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo" nil)
apply(tramp-sh-file-name-handler write-region (nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo" nil))
tramp-file-name-handler(write-region nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo" nil)
write-region(nil nil "/ssh:stories:/tmp/foo" nil t "/ssh:stories:/tmp/foo")
basic-save-buffer-2()
basic-save-buffer-1()
basic-save-buffer(t)
save-buffer(1)
This is on Debian/bookworm writing to a different Debian/bookworm
machine, if that makes a difference.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-05-05 14:42 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-03 16:55 bug#55247: [29.0.50; TRAMP] Tramp Always Thinks Buffer Changed On Disk After Edit -> Save Jacob Faibussowitsch
2022-05-05 11:16 ` Lars Ingebrigtsen
2022-05-05 14:32 ` Manuel Giraud
2022-05-05 14:42 ` Lars Ingebrigtsen [this message]
2022-05-05 14:50 ` Jacob Faibussowitsch
2022-05-05 15:05 ` Michael Albinus
2022-05-06 8:43 ` Michael Albinus
2022-05-06 9:39 ` Manuel Giraud
2022-05-06 9:53 ` Michael Albinus
2022-05-06 10:08 ` Lars Ingebrigtsen
2022-05-06 11:17 ` Manuel Giraud
2022-05-06 11:22 ` Michael Albinus
2022-05-06 11:54 ` Manuel Giraud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tua4niqr.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=55247@debbugs.gnu.org \
--cc=jacob.fai@gmail.com \
--cc=manuel@ledu-giraud.fr \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).