From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Tue, 16 Feb 2016 01:37:11 +0100 Message-ID: <8737stlcco.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455583068 30184 80.91.229.3 (16 Feb 2016 00:37:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Feb 2016 00:37:48 +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 Feb 16 01:37:39 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aVTe6-0000FS-Bw for geh-help-gnu-emacs@m.gmane.org; Tue, 16 Feb 2016 01:37:38 +0100 Original-Received: from localhost ([::1]:37704 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTe5-0004Mm-C7 for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Feb 2016 19:37:37 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTdu-0004Mf-Sx for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVTdp-0005zS-Re for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:26 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:49075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTdp-0005zN-KF for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:21 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVTdn-0008Vh-SC for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 01:37:19 +0100 Original-Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:37:19 +0100 Original-Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:37:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 66 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:kTPu88JDaFQy1xafTie23qh+bjI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:109186 Archived-At: Marcin Borkowski writes: >>> The problem: I hit U (mu4e-update-mail-and-index) >>> way too often. I want Emacs to help me fight this >>> unproductive habit. >> >> The solution: every time you do it - I assume you >> hit the final `u' with your right index finger - >> instantly slap your right hand as hard as you can >> with your left hand. The only time you will not >> punish yourself this way is when you peace and >> quiet and with no rush to it beforehand thinks >> "yes, now is the time to check the mail!" - and >> then you do it. > > Not funny. But it works. If you want an "Emacs" solution you can simply assign a much *longer* shortcut, like three strikes and perhaps involving the functions keys or something as un-ergonomic. The first time you strike it (without wanting to) it will take some additional time compared to 'U', so half thru the sequence (or so) you'll be able to stop. The next time you do it you will remember (your brain will at some level) that the previous time you did stop. So this time you will stop not half thru the sequence but 1/3 in. And so on until you do not even initiate the hand movement to do it. At that time there is only the thought left, which will disappear exactly the same way. This is actually not that different from the "slapping" solution. It is all about associating with some thing else - pain, or "incompleteness" of the action - here, they fill the same spot. > engineers are cooler than pure mathematicians in one > respect: they (sometimes) come up with solutions - > sometimes ugly, sometimes stupid - to /real world > problems/. Hard to beat that. Indeed. For example: http://user.it.uu.se/~embe8573/pics/door.jpg But, what engineers and mathematicians do or do not do *in general* I'd be damned to say. Specifically, when mathematicians do Lisp they are more engineers than mathematicians, save for if the Lisp has some application to math or DP-ish computation, in which case they are a bit of both. And this is how it should be! It it like the NHL playoff. To win it, goal scorers have to check and checkers have to score goals... -- underground experts united http://user.it.uu.se/~embe8573