all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bigfaceworm <bigfaceworm@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: folding-mode and loading .emacs
Date: Mon, 19 May 2008 11:19:46 -0700 (PDT)	[thread overview]
Message-ID: <2a064bd4-a70d-47ae-9913-118625f6d53c@1g2000prg.googlegroups.com> (raw)

All,

Long time user of folding mode, but recently came across an annoying
behavior I wondered if others had seen (and worked around).

I'm using Emacs version 22.1   Folding 3.42 (2007.0506)  and  Folding
2.97 both.

My .emacs is folded.  Sometimes when I save my .emacs the lines are
"folded" and have ^M characters on them, essentially turning each of
the folds into one big comment - and preventing Emacs from evaluating
any of the elisp contained within.  Other times the .emacs is saved w/
out the ^M (I presume) because my Emacs will start up just fine.

So, two questions.

Any idea what might be causing this?  It started when I upgraded to
Emacs 22.1 (built my own after changing jobs).

And, why must files be saved folded?  I don't understand why the file
can't be saved as a regular file (w/out ^M), and just folded upon
loading it.  I see the write file hook turns on folding.

tia,

TJ


                 reply	other threads:[~2008-05-19 18:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a064bd4-a70d-47ae-9913-118625f6d53c@1g2000prg.googlegroups.com \
    --to=bigfaceworm@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.