Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-copy-visible doesn't copy exactly what's visually selected #907

Closed
rieje opened this issue Aug 23, 2017 · 1 comment
Closed

org-copy-visible doesn't copy exactly what's visually selected #907

rieje opened this issue Aug 23, 2017 · 1 comment
Labels

Comments

@rieje
Copy link

rieje commented Aug 23, 2017

Issue type

  • Bug report

Environment

Emacs version: 25.2.1
Operating System: Arch Linux
Evil version: 1.2.12
Evil installation type: MELPA
Graphical/Terminal: Graphical

Reproduction steps

  • 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=<id> <file>

Then, visually select via v from the first charcter $ to the last character > of the line. What's copied via org-copy-visible into the clipboard is:

~$ 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>~.

Expected behavior

It should just copy what's visible, which is $ firejail --get=<id> <file>.

@rieje rieje changed the title org-copy-visible doesn' copy exactly what's visually selected org-copy-visible doesn't copy exactly what's visually selected Aug 23, 2017
@wasamasa
Copy link
Member

wasamasa commented Aug 23, 2017

I can repro the same problem without Evil. Please raise a bug for Org instead. Also, please don't remove the make emacs repro point from the bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants