- 11 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 10 Nov, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, remove an unneeded pair of braces.
-
Marco Diego Aurélio Mesquita authored
Signed-off-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
-
Benno Schulenberg authored
-
- 08 Nov, 2017 4 commits
-
-
Benno Schulenberg authored
One should test a change before pushing, also when it worked last time.
-
Benno Schulenberg authored
-
Brand Huntsman authored
Whenever a buffer is closed, check whether the positions file on disk was modified, and if so, reload it. Then update the position for the closed buffer and write out the positions file to disk. Signed-off-by:
Brand Huntsman <alpha@qzx.com> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
Lion Yang authored
The function get_key_buffer() assumes waiting_mode = TRUE, but stdin can be in non-blocking mode when a program (before nano) turned stdin to non-blocking mode and did not change it back (possibly because it crashed). So, explicitly set stdin to blocking mode at startup. Signed-off-by:
Lion Yang <lion@aosc.io>
-
- 07 Nov, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, diversify them, and no longer mark them for translation.
-
David Lawrence Ramsey authored
Also, properly refer to numreplaced as signed, since it's ssize_t (even though it's only shown when positive).
-
- 05 Nov, 2017 1 commit
-
-
David Lawrence Ramsey authored
This fixes https://savannah.gnu.org/bugs/?52339.
-
- 04 Nov, 2017 1 commit
-
-
Simon Ochsenreither authored
When not finding a .nanorc file in the user's home directory, nano will look for a nanorc file in $XDG_CONFIG_HOME and in the ~/.config/nano/ fallback directory. And when not finding a .nano/ subdir in the user's home directory, nano will look for (or create) the history files in $XDG_DATA_HOME or in the ~/.local/share/nano/ fallback directory. This is a partial implementation of the XDG Base Directory Specification: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html , for the purpose of reducing the clutter in a user's home directory, and to make it easier to back up just the configuration files. Signed-off-by:
Simon Ochsenreither <simon@ochsenreither.de> Signed-off-by:
Benno Schulenberg <bensberg@telfort.nl>
-
- 02 Nov, 2017 3 commits
-
-
Benno Schulenberg authored
Suggested-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
If the user uses a single version of nano, they have no need for --quiet. If they do sometimes use an older version and don't want to see the warnings, they can use 2>/dev/null (they could make an alias for that and put it before the call of nano).
-
Benno Schulenberg authored
The user told nano to start, thus nano should *start* -- without halting and without nagging the user.
-
- 01 Nov, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 31 Oct, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 30 Oct, 2017 2 commits
-
-
Benno Schulenberg authored
Initialize 'breaking_col' to what it needs to be when the current chunk consists of only a tab -- a tab that spreads across both start and end of the chunk -- so that the last 'if' can move into the preceding one, which allows the elision of 'char_len'.
-
Benno Schulenberg authored
-
- 29 Oct, 2017 6 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
In the tiny version, do_prompt() will now have an extra NULL parameter, which will cost maybe twenty extra bytes of code. That is acceptable when it saves thirty lines in the source.
-
Benno Schulenberg authored
-
- 28 Oct, 2017 5 commits
-
-
Benno Schulenberg authored
The key sequence ^R ^X M-F <Enter> would cause nano to abort, because it would try to add an empty string to a history list. (Furthermore, simply don't execute an empty command, because it is pointless.) Reported-by:
Marco Diego Aurélio Mesquita <marcodiegomesquita@gmail.com>
-
Benno Schulenberg authored
-
Benno Schulenberg authored
And use a better word to describe the concise descriptions that these constants refer to -- they are not messages.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 26 Oct, 2017 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
This completes the fix for https://savannah.gnu.org/bugs/?52282 . Reported-by:
Chime Hart <chime@hubert-humphrey.com>
-
Benno Schulenberg authored
After any replacements were made, the "not found" message is pointless because it will be overwritten rightaway by "Replaced xx occurrences". The message is confusing and annoying when using speech output. This partially fixes https://savannah.gnu.org/bugs/?52282 . Reported-by:
Chime Hart <chime@hubert-humphrey.com>
-