diff options
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 85 |
1 files changed, 84 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ff99d22303f..59a346bdd95 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -13,6 +13,89 @@ | |||
| 13 | 13 | ||
| 14 | 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca> | 14 | 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
| 15 | 15 | ||
| 16 | * progmodes/compile.el: Don't use font-lock any more. | ||
| 17 | (compilation-error-regexp-alist-alist): Change handling of makepp | ||
| 18 | so it preserves the warning/error distinction on subsequent files. | ||
| 19 | Simplify various rules. | ||
| 20 | (compilation-directory-properties): Use font-lock-face. | ||
| 21 | Add a compilation-message property. | ||
| 22 | (compilation-internal-error-properties): Use font-lock-face. | ||
| 23 | Don't set the compilation-debug property here. | ||
| 24 | (compilation--put-prop, compilation--remove-properties) | ||
| 25 | (compilation--parse-region, compilation--ensure-parse) | ||
| 26 | (compilation--ensure-parse): New functions. | ||
| 27 | (compilation-parse-errors): New function, largely inspired of | ||
| 28 | compilation-mode-font-lock-keywords. Set compilation-debug here. | ||
| 29 | (compilation--parsed): New var. | ||
| 30 | (compilation--flush-parse): Use compilation--ensure-parse. | ||
| 31 | (compilation-start): Don't call font-lock. | ||
| 32 | (compilation-turn-on-font-lock): Remove. | ||
| 33 | (compilation-setup): Don't set font-lock-extra-managed-props not change | ||
| 34 | other font-lock settings, other than keywords. | ||
| 35 | Don't activate font-lock-mode. | ||
| 36 | Set change-major-mode-hook and before-change-functions. | ||
| 37 | (compilation--unsetup): Remove properties and hooks. | ||
| 38 | (compilation-next-single-property-change): New function. | ||
| 39 | (compilation-next-error): Use it to parse when needed. | ||
| 40 | (compile-goto-error): Parse buffer as needed. | ||
| 41 | (compilation--compat-error-properties): Don't need a dummy `face' | ||
| 42 | property any more. | ||
| 43 | |||
| 44 | 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 45 | |||
| 46 | * progmodes/compile.el: Use accessors for clarity and fix omake hack. | ||
| 47 | (compilation-process-setup-function): Fix docstring's false promises. | ||
| 48 | (compilation-error-regexp-alist-alist): Catch omake's continuous | ||
| 49 | recompilation message and avoid reuse of old markers. | ||
| 50 | (compilation-parse-errors-function): Declare obsolete. | ||
| 51 | (compilation-buffer-modtime): Remove. | ||
| 52 | (compilation--make-cdrloc, compilation--loc->col) | ||
| 53 | (compilation--loc->line, compilation--loc->file-struct) | ||
| 54 | (compilation--loc->marker, compilation--loc->visited) | ||
| 55 | (compilation--make-file-struct, compilation--file-struct->file-spec) | ||
| 56 | (compilation--file-struct->formats) | ||
| 57 | (compilation--file-struct->loc-tree): New macros. Use them. | ||
| 58 | (compilation--message): New defstruct. Use them. | ||
| 59 | (compilation-next-error-function): Don't mess with timestamps to try | ||
| 60 | and guess when to reparse. | ||
| 61 | |||
| 62 | 2011-01-28 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 63 | |||
| 64 | * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function | ||
| 65 | (tex-old-error-file-name): New function, | ||
| 66 | extracted from tex-compilation-parse-errors. | ||
| 67 | (tex-compilation-parse-errors): Remove. | ||
| 68 | (tex-error-regexp-alist): New var. | ||
| 69 | (tex-shell): Use it to avoid compilation-parse-errors-function. | ||
| 70 | |||
| 71 | * progmodes/grep.el (grep-regexp-alist): Tighten regexp. | ||
| 72 | (grep-mode-font-lock-keywords): Remove regexp that seems like | ||
| 73 | a left-over from before we used compile.el. | ||
| 74 | (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when | ||
| 75 | modifying the buffer within with-silent-modifications. | ||
| 76 | |||
| 77 | * progmodes/compile.el: Cleanup text-properties namespace by using | ||
| 78 | `compilation-message' instead of `message', `compilation-directory' | ||
| 79 | instead of `directory', and `compilation-debug' instead of `debug'. | ||
| 80 | (compilation-last-buffer, compilation-parsing-end) | ||
| 81 | (compilation-error-list, compilation-old-error-list): Move to the | ||
| 82 | compatibility part of the code. | ||
| 83 | (compilation-error-properties): If `file' is a function, let it return | ||
| 84 | a file name. | ||
| 85 | (compilation-mode-font-lock-keywords): Be more conservative with the | ||
| 86 | omake "^ *" pattern prefix, to try and minimize the risk of | ||
| 87 | pathologically slow regexp matching. | ||
| 88 | (compilation-start): Use inhibit-read-only. | ||
| 89 | (compilation--unsetup): New function. | ||
| 90 | (compilation-shell-minor-mode, compilation-minor-mode): Use it. | ||
| 91 | (compilation-filter): Minor tweaks. | ||
| 92 | (compilation-next-error-function): Try and avoid abusing variables. | ||
| 93 | (compilation--flush-file-structure): New fun. | ||
| 94 | (compilation-fake-loc): Use it to improve behavior when file is reused. | ||
| 95 | (debug-ignored-errors): Add "Moved past last ...". | ||
| 96 | (compilation--compat-error-properties) | ||
| 97 | (compilation--compat-parse-errors): Rename by doubling the "-". | ||
| 98 | |||
| 16 | Port features from the previous prolog.el to the new one. | 99 | Port features from the previous prolog.el to the new one. |
| 17 | * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options. | 100 | * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options. |
| 18 | (prolog-program-name, prolog-program-switches, prolog-consult-string) | 101 | (prolog-program-name, prolog-program-switches, prolog-consult-string) |
| @@ -27,7 +110,7 @@ | |||
| 27 | (prolog-inferior-self-insert-command): New command. | 110 | (prolog-inferior-self-insert-command): New command. |
| 28 | (prolog-inferior-mode-map): Use it. | 111 | (prolog-inferior-mode-map): Use it. |
| 29 | (prolog-inferior-error-regexp-alist): New var. | 112 | (prolog-inferior-error-regexp-alist): New var. |
| 30 | (prolog-inferior-mode): Use it, along with compilation-shell-minor-mode. | 113 | (prolog-inferior-mode): Use it, with compilation-shell-minor-mode. |
| 31 | (prolog-input-filter): Use derived-mode-p. | 114 | (prolog-input-filter): Use derived-mode-p. |
| 32 | (prolog-inferior-guess-flavor): New function. | 115 | (prolog-inferior-guess-flavor): New function. |
| 33 | (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than | 116 | (prolog-ensure-process): Use it. Use make-comint-in-buffer rather than |