From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jerome L Quinn Newsgroups: gmane.emacs.bugs Subject: bug#20557: 24.4; electric-indent global mode is a regression Date: Tue, 12 May 2015 11:03:21 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431443137 16998 80.91.229.3 (12 May 2015 15:05:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2015 15:05:37 +0000 (UTC) To: 20557@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 12 17:05:20 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 1YsBkF-00020m-F1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 17:05:19 +0200 Original-Received: from localhost ([::1]:43512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBkE-0006pH-9a for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 May 2015 11:05:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBk4-0006n1-JW for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:05:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsBjz-0003uY-FJ for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:05:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBjz-0003uK-Cj for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:05:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YsBjy-0008Px-VF for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:05:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jerome L Quinn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 May 2015 15:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20557 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.143144305032287 (code B ref -1); Tue, 12 May 2015 15:05:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 May 2015 15:04:10 +0000 Original-Received: from localhost ([127.0.0.1]:42517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBj3-0008Oc-Te for submit@debbugs.gnu.org; Tue, 12 May 2015 11:04:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57546) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsBiy-0008O2-0A for submit@debbugs.gnu.org; Tue, 12 May 2015 11:04:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsBin-0003cf-Gk for submit@debbugs.gnu.org; Tue, 12 May 2015 11:03:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:54473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBin-0003cb-EA for submit@debbugs.gnu.org; Tue, 12 May 2015 11:03:49 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBij-0005g2-9N for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:03:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YsBic-0003Yw-Sz for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:03:45 -0400 Original-Received: from e18.ny.us.ibm.com ([129.33.205.208]:53145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YsBic-0003Ui-Mf for bug-gnu-emacs@gnu.org; Tue, 12 May 2015 11:03:38 -0400 Original-Received: from /spool/local by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 12 May 2015 11:03:29 -0400 Original-Received: from d01dlp01.pok.ibm.com (9.56.250.166) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 12 May 2015 11:03:27 -0400 Original-Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id BAD7738C8046 for ; Tue, 12 May 2015 11:03:26 -0400 (EDT) Original-Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t4CF3QGU39780558 for ; Tue, 12 May 2015 15:03:26 GMT Original-Received: from d01av03.pok.ibm.com (localhost [127.0.0.1]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t4CF3QGi010521 for ; Tue, 12 May 2015 11:03:26 -0400 Original-Received: from d01ml605.pok.ibm.com (d01ml605.pok.ibm.com [9.63.8.148]) by d01av03.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t4CF3QCS010494 for ; Tue, 12 May 2015 11:03:26 -0400 X-TNEFEvaluated: 1 X-MIMETrack: Serialize by Router on D01ML605/01/M/IBM(Release 9.0.1FP3HF144 | February 25, 2015) at 05/12/2015 11:03:26 AM, Serialize complete at 05/12/2015 11:03:26 AM X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15051215-0045-0000-0000-000000288FA6 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:102703 Archived-At: I see with emacs 24.4 that electric-indent mode is enabled globally by default. However, for some modes it seems like a major regression. In particular, it does strange things in fundamental and conf modes. If I create a temporary buffer, it comes up in fundamental mode. If I then type: a a a a I instead get a a a a which isn't anything like I'd expect, and I can't see how it's useful for anything. Thanks Jerry Quinn In GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1) of 2014-12-10 on ikm123l.watson.ibm.com Windowing system distributor `CentOS', version 11.0.11300000 System Description: CentOS release 6.6 (Final) Configured using: `configure --prefix=/ikm/77/ws' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t iswitchb-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: n l s / p / 1 2 1 1 / s / N L B 2 C-x 4 f N L B . C C-x C-f C-g C-g C-g C-x C-f N L B . H h N L B . C-s v i r t C-s C-a C-x C-x C-g C-a C-x 4 f N L B 2 C-x C-g C-g C-g C-x C-f C-g C-g C-x b t b l . c 1 C-x C-s C-x 4 f o u C-x 4 f f i X C-a C-x o C-s l o w C-s C-a C-x o C-x o C-x C-f c a p C-g C-g C-x C-f t o k c C-s i t e m C-s C-s C-s C-s C-s C-s C-s C-a C-a M-< M-g 6 7 C-l M-x e m a b u r e p o r e Recent messages: C-x C-g is undefined Quit [4 times] Saving file /nls/p/885/ws/data/libACE_models/tokenizer/ss10.dev/data/tbl.conf... Wrote /nls/p/885/ws/data/libACE_models/tokenizer/ss10.dev/data/tbl.conf Mark saved where search started Making completion list... Quit [2 times] Mark saved where search started Mark set [2 times] Making completion list... [2 times] Load-path shadows: None found. Features: (shadow sort emacsbug calc-bin two-column macros vc-annotate kmacro eieio-opt speedbar sb-image ezimage dframe find-func calc-math calc-arith calc-aent calc-yank js advice imenu calc-misc network-stream starttls tls mail-extr apropos cus-start cus-load ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff ruler-mode mule-util hl-line hexl eldoc iso-transl calc-alg calc-ext calc-menu calc calc-loaddefs calc-macs ffap url-parse auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util password-cache url-vars log-view etags rect novice dabbrev log-edit message sendmail format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log vc-cvs vc-rcs compare-w shell pcomplete grep compile help-mode misearch multi-isearch warnings info scheme tar-mode autoconf autoconf-mode vc-git vc-hg dcl-mode tempo sql view thingatpt noutline outline dired-aux nroff-mode nxml-uchnm rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok smerge-mode diff-mode easy-mmode sgml-mode modula2 python json comint ring ansi-color sh-script smie executable dired perl-mode conf-mode vc-dir ewoc vc cc-langs cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs vc-dispatcher vc-svn make-mode desktop frameset cl-loaddefs cl-lib saveplace jka-compr iswitchb time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 2161639 303459) (symbols 48 70155 0) (miscs 40 5204 15468) (strings 32 112106 26216) (string-bytes 1 3784707) (vectors 16 54128) (vector-slots 8 2481505 140496) (floats 8 218 714) (intervals 56 368628 10006) (buffers 960 1027) (heap 1024 437559 4878))