From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Greg Hill Newsgroups: gmane.emacs.help Subject: Re: Saving/restoring text properties in files Date: Sat, 27 Jun 2020 10:09:20 -0700 Message-ID: References: <6ce8f948-a3dd-49e8-a3c0-5057f6b3110b@default> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="56227"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 27 19:10:35 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpELa-000EUX-Qk for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 27 Jun 2020 19:10:34 +0200 Original-Received: from localhost ([::1]:55890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jpELZ-0007Xj-RF for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 27 Jun 2020 13:10:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jpEL1-0007XZ-My for help-gnu-emacs@gnu.org; Sat, 27 Jun 2020 13:09:59 -0400 Original-Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]:37953) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jpEL0-000704-24 for help-gnu-emacs@gnu.org; Sat, 27 Jun 2020 13:09:59 -0400 Original-Received: by mail-il1-x12f.google.com with SMTP id t85so11116457ili.5 for ; Sat, 27 Jun 2020 10:09:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z4oSjTcI75sophLlsdo8ifzfJs2PL+4mCcj/rtAtMxM=; b=rWWI5XPd/6gLNpqV0eRTXHFvguj+fobMWXhCqJ/demBFZNcoTV8gt25R5qIFOEgW/s l0vXW/GSxEo2uBVXuMQRLY4lxfuWSw+k5RU1W6HxE/O1exM2ifeCal/3J29W77Qe3K+r 4xFra9mFbGdFlask87np/PQ6E7azbjlmf4WbC7utQWfSz4rcpsX5ScTO8wyTL/FHr3x/ 58J7amKfBiLLg+JhlWH2U1PZ3/igahuDW0So4X24cT7naLM0RX5wYv6q5V0+lMTI5Gz7 clK3O/CJwk6fr9YIiCp02GqF40GiiRkkuecRzBVWtVEeJpGxianNvxRRHZ3oOTLOd1HC I5yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z4oSjTcI75sophLlsdo8ifzfJs2PL+4mCcj/rtAtMxM=; b=TvsvKNzX9LBIxzo8XWE5o2rfz3c+vhaCFp+brBDkMUvwl5YRw8jjun3JiTEBhsuZPG q6b3hxgF0vn095W3MMwvZoZisebOXHyIBskBPI5/1WGbRRAN3DuQYJ5M2tyHq8WiEwIc 0u2yy5QisZ6aMKYyh0MpfQzxUzswcMEN5va1zKyItxIdTAFEF+stchmY3FL6FFsJZ9kq zAiToViZZJNipset9A5c17Pm1o50d7oeixOme1P3w3IuL2jirFSHfaxwk6HB5cO+dM0o 5huuQGPP9GwuT0r1yjID6g5oI/iXFCTmLZ8QdDgoc1OmUq88N3QEhyjxEfHDArnxGYJV qogw== X-Gm-Message-State: AOAM532HERkblaON84W4Y7n4wDoWK2msRAKXTgj11IEk6gwonIVTCPuK NmGY/Y7Wxx1ykyVoxtx6WL/w2FDjgIT0sanC7/Y= X-Google-Smtp-Source: ABdhPJxjnts2ik2n89ZeKBQCr0WQeuw4zSmm/npTnBHaUXzAquIKX4W/rOb/k/k0Ou7PtQoIjzVPK/LFdKEBBp/4sLY= X-Received: by 2002:a92:1592:: with SMTP id 18mr385014ilv.17.1593277796899; Sat, 27 Jun 2020 10:09:56 -0700 (PDT) In-Reply-To: <6ce8f948-a3dd-49e8-a3c0-5057f6b3110b@default> Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=gregoryohill@gmail.com; helo=mail-il1-x12f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123447 Archived-At: Thanks so much, Drew, exactly what I needed! On Sat, Jun 27, 2020 at 10:03 AM Drew Adams wrote: > > I'm sure this is brain-dead easy to do with a simple command, but search > as > > I may, I can't find the documentation for it. > > > > I have a text file in Fundamental mode that I have modified to highlight > > parts with different colors. I want to save that file and be able to read > > it back later with all of those highlights. How can I do that? > > Try `enriched-mode'. Not perfect, but it will get > you quite a ways. > > See the Emacs manual, node `Enriched Text'. > > > https://www.gnu.org/software/emacs/manual/html_node/emacs/Enriched-Text.html >