From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Igor Sosa Mayor Newsgroups: gmane.emacs.devel Subject: Re: Yanking as HTML Date: Sun, 30 Oct 2016 11:38:26 +0100 Message-ID: <87insa6s0t.fsf@gmail.com> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477823976 26674 195.159.176.226 (30 Oct 2016 10:39:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2016 10:39:36 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 30 11:39:29 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c0nWE-0004Gb-6o for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 11:39:14 +0100 Original-Received: from localhost ([::1]:57686 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0nWG-00036Z-OA for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 06:39:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0nW4-00036J-Hc for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:39:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0nW0-00087s-Pj for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:39:04 -0400 Original-Received: from [195.159.176.226] (port=59873 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c0nW0-00087o-JT for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:39:00 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c0nVu-0001qd-50 for emacs-devel@gnu.org; Sun, 30 Oct 2016 11:38:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@blaine.gmane.org X-Operating-System: Archlinux Cancel-Lock: sha1:1KFs8tocwjzn6TV3HpyowjXvhuw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:208972 Archived-At: Lars Ingebrigtsen 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?). maybe I don't understand the question, but: why you don't take the source code of the site you're copying? In firefox: Ctrl-U if I remember rightly... -- :: Igor Sosa Mayor :: joseleopoldo1792@gmail.com :: :: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ :: :: jabberid: rogorido :: ::