Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |||
2006-06-01 | fix style | Kjell Wooding | |
2006-06-01 | make // /~ path rewriting optional in adjustname() and use it everywhere | Jason Wright | |
except for the command line specified files. ok kjell,cloder | |||
2006-06-01 | Initialize current window, and clear the readonly flag earlier in file | Kjell Wooding | |
read process. This allows code in the autoexec path (i.e. ~/.mg) to operate on the buffer, making ~/.mg files much more useful. | |||
2006-06-01 | Make transpose (c-T) undoable. | Kjell Wooding | |
There is still a bug here, but it lies in undo (cursor position when undo wraps the undo list), and is purely cosmetic for now. | |||
2006-06-01 | find-file-other-window and find-buffer-other-window should split | Kjell Wooding | |
the window if you ask for whatever file you are currently visiting. pointed out, ok beck@ | |||
2006-06-01 | Cleanup, and a new one from Aleksander Piotrowski: | Kjell Wooding | |
"cache aliasing is a problem that would have stopped in 1992 if someone had killed about 5 people who worked at Sun." | |||
2006-05-29 | Another mnemonic rename, missed the first time. | Kjell Wooding | |
Also missed the ok cloder. | |||
2006-05-28 | Make Window Flags more mnemonic (and less dumb); i.e. | Kjell Wooding | |
WFHARD -> WFFULL (Redraw full window) WFFORCE -> WFFRAME (Reframe window). No binary change | |||
2006-05-27 | Move stderr redirection to a common location, as suggested by vincent a | Kjell Wooding | |
while ago. While here, get rid of some of the stupid static buffer sizes. I've been running with this for quite a while. | |||
2006-05-27 | Move mg "line to c-string" functionality to a function. | Kjell Wooding | |
2006-05-08 | spacing | Kjell Wooding | |
2006-05-08 | minor man page tweaks. From han boetes. | Kjell Wooding | |
2006-05-03 | correct one more comment | Kjell Wooding | |
2006-05-03 | Do some KNF, clean up some unused junk that has lying around for 40-odd | Kjell Wooding | |
cvs revisions, and fix a few comments to match reality | |||
2006-05-03 | len = strlen(foo); if foo[len - 1]... will do bad things if len == 0. | Kjell Wooding | |
Avoid, and rearrange a test so it can't (hypothetically) overflow. | |||
2006-05-02 | Make buffers store their own working directory. This makes things like | Kjell Wooding | |
grep, compile, lint work as expected (act on current buffer's cwd). Display this path when opening or replacing a file, rather than relying on the user to guess, or remember. | |||
2006-04-06 | Fix a bug whereby a written buffer (^X^W) would not have the correct | Kjell Wooding | |
trailing buffer number appended (e.g. "file<2>") in case an existing buffer shared its basename(). |