[emacs-w3m:13155] [emacs-w3m/emacs-w3m] New feature: copy links to OS clipboard (#12)

Boruch Baum <[email protected]>
Newsgroups gmane.emacs.w3m
Message-ID <emacs-w3m/emacs-w3m/pull/[email protected]>
+ IMPORTANT: See below for 'issues'...

+ New function w3m--send-to-gui-clipboard

+ New defcustom w3m-gui-clipboard-commands

+ Feature applied to existing functions that copy link
  information to the emacs kill-ring.
  + w3m-print-current-url
  + w3m-print-this-url
  + w3m-print-this-image-url
  + w3m-lnum-print-this-url

+ New docstrings for some functions

+ ISSUES

  + BUG! I'm still having trouble getting defcustom to do
    what I want. In this case, customize-variable
    improperly displays the car of each cons cell as the
    first radio button on the list.

  + MISSING INFORMATION! I'm only familiar with linux, so I
    wasn't able to populate w3m-gui-clipboard-commands for
    other operating systems. Even if someone gives me a set
    of command strings, I have no way of testing them.

  + Tsuchiya-san recently expressed interest in a 'private
    browsing' mode for emacs-w3m.

    + This feature does make browsing a little less private
      in that anything copied to the emacs kill-ring is
      shared with the OS clipboard.

    + I can easily set a configuration value for the
      feature, but it might be more forward-thinking to
      label that value generically as something like
      w3m-private-mode instead of something specific like
      w3m-kill-ring-copies-to-os-clipboard.

    + It might just be best to wait until there exists a
      more detailed specification or expectation of what
      some private-mode would offer. For example, it may be
      decided to allow the copies, and upon exit to clear
      both the emacs kill-ring and the OS clipboard.
You can view, comment on, or merge this pull request online at:

  https://github.com/emacs-w3m/emacs-w3m/pull/12

-- Commit Summary --

  * New feature: copy links to OS clipboard

-- File Changes --

    M ChangeLog (17)
    M w3m-lnum.el (24)
    M w3m-util.el (27)
    M w3m.el (26)

-- Patch Links --

https://github.com/emacs-w3m/emacs-w3m/pull/12.patch
https://github.com/emacs-w3m/emacs-w3m/pull/12.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/emacs-w3m/emacs-w3m/pull/12
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.