comparison lisp/ChangeLog @ 112389:75fb060ecbc3

Don't mess with *temp*. * lisp/obsolete/spell.el: Move from textmodes/spell.el. (spell-string): * lisp/term.el (term-read-input-ring): * lisp/startup.el (display-startup-echo-area-message): * lisp/progmodes/antlr-mode.el (antlr-directory-dependencies): * lisp/gnus/message.el (message-mailer-swallows-blank-line): * lisp/comint.el (comint-read-input-ring): Use with-temp-buffer. * lisp/international/mule.el (ctext-pre-write-conversion): Don't hardcode point-min==1. * lisp/gnus/mm-util.el (mm-find-buffer-file-coding-system): Don't forget to kill the temp buffer.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 20 Jan 2011 17:36:12 -0500
parents ac3e3168aca2
children 93209af5dc0b
comparison
equal deleted inserted replaced
112388:e5e8faa33346 112389:75fb060ecbc3
1 2011-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 Don't mess with *temp*.
4 * obsolete/spell.el: Move from textmodes/spell.el.
5 (spell-string):
6 * term.el (term-read-input-ring):
7 * startup.el (display-startup-echo-area-message):
8 * progmodes/antlr-mode.el (antlr-directory-dependencies):
9 * comint.el (comint-read-input-ring): Use with-temp-buffer.
10 * international/mule.el (ctext-pre-write-conversion): Don't hardcode
11 point-min==1.
12
13
1 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com> 14 2011-01-20 Ken Manheimer <ken.manheimer@gmail.com>
2 15
3 * allout.el: Summary - migrate to defining allout mode using 16 * allout.el: Summary - migrate to defining allout mode using
4 define-minor-mode instead of defun. Significantly clean-up 17 define-minor-mode instead of defun. Significantly clean-up
5 internal keymap provisions, refactoring and, in the process, 18 internal keymap provisions, refactoring and, in the process,
6 removing a lot of accumulated cruft. 19 removing a lot of accumulated cruft.
7 20
8 allout-mode-map is now a keymap by virtue of being a defalias to 21 allout-mode-map is now a keymap by virtue of being a defalias to
9 allout-mode-map-value, which contains the actual keymap structure. 22 allout-mode-map-value, which contains the actual keymap structure.
10 23
11 (allout-mode): Use define-minor-mode rather than defun. Remove 24 (allout-mode): Use define-minor-mode rather than defun.
12 now-unnecessary minor-mode setup activities from the body. 25 Remove now-unnecessary minor-mode setup activities from the body.
13 Specify :keymap as allout-mode-map so the minor-mode-map-alist 26 Specify :keymap as allout-mode-map so the minor-mode-map-alist
14 entry will be '(allout-mode . allout-mode-map) - see 27 entry will be '(allout-mode . allout-mode-map) - see
15 allout-mode-map-value, below. Adjust docstring to track changes. 28 allout-mode-map-value, below. Adjust docstring to track changes.
16 (allout-minor-mode): Remove this defalias, now that we're using 29 (allout-minor-mode): Remove this defalias, now that we're using
17 define-minor-mode. 30 define-minor-mode.
18 (allout-mode-map): Set value to be 'allout-mode-map. The actual 31 (allout-mode-map): Set value to be 'allout-mode-map. The actual
19 keymap is allout-mode-map-value, via defalias. 32 keymap is allout-mode-map-value, via defalias.
20 (allout-mode-map-value): The variable holding the actual mode 33 (allout-mode-map-value): The variable holding the actual mode
21 keymap structure, by virtue of defalias from allout-mode-map. 34 keymap structure, by virtue of defalias from allout-mode-map.
22 (allout-compose-and-institute-keymap): Renamed from 35 (allout-compose-and-institute-keymap): Rename from
23 allout-bind-keys, and including the binding-composition 36 allout-bind-keys, and including the binding-composition
24 functionality of the former produce-allout-mode-map and 37 functionality of the former produce-allout-mode-map and
25 allout-setup-mode-map. 38 allout-setup-mode-map.
26 (allout-institute-keymap): Take over the "setup" part of the former 39 (allout-institute-keymap): Take over the "setup" part of the former
27 allout-setup-mode-map. Reassign allout-mode-map-value value and 40 allout-setup-mode-map. Reassign allout-mode-map-value value and
28 update the defalias. 41 update the defalias.
29 (allout-command-prefix) (allout-prefixed-keybindings) 42 (allout-command-prefix) (allout-prefixed-keybindings)
30 (allout-unprefixed-keybindings): Use 43 (allout-unprefixed-keybindings):
31 allout-compose-and-institute-keymap to process the bindings. 44 Use allout-compose-and-institute-keymap to process the bindings.
32 (allout-unprefixed-keybindings): Remove extraneous '?' question 45 (allout-unprefixed-keybindings): Remove extraneous '?' question
33 marks. 46 marks.
34 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h - 47 (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
35 user can customize if they want to use that binding. Bind 48 user can customize if they want to use that binding.
36 allout-copy-topic-as-kill to (prefixed) \M-k. Bind 49 Bind allout-copy-topic-as-kill to (prefixed) \M-k.
37 allout-up-current-level to (prefixed) \C-u. (I think i mistakenly 50 Bind allout-up-current-level to (prefixed) \C-u. (I think i mistakenly
38 elided that, previously, instead of the one for \C-h.) 51 elided that, previously, instead of the one for \C-h.)
39 (allout-hotspot-key-handler): Remove attempt to resolve the key 52 (allout-hotspot-key-handler): Remove attempt to resolve the key
40 through the literal key-string lookup on allout-keybindings-list. 53 through the literal key-string lookup on allout-keybindings-list.
41 That probably hasn't worked for a Long Time, and removal of 54 That probably hasn't worked for a Long Time, and removal of
42 allout-keybindings-list further simplifies the keybindings 55 allout-keybindings-list further simplifies the keybindings