From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daimrod Newsgroups: gmane.emacs.bugs Subject: bug#17361: Tramp does not save history across sessions. Date: Tue, 29 Apr 2014 17:34:41 +0900 Message-ID: <87ppk0fs9q.fsf@tanger.home> References: <87bnvltvnl.fsf@gmx.de> <87k3a98h9p.fsf@gmx.de> <8738gwr3p8.fsf@gmx.de> <8761lsh9eo.fsf@tanger.home> <87y4yopnuq.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1398760534 16601 80.91.229.3 (29 Apr 2014 08:35:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2014 08:35:34 +0000 (UTC) To: 17361@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 10:35:22 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wf3VW-0007cj-C5 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 10:35:18 +0200 Original-Received: from localhost ([::1]:47824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf3VV-00033X-Q2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 04:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf3VM-00031I-He for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 04:35:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wf3VG-0006J2-L6 for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 04:35:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wf3VG-0006IN-Gz for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 04:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wf3VF-0005FQ-Kk for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 04:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daimrod Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Apr 2014 08:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17361 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17361-submit@debbugs.gnu.org id=B17361.139876049420155 (code B ref 17361); Tue, 29 Apr 2014 08:35:01 +0000 Original-Received: (at 17361) by debbugs.gnu.org; 29 Apr 2014 08:34:54 +0000 Original-Received: from localhost ([127.0.0.1]:44406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf3V8-0005F1-7L for submit@debbugs.gnu.org; Tue, 29 Apr 2014 04:34:54 -0400 Original-Received: from mail-pa0-f42.google.com ([209.85.220.42]:48685) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wf3V5-0005Ek-Kv for 17361@debbugs.gnu.org; Tue, 29 Apr 2014 04:34:52 -0400 Original-Received: by mail-pa0-f42.google.com with SMTP id bj1so3539456pad.15 for <17361@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) Original-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@debbugs.gnu.org> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 29 Apr 2014 01:34:44 -0700 (PDT) In-Reply-To: <87y4yopnuq.fsf@gmx.de> (Michael Albinus's message of "Tue, 29 Apr 2014 09:59:57 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:88396 Archived-At: Michael Albinus writes: > Daimrod 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