From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Yanking as HTML Date: Sun, 30 Oct 2016 19:15:39 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: blaine.gmane.org 1477822630 16303 195.159.176.226 (30 Oct 2016 10:17:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2016 10:17:10 +0000 (UTC) User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 30 11:16:56 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 1c0nAG-0007uv-54 for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 11:16:32 +0100 Original-Received: from localhost ([::1]:57627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0nAI-0007LY-Os for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 06:16:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0n9Z-0007IX-F7 for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:15:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0n9V-0001ES-LS for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:15:49 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:63819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0n9V-0001Dn-Br for emacs-devel@gnu.org; Sun, 30 Oct 2016 06:15:45 -0400 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 261EAF08EC for ; Sun, 30 Oct 2016 19:15:42 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 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:208971 Archived-At: >>>>> On Sun, 30 Oct 2016 10:42:10 +0100, Lars Ingebrigtsen said: > 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?). What would the result of (gui-get-selection 'CLIPBOARD 'TARGETS) look like after copying text from the browser to the clipboard? YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp