unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* comint-preoutput-filter-functions trouble
@ 2010-11-19  3:42 Aidan Gauland
  0 siblings, 0 replies; only message in thread
From: Aidan Gauland @ 2010-11-19  3:42 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 639 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-11-19  3:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-19  3:42 comint-preoutput-filter-functions trouble Aidan Gauland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).