unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Tramp and timers
Date: Sun, 13 Dec 2020 15:55:32 -0500	[thread overview]
Message-ID: <jwv1rftl96q.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87wnxl4knf.fsf@gmx.de> (Michael Albinus's message of "Sun, 13 Dec 2020 19:37:40 +0100")

>> Every connection should have a lock.  Whenever the connection is "in
>> use", we take the lock.
> That's how I have implemented it. The lock is kept per (connection)
> process object.

Great.

>> If they don't, then the risk getting `tramp-recursive-access`.
> In my current implementation, I have declared a new standard error
> 'remote-file-error'. I don't believe, that the term "tramp" shall be
> part of the name.  And I do plan to use it also for other internal error
> situations, that's why it shouldn't be restricted to
> "recursive-access".

Either way is fine by me, but of course we can have it both ways:

   (define-error 'tramp-recursive-access "Oops" 'remote-file-error)


-- Stefan




  reply	other threads:[~2020-12-13 20:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-11 16:58 Tramp and timers Michael Albinus
2020-12-13 17:43 ` Stefan Monnier
2020-12-13 18:37   ` Michael Albinus
2020-12-13 20:55     ` Stefan Monnier [this message]
2020-12-14  7:55       ` Michael Albinus

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=jwv1rftl96q.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --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).