Age | Commit message (Collapse) | Author |
|
|
|
|
|
different in the committed version. Change to his original text,
requested by him.
|
|
double-space after /[.?!]\)?/
From a diff sent to tech@ by Matthew Dempsky some
months ago.
|
|
Man page review and suggestions from jmc@
Revewied and tested by myself, and ok deraadt@
|
|
|
|
Also tweak man page from jmc@
|
|
|
|
1. return an error value
2. show an error message
From Loganaden Velvindron with suggestion from millert@
|
|
filename, from Henri Kemppainen.
Tested, reviewed and a tweak each from Loganaden Velvindron
and myself.
ok jasper@
|
|
of file name. Also add some missing keybindings.
Initial diff and numerous revisions from Loganaden Velvindron,
contributions from Henri Kemppainen and myself. Much testing
done by Nima Hoda.
ok jasper@
|
|
ok jmc@
|
|
both forwards and backwards cases, though the forward case is better
tested. This is required because the actual character deleter
function (ldelete) requires an exact count. If it runs short, it will
not put the deletion into the kill buffer. This is complicated by how
mg internals consider newline's as counted characters even though they
do not occur in the buffers... and then there is the no newline at EOF
fiasco....
|
|
|
|
|
|
ok nick@ schwarze@ miod@ kjell@
|
|
which have fewer special cases, and use the strlcpy/strlcat
src/dst/buffer len semantic. More portable to boot.
Discussion and feedback from Henri Kemppainen
|
|
was built. no binary change here. confirmed by lum@, tested by Henri Kemppainen
|
|
filename completion. Avoids a recurring portability headache.
ok lum@
"concerns assuaged to the soothing sounds of Martin Denny blambert@"
(I worry about that guy...)
|
|
clean up undo boundaries for functions in random.c
This catches an error, where twiddling in an empty file could
disable undo boundaries for the rest of the session.
proper undo boundaries around newline() will have to wait until
proper reference counting is done... Thanks!
|
|
|
|
ok kjell@
|
|
caller, too. ok lum@
|
|
test len against INT_MAX, not SIZE_MAX. 'looks good' jasper@
|
|
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
|
|
capitalization for keys in Control and Meta for both key bindings
and descriptions.
ok kjell@
|
|
|
|
means.
If we hit an OOM condition, mg started to try and dump the older undo buffer
entries in order to be able to continue. OTOH, it was grabbing this entry with
LIST_END, which like all *_END() list macros evaluates to NULL.
Do what we actually want and switch that list to a TAILQ and use
TAILQ_LAST to grab the last entry.
Wrote this a loooooong time ago after a mail from Matthew Dempsky on
bugs@. ok kjell@, beck@ also looked at this months ago and thought it
was alright.
|
|
Make dired more sane (and emacslike):
* Position cursor at first filename after ..
* Don't reposition cursor on reopening
* Check for permission before attempting to open directory
I took forever to get this in. Thanks, Logan for being patient!
|
|
|
|
|
|
|
|
ok kjell@
|
|
|
|
ok kettenis
|
|
"yup" henning@
|
|
ok henning@ dms@
|
|
|
|
|
|
|
|
|
|
"if it formats correctly, go for it" jmc@
|
|
|
|
(C-k) with respect to cursor position. The former leaves the cursor at the end,
the latter at the beginning of the region.
emacs is wacky.
Make mg undo do the same. ok deraadt
|
|
|
|
(e.g. *scratch*, *Completions*, *grep*) it is considered throwaway; i.e.
the user will NOT be prompted to save changes when the buffer is killed.
|
|
for destruction at a later date. (in the process, add a window flag field)
This fixes an issue noted by maja: namely, the *completion*
window that pops up when you try to complete a filename on
buffer load would destroy any second window that you happened
to have open.
ok maja@
|
|
Noticed and ok matthieu@
|
|
flag: it is for redisplay options only. I need an additional all-purpose
flag, so renaming removes the desire to wrongly overload the existing one.
Turdshine. No functional chage.
|