- 21 May, 2016 2 commits
-
-
Benno Schulenberg authored
Only when the user decides not to override an existing lockfile should loading the corresponding file be skipped. Any failure to write the lockfile should be ignored -- the file itself should be loaded anyway. This fixes https://savannah.gnu.org/bugs/?47945.
-
Benno Schulenberg authored
Error messages about lock files should not get overwritten by purely informational messages, only by alerting ones. This fixes https://savannah.gnu.org/bugs/?47963.
-
- 18 May, 2016 7 commits
-
-
Benno Schulenberg authored
The variable 'namecopy' has been passed to dirname(), so it is likely to have been changed when it contains a slash. So, use a new variable instead. Also, free the result of display_string(). This fixes https://savannah.gnu.org/bugs/?47956.
-
Benno Schulenberg authored
Having just opened a fresh buffer, 'openfile->next' will never be NULL, because the list is circular. Second, when compiled with --disable-nultibuffer, and deciding not to override an existing lock, the 'return FALSE' should *not* be skipped, because otherwise the named file will be opened after all. This fixes an unreported bug.
-
Benno Schulenberg authored
Make the failures to read or write a lock file into important messages, so they will not be overwritten by the number of lines read.
-
Benno Schulenberg authored
The general mechanism for not allowing important messages to be overwritten will take care of not overwriting warnings about failed file lockings.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47954.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 17 May, 2016 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Either the selected file was changed, or a file or directory was chosen (and the Enter key virtually pressed), or a shortcut was executed. So, just go and read the next key. This fixes https://savannah.gnu.org/bugs/?47944.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 16 May, 2016 9 commits
-
-
Benno Schulenberg authored
If during startup there are multiple error messages, currently only the last one remains and can be read. To improve on that, introduce a short pause between error messages -- even if it's not enough to read them all, at least the user will be aware that there are multiple ones. This also causes a few error messages to beep that currently don't beep, such as when a file is unwritable.
-
Benno Schulenberg authored
When doing a PageUp or PageDown in the browser, don't move the highlight to the first line in the same column, but keep it in the same relative position of the screen. If we're already on the first or last page, move the highlight to the first or last line, but keep it in the same column. If we're already on the first or last line, only then move it to the first or last entry.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
To separate things that have little to do with each other.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When compiled with --disable-justify, try to keep the vertical pairing of related items.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47933.
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?47932.
-
Benno Schulenberg authored
-
- 15 May, 2016 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
CONST_UPDATE is only relevant when in the main menu, not when in the browser. So, check for that condition, instead of saving, changing, and then restoring the setting.
-
Benno Schulenberg authored
CONST_UPDATE does not need to influence the delay for blanking the statusbar; it is enough when it simply prevents it.
-
- 14 May, 2016 2 commits
-
-
Benno Schulenberg authored
When in the browser, typing keys that produce an unknown escape sequence should not switch on the cursor.
-
Benno Schulenberg authored
Take the side effect of a 'statusbar' call -- setting suppress_cursorpos to TRUE -- into account. This effect was overlooked by commit 9d6d5b67.
-
- 12 May, 2016 5 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The function 'bottombars' has already done this.
-
Benno Schulenberg authored
An interactive 'gotolinecolumn' has already refreshed the screen.
-
- 10 May, 2016 3 commits
-
-
Benno Schulenberg authored
There is no need to iterate through all the file names, as we already know the length of the longest. From this it's easy to calculate how many names fit on a line.
-
Benno Schulenberg authored
Also rename some things to be more fitting. And make sure that something will be selected even when many files, including the selected one, have disappeared.
-
Rishabh Dave authored
When refreshing the screen (and thus the file list), use the prev_dir mechanism to reselect the file that was selected before the refresh, to prevent the selection from changing when files were added or deleted. Also, when the selected name has disappeared, move the highlight one step back, so that it is obvious that the selection has changed. (Decrementing 'selected' will never make it negative, because selected == 0 means the '..' entry, and every directory has a '..' entry, so it will be found.) This fixes https://savannah.gnu.org/bugs/?47812 . Signed-off-by: Rishabh Dave <rishabhddave@gmail.com Signed-off-by:
Benno Schulenberg <bensberg@justemail.net>
-
- 06 May, 2016 2 commits
-
-
Benno Schulenberg authored
When during searching we look at the keyboard, then don't look at just the first keystroke, but check if there are more, and if so, check each one until we find a Cancel -- or until all keystrokes have been consumed and we can continue. This fixes the first half of https://savannah.gnu.org/bugs/?47438.
-
Benno Schulenberg authored
Cancelling a search should restore waiting mode for the keyboard, just like at the other exit points of the search routine. And when the input routine has read in multiple keystrokes, it should not blindly switch back to waiting mode, but only when that mode was on before. This fixes the second half of https://savannah.gnu.org/bugs/?47438.
-
- 05 May, 2016 3 commits
-
-
Benno Schulenberg authored
When the terminal is very narrow, there is little point in showing only part of the version string -- and chewing off one or two digits from the version number might even give someone a wrong idea. The user is better served with always showing the full filename, as long as it fits in the available screen width. This fixes https://savannah.gnu.org/bugs/?47703.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-