diff options
| author | Eli Zaretskii | 2016-01-02 12:36:28 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2016-01-02 12:36:28 +0200 |
| commit | cd68f47e4fddaa891a978b4ac55cbf323850dfd9 (patch) | |
| tree | 60cbcbca34af473ab4fb58d148f009950ab6395c | |
| parent | 723b8bf19de21c0a2c25dc91df5ab22a3a9e2717 (diff) | |
| download | emacs-cd68f47e4fddaa891a978b4ac55cbf323850dfd9.tar.gz emacs-cd68f47e4fddaa891a978b4ac55cbf323850dfd9.zip | |
Improve documentation of new Hide-IfDef features
* etc/NEWS: Expand and reword Hide-IfDef section.
| -rw-r--r-- | etc/NEWS | 34 |
1 files changed, 27 insertions, 7 deletions
| @@ -877,16 +877,36 @@ fitting for use in money calculations | |||
| 877 | --- | 877 | --- |
| 878 | *** Factorial works with non-integer inputs. | 878 | *** Factorial works with non-integer inputs. |
| 879 | 879 | ||
| 880 | ** HideIfDef mode now support full C/C++ expressions, argumented macro | 880 | ** Hide-IfDef mode |
| 881 | expansions, interactive macro evaluation and automatic scanning of | ||
| 882 | #defined symbols. | ||
| 883 | 881 | ||
| 884 | *** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file | 882 | --- |
| 885 | name patterns. Default case-insensitive .h, .hh, .hpp, .hxx, and .h++. | 883 | *** Hide-IfDef mode now support full C/C++ expressions in macros, |
| 884 | macro argument expansion, interactive macro evaluation and automatic | ||
| 885 | scanning of #define'd symbols. | ||
| 886 | |||
| 887 | --- | ||
| 888 | *** New command `hif-evaluate-macro', bound to `C-c @ e', displays the | ||
| 889 | result of evaluating a macro. | ||
| 890 | |||
| 891 | --- | ||
| 892 | *** New command `hif-clear-all-ifdef-define', bound to `C-c @ C', clears | ||
| 893 | all defined symbols in `hide-ifdef-env'. | ||
| 894 | |||
| 895 | --- | ||
| 896 | *** New custom variable `hide-ifdef-header-regexp' to define C/C++ header | ||
| 897 | file name patterns. Defaults to files whose extension is one of `.h', | ||
| 898 | `.hh', `.hpp', `.hxx', or `.h++', matched case-insensitively. | ||
| 899 | |||
| 900 | --- | ||
| 886 | *** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent | 901 | *** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent |
| 887 | reinclusion protected header files from being fully hidden. | 902 | reinclusion protected (a.k.a. "idempotent") header files from being hidden. |
| 903 | (This could happen when an idempotent header file is visited again, | ||
| 904 | when its guard symbol is already defined.) Defaults to `t'. | ||
| 905 | |||
| 906 | --- | ||
| 888 | *** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol | 907 | *** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol |
| 889 | name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be excluded. | 908 | name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be ignored when |
| 909 | looking for macro definitions. By default, no symbols are ignored. | ||
| 890 | 910 | ||
| 891 | ** TeX mode | 911 | ** TeX mode |
| 892 | 912 | ||