unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: Le Wang <l26wang@gmail.com>, 17361@debbugs.gnu.org
Subject: bug#17361: Tramp does not save history across sessions.
Date: Sun, 10 Oct 2021 16:01:47 -0700	[thread overview]
Message-ID: <CADwFkmkYecQggbjoTnWqNnFpgZoovBN+GVXu=DhT9YNJf-m8zg@mail.gmail.com> (raw)
In-Reply-To: <87bnvltvnl.fsf@gmx.de> (Michael Albinus's message of "Mon, 28 Apr 2014 15:45:34 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

> Le Wang <l26wang@gmail.com> writes:
>
>> Tramp installs its own sentinel -- tramp-process-sentinel -- over
>> shell-mode's shell-write-history-on-exit.  What's the way to write to
>> history file when the process ends without using defadvice?
>>
>> Could the default behave better?
>
> The problem seems to be more general. Emacs does not support to have
> several process sentinels for a given process. If several sentinels are
> declared for a process by ?`set-process-sentinel', they compete for
> being attached to the process. And the last one wins.
>
> So we need to support several sentinels per process. Maybe this exist
> already, but I'm not aware of such a mechanism.

(That was 7.5 years ago.)

What followed was a discussion about how Tramp should use 'add-function'
instead of 'set-process-sentinel', IIUC.  Is this still an issue, or has
the situation changed since?





  parent reply	other threads:[~2021-10-10 23:01 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 13:16 bug#17361: Tramp does not save history across sessions Le Wang
2014-04-28 13:45 ` Michael Albinus
2014-04-28 15:09   ` Stefan Monnier
2014-04-28 18:01     ` Michael Albinus
2014-04-29  4:19       ` Stefan Monnier
2014-04-29  7:32         ` Michael Albinus
2014-04-29  7:39           ` Daimrod
2014-04-29  7:59             ` Michael Albinus
2014-04-29  8:34               ` Daimrod
2014-04-29 13:38             ` Stefan Monnier
2014-04-29 13:42           ` Stefan Monnier
2014-04-29 13:52             ` Michael Albinus
2014-04-29 14:30               ` Stefan Monnier
2014-04-29 14:42                 ` Michael Albinus
2014-04-29 15:33                   ` Stefan Monnier
2014-04-29 18:09                     ` Michael Albinus
2014-04-29 19:40                       ` Stefan Monnier
2014-04-29 21:24                         ` Michael Albinus
2014-04-29 22:08                           ` Stefan Monnier
2014-05-29 16:21                             ` Glenn Morris
2014-04-28 15:26   ` Eli Zaretskii
2014-04-28 18:05     ` Michael Albinus
2014-04-28 18:15       ` Eli Zaretskii
2014-04-28 20:20         ` Stefan Monnier
2021-10-10 23:01   ` Stefan Kangas [this message]
2021-10-11 15:41     ` 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='CADwFkmkYecQggbjoTnWqNnFpgZoovBN+GVXu=DhT9YNJf-m8zg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=17361@debbugs.gnu.org \
    --cc=l26wang@gmail.com \
    --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).