all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Daniel Colascione <dancol@dancol.org>
Cc: emacs-devel@gnu.org
Subject: Re: Yanking as HTML
Date: Sun, 30 Oct 2016 11:47:58 +0100	[thread overview]
Message-ID: <m3mvhmqfj5.fsf@gnus.org> (raw)
In-Reply-To: <r0251syyp2yb.fsf@dancol.org> (Daniel Colascione's message of "Sun, 30 Oct 2016 03:05:00 -0700")

Daniel Colascione <dancol@dancol.org> writes:

> A long time ago, I implemented support for rich-text copying _out_ of
> Emacs in the HAVE_NTGUI case, but that code never landed in the
> tree.

Oh, yeah, that's the other thing: It would be really nice if, when you
copy text from an eww buffer that it shows up as HTML if you paste it
into Firefox (or an Emacs HTML buffer, I guess).

> The feature you're requesting is pretty straightforward to
> implement, but it needs platform-specific C code.

Right.  Presumably on GNU/Linux first, and then the other platforms can
follow...

> I agree about the user
> options for controlling it --- perhaps on an operation-by-operation
> basis via some kind of special prefix flag.

And perhaps also (somehow) with different defaults pr mode.  If you're
yanking into an HTML buffer, `C-y' might default to yanking the
text/html clipboard?

And...  er...  what happens if you have an image in the clipboard?
Hm...  Well, it might make sense in a Message buffer?  It gets turned
into a image/jpeg (or whatever) part?  

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  reply	other threads:[~2016-10-30 10:47 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-30  9:42 Yanking as HTML Lars Ingebrigtsen
2016-10-30  9:51 ` Andreas Schwab
2016-10-30 10:41   ` Lars Ingebrigtsen
2016-10-30 11:01     ` Andreas Schwab
2016-10-30 11:08       ` Lars Ingebrigtsen
2016-10-30 11:25         ` Stephen Berman
2016-10-30 17:17     ` Richard Stallman
2016-10-30 10:05 ` Daniel Colascione
2016-10-30 10:47   ` Lars Ingebrigtsen [this message]
2016-10-30 10:52     ` Daniel Colascione
2016-10-30 10:15 ` YAMAMOTO Mitsuharu
2016-10-30 10:43   ` Lars Ingebrigtsen
2016-10-30 10:59     ` Yuri Khan
2016-10-30 11:18       ` Lars Ingebrigtsen
2016-10-30 11:34         ` mituharu
2016-10-30 12:01           ` Lars Ingebrigtsen
2016-10-30 15:26             ` Lars Ingebrigtsen
2016-10-31 12:41             ` Ted Zlatanov
2016-10-31 13:21               ` Lars Ingebrigtsen
2016-10-31 15:48                 ` Eli Zaretskii
2016-11-03 23:55                   ` Chad Brown
2016-10-30 11:25       ` Lars Ingebrigtsen
2016-10-30 10:38 ` Igor Sosa Mayor
2016-11-04  7:13 ` Thierry Volpiatto
2016-11-04  8:49   ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3mvhmqfj5.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.