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 iNqCC7j0vl4GJQAA0tVLHw (envelope-from ) for ; Fri, 15 May 2020 19:59:52 +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 yPZcB7j0vl4IcAAA1q6Kng (envelope-from ) for ; Fri, 15 May 2020 19:59:52 +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 9A889940369 for ; Fri, 15 May 2020 19:59:51 +0000 (UTC) Received: from localhost ([::1]:46666 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZgUm-0002hc-QR for larch@yhetil.org; Fri, 15 May 2020 15:59:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZgU8-0002g8-Bv for emacs-orgmode@gnu.org; Fri, 15 May 2020 15:59:08 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:33663) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZgU6-0000XW-GN for emacs-orgmode@gnu.org; Fri, 15 May 2020 15:59:07 -0400 X-Originating-IP: 185.131.40.67 Received: from localhost (40-67.ipv4.commingeshautdebit.fr [185.131.40.67]) (Authenticated sender: admin@nicolasgoaziou.fr) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 60B8EC000B; Fri, 15 May 2020 19:59:03 +0000 (UTC) From: Nicolas Goaziou To: "tiburbage\@gmail.com" Subject: Re: Suggestion: would like a customize setting to suppress multi-newline insertion on Alt+ENTER References: <5ebef275.1c69fb81.91ee0.52b3@mx.google.com> Mail-Followup-To: "tiburbage\@gmail.com" , Org-mode Date: Fri, 15 May 2020 21:59:02 +0200 In-Reply-To: <5ebef275.1c69fb81.91ee0.52b3@mx.google.com> (tiburbage@gmail.com's message of "Fri, 15 May 2020 12:50:09 -0700") Message-ID: <87tv0hvuk9.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=217.70.183.198; envelope-from=mail@nicolasgoaziou.fr; helo=relay6-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/15 15:59:04 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-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: , Cc: Org-mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: -1.01 X-TUID: 7aK3obSQfLTS Hello, "tiburbage@gmail.com" writes: > When hitting Alt+ENTER at the end of a bullet list item, a new item is in= serted below the current line. However, there is an evaluation of the line = spacing below the list which can result in a =E2=80=9Cdouble spacing=E2=80= =9D > of list items, which I personally never want. > >=20=20 > > In org-list.el, the function org-list-separating-blank-lines-number appea= rs to do the logic relating to this, it called from org-list-insert-item. > >=20=20 > > My suggestion is that a customize variable be exposed allowing the > user to decide whether to have this behavior or not. I think you are looking for `org-blank-before-new-entry'. Regards, --=20 Nicolas Goaziou