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

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

comint-preoutput-filter-functions trouble


From: Aidan Gauland
Subject: comint-preoutput-filter-functions trouble
Date: Fri, 19 Nov 2010 16:42:43 +1300
User-agent: Mutt/1.5.20 (2009-06-14)

Hi,

If I type M-x shell RET, M-x comint-mode RET, M-: (add-hook
'comint-preoutput-filter-functions 'upcase nil t), and hit return in
the *shell* buffer and the next line is all uppercase.

Now if I listen on localhost 60750 with nc, and switch to comint-mode
in the buffer created by (open-network-stream "foo" "*foo*"
"localhost" 60750) (instead of *shell*), evaluate (add-hook
'comint-preoutput-filter-functions 'upcase nil t), and type something
in nc, it does *NOT* show up as uppercase in the Emacs buffer *foo*.

Why do the comint-preoutput-filter-functions seem to have no effect in
a network-stream buffer?

Thanks,
Aidan Gauland

Attachment: signature.asc
Description: Digital signature


reply via email to

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