From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: What happens with text properties in batch mode? Date: Fri, 07 Dec 2018 08:56:23 +0100 Message-ID: <87h8fplqhk.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1544169411 1042 195.159.176.226 (7 Dec 2018 07:56:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2018 07:56:51 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 08:56:47 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1gVB0A-0000BT-T5 for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 08:56:47 +0100 Original-Received: from localhost ([::1]:44671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVB2H-0007pK-0t for geh-help-gnu-emacs@m.gmane.org; Fri, 07 Dec 2018 02:58:57 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVB1t-0007pF-2k for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:58:34 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gVB1o-0000bW-51 for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:58:33 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:51196) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gVB1n-0000UX-Qe for help-gnu-emacs@gnu.org; Fri, 07 Dec 2018 02:58:28 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 3516DE5602A for ; Fri, 7 Dec 2018 08:58:24 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lGRR87Bnddo9 for ; Fri, 7 Dec 2018 08:58:20 +0100 (CET) Original-Received: from localhost (83.25.49.65.ipv4.supernova.orange.pl [83.25.49.65]) by mail.mojserwer.eu (Postfix) with ESMTPSA id F0545E5601E for ; Fri, 7 Dec 2018 08:58:19 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:118902 Archived-At: Hi all, it seems that when I `princ' something with text properties (e.g., colored faces) in batch mode, the colors disappear. Is it documented anywhere? Can I disable this behavior? I found this: https://github.com/Lindydancer/e2ansi, and its existence suggests that outputting colored stuff (using ANSI codes) is non-trivial. Am I right? TIA, -- Marcin Borkowski http://mbork.pl