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 0D5fAJoSz15cVAAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 01:23:38 +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 GEfcN5kSz17hVwAA1q6Kng (envelope-from ) for ; Thu, 28 May 2020 01:23:37 +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 1D5C59403EE for ; Thu, 28 May 2020 01:23:36 +0000 (UTC) Received: from localhost ([::1]:46416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je7Gh-0004fR-SA for larch@yhetil.org; Wed, 27 May 2020 21:23:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41410) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je7GL-0004cb-IO for emacs-orgmode@gnu.org; Wed, 27 May 2020 21:23:13 -0400 Received: from pb-smtp2.pobox.com ([64.147.108.71]:62304) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je7GK-0004af-51 for emacs-orgmode@gnu.org; Wed, 27 May 2020 21:23:12 -0400 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id B43367866A; Wed, 27 May 2020 21:23:09 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:in-reply-to:references:date:message-id:mime-version :content-type; s=sasl; bh=Ut3mzpyQwUg7hmlWGg7B2kUIJOM=; b=xTnP/m bxNIlWK+LXVwDcZsadrFOREZhEibP6IWLDc3q3qm4UTMWtiFsQg7BuRWs4MGmkLO JYcnVLr5sKVzMqh4Kz3N+nKMn/sMIAt3JiRaMeoH2lNomwQu7cOLqLZpAhvp50ZB vWKBlH4Uzh+qv566+WgVBMaMXNGpmzHpfnI2k= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id AC0B078669; Wed, 27 May 2020 21:23:09 -0400 (EDT) (envelope-from kyle@kyleam.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=kyleam.com; h=from:to:subject:in-reply-to:references:date:message-id:mime-version:content-type; s=mesmtp; bh=UYkRvrzUrWNDZ5816uT8npCcQD84cNfRPLktXmuGwuk=; b=3CEsTJEd1WZ07B1ipsrKvXHN6fj2yQxD0OxM5Ka8fUiH3xBty3VU9dltyjvgjdmn6B968WGRsTTrGU9bm2xBkzh7jUU7zNYkUvwQpw8+DW6xByXHqPCtCyI7sRDvXtDd5csw7JpSuOfPNk3rJS5NfxVRrQd5AB8pXst9UHQKDqI= Received: from localhost (unknown [45.33.91.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 2F07578668; Wed, 27 May 2020 21:23:09 -0400 (EDT) (envelope-from kyle@kyleam.com) From: Kyle Meyer To: Kevin Liu , emacs-orgmode@gnu.org Subject: Re: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture In-Reply-To: <87pnappyes.fsf@nivekuil.com> References: <87pnappyes.fsf@nivekuil.com> Date: Thu, 28 May 2020 01:23:08 +0000 Message-ID: <87o8q8x37n.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: CA3742D0-A081-11EA-B72A-D1361DBA3BAF-24757444!pb-smtp2.pobox.com Received-SPF: pass client-ip=64.147.108.71; envelope-from=kyle@kyleam.com; helo=pb-smtp2.pobox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 21:23:09 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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=pobox.com header.s=sasl header.b=xTnP/m b; dkim=pass header.d=kyleam.com header.s=mesmtp header.b=3CEsTJEd; dmarc=none; 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: 0.29 X-TUID: /pxPQUHymUL+ Kevin Liu writes: > Basically, the last position in the narrowed org-capture is actually > the first position on the next line, so when you go to (end-of-buffer) > and start typing you start clobbering the next headline. > > I tested this with emacs -Q, capturing an `entry` with `file+headline` > in org 9.3 and it was working as expected, then in that same session > loaded 9.3.6 and the capture buffer was one character longer (the > added newline at the end) enabling the clobbering behavior. I believe Bastien fixed this in cb2774d1a (org-capture.el: Fix possibly missing final newline, 2020-02-18).