# HG changeset patch # User Rik # Date 1653663301 25200 # Node ID 39876ea8c588215218fe0e076d62829841fd83db # Parent 7c4e580bc103ded00fbceb8880c897f1990c4c07 warning_ids.m: Add new warning ID "Octave:deprecated-option". * NEWS.7.md: Place deprecation notice about plot options in the "Functions" block of the deprecated section. * warning_ids.m: Add new warning ID "Octave:deprecated-option". diff -r 7c4e580bc103 -r 39876ea8c588 etc/NEWS.7.md --- a/etc/NEWS.7.md Fri May 27 15:57:08 2022 +0200 +++ b/etc/NEWS.7.md Fri May 27 07:55:01 2022 -0700 @@ -325,6 +325,10 @@ `disable_permutation_matrix` | `optimize_permutation_matrix` `disable_range` | `optimize_range` + For plot functions, the use of numbers to select line colors in + shorthand formats was an undocumented feature that is deprecated in + Octave 7 and will be removed from Octave 9. + - Operators Operator | Replacement | Description @@ -362,11 +366,6 @@ and a warning is now emitted if it is used, but it will continue to work. -- Using numbers to select line colors in short hand formats was an - un-documented feature that is deprecated in Octave 7 and will be - removed from Octave 9. - - ### Removed functions, properties, and features The following functions and properties were deprecated in Octave 5 diff -r 7c4e580bc103 -r 39876ea8c588 scripts/help/warning_ids.m --- a/scripts/help/warning_ids.m Fri May 27 15:57:08 2022 +0200 +++ b/scripts/help/warning_ids.m Fri May 27 07:55:01 2022 -0700 @@ -190,6 +190,11 @@ ## scheduled for removal from Octave. ## By default, the @code{Octave:deprecated-keyword} warning is enabled. ## +## @item Octave:deprecated-option +## If the @code{Octave:deprecated-option} warning is enabled, a +## warning is issued when an obsolete option or input to a function is used. +## By default, the @code{Octave:deprecated-option} warning is enabled. +## ## @item Octave:deprecated-property ## If the @code{Octave:deprecated-property} warning is enabled, a ## warning is issued when Octave encounters a graphics property that