From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard H Lee Newsgroups: gmane.emacs.help Subject: multiline auto-indent in python-mode Date: Fri, 22 Nov 2013 01:48:35 +0000 Message-ID: <528EB7F3.5010907@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385087514 21654 80.91.229.3 (22 Nov 2013 02:31:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Nov 2013 02:31:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 22 03:31:59 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 1VjgXH-0006Nj-CX for geh-help-gnu-emacs@m.gmane.org; Fri, 22 Nov 2013 03:31:59 +0100 Original-Received: from localhost ([::1]:36369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VjgXH-0006qo-0K for geh-help-gnu-emacs@m.gmane.org; Thu, 21 Nov 2013 21:31:59 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjfs6-0003iF-UK for help-gnu-emacs@gnu.org; Thu, 21 Nov 2013 20:49:35 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vjfry-0004UA-Dy for help-gnu-emacs@gnu.org; Thu, 21 Nov 2013 20:49:26 -0500 Original-Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:38042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vjfry-0004Tw-7z for help-gnu-emacs@gnu.org; Thu, 21 Nov 2013 20:49:18 -0500 Original-Received: by mail-wg0-f54.google.com with SMTP id y10so559863wgg.9 for ; Thu, 21 Nov 2013 17:49:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=QzUqGABIhZReq40f3tsOSqUIY+82pvEVu9sA9XIGkG0=; b=P87innlFiuNgS8m1H84gVuQRflWN3zin/FRIOxFGquZwmKN4PD08JizQuokFqY4Nn2 lkC2qYtXTac54yEs5NYkk863pCDFO1o2a1zCjxKd5LkDTxEdpi3BnYd0GKngcbAmyuSJ cVhyt3Z55q9+Cq6pCxejoKW8XHsujUdJteruA7aviW9mh5DCQVCm1VPHQl+xxmQUfY+h YiWo/gLxtqHxf7JkM6BuzafqOxrIg4LmGfvL4CycgUZuIF/UJlGiXJYuZ0A2sFsOskyW scqTIEnT//ueOW9GimHSpw16A6NgS/Q0/HxE8eDdmdKPG6u5EQuxzMwZ6fjhPeCOE8cB XhFw== X-Received: by 10.180.24.137 with SMTP id u9mr452242wif.5.1385084957241; Thu, 21 Nov 2013 17:49:17 -0800 (PST) Original-Received: from [192.168.1.136] ([149.241.162.254]) by mx.google.com with ESMTPSA id w20sm10781291wia.5.2013.11.21.17.49.16 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 17:49:16 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::236 X-Mailman-Approved-At: Thu, 21 Nov 2013 21:31:48 -0500 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:94563 Archived-At: I'm using emacs 24.3.1 on cygwin64. When in python mode I have a multiline section of code within a parenthesis, say: print next(a for b in c if b = d) If my cursor is at between 'd' and ')' and I hit space, emacs will indent the line I am on to the position of the opening parenthsis on the line above. Like so: print next(a for b in c if b = d ) I just want python mode to not do any indentation as I have set up my own identation behaviour. I tried setting python-mode-map to a fresh keymap, but it doesn't make any difference.