From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?utf-8?Q?H=C3=A9ctor?= Lahoz Newsgroups: gmane.emacs.help Subject: Re: strange behaviour in keyboard macro Date: Sun, 30 Jul 2017 12:01:35 +0200 Message-ID: <20170730100135.GB2056@ordenador31> References: <20170730055106.GA2292@ordenador31> <867eyqo06i.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1501408942 31892 195.159.176.226 (30 Jul 2017 10:02:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Jul 2017 10:02:22 +0000 (UTC) User-Agent: Mutt/1.5.23 (2014-03-12) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 30 12:02:18 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 1dbl38-0007ob-Uy for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 12:02:15 +0200 Original-Received: from localhost ([::1]:54745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbl3D-0007U6-A9 for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jul 2017 06:02:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbl2g-0007U1-OC for help-gnu-emacs@gnu.org; Sun, 30 Jul 2017 06:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbl2d-0003cM-Lg for help-gnu-emacs@gnu.org; Sun, 30 Jul 2017 06:01:46 -0400 Original-Received: from mail-wr0-x242.google.com ([2a00:1450:400c:c0c::242]:37647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbl2d-0003bb-FZ for help-gnu-emacs@gnu.org; Sun, 30 Jul 2017 06:01:43 -0400 Original-Received: by mail-wr0-x242.google.com with SMTP id 12so21464236wrb.4 for ; Sun, 30 Jul 2017 03:01:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=8AwDD22Jlr5TpfiEeYTs11nh8Gq8vSN7Fyd35rknNro=; b=dojuIQhmLn9Uqf3Bq3VxYEgvQidV1/QI93In+bOe6OXu2ARLHe6g75K7MuURPQIhbz NtIGOh/BxBK0EsaDR30uBAE9c6+/DXRRP0mB5tBWddukFwjc0V23WN7imkw8Uqqw3DLh m891olm+wDe6zv/idrHOEBdZFTDVrePBpTT2DmfqgyCpnixqb66p6uD+3v9YvBkEbqyA 8XBf9p70lvLCACL5SKIotykZgpgM1qXq8i7zcvhjvd6PlpCuI0ub5KszfRJG396HBEI4 sxohSPmoe+N4n+qfNAfMkIduMRkFthTvEka5xBy92AmKaA9dnRKCSTA488d+7PH2ReRZ ABpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=8AwDD22Jlr5TpfiEeYTs11nh8Gq8vSN7Fyd35rknNro=; b=Y/Nm6AzBTi4BqdauamgEHLQJzrYIFLhoRbo+/0XMp6oxpn/cqOwutBnFyZJIvXNJBc 9qqriHwlplAA9hIHB/FAX5M+PZHBoqtrao5OIIl/kXLwYyZzSpsqX4FOb07A/p4nGCwB xMvmbLfbtg0k/EsTWOPu1KTJrc+GHVlTbXlCb54SmHymM8o1bJ0083i0J9FEN1lLP/d+ AgebhBOnsWKLhpziWxCljm09qCzU3dSJg0otVOFX/nlxocDxx4OiSKdBkJZtuUuby9UR cGR730spbe6M+twI2ZSW2PG8/OBkoEay8EL0bsCf/B6SBHPl/SyLyZYs3hat+nOm4bg+ lWPw== X-Gm-Message-State: AIVw1124Lfp9O9hTo7XRIzRfj6mRQsIfNl+Mtx+IiK11NpExBwAl64fr KbAdVgbk1Cl7r+UD X-Received: by 10.223.162.217 with SMTP id t25mr10065645wra.68.1501408902030; Sun, 30 Jul 2017 03:01:42 -0700 (PDT) Original-Received: from ordenador31 ([148.56.209.29]) by smtp.gmail.com with ESMTPSA id y35sm6047215wrd.60.2017.07.30.03.01.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Jul 2017 03:01:41 -0700 (PDT) Mail-Followup-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <867eyqo06i.fsf@zoho.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::242 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:113912 Archived-At: Emanuel Berg wrote: > Héctor Lahoz wrote: > > > I saved a keyboard macro [...] > > Rewrite it an Elisp function and voilà probably > you can work out debugging without us :) Yes, it's not very long. But I wanted to do it quickly without programming. Then, what's the point of having keyboard macros? For the time being I came through by using <> ;; search-backward C-q ;; quoted-insert LFD ;; nroff-electric-newline C-q ;; quoted-insert LFD ;; nroff-electric-newline RET ;; newline instead of "backward-paragraph". I hate when programs don't behave as I expect. Especially with Emacs :-) Although most of the time it is because I don't understand them.