From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id IGYfD5TFdWVFHwEAauVa8A:P1 (envelope-from ) for ; Sun, 10 Dec 2023 15:05:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IGYfD5TFdWVFHwEAauVa8A (envelope-from ) for ; Sun, 10 Dec 2023 15:05:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kuW1kCzJ; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702217107; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ggGvjAZCBLG0W3WHOGSwGYDM9QrxRKTsAs7H4Etf5/4=; b=LyU2GbLgBnyrd+zBc3iw/EnVhr4I+Af7WpD038Q/uyxcJympkI7IcaIq5jm2ye8GgHhOfi P6Fwxhn3/YaogsCGwbm7rFbp41MgP3/Lgj+TEXk5zykX2xJ002R/2ZBRMoWeGNgLKIxP/4 69Ap3i1ndQOJf7G4I/q1rJly10duROdGEWiLgOsFkN5MGy4lU8IDwCKnzbR/6bHg79lk+8 nWa3gRSUKM655cEDb/LX9ATRKFXGXtPdThik7PrMeq71qVqOgynima5bdvpSREqM1OXV39 TwOirYfIK+RBZz887oZ05pbxawdXgt7EjeeEMuPE/ta0N1ivc1u5LtP3pE2Y2g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kuW1kCzJ; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702217107; a=rsa-sha256; cv=none; b=Vn9E6aM3kNsXh+5mi4KnS+xFhF7xZwLxBtdlQ0V+frBUk2j2EHRRj+p5EtfRB1iT9ea8vN Idt8JY6ldg5MIlrVYesBQP770OpYpnQdym8tlGDrXv6wpWNMmc4wLqs8VfELZp+usYxPwM 87a4KTjbXG8K2Y+ytv6egYfqcoPE1loIweRkzimk+geZXzejJuWPhU5IT8f++foXTn6Eg7 Venq6KgasX4TlIHAXxBQd0pxACzJ1j2UQJsQSsHXLLOVm94dSolozn/hAcFWeH43rz5tud 2W2y7QDbX6bKvqh3y4v/Etbaq2fTmSAxOQ3sTQMmW9p6boI/pEz6CuZwTkYCSQ== 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 47DB45C3C6 for ; Sun, 10 Dec 2023 15:05:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rCKPn-0005Uo-5X; Sun, 10 Dec 2023 09:04:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCKPl-0005UP-Ci for emacs-orgmode@gnu.org; Sun, 10 Dec 2023 09:04:13 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rCKPj-0005eP-0z for emacs-orgmode@gnu.org; Sun, 10 Dec 2023 09:04:13 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 1B087240103 for ; Sun, 10 Dec 2023 15:04:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1702217048; bh=rLgANDs7yKTAkhh4nV2CmgesYXuPGpSKq4H0DggXnMg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=kuW1kCzJDv1i2x6J7NnjDvk+4ChDYxo+qD4+jx1GD3/uhB1wBK3ZLTI+6RrkaLWxn ZNsIXtLkP30xgHmzGkilA3o/4uofZIKfgo7xEDWLqHRHVfgE/p0Mv5BQF8rhx7gX39 aeJ8C6n81PL0fnxwb+w2c49c87Ltex/lyuHfy4eVwBNvscccniWrY6fB9rlhvZv21d sLUPnMP+jWIz0l3GwXM25SlfyFz8VHHQeRR/Q67871jMe0p6XqkLRTvBKTk+XRPk+t wtqiDGt3P/zkKEe5miRI1qzj9NBYtD8yX5CtJ5p1myVublJCeLqReSAs87Z4oNl0cK gaBV2yad9qDng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Sp67C4s8Bz6tw5; Sun, 10 Dec 2023 15:04:07 +0100 (CET) From: Ihor Radchenko To: Rudolf =?utf-8?Q?Adamkovi=C4=8D?= Cc: Salih Muhammed , emacs-orgmode@gnu.org Subject: Re: Consider removing newlines from org-insert-link help message In-Reply-To: References: <87o7gxbx66.fsf@gmx.com> <87h6mpfrk2.fsf@localhost> <87h6moncj6.fsf@gmx.com> <87fs25bhmv.fsf@localhost> Date: Sun, 10 Dec 2023 14:07:14 +0000 Message-ID: <87edfuqhgt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -53 X-Spam_score: -5.4 X-Spam_bar: ----- X-Spam_report: (-5.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_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -2.31 X-Spam-Score: -2.31 X-Migadu-Queue-Id: 47DB45C3C6 X-TUID: 8QbIq1XrAT5F Rudolf Adamkovi=C4=8D writes: > From 7bc8e913af0972f0d6119e45d4ecaf80835f2277 Mon Sep 17 00:00:00 2001 > From: =3D?UTF-8?q?Rudolf=3D20Adamkovi=3DC4=3D8D?=3D > Date: Sun, 10 Dec 2023 00:51:31 +0100 > Subject: [PATCH] org-link: Prettify 'org-insert-link' > > * lisp/ol.el (org-insert-link): Update the UI with text that is (1) > shorter, to avoid line breaks, (2) more standard, to match other Emacs > commands, and (3) more readable, with propertized key bindings. Also, > show the default link in the minibuffer, as seen elsewhere in Emacs. Thanks for the update! > + (concat "Insert link" > + (if-let ((default (caar org-stored-links))) > + (format " [default %s]" default) > + "") > + ": ") You can just use `org-format-prompt'. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at