From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luca Ferrari Newsgroups: gmane.emacs.help Subject: font faces across a copy and paste Date: Tue, 30 Jul 2013 08:30:12 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1375165827 5263 80.91.229.3 (30 Jul 2013 06:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jul 2013 06:30:27 +0000 (UTC) To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 30 08:30:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V43Ry-00034t-4W for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 08:30:26 +0200 Original-Received: from localhost ([::1]:57091 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V43Rx-0006Oy-MQ for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Jul 2013 02:30:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V43Rm-0006Os-FW for help-gnu-emacs@gnu.org; Tue, 30 Jul 2013 02:30:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V43Rl-0004dl-HN for help-gnu-emacs@gnu.org; Tue, 30 Jul 2013 02:30:14 -0400 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:38426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V43Rl-0004dg-BT for help-gnu-emacs@gnu.org; Tue, 30 Jul 2013 02:30:13 -0400 Original-Received: by mail-wi0-f170.google.com with SMTP id hi8so1928941wib.5 for ; Mon, 29 Jul 2013 23:30:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=sKZOQ7c+5V19Sj6jNO1T6uhmcut30im+6pi+UQ/DPYM=; b=Q233TsJ9b0is0LWaBewN9KkfJLTaqwuErtXw03R/iEIohC3W2lEXnbmfVywm8lX0zE sSs4pbn8VZEDTBKfjdWjG3VS73IGr15m68M7e6+z2xcejIQt0HcgHw75lzv0EUez8gHO yPZ+cct9Vaamqd9FfmP6bVydbWNl2RxieGjD1k3hzLK/j1P9rqIUr76dD7J56NxCmnY/ 84qdGPFgyU8G1P/xWhKoyXfb/ztr3awwTja9I4Ybg7n44T8l0rGbnpVmYmzOf97laUGX 1z3zhZKn7r022+ecdiTUUnd2vqOupNhlVUijWPOfPzqQee46AB1sUu7+T2SrDPGlJH/V i8mg== X-Received: by 10.180.20.105 with SMTP id m9mr4530543wie.44.1375165812595; Mon, 29 Jul 2013 23:30:12 -0700 (PDT) Original-Received: by 10.194.157.194 with HTTP; Mon, 29 Jul 2013 23:30:12 -0700 (PDT) X-Google-Sender-Auth: xXi-stDsQ39taaN1NMsXXjzGN6M X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92527 Archived-At: Hi, this is just a curiosity: I noted that if I'm editing a text buffer and a code buffer, let's say C/Java, and I copy and paste the code from the code buffer into the text one than the pasted text maintains the faces (e.g., colors). I was thinking that faces were applied at a buffer level, and therefore the code should become faced as a text chunk, but apparently Emacs stores faces somewhere in memory related to the text chunk itself. Is this correct? There is something I'm missing? Thanks, Luca