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

mcedit command to copy to X11 clipboard #3081

Closed
mc-butler opened this issue Sep 26, 2013 · 5 comments
Closed

mcedit command to copy to X11 clipboard #3081

mc-butler opened this issue Sep 26, 2013 · 5 comments
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress

Comments

@mc-butler
Copy link

Important

This issue was migrated from Trac:

Origin https://midnight-commander.org/ticket/3081
Reporter pfalcon (pmiscml@….com)

With nice enhancements to XTerm paste, it would be nice to have mc-internal command to copy to X11 clipboard. There's no replacement for that by selecting console text and using terminal emulator copy command. Consider for example that with visible tabs/spaces it won't be usable at all (and that's cool feature of mcedit which I have all the time, hope other folks who work with multiple codebases and projects either). Even if it's not on, copying via termemu will not preserve tabs, and taht's again important when working with multiple projects with different codestyles.

Finally, mcedit clipfile could offer limited workaround (when copying from mcedit to mcedit, but what about copying to other apps/other machines?) - but even that has issues: #3080.

So, direct X11 clipboard is really needed to make mcedit completely comfortable to work in contemporary environment. And the issue is two-fold: first technically implement that, and then assign good key combo to it. Ctrl+Alt+C seems like both doable and intuitive enough (with Ctrl+Shifc+C being gnome terminal, etc. Copy).

@mc-butler
Copy link
Author

Changed by ossi (@ossilator) on Sep 27, 2013 at 8:07 UTC (comment 1)

implemented long ago as #30. and of course i was right in my comment 20. ;)

@mc-butler
Copy link
Author

Changed by andrew_b (@aborodin) on Sep 27, 2013 at 9:41 UTC (comment 2)

  • Milestone Future Releases deleted
  • Status changed from new to closed
  • Resolution set to duplicate

Closed as duplicate of #30.

@mc-butler
Copy link
Author

Changed by pfalcon (pmiscml@….com) on Sep 27, 2013 at 9:50 UTC (comment 3)

Err, I wanted then to rephrase this ticket to be elaboration of what was done for #30. Do you really want 3-yars old #30 to be reopened instead?

@mc-butler
Copy link
Author

Changed by pfalcon (pmiscml@….com) on Sep 27, 2013 at 17:30 UTC (comment 4)

  • Milestone set to Future Releases

@andrew_b: No reply, then my preference is actually not to resurrect 3-year old bug: I don't challenge that it's implemented and closed. I have ideas how to elaborate X11 Copy/Paste implementation, and rather would have this as a separate ticket (xref to #30 are good of course). As it's not possible to edit description of this bug, I created new one at #3083.

@Ossi: Thanks for the pointer! You were right of course in your comment, and it doesn't take a psychologist or UI interaction scientist to predict that if some basic feature is not immediately works/visible, it won't be found. So let's look how we can improve on #30.

@mc-butler
Copy link
Author

Changed by pfalcon (pmiscml@….com) on Sep 27, 2013 at 17:33 UTC (comment 5)

  • Milestone Future Releases deleted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: mcedit mcedit, the built-in text editor prio: medium Has the potential to affect progress
Development

No branches or pull requests

1 participant