From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cDxQAzkY2l6oXQAA0tVLHw (envelope-from ) for ; Fri, 05 Jun 2020 10:02:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 0Li5OjgY2l58IAAAB5/wlQ (envelope-from ) for ; Fri, 05 Jun 2020 10:02:32 +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 231A49401CD for ; Fri, 5 Jun 2020 10:02:32 +0000 (UTC) Received: from localhost ([::1]:37210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jh9BF-0002NO-L6 for larch@yhetil.org; Fri, 05 Jun 2020 06:02:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh9Al-0002NE-72 for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 06:02:00 -0400 Received: from ciao.gmane.io ([159.69.161.202]:51530) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jh9Aj-0001xn-BY for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 06:01:58 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jh9Ag-000HS8-0s for emacs-orgmode@gnu.org; Fri, 05 Jun 2020 12:01:54 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Karl Voit Subject: [bug] Display issue with broken links Date: Fri, 5 Jun 2020 12:01:46 +0200 Organization: www.karl-voit.at Message-ID: <2020-06-05T11-53-35@devnull.Karl-Voit.at> User-Agent: slrn/pre1.0.0-18 (Linux) X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ Received-SPF: pass client-ip=159.69.161.202; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 06:01:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, 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: , Reply-To: Karl Voit 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: xAEq8NUMXqZZ Hi! I've found an issue that leads to broken Org mode syntax without noticing. Considering the following example: : foo [[https://Karl-Voit.at][bar]] baz When I put my cursor right after "foo" and press the DEL key, my Org mode shows this: : foo bar baz ... as if the link was removed properly, keeping only the description text. However, in reality, the remaining thing is different: : foo [https://Karl-Voit.at][bar]] baz This snippet is displayed properly at least after reloading the file or switching to text-mode and back to org-mode. I've made a screencast to demo this: https://karl-voit.at/temp/2020-06-05T11.28.16_Org_mode_display_issue_with_broken_link_--_emacs_screencasts.gif This happens with Emacs 26.1 as well as 26.3 with Org mode from maint git (9.3.6). Fun fact: I initially thought, this is a hidden feature which I started to use happily ;-) Considering https://www.reddit.com/r/orgmode/comments/gwa2i4/i_want_to_remove_the_link_and_preserve_the_text/ I would love to see something like org-remove-link-and-keep-description-text built-in. -- get mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML into Org-mode: > get Memacs from https://github.com/novoid/Memacs < Personal Information Management > http://Karl-Voit.at/tags/pim/ Emacs-related > http://Karl-Voit.at/tags/emacs/