-
c56bbe74bf
Merge in changes from upstream
line-folding
rexy712
2026-08-12 16:33:21 -07:00
-
-
8e6360d166
po: update translations and regenerate POT file and PO files
Benno Schulenberg
2026-07-31 08:26:25 +02:00
-
4e8238edec
bump version numbers and add a news item for the 9.2 release
Benno Schulenberg
2026-07-29 18:28:31 +02:00
-
c497a5f90b
copyright: update the years for significantly changed files
Benno Schulenberg
2026-07-29 15:25:04 +02:00
-
b04a2a18ea
docs: in the FAQ, adjust the wording in the item about multiple buffers
Benno Schulenberg
2026-07-28 16:41:10 +02:00
-
613fe4b9b2
docs: improve the description of the
flipnewbuffer bindable function
Benno Schulenberg
2026-07-28 11:07:10 +02:00
-
27bf87d21a
docs: implement the renaming of --multibuffer to --newbuffer
Benno Schulenberg
2026-07-27 16:02:29 +02:00
-
b6faa5d5bb
tweaks: rename the internal flag, to match the new name of the option
Benno Schulenberg
2026-07-27 15:18:56 +02:00
-
4ebd490225
options: add --newbuffer as a more fitting synonym of --multibuffer
Benno Schulenberg
2026-07-27 15:10:32 +02:00
-
f6e9c00f59
gnulib: update to its current upstream state
Benno Schulenberg
2026-07-25 09:15:11 +02:00
-
79b18f462c
screen: do a full refresh for Shift+Home and Shift+End when needed
Benno Schulenberg
2026-07-24 16:18:08 +02:00
-
ff68fa7304
tweaks: replace an if with an else
Benno Schulenberg
2026-07-24 10:35:49 +02:00
-
b6aa309aa7
tweaks: elide an auxiliary variable that is no longer needed
Benno Schulenberg
2026-07-23 16:40:27 +02:00
-
6e39b405c8
tweaks: don't renumber all history items -- "renumber" only the last
Benno Schulenberg
2026-07-23 16:24:07 +02:00
-
0c3e596ad7
tweaks: elide an unneeded auxiliary variable
Benno Schulenberg
2026-07-23 10:56:02 +02:00
-
b41de01e6c
tweaks: drop four null-derefence guards that are no longer needed
Benno Schulenberg
2026-07-23 10:34:03 +02:00
-
e075df83e9
tweaks: don't call unlink_node() nor splice_node() for history items
Benno Schulenberg
2026-07-23 10:20:06 +02:00
-
1cff717d98
tweaks: adjust the style of a comment and the order of a comparison
Benno Schulenberg
2026-07-22 16:15:02 +02:00
-
68d4b84610
startup: do not crash when a section of a history file is overlong
Benno Schulenberg
2026-07-22 15:44:23 +02:00
-
a41f238042
tweaks: avoid a false positive when doing static analysis
Benno Schulenberg
2026-07-19 15:54:57 +02:00
-
e18c6c95e7
tweaks: drop an unneeded null-dereference guard
Benno Schulenberg
2026-07-19 15:40:03 +02:00
-
c4948d5035
tweaks: drop three assignments of function results, as they are not used
Benno Schulenberg
2026-07-19 15:34:49 +02:00
-
4c3ab6f5fb
docs: say thanks to the Italian, Kazakh, and Arabic translators
Benno Schulenberg
2026-07-17 10:57:48 +02:00
-
757ce59330
startup: quit when standard output is not a TTY, to avoid user confusion
Vincent Yang
2026-07-15 14:32:33 +08:00
-
9375b99c52
tweaks: exclude three error checks from a normal build
Benno Schulenberg
2026-07-14 10:18:42 +02:00
-
50df473643
tweaks: drop several unneeded elses, and correct an indentation
Benno Schulenberg
2026-07-13 17:17:18 +02:00
-
0c242b8666
docs: reword and reshuffle the line about saving-and-exiting
Benno Schulenberg
2026-07-10 11:11:22 +02:00
-
96adcef377
doc: in the FAQ, adjust the description of the Ctrl+T toggle
Benno Schulenberg
2026-07-09 10:42:11 +02:00
-
a6046c6668
docs: add a reference to the texi manual, via
info and online
Benno Schulenberg
2026-07-08 16:56:12 +02:00
-
cfb9c08580
docs: explicitly mention in the man page how to save and exit
Benno Schulenberg
2026-07-08 16:23:06 +02:00
-
fde24946da
bindings: add a blind ^T toggle in the WhereIs and GotoLine menus
Benno Schulenberg
2026-07-07 16:51:24 +02:00
-
9797150ffd
docs: mention in the FAQ how to get the ^W^T combo back
Benno Schulenberg
2026-07-06 11:32:17 +02:00
-
d43809146f
tweaks: invert two ifs, to reduce duplication of code
Benno Schulenberg
2026-07-06 11:11:22 +02:00
-
2c1bbb5552
tweaks: reshuffle two declarations and rename the function in one of them
Benno Schulenberg
2026-07-05 13:51:46 +02:00
-
f63547027c
tweaks: treat temp file for speller in similar way as for formatter
Benno Schulenberg
2026-07-05 11:14:12 +02:00
-
ab597a6c2f
tweaks: rename a variable while inverting its logic
Benno Schulenberg
2026-06-30 07:34:15 +02:00
-
9383ed03a2
files: compare either only full names or bare names, not full with bare
Benno Schulenberg
2026-06-29 16:47:10 +02:00
-
e1d954c739
docs: fix a typo in NEWS
Benno Schulenberg
2026-06-23 08:07:35 +02:00
-
6d98026285
po: update translations and regenerate POT file and PO files
Benno Schulenberg
2026-06-23 07:46:24 +02:00
-
21d5d8707f
bump version numbers and add a news item for the 9.1 release
Benno Schulenberg
2026-06-22 08:27:06 +02:00
-
982bca3bd3
tweaks: swap the two arms of an 'if', to have the positive case first
Benno Schulenberg
2026-06-21 10:52:06 +02:00
-
834b88eed9
tweaks: rename three variables, to be more descriptive
Benno Schulenberg
2026-06-21 10:46:04 +02:00
-
b273b69cad
tweaks: elide an unneeded parameter, and improve the related comment
Benno Schulenberg
2026-06-21 10:22:38 +02:00
-
81a3c3e82f
syntax: c: add several missing C++23 keywords
Benno Schulenberg
2026-06-20 07:45:11 +02:00
-
cebb2a383d
tweaks: in the C syntax, gather all type specifiers into one regex
Benno Schulenberg
2026-06-17 15:25:32 +02:00
-
2adaa1139c
syntax: c: add new C23 keywords and preprocessor directives
Vincent Yang
2026-06-14 22:33:27 +08:00
-
ad92fe6638
syntax: c: colorize hexadecimal and binary numbers, and boolean constants
Benno Schulenberg
2026-06-16 12:44:41 +02:00
-
4b21ed39c7
tweaks: harmonize the form of two error messages with two others
Benno Schulenberg
2026-06-14 10:27:57 +02:00
-
21b833d423
gnulib: update to its current upstream state
Benno Schulenberg
2026-06-14 08:38:23 +02:00
-
afb9cdac24
help: further improve and modernize the Spellcheck help text
Benno Schulenberg
2026-06-14 08:07:07 +02:00
-
ca9d6e7dec
help: use a better word in the Spellcheck help text
Benno Schulenberg
2026-06-13 12:35:57 +02:00
-
03a1a00ef3
help: remember, clear, and restore the value of 'spotlighted'
Benno Schulenberg
2026-06-13 12:12:31 +02:00
-
1e5c40765d
docs: add an
xclip example binding for copying text to system clipboard
Benno Schulenberg
2026-06-13 11:47:42 +02:00
-
67af31e8f3
tweaks: move a function, improve three comments, and rename a parameter
Benno Schulenberg
2026-06-12 10:32:14 +02:00
-
57d70fedf1
tweaks: don't use index 0 when no higher indexes are used
Benno Schulenberg
2026-06-10 11:17:22 +02:00
-
bf4bc730c4
tweaks: slightly adjust two wordings in the main man page
Benno Schulenberg
2026-06-08 15:15:36 +02:00
-
6adbd4249e
docs: move the notices in the main man page to after the description
Benno Schulenberg
2026-06-08 15:08:55 +02:00
-
96cf1b3807
tweaks: harmonize the form of five error messages
Benno Schulenberg
2026-06-08 16:41:18 +02:00
-
be46139504
files: report an error when the given filename ends in a slash
Benno Schulenberg
2026-06-08 12:49:37 +02:00
-
61abc2e59a
files: make get_full_path() work properly also for nonexistent files
Benno Schulenberg
2026-06-08 10:31:11 +02:00
-
b53833c4f3
tweaks: make three different error messages identical to an existing one
Benno Schulenberg
2026-06-08 08:22:15 +02:00
-
f6d38a5be0
tweaks: harmonize checking the exit status of a child process
Benno Schulenberg
2026-06-08 08:19:30 +02:00
-
00d137baf3
tweaks: harmonize seven more error checks with similar ones
Benno Schulenberg
2026-06-08 08:15:07 +02:00
-
27244483fe
tweaks: modernize a URL
Benno Schulenberg
2026-06-06 11:17:13 +02:00
-
78f7424f37
tweaks: reshuffle and adjust a comment while dropping an unneeded 'else'
Benno Schulenberg
2026-06-04 20:55:06 +02:00
-
2a9121fc2d
files: don't bother updating notes when closing the buffer right after
Benno Schulenberg
2026-06-04 08:48:18 +02:00
-
c77a5e5169
tweaks: elide a parameter from write_file() and write_region_to_file()
Benno Schulenberg
2026-06-04 08:45:02 +02:00
-
21bedd0db9
tweaks: harmonize three error checks with those of similar calls
Benno Schulenberg
2026-06-03 19:54:52 +02:00
-
7fe76a4dfb
tweaks: slightly improve a sentence in the nanorc manpage
Benno Schulenberg
2026-06-03 19:46:07 +02:00
-
fd72375aa4
history: don't leave NUL bytes in the string of anchors
Benno Schulenberg
2026-06-03 12:42:34 +02:00
-
e9c0c8b930
docs: prevent highlighted words in the man pages from getting hyphenated
Benno Schulenberg
2026-06-01 12:25:03 +02:00
-
66da03e555
docs: fix a typo made a month ago, in commit
269b96b7
Benno Schulenberg
2026-06-01 09:11:20 +02:00
-
382bcc77c0
docs: mention that M-Ins and M-Del are valid keynames
Benno Schulenberg
2026-05-31 12:11:49 +02:00
-
dbc1f29296
rcfile: allow rebinding M-Ins and M-Del
Benno Schulenberg
2026-05-31 12:02:18 +02:00
-
799577b4df
tweaks: rename a variable, for aptness, and remove unneeded braces
Benno Schulenberg
2026-05-31 11:50:09 +02:00
-
57e2cc251d
tweaks: unwrap some seventy lines that don't need to be wrapped
Benno Schulenberg
2026-05-29 15:37:17 +02:00
-
8cb86c9582
files: do not call chmod() and chown() on a .save emergency file
Benno Schulenberg
2026-05-27 11:20:32 +02:00
-
e4852e4f56
tweaks: improve a comment, add one, and move one
Benno Schulenberg
2026-05-27 09:02:28 +02:00
-
2abf56546b
tweaks: condense a comment, rename a function, and reshuffle four lines
Benno Schulenberg
2026-05-25 15:47:02 +02:00
-
02825602e2
linting: properly check for a negative return value from read()
Benno Schulenberg
2026-05-25 15:42:09 +02:00
-
0daeab17cd
tweaks: reshuffle two lines of code, to avoid a memory leak
Benno Schulenberg
2026-05-25 15:32:56 +02:00
-
6b49b498cc
spelling: properly check for a negative return value from read()
Benno Schulenberg
2026-05-25 15:24:49 +02:00
-
924190ce7d
tweaks: compare two syntaxes directly, instead of comparing their names
Benno Schulenberg
2026-05-24 07:21:30 +02:00
-
4a347cd7dc
search: place the viewport flush left when a match easily fits within it
Benno Schulenberg
2026-05-23 09:20:04 +02:00
-
1e022b55d1
tweaks: avoid miscompilation on macOS, where 'st_atim' is unknown
Benno Schulenberg
2026-05-22 11:41:06 +02:00
-
29ff6abec6
tweaks: check calls of stat() for success instead of for not-failure
Benno Schulenberg
2026-05-22 11:28:28 +02:00
-
054b478999
tweaks: remove a fragment of code that is redundant since previous commit
Benno Schulenberg
2026-05-22 11:21:10 +02:00
-
e6ce29d531
files: always make a backup when the WriteOut prompt says "[Backup]"
Benno Schulenberg
2026-05-22 10:37:34 +02:00
-
b3c195ef00
files: use the correct timestamp for the backup file
Benno Schulenberg
2026-05-22 10:17:52 +02:00
-
f0b1606f28
tweaks: move two assignments to where they are used
Benno Schulenberg
2026-05-22 10:06:35 +02:00
-
d0ee91f4eb
files: for a backup, use the full timestamp, not just the seconds
Benno Schulenberg
2026-05-22 10:02:37 +02:00
-
266a4fc748
files: allow editing a file named ~ (a lone tilde)
Benno Schulenberg
2026-05-21 16:42:07 +02:00
-
d985946ef5
syntax: lua: colorize also various backslash escapes specially
Benno Schulenberg
2026-05-21 11:15:29 +02:00
-
9644ca0ca5
syntax: lua: add new keywords and drop long-deprecated ones
Benno Schulenberg
2026-05-20 11:40:39 +02:00
-
83f0a593fd
syntax: lua: colorize also multiline strings
Benno Schulenberg
2026-05-19 16:01:04 +02:00
-
3948c09d2b
docs: more consistently set nano's name in bold
G. Branden Robinson
2026-04-23 17:59:39 -05:00
-
b89ab4a99d
docs: italicize 'nanorc' in the rnano manpage, like in the other manpages
Benno Schulenberg
2026-05-15 11:51:26 +02:00
-
c04aa40543
docs: remove the description of the
flipgoto toggle
Benno Schulenberg
2026-05-05 15:50:49 +02:00
-
6ee4c67226
tweaks: adjust two translator hints and add two after the previous change
Benno Schulenberg
2026-05-05 15:48:03 +02:00
-
b70851e488
help: unabbreviate three words, in three different help items
Benno Schulenberg
2026-05-05 15:45:09 +02:00