From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Petr Hracek Newsgroups: gmane.emacs.bugs Subject: bug#20547: emacs-24.5 problem with indent-mode Date: Mon, 11 May 2015 13:18:16 +0200 Message-ID: <55508FF8.2020305@redhat.com> 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 1431343164 2741 80.91.229.3 (11 May 2015 11:19:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 May 2015 11:19:24 +0000 (UTC) To: 20547@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 11 13:19:13 2015 Return-path: Envelope-to: geb-bug-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 1Yrljt-0006rl-3n for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 May 2015 13:19:13 +0200 Original-Received: from localhost ([::1]:36560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrljr-0007nq-VR for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 May 2015 07:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37503) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrljo-0007nk-J0 for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:19:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrljj-0002wB-3S for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:19:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrljj-0002w5-1W for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yrlji-00036F-SM for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Petr Hracek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 May 2015 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20547 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143134311611878 (code B ref -1); Mon, 11 May 2015 11:19:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 May 2015 11:18:36 +0000 Original-Received: from localhost ([127.0.0.1]:40625 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrljH-00035U-6R for submit@debbugs.gnu.org; Mon, 11 May 2015 07:18:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52088) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrljE-00035G-8R for submit@debbugs.gnu.org; Mon, 11 May 2015 07:18:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrlj8-0002WR-7Q for submit@debbugs.gnu.org; Mon, 11 May 2015 07:18:27 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrlj8-0002WL-4m for submit@debbugs.gnu.org; Mon, 11 May 2015 07:18:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37361) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrlj7-0007mM-1I for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:18:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yrlj2-0002QN-3Q for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:18:24 -0400 Original-Received: from mx1.redhat.com ([209.132.183.28]:38473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yrlj1-0002PN-TS for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 07:18:20 -0400 Original-Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t4BBIIgR032116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 11 May 2015 07:18:18 -0400 Original-Received: from [10.34.4.133] (unused-4-133.brq.redhat.com [10.34.4.133]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t4BBIHn0022605 for ; Mon, 11 May 2015 07:18:18 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102659 Archived-At: Hi folks, I have discovered an issue with Python indent-mode. If I open a Python code and write 'def some_func:' and hit C-j then emacs did not pass any indentation (e.g. 4 spaces). When I turned of electrict-indent-mode then the issue is fixed. I have already asked for that, I guess. But I am not pretty sure. Did you discover this issue? My .emacs file look like this: (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(inhibit-startup-screen t)) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. ) (autoload 'rpm-spec-mode "rpm-spec-mode.el" "RPM spec mode." t) (setq auto-mode-alist (append '(("\\.spec" . rpm-spec-mode)) auto-mode-alist)) (defun my-rpm-changelog-increment-version() (interactive) (goto-char (point-min)) (let * ((max (search-forward-regexp rpm-section-regexp)) (version (rpm-spec-field-value "Version" max))) (rpm-add-change-log-entry (concat "Upgrade version to " version)) )) -- Petr Hracek Software Engineer Developer Experience Red Hat, Inc Mob: +420777056169 email: phracek@redhat.com