From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: mituharu@math.s.chiba-u.ac.jp Newsgroups: gmane.emacs.devel Subject: Re: Yanking as HTML Date: Sun, 30 Oct 2016 20:34:26 +0900 Message-ID: <68651f25e55039129283c2311d9631a3.squirrel@weber.math.s.chiba-u.ac.jp> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1477827434 25816 195.159.176.226 (30 Oct 2016 11:37:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 30 Oct 2016 11:37:14 +0000 (UTC) User-Agent: SquirrelMail/1.4.22-4.el6 To: "Emacs developers" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 30 12:37:10 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 1c0oPt-000396-FZ for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 12:36:45 +0100 Original-Received: from localhost ([::1]:57995 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0oPw-00055n-5a for ged-emacs-devel@m.gmane.org; Sun, 30 Oct 2016 07:36:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0oNj-0003TV-R5 for emacs-devel@gnu.org; Sun, 30 Oct 2016 07:34:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c0oNg-0001Ww-Ol for emacs-devel@gnu.org; Sun, 30 Oct 2016 07:34:31 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:63773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c0oNg-0001W0-7W for emacs-devel@gnu.org; Sun, 30 Oct 2016 07:34:28 -0400 Original-Received: from weber.math.s.chiba-u.ac.jp (weber [192.168.32.4]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 7D921F08EC for ; Sun, 30 Oct 2016 20:34:25 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) Original-Received: from 114.183.227.77 (SquirrelMail authenticated user mituharu) by weber.math.s.chiba-u.ac.jp with HTTP; Sun, 30 Oct 2016 20:34:26 +0900 In-Reply-To: X-Priority: 3 (Normal) Importance: Normal 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:208983 Archived-At: >> * If you paste only the HTML, half the users will complain that “what >> you get” in the target document differs from “what you see” of the >> source document. > > Well... People know that Emacs isn't a wysiwyg editor, so I don't think > that is a complaint that will be common. The complaint will be 50% "why > is it outputting all this HTML junk into my buffer?" and 50% "why isn't > it outputting any HTML into my buffer?" :-) > > So creating a user interface that for this that annoys the least number > of people is what's important. > > And it could even be a total opt-in thing, like a global minor mode > like, er, `clever-yank-mode'. The Mac port does something related for image data in the clipboard: when the clipboard has both textual and image data, yank (C-y) inserts the former and push both into the kill ring so the latter can be inserted with yank-pop (M-y) afterwards. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp