| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
-UDIRED_XMAPS and -UFUND_XMAPS: you can't build mg the other way.
-DTIOCGWINSZ: you have this if you have term.h
Remove a #define TERMCAP which isn't being used.
Remove defines for NDIRED_XMAPS, NFUND_XMAPS, and IMAPEXT. They are all
defined to be 0 and are only ever used in addition. We don't need to add 0.
Simply lines that were using those defines.
ok florian@
|
|
|
|
|
|
|
|
|
|
| |
This does the following:
Moves all POSIX headers from sysdef.h into the individual .c files so that
each file now only includes what it needs. All headers are properly sorted.
Moves the remainder of sysdef.h to other files (mostly def.h) and deletes
sysdef.h now that it's no longer contains anything.
Tweak a comment that references sysdef.h so that it no longer does that.
ok florian@
|
|
|
|
|
|
| |
function of the same name in term.h. This is the first step towards
cleaning up mg's includes. No user-visible changes.
ok florian@
|
|
|
|
| |
ok deraadt@ jasper@
|
| |
|
|
|
|
|
|
| |
comments to reflect that
based on a diff from Kamil Rytarowski (n54 (at) gmx.com)
|
|
|
|
|
|
| |
Remove a redundant comment in the same place while here.
Tweaks from lum@
ok florian@ lum@
|
|
|
|
| |
note: no-tab-mode needs more work done before removing the NOTABs.
|
|
|
|
| |
ok kjell@
|
|
|
|
|
|
|
|
| |
as other modes do, for consistency and to save a few chars.
written with help from kjell@
ok kjell@
|
|
|
|
|
| |
This should have no functional change on undo, but it does facilitate
testing undo behavior.
|
|
|
|
| |
Also, attempt to make indent an atomic undo operation.
|
|
|
|
|
| |
Add "c-handle-special-brace" which does a blink and indent, rather
than just a selfinsert and indent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(with appropriate indenting):
/*
* comment
*/
and
foo(); /* comment */
Whew. A lot of code for a seemingly simple idea.
ok phessler@
|
|
The intent of this mode is NOT to copy emacs's monster cc-mode.
It is intended to handle basic KNF-format C, assisting
with indentation (to catch obvious typos), and strip
trailing whitespace. It is NOT enabled unless you ask for it (c-mode).
Basically, tab on start-of-line whitespace acts like tab.
Otherwise, tab indents.
Please try it out and let me know where it falls down.
Feedback Reyk, phessler. "hack in tree" from henning, theo
|