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 ms11 with LMTPS id IDTZIq0mzl7scAAA0tVLHw (envelope-from ) for ; Wed, 27 May 2020 08:37:01 +0000 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 iGe1Hq0mzl7JDQAAbx9fmQ (envelope-from ) for ; Wed, 27 May 2020 08:37:01 +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 BD703940144 for ; Wed, 27 May 2020 08:37:00 +0000 (UTC) Received: from localhost ([::1]:45566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdrYY-0006T0-Is for larch@yhetil.org; Wed, 27 May 2020 04:36:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58928) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdrYE-0006Sp-Bi for emacs-orgmode@gnu.org; Wed, 27 May 2020 04:36:38 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21101) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jdrYC-0004Ii-55 for emacs-orgmode@gnu.org; Wed, 27 May 2020 04:36:38 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1590568590; cv=none; d=zohomail.com; s=zohoarc; b=cr9IpAloZ6KWZ9OCiI5YwQZ7rv4NeSnJOH85FS5kJhnUK8LxZTp5QP41WL1/ozqS4rN3+xjcCcb4cOB7EoiseKtGJ678jIyUxT4ERR+9Cu2KN+FM8ouS5U7u+ohUT+UJnpt0zacLoI9jvi23Rkdt4qYDdXQ/f5huhFQto3oMUcg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1590568590; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=ooSKvsFpsrR3bywvkuuNzeG4zp+XPzYvsO2DAtmaCO8=; b=YWYBiCkRovrM7t/EBZrSoSmdw9eMANaewEZ/5uFgOj+l1K1yywx8NXuHxFSjeSjl8XYPi9kVdD0LTEdR0rS+yvgjd3+Loj+6qFKKpaPjgAgG3343Z45uW2RMrp49uIs+WkOrGHpDW/gOKTiOUO3wZPT3CtnB3tWIZSp3K12B2/M= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=nivekuil.com; spf=pass smtp.mailfrom=kevin@nivekuil.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1590568590; s=mail; d=nivekuil.com; i=kevin@nivekuil.com; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=ooSKvsFpsrR3bywvkuuNzeG4zp+XPzYvsO2DAtmaCO8=; b=KZDQAZgDPf77z0PwECbq+0trhIOFWpQacylXIWi5orVYSfWj37ysoaWUTEz//4Nz ooUS4X1F3ZDsWU9el8WEY9LCqxSvl3q3C7pR4q4IY0oIoYSQHF/7X/sDhBNi72e1Ce4 tLsOUnGpgAOVppW08NKbbZF8mWGOXYySI5Ecs9YE= Received: from machina (71.212.158.154 [71.212.158.154]) by mx.zohomail.com with SMTPS id 1590568588028784.9339684786737; Wed, 27 May 2020 01:36:28 -0700 (PDT) User-agent: mu4e 1.4.7; emacs 27.0.91 From: Kevin Liu To: emacs-orgmode@gnu.org Subject: Regression from 9.3 to 9.3.6: newlines getting swallowed on org-capture Date: Wed, 27 May 2020 01:36:27 -0700 Message-ID: <87pnappyes.fsf@nivekuil.com> MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: none client-ip=136.143.188.51; envelope-from=kevin@nivekuil.com; helo=sender4-of-o51.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/27 04:36:32 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, T_DKIM_INVALID=0.01, 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=none (invalid DKIM record) header.d=nivekuil.com header.s=mail header.b=KZDQAZgD; 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: -2.01 X-TUID: GCQLY2YArkxd This old thread describes similar behavior: https://emacs.stackexchange.com/questions/37097/newlines-swallowed-by-org-capture 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.