From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id ML7pJ3KKXWPIhgAAbAwnHQ (envelope-from ) for ; Sat, 29 Oct 2022 22:17:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id MFTRJ3KKXWMEeQEA9RJhRA (envelope-from ) for ; Sat, 29 Oct 2022 22:17:54 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 8BB4F32BCE for ; Sat, 29 Oct 2022 22:17:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oosGJ-0007iP-1s; Sat, 29 Oct 2022 16:16:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oosGA-0007hO-PA for emacs-orgmode@gnu.org; Sat, 29 Oct 2022 16:16:53 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1oosG8-0004yX-93; Sat, 29 Oct 2022 16:16:49 -0400 Received: from smtp202.mailbox.org (smtp202.mailbox.org [10.196.197.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4N09fv1qD9z9sS0; Sat, 29 Oct 2022 22:16:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kraus.my; s=MBO0001; t=1667074599; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7RGqBUejazSwrTOP/QvQcnwkQZ865Dm/6xcyruBanYc=; b=RU/9PVHdUMeSSRsqMXWuGPweSjw/YD0wPMnjFwk7dxhWmIgEUOzV+DotC7LfxcDanR9Zjf nbXzeOxVqoExv8F3t63AmWorTKmPoN18buEU9Vpp8JD79dDgonLkAqyw+9pBhtuHWdSFqT k+6YBQQvxhwLbNx3pQR4QnRrUiU5dv1TNXQAOTCY7JNYsvW8C2r/otZlez5EOez1q+aSvV Nwd0moEFek8UG9hpOJ9Is6WP0LJ070U+UKKVy0cv6+rHXYB92RsJtjr96XiEKaky4BX44k fHInBVhRTPebsDc+CC3dfvt9I3uG9EZdJQRNcFanT+V6U/2ABh/S7gEbfegcgA== References: <87lep3oxcu.fsf@localhost> <878rl1a1e0.fsf@kraus.my> <87a65gmw3f.fsf@localhost> From: Daniel Kraus To: Ihor Radchenko Cc: Bastien , numbchild@gmail.com, emacs-orgmode@gnu.org Subject: indent-tabs-mode in org (was: ob-clojure eval error when has comment at end of code line) Date: Sat, 29 Oct 2022 22:13:06 +0200 In-reply-to: <87a65gmw3f.fsf@localhost> Message-ID: <8735b68jxc.fsf@kraus.my> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=80.241.56.151; envelope-from=daniel@kraus.my; helo=mout-p-101.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-TUID: fVym2McyXI4Z Ihor Radchenko writes: > Daniel Kraus writes: > >> - What should I use for indention? Looking in ob-clojure and org.el >> it seems that using tabs with tab-width 8 is standard but there's >> quite a few lines where it's spaces only. > That is a good question. I guess, just Emacs default. > Our code is not consistent here... > Maybe Bastien can clarify better. jFYI, because I was just wondering why the org .dir-locals.el sets indent-tabs-mode to nil. Luckily Kyle wrote a good commit message: --cut-- .dir-locals.el: Set indent-tabs-mode to nil in Elisp sources Despite .dir-locals.el having a catchall value of t for indent-tabs-mode, Org's Elisp files are a mix of tabs and spaces. Emacs has used a value of nil for indent-tabs-mode since 93d4412046 (Set indent-tabs-mode to nil in (most) Elisp sources, 2015-04-15). Do the same. Ref: https://orgmode.org/list/87eejsg9vw.fsf@gnu.org --cut-- So that clarifies it for me and I do NOT indent with tabs in the future :) Cheers, Daniel