From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Johan Andersson Newsgroups: gmane.emacs.help Subject: Emacs in terminal creates fake events on insert Date: Tue, 27 Sep 2011 21:14:43 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3005dcecb344f104adf1170c X-Trace: dough.gmane.org 1317157267 20606 80.91.229.12 (27 Sep 2011 21:01:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Sep 2011 21:01:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 27 23:01:03 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R8elz-0004AO-6M for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Sep 2011 23:01:03 +0200 Original-Received: from localhost ([::1]:45926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8ely-00045A-As for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Sep 2011 17:01:02 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:55641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8d7Q-0006M5-Uw for help-gnu-emacs@gnu.org; Tue, 27 Sep 2011 15:15:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R8d7P-0001x1-Ti for help-gnu-emacs@gnu.org; Tue, 27 Sep 2011 15:15:04 -0400 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:47805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R8d7P-0001wu-R7 for help-gnu-emacs@gnu.org; Tue, 27 Sep 2011 15:15:03 -0400 Original-Received: by gya6 with SMTP id 6so6560595gya.0 for ; Tue, 27 Sep 2011 12:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=limZB+v5WyzdMdji9O4AzUbVJ+dwDTe2jmqJnK05oqA=; b=oSNZQUferDZbnmZ7uJTDK9zzUO5Z5g3IdUXxKpTjjE/tIpnqkbMeJUPWP5AyfXZmL5 49HhIMH7EtB5kD4nqNABYlLt0oYWR6yTEPyqNLIV46JsLJ57mqcCpywWyXGQn2wabmqe lxZfl/HWJqifmCTWF8yJAtJlfoGSsXgFoJZlA= Original-Received: by 10.236.132.167 with SMTP id o27mr914663yhi.105.1317150903190; Tue, 27 Sep 2011 12:15:03 -0700 (PDT) Original-Received: by 10.147.34.13 with HTTP; Tue, 27 Sep 2011 12:14:43 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 X-Mailman-Approved-At: Tue, 27 Sep 2011 17:00:53 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82357 Archived-At: --20cf3005dcecb344f104adf1170c Content-Type: text/plain; charset=ISO-8859-1 Hi! When running Emacs in a terminal and inserting text (via Shift-insert, Ctrl+v, etc...), it seems like Emacs is creating fake events for each character that is inserted. It's like I pressed each character. So if there's a key binding for "f" and the text "foo" is inserted. The function that the key "f" is bound to is triggered. Why is that? And can I avoid it? Thanks! --20cf3005dcecb344f104adf1170c Content-Type: text/html; charset=ISO-8859-1 Hi!

When running Emacs in a terminal and inserting text (via Shift-insert, Ctrl+v, etc...), it seems like Emacs is creating fake events for each character that is inserted. It's like I pressed each character.

So if there's a key binding for "f" and the text "foo" is inserted. The function that the key "f" is bound to is triggered.

Why is that? And can I avoid it?

Thanks!
--20cf3005dcecb344f104adf1170c--