From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id y9p6GZYRcF9RPAAA0tVLHw (envelope-from ) for ; Sun, 27 Sep 2020 04:14:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oKE6FZYRcF+0VQAA1q6Kng (envelope-from ) for ; Sun, 27 Sep 2020 04:14:14 +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 E7FB6940224 for ; Sun, 27 Sep 2020 04:14:13 +0000 (UTC) Received: from localhost ([::1]:59152 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMO4i-0002K5-RC for larch@yhetil.org; Sun, 27 Sep 2020 00:14:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMO3z-0002Jy-6g for emacs-orgmode@gnu.org; Sun, 27 Sep 2020 00:13:27 -0400 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]:39876) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMO3x-0006rm-CF for emacs-orgmode@gnu.org; Sun, 27 Sep 2020 00:13:26 -0400 Received: by mail-pl1-x641.google.com with SMTP id x5so1365510plo.6 for ; Sat, 26 Sep 2020 21:13:24 -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; bh=fkg9Iw78Ske7WAvXvfR/eMOklA0HrqrYi6ajomYIXcE=; b=l/SS4assbRR2PuAJOTxR3hqJKg9Uwlmay6/COrQZFa/wyd3iLCWtB+80uaLxSe2/lK RckGmv2nKww0NMAcm629+uJfVXk6IIpeLt8ycJWue2XweUA2gBDx8lHu/XC8udtsmwKW TwHNB0Zq3WmN7MQAsHQKiT4w3mqmWJj/yUgl+/HA3VtNKqLK3CHdDzngdjPAD7RokjM5 yoJHjmDhBOrdhuDcAFyYDNxVoNeZZAq7RVIR1eivAXhz43ry54VLaclUlVcQA4ykYkiQ yrIUTOBBsikRU7Mh0Cj+sEEj967DBs+WeW4Vt6IiEOnhEZJPN5USokRmMrNHvsQpgWZN P8hQ== 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; bh=fkg9Iw78Ske7WAvXvfR/eMOklA0HrqrYi6ajomYIXcE=; b=rde/4VvLfdNV3Q/ShysGnv7CBQ04urvjXFrUJ7wn866XRFgFu9Aq6K13kUicjNC9j/ AgdObfVIIizJGJ3Aoo5V9Pw1SNMJHK2E2guC9HQvHHjPC8Gug0ftMY3HbhtwYH+XkmMT djf90Y9LGhAxRm1g/5RNsY0vQYNO5CEACxoG0LwJ9Sa0wqqI4QHRtCjOGXce/ZKqTNvX QINhm3uyujnGcAnVYhCNTF5U7F2YAcZTthssKCYTZS6yUkHYnnSeDcP553lN0b6DCQxn z03ZIGKfQtF6D2mXjvLCtMJT5UnWvOn1Qsmaz4wD/82UMbmU0URJyvV1j4CIgu9V5uCi MeaQ== X-Gm-Message-State: AOAM533IQrGIsX/cbgSacngCnyUAj+BMNamHTWFN1NWo7D+Ie3klD459 kDAG8DhG1cPNCh7LMCJUgsj+sRzO78Ra0jCPat0h+gNXw48= X-Google-Smtp-Source: ABdhPJzUiSAT0kSnRQARGtlW3mzQ2sAPZ8bybyhSSbEDTrESTGke6WU/QVyOKO7ytm1MO551D7RPRyGfsQ9XeOflPx0= X-Received: by 2002:a17:90a:de87:: with SMTP id n7mr4150206pjv.208.1601180002749; Sat, 26 Sep 2020 21:13:22 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a05:6a10:8371:0:0:0:0 with HTTP; Sat, 26 Sep 2020 21:13:22 -0700 (PDT) In-Reply-To: References: From: Samuel Wales Date: Sat, 26 Sep 2020 21:13:22 -0700 Message-ID: Subject: Re: newline or no newline at end of capture: expected behavior To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::641; envelope-from=samologist@gmail.com; helo=mail-pl1-x641.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: , 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=l/SS4ass; 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: naajrgWw/RMF hi bastien, another example is, whenever i capture a headline like "* test\n" and finalize, it creates a blank line after the headline. is it expected that users should remove the final newline in the capture buffer, in a finalize hook, to prevent this? it would heolp me figure out whether it is pebcak, expected, or a bug if i know what is the expected result, and whether users are expected to capture only capture buffers that do not have final newlines. [bug on empty buffer still exists.] On 9/23/20, Samuel Wales wrote: > i have the same question for headline-only capture > buffers. i.e. what is the expected result with and without trailing > newline. > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html