From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Brockman Newsgroups: gmane.emacs.devel Subject: Re: sh-here-document-word should be customizable Date: Mon, 02 May 2005 18:33:26 +0200 Message-ID: <878y2xegfd.fsf@wigwam.deepwood.net> References: <4n8y3ubjkd.fsf@lifelogs.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115053475 22589 80.91.229.6 (2 May 2005 17:04:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 2 May 2005 17:04:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 02 19:04:30 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1DSeLN-0002bQ-00 for ; Mon, 02 May 2005 19:04:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSeSJ-0003bl-R4 for ged-emacs-devel@m.gmane.org; Mon, 02 May 2005 13:11:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DSe6O-0000zG-Mo for emacs-devel@gnu.org; Mon, 02 May 2005 12:49:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DSe1F-00077C-Fc for emacs-devel@gnu.org; Mon, 02 May 2005 12:43:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DSdrp-0003BH-Vp for emacs-devel@gnu.org; Mon, 02 May 2005 12:33:57 -0400 Original-Received: from [80.91.229.2] (helo=ciao.gmane.org) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1DSdsw-0006lo-9C for emacs-devel@gnu.org; Mon, 02 May 2005 12:35:06 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1DSdgy-00080H-2u for emacs-devel@gnu.org; Mon, 02 May 2005 18:22:44 +0200 Original-Received: from c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se ([213.112.182.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2005 18:22:44 +0200 Original-Received: from daniel by c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 May 2005 18:22:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 18 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-54b670d5.028-10-67766c2.cust.bredbandsbolaget.se X-Face: :&2UWGm>e24)ip~'K@iOsA&JT3JX*v@1-#L)=dUb825\Fwg#`^N!Y*g-TqdS AevzjFJe96f@V'ya8${57/T'"mTd`1o{TGYhHnVucLq!D$r2O{IN)7>.0op_Y`%r;/Q +(]`3F-t10N7NF\.Mm0q}p1:%iqTi:5]1E]rDF)R$9.!,Eu'9K':y9^U3F8UCS1M+A$ 8[[[WT^`$P[vu>P+8]aQMh9giu&fPCqLW2FSsGs User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:GbsIRWduiMYxHeEs/yd1urwK/Vw= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36583 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36583 Kevin Rodgers writes: > I don't know about most users, but I find it annoying that: > > 1. The "EOF\n\nEOF" string is inserted and point is moved between the > newlines, as soon as I type "<<". I almost always use the "<<-" > syntax, so that I can indent the here document between the command > and terminating word by tabs for readability. Could > sh-maybe-here-document be enhanced to wait (say 1 second) for a `-' > input event before inserting the template, and then insert a tab > before point if it sees the `-'? The auto-insert behavior is extremely irritating when you are trying to use the <<< syntax (as implemented by bash). I think it should be possible to turn the feature off. -- Daniel Brockman