From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org-copy-visible includes emphasis markerse hidden by org-hide-emphasis-markers [8.2.10 (release_8.2.10 @ /usr/share/emacs/25.2/lisp/org/)] Date: Sat, 26 Aug 2017 00:13:45 +0200 Message-ID: <87bmn3xply.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38997) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dlMrQ-00059c-J4 for emacs-orgmode@gnu.org; Fri, 25 Aug 2017 18:13:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dlMrN-0006I5-CJ for emacs-orgmode@gnu.org; Fri, 25 Aug 2017 18:13:52 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:59773) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dlMrN-0006Hy-6S for emacs-orgmode@gnu.org; Fri, 25 Aug 2017 18:13:49 -0400 In-Reply-To: (Gary Cheng's message of "Wed, 23 Aug 2017 23:01:24 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Gary Cheng Cc: emacs-orgmode@gnu.org Hello, Gary Cheng writes: > With evil-mode enabled (bug still applies without using evil, see: > https://github.com/emacs-evil/evil/issues/907), start Emacs, evaluate (setq > org-hide-emphasis-markers t). > > Open a org file containing the following line: > > ~$ firejail --get= ~ > > which is shown in the visible buffer as: > > $ firejail --get= > > Then, visually select via v from the first character "$" to the last > character ">" of the line. What's copied into the clipboard is (note the > "~" in the beginning): > > ~$ firejail --get= > > instead of: > > $ firejail --get= > > Also, copying the entire line with V via org-copy-visible will yield ~$ > firejail --get= ~. Fixed. Thank you. Regards, -- Nicolas Goaziou