bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17361: Tramp does not save history across sessions.


From: Michael Albinus
Subject: bug#17361: Tramp does not save history across sessions.
Date: Tue, 29 Apr 2014 09:59:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Daimrod <address@hidden> writes:

>> Wouldn't it be more consistent to modify `set-process-filter' and
>> ┬┤set-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.
>
> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]