From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tianxiang Xiong Newsgroups: gmane.emacs.help Subject: Persistent transient keymap for mouse scrolling Date: Sun, 14 May 2017 15:47:41 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1494823763 11720 195.159.176.226 (15 May 2017 04:49:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 15 May 2017 04:49:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 15 06:49:19 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dA7wd-0002xV-6v for geh-help-gnu-emacs@m.gmane.org; Mon, 15 May 2017 06:49:19 +0200 Original-Received: from localhost ([::1]:34792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dA7wi-0006GS-P8 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 May 2017 00:49:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dA2Ih-0007Mz-Na for help-gnu-emacs@gnu.org; Sun, 14 May 2017 18:47:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dA2Ig-0000nY-J5 for help-gnu-emacs@gnu.org; Sun, 14 May 2017 18:47:43 -0400 Original-Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]:33227) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dA2Ig-0000nH-Ei for help-gnu-emacs@gnu.org; Sun, 14 May 2017 18:47:42 -0400 Original-Received: by mail-yw0-x230.google.com with SMTP id 203so30087914ywe.0 for ; Sun, 14 May 2017 15:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bxXTr9ZtHO5fIZW3IvzteDY93e5kPTK8W6nweZxgZ3w=; b=l+229jOwuEwt3lWd14+ZXR4hDR5+RF3/BQINR2L/HWaiK/O306ODyUFC4JRHRmR9gQ a8UAg79zJMGOGcjZZxis9tvz5Ve5KGNX+F+Tqm4RwQw9Ypt1XYC2vo1/FwJfbe+fZP9u eij8zSoLDF5sNiGwBVLoZV0krMA93BeUieTLo7YEjd642+FxAdg+Z6M9i3kfULMCLKvE wJ3Ok/npLZqVu5vKeazXfVDS3AFCXL6ORhuG6xDtNLTd6tjStYvzGzECj02LA8WejDoi juTtl9kgITWMgDxxKXWwPNGGYpHDAw3cOY8LNEOj4Syi24BbxJfOpPGxnK3y01i7/ERk clGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bxXTr9ZtHO5fIZW3IvzteDY93e5kPTK8W6nweZxgZ3w=; b=L3qWaBzr9nQ5PFu5fvWVA9zXMQQVuWCfeNS8pjCEidY3u2L/qAxuUZ3a6uv+SF19eo cSWDx0WK+uJJyRPnchlha7j1YChHIGVtMQYopoGqFsoe1xxV4is/O0ikNiLDs1axlfIC 9WSwND+Aqiaf6IfzFTZ2rKwKD+v5IO279165+M9IUsvLqOy9McDzw36WxCzf96AD97Vp 2McZq1pkz5iGVYv0gS5ZIe4kJ+r15Wdssb6hCyCCbfkCPHfslTYB4j+hhQycG8g4ig99 zKeIniqaiQBhyQ+ZkYK2MH2fFaRWLFu7LEink9CcsskdGxdSlgmactktR1VTNx4PSBOd XwMg== X-Gm-Message-State: AODbwcCcD5M7wqTAnj1WqQ0v7zkO7HX+yPSYZyhb3OSrZ4tkU37A3DZ3 sECTBtnqQ01rWWdLd8C6Owqut1PY4Q== X-Received: by 10.13.199.193 with SMTP id j184mr2619621ywd.118.1494802061624; Sun, 14 May 2017 15:47:41 -0700 (PDT) Original-Received: by 10.13.232.22 with HTTP; Sun, 14 May 2017 15:47:41 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4002:c05::230 X-Mailman-Approved-At: Mon, 15 May 2017 00:48:53 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113029 Archived-At: In an Emacs StackExchange question, I found that it's difficult to create a transient keymap that persists for scroll events and exits for other keys/events. What *is* the best way to do this?