✨ emacs-everywhere-linux-copy-function emacs-everywhere-paste-cmd #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
defcustom for alternative methods of handling the clipboard on linux
also added documentation of the added as well as other customizations
Overlaps with issue #28 and maybe also a fix for issue #10
The modifications have at least a few weak spots.
emacs-everywhere-paste-cmd
should maybe be a function instead of a list passed ontocall-process
(eval
(... ,@Args))when
(apply ...)` is used elsewhereThere's a solid argument that it's easier to use as a list:
the intent is clearer and there is little ceremony.
but it is weaker (can't drop into elisp) and inconsistent with
emacs-everywhere-filename-function
andemacs-everywhere-linux-copy-function
I get the sense things were well organized before I started poking around.
But I'm not deep enough into to understand what should go where.
emacs-everywhere-call
uses(apply #'call-process command nil t nil (remq nil args))
Just saw that. That looks cleaner than using eval. I'm here to
practice lisp. Got carried away in emacs-everywhere-paste-cmd?