Find the answer to your Linux question:
Results 1 to 2 of 2
Suppose i change the text properties of some of the letters in the text file i have, like color, face properties like bold, italics how do i save these changes??. ...
  1. #1
    Just Joined!
    Join Date
    Dec 2007
    Posts
    1

    saving color and face changes made to a text file in emacs

    Suppose i change the text properties of some of the letters in the text file i have, like color, face properties like bold, italics how do i save these changes??. ie if i open the file in emacs again it should show the file with the changes i made to the file ,both in color and face properties of the text.

  2. #2
    Linux Engineer
    Join Date
    Oct 2004
    Location
    Vancouver
    Posts
    1,366
    EmacsWiki: CategoryFaces

    The links in this page will explain about using various faces in emacs across the whole system, in a single buffer or window, or even a single session. Make sure to update your .emacs to always save and remember face properties. As with emacs, there are many variables, &c. that you can play with and figure out yourself.

    If you run into any specific issues with emacs, or trying to do this, please send me a pm or em and I'll try to help. Read up a little bit first on this. Also, the emacswiki.org is a great place to start off for general customizations &c.

    P.S. if you are using longlines mode with a fill column setting so you will neither see those arrows or have unnecessary breaks cluttering your document and messing up its formatting for other programs, when you change the default display settings to allow the various face settings, make sure that you say "no" to inserting hard returns at the end of each line. For some reason this reformats the document and you will loose your first line. At least in emacs 23.0.50.1
    Operating System: GNU Emacs

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...