Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-09-16 | I can't think of any good reason to inline this. | Kjell Wooding | |
Makes pcc happier, to boot. | |||
2007-09-11 | use strcspn to properly overwrite '\n' in fgets returned buffer | Gilles Chehade | |
ok pyr@, ray@, millert@, moritz@, chl@ | |||
2007-08-28 | another quote | Jasper Lievisse Adriaanse | |
2007-08-06 | this file has been too long without an edit, someone has obviously | Damien Miller | |
been slacking | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-28 | Add a global-wd-mode command, which toggles between the current | Kjell Wooding | |
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. | |||
2007-04-24 | It's never too late to write "too late" correctly. | Miod Vallat | |
2007-03-29 | Indicate when macro recording is in progress on the modeline. | Kjell Wooding | |
(This should eventually move to becoming a "real" mode.) Don't print end macro message unless the macro is being recorded. ok cloder@. looks fine art@ | |||
2007-02-21 | Fix a reference to WFHARD in a comment; it was renamed WFFULL months | Deanna Phillips | |
ago. ok kjell | |||
2007-02-20 | Remove useless -h option (if you don't know the synopsis, how do you know | Chad Loder | |
-h?). OK deraadt | |||
2007-02-20 | Back out -h doc after discussion with theo | Chad Loder | |
2007-02-20 | Document -h option. | Chad Loder | |
2007-02-13 | Fix a problem with wrapped incremental searches. | Kjell Wooding | |
Basically, on wrap, the line pointer and offset would get out of sync, leading to incorrect line numbers or a segfault. Deanna Phillips did all the work of spotting it tracking it down to the right function. Thanks! While here, add emacs-like messages for wrapped and failed incremental searches. Tested by Deanna. | |||
2007-02-08 | Fix a comment | Kjell Wooding | |
2007-02-08 | comment a function | Kjell Wooding | |
2006-12-30 | one more 'verses'->'versus' typo in comment | Martin Reindl | |
2006-12-29 | mention meta-key-mode in mg(1) to enable 8-bit character input. this | Reyk Floeter | |
is required if you need to type characters like german umlauts. the mg documentation is still very incomplete and will need some more work. also split the manpage into sections to make it a bit more readable. ok jmc@ | |||
2006-12-24 | Fix a bug where inserting a file resulted in an incorrect | Kjell Wooding | |
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. | |||
2006-12-24 | Add column-number indicator to status line (enabled when line-number-mode is | Kjell Wooding | |
enabled; i.e. by default). This is essentially free, and has been requested a few times now | |||
2006-12-21 | Fix a realloc-style bug (curmap = reallocmap(curmap)) in | Kjell Wooding | |
keymap repapping. spotted by theo | |||
2006-12-21 | Eliminate BSMAP #ifdef (we didn't define it). This exposes bsmap-mode, | Kjell Wooding | |
which swaps ^H and DEL. ok jason@ | |||
2006-12-20 | kjell loves his extra spaces | Theo de Raadt | |
2006-12-20 | Get rid of CVMVAS define. Originally to change pgforw/back parameter | Kjell Wooding | |
from pages to lines. We don't use it. | |||
2006-12-20 | since auto-execute expects a function name at the "Execute:" prompt anyway, | Kjell Wooding | |
enable autocomplete for that field. | |||
2006-12-20 | kill an ill-formed (and totally unnecessary) realloc. | Kjell Wooding | |
Spotted by theo. | |||
2006-12-16 | Get rid of PREFIXREGION ifdef, since we always enable it anyway. | Kjell Wooding | |
no binary change. | |||
2006-11-19 | spacing | Theo de Raadt | |
2006-11-18 | Move buffer name allocation into bnew() where it belongs | Kjell Wooding | |
2006-11-18 | 1. Fix line numbering/mark line bug in isearch. | Kjell Wooding | |
To reproduce, set mark, move, isearch, then swap mark and point. 2. store mark in save structure (to reproduce search on a pattern twice, then backspace to back up the search stack) Both from Peter De Wachter (debian bug#391827) Thanks! | |||
2006-11-18 | Due to a thinko on my part, (and a badly named structure member), | Kjell Wooding | |
line numbers were horribly broken with pgup, pgdn. From peter de wachter, via debian bug#391827 | |||
2006-11-18 | Fix line number bug (actually, dot-mark bug). to reproduce: | Kjell Wooding | |
-split window into two -open a file, set the mark -switch windows, open same file, exchange point-and-mark from peter de wachter (Debian bug#391827) | |||
2006-11-17 | Fix a needless inversion of flag names; i.e. change them from the | Kjell Wooding | |
negative to the positive. undo_boundary_enable(TRUE) makes a LOT more sense than undo_no_boundary(FALSE). While here, whack a global, and fix a bug noted by otto: undoing a file insertion sometimes left stray characters around. ok beck@, otto@ | |||
2006-11-17 | fix a segfault on isearch. Using ^W to add more than NPAT chars to the | Kjell Wooding | |
search pattern had an off-by-one. Fix this and one other irritating behavior with long search patterns. Noted (similar diff proposed) and tested by deanna phillips | |||
2006-11-01 | Don't overwrite line[strlen(line) - 1] when line is zero-length. | Ray Lai | |
Initial patch by Charles Longeau <chl at tuxfamily dot org>. OK kjell@. | |||
2006-09-19 | Use S_IS* macros insted of masking with S_IF* flags. The latter may | Otto Moerbeek | |
have multiple bits set, which lead to surprising results. Spotted by Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@ | |||
2006-09-02 | various improvements from deanna phillips; tweaked by myself | Jason McIntyre | |
ok kjell | |||
2006-08-18 | Move backward-paragraph, forward-paragraph to M-{, M-} respectively. | Kjell Wooding | |
(not M-[, M-]). This is where emacs has it. | |||
2006-08-01 | * move sys/queue.h inclusion to sysdef.h (it's system specific) | Jason Wright | |
* add <signal.h> to sysdef.h (needed for sig_atomic_t on linux, and we get it by accident on OpenBSD) * remove <signal.h> from tty.c/spawn.c (not needed now that it's in sysdef.h) ok beck | |||
2006-07-27 | unused function | Theo de Raadt | |
2006-07-25 | Add bfirstlp(), blastlp() macros, returning the first and last lines | Kjell Wooding | |
of a buffer respectively. Removes an ugly construction than necessitated "go to first line"-type comments throughout the code. No binary change | |||
2006-07-25 | Rename the header line of a buffer to b_headp, from the remarkably | Kjell Wooding | |
unintuitive b_linep. No binary change. | |||
2006-07-17 | These bugs were fixed long ago. | Kjell Wooding | |
2006-07-17 | Better usage() wording. Add -h to mean same. Some whitespace clean | Kjell Wooding | |
2006-07-08 | Introduce a 'MODIFIED' boundary type for undo records. | Kjell Wooding | |
This allows undo to clear the modified flag when undo-ing all the way from a loaded buffer. Originally whipped up at c2k6 after proddings from beck. jason@ ok. | |||
2006-07-08 | Fix a trio of bugs in line numbering: adjusting linenos after undo, | Kjell Wooding | |
cutting a block, and off-by-one linecount. Initial bug discovered by jason | |||
2006-06-29 | - use <dirent.h> not <sys/dir.h> (this appeases FreeBSD's annoying #warning) | Jason Wright | |
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says ok kjell | |||
2006-06-01 | kill another superfluous strlen | Kjell Wooding | |
2006-06-01 | Style. no practical change. | Kjell Wooding | |
2006-06-01 | Fix message on empty goto-line. While here, lose a strlen and KNF. | Kjell Wooding | |
2006-06-01 | Display line number in the mg statusbar. Yes, it seems like a fugly | Kjell Wooding | |
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 |