From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Kanis Newsgroups: gmane.emacs.sources,gmane.emacs.devel Subject: Electric command in sh mode Date: Thu, 01 Dec 2011 10:58:39 +0100 Message-ID: <87wraghauo.fsf@kanis.fr> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322733552 14960 80.91.229.12 (1 Dec 2011 09:59:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 09:59:12 +0000 (UTC) To: emacs sources , emacs devel Original-X-From: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Thu Dec 01 10:59:07 2011 Return-path: Envelope-to: gnu-gnu-emacs-sources@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RW3Q1-0007CS-O1 for gnu-gnu-emacs-sources@m.gmane.org; Thu, 01 Dec 2011 10:59:06 +0100 Original-Received: from localhost ([::1]:35371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW3Pw-0001Q9-CR for gnu-gnu-emacs-sources@m.gmane.org; Thu, 01 Dec 2011 04:59:00 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:44948) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW3Ps-0001Pt-KH for gnu-emacs-sources@gnu.org; Thu, 01 Dec 2011 04:58:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RW3Pr-0005eo-Dl for gnu-emacs-sources@gnu.org; Thu, 01 Dec 2011 04:58:56 -0500 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:38123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RW3Pi-0005VL-SS; Thu, 01 Dec 2011 04:58:47 -0500 Original-Received: by vcbfk26 with SMTP id fk26so1471333vcb.0 for ; Thu, 01 Dec 2011 01:58:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:subject:face:date:message-id:user-agent:mime-version :content-type; bh=uDHNMMMls1S9CGf4q5qNvNQ6IGTKC5cGe/kYj5eFbsg=; b=pHpQS8M0/m4qI5cjdV8X24TM+y8oFwqkDZHEPoNdwKt/q+goaasmhuB3apS8ovsKvr qecBJGVVA9BByoBBAX8iGg0dnI6RzhPG1Mtr0a2C7iZflX2G2asoaNCjvzI2QX891L/B JdoG8dTWhcqHwdhKic2dQLCLHxh79oD4LThQM= Original-Received: by 10.220.9.211 with SMTP id m19mr1074484vcm.46.1322733525470; Thu, 01 Dec 2011 01:58:45 -0800 (PST) Original-Received: from tao ([89.83.137.164]) by mx.google.com with ESMTPS id df14sm6170319vdb.0.2011.12.01.01.58.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 01 Dec 2011 01:58:44 -0800 (PST) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAAB5QTFRF IBkXUxMTOCwoTC4qcUY8iFxQmmper31txpaJ/v/8aKZ1oAAAAcVJREFUOMt100tu2zAQAFDCXnUZ oAcIqG68LZULVLQBbwuSiffm6AIRRyeotAySJoVu2+FPpJWWC3/4NKOZocSW/yxWfnJ2+Bdwzhj7 8gleWVy7DXC2rkMNr2V/zRbghXIwthf3VbIA9Ffc71vZCSFyCEsBggtNS8ludwvfmhYA0Vn9o4DP zMWxR7+cPWzAYFzwM0ModtdmcDbDS6i/hT7L+RZof5yCXGrYe5jn2YO6BYMjgY+51tCIAqHgBLwR pwLnGuRjAKyBJkuN4yd4U92uCY1vUr2D/c5b8DuxyQwfOHUeaLqDJhnkkuGXbB56h2C1IVBdgncc bBi6feroa9B6jUDojnQPQKupbyXyeeCE1oT7Oqrt+SnfY3mkiyGA/3AmD3H5g32CcBx6hY8pRkwJ 9PpcjRGobUfprFnhAa1vepwcgMOhwG+pdSgKHFU9HAvoAH6XUl7lDUCCq5Qb6GMbVm3Aj++qDYCt wdBc/YHgOFCmS3mjDMRcSE2qY4E3Q3PVIQRQmeodNH4QEbRUFZzW+VotzwX4yTcRTySOML1qjcE5 hTirVqDHkMAP0PjAywp3d18JZtqzvr9zDYD+GaSKtE6Zlr/DLPNFmOcvBAAAAABJRU5ErkJggg== User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: gnu-emacs-sources@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GNU Emacs source code postings and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Original-Sender: gnu-emacs-sources-bounces+gnu-gnu-emacs-sources=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.sources:3594 gmane.emacs.devel:146385 Archived-At: Hi, I have implemented electric command for shell script. It will re indent when entering '}', 'fi', 'done', etc.. If there is interest I can write a patch to include it in emacs proper. http://kanis.fr:/vcs/emacs/init/ivan-shell.el -- Ivan Kanis http://kanis.fr When faced with a challenge, look for a way, not a way out. -- David Weatherford