From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id wM+7MeK+a1/qEQAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 21:32:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iKCQLeK+a18POwAAB5/wlQ (envelope-from ) for ; Wed, 23 Sep 2020 21:32:18 +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 569F39406A1 for ; Wed, 23 Sep 2020 21:32:18 +0000 (UTC) Received: from localhost ([::1]:49240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLCN6-0007ch-Q8 for larch@yhetil.org; Wed, 23 Sep 2020 17:32:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLCKY-000713-Ju for emacs-orgmode@gnu.org; Wed, 23 Sep 2020 17:29:38 -0400 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:38768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLCKS-0005hY-U7; Wed, 23 Sep 2020 17:29:38 -0400 Received: by mail-pl1-x632.google.com with SMTP id c3so425418plz.5; Wed, 23 Sep 2020 14:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Xx0yFsWzpDnqPtWy9MtYjXfv9ySCG1XnZWWHoeNRlgo=; b=LuBtHiMENCS7pFfBzdLTcUKs+EvJxMJ6n37t6qHhHlPgeS/mVkCmtG+9sfxtILil0F FbW/tQCNpRlrgkDBsPHNw65BurE0DuysU6VYz8+JabsbwHrccCkLPzvNJgphO+q7iBl/ VQnDXDOxPKNBqHewF/T3OzGE2TQXH+sweAiXlZjPDPgdD/MwR0gNZOsoVEKVo/50HK7T 0TIaZeEwiyk1H9pPCHVj4svR7ubG80pqq4IAQhsGLOgpLUXuyDpfR8m7AK4m7/dM8tB8 988D4+KaWSh2k/0wnWuTvsKJ5HDvHzMjNzzkFTTLZyOoExzEIBB2ZtT+VIxG9VkbkF30 XCsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Xx0yFsWzpDnqPtWy9MtYjXfv9ySCG1XnZWWHoeNRlgo=; b=YJkXze6pZFZQMIREFMET0uZM57R3u3ios4mSn1V8C21DUZP49k1cbABwGSUrxVNsfj UpUv4kPRLS3j6DFMF58SllgigCVVsYH++zMZyt8Ug/hmTorhFPbGDgaUN4jAKujOrf/j QI3e7nv/sDt3DqcYIph+UYx3ymGw/LiXstifM26K7OFE/FrfVj8kWzzDoAltaJmXiNaP dDO0fsFkpprC9RCkXeBasxPG8pREpxWHikGOiAAHv99SsfIPJK4dByQ5XxbYso/24HFw Dai0HDe949uKnUjl1LkhazAllGokRtPaUBcFeyL0VlYQ5tzB2pf7ONnrdpzUsIlHeFMk pM1A== X-Gm-Message-State: AOAM530rf1My7kVrqdjeEG79kZz4ykHGKAeWA8WKlRDBCj0WEauGcBkT loywB6do5u/jLhjGLeLQzJJ+Du/JXsfwr6c8kGWxQKbP+jgeww== X-Google-Smtp-Source: ABdhPJxvRUBMZlsyXLpkuAyOVTvWvfBfa4zoc1W9fYjtvpgvOE76ybngx3qIFK60dhvdBfqzY67vypuEAY70IW10IEk= X-Received: by 2002:a17:902:6803:b029:d2:42a6:312 with SMTP id h3-20020a1709026803b02900d242a60312mr1619171plk.24.1600896570593; Wed, 23 Sep 2020 14:29:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:8371:0:0:0:0 with HTTP; Wed, 23 Sep 2020 14:29:30 -0700 (PDT) In-Reply-To: <87d02darcf.fsf@gnu.org> References: <87d02darcf.fsf@gnu.org> From: Samuel Wales Date: Wed, 23 Sep 2020 14:29:30 -0700 Message-ID: Subject: Re: newline or no newline at end of capture: expected behavior To: Bastien Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=samologist@gmail.com; helo=mail-pl1-x632.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=LuBtHiME; 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-Spam-Score: -1.71 X-TUID: 7PjkLBy5SbOT i have been trying various hooks so this might not be the worst case, but i know that finalizing a completely empty buffer will insert a newline after the target. that can't be worked around with hooks. On 9/23/20, Bastien wrote: > Hi Samuel, > > Samuel Wales writes: > >> basically i am getting unwanted newlines all over the place when i >> capture. but i want to confirm expected behavior for all 4 questions. > > Let's take this one by one. > > Can you provide the *worst* use case of Org going completely insane > regarding empty lines after captured notes? > > -- > Bastien > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html