[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
";" in auto-fill mode.
- To: EB%MIT-OZ@MIT-MC.ARPA
- Subject: ";" in auto-fill mode.
- From: Eugene Ciccarelli <ECC%MIT-OZ@MIT-MC.ARPA>
- Date: Tue, 23 Oct 1984 22:11 EDT
- Cc: Bug-Emacs%MIT-OZ@MIT-MC.ARPA
- In-reply-to: Msg of 23 Oct 1984 11:53-EDT from EB
This discussion seems to be a little misleading. The default
EMACS global bindings of Comment Start is 0 (no comments), and
Text Mode doesn't bind it. So in the default EMCAS, auto-filling
in Text mode works ok, i.e., it doesn't have the behavior EB
described.
The problem arises if you decide to set Comment Start globablly.
Then Text Mode WOULD have a Comment Start set -- since it does
not explicitly bind it off (to 0). EB's EMACS.VARS file does
indeed set Comment Start.
Philisophical questions (about what it means to have a global
binding of Comment Start, and what a mode should specify) aside,
there is a simple fix for EB: Have Text Mode Hook bind the
variable to 0. I.e., change the EMACS.VARS entry to:
Text Mode Hook: "1M.L Auto Fill Modeâ
:I*.â â âM.L Paragraph Delimiterâ
0M.L Comment Startâ
0M.L Comment Beginâ"