From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SMGkGlu2j2HtEwEAgWs5BA (envelope-from ) for ; Sat, 13 Nov 2021 13:58:03 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id qDo+Flu2j2HETwAAbx9fmQ (envelope-from ) for ; Sat, 13 Nov 2021 12:58:03 +0000 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 1FF31D0AF for ; Sat, 13 Nov 2021 13:58:03 +0100 (CET) Received: from localhost ([::1]:40018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mlsbZ-0002UH-GO for larch@yhetil.org; Sat, 13 Nov 2021 07:58:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:54152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlsb7-0002U8-Tb for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 07:57:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]:58497) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mlsb5-0007kU-IU for emacs-orgmode@gnu.org; Sat, 13 Nov 2021 07:57:33 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1DF70240026 for ; Sat, 13 Nov 2021 13:57:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1636808248; bh=1/ckHCYV0rMs+sXCfIlh9BOqp0tvMDQxpxL+v3UXPQQ=; h=From:To:Cc:Subject:Date:From; b=RCdRyFEigtUioXRwXKx3O3751xu7X6MhoiFbClVQXfFn73ONUs/4nLei8SsaOHKhB aeaHqVrGb23D0K4+D4wg8TFIzKv55QwJnPXbM9X5I3h2Ft4JpUxycL4vXcoe6JXgX6 WusDxrBOWNP9MB6Qq17yhip1urJpbBcJbDmYkgZagi+iAz8oLnhtUrrFROjjuJKQQN 6T43/e0Q6VKQIr6Ks3Cz9duQlafw4fsR8cTdzjCS5/wbebH/PCntXWXo8m+EGxPyA3 MzXDkyWPh7c3w39sSbaV8cTXrVn6NxFV87IUSszUW2pKdWx1CyBD7rqY+o372xRE/D pzraoyDRJnYwA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HrwTg0MbLz6tm9; Sat, 13 Nov 2021 13:57:27 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: excalamus@tutanota.com Subject: Re: whitespace in org source files References: Date: Sat, 13 Nov 2021 12:57:25 +0000 In-Reply-To: (excalamus's message of "Fri, 12 Nov 2021 23:35:30 +0100 (CET)") Message-ID: <87mtm88b7u.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-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: , Cc: Tim Cross , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1636808283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Y0jI6nnBpxprX9SHF6nyZMVzUgtRAMEVIlKTTo24vIU=; b=aT2uGjG4sYUTDYoaj77d9+eY4JpQ4xHXQbbDLy2/RyJYA1dNqW5Kg7U1YvKRZHoJA5Mv92 Ug3sSsclBrQJ4gmK+DGtKJ6qSbP31Bf8KIeMMjbxkhwJpZdMaeSI3evzydd4Q2Zud209JD IRmvH/A1phI7PbUeY1Fz430m7gkVJs0czlRDcoHAzRcYuYoTsB53HlPCeJVyrGOV3Pq7yR dE/wwq/ypbE1XXFvpxY3r3oFSLjd95pBLtXZgdc70vHuAWtAbs1ppqvWk95HOAGyPeGuzs iD6nxzEHG/y0yLcCUP5YzGL5Zc3mrjo+PGJojCgLpXFEoySt4/tWaGSeQj6dNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636808283; a=rsa-sha256; cv=none; b=eYVSUboRB/sYpzsX4uZOvEeitS+oQuCFZg7a4FZysSCOII8LsxAe8PNWXvirKv3uzZREhf 8tzxkQR4vsLsGHwacZzQkko5YH1+cS/7z8m5xw9ZKSqHyKg+sS7NLLOdCvGTvdYk1oXejt JrbmeOLj4ECo7YcS5XjBGfvDYSwCZc6A1KXEVJxd1svED8NFv8A6SAFhDmDy4CA9L13lHi 8HkC4HaZV7tFMuQgsP0CfJFDz43PdBooVt83TjpuVwldy4Rhxs2pF7r0ETe7/8U0tEYPeZ CKqWElZ65nrq2XZuyNjjkPa7N0IcBYuyTMNjQSSZ3ZqoI+rRfpmqKBBHoPN+5A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RCdRyFEi; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.03 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=RCdRyFEi; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 1FF31D0AF X-Spam-Score: -2.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: xCiqPXc0PIDg Hi, excalamus--- via "General discussions about Org-mode." writes: > I've not used the email contribution style before and have had > whitespace issues in the past with GitHub PRs.=C2=A0 I typically run > whitespace-cleanup with the before-save-hook which changes tabs to > spaces. I agree with Tim that running whitespace-cleanup is usually a bad idea within a Git repository. I also have, like you, whitespace-cleanup hooked to before-save-hook, like a relic of my first Emacs setups. In case it helps, I have added to my init this function: (defun my-whitespace-cleanup-no-git () (let ((buf (buffer-file-name))) (when (not (vc-git-responsible-p buf)) (whitespace-cleanup)))) and then: (add-hook 'before-save-hook 'my-whitespace-cleanup-no-git) Best regards, Juan Manuel=20