- 04 Feb, 2018 2 commits
-
-
Benno Schulenberg authored
This addresses https://savannah.gnu.org/bugs/?48992.
-
Benno Schulenberg authored
In this way a single keystroke can produce a fragment of text or a series of commands, or a mix of the two. It is like a prerecorded macro. This fulfills https://savannah.gnu.org/bugs/?52931.
-
- 27 Jan, 2018 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
Benno Schulenberg authored
-
- 24 Jan, 2018 3 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
And one for me, for the much changed keyboard stuff.
-
Benno Schulenberg authored
Also, actually add the long option --trimblanks to the table.
-
- 23 Jan, 2018 1 commit
-
-
Benno Schulenberg authored
-
- 12 Jan, 2018 2 commits
-
-
Benno Schulenberg authored
Suggested-by:
Brand Huntsman <alpha@qzx.com>
-
Benno Schulenberg authored
So the result could be used during RC-file reading.
-
- 29 Dec, 2017 4 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Each leading tab is converted to two tabs, and any leading four spaces is converted to one tab. The intended tab size (for keeping most lines within 80 columns) is now four.
-
Benno Schulenberg authored
-
Benno Schulenberg authored
When unindenting/uncommenting affected the bottom line of the marked region, keep affecting this line also during subsequent consecutive indenting/commenting. This fixes https://savannah.gnu.org/bugs/?52718.
-
- 17 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
This fixes https://savannah.gnu.org/bugs/?52651 . Reported-by:
David Lawrence Ramsey <pooka109@gmail.com>
-
- 16 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
The function get_keycode() should never return zero -- it should return either the code from ncurses or the given fallback code. This fixes https://savannah.gnu.org/bugs/?52682.
-
- 07 Dec, 2017 2 commits
-
-
Benno Schulenberg authored
In this way we can delete things on the current line with ^K (after Shift-selecting some text) without nano misdetecting a line change, This fully fixes https://savannah.gnu.org/bugs/?52576.
-
Benno Schulenberg authored
Only when the cursor has moved off of the currrent line do we stop prepending wrapped words to the next line. This partially fixes https://savannah.gnu.org/bugs/?52576.
-
- 03 Dec, 2017 1 commit
-
-
Benno Schulenberg authored
To get rid of two double negatives.
-
- 30 Nov, 2017 1 commit
-
-
David Lawrence Ramsey authored
This fixes http://savannah.gnu.org/bugs/?52523.
-
- 27 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
When some or all edits have been undone, and the user starts to make new edits, the old part of the undo stack is discarded, but this does not mean that the undo stack doesn't go back to the very beginning. This really fixes https://savannah.gnu.org/bugs/?52504.
-
- 26 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
The softmark is now only cancelled when the cursor is moved without Shift being held, not for things like ^L (Refresh), ^C (Position), or ^G (Help). This addresses https://savannah.gnu.org/bugs/?52470.
-
- 21 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
The pointer not being NULL is enough indication that the mark is set. Also, rename the pointer from 'mark_begin' to simply 'mark', since the former is kind of pleonastic.
-
- 12 Nov, 2017 1 commit
-
-
Benno Schulenberg authored
-
- 10 Nov, 2017 2 commits
-
-
Benno Schulenberg authored
-
Benno Schulenberg authored
Also, remove an unneeded pair of braces.
-
- 08 Nov, 2017 2 commits
-
-
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>
-
- 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 2 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).
-
- 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
-
- 29 Oct, 2017 1 commit
-
-
Benno Schulenberg authored
-