From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Newsgroups: gmane.emacs.help Subject: Re: cperl indentation question Date: Tue, 07 May 2013 17:57:48 +0200 Message-ID: <5189247C.7030509@easy-emacs.de> References: <1599192302.1010744.1367935960710.JavaMail.root@sz0186a.westchester.pa.mail.comcast.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367942166 2869 80.91.229.3 (7 May 2013 15:56:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 May 2013 15:56:06 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 07 17:56:05 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UZkFH-0007xv-HU for geh-help-gnu-emacs@m.gmane.org; Tue, 07 May 2013 17:56:03 +0200 Original-Received: from localhost ([::1]:48270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkFH-0007c9-7a for geh-help-gnu-emacs@m.gmane.org; Tue, 07 May 2013 11:56:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkEm-0007QG-I3 for help-gnu-emacs@gnu.org; Tue, 07 May 2013 11:55:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UZkEh-0002N4-Ut for help-gnu-emacs@gnu.org; Tue, 07 May 2013 11:55:32 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.9]:54392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UZkEh-0002Mw-MC for help-gnu-emacs@gnu.org; Tue, 07 May 2013 11:55:27 -0400 Original-Received: from [192.168.178.21] (brln-4dbc536e.pool.mediaWays.net [77.188.83.110]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0MHMTj-1UnCMX0hpj-00E3y2; Tue, 07 May 2013 17:55:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 In-Reply-To: <1599192302.1010744.1367935960710.JavaMail.root@sz0186a.westchester.pa.mail.comcast.net> X-Provags-ID: V02:K0:u5tD+4TfoZh5ThZQqrTAyZmuvpAr7qNGLGDt8GZTggY wbdlymGPd+iJImCW2QX3dOdGTiR6H3RzFC33o5gtTX9ivNWIUd AMMTkfjwPjcO9U53czK/kY8+A9GOkhRV+Thav5x3fZdO35ynXh GlJc2OvemAcVTNGjioiYIaTf89lIJ89cyA3uuljnrEey/MAPhP bukBh4selru6gyFkbMbXQmQsphx4n32WPXrRjoiIiVimw55Oc/ bm2kTiecEstO7RzMY5XCcBvg1z3EJAt+mLAXnh2SdItzFTnajZ alHWcTTDZVmr8zbIfHbkknXiEDEuLIszNHQEz2d89QKWyIEFyd wYrGe1YCHU/CrRDdqPdVe0JPYWWLPVoBXz6PR+hti X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.17.9 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90541 Archived-At: Am 07.05.2013 16:12, schrieb Mary-Anne Wolf: > I mean lining things up by hitting tab > and letting emacs work out the indentation, > in case I did not make that clear. > > > Hi Mary-Anne, had a look into, as delt with indents in python-mode. However, seems a non-trivial task to tweak the mode itself. May a command help you which call manually at this occasion? Something like: If previous line is an assignement, indent to beginning of RHS. Otherwise indent to the beginning of previous line. Interested? Best, Andreas