Age | Commit message (Collapse) | Author |
|
|
|
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.
|
|
|
|
(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@
|
|
ago.
ok kjell
|
|
-h?). OK deraadt
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
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@
|
|
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.
|
|
enabled; i.e. by default). This is essentially free, and has been requested
a few times now
|
|
keymap repapping.
spotted by theo
|
|
which swaps ^H and DEL.
ok jason@
|
|
|
|
from pages to lines. We don't use it.
|
|
enable autocomplete for that field.
|
|
Spotted by theo.
|
|
no binary change.
|
|
|
|
|
|
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!
|
|
line numbers were horribly broken with pgup, pgdn.
From peter de wachter, via debian bug#391827
|
|
-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)
|
|
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@
|
|
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
|
|
Initial patch by Charles Longeau <chl at tuxfamily dot org>.
OK kjell@.
|
|
have multiple bits set, which lead to surprising results. Spotted by
Paul Stoeber, more to come. ok millert@ pedro@ jaredy@ djm@
|
|
ok kjell
|
|
(not M-[, M-]). This is where emacs has it.
|
|
* 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
|
|
|
|
of a buffer respectively. Removes an ugly construction than necessitated
"go to first line"-type comments throughout the code.
No binary change
|
|
unintuitive b_linep. No binary change.
|
|
|
|
|
|
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.
|
|
cutting a block, and off-by-one linecount. Initial bug discovered by
jason
|
|
- grab <sys/time.h> before <sys/resource.h> like getrusage(2) says
ok kjell
|
|
|
|
|
|
|
|
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
|
|
|
|
except for the command line specified files. ok kjell,cloder
|
|
read process. This allows code in the autoexec path (i.e. ~/.mg) to
operate on the buffer, making ~/.mg files much more useful.
|
|
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.
|