From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.help Subject: Re: Is this a bug, the esoteric Elisp way? Date: Tue, 10 Sep 2019 15:10:52 -0400 Message-ID: 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="185060"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs To: Shyam Nath Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 10 21:11:31 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 1i7lY3-000m35-Md for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Sep 2019 21:11:31 +0200 Original-Received: from localhost ([::1]:44216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7lY2-0002Uy-8p for geh-help-gnu-emacs@m.gmane.org; Tue, 10 Sep 2019 15:11:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55463) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i7lXl-0002UJ-Hd for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:11:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i7lXj-0003mT-Cu for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:11:12 -0400 Original-Received: from mail-oi1-x230.google.com ([2607:f8b0:4864:20::230]:44265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i7lXh-0003ks-45 for help-gnu-emacs@gnu.org; Tue, 10 Sep 2019 15:11:09 -0400 Original-Received: by mail-oi1-x230.google.com with SMTP id w6so12056897oie.11 for ; Tue, 10 Sep 2019 12:11:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ZHy0WtgnYTRD3XWovP0CmbAp74MQyvur0h9xe5sYWRg=; b=rH+OBkKB33+QwwOpeDWwsgJQMZ+6AyAq1QELOfBG8iQswCYHUM/ZUDDJD/k8ubASAX u0Pgs2uh1MH9UC+AlYPt3hT4o2GwS7YGDi1kRbmEDUpmCspIdaT6w3IMsHgk/Kxz28YF D8Z22tboEas5rRVn0VCZQWxunz/8VeIuTZrFCy5zDsrHTLn6Vn5ddvqF348pkuVQqa91 5EIIDUv7hqxezrUY3HEkb+uAL2Qm5fAdRj9uRshkC+A9Y7/RNHhMKM688j9dabYEhXls yl81ZjQ8tY+fE2NpguTAl3e5SR5Ponqus46t+HR7nxFQHlRSHI5anTbU0nL5yFNgNhJZ l7PQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ZHy0WtgnYTRD3XWovP0CmbAp74MQyvur0h9xe5sYWRg=; b=dXuldjOS/R4qJe+HEGq6VzrVsNQmiKZteghmNtgVMMLPnL47mUqGCLc11oxj7yxehC 77VkErqCzoz2/0y9dJxeKh/SglGKX3QEgmW9cpH8AZO9hOBjnbf3V9uWPR2xSwLQiDNF BUOd9BiEiIJMFxcWOdCbHqZfYUzwsSzy2OPKUYngtIt5LRS3vrwTUAj8LCubNzcWnXxH G4oDa1LjRw6yIAzDazznsGYBI0RGp4dfer/vuYWXoDVTsDjc4ly6dJsWOcNGPl1es4vB ImWKfXGj3FDeqsh3QcQO9fcCNNHmjejWyt63qzonDj5WlMFFdPqBm/r5j9M1oN8BTZOr soWw== X-Gm-Message-State: APjAAAWyLmPZNnMFZdLBBv+kXo8TafJjEOIpeGiXTSvKi14fdS2gqncn riw6Hz+2NzI7ucxk3Cmc3v1eJkk920t347Kqvrc= X-Google-Smtp-Source: APXvYqx2XZNk1jCU8gIN8Ugj4szJ8JfiGzo2CPnoOXnWBT+c2Qdf9JZf1vwhaKBq+94VsWxLMzSYphSol9ITX6QK4nQ= X-Received: by 2002:aca:c48a:: with SMTP id u132mr984567oif.23.1568142668138; Tue, 10 Sep 2019 12:11:08 -0700 (PDT) In-Reply-To: <16d1c7b33db.e1bef1ec686755.5085069733670395488@shyam.id.au> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::230 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:121504 Archived-At: On Tue, 10 Sep 2019 at 14:42, Shyam Nath wrote: > 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. The documentation you refer to is about the function, i.e., `(electric-indent-mode)` or `(electric-indent-mode nil)` will enable the mode. Use `(electric-indent-mode -1)` to disable it. Using setq on the variable won't do the right thing, as mentioned in its documentation: Setting this variable directly does not take effect; either customize it (see the info node =E2=80=98Easy Customization=E2=80=99= ) or call the function =E2=80=98electric-indent-mode=E2=80=99.