unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Intercepting input in comint
@ 2015-12-01 13:47 Yuri D'Elia
  2015-12-03 13:16 ` Elias Mårtenson
  0 siblings, 1 reply; 5+ messages in thread
From: Yuri D'Elia @ 2015-12-01 13:47 UTC (permalink / raw)
  To: emacs-devel

Hi everyone,

In a comint buffer, I'd like to intercept certain kinds of inputs from
the user.

For certain kinds of patterns, I'd like to side-step comint and call a
function instead (and avoid the command to be sent to the inferior process).

A logical place seems to be comint-input-filter-functions, except I
cannot prevent the command to be sent to the process there.

Do I have to override comint-input-sender?
Any other advice?




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-12-04 11:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-01 13:47 Intercepting input in comint Yuri D'Elia
2015-12-03 13:16 ` Elias Mårtenson
2015-12-04 11:04   ` Yuri D'Elia
2015-12-04 11:05   ` Yuri D'Elia
2015-12-04 11:08   ` Yuri D'Elia

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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