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 ms0.migadu.com with LMTPS id sK+rMEmFjWAerwAAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 18:43:53 +0200 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 mOM+LEmFjWBeRAAAbx9fmQ (envelope-from ) for ; Sat, 01 May 2021 16:43:53 +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 24A42152AE for ; Sat, 1 May 2021 18:43:53 +0200 (CEST) Received: from localhost ([::1]:35458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcsic-0002XB-Uh for larch@yhetil.org; Sat, 01 May 2021 12:43:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcshl-0002Wy-7B for emacs-orgmode@gnu.org; Sat, 01 May 2021 12:42:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46138) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcshk-0001UW-Oc; Sat, 01 May 2021 12:42:56 -0400 Received: from [78.194.183.21] (port=50400 helo=guerry) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1lcshk-0003BQ-Ab; Sat, 01 May 2021 12:42:56 -0400 Received: by guerry (Postfix, from userid 1000) id 325871A60EE4; Sat, 1 May 2021 18:42:54 +0200 (CEST) From: Bastien To: Gustavo Barros Subject: Re: Bug: org-toggle-link-display and org-hide-emphasis-markers [9.4 (9.4-44-g5272d9-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20201123/)] In-Reply-To: <87o8jnzjao.fsf@gmail.com> (Gustavo Barros's message of "Mon, 23 Nov 2020 21:32:15 -0300") Organization: GNU References: <87o8jnzjao.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 01 May 2021 18:42:54 +0200 Message-ID: <87r1iq9zht.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain 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: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619887433; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=yiRSnDHNWB4/iXpX2aBXUDKw94II5RoteIUfBDgHhXQ=; b=CPgMpe+0sCgy/WL16ByCH4xnILPrGBFQwufhQxwg1EbJ5/M+VGSrYkxPaV19E+JoEwxJt2 z1ihNqHhgqWljUDWSZgykilTg77kS6EMg0qfSiZCi6THYpGqWBp8PYWeDPudQLAXHBRCGg JOx8DMhWrVAMQBnWp5RPitLvD9JUhqoJ1ARXZGDI4eM+j3ILh/K4XEzVjO+nDyIzn1Ue6j hWLymf9cPtYzMq+5XcZOyGV9s5DsndGuL8mPxsWqWN35I2IxPmu+MDeiUh/1R6eNehL+RI Ela0bUqOHkGLI+acbrBDZQTQSwupUNp+xpX1DStBBsrcLFQiV7Xjw497T4ux1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619887433; a=rsa-sha256; cv=none; b=kO4pVNFlmJP9JuKdVRNJz4fGvKCLYckhQ4r1ug8vn8xEXxqpr5hbBoE5Rme+FHv8h55KwG 4PLiTyRlUGXx91+wEosfuLdpKkHy7XMccRDS7oSaMz8ohYwerTF4tqMkJch1hwy9a7g/ky 6XJ18YJXB/iSwC+bIPQzPkq73xvFNf25XEyB63l03/z8q990Fcfl6yFWrO8rIqkR9msdjL wZPTeoYiauSK5/qE6287LxH5WJi8zoBlNn6iUenD/iEgic2UnCh+ncufgyw1Kt22Qb0oH+ FVlL8WKKCUPx+ENVm5IfShfVyDcMpRu6eYO4dvlWDs6QZbP+AR5YJqCz0Kr4Ew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=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-Migadu-Spam-Score: -2.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 24A42152AE X-Spam-Score: -2.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: rbvymyXt7Unw Hi Gustavo, Gustavo Barros writes: > when using `org-hide-emphasis-markers', making links visible with > `org-toggle-link-display' also unhides the emphasis markers. I believe > this to be unexpected behavior (it certainly is to me), but I might be > wrong here, given that the emphasis markers are explicitly set to a > `org-link' invisible property (which see). thanks for reporting this, I've committed 842ab092a in maint which should fix it. I hope the change does not break anyone's code: perhaps some people use custom code to hide/show emphasis markers based on the org-link invisible property specs. In any case, I don't think `org-toggle-link-display' should display emphasis markers. -- Bastien