From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Persistent transient keymap for mouse scrolling Date: Tue, 23 May 2017 23:55:26 +0200 Message-ID: <87shjvkzld.fsf@drachen> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495576573 30781 195.159.176.226 (23 May 2017 21:56:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 May 2017 21:56:13 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Tianxiang Xiong Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 23 23:56:04 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 1dDHmc-0007kH-0y for geh-help-gnu-emacs@m.gmane.org; Tue, 23 May 2017 23:56:02 +0200 Original-Received: from localhost ([::1]:51694 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDHmh-0007MD-KG for geh-help-gnu-emacs@m.gmane.org; Tue, 23 May 2017 17:56:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dDHmA-0007Lz-Mh for help-gnu-emacs@gnu.org; Tue, 23 May 2017 17:55:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dDHm7-0004hG-MC for help-gnu-emacs@gnu.org; Tue, 23 May 2017 17:55:34 -0400 Original-Received: from mout.web.de ([212.227.15.14]:61837) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dDHm7-0004cu-CA for help-gnu-emacs@gnu.org; Tue, 23 May 2017 17:55:31 -0400 Original-Received: from drachen.dragon ([94.216.140.150]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MfHUw-1dc6p30Hjm-00Okke; Tue, 23 May 2017 23:55:27 +0200 In-Reply-To: (Tianxiang Xiong's message of "Sun, 14 May 2017 15:47:41 -0700") X-Provags-ID: V03:K0:mdoCwNrSHCmFqwu5ijnqpocPsfwJAFPUEvCX+z0TWgxfOY0a9nd 6yJR4PXJ6Keh58J4B+9DJqanU1dJwJt6PBr8tP7VUyPd5Niam893Dy34xJqr4DJKj86qjw9 ROARnq77XUqJpzKXJtI3jGt20CKVaOiKU3gIRMvFLEzftaBc7z2HmKHTBWTfn1fDC+Jj51r AdC1/ZCFZ+iT/OAk+xQoQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:/2DyaOph1EI=:5xuK8Kzui7jOvwt7CyJlut YjJAfLkYb2qH2E/Ir83+YWdZ8/mJoxWrlUPvkk4crPh51CO1fQ6v2zi6kqEVF29V65OmqOWxD 5xVyt+lhtw7Y9dgM0uLsOGe7I7d8a2+/LGkhXvK4e2NCdPMM4xzvaUTGJhrt2uucr2L0luCKO lWRyqoh6U5+nv/lF4Zr0UC36K4MFdmEbnmX0mTICMRzJhh+znfyorDdmu10DM7ZZe5BF2sBqn Pbm11qut5N+/VOFkKxycNxKfPW8TTjIMNY1HN0QH96MZmZ/hc5XgX8K/dTSskh+c+87TWccc7 Z7SXxTBnWuqk5lDvoZHPwEbMQEMzVADC2i2R/ZczT5Uc62Vv5EVj+YKs3HoK4yb7+7gBVp6oe jjdTH6GQuQPazRZhBpSsdj8EpE5029qS0HGSoQMF1mJBDXezFhJJw2xiPJvW11Is+PpUc2LiS UKMrQAhpZxDrdXubCYVLv/itD+uFUEAcox3ynCwYO6MNjAvYE37op2uGy2Xgxp8rA74Z5cHau Aokr2hWOS+wELaGZwuLL56biqu7+djpRQWpOS844fkeyORgHpFSXE2nyFOCSMGN3972t+FJPT KGlg4pzEy6LaKpz8bJBST/gpGoyw/RzUWhspJgDQSdPJc0jQGkRozUK4nNFnWZYw1VelS0xmJ hNLCe42J8qvJiiziQjuzMDtxTOR/cB/kTNU4a4G8GEpey2JA+Q3ihxOBbGEXqiSjgSWcRqm4m CXZ2qNg61SKtAEVeFs38KYD1U+26XL9SU79y4Q1TVk/2Zb94blSyMpxY3AslEg4fI2US/PRv X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.14 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:113150 Archived-At: Tianxiang Xiong writes: > 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? Did you try to follow the advice from Stefan's crystal ball? Michael.