| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
<esc>). i.e. exit incremental search and set the mark. This is what
emacs does.
pointers, suggestions and ok florian@
|
|
|
|
|
|
|
|
| |
behavior.
From Scott Cheloha <scottcheloha@gmail.com>
ok florian@
|
|
|
|
| |
Found by bcallah, thanks!
|
|
|
|
|
|
|
|
|
|
| |
This does the following:
Moves all POSIX headers from sysdef.h into the individual .c files so that
each file now only includes what it needs. All headers are properly sorted.
Moves the remainder of sysdef.h to other files (mostly def.h) and deletes
sysdef.h now that it's no longer contains anything.
Tweak a comment that references sysdef.h so that it no longer does that.
ok florian@
|
|
|
|
| |
ok florian@
|
|
|
|
|
|
| |
off, make available an alternative 'visible-bell'.
ok florian@ jasper@ Feedback Sunil Nimmagadda.
|
|
|
|
|
|
| |
matching.
More goodness from Florian Obser. (and a tweak by me)
|
|
|
|
|
| |
Even if the search string is located at the beginning or end of a
buffer.
|
|
|
|
|
| |
They have not compiled for numerous years.
ok kjell@ millert@
|
| |
|
|
|
|
|
|
|
| |
flag: it is for redisplay options only. I need an additional all-purpose
flag, so renaming removes the desire to wrongly overload the existing one.
Turdshine. No functional chage.
|
|
|
|
|
|
|
|
|
|
|
| |
automatically go there during a macro def, the macro recording
is CANCELED. This sucks rocks.
This fixes the incremental searches to
automagically invoke the non-incremental varieties during
macro recording and playback.
ok art
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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!
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
WFHARD -> WFFULL (Redraw full window)
WFFORCE -> WFFRAME (Reframe window).
No binary change
|
|
|
|
| |
ok kjell@; PR 4991
|
| |
|
| |
|
| |
|
|
|
|
| |
leftover (unused) variable.
|
|
|
|
|
| |
(i.e. 'y' to accept, 'n' to skip, and <CR> to end)
ok deraadt@, cloder@
|
|
|
|
|
|
|
|
|
| |
means abort' behaviour added during the hackathon). Eliminates
redundant ereply function, fixes miscellaneous cores when aborting,
and move a number of assumed pathnames into the prompt text, since
they are used there anyway. All changes consistent with emacs behavior
ok beck@ many, many moons ago.
|
|
|
|
| |
ok millert@, deraadt@
|
|
|
|
|
|
| |
with null string is busted" observation.
ok henning@, cloder@
|
|
|
|
|
| |
EFNUL), not ereply.
ok cloder
|
|
|
|
|
| |
search will add the rest of the word from the current buffer to the
pattern buffer. Testing and comments by kjell and marc
|
|
|
|
|
| |
to confirm replacements.
OK jason, deraadt
|
|
|
|
| |
OK jason, kjell
|
|
|
|
| |
Found by deraadt, ok kjell
|
|
|
|
| |
you hit the search key again after a failure. OK jason
|
|
|
|
| |
search. all lower case patterns is a case insensitive search; ok art
|
|
|
|
|
|
|
|
|
|
| |
- spelling, punctuation fixes
- variable declaration lineup
- use parentheses for return and sizeof
- K&R function declarations -> ANSI
- other minor code beautification
ok henning@
|
|
|
|
|
|
|
| |
buffer reallocation in veread(). This commit only changes the API.
All the buffers have exactly the same bounds as before for now.
tested by a couple of my very helpful testers!
|
|
|
|
| |
OK vincent@
|
| |
|
|
|
|
|
|
|
| |
* Be a little bit more verbose about some errors
* Fix some memory leaks in fileio.c
ok deraadt@, art@
|
| |
|
|
|
|
| |
ancient compiler.
|
|
|
|
|
|
|
|
|
|
|
|
| |
escape from I-search (I don't know if it's legal, but it works in emacs)
the initial ESC in the sequence is caugth by I-search (which exits), but
not the rest of it which ends up written into the buffer.
This is extra annoying when we don't have undo.
Note that this is better than emacs because the ESC is removed if nothing
indicating a multi-char sequence comes within 300 miliseconds. (Try to ESC
from I-search in emacs and then press 'x').
|
| |
|
| |
|
|
|
|
| |
needs hand fixup. I stopped at keymap.c...
|
|
|