Age | Commit message (Collapse) | Author |
|
|
|
|
|
"looks good" kjell
|
|
- some whitespace cleanup
ok lum@
|
|
a name longer than LOGIN_NAME_MAX and also has a tilde at the front
e.g:
$ mg ~01234567890123456789012345678901
mg will give a "Login name too long" instead of opening a new buffer
named ~01234567890123456789012345678901
|
|
Suggestions from eric@ and Sunil Nimmagadda.
Remarks deraadt@.
|
|
name' as opposed to tname 'Temp name'
|
|
by reference instead. This allows the mg startup file to open other
files without unexpected things happening.
Discussed with Sunil Nimmagadda.
|
|
Bring behaviour more into line with emacs.
|
|
They have not compiled for numerous years.
ok kjell@ millert@
|
|
|
|
1. return an error value
2. show an error message
From Loganaden Velvindron with suggestion from millert@
|
|
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...)
|
|
Emulate the emacs behavior: after suspend/resume, buffer switch,
or at save time, warn (prompt) the user if the file has been modified
on disk in the interim.
This has already saved my butt numerous times.
ok phessler
|
|
sys/dev/pci/pciide.c from naddy@
|
|
line-number count for a buffer (M-X insert-file, M-> to reproduce).
While here, fix a number of bugs with incorrect line numbers
after swap point-and-mark
Originally reported via debian's bug tracking system. Fix tested by
Han Boetes and Deanna Phillips.
|
|
|
|
have multiple bits set, which lead to surprising results. Spotted by
Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@
|
|
unintuitive b_linep. No binary change.
|
|
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says
ok kjell
|
|
|
|
except for the command line specified files. ok kjell,cloder
|
|
|
|
cvs revisions, and fix a few comments to match reality
|
|
Avoid, and rearrange a test so it can't (hypothetically) overflow.
|
|
|
|
|
|
struct/union/casting nightmare when building the list of names for filename
completion. In particular, be consistent about strduping and freeing
the list data.
|
|
word in the undo-list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"//" and "/~" as '/' and '~' respectively. I know emacs does it,
but it is weird, and breaks things that foolishly use filenames
like "/tmp//crontab.xxxx".
Proddings from matthieu and deraadt. Error report from Bernd Ahlers.
|
|
|
|
a> if you run into the beginning of the string, use the whole thing
b> if you run into a // combo, use everything starting from the second /
c> if you run into a /~ combo, use everything starting from the ~
i.e. do like emacs.
From (and for) Jason Wright
|
|
space. Fix usage of strlcpy. Correct test for terminating slash.
"looks good" deraadt@
|
|
|
|
ok cloder@
|
|
Noticed by Han Boetes
|
|
a directory. Modified version of patch from Han Boetes.
ok cloder@
|
|
|
|
* dired-other-window should default to current buffer's path.
* Remove redundant code (from Han Boetes)
* Move initialization (and since we're here, fix mail-mode initialization
too)
* Remove redundant keymap in dired.c, and replace it with
the better one that was being ignored in keymap.c.
|
|
ok millert@, deraadt@
|
|
- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification
ok henning@
|
|
|
|
conversion. revert my diff that takes it out, and instead, on
realpath() failure (like when you have no perms on pwd) just return the
unexpanded path. everything still fine with that, just tab completeion
and the like does not work (obviously).
this was mainly for "sudo mg /etc/something" from ~ where ~ is
nfs-mounted with root mapped to -2
and now, that case works as well as tab completion on insert-file etc.
|