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 8ATJAKQ2xV9nMwAA0tVLHw (envelope-from ) for ; Mon, 30 Nov 2020 18:15:00 +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 sOMfOKM2xV8yQAAA1q6Kng (envelope-from ) for ; Mon, 30 Nov 2020 18:14:59 +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 2359A94053C for ; Mon, 30 Nov 2020 18:14:59 +0000 (UTC) Received: from localhost ([::1]:40708 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kjnhQ-0001rt-BL for larch@yhetil.org; Mon, 30 Nov 2020 13:14:56 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjngp-0001rh-0B for emacs-orgmode@gnu.org; Mon, 30 Nov 2020 13:14:19 -0500 Received: from mout01.posteo.de ([185.67.36.65]:57768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kjngm-0000ap-Lh for emacs-orgmode@gnu.org; Mon, 30 Nov 2020 13:14:18 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 6448C16005F for ; Mon, 30 Nov 2020 19:14:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1606760054; bh=HNP1zSXIVPAx7nAFSkXOtATrpniPpkGSZV+oT91u4v0=; h=From:To:Cc:Subject:Date:From; b=g1KLzWlAWaxv9096+UVjijCUl2e+vKcjpRXYjTD/HXcnm8XiHXuwtZrPMUM4mH0Un CaHjM8LVhvfEP+0UgriM18KVhqptwDfkIjoOKKGsvsEs725xdIxBWuJrpwdsFwG9OV 2/cvq4hJch0nAT9xBR2mVh9d+94Wg+GPncr9qVHr2PuNIzyNXD0BpT28y6nB7Nx+Ep NmOrnTu/yyl/A8VX882DQmuVkg30DYIfQiNOOW+5zmB4IZ56CZcHbMSzrEobZhXjvf QOlfLh86B6lNx4jqTjpZAc9oUgSyrrtAr3P4v0Qf5VgFQg/gGLdmVWf7nKU6yAXdjZ LgwnLf86/kYXg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4ClCzn1HDfz6tmG; Mon, 30 Nov 2020 19:14:13 +0100 (CET) References: <87tut6pxp1.fsf@posteo.de> <14271996-3E32-4E0D-A61D-C69F0FC01475@health.ucsd.edu> User-agent: mu4e 1.5.5; emacs 28.0.50 From: Titus von der Malsburg To: "Berry, Charles" Subject: Re: How to preserve empty headings In-reply-to: <14271996-3E32-4E0D-A61D-C69F0FC01475@health.ucsd.edu> Date: Mon, 30 Nov 2020 19:14:12 +0100 Message-ID: <87o8jevhjf.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=malsburg@posteo.de; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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: Org mailing list Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.98 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=g1KLzWlA; dmarc=pass (policy=none) header.from=posteo.de; 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: 2359A94053C X-Spam-Score: -2.98 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: P4c9GdDoqpSE On 2020-11-30 Mon 18:31, Berry, Charles wrote: >> On Nov 30, 2020, at 9:21 AM, Titus von der Malsburg = wrote: >>=20 >>=20 >> When I start a new line with '* ' followed by RET, the space is automati= cally deleted and I=E2=80=99m left with a line that just has the asterisk (= i.e. not a headline). >>=20 >> Unfortunately there are use cases where empty headlines make sense and t= hey occur often in my work. One example is Beamer slides where each headli= ne at some level produces a slide. If the user needs a slide without title= (common, e.g., for a large images that fill the slide), an empty headline = is needed. >>=20 >> Is there a way to teach Org to leave the empty headline intact? >>=20 >> I may be old-fashioned but when I type '* ', I do it for a reason and I = wish that my text editor respects that. :) >>=20 > > > Instead of `* SPACE RET', try `* SPACE C-j'. I=E2=80=99m aware of several workarounds and this one is perhaps the best. = However, I=E2=80=99d prefer if RET would just work as expected. Org somet= imes inserts extra material on RET which I think is okay (e.g. indentation)= , but is there any precedent, in Org or Emacs more broadly, for RET deletin= g text? It seems very counter-intuitive to me. Titus