unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* folding-mode and loading .emacs
@ 2008-05-19 18:19 bigfaceworm
  0 siblings, 0 replies; only message in thread
From: bigfaceworm @ 2008-05-19 18:19 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-19 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-19 18:19 folding-mode and loading .emacs bigfaceworm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).