From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3226: here-document syntax inference and completion is broken Date: Tue, 05 May 2009 23:36:20 -0400 Message-ID: References: <4A00BA64.7080700@phox.ca> Reply-To: Stefan Monnier , 3226@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1241581938 18266 80.91.229.12 (6 May 2009 03:52:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 May 2009 03:52:18 +0000 (UTC) Cc: 3226@emacsbugs.donarmstrong.com To: Paul Nienaber Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 06 05:52:08 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M1YAx-0003BO-UE for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 May 2009 05:52:08 +0200 Original-Received: from localhost ([127.0.0.1]:39095 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1YAw-00006A-VD for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 May 2009 23:52:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1YAr-00005v-OJ for bug-gnu-emacs@gnu.org; Tue, 05 May 2009 23:52:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1YAn-00005T-Qc for bug-gnu-emacs@gnu.org; Tue, 05 May 2009 23:52:01 -0400 Original-Received: from [199.232.76.173] (port=39588 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1YAn-00005P-Jz for bug-gnu-emacs@gnu.org; Tue, 05 May 2009 23:51:57 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33890) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M1YAm-0006gK-Lz for bug-gnu-emacs@gnu.org; Tue, 05 May 2009 23:51:57 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n463prIs016406; Tue, 5 May 2009 20:51:54 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n463e6vQ012696; Tue, 5 May 2009 20:40:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 06 May 2009 03:40:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3226 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3226-submit@emacsbugs.donarmstrong.com id=B3226.124158099012413 (code B ref 3226); Wed, 06 May 2009 03:40:06 +0000 Original-Received: (at 3226) by emacsbugs.donarmstrong.com; 6 May 2009 03:36:30 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n463aQ2Y012406 for <3226@emacsbugs.donarmstrong.com>; Tue, 5 May 2009 20:36:28 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUFABKiAErO+IYe/2dsb2JhbACBUM1jhAEFhU4 X-IronPort-AV: E=Sophos;i="4.40,301,1238990400"; d="scan'208";a="38052017" Original-Received: from 206-248-134-30.dsl.teksavvy.com (HELO ceviche.home) ([206.248.134.30]) by ironport2-out.teksavvy.com with ESMTP; 05 May 2009 23:36:20 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id A34EFB523F; Tue, 5 May 2009 23:36:20 -0400 (EDT) In-Reply-To: <4A00BA64.7080700@phox.ca> (Paul Nienaber's message of "Tue, 05 May 2009 15:15:00 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 05 May 2009 23:52:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27736 Archived-At: > A default emacs install will complete with "EOF\n\nEOF" (in a more > clever fashion so the rest of the line is undisturbed), and place the > cursor on the new blank line. This is incorrect behaviour, as it > breaks entry of BASH here-strings when the user's intent is > still ambiguous. Thanks for your report. Indeed, sh-mode does not know about here-strings at all. I guess waiting for "<<[^<]" is a good idea. Patches welcome for Emacs-23.2. Stefan