You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not that it's a big deal for trivial code like this, but there is a minor license conflict: this package says it's ISC, yet says it's adapted from GPL code.
Yes, I overlooked that.
After learning more about licensing and doing some thinking, it seems
nonsensical in principle to release extensions to GNU Emacs that are
not licensed under the GPL.
alphapapa <notifications@github.com> writes:
Not that it's a big deal for trivial code like this, but there is a minor license conflict: this package says it's ISC, yet says it's adapted from GPL code.
That is mouse-drag-, which is enabled by default. I did not know
about that when I first wrote mouse-copy.el. It does something quite
different. Maybe instead of submitting to MELPA I should get around
to doing my FSF copyright assignment paperwork and submit a patch for
Emacs.
Wilfred Hughes <notifications@github.com> writes:
Commands in mouse-copy.el aren't enabled by default, but I see they're slightly different. mouse-drag-secondary-pasting requires you to M-down-mouse-1 and drag the region you want, and it's inserted at point.
This package uses the sexp you've just clicked on, saving you from needing to drag across the sexp.
It's definitely more convenient with this package, but since core Emcs already has a mouse-copy.el, this package will need to be renamed before MELPA I suspect.
It's definitely more convenient with this package, but since core Emcs already has a mouse-copy.el, this package will need to be renamed before MELPA I suspect.
Here is what I would like to do:
Rewrite this functionality as new code that extends Emacs'
mouse-copy.el and submit it as a patch for inclusion into Emacs.
There are many things wrong with this code (like the use of `error`).
I would also like to have these features:
1. Use secondary selection face for highlighting the s-exp about to
be copied.
2. Customization group and better documentation.
3. Look into adding other mouse actions from ZWEI/Zmacs.
I can't promise this will be done soon, but I would like to do it (I
even bought a mouse again last week, in anticipation of the work,
after almost a decade of pointing stick use). Thank you for showing
interest in this code, and for calling my attention to Emacs'
mouse-copy.el
Vladimir
Activity
vsedach commentedon Aug 26, 2018
Thank you! That is a good idea.
alphapapa commentedon Aug 29, 2018
Not that it's a big deal for trivial code like this, but there is a minor license conflict: this package says it's ISC, yet says it's adapted from GPL code.
vsedach commentedon Aug 30, 2018
Wilfred commentedon Sep 2, 2018
Uh, so I was compiling Emacs today, and noticed that this is already built-in to Emacs! https://github.com/emacs-mirror/emacs/blob/master/lisp/mouse-copy.el
I really appreciate your package for helping me discover it, but perhaps it doesn't need to be on MELPA :)
vsedach commentedon Sep 5, 2018
Wilfred commentedon Sep 23, 2018
Commands in mouse-copy.el aren't enabled by default, but I see they're slightly different.
mouse-drag-secondary-pastingrequires you toM-down-mouse-1and drag the region you want, and it's inserted at point.This package uses the sexp you've just clicked on, saving you from needing to drag across the sexp.
It's definitely more convenient with this package, but since core Emcs already has a mouse-copy.el, this package will need to be renamed before MELPA I suspect.
vsedach commentedon Sep 25, 2018
Make file a valid elisp package