Mercurial > emacs
comparison lisp/ChangeLog @ 109815:7714e8a59020
Font-lock '...' strings, plus various simplifications and fixes.
* lisp/progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
(octave-font-lock-close-quotes): New function.
(octave-font-lock-syntactic-keywords): New var.
(octave-mode): Use it. Set beginning-of-defun-function.
(octave-mode-map): Don't override the <foo>-defun commands.
(octave-mode-menu): Pass it directly to easy-menu-define;
remove (now generic) <foo>-defun commands; use info-lookup-symbol.
(octave-block-match-alist): Fix up last change so that
octave-close-block uses the more specific keyword.
(info-lookup-mode): Silence byte-compiler.
(octave-beginning-of-defun): Not interactive any more.
Optimize slightly.
(octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
(octave-indent-defun, octave-send-defun): Use mark-defun instead.
(octave-completion-at-point-function): Make sure point is within
beg..end.
(octave-reindent-then-newline-and-indent):
Use reindent-then-newline-and-indent.
(octave-add-octave-menu): Remove.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 17 Aug 2010 17:49:30 +0200 |
parents | ea341a06439f |
children | 793aeadb7c43 |
comparison
equal
deleted
inserted
replaced
109814:ea341a06439f | 109815:7714e8a59020 |
---|---|
1 2010-08-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
2 | |
3 Font-lock '...' strings, plus various simplifications and fixes. | |
4 * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt. | |
5 (octave-font-lock-close-quotes): New function. | |
6 (octave-font-lock-syntactic-keywords): New var. | |
7 (octave-mode): Use it. Set beginning-of-defun-function. | |
8 (octave-mode-map): Don't override the <foo>-defun commands. | |
9 (octave-mode-menu): Pass it directly to easy-menu-define; | |
10 remove (now generic) <foo>-defun commands; use info-lookup-symbol. | |
11 (octave-block-match-alist): Fix up last change so that | |
12 octave-close-block uses the more specific keyword. | |
13 (info-lookup-mode): Silence byte-compiler. | |
14 (octave-beginning-of-defun): Not interactive any more. | |
15 Optimize slightly. | |
16 (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove. | |
17 (octave-indent-defun, octave-send-defun): Use mark-defun instead. | |
18 (octave-completion-at-point-function): Make sure point is within | |
19 beg..end. | |
20 (octave-reindent-then-newline-and-indent): | |
21 Use reindent-then-newline-and-indent. | |
22 (octave-add-octave-menu): Remove. | |
23 | |
1 2010-08-17 Jan Djärv <jan.h.d@swipnet.se> | 24 2010-08-17 Jan Djärv <jan.h.d@swipnet.se> |
2 | 25 |
3 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer) | 26 * mail/emacsbug.el (report-emacs-bug-insert-to-mailer) |
4 (report-emacs-bug-can-use-xdg-email): New functions. | 27 (report-emacs-bug-can-use-xdg-email): New functions. |
5 (report-emacs-bug): Set can-xdg-email to result of | 28 (report-emacs-bug): Set can-xdg-email to result of |
32 * cus-start.el: Change defcustom for select-active-regions. | 55 * cus-start.el: Change defcustom for select-active-regions. |
33 | 56 |
34 2010-08-15 Chong Yidong <cyd@stupidchicken.com> | 57 2010-08-15 Chong Yidong <cyd@stupidchicken.com> |
35 | 58 |
36 * mouse.el (mouse--drag-set-mark-and-point): New function. | 59 * mouse.el (mouse--drag-set-mark-and-point): New function. |
37 (mouse-drag-track): Use LOCATION arg to push-mark. Use | 60 (mouse-drag-track): Use LOCATION arg to push-mark. |
38 mouse--drag-set-mark-and-point to take click-count into | 61 Use mouse--drag-set-mark-and-point to take click-count into |
39 consideration when updating point and mark (Bug#6840). | 62 consideration when updating point and mark (Bug#6840). |
40 | 63 |
41 2010-08-15 Chong Yidong <cyd@stupidchicken.com> | 64 2010-08-15 Chong Yidong <cyd@stupidchicken.com> |
42 | 65 |
43 * progmodes/compile.el (compilation-error-regexp-alist-alist): | 66 * progmodes/compile.el (compilation-error-regexp-alist-alist): |
44 Give the Ruby rule a lower priority than Gnu (Bug#6778). | 67 Give the Ruby rule a lower priority than Gnu (Bug#6778). |
45 | 68 |
46 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change) | 69 2010-08-14 Štěpán Němec <stepnem@gmail.com> (tiny change) |
47 | 70 |
48 * font-lock.el (lisp-font-lock-keywords-2): Add | 71 * font-lock.el (lisp-font-lock-keywords-2): |
49 combine-after-change-calls, condition-case-no-debug, | 72 Add combine-after-change-calls, condition-case-no-debug, |
50 with-demoted-errors, and with-silent-modifications (Bug#6025). | 73 with-demoted-errors, and with-silent-modifications (Bug#6025). |
51 | 74 |
52 2010-08-14 Kevin Ryde <user42@zip.com.au> | 75 2010-08-14 Kevin Ryde <user42@zip.com.au> |
53 | 76 |
54 * emacs-lisp/copyright.el (copyright-update-year) | 77 * emacs-lisp/copyright.el (copyright-update-year) |
69 | 92 |
70 * menu-bar.el (menu-bar-set-tool-bar-position): New function. | 93 * menu-bar.el (menu-bar-set-tool-bar-position): New function. |
71 (menu-bar-showhide-tool-bar-menu-customize-enable-left) | 94 (menu-bar-showhide-tool-bar-menu-customize-enable-left) |
72 (menu-bar-showhide-tool-bar-menu-customize-enable-right) | 95 (menu-bar-showhide-tool-bar-menu-customize-enable-right) |
73 (menu-bar-showhide-tool-bar-menu-customize-enable-top) | 96 (menu-bar-showhide-tool-bar-menu-customize-enable-top) |
74 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call | 97 (menu-bar-showhide-tool-bar-menu-customize-enable-bottom): |
75 menu-bar-set-tool-bar-position. | 98 Call menu-bar-set-tool-bar-position. |
76 | 99 |
77 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca> | 100 2010-08-12 Stefan Monnier <monnier@iro.umontreal.ca> |
78 | 101 |
79 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" | 102 * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c" |
80 comment style (bug#6834). | 103 comment style (bug#6834). |