From: Gary Cheng <garycheng12@gmail.com>
To: emacs-orgmode@gnu.org
Subject: 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: Wed, 23 Aug 2017 23:01:24 +0000 [thread overview]
Message-ID: <CABkDr=PQRONK-UCZUEEa3Rav_gVY8hjC2ruXjOf5U9su7e-EsA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
Emacs : GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.16)
of 2017-07-15
Package: Org-mode version 8.2.10 (release_8.2.10 @
/usr/share/emacs/25.2/lisp/org/)
----------------------------------------------------------------------------------------------------------------------------
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=<id> <file>~
which is shown in the visible buffer as:
$ firejail --get=<id> <file>
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=<id> <file>
instead of:
$ firejail --get=<id> <file>
Also, copying the entire line with V via org-copy-visible will yield ~$
firejail --get=<id> <file>~.
I only use Emacs with evil-mode enabled, so I'm not sure what Emacs
equivalents are, but it has the same issue even without using evil
according to the evil developer (see github issue posted above).
[-- Attachment #2: Type: text/html, Size: 1636 bytes --]
next reply other threads:[~2017-08-23 23:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-23 23:01 Gary Cheng [this message]
2017-08-25 22:13 ` 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/)] Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABkDr=PQRONK-UCZUEEa3Rav_gVY8hjC2ruXjOf5U9su7e-EsA@mail.gmail.com' \
--to=garycheng12@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.