[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Yanking as HTML
From: |
Daniel Colascione |
Subject: |
Re: Yanking as HTML |
Date: |
Sun, 30 Oct 2016 03:05:00 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Lars Ingebrigtsen <address@hidden> writes:
> I've tried googling for this for a few minutes, but I haven't found
> anything promising (without relying on uncommon external programs).
>
> I sometimes copy text from Firefox to Emacs, and when I'm pasting into
> HTML documents, I would sometimes prefer to retain the HTML formatting
> of what I'm copying.
>
> Does Emacs have support for this somehow? And if not, has anybody
> thought about what this support should look like? Obviously, the user
> must be able to control "how much" richness should be yanked when
> yanking (just the text; the HTML formatting; perhaps images too?).
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. The feature you're requesting is pretty straightforward to
implement, but it needs platform-specific C code. I agree about the user
options for controlling it --- perhaps on an operation-by-operation
basis via some kind of special prefix flag.
Re: Yanking as HTML,
Daniel Colascione <=
Re: Yanking as HTML, YAMAMOTO Mitsuharu, 2016/10/30
- Re: Yanking as HTML, Lars Ingebrigtsen, 2016/10/30
- Re: Yanking as HTML, Yuri Khan, 2016/10/30
- Re: Yanking as HTML, Lars Ingebrigtsen, 2016/10/30
- Re: Yanking as HTML, mituharu, 2016/10/30
- Re: Yanking as HTML, Lars Ingebrigtsen, 2016/10/30
- Re: Yanking as HTML, Lars Ingebrigtsen, 2016/10/30
- Re: Yanking as HTML, Ted Zlatanov, 2016/10/31