GNU logs - #17361, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Le Wang <l26wang@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 13:17:02 +0000
Resent-Message-ID: <handler.17361.B.13986909908757 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 17361 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.13986909908757
          (code B ref -1); Mon, 28 Apr 2014 13:17:02 +0000
Received: (at submit) by debbugs.gnu.org; 28 Apr 2014 13:16:30 +0000
Received: from localhost ([127.0.0.1]:43684 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WelQ5-0002HA-Vj
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:16:30 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57948)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <l26wang@HIDDEN>) id 1WelQ3-0002Gt-BE
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:16:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <l26wang@HIDDEN>) id 1WelPx-00036I-GU
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:16:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45912)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <l26wang@HIDDEN>) id 1WelPx-00036B-DH
 for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:16:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59662)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <l26wang@HIDDEN>) id 1WelPt-0002i9-Lf
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2014 09:16:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <l26wang@HIDDEN>) id 1WelPs-00035T-LC
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2014 09:16:17 -0400
Received: from mail-wi0-x22c.google.com ([2a00:1450:400c:c05::22c]:50870)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <l26wang@HIDDEN>) id 1WelPs-00034F-EX
 for bug-gnu-emacs@HIDDEN; Mon, 28 Apr 2014 09:16:16 -0400
Received: by mail-wi0-f172.google.com with SMTP id hi2so5651317wib.11
 for <bug-gnu-emacs@HIDDEN>; Mon, 28 Apr 2014 06:16:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:date:message-id:subject:from:to:content-type;
 bh=fCohoTXvV98BI1eDDeZpvXgSdWksUMNvz8dyen8oUjw=;
 b=JWoBfZQBb0hrubexKGtAosuv6llc8T4U5O3eWdptkXfB+odS7/lAcHrerQ164A5H4r
 +gQZDjo/CpR24L4oqTPb1gdTwyyaOZfB4GVfVLwuJLZMDJDut5QMLGXw1+zus1eyCCG+
 +LMVXUghuTKbspaM+9lMtQyJO1+wNxWsHd0UDuMWGtmD3M6UYy3Yqll3RJrL5j4TLmWB
 Y0prwDU2AVwLAS5fVB7rqCVLtxrkuv3TnniEu48WC4C0f0nf8zXPh0SEyrldQkoIGnVv
 MpnjYCHoAdNoyNjn+PFAFs+Cjbq5jRi0uZDCrPhwuR9ZVYzW61nkEtzbnGzG8wL+qFji
 EjSw==
MIME-Version: 1.0
X-Received: by 10.180.8.66 with SMTP id p2mr15484755wia.37.1398690974810; Mon,
 28 Apr 2014 06:16:14 -0700 (PDT)
Received: by 10.216.157.200 with HTTP; Mon, 28 Apr 2014 06:16:14 -0700 (PDT)
Date: Mon, 28 Apr 2014 09:16:14 -0400
Message-ID: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
From: Le Wang <l26wang@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

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?


-- 
Le




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Le Wang <l26wang@HIDDEN>
Subject: bug#17361: Acknowledgement (Tramp does not save history across
 sessions.)
Message-ID: <handler.17361.B.13986909908757.ack <at> debbugs.gnu.org>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
X-Gnu-PR-Message: ack 17361
X-Gnu-PR-Package: emacs
Reply-To: 17361 <at> debbugs.gnu.org
Date: Mon, 28 Apr 2014 13:17:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 17361 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
17361: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17361
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 13:46:02 +0000
Resent-Message-ID: <handler.17361.B17361.139869274511789 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Le Wang <l26wang@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139869274511789
          (code B ref 17361); Mon, 28 Apr 2014 13:46:02 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 13:45:45 +0000
Received: from localhost ([127.0.0.1]:43718 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WelsO-000342-RH
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:45:45 -0400
Received: from mout.gmx.net ([212.227.17.21]:60574)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1WelsM-00033n-Um
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 09:45:43 -0400
Received: from detlef.gmx.de ([87.146.61.136]) by mail.gmx.com (mrgmx002) with
 ESMTPSA (Nemesis) id 0MMT1y-1WWUww25XS-008I58;
 Mon, 28 Apr 2014 15:45:36 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
Date: Mon, 28 Apr 2014 15:45:34 +0200
In-Reply-To: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 (Le Wang's message of "Mon, 28 Apr 2014 09:16:14 -0400")
Message-ID: <87bnvltvnl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:RKQWQha3jAlGfdSO36e4vm3H8tZB+Ai/DKrRjqKaDzICeM9Idtd
 J5cl0ufL5YLcMfSRPAXyw4DSzUcf+pvVcgBCGJn9xzJwpr3R98qP6hcPdyjl91c9WAqxqCK
 RD8IZnCGxAT0QYbTwGMjMnIAXtoxg9rAaLwjx/CwxkQsgaRWGOjyUa0NML2fNhGgAw/4nah
 eLjyfBBDUgoCYNOk9IhIA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Le Wang <l26wang@HIDDEN> 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.

Stefan?

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 15:10:02 +0000
Resent-Message-ID: <handler.17361.B17361.139869777925415 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139869777925415
          (code B ref 17361); Mon, 28 Apr 2014 15:10:02 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 15:09:39 +0000
Received: from localhost ([127.0.0.1]:44006 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WenBa-0006bq-TI
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 11:09:39 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:48464)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WenBY-0006bi-FN
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 11:09:37 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3SF9ZXY020110;
 Mon, 28 Apr 2014 11:09:35 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 6A485AE0F1; Mon, 28 Apr 2014 11:09:34 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN>
Date: Mon, 28 Apr 2014 11:09:34 -0400
In-Reply-To: <87bnvltvnl.fsf@HIDDEN> (Michael Albinus's message of "Mon, 28
 Apr 2014 15:45:34 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4925=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4925> : inlines <780> : streams
 <1168411> : uri <1742832>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

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

Not true any more: Emacs-24.4's `add-function' was invented in response
to this specific request (or maybe it was for set-process-filter, but
the point stands).


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 15:27:02 +0000
Resent-Message-ID: <handler.17361.B17361.139869881027216 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, l26wang@HIDDEN
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139869881027216
          (code B ref 17361); Mon, 28 Apr 2014 15:27:02 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 15:26:50 +0000
Received: from localhost ([127.0.0.1]:44019 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WenSD-00074u-9K
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 11:26:49 -0400
Received: from mtaout29.012.net.il ([80.179.55.185]:40001)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1WenSA-00074d-WC
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 11:26:48 -0400
Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il
 (HyperSendmail v2007.08) id <0N4Q00L00YHCXG00@HIDDEN> for
 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 18:28:00 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N4Q00JOIYYOIB40@HIDDEN>; Mon, 28 Apr 2014 18:28:00 +0300 (IDT)
Date: Mon, 28 Apr 2014 18:26:45 +0300
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87bnvltvnl.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <83ha5do4p6.fsf@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: Michael Albinus <michael.albinus@HIDDEN>
> Date: Mon, 28 Apr 2014 15:45:34 +0200
> Cc: 17361 <at> debbugs.gnu.org
> 
> So we need to support several sentinels per process.

Or a protocol: if you install a sentinel, and another one already
exists, call it after yours.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
In-Reply-To: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 18:03:02 +0000
Resent-Message-ID: <handler.17361.B17361.139870812712897 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139870812712897
          (code B ref 17361); Mon, 28 Apr 2014 18:03:02 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 18:02:07 +0000
Received: from localhost ([127.0.0.1]:44085 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WepsU-0003Lw-Sv
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:02:07 -0400
Received: from mout.gmx.net ([212.227.15.18]:51841)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1WepsS-0003LI-B4
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:02:05 -0400
Received: from detlef.gmx.de ([87.146.61.136]) by mail.gmx.com (mrgmx002) with
 ESMTPSA (Nemesis) id 0Lck9X-1XLLZS1oG7-00k5ZS;
 Mon, 28 Apr 2014 20:01:57 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
Date: Mon, 28 Apr 2014 20:01:54 +0200
Message-ID: <87k3a98h9p.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:RPZw/OC2FHJ8UT9eQzkdNscvCPUO/RF1hcrSIsVbyrlNQjXE1ye
 PRK9ZDGBfPRW8vpE3q5Iyp3gHmCodxuEO0d/sNrljhHaTPrtz2Rn++MBVeqmetRIuC63gf0
 kUPHKGUYATesQMOG6wHVD+iMX0dMNKnZXhCDE/YhXtvs72VPNj+HqzgoBeeyxo5WbNvmpgZ
 kSyCmyiNsDFWoZeMZCJQA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

> Not true any more: Emacs-24.4's `add-function' was invented in response
> to this specific request (or maybe it was for set-process-filter, but
> the point stands).

Ah, thanks. I wasn't aware of this use case. However, shouldn't this be
propagated further? The Elisp info pages do not mention this use case,
when speaking about `set-process-filter' or `set-process-sentinel'.

Anyway, I'll try to rewrite Tramp's process filters and sentinels next
days. As usual, the crucial point will be backward compatibility ...

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 18:06:01 +0000
Resent-Message-ID: <handler.17361.B17361.139870832813306 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, l26wang@HIDDEN
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139870832813306
          (code B ref 17361); Mon, 28 Apr 2014 18:06:01 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 18:05:28 +0000
Received: from localhost ([127.0.0.1]:44089 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wepvj-0003SX-I8
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:05:27 -0400
Received: from mout.gmx.net ([212.227.15.15]:55999)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1Wepvh-0003SA-5z
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:05:25 -0400
Received: from detlef.gmx.de ([87.146.61.136]) by mail.gmx.com (mrgmx002) with
 ESMTPSA (Nemesis) id 0LoE4f-1X7Y2A0ExN-00gFVg;
 Mon, 28 Apr 2014 20:05:19 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <83ha5do4p6.fsf@HIDDEN>
Date: Mon, 28 Apr 2014 20:05:17 +0200
In-Reply-To: <83ha5do4p6.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 28 Apr
 2014 18:26:45 +0300")
Message-ID: <87fvkx8h42.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:TCep9STWuOMad1n9bQWj1TYk+9TqWnp5L1e4tNUzht/O4NeVt3Z
 tca3xGld09l9kn75AluLutCb76bclAaGyYwPaB2rgaWelc6TK9R6kZPXmtD5oxLRKxtRgoR
 eJHe75HIqZcUqMZYNsZxmsG/MNLswrrKj0uRQfaVNcC7T4pP2GPb87WCsJh3rwdwtNrCr8S
 Ql4FEZkpQM0rFSehVEf7Q==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Eli Zaretskii <eliz@HIDDEN> writes:

>> So we need to support several sentinels per process.
>
> Or a protocol: if you install a sentinel, and another one already
> exists, call it after yours.

Yes. But all of the sentinels (or filters) must play the same game
then. When Tramp's sentinel is the first one being activated, it
shouldn't be thrown away by a `set-process-sentinel' call from another
library. We don't know in advance, in which order sentinels are
installed for a given process.

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 18:16:01 +0000
Resent-Message-ID: <handler.17361.B17361.139870894214543 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, l26wang@HIDDEN
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139870894214543
          (code B ref 17361); Mon, 28 Apr 2014 18:16:01 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 18:15:42 +0000
Received: from localhost ([127.0.0.1]:44097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Weq5d-0003mS-DZ
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:15:42 -0400
Received: from mtaout28.012.net.il ([80.179.55.184]:51038)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <eliz@HIDDEN>) id 1Weq5Z-0003m7-8S
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 14:15:38 -0400
Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il
 (HyperSendmail v2007.08) id <0N4R00B006BRJI00@HIDDEN> for
 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 21:14:14 +0300 (IDT)
Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il
 (HyperSendmail v2007.08) with ESMTPA id
 <0N4R009YP6NQX420@HIDDEN>; Mon, 28 Apr 2014 21:14:14 +0300 (IDT)
Date: Mon, 28 Apr 2014 21:15:36 +0300
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <87fvkx8h42.fsf@HIDDEN>
X-012-Sender: halo1@HIDDEN
Message-id: <8338gxnwvr.fsf@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <83ha5do4p6.fsf@HIDDEN> <87fvkx8h42.fsf@HIDDEN>
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

> From: Michael Albinus <michael.albinus@HIDDEN>
> Cc: l26wang@HIDDEN,  17361 <at> debbugs.gnu.org
> Date: Mon, 28 Apr 2014 20:05:17 +0200
> 
> Eli Zaretskii <eliz@HIDDEN> writes:
> 
> >> So we need to support several sentinels per process.
> >
> > Or a protocol: if you install a sentinel, and another one already
> > exists, call it after yours.
> 
> Yes. But all of the sentinels (or filters) must play the same game
> then.

Indeed, the protocol should be universally enforced.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 28 Apr 2014 20:21:01 +0000
Resent-Message-ID: <handler.17361.B17361.139871641529524 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Michael Albinus <michael.albinus@HIDDEN>, l26wang@HIDDEN
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139871641529524
          (code B ref 17361); Mon, 28 Apr 2014 20:21:01 +0000
Received: (at 17361) by debbugs.gnu.org; 28 Apr 2014 20:20:15 +0000
Received: from localhost ([127.0.0.1]:44146 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wes2A-0007g8-NT
	for submit <at> debbugs.gnu.org; Mon, 28 Apr 2014 16:20:14 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:51145)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1Wes27-0007fz-Pv
 for 17361 <at> debbugs.gnu.org; Mon, 28 Apr 2014 16:20:12 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3SKKAAf007642;
 Mon, 28 Apr 2014 16:20:10 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 1B2B2AE0F1; Mon, 28 Apr 2014 16:20:08 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvbnvlw6jj.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <83ha5do4p6.fsf@HIDDEN>
 <87fvkx8h42.fsf@HIDDEN> <8338gxnwvr.fsf@HIDDEN>
Date: Mon, 28 Apr 2014 16:20:08 -0400
In-Reply-To: <8338gxnwvr.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 28 Apr
 2014 21:15:36 +0300")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4925=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4925> : inlines <784> : streams
 <1168601> : uri <1743032>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

>> > Or a protocol: if you install a sentinel, and another one already
>> > exists, call it after yours.
>> Yes. But all of the sentinels (or filters) must play the same game
>> then.
> Indeed, the protocol should be universally enforced.

AFAIK add-function does that.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 04:20:02 +0000
Resent-Message-ID: <handler.17361.B17361.139874518620710 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139874518620710
          (code B ref 17361); Tue, 29 Apr 2014 04:20:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 04:19:46 +0000
Received: from localhost ([127.0.0.1]:44292 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WezWE-0005Ny-2W
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 00:19:46 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:4517)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WezWC-0005Nd-Dl
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 00:19:44 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArYGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA0CYEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE
X-IPAS-Result: ArYGAIDvNVNMCqOU/2dsb2JhbABZgwaDSsA0CYEXF3SCJQEBAQECAVYjBQsLNBIUGA0kiAQI0hkXjnoHhDgBA6kZgWqDTCE
X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="59338853"
Received: from 76-10-163-148.dsl.teksavvy.com (HELO ceviche.home)
 ([76.10.163.148])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 29 Apr 2014 00:19:38 -0400
Received: by ceviche.home (Postfix, from userid 20848)
 id A6CDD66094; Tue, 29 Apr 2014 00:19:29 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 00:19:29 -0400
In-Reply-To: <87k3a98h9p.fsf@HIDDEN> (Michael Albinus's message of "Mon, 28
 Apr 2014 20:01:54 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

> Ah, thanks. I wasn't aware of this use case. However, shouldn't this be
> propagated further? The Elisp info pages do not mention this use case,
> when speaking about `set-process-filter' or `set-process-sentinel'.

I added some advertisement for add-function in those sections, thanks.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 07:33:07 +0000
Resent-Message-ID: <handler.17361.B17361.139875675612573 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139875675612573
          (code B ref 17361); Tue, 29 Apr 2014 07:33:07 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 07:32:36 +0000
Received: from localhost ([127.0.0.1]:44366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf2Wp-0003Gi-2O
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:32:35 -0400
Received: from mout.gmx.net ([212.227.15.18]:62083)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1Wf2Wj-0003GN-La
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:32:32 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx101) with
 ESMTPSA (Nemesis) id 0LiY3U-1XB4xO22Iu-00ch1I;
 Tue, 29 Apr 2014 09:32:22 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
Date: Tue, 29 Apr 2014 09:32:19 +0200
In-Reply-To: <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 00:19:29 -0400")
Message-ID: <8738gwr3p8.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:sj2oHsQpgvYzAEWFTJuSvZH0FbEVa4kN6fV8DTESfzjS+vWnp7z
 jtactilFn3ge/bVeNCstvxkj6XF7dqSp1WECcxaHoWAhOTbehlsnDxDnD7qiyRdAdILGLX/
 gzwEM53sCslhEXV2dwN4MstSieVJu3n5L70+EilCKIWFa37oXEq2ryE6XvO7lZNz3HP1MzD
 j4czlkg1Bt5BOsZG25KfA==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> Ah, thanks. I wasn't aware of this use case. However, shouldn't this be
>> propagated further? The Elisp info pages do not mention this use case,
>> when speaking about `set-process-filter' or `set-process-sentinel'.
>
> I added some advertisement for add-function in those sections, thanks.

Reading your text, I wonder how one should implement this. Usually, one
doesn't know which other library intends to set a filter or a process.

In stock Emacs, there are 43 files with calls of `set-process-filter',
and 53 files with calls of `set-process-sentinel'. In the elpa branch,
there are 4/4 additional such files. All those places must be adapted,
checking whether there could be several filters or sentinels.

Wouldn't it be more consistent to modify `set-process-filter' and
=C2=B4set-process-sentinel' to take care, when several filters or sentinels
are added to a given process? Both functions could be equipped with an
optional argument WHERE, which has the similar meaning as in
`add-function'. Maybe just :before, :after and :replace shall be
allowed, and one of them (:after?) could be the default.

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Daimrod <daimrod@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 07:40:02 +0000
Resent-Message-ID: <handler.17361.B.139875718113472 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 17361 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.139875718113472
          (code B ref -1); Tue, 29 Apr 2014 07:40:02 +0000
Received: (at submit) by debbugs.gnu.org; 29 Apr 2014 07:39:41 +0000
Received: from localhost ([127.0.0.1]:44374 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf2df-0003VD-Qq
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:39:40 -0400
Received: from eggs.gnu.org ([208.118.235.92]:59914)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dc-0003Uw-GB
 for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:39:37 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dS-0004Ce-MX
 for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:39:31 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:46281)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dS-0004Ca-Jk
 for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 03:39:26 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:33386)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dN-0004id-SN
 for bug-gnu-emacs@HIDDEN; Tue, 29 Apr 2014 03:39:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dJ-0004Bz-9l
 for bug-gnu-emacs@HIDDEN; Tue, 29 Apr 2014 03:39:21 -0400
Received: from mail-pb0-x236.google.com ([2607:f8b0:400e:c01::236]:44518)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daimrod@HIDDEN>) id 1Wf2dJ-0004Bq-2b
 for bug-gnu-emacs@HIDDEN; Tue, 29 Apr 2014 03:39:17 -0400
Received: by mail-pb0-f54.google.com with SMTP id rp16so3403497pbb.27
 for <bug-gnu-emacs@HIDDEN>; Tue, 29 Apr 2014 00:39:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version:content-type:content-transfer-encoding;
 bh=wj0XBSknRVnBXKB9otl0mU18wj928ZByXL4Ma6DVzyM=;
 b=kkauX2mEItz+6a+7QUcgGY02XSQM0HjolqR84eijGHKwln+8aaBgFgdt1fPLNG/EiV
 ZPBifhgEsMEAT3NZseoQBUrrDSMdgm1eetDEiJgMZZMDegSL1zy23Jhd1Wqy8AkR0oG1
 JSzMhQicn1a0jkvR/QMNUASy/9QYG5SIm322KaMhxVf99a50TMprzARKW6Z7Zn8z1wm3
 AUvLR0pjahT6L7EKnhB0p2gusBpjyfjUD2SKTlrURVa7/0LYqhchDFOoVqq/Sc8XFDUr
 8DmxGTpIAEXlSEWgzBSpR5BJgs9+cDLjpHnsbPn8vBzpFaRoS5Trx8VQulU4FuDn3Vso
 7QCA==
X-Received: by 10.66.231.40 with SMTP id td8mr30704999pac.103.1398757155585;
 Tue, 29 Apr 2014 00:39:15 -0700 (PDT)
Received: from localhost (i118-21-141-133.s30.a048.ap.plala.or.jp.
 [118.21.141.133])
 by mx.google.com with ESMTPSA id yx3sm39821768pbb.6.2014.04.29.00.39.13
 for <multiple recipients>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 29 Apr 2014 00:39:14 -0700 (PDT)
From: Daimrod <daimrod@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 16:39:11 +0900
In-Reply-To: <8738gwr3p8.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 09:32:19 +0200")
Message-ID: <8761lsh9eo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Stefan Monnier <monnier@HIDDEN> writes:
>
>>> Ah, thanks. I wasn't aware of this use case. However, shouldn't this be
>>> propagated further? The Elisp info pages do not mention this use case,
>>> when speaking about `set-process-filter' or `set-process-sentinel'.
>>
>> I added some advertisement for add-function in those sections, thanks.
>
> Reading your text, I wonder how one should implement this. Usually, one
> doesn't know which other library intends to set a filter or a process.

I was thinking about the same thing.

> In stock Emacs, there are 43 files with calls of `set-process-filter',
> and 53 files with calls of `set-process-sentinel'. In the elpa branch,
> there are 4/4 additional such files. All those places must be adapted,
> checking whether there could be several filters or sentinels.
>
> Wouldn't it be more consistent to modify `set-process-filter' and
> =C2=B4set-process-sentinel' to take care, when several filters or sentine=
ls
> are added to a given process? Both functions could be equipped with an
> optional argument WHERE, which has the similar meaning as in
> `add-function'. Maybe just :before, :after and :replace shall be
> allowed, and one of them (:after?) could be the default.

What about having a default sentinel/filter for all process that does
nothing (just a placeholder)?

Then instead of using `set-process-filter' one could use
(add-function :whatever (process-filter process) ...)

--=20
Daimrod/Greg




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 08:01:01 +0000
Resent-Message-ID: <handler.17361.B17361.139875841216042 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Daimrod <daimrod@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139875841216042
          (code B ref 17361); Tue, 29 Apr 2014 08:01:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 08:00:12 +0000
Received: from localhost ([127.0.0.1]:44379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf2xX-0004Ab-Ek
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 04:00:12 -0400
Received: from mout.gmx.net ([212.227.17.21]:56487)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1Wf2xS-00048k-BP
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 04:00:08 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx103) with
 ESMTPSA (Nemesis) id 0MJSuF-1Wc0gO2p9X-0038Kz;
 Tue, 29 Apr 2014 10:00:00 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <8761lsh9eo.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 09:59:57 +0200
In-Reply-To: <8761lsh9eo.fsf@HIDDEN> (daimrod@HIDDEN's message of
 "Tue, 29 Apr 2014 16:39:11 +0900")
Message-ID: <87y4yopnuq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K0:OzHZtl5DBm/wSbGX4qcI+h++HxrSVjP/u0F/l7feJCrLjfvLdEM
 8PtZCnAKyL96cEazxE9Pb+ZZSXZDqprZHo2ebzso45qqKdUUtIoacf2XmkFJ/P0obLi8bR2
 E2Su68OpQkrNq7modVaDeKITw+Zr9RwhcNWVlExYNxuOJfeRJ93GooSTxLP9Y14ITo/85Sj
 8Jlz0lGbDF7zKYyr3Z8/Q==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Daimrod <daimrod@HIDDEN> writes:

>> Wouldn't it be more consistent to modify `set-process-filter' and
>> =C2=B4set-process-sentinel' to take care, when several filters or sentin=
els
>> are added to a given process? Both functions could be equipped with an
>> optional argument WHERE, which has the similar meaning as in
>> `add-function'. Maybe just :before, :after and :replace shall be
>> allowed, and one of them (:after?) could be the default.
>
> What about having a default sentinel/filter for all process that does
> nothing (just a placeholder)?

There are already `internal-default-process-filter' and
`internal-default-process-sentinel'. They must be replaced, of course,
when a new filter/sentinel is added.

> Then instead of using `set-process-filter' one could use
> (add-function :whatever (process-filter process) ...)

Nope. One would need to change all places those functions are called. I
believe it is simpler to modify `set-process-filter' and
`set-process-sentinel'.

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Daimrod <daimrod@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 08:35:01 +0000
Resent-Message-ID: <handler.17361.B17361.139876049420155 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 17361 <at> debbugs.gnu.org
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139876049420155
          (code B ref 17361); Tue, 29 Apr 2014 08:35:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 08:34:54 +0000
Received: from localhost ([127.0.0.1]:44406 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf3V8-0005F1-7L
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 04:34:54 -0400
Received: from mail-pa0-f42.google.com ([209.85.220.42]:48685)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <daimrod@HIDDEN>) id 1Wf3V5-0005Ek-Kv
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 04:34:52 -0400
Received: by mail-pa0-f42.google.com with SMTP id bj1so3539456pad.15
 for <17361 <at> debbugs.gnu.org>; Tue, 29 Apr 2014 01:34:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=from:to:subject:references:date:in-reply-to:message-id:user-agent
 :mime-version:content-type:content-transfer-encoding;
 bh=CsOUi4vd9imKCOGmOJDI69nK6ELFVZT9R62Ny+NBI0Q=;
 b=vsi/OjHpgff8XTCw83R/nQwmk0cbAQ2HEAd+NyAw76MEFl3EJLo/uj/zOmuH9aviYf
 tplfyVYVeBkeZxes+5uBCj8zWiwT6paOn2hfHkIgBiOxNdWX8e4wWTopHUzWSa6tNjia
 GfyzMTO64I8/E7dXwVAF8rjr5MduxLguoneDrl4JbCrK24jW/J1lkPWwcJsjT1RM1TcE
 j6mjEpbfhmwaYsapjk/MOsRWvcgIbiGHaEhigmwdJLTq9S9+gM4LeAf9n0X8IiztuxVJ
 xnyXB+byT9SuKEK9WEWIeOJCmO7GKOEM+sW/co4Zp0lz6XhNeAoV9nkRWL4gSUx0KLqe
 NRmg==
X-Received: by 10.66.144.102 with SMTP id sl6mr30769607pab.96.1398760485767;
 Tue, 29 Apr 2014 01:34:45 -0700 (PDT)
Received: from localhost (i118-21-141-133.s30.a048.ap.plala.or.jp.
 [118.21.141.133])
 by mx.google.com with ESMTPSA id yv5sm40120865pbb.49.2014.04.29.01.34.43
 for <17361 <at> debbugs.gnu.org>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Tue, 29 Apr 2014 01:34:44 -0700 (PDT)
From: Daimrod <daimrod@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <8761lsh9eo.fsf@HIDDEN>
 <87y4yopnuq.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 17:34:41 +0900
In-Reply-To: <87y4yopnuq.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 09:59:57 +0200")
Message-ID: <87ppk0fs9q.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Daimrod <daimrod@HIDDEN> writes:
>
>>> Wouldn't it be more consistent to modify `set-process-filter' and
>>> =C2=B4set-process-sentinel' to take care, when several filters or senti=
nels
>>> are added to a given process? Both functions could be equipped with an
>>> optional argument WHERE, which has the similar meaning as in
>>> `add-function'. Maybe just :before, :after and :replace shall be
>>> allowed, and one of them (:after?) could be the default.
>>
>> What about having a default sentinel/filter for all process that does
>> nothing (just a placeholder)?
>
> There are already `internal-default-process-filter' and
> `internal-default-process-sentinel'. They must be replaced, of course,
> when a new filter/sentinel is added.

Oh, I wasn't aware of those functions.

>> Then instead of using `set-process-filter' one could use
>> (add-function :whatever (process-filter process) ...)
>
> Nope. One would need to change all places those functions are called. I
> believe it is simpler to modify `set-process-filter' and
> `set-process-sentinel'.

I see. Thanks for the explanation.

--=20
Daimrod/Greg




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 13:39:02 +0000
Resent-Message-ID: <handler.17361.B17361.139877871829547 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Daimrod <daimrod@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139877871829547
          (code B ref 17361); Tue, 29 Apr 2014 13:39:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 13:38:38 +0000
Received: from localhost ([127.0.0.1]:44639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf8F3-0007gV-Ha
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:38:37 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:39726)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1Wf8Ez-0007gK-JK
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:38:34 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TDcV7K004422;
 Tue, 29 Apr 2014 09:38:31 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 2F67BAE1F2; Tue, 29 Apr 2014 09:38:30 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvppk0uugw.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <8761lsh9eo.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 09:38:30 -0400
In-Reply-To: <8761lsh9eo.fsf@HIDDEN> (daimrod@HIDDEN's message of
 "Tue, 29 Apr 2014 16:39:11 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4927=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <786> : streams
 <1169107> : uri <1743730>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

> What about having a default sentinel/filter for all process that does
> nothing (just a placeholder)?

That is already the case since 24.4.

> Then instead of using `set-process-filter' one could use
> (add-function :whatever (process-filter process) ...)

That's the idea.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 13:43:02 +0000
Resent-Message-ID: <handler.17361.B17361.139877895930035 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139877895930035
          (code B ref 17361); Tue, 29 Apr 2014 13:43:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 13:42:39 +0000
Received: from localhost ([127.0.0.1]:44647 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf8Iw-0007oM-Ln
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:42:38 -0400
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49923)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1Wf8It-0007oB-UN
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:42:36 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TDgYe4021254;
 Tue, 29 Apr 2014 09:42:35 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id A5944AE1F2; Tue, 29 Apr 2014 09:42:33 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 09:42:33 -0400
In-Reply-To: <8738gwr3p8.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 09:32:19 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0.2
X-NAI-Spam-Rules: 2 Rules triggered
	GEN_SPAM_FEATRE=0.2, RV4927=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <786> : streams
 <1169110> : uri <1743732>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

> Reading your text, I wonder how one should implement this. Usually, one
> doesn't know which other library intends to set a filter or a process.

That's a good question.  So far it works well when you know enough of
the various places that want to set a filter, so you can make sure only
one of them uses set-process-filter (and does it before the others).


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 13:53:01 +0000
Resent-Message-ID: <handler.17361.B17361.139877954631123 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139877954631123
          (code B ref 17361); Tue, 29 Apr 2014 13:53:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 13:52:26 +0000
Received: from localhost ([127.0.0.1]:44656 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf8SQ-00085v-Dd
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:52:26 -0400
Received: from mout.gmx.net ([212.227.17.22]:65383)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1Wf8SN-00085d-6G
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 09:52:24 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx003) with
 ESMTPSA (Nemesis) id 0LhOvA-1XIZt03dXk-00mYBe;
 Tue, 29 Apr 2014 15:52:15 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
Date: Tue, 29 Apr 2014 15:52:12 +0200
In-Reply-To: <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 09:42:33 -0400")
Message-ID: <87siowp7jn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:A0zlFHTLk6etJPIs7/ak6THwkPfcVCZQhH2zMaYjrvHzoYr/23f
 rHfVKYYIT+kyk38J2ZAx//y86a2sOQ1bsTbSRUGmjM7zIL312wNv7niVShtTXMVBL+BL8Dj
 zmYemLaV32mn6YajzbevgPg6vXBoVbBVcu1dA3awZFPeII4CUpILhGOkzk5lFkTV9NQa1fU
 o15FdARZpr0ehGnjfspxQ==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

> So far it works well when you know enough of the various places that
> want to set a filter, so you can make sure only one of them uses
> set-process-filter (and does it before the others).

Maybe. But Tramp cannot know who is using it. It just offers (its own
implementation of) very primitive functions, that's it. And it cannot
know, whether the calling library is doing its settings before or after
Tramp's setup.

That's what this bug report is about.

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 14:31:02 +0000
Resent-Message-ID: <handler.17361.B17361.13987818327919 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.13987818327919
          (code B ref 17361); Tue, 29 Apr 2014 14:31:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 14:30:32 +0000
Received: from localhost ([127.0.0.1]:45159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf93D-00023T-Mj
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 10:30:28 -0400
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:60010)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1Wf93A-00023K-OI
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 10:30:25 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TEUNHf000550;
 Tue, 29 Apr 2014 10:30:23 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 58D86AE1F2; Tue, 29 Apr 2014 10:30:22 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 10:30:22 -0400
In-Reply-To: <87siowp7jn.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 15:52:12 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4927=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <786> : streams
 <1169136> : uri <1743765>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

>> So far it works well when you know enough of the various places that
>> want to set a filter, so you can make sure only one of them uses
>> set-process-filter (and does it before the others).
> Maybe. But Tramp cannot know who is using it. It just offers (its own
> implementation of) very primitive functions, that's it. And it cannot
> know, whether the calling library is doing its settings before or after
> Tramp's setup.
> That's what this bug report is about.

The fix is to make those other packages use add-function as well, then.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 14:44:01 +0000
Resent-Message-ID: <handler.17361.B17361.13987825909380 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.13987825909380
          (code B ref 17361); Tue, 29 Apr 2014 14:44:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 14:43:10 +0000
Received: from localhost ([127.0.0.1]:45177 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wf9FV-0002RD-Te
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 10:43:10 -0400
Received: from mout.gmx.net ([212.227.15.15]:61636)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1Wf9FR-0002QZ-Vx
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 10:43:06 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx003) with
 ESMTPSA (Nemesis) id 0Ld1CS-1XMyRP006i-00iAGU;
 Tue, 29 Apr 2014 16:42:59 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
Date: Tue, 29 Apr 2014 16:42:56 +0200
In-Reply-To: <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 10:30:22 -0400")
Message-ID: <87oazkp573.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:vW2TVm6vaocnN0am+8yy/HRArKV0opDS+KTDKcrR5GIPFXG4YJp
 dBzpMdxkx2IJtNRtYbgT54OX3iK1/mzi5sOEdhWSxE6ruA6eZLcgZUdIwTgG7K35g+uqZW+
 aZwIWfiUtfRzZcyAXE51/4XUv/qx0NBkqvvrGEuz9wzxWYdW9nTL/UPtzHS9SLlHUl6nI4Q
 huJvmZKj5ANC9Dh69ftGQ==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> Maybe. But Tramp cannot know who is using it. It just offers (its own
>> implementation of) very primitive functions, that's it. And it cannot
>> know, whether the calling library is doing its settings before or after
>> Tramp's setup.
>> That's what this bug report is about.
>
> The fix is to make those other packages use add-function as well, then.

And why not modify `set-process-sentinel'? This would be less changes in
the different packages.

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 15:35:02 +0000
Resent-Message-ID: <handler.17361.B17361.139878564523909 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139878564523909
          (code B ref 17361); Tue, 29 Apr 2014 15:35:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 15:34:05 +0000
Received: from localhost ([127.0.0.1]:45230 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WfA2l-0006DW-EJ
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 11:34:04 -0400
Received: from chene.dit.umontreal.ca ([132.204.246.20]:56622)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WfA2d-0006Cw-5K
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 11:34:01 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TFXst6031017;
 Tue, 29 Apr 2014 11:33:54 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id C20E5AE1F2; Tue, 29 Apr 2014 11:33:51 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 11:33:51 -0400
In-Reply-To: <87oazkp573.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 16:42:56 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Level: 
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0.2
X-NAI-Spam-Rules: 2 Rules triggered
	GEN_SPAM_FEATRE=0.2, RV4927=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <788> : streams
 <1169173> : uri <1743810>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

> And why not modify `set-process-sentinel'? This would be less changes in
> the different packages.

No, same difference: the calls need to be changed anyway.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 18:10:03 +0000
Resent-Message-ID: <handler.17361.B17361.139879497418226 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139879497418226
          (code B ref 17361); Tue, 29 Apr 2014 18:10:03 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 18:09:34 +0000
Received: from localhost ([127.0.0.1]:45339 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WfCTF-0004ju-EG
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 14:09:33 -0400
Received: from mout.gmx.net ([212.227.15.18]:58042)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1WfCTC-0004jb-Po
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 14:09:31 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx101) with
 ESMTPSA (Nemesis) id 0MGWR2-1WjaBn3jdY-00DCvP;
 Tue, 29 Apr 2014 20:09:24 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN> <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
Date: Tue, 29 Apr 2014 20:09:21 +0200
In-Reply-To: <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 11:33:51 -0400")
Message-ID: <877g6880tq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:dOaVhPZRUzMf2TkZdzeRxZ8I4gN8j6JorLxpPuabrY7SbXa4L4h
 +WSnHL3bcUMaxhBZVZCQEIaeKAfPb/EnPR9LQwSmI+IPu1LXXxWGiABuBNYc70qllZT7kav
 l3LpMPFLJM/ZhCczfO+Jeg4keqIAa3HJSWRX09mNFKnk53P1FIjjf9vVUmEcHHK172RE8sf
 9dSlgAcHxLbmEVCvw36Rg==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>> And why not modify `set-process-sentinel'? This would be less changes in
>> the different packages.
>
> No, same difference: the calls need to be changed anyway.

Not, if we use a proper default for WHERE, the new optional arg of
`set-process-sentinel'.

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 19:41:01 +0000
Resent-Message-ID: <handler.17361.B17361.13988004164623 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.13988004164623
          (code B ref 17361); Tue, 29 Apr 2014 19:41:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 19:40:16 +0000
Received: from localhost ([127.0.0.1]:45427 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WfDt1-0001CV-V2
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 15:40:16 -0400
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:43247)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WfDsz-0001CM-Ot
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 15:40:14 -0400
Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca
 [132.204.27.242])
 by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id s3TJeCjQ013843;
 Tue, 29 Apr 2014 15:40:12 -0400
Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848)
 id 90F40AE1F2; Tue, 29 Apr 2014 15:40:08 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwva9b4sz6y.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN> <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
 <877g6880tq.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 15:40:08 -0400
In-Reply-To: <877g6880tq.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 20:09:21 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4927=0
X-NAI-Spam-Version: 2.3.0.9378 : core <4927> : inlines <789> : streams
 <1169296> : uri <1743989>
X-Spam-Score: -2.0 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.0 (--)

>>> And why not modify `set-process-sentinel'? This would be less changes in
>>> the different packages.
>> No, same difference: the calls need to be changed anyway.
> Not, if we use a proper default for WHERE, the new optional arg of
> `set-process-sentinel'.

The only default that's backward compatible would be :override, which
basically defeats the purpose.


        Stefan




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Michael Albinus <michael.albinus@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 21:25:02 +0000
Resent-Message-ID: <handler.17361.B17361.139880670015788 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Stefan Monnier <monnier@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139880670015788
          (code B ref 17361); Tue, 29 Apr 2014 21:25:02 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 21:25:00 +0000
Received: from localhost ([127.0.0.1]:45560 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WfFWO-00046Z-61
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 17:25:00 -0400
Received: from mout.gmx.net ([212.227.17.21]:58744)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <michael.albinus@HIDDEN>) id 1WfFWL-00046F-D5
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 17:24:58 -0400
Received: from detlef.gmx.de ([93.202.52.188]) by mail.gmx.com (mrgmx101) with
 ESMTPSA (Nemesis) id 0MSZ6u-1WG3gj1lmG-00RbFF;
 Tue, 29 Apr 2014 23:24:49 +0200
From: Michael Albinus <michael.albinus@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN> <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
 <877g6880tq.fsf@HIDDEN> <jwva9b4sz6y.fsf-monnier+emacsbugs@HIDDEN>
Date: Tue, 29 Apr 2014 23:24:46 +0200
In-Reply-To: <jwva9b4sz6y.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 15:40:08 -0400")
Message-ID: <871twf96ch.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Provags-ID: V03:K0:QAvLaJmVEqGgdgj+8YvOOe5WeVkRtvoFiVqYOMQMg0CTjMRzNdi
 1H0SAtP4WImEytmlEX4OCOTKXGaHFS/9EfnEw2veL2Zk7/Ad5FAYD+K5Ckw8a1kE44UQ8Xq
 ZLvalPPdx+hVZF9bdBC1ZXcMlV0fiV33md8XFjEgBpwpkSadGT6VIa9WYNN/iL1GqLmg2qf
 46IjfI4UoazRyM7qjgk2g==
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.0 (/)

Stefan Monnier <monnier@HIDDEN> writes:

>>>> And why not modify `set-process-sentinel'? This would be less changes in
>>>> the different packages.
>>> No, same difference: the calls need to be changed anyway.
>> Not, if we use a proper default for WHERE, the new optional arg of
>> `set-process-sentinel'.
>
> The only default that's backward compatible would be :override, which
> basically defeats the purpose.

In practice, your proposal means to throw away `set-process-sentinel'
(and `set-process-filter'). Since the default functions are already
enabled, in most cases one shall use `add-function' instead. Which is
more complicate.

Do we want such a radical change? Your wording, you have applied in
processes.texi, sounds different.

(I don't oppose completely, I just want that we understand and agree
such a change.)

>         Stefan

Best regards, Michael.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Monnier <monnier@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 29 Apr 2014 22:09:01 +0000
Resent-Message-ID: <handler.17361.B17361.139880931020587 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.139880931020587
          (code B ref 17361); Tue, 29 Apr 2014 22:09:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 22:08:30 +0000
Received: from localhost ([127.0.0.1]:45708 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WfGCT-0005Lz-Gj
	for submit <at> debbugs.gnu.org; Tue, 29 Apr 2014 18:08:29 -0400
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:8668)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <monnier@HIDDEN>) id 1WfGCR-0005Lk-9F
 for 17361 <at> debbugs.gnu.org; Tue, 29 Apr 2014 18:08:27 -0400
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArUGAIDvNVPO+K9B/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh
X-IPAS-Result: ArUGAIDvNVPO+K9B/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh
X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="61017025"
Received: from 206-248-175-65.dsl.teksavvy.com (HELO ceviche.home)
 ([206.248.175.65])
 by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA;
 29 Apr 2014 18:08:21 -0400
Received: by ceviche.home (Postfix, from userid 20848)
 id 9C3FC66094; Tue, 29 Apr 2014 18:08:21 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
Message-ID: <jwva9b3re8j.fsf-monnier+emacsbugs@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN> <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
 <877g6880tq.fsf@HIDDEN> <jwva9b4sz6y.fsf-monnier+emacsbugs@HIDDEN>
 <871twf96ch.fsf@HIDDEN>
Date: Tue, 29 Apr 2014 18:08:21 -0400
In-Reply-To: <871twf96ch.fsf@HIDDEN> (Michael Albinus's message of "Tue, 29
 Apr 2014 23:24:46 +0200")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.3 (/)

>> The only default that's backward compatible would be :override, which
>> basically defeats the purpose.
> In practice, your proposal means to throw away `set-process-sentinel'
> (and `set-process-filter').

[ Of course, only on the surface, since these are the low-level accessors
  used by add-function.  ]

> Since the default functions are already enabled, in most cases one
> shall use `add-function' instead.

There is a real problem with the default filter/sentinel, indeed.
Basically, add-function is a mechanism that allows combining functions
onto a "single function spot", so it provides the tool we need.

But another problem remains: for historical reasons (and for
convenience), the default filters/sentinels don't "do nothing".  So in
many cases packages want to *replace* the default rather than extend it.
`set-process-filter' works well for those, until another package comes
along which needs to interact with it.  Saying "use add-function"
doesn't really solve this problem, because we'll just replace

  (set-process-filter PROC FUN)
with
  (add-function :override (process-filter PROC) FUN)

which, just like set-process-filter, will override not just the default
filter but other filters added via add-function as well.

I haven't thought about how to really solve this problem.  I'm open
to suggestions.

> (I don't oppose completely, I just want that we understand and agree
> such a change.)

I don't have a good answer yet, sorry.


        Stefan




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 29 May 2014 15:52:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 29 11:52:15 2014
Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wq2ck-0003rF-Bs
	for submit <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:15 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:35715 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1Wq2cd-0003qo-MC
 for control <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:08 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1Wq2cc-0008L9-TT
 for control <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:02 -0400
Date: Thu, 29 May 2014 11:52:02 -0400
Message-Id: <E1Wq2cc-0008L9-TT@HIDDEN>
Subject: control message for bug 17361
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -5.7 (-----)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.7 (-----)

tag 17361 notabug
close 17361




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 29 May 2014 15:52:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 29 11:52:15 2014
Received: from localhost ([127.0.0.1]:36240 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wq2ck-0003rF-Bs
	for submit <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:15 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:35715 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1Wq2cd-0003qo-MC
 for control <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:08 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1Wq2cc-0008L9-TT
 for control <at> debbugs.gnu.org; Thu, 29 May 2014 11:52:02 -0400
Date: Thu, 29 May 2014 11:52:02 -0400
Message-Id: <E1Wq2cc-0008L9-TT@HIDDEN>
Subject: control message for bug 17361
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -5.7 (-----)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.7 (-----)

tag 17361 notabug
close 17361




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 29 May 2014 16:22:01 +0000
Resent-Message-ID: <handler.17361.B17361.140138051827651 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: notabug
To: 17361 <at> debbugs.gnu.org,  Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.140138051827651
          (code B ref 17361); Thu, 29 May 2014 16:22:01 +0000
Received: (at 17361) by debbugs.gnu.org; 29 May 2014 16:21:58 +0000
Received: from localhost ([127.0.0.1]:36289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Wq35V-0007Bl-3b
	for submit <at> debbugs.gnu.org; Thu, 29 May 2014 12:21:58 -0400
Received: from fencepost.gnu.org ([208.118.235.10]:36459 ident=Debian-exim)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <rgm@HIDDEN>) id 1Wq35O-0007BP-Ez
 for 17361 <at> debbugs.gnu.org; Thu, 29 May 2014 12:21:51 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
 (envelope-from <rgm@HIDDEN>)
 id 1Wq35N-0005xX-I7; Thu, 29 May 2014 12:21:45 -0400
From: Glenn Morris <rgm@HIDDEN>
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN> <jwvha5dwkyk.fsf-monnier+emacsbugs@HIDDEN>
 <87k3a98h9p.fsf@HIDDEN> <jwv4n1csr7x.fsf-monnier+emacsbugs@HIDDEN>
 <8738gwr3p8.fsf@HIDDEN> <jwvk3a8uub3.fsf-monnier+emacsbugs@HIDDEN>
 <87siowp7jn.fsf@HIDDEN> <jwv38gwus32.fsf-monnier+emacsbugs@HIDDEN>
 <87oazkp573.fsf@HIDDEN> <jwvr44gtakl.fsf-monnier+emacsbugs@HIDDEN>
 <877g6880tq.fsf@HIDDEN> <jwva9b4sz6y.fsf-monnier+emacsbugs@HIDDEN>
 <871twf96ch.fsf@HIDDEN> <jwva9b3re8j.fsf-monnier+emacsbugs@HIDDEN>
X-Spook: broadside Security Council clandestine Verisign enemy of
X-Ran: Il;GS{Yq4w%YPQK@1"0+MvxS@a%wat!"B[K5l~ur~[pY|_c/cWR(x&[(N_8qg44R.(u~8`
X-Hue: black
X-Attribution: GM
Date: Thu, 29 May 2014 12:21:45 -0400
In-Reply-To: <jwva9b3re8j.fsf-monnier+emacsbugs@HIDDEN> (Stefan Monnier's
 message of "Tue, 29 Apr 2014 18:08:21 -0400")
Message-ID: <j11tvcy2qu.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.9 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.9 (----)


Sorry, I closed this bug by mistake.
Reopening.




Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: Did not alter fixed versions and reopened.
Date: Thu, 29 May 2014 16:23:01 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# Did not alter fixed versions and reopened.
thanks
# This fakemail brought to you by your local debbugs
# administrator


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17361: Tramp does not save history across sessions.
Resent-From: Stefan Kangas <stefan@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 10 Oct 2021 23:02:02 +0000
Resent-Message-ID: <handler.17361.B17361.16339069154872 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17361
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Michael Albinus <michael.albinus@HIDDEN>
Cc: 17361 <at> debbugs.gnu.org, Le Wang <l26wang@HIDDEN>
Received: via spool by 17361-submit <at> debbugs.gnu.org id=B17361.16339069154872
          (code B ref 17361); Sun, 10 Oct 2021 23:02:02 +0000
Received: (at 17361) by debbugs.gnu.org; 10 Oct 2021 23:01:55 +0000
Received: from localhost ([127.0.0.1]:56027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1mZhpL-0001GA-3i
	for submit <at> debbugs.gnu.org; Sun, 10 Oct 2021 19:01:55 -0400
Received: from mail-pg1-f175.google.com ([209.85.215.175]:34400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1mZhpJ-0001AH-7w
 for 17361 <at> debbugs.gnu.org; Sun, 10 Oct 2021 19:01:53 -0400
Received: by mail-pg1-f175.google.com with SMTP id 133so9062466pgb.1
 for <17361 <at> debbugs.gnu.org>; Sun, 10 Oct 2021 16:01:53 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:in-reply-to:references:user-agent
 :mime-version:date:message-id:subject:to:cc;
 bh=Bq+dfLj+HSFaLVT1AGI3V7KQFHdoc15axM5QnnraCBA=;
 b=DjHHYkZYmyALSbwrzlDlXkFBjy0K85G6aVxMt7a0J9niIcbHKTwZpI6AbRhQg13Nio
 aO/ixvM3K+XjvOs8OI+zxHkNwVU4/daLR/ev3B5UnZ2hNEEm3vVOtEDmW4aSFvmvBRqc
 GkJPIoiseXNP6ba1B641hyJBa9ZwfrgA4F3PmTPMG7gT1prIVzYH4XoxZSwZARpNduI+
 VR+oV4DBjSncUT8NGsfSt4x1MWBEblsRab2Js44Vk/Wia6mhrkaCKAyJJPPZQIKo/elX
 gOTTocJYh8B2b8Bqsp2iLIY4SayLfAQqv/jaTCtmciLY6nkzsmlTo5QiKTPJ22LttJhY
 W18w==
X-Gm-Message-State: AOAM530IKii+JxcHSpErCUCd525vDldjtavJfmh5pkcQJ0lOM2FWrwhj
 1ZwgbsPT5XUnNkMGizfq8lp3/k3GzeDiM4TrYwY=
X-Google-Smtp-Source: ABdhPJxJoAt6ff0+NcK3Dd4zgLFFNWZLhcwGjC2OKoo5BQ7BDOZWVLiO2SUBHRbYUFPjE8wUdiIQIILGeRou9KELxoA=
X-Received: by 2002:a63:d506:: with SMTP id c6mr15423960pgg.42.1633906907681; 
 Sun, 10 Oct 2021 16:01:47 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sun, 10 Oct 2021 16:01:47 -0700
From: Stefan Kangas <stefan@HIDDEN>
In-Reply-To: <87bnvltvnl.fsf@HIDDEN> (Michael Albinus's message of "Mon, 28
 Apr 2014 15:45:34 +0200")
References: <CAM=K+iq6AZsxE4o_Jd8qNR0nen8KKzogqAxvSzKrm-V9Mf659w@HIDDEN>
 <87bnvltvnl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)
MIME-Version: 1.0
Date: Sun, 10 Oct 2021 16:01:47 -0700
Message-ID: <CADwFkmkYecQggbjoTnWqNnFpgZoovBN+GVXu=DhT9YNJf-m8zg@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.5 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.5 (/)

Michael Albinus <michael.albinus@HIDDEN> writes:

> Le Wang <l26wang@HIDDEN> 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?





Last modified: Sun, 10 Oct 2021 23:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.