summaryrefslogtreecommitdiff
path: root/usr.bin/mg
AgeCommit message (Expand)Author
2021-02-24Various fixes from emails Joachim Nilsson sent to tech@ many moonsMark Lumsden
2021-02-24snprintf() does indeed return an int. From an email Joachim NilssonMark Lumsden
2021-02-23Move -u to alphabetically correct place in options. As spotted by jmc@Mark Lumsden
2021-02-23Allow the user to specify a path to the mg startup file on the command line.Mark Lumsden
2020-07-22Avoid running out of memory with query-replace-regex ^Theo Buehler
2020-07-22Prevent mg segfault with query-replace-regex replacing ^Theo Buehler
2020-07-09Avoid NULL deref in regexec when searching for empty lines.Theo Buehler
2020-02-09Do not define variables in def.h since this will lead to duplicate definitionsFlorian Obser
2019-11-08Add that make-backup-files variable is enabled by defaultsolene
2019-07-20Missed a free.Mark Lumsden
2019-07-20Move a bit of code to where it is called only if needed.Mark Lumsden
2019-07-19Previously I left the ')' on the end of a list to indicate the end.Mark Lumsden
2019-07-18The 'list' diff I committed this morning, was missing a couple ofMark Lumsden
2019-07-18Make indentation consistent. This has been bugging me for a while now.Mark Lumsden
2019-07-18Add logging to interpreter.cMark Lumsden
2019-07-18Add some more basic interpreter functionality to mg. Needs a lot moreMark Lumsden
2019-07-17Add BUFSIZE define.Mark Lumsden
2019-07-17Add two dobeep functions to make calls to the system bell requireMark Lumsden
2019-07-11Allow functions that have 1 or more parameters receive and processMark Lumsden
2019-07-05Make mg display the correct file name in the minibuffer if you loadMark Lumsden
2019-07-03selfinsert() can't be called directly from a startup file or byMark Lumsden
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-07-02I totally forgot about the instance where blink-and-insert can beMark Lumsden
2019-07-01Check if user tries to go to current directory in dired-goto-file.Mark Lumsden
2019-07-01add dired-goto-fileMark Lumsden
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Display an error message if trying to copy or rename a file to itself.Mark Lumsden
2019-06-27Print out message after copying a file.Mark Lumsden
2019-06-27This diff uses the existing filename as the new filename if none isMark Lumsden
2019-06-26Add some key and map logging.Mark Lumsden
2019-06-26This diff uses the existing filename as the new filename if none isMark Lumsden
2019-06-26This diff makes blink-and-insert do as the man page says it should do.Mark Lumsden
2019-06-25Add 'dired-revert' to the dired funmap, the 'g' command already worksMark Lumsden
2019-06-24switch-to-buffer (C-x b) doesn't cancel properly if C-g is pressed.Mark Lumsden
2019-06-22Tidy up the comments:Mark Lumsden
2019-06-22Offering to add a new line at the end of the buffer didn't consider ifMark Lumsden
2019-06-22Log window pointer and other window data to a file.Mark Lumsden
2019-06-22This diff moves the check for a newline at the end of a buffer (whenMark Lumsden
2019-06-17From Leonid Bobrov: add a condition to {beginning,end}-of-buffer toMark Lumsden
2019-06-14Note a segv with fprintf if a file with long lines is loaded withMark Lumsden
2019-06-12The output of line info in the line.log file now contains theMark Lumsden
2019-06-12A note about log.c.Mark Lumsden
2019-06-10Fix not checking correct fprintf return value.Mark Lumsden
2019-06-10Add 'undo' logging (same output as undo-list command). Also, addMark Lumsden
2019-06-10Allow mg to log its internal status to a file. At the moment it onlyMark Lumsden
2019-06-07Amend showcpos() to show more information about how mg is operating.Mark Lumsden
2019-06-06tweak previous;Jason McIntyre
2019-06-03This diff gives the commands beginning-of-buffer and end-of-buffer theMark Lumsden
2018-12-30Delete unnecessary <libgen.h> #includesPhilip Guenther
2018-12-26revert "kill a region if 'delete' or 'backspace' is pressed"Peter Hessler