| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
while mg is running: toggle-read-only-all
|
|
|
|
|
|
|
| |
By default, replacing "foo" with "bar" turns "FOO" into "BAR".
With case-replace turned off, "FOO" will turn into "bar".
OK florian@ tb@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If you prefer "lighter" punctuation and one space between sentences,
for example:
Mr and Mrs Jones are from the UK. They arrived today.
over more liberal use of full stops and double spaces between
sentences:
Mr. and Mrs. Jones are from the U.K. They arrived today.
then toggling 'sentence-end-double-space' will make mg's
fill-paragraph function format text using one space instead of two
(the default) between sentences. However, be careful, should you have
a double spaced document and accidentally "format" it to have single
spaces, then you may have a problem. mg won't be able to revert the
formatting for you (unless you have a previous version of the text in
the "undo" history, or are using mg's backup facility and haven't
opened and saved multiple times!).
Comments from schwarze@
|
|
|
|
| |
Limited to one iteration until 'undo' is looked into.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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@
|
|
|
|
|
|
| |
off, make available an alternative 'visible-bell'.
ok florian@ jasper@ Feedback Sunil Nimmagadda.
|
|
|
|
|
| |
ok florian@ jasper@
Testing Sunil Nimmagadda
|
|
|
|
|
| |
input gsoares@, Sunil Nimmagadda, jasper@
ok jasper@, benno@
|
|
|
|
|
|
|
|
|
| |
to not kill slow serial lines.
Committing my independently written, slightly different version, as
requested by jasper@.
OK jasper@, OK reyk@ for jasper@'s version of the diff
"Sure, if you think so then." deraadt@
|
|
|
|
|
| |
feedback from florian@ lum@
ok florian@
|
|
|
|
| |
ok jasper, lum
|
|
|
|
|
|
|
| |
- split gotoline() into the argument handling part and the part that actually
goes to the specified line number so it can be re-used by revertbuffer()
input/ok florian@ haesbaert@
|
|
|
|
|
| |
Suggestions from eric@ and Sunil Nimmagadda.
Remarks deraadt@.
|
|
|
|
|
|
|
|
| |
structural limitations in mg, mg doesn't behave exactly the same as
emacs cscope (see the README) but is still very usable.
man page bits reviewed by jmc@, otherwise tested and reviewed by
myself.
|
|
|
|
|
| |
They have not compiled for numerous years.
ok kjell@ millert@
|
|
|
|
|
|
|
|
| |
1. C-x h to mark whole buffer.
2. M-| to pipe current region to external command.
From Sunil Nimmagadda.
Feedback from deraadt@ and myself. ok for man page amendments from jmc@
|
|
|
|
|
| |
has not done so for numerous years. Not hard to fix, but just remove anyway.
ok kjell@ millert@
|
|
|
|
|
|
| |
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
|
|
|
|
|
|
| |
Join the current line to the previous.
original diff by Henri Kemppainen. minor mod to add undo boundaries.
Thanks!
|
|
|
|
|
| |
Move the dot to the first non-whitespace character on the current line.
from Henri Kemppainen . ok theo
|
|
|
|
|
| |
This should have no functional change on undo, but it does facilitate
testing undo behavior.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
both emacsen automatically blink, so mg should too. This can be
overridden in your ~/.mg by adding, e.g.
global-set-key ")" self-insert-command
So, I've eliminated blink mode, and renamed "blink-matching-paren-hack"
to "blink-and-insert". It's not just for parens anyway.
While I'm here, set up an empty (rescan) target for backtab, so I can
bind something convenient to it; e.g.
global-set-key "\e[Z" backward-char
Finally, remove all references to Scribd.
Theo doesn't hate this, though I would hesitate to call it an ok.
|
|
|
|
|
| |
indent-current-line utility functions for stripping leading/trailing
whitespace, and setting a fixed indent respectively.
|
|
|
|
|
|
|
| |
Use it to clear the region it is copied (M-w), or yanked (C-w).
This matches xemacs behavior, is not horribly different from gnu
emacs, and way less wrong than the current behavior.
Noticed by Han Boetes. ok otto@
|
|
|
|
| |
ok art
|
|
|
|
|
|
|
|
| |
behavior (every buffer maintains its own cwd) and the old behavior of
one global working directory. This makes it slightly easier to hack
on things like kernel code, where compilation, etc, are initiated from
a different directory than you are working in.
While here, fix setting/handling of global wd.
|
|
|
|
|
|
| |
which swaps ^H and DEL.
ok jason@
|
|
|
|
| |
no binary change.
|
|
|
|
|
|
|
|
|
|
| |
way to do it, but all the clever and pretty ways utterly failed.
Basic use seems fine. We'll turdshine the special cases later.
If it bothers you, use M-x line-number-mode, or put same in your ~/.mg
file to disable.
ok cloder, jason
|
|
|
|
|
|
| |
struct/union/casting nightmare when building the list of names for filename
completion. In particular, be consistent about strduping and freeing
the list data.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
(#ifdef is for emacs developers)
|
| |
|
|
|
|
|
|
|
| |
dired functions that were written, but not bound to keys. No other
functional change.
Tested by Han Boetes.
|
| |
|
|
|
|
| |
(you're welcome kjell)
|
|
|
|
|
| |
to confirm replacements.
OK jason, deraadt
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification
ok henning@
|
|
|
|
|
|
|
| |
write access. diff originally from vincent@ and forgotten for
a while.
ok rohee@, "toss it in, i'll bitch if it doesn't work" henning@
|
|
|
|
|
|
| |
certain patterns. for example, `auto-execute "*.c" auto-indent-mode'.
ok art@
|
|
|
|
|
|
| |
which was missing for an unknown reason.
ok art@
|
| |
|
|
|
|
|
|
| |
* Add a whole lot of consts where I thought it made sense
no ok, but no objections either...
|