From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Richard Newsgroups: gmane.emacs.help Subject: Re: How to insert a string every 2 characters Date: Wed, 26 Aug 2015 12:55:08 +0200 Message-ID: <87mvxe5ng3.fsf@members.fsf.org> References: <877fok7mar.fsf@members.fsf.org> <874mjola7w.fsf@nl106-137-147.student.uu.se> <87wpwj6844.fsf@members.fsf.org> <8737z7yuf8.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1440586533 5172 80.91.229.3 (26 Aug 2015 10:55:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Aug 2015 10:55:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 26 12:55:24 2015 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 1ZUYMW-0002hO-0y for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2015 12:55:24 +0200 Original-Received: from localhost ([::1]:37392 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYMV-00032b-JT for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Aug 2015 06:55:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47069) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYMJ-0002zr-HI for help-gnu-emacs@gnu.org; Wed, 26 Aug 2015 06:55:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZUYMG-0005Qp-9X for help-gnu-emacs@gnu.org; Wed, 26 Aug 2015 06:55:11 -0400 Original-Received: from mxin.ulb.ac.be ([164.15.128.112]:27291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZUYMG-0005KI-4B for help-gnu-emacs@gnu.org; Wed, 26 Aug 2015 06:55:08 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmwFACKa3VWkD4Xx/2dsb2JhbABdgkmBJmmpagEBAQEBAQaVZYYDAoIHAQEBAQEBgQuEJAEBAwF+CwgDISUPAQRciCYIyDEBCxwEhiWFNoQ7VheEFQWMa4hMhQaQVJFzJoIOHIFWPDOCTAEBAQ Original-Received: from mathsrv4.ulb.ac.be (HELO localhost) ([164.15.133.241]) by smtp.ulb.ac.be with ESMTP; 26 Aug 2015 12:55:03 +0200 In-Reply-To: <8737z7yuf8.fsf@debian.uxu> (Emanuel Berg's message of "Tue, 25 Aug 2015 22:39:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 164.15.128.112 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:106851 Archived-At: Emanuel Berg writes: > Nicolas Richard writes: > >>> Act like you are stressed and not too smart, and >>> that is exactly what you will become. >> >> It is too late for me, it seems, because I can't >> figure out what you're trying to tell me. > > You said something to the extent that keyboard macros > are quick and not too smart. I assumed you mean > advanced or powerful by "smart", and that those > methods (the smart ones) aren't as quick. I meant "if you don't need the power of elisp/a reusable function". Writing a function has its own overhead, because you have to write it, maybe make it a bit generic, possibly test it, document it (otherwise future-self will hate you) and put it somewhere you can find it later (i.e. find a name for it. I've heard that's NP-hard, or something ;)). > Anyone who has done physical > work (e.g., digging trenches or whatever) knows that > the perception of time is very disadvantageous when > doing computer work. You can fiddle with some detail > and suddenly two, three hours have gone by! Totally agree. With computers we solve problems that would not exist (or would be impossible to solve, which is mostly equivalent). > The last aspect is what you do is what > you become. Don't look for quick and not too smart > ways to do things, if that isn't what you want to be. > Instead, look for the most powerful way and then to > hell with time. This makes for relaxed and skilled > people. I'm not saying this to you in particular. > But regardless of whatever, that is the way it works. Obligatory mention of https://xkcd.com/1319/. -- Nico