From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Shyam Nath Newsgroups: gmane.emacs.help Subject: Re: Is this a bug, the esoteric Elisp way? Date: Wed, 11 Sep 2019 05:43:32 +1000 Message-ID: <16d1cb3dad8.ff2c99b5695937.4460076607926595963@shyam.id.au> References: <16d1c400080.ecf1fcbb676917.8334134485677904590@shyam.id.au> <16d1c7b33db.e1bef1ec686755.5085069733670395488@shyam.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="94098"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Zoho Mail Cc: help-gnu-emacs To: "Noam Postavsky" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 10 21:53:53 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i7mD2-000OEf-Co for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Sep 2019 21:53:53 +0200 Original-Received: from localhost ([::1]:44660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7mCw-00060p-2N for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Sep 2019 15:53:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32787) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7m3C-0003QK-Ay for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:43:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7m3A-0003o0-QJ for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:43:42 -0400 Original-Received: from sender4-of-o54.zoho.com ([136.143.188.54]:21431) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i7m3A-0003nF-AN for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:43:40 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1568144614; cv=none; d=zoho.com; s=zohoarc; b=Jcy8tQV7E4tbqm6N+ybLLoDHDWif6O/HhNMt6pHtJm1RE/hwjVk6eqm03MLzEJXz6jUTQJ4yVuvNrzJfszxoluL6PgnEuf5mDFKa1G7mkagAOf964o/rXsd1JAfh+wohFIS5qbZ78I/sE2u92Sh1JOsjH+fDj9fJ1glU+W5MPgk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1568144614; h=Content-Type:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=uDxX0gv7FPljLKpi7y3y5AKkJza7WHslVLldoLOJGtE=; b=iE1dEkj5ffS5IHbIwLcvrnVc62gJZhZxVectUM+gVgPCpQMQ9YFh09UthdKlJLbhbAZ9eFYFH0lYP5G8VizU/VDlYiat1dRVERtLa15PYhR7CtXTCZeC+HmgbbDh7TGgF7WklKx1c7XYXiVb4s62UTTmdPIPVBm5aPYnNGlvQjs= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=shyam.id.au; spf=pass smtp.mailfrom=shyam@shyam.id.au; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1568144614; s=zoho; d=shyam.id.au; i=shyam@shyam.id.au; h=Date:From:To:Cc:Message-Id:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=5181; bh=uDxX0gv7FPljLKpi7y3y5AKkJza7WHslVLldoLOJGtE=; b=ArVTh9gzIzW1skyshwf9zaJaUVMI7d+rXbi5oRsHHDUB1Hf8B/Q7Vl6vSkrSCxJi QGf3t3/6XgtDz75TD19ZyCYtlfYaBlKQ3KN6HEk7SO+/34D2DB/5rkiDha7Xz4VZXc0 EEbW9Ms8EyjGvSal/20E67p+RxiSC/GhCb2lNvtU= Original-Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1568144612059178.97412451946172; Tue, 10 Sep 2019 12:43:32 -0700 (PDT) In-Reply-To: X-Priority: Medium X-Mailer: Zoho Mail X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 136.143.188.54 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.help:121506 Archived-At: =F0=9F=96=96 Hello Noam, Thanks, I've changed it in my init.el file, but the way I was doing it befo= re also worked; `C-h f electric-indent-mode` in 26.1 doesn't include any of= that for me. LIVE LONG AND PROSPER \V/, AGENT S. =F0=9F=95=B4 Migrating Infestive Bugs !! ---- On Wed, 11 Sep 2019 05:10:52 +1000 Noam Postavsky = wrote ---- On Tue, 10 Sep 2019 at 14:42, Shyam Nath wrote:= =20 =20 > So `(setq electric-indent-mode nil)` disables it, and I thought it also d= isables all tabbing; this seems disabled in Elisp, but not plain text files= , and http://ergoemacs.org/emacs/emacs_tabs_space_indentation_setup.html pa= tches it. The documentation for electric-indent-mode says "If called from L= isp, enable the mode if ARG is omitted or nil.", but nil disables it; /impl= ementation|typographical/ bug.=20 =20 The documentation you refer to is about the function, i.e.,=20 `(electric-indent-mode)` or `(electric-indent-mode nil)` will enable=20 the mode. Use `(electric-indent-mode -1)` to disable it.=20 =20 Using setq on the variable won't do the right thing, as mentioned in=20 its documentation:=20 =20 Setting this variable directly does not take effect;=20 either customize it (see the info node =E2=80=98Easy Customization=E2=80=99= )=20 or call the function =E2=80=98electric-indent-mode=E2=80=99.