From maintainers-request at octave dot org Wed Dec 7 19:42:19 2005 Subject: Re: message ids for warnings and errors From: Paul Kienzle To: "John W. Eaton" Cc: octave maintainers mailing list , Stefan van der Walt Date: Wed, 7 Dec 2005 20:40:47 -0500 On Dec 7, 2005, at 7:24 PM, John W. Eaton wrote: > In CVS Octave, we have 21 knobs for warning control: > > warn_assign_as_truth_value > warn_function_name_clash > warn_neg_dim_as_zero > warn_separator_insert > warn_variable_switch_label > warn_associativity_change > warn_future_time_stamp > warn_num_to_str > warn_single_quote_string > warn_divide_by_zero > warn_imag_to_real > warn_precedence_change > warn_str_to_num > warn_empty_list_elements > warn_matlab_incompatible > warn_reload_forces_clear > warn_string_concat > warn_fortran_indexing > warn_missing_semicolon > warn_resize_on_range_error > warn_undefined_return_values Few of these names can be guessed from the text of the warning, but the text of the warning is all that the user sees. We could allow something like: warning off 'empty list elements' to suppress the warning message containing the string 'empty list elements'. Unfortunately this won't work so well with internationalization. Any other suggestions? - Paul