From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qPP5Cp3U0mCg6QAAgWs5BA (envelope-from ) for ; Wed, 23 Jun 2021 08:28:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OI22Bp3U0mDyJgAA1q6Kng (envelope-from ) for ; Wed, 23 Jun 2021 06:28:45 +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 5BD4BC2EE for ; Wed, 23 Jun 2021 08:28:44 +0200 (CEST) Received: from localhost ([::1]:56250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvwNN-00074m-QE for larch@yhetil.org; Wed, 23 Jun 2021 02:28:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvwMm-00074P-IJ for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 02:28:04 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]:33674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lvwMk-0008UA-3o for emacs-orgmode@gnu.org; Wed, 23 Jun 2021 02:28:04 -0400 Received: by mail-pg1-x530.google.com with SMTP id e20so945857pgg.0 for ; Tue, 22 Jun 2021 23:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=6BtLn1m8zFpNzxBlQrXTQvsiPqU35sofXaUh88+uskU=; b=cFUXiXpeVzgIi2raI8GO2a/OQDl/ZSYvdIUPL1r33eY2DCJPR2UIYlfCKXsj+gXxTO gg3VIO2jXYnJxJQ8ae6RWKksWgmNe0IYjSyLIxzzc/Pp+aabNiRZinEODXpMkR01JHjC t/5RtrcICm1A7wv1vbFX0lWf3tV3NcVPukUS4xmtbimcCU6L7OQDgDZKBBE2jjiPeotg T1lzIKe6qWZroPFDrWQ7nAAimx057B1Hyxy3Sv6TGbD5WNdq9AplmLD586HsQfnyPoYS V7nCO7gngKjM5gbHHf7k1Odg/hpEKW2DfNvLFw9ir8c10KTiyFR4qfEYFR6DN7SCuQR8 Idqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=6BtLn1m8zFpNzxBlQrXTQvsiPqU35sofXaUh88+uskU=; b=bjdJglOz0q8l6iHXOPmPwe9rwNxkbBEGxpEmLafEZXETRnJ9u42hWMmEZ73lH66B+1 6/LaYI6wm+gLFiv3Nr4qBeBJ+BfSYkIf2ezstMnyhy7JHag+w0aYL9DHgDP5Wy/yuL2I x4AM0xNPUaNGhfkQFbmKpjR3caJAbX5d247af5M141Am3BNb8sVqZDEygiVyCp4nXyOe aEjJexJ+gxJ7pIt7tCFgal4AadDmERx11FP8Mg/lVXrCqu5Uoqfx41tpR/Xo1aalkm5W m5mzN4nCCCPbTzUiUEZlzKjwKGDg8PPqg94QPHAgCGqlcl7Z9CoghXVYVuw30vjMtAMI X0zw== X-Gm-Message-State: AOAM530dda4BsMNossF+325Ewz0nTJGZCO5HrFWc9yizgleDbbSRp2IG JrmRXxbamGW18QUBGU2ZfghFIj9odDs= X-Google-Smtp-Source: ABdhPJykcAXqhD81ddn1Vh6upMKwyfMCNVyvibnPQ6AtPTcs9aDYNEbE+iAMcKuTegtfkPDufswtAg== X-Received: by 2002:a63:921e:: with SMTP id o30mr2461633pgd.346.1624429680410; Tue, 22 Jun 2021 23:28:00 -0700 (PDT) Received: from tim-desktop (220-235-31-196.dyn.iinet.net.au. [220.235.31.196]) by smtp.gmail.com with ESMTPSA id q8sm1188914pfc.51.2021.06.22.23.27.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Jun 2021 23:27:59 -0700 (PDT) References: <3a1162f9-1898-ceac-1aec-be17707c5982@posteo.eu> <2701993.1624421325@apollo2.minshall.org> User-agent: mu4e 1.5.13; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: extra space at the end of lines in source Date: Wed, 23 Jun 2021 16:08:52 +1000 In-reply-to: <2701993.1624421325@apollo2.minshall.org> Message-ID: <87lf71w0wk.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x530.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624429724; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=6BtLn1m8zFpNzxBlQrXTQvsiPqU35sofXaUh88+uskU=; b=qefYNfsqhIOOjwGD4OxNv0u/v0Vaezq3QBManpnM/HUxESlmJv787lHWQ1DE/p4jlSnfDB +6Fh1JB9cMsbPzWZOsoyz6ZpyEPh+gpfNFgKeMaBARereZYJnZlLugMDbxipSEk6MRh0bR CgfrXaHFkODDRiCmTpNVGXtvYoiKlQEvSh/Z49uoWdAx7h+D6eoRAS2Q0bwEzSXLBbpUYX ZQQLxSgmmTwCXVSzViyBHn5jl4Utigr+PDc1IJpvX3e5iGRt4yQnitcHL2RFCAxuQhJCDh XYuVkMtn/IvCa19fnRZrvKxrRzgQl6tIz0XmpnDZuY71pjty16vmI3/nKatvCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624429724; a=rsa-sha256; cv=none; b=P0OoEdc8vocECWwSgiSIcFiVYsZI24tA/FUcIbCDLa8RnffsMCFXjwtVZPk4YKUgKAGIEO vmEYzE9pT6GbOA27JYZl5XPLJ2bhBdead2AzJgZOicfU5mSXqXaARXW4w05T9dGKR9EQw1 PouetEfWAmlzZ91Rb/tF6SUBhBQQE+FV2lsXD8irSNKweobEF5XUcFgc8JDgiXAYNbTTe2 m/rHvRd8TybDTcYpZ27pUdod9AWGu38kSxK0m1tfut2WAEIcVyQSBe7y7hj7plORsLbLiw PqZBAbIJyH6dTgSo70ZdxRWW1jSSfzjuSKoj2hjxYhl+s27d4S2MKnyHPZJung== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=cFUXiXpe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=cFUXiXpe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 5BD4BC2EE X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: yhGCCpaux0eB Greg Minshall writes: > S=C3=A9bastien Miquel, > > i do think the default should be to *not* add these spaces. if > possible. > +1 Org (and Emacs more generally) should not add additional spaces unless they are required (for example, to make code syntactically correct) or the user has requested them (by setting a variable/option). I also think it is reasonable to assume that if you edit a source block directly in the org file (i.e. not using C-c '), you don't get the language specific formatting you would expect when editing the source in either a dedicated source buffer or with C-c '. Editing source in a source block without using C-c ' is ok for simple edits, but for anything more complex or requiring language specific formatting etc, C-c ' should be used.=20 --=20 Tim Cross