mirror of
git://git.sv.gnu.org/nano.git
synced 2024-11-22 12:51:23 +03:00
Allowing a CD name to contain any character.
Changes were suggested by Dani Moller. git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5233 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
72b437bbd2
commit
d297784b87
@ -4,6 +4,8 @@
|
|||||||
* src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded
|
* src/prompt.c (do_yesno_prompt): Use 'width' instead of hardcoded
|
||||||
16. Also always first set the string and then position the cursor.
|
16. Also always first set the string and then position the cursor.
|
||||||
* TODO: Mark window resizes and better file-type detection as done.
|
* TODO: Mark window resizes and better file-type detection as done.
|
||||||
|
* doc/syntax/debian.nanorc: Allow a CD name to contain any character.
|
||||||
|
This addresses Debian bug #688892 reported by Dani Moller.
|
||||||
|
|
||||||
2015-05-28 Mahyar Abbaspour <mahyar.abaspour@gmail.com>
|
2015-05-28 Mahyar Abbaspour <mahyar.abaspour@gmail.com>
|
||||||
* src/nano.c (handle_sigwinch, regenerate_screen), src/global.c,
|
* src/nano.c (handle_sigwinch, regenerate_screen), src/global.c,
|
||||||
|
@ -6,14 +6,13 @@ syntax "apt/sources.list" "sources\.list(~|\.old|\.save)?$" "sources\.list\.d/.*
|
|||||||
# components -- well, everything, and thus also the components.
|
# components -- well, everything, and thus also the components.
|
||||||
color brightmagenta "^deb.*"
|
color brightmagenta "^deb.*"
|
||||||
# Distribution -- well, everything, except the components.
|
# Distribution -- well, everything, except the components.
|
||||||
color brightred "^deb(-src)? ((http(s)?|ftp|rsh|ssh|file|copy|tor|spacewalk):/[^ ]+|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+"
|
color brightred "^deb(-src)?\s+((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+"
|
||||||
# URIs.
|
# URIs.
|
||||||
color brightgreen "(http(s)?|ftp|rsh|ssh|file|copy|tor|spacewalk):/[^ ]+"
|
color brightgreen "^deb(-src)?\s+(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+"
|
||||||
# CDroms.
|
# CDroms.
|
||||||
color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/"
|
color brightgreen "^deb(-src)?\s+cdrom:\[.+\]/"
|
||||||
# And finally the initial deb tag.
|
# And finally the initial deb tag.
|
||||||
color yellow "^deb(-src)?"
|
color yellow "^deb(-src)?"
|
||||||
|
|
||||||
# Comments.
|
# Comments.
|
||||||
color brightblue "#.*"
|
color brightblue "#.*"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user