| 976 | | *** font-lock: in modes like C and Lisp where the fontification assumes that |
|---|
| 977 | | an open-paren in column 0 is always outside of any string or comment, |
|---|
| 978 | | font-lock now highlights any such open-paren-in-column-zero in bold-red |
|---|
| 979 | | if it is inside a string or a comment, to indicate that it can cause |
|---|
| 980 | | trouble with fontification and/or indentation. |
|---|
| | 976 | *** Font-Lock mode: in major modes such as Lisp mode, where some Emacs |
|---|
| | 977 | features assume that an open-paren in column 0 is always outside of |
|---|
| | 978 | any string or comment, Font-Lock now highlights any such open-paren in |
|---|
| | 979 | bold-red if it is inside a string or a comment, to indicate that it |
|---|
| | 980 | can cause trouble. You should rewrite the string or comment so that |
|---|
| | 981 | the open-paren is not in column 0. |
|---|
| | 2019 | *** Some previously rough topic-header format edge cases are reconciled. |
|---|
| | 2020 | Level 1 topics use the mode's comment format, and lines starting with the |
|---|
| | 2021 | asterisk - for instance, the comment close of some languages (eg, c's "*/" |
|---|
| | 2022 | or mathematica's "*)") - at the beginning of line are no longer are |
|---|
| | 2023 | interpreted as level 1 topics in those modes. |
|---|
| | 2024 | |
|---|
| | 2025 | *** Many or most commonly occuring "accidental" topics are disqualified. |
|---|
| | 2026 | Text in item bodies that looks like a low-depth topic is no longer mistaken |
|---|
| | 2027 | for one unless its first offspring (or that of its next sibling with |
|---|
| | 2028 | offspring) is only one level deeper. |
|---|
| | 2029 | |
|---|
| | 2030 | For example, pasting some text with a bunch of leading asterisks into a |
|---|
| | 2031 | topic that's followed by a level 3 or deeper topic will not cause the |
|---|
| | 2032 | pasted text to be mistaken for outline structure. |
|---|
| | 2033 | |
|---|
| | 2034 | The same constraint is applied to any level 2 or 3 topics. |
|---|
| | 2035 | |
|---|
| | 2036 | This settles an old issue where typed or pasted text needed to be carefully |
|---|
| | 2037 | reviewed, and sometimes doctored, to avoid accidentally disrupting the |
|---|
| | 2038 | outline structure. Now that should be generally unnecessary, as the most |
|---|
| | 2039 | prone-to-occur accidents are disqualified. |
|---|
| | 2040 | |
|---|
| | 2041 | *** Allout now refuses to create "containment discontinuities", where a |
|---|
| | 2042 | topic is shifted deeper than the offspring-depth of its container. On the |
|---|
| | 2043 | other hand, allout now operates gracefully with existing containment |
|---|
| | 2044 | discontinuities, revealing excessively contained topics rather than either |
|---|
| | 2045 | leaving them hidden or raising an error. |
|---|
| | 2046 | |
|---|
| 2019 | | *** `allout-view-change-hook' marked as being deprecated - use |
|---|
| 2020 | | `allout-exposure-change-hook' instead. Both are still invoked, but |
|---|
| 2021 | | `allout-view-change-hook' will eventually be ignored. The new |
|---|
| 2022 | | `allout-exposure-change-hook' is called with args that were passed to |
|---|
| 2023 | | `allout-flag-region', making it easier to use. |
|---|
| 2024 | | |
|---|
| 2025 | | *** Other allout functions which change the outline structure also have |
|---|
| 2026 | | hooks, enabling cooperative allout enhancements. See |
|---|
| 2027 | | `allout-structure-added-hook', `allout-structure-deleted-hook', and |
|---|
| 2028 | | `allout-structure-shifted-hook'. |
|---|
| 2029 | | |
|---|
| 2030 | | *** Default command prefix changed to "\C-c " (control-c space), to avoid |
|---|
| 2031 | | intruding on user's keybinding space. Customize the |
|---|
| | 2056 | *** Navigation within an item is easier. Repeated beginning-of-line and |
|---|
| | 2057 | end-of-line key commands (usually, ^A and ^E) cycle through the |
|---|
| | 2058 | beginning/end-of-line and then beginning/end of topic, etc. See new |
|---|
| | 2059 | customization vars `allout-beginning-of-line-cycles' and |
|---|
| | 2060 | `allout-end-of-line-cycles'. |
|---|
| | 2061 | |
|---|
| | 2062 | *** New or revised allout-mode activity hooks enable creation of |
|---|
| | 2063 | cooperative enhancements to allout mode without changes to the mode, |
|---|
| | 2064 | itself. |
|---|
| | 2065 | |
|---|
| | 2066 | See `allout-exposure-change-hook', `allout-structure-added-hook', |
|---|
| | 2067 | `allout-structure-deleted-hook', and `allout-structure-shifted-hook'. |
|---|
| | 2068 | |
|---|
| | 2069 | `allout-exposure-change-hook' replaces the existing |
|---|
| | 2070 | `allout-view-change-hook', which is being deprecated. Both are still |
|---|
| | 2071 | invoked, but `allout-view-change-hook' will eventually be ignored. |
|---|
| | 2072 | `allout-exposure-change-hook' is called with explicit arguments detailing |
|---|
| | 2073 | the specifics of each change (as are the other new hooks), making it easier |
|---|
| | 2074 | to use than the old version. |
|---|
| | 2075 | |
|---|
| | 2076 | There is a new mode deactivation hook, `allout-mode-deactivate-hook', for |
|---|
| | 2077 | coordinating with deactivation of allout-mode. Both that and the mode |
|---|
| | 2078 | activation hook, `allout-mode-hook' are now run after the `allout-mode' |
|---|
| | 2079 | variable is changed, rather than before. |
|---|
| | 2080 | |
|---|
| | 2081 | *** Default command prefix was changed to "\C-c " (control-c space), to |
|---|
| | 2082 | avoid intruding on user's keybinding space. Customize the |
|---|
| 2034 | | *** Allout now uses text overlay's `invisible' property (and others) for |
|---|
| 2035 | | concealed text, instead of selective-display. This simplifies the code, in |
|---|
| 2036 | | particular avoiding the need for kludges for isearch dynamic-display, |
|---|
| 2037 | | discretionary handling of edits of concealed text, undo concerns, etc. |
|---|
| 2038 | | |
|---|
| 2039 | | *** Some previously rough topic-header format edge cases are reconciled. |
|---|
| 2040 | | Level 1 topics use the mode's comment format, and lines starting with the |
|---|
| 2041 | | asterisk - for instance, the comment close of some languages (eg, c's "*/" |
|---|
| 2042 | | or mathematica's "*)") - at the beginning of line are no longer are |
|---|
| 2043 | | interpreted as level 1 topics in those modes. (Yay!) |
|---|
| 2044 | | |
|---|
| 2045 | | *** Many substantial fixes and refinements, including: |
|---|
| 2046 | | |
|---|
| 2047 | | - repaired regexp-quoting of custom header prefixes, so any literals |
|---|
| 2048 | | will now work (for instance, mathematica's "(*" is now properly |
|---|
| 2049 | | accepted). |
|---|
| 2050 | | - repaired inhibition of inadvertent edits to concealed text. |
|---|
| 2051 | | - refuse to create "containment discontinuities", where a |
|---|
| 2052 | | topic is shifted deeper than the offspring-depth of its' container |
|---|
| | 2085 | *** Allout now uses text overlay's `invisible' property for concealed text, |
|---|
| | 2086 | instead of selective-display. This simplifies the code, in particular |
|---|
| | 2087 | avoiding the need for kludges for isearch dynamic-display, discretionary |
|---|
| | 2088 | handling of edits of concealed text, undo concerns, etc. |
|---|
| | 2089 | |
|---|
| | 2090 | *** There are many other fixes and refinements, including: |
|---|
| | 2091 | |
|---|
| | 2092 | - repaired inhibition of inadvertent edits to concealed text, without |
|---|
| | 2093 | inhibiting undo; we now reveal undo changes within concealed text. |
|---|
| 2063 | | `allout-hotspot-key-handler', enabling easier articulation and |
|---|
| 2064 | | enhancement of the functionality by allout addons. |
|---|
| 2065 | | - topic body navigation is easier, where repeated beginning of line and |
|---|
| 2066 | | end of line key commands cycle through the actually beginning/end of |
|---|
| 2067 | | line and then beginning/end of topic, etc. see new customization vars |
|---|
| 2068 | | `allout-beginning-of-line-cycles' and `allout-end-of-line-cycles'. |
|---|
| | 2100 | `allout-hotspot-key-handler', enabling easier use and enhancement of |
|---|
| | 2101 | the functionality in allout addons. |
|---|