emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yanking as HTML


From: Lars Ingebrigtsen
Subject: Re: Yanking as HTML
Date: Sun, 30 Oct 2016 11:41:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> On Okt 30 2016, Lars Ingebrigtsen <address@hidden> wrote:
>
>> I've tried googling for this for a few minutes, but I haven't found
>> anything promising (without relying on uncommon external programs).
>
> What are those programs doing?

Here's one on Linux:

address@hidden ~]$ xclip -o -t TARGETS
TIMESTAMP
TARGETS
MULTIPLE
text/html
text/_moz_htmlcontext
text/_moz_htmlinfo
UTF8_STRING
COMPOUND_TEXT
TEXT
STRING
text/x-moz-url-priv
address@hidden ~]$ xclip -o -t text/html
<div class="entry-meta">
                                                <span class="meta-prep 
meta-prep-author">BY</span> <span class="author vcard"><a class="url fn n" 
href="http://www.tcj.com/author/josselin-moneyron/"; title="View all posts by 
Josselin Moneyron">Josselin Moneyron</a></span> <span class="entry-date">Oct 
27, 2016</span>    </div>

So I guess it's ... looking at the various different clipboard contents?
(I am wholly unfamiliar with how cut-and-paste really works in X, I just
use Emacs :-)).

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]