From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 12 20:41:06 2012 Received: (at submit) by debbugs.gnu.org; 13 Aug 2012 00:41:06 +0000 Received: from localhost ([127.0.0.1]:52117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0iiQ-0001eu-Dv for submit@debbugs.gnu.org; Sun, 12 Aug 2012 20:41:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52697) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T0iiO-0001en-Sj for submit@debbugs.gnu.org; Sun, 12 Aug 2012 20:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0iaA-0000Fq-KN for submit@debbugs.gnu.org; Sun, 12 Aug 2012 20:32:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0iaA-0000Fm-Gk for submit@debbugs.gnu.org; Sun, 12 Aug 2012 20:32:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60583) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0ia8-0001Tj-9v for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 20:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T0ia6-0000FS-98 for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 20:32:32 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:59447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T0ia6-0000FO-2U for bug-gnu-emacs@gnu.org; Sun, 12 Aug 2012 20:32:30 -0400 Received: by pbbro12 with SMTP id ro12so7015038pbb.0 for ; Sun, 12 Aug 2012 17:32:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:x-debbugs-cc:date:message-id:mime-version :content-type; bh=Hn9lAAK4dtxFVJ0Kku0BN98YOuE1yMrGGhcyXOVp6UM=; b=YukVWgU59SN407t92cDbrywzLeKORZjgzLA/d51Ggpsb551vWj8z8ONm7nHPO9hMQ9 baF9gWRE1NbLNJ0Vwws9pYWTV7V2Q6ZTn4GFOCobVTAIVUgJfH6hn14e4+kfQzkTavNJ BfUySE8cmOZG2Toc+MCGsOqT5JHKJGs8DYOEmq6emGQDsmkLelhPiV6+qnH5aiz+vR+i wt/QI5P1zeLbW31QHnm1aHAaAuNgVsp0ypBZD0pKr+EVMqmJPmOtwU5UPQvLSlr0BwyE nAJLNeqIm0273PidTaJ8znpb+CL7mypVYr2zt3kC8B8CwGQlZRRT/d34dG4KzU0S8Cy4 7kpw== Received: by 10.68.217.202 with SMTP id pa10mr15288908pbc.15.1344817949088; Sun, 12 Aug 2012 17:32:29 -0700 (PDT) Received: from localhost ([119.255.41.67]) by mx.google.com with ESMTPS id tv6sm4197561pbc.24.2012.08.12.17.32.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 17:32:28 -0700 (PDT) From: Leo To: bug-gnu-emacs@gnu.org Subject: 24.1; awk-mode eletric { incorrectly inserts newline X-Debbugs-CC: bug-cc-mode@gnu.org Date: Mon, 13 Aug 2012 08:32:18 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 1. emacs -q x.awk 2. C-c C-a to enable auto-newline mode 3. Type: NR==3 { You should see { starts at a new line instead of following NR==3, i.e. { helps creating incorrect awk programs. Leo From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 15 10:55:28 2012 Received: (at 12188) by debbugs.gnu.org; 15 Aug 2012 14:55:28 +0000 Received: from localhost ([127.0.0.1]:59216 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1f0K-0004z7-0M for submit@debbugs.gnu.org; Wed, 15 Aug 2012 10:55:28 -0400 Received: from colin.muc.de ([193.149.48.1]:20472 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1f0H-0004yy-H3 for 12188@debbugs.gnu.org; Wed, 15 Aug 2012 10:55:26 -0400 Received: (qmail 19560 invoked by uid 3782); 15 Aug 2012 14:46:40 -0000 Received: from acm.muc.de (pD955724F.dip.t-dialin.net [217.85.114.79]) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 15 Aug 2012 16:46:38 +0200 Received: (qmail 4046 invoked by uid 1000); 15 Aug 2012 14:42:33 -0000 Date: Wed, 15 Aug 2012 14:42:33 +0000 To: Leo Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline Message-ID: <20120815144233.GA4016@acm.acm> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12188 Cc: bug-cc-mode@gnu.org, 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hello, Leo, On Mon, Aug 13, 2012 at 08:32:18AM +0800, Leo wrote: > 1. emacs -q x.awk > 2. C-c C-a to enable auto-newline mode > 3. Type: NR==3 { > You should see { starts at a new line instead of following NR==3, i.e. { > helps creating incorrect awk programs. The current assumption is that the "{" starts the action for the pattern "NR==3". Although the implicit action (i.e., print the line) isn't rare, having such a line followed by the implicit pattern (i.e., match everything) is surely uncommon enough not to make it the default assumption. I think this default is fine as it is. It is, of course, possible to configure auto newlines to behave as you suggest. > Leo -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 15 13:50:34 2012 Received: (at 12188) by debbugs.gnu.org; 15 Aug 2012 17:50:34 +0000 Received: from localhost ([127.0.0.1]:59450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1hjl-0001S5-RQ for submit@debbugs.gnu.org; Wed, 15 Aug 2012 13:50:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:47585) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1hjk-0001Rs-1p for 12188@debbugs.gnu.org; Wed, 15 Aug 2012 13:50:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1T1hbE-0001Am-TX; Wed, 15 Aug 2012 13:41:45 -0400 From: Glenn Morris To: Alan Mackenzie Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline References: <20120815144233.GA4016@acm.acm> X-Spook: AIEWS cryptanalysis MD5 weapons of mass destruction X-Ran: ){YC!Aa{bO,a{3,U/,[Swrbe' User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: 12188 Cc: Leo , 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Alan Mackenzie wrote: > The current assumption is that the "{" starts the action for the pattern > "NR==3". I think that's his point (it sure would be helpful to get less terse bug reports). awk-mode is not consistent with that assumption. cat foo.awk: #!/usr/bin/gawk -f NF == 3 { print "three fields" } chmod 755 foo.awk echo "1 2" | ./foo.awk -> three fields To work correctly, it needs to be either: NF == 3 \ { print "three fields" } or NF == 3 { print "three fields" } From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 15 18:53:18 2012 Received: (at 12188) by debbugs.gnu.org; 15 Aug 2012 22:53:19 +0000 Received: from localhost ([127.0.0.1]:59812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1mSj-0008MT-73 for submit@debbugs.gnu.org; Wed, 15 Aug 2012 18:53:17 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:43479) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1mSd-0008MG-Ph for 12188@debbugs.gnu.org; Wed, 15 Aug 2012 18:53:13 -0400 Received: by pbbrr4 with SMTP id rr4so584319pbb.3 for <12188@debbugs.gnu.org>; Wed, 15 Aug 2012 15:44:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=eZuVpnH2363pXDl6fX0GZC59UR1CmKnxqqz47LoHUE8=; b=vLUpAADFfiI2BdEVHNoiMPOCF6w7du6UhLx3396A6Ry5HosM0iNc0VlPV5rAjuw3RY dyXE0V//xft47IKBomICmzPE6Xe43oTT9fcgF4/+tVP9fTPCbMj56x4BiYu8tYJY4ZUU GSJbrOuRFtPB3Mu5UykpA9dK7aj6iPWkzj2lUqSOhsUYbTQ6AZ4sMaOhCkUyW916jyCB /IpwcGcFGACi0whSKgg8Ef5cpyharympggPM4CEzEXIS+w1JBugPfCWBVstNgxES85Dy dVJPTBC7ICAupyyiqkF6vwAibjR9Dbo8i/nTvdUAmbdmlcepycBu+NNMSSVXJ+xdLrG2 IxzQ== Received: by 10.66.79.195 with SMTP id l3mr27864772pax.33.1345070663732; Wed, 15 Aug 2012 15:44:23 -0700 (PDT) Received: from Zeuss-MacBook.local ([123.123.253.166]) by mx.google.com with ESMTPS id iu10sm1240891pbc.45.2012.08.15.15.44.20 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 15 Aug 2012 15:44:22 -0700 (PDT) From: Leo To: Alan Mackenzie Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline References: <20120815144233.GA4016__1127.2007170648$1345042054$gmane$org@acm.acm> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= Date: Thu, 16 Aug 2012 06:44:27 +0800 In-Reply-To: <20120815144233.GA4016__1127.2007170648$1345042054$gmane$org@acm.acm> (Alan Mackenzie's message of "Wed, 15 Aug 2012 14:42:33 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (OS X 10.8) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12188 Cc: 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 2012-08-15 22:42 +0800, Alan Mackenzie wrote: > The current assumption is that the "{" starts the action for the pattern > "NR==3". syntax after NR==3 is not recognised as `defun-open' which causes { to be inserted in a new line. I think there is a bug somewhere (probably c-guess-basic-syntax) regarding this. Leo From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 17 17:18:21 2012 Received: (at 12188) by debbugs.gnu.org; 17 Aug 2012 21:18:21 +0000 Received: from localhost ([127.0.0.1]:35942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2Tvw-0004tL-QF for submit@debbugs.gnu.org; Fri, 17 Aug 2012 17:18:21 -0400 Received: from colin.muc.de ([193.149.48.1]:30827 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2Tvu-0004tC-6N for 12188@debbugs.gnu.org; Fri, 17 Aug 2012 17:18:19 -0400 Received: (qmail 25730 invoked by uid 3782); 17 Aug 2012 21:09:19 -0000 Received: from acm.muc.de (pD951BEC6.dip.t-dialin.net [217.81.190.198]) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 17 Aug 2012 23:09:17 +0200 Received: (qmail 4370 invoked by uid 1000); 17 Aug 2012 21:05:09 -0000 Date: Fri, 17 Aug 2012 21:05:09 +0000 To: Leo Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline Message-ID: <20120817210509.GA4270@acm.acm> References: <20120815144233.GA4016__1127.2007170648$1345042054$gmane$org@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12188 Cc: bug-cc-mode@gnu.org, Glenn Morris , 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hello, Leo and Glenn. On Thu, Aug 16, 2012 at 06:44:27AM +0800, Leo wrote: > On 2012-08-15 22:42 +0800, Alan Mackenzie wrote: > > The current assumption is that the "{" starts the action for the pattern > > "NR==3". I got confused by the "should" in your original report. Sorry. Yes, it is a bug, and thanks for the report. > syntax after NR==3 is not recognised as `defun-open' which causes { to > be inserted in a new line. I think there is a bug somewhere (probably > c-guess-basic-syntax) regarding this. In AWK Mode, the recognition of a beginning-of-defun (for C-M-a) is done heuristically. c-guess-b-s can't detect an AWK defun-open. Which all means the solution will be messy and heuristic too. . > Leo -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 18 16:02:15 2012 Received: (at 12188) by debbugs.gnu.org; 18 Aug 2012 20:02:15 +0000 Received: from localhost ([127.0.0.1]:37838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2pDq-0007j3-Sl for submit@debbugs.gnu.org; Sat, 18 Aug 2012 16:02:15 -0400 Received: from colin.muc.de ([193.149.48.1]:19024 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2pDn-0007iu-L0 for 12188@debbugs.gnu.org; Sat, 18 Aug 2012 16:02:12 -0400 Received: (qmail 40938 invoked by uid 3782); 18 Aug 2012 20:02:06 -0000 Received: from acm.muc.de (pD955711B.dip.t-dialin.net [217.85.113.27]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 18 Aug 2012 22:02:04 +0200 Received: (qmail 3826 invoked by uid 1000); 18 Aug 2012 19:57:55 -0000 Date: Sat, 18 Aug 2012 19:57:55 +0000 To: Leo Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline Message-ID: <20120818195755.GA3778@acm.acm> References: <20120815144233.GA4016__1127.2007170648$1345042054$gmane$org@acm.acm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12188 Cc: Glenn Morris , 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hello, Leo. On Thu, Aug 16, 2012 at 06:44:27AM +0800, Leo wrote: > On 2012-08-15 22:42 +0800, Alan Mackenzie wrote: > > The current assumption is that the "{" starts the action for the pattern > > "NR==3". > syntax after NR==3 is not recognised as `defun-open' which causes { to > be inserted in a new line. I think there is a bug somewhere (probably > c-guess-basic-syntax) regarding this. It wasn't as bad as I thought. Other patterns (not involving "==") correctly insert a newline _after_ (not before) a "{" is typed. c-guess-basic-syntax was mis-parsing the "==" as an equals sign, hence parsed the "{" as a brace-block opener rather than defun-open. This patch should fix it. Would you try it out, please, and report back. Thanks! diff -r 1adcc48506f9 cc-cmds.el --- a/cc-cmds.el Sun Apr 22 09:42:29 2012 +0000 +++ b/cc-cmds.el Sat Aug 18 19:41:01 2012 +0000 @@ -495,13 +495,16 @@ (insert-char ?\n 1) ;; In AWK (etc.) or in a macro, make sure this CR hasn't changed ;; the syntax. (There might already be an escaped NL there.) - (when (or (c-at-vsemi-p (1- (point))) - (let ((pt (point))) - (save-excursion - (backward-char) - (and (c-beginning-of-macro) - (progn (c-end-of-macro) - (< (point) pt)))))) + (when (or + (save-excursion + (c-skip-ws-backward (c-point 'bopl)) + (c-at-vsemi-p)) + (let ((pt (point))) + (save-excursion + (backward-char) + (and (c-beginning-of-macro) + (progn (c-end-of-macro) + (< (point) pt)))))) (backward-char) (insert-char ?\\ 1) (forward-char)) diff -r 1adcc48506f9 cc-engine.el --- a/cc-engine.el Sun Apr 22 09:42:29 2012 +0000 +++ b/cc-engine.el Sat Aug 18 19:41:01 2012 +0000 @@ -9606,12 +9606,12 @@ (setq tmpsymbol nil) (while (and (> (point) placeholder) (zerop (c-backward-token-2 1 t)) - (/= (char-after) ?=)) + (not (looking-at "=\\([^=]\\|$\\)"))) (and c-opt-inexpr-brace-list-key (not tmpsymbol) (looking-at c-opt-inexpr-brace-list-key) (setq tmpsymbol 'topmost-intro-cont))) - (eq (char-after) ?=)) + (looking-at "=\\([^=]\\|$\\)")) (looking-at c-brace-list-key)) (save-excursion (while (and (< (point) indent-point) > Leo -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 18 20:54:42 2012 Received: (at 12188) by debbugs.gnu.org; 19 Aug 2012 00:54:43 +0000 Received: from localhost ([127.0.0.1]:38007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2tms-0005hT-KA for submit@debbugs.gnu.org; Sat, 18 Aug 2012 20:54:42 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:55126) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T2tmp-0005hL-Bc for 12188@debbugs.gnu.org; Sat, 18 Aug 2012 20:54:40 -0400 Received: by pbbrr4 with SMTP id rr4so6547975pbb.3 for <12188@debbugs.gnu.org>; Sat, 18 Aug 2012 17:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=sjj5AM1pzUPV6BGE43uUDCP9HcdiM/Rh/zHA4QKM0Oc=; b=zoso8h8/PZdGjFeLQGAWPUrs3ZdTN5L9XCL5tmenp0Qd1TTyEGrtnruWSJ1tKwq7eu 6ywNh4tOCPMOUnODnO3H6os9Hrqn0szObyajAqhMmkCvBTKyWTQnWzN9Jj9IPSUZM98x luM/rMUSX8w6b48SORrj8BCEfj+FJKn8Vbot2MUPuGELT5BUfuEocp4yE7epDv85mx2k qKLwRbh1ZBUvDqZY1GvLzwCYwU7zv/ACjBZYhvo5dy0EUZDXt0GJpVthxLYwKO01ThMj EVyNSUdVjuMuX8o8BV3Uv8Bm0QsOkxe9fOaG+cp1OUr00N8W5fiQ8l4VgOIknkf213np /Fgw== Received: by 10.68.132.230 with SMTP id ox6mr7533204pbb.116.1345337672556; Sat, 18 Aug 2012 17:54:32 -0700 (PDT) Received: from localhost ([123.114.56.118]) by mx.google.com with ESMTPS id kt8sm7972921pbc.1.2012.08.18.17.54.28 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 18 Aug 2012 17:54:31 -0700 (PDT) From: Leo To: Alan Mackenzie Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline References: <20120815144233.GA4016__1127.2007170648$1345042054$gmane$org@acm.acm> <20120818195755.GA3778@acm.acm> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Date: Sun, 19 Aug 2012 08:54:21 +0800 In-Reply-To: <20120818195755.GA3778@acm.acm> (Alan Mackenzie's message of "Sat, 18 Aug 2012 19:57:55 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12188 Cc: 12188@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On 2012-08-19 03:57 +0800, Alan Mackenzie wrote: > This patch should fix it. Would you try it out, please, and report back. > Thanks! It worked. Thanks. Leo From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 16 18:45:28 2012 Received: (at 12188-done) by debbugs.gnu.org; 16 Sep 2012 22:45:28 +0000 Received: from localhost ([127.0.0.1]:37622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDNah-0002pn-Uh for submit@debbugs.gnu.org; Sun, 16 Sep 2012 18:45:28 -0400 Received: from mail-pb0-f44.google.com ([209.85.160.44]:35501) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TDNaf-0002pf-8g for 12188-done@debbugs.gnu.org; Sun, 16 Sep 2012 18:45:25 -0400 Received: by pbbrr4 with SMTP id rr4so8416042pbb.3 for <12188-done@debbugs.gnu.org>; Sun, 16 Sep 2012 15:44:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=UBFS+ljaLvl/SrshIZyFbPd85Xr2w6Uf45Pt+Qpkyl8=; b=0S85HiKL9po1DrgMsTr+2QjkV6cCUi93vTF+iZ9G3RvwRp5KmCj0dR/EEl67oTFOL5 fZ0Ftr0HxH//Eh0t5pY3R7F82awxqk1xS7CZ/7EYsstI7W8nE9gGr2cQKGPvdEdyZvmk KJyh6vs50a+CKc1PhoiL8YjqR7WRiaRpZQtWYI4XFKRnv2ONLpB1W3/E+WWPI5DU91Qi kmtriS+WjxrCPBZHr7aZNQscGvorvdLS8gppb+yNxNgaFUVOAUAnIqPRiKVU83/ypXKx 8bkEXjBIaVdgjJ8jd3QRDys09vOeueHq12jcXKp4+4aTvdYqU6iFemFmRvlZHPMiuZt0 0hjw== Received: by 10.66.75.74 with SMTP id a10mr16485293paw.46.1347835453670; Sun, 16 Sep 2012 15:44:13 -0700 (PDT) Received: from localhost ([182.48.111.218]) by mx.google.com with ESMTPS id it6sm5810597pbc.14.2012.09.16.15.44.10 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 16 Sep 2012 15:44:12 -0700 (PDT) From: Leo To: 12188-done@debbugs.gnu.org Subject: Re: bug#12188: 24.1; awk-mode eletric { incorrectly inserts newline References: Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoAgMAAADxkFD+AAAADFBMVEUvT09qWs3/pQD///+J kUVcAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMLOd3veKQA AACuSURBVBjTldE9CgIxEAXgB+lEyFUC2wo5ikdZ8DSypxhMY7H9VuIVwlqkGRgnm59VsHGafIQ3 CZlAtmKIRaHETgYa12lqvEsPYKf8wXHsPGfqPaUM0g9aJPKFXkmNQmSDqwzz4Fpgpz+6WAPY2z5o uPJJpu0uypcl4nyCibMLQ8lCiVjayLoQvw5LsVKQuHPRR958HZbOcVsKeepcLxpByjycGvnKmY+c MBvrtyjfe0vmuLvdq/kAAAAASUVORK5CYII= Date: Mon, 17 Sep 2012 06:44:07 +0800 In-Reply-To: (Leo's message of "Mon, 13 Aug 2012 08:32:18 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (OS X 10.8.1) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 12188-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Already fixed; closing. From unknown Fri Aug 15 19:36:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 15 Oct 2012 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator