comparison lisp/ChangeLog @ 38537:99aeed50aa16

uniquify.el speedup.
author Francesco Potortì <pot@gnu.org>
date Tue, 24 Jul 2001 10:42:01 +0000
parents e3b646b1f348
children f97bc8986bae
comparison
equal deleted inserted replaced
38536:09aca87f88ce 38537:99aeed50aa16
1 2001-07-23 Francesco Potorti` <pot@gnu.org>
2
3 * uniquify.el: overall speedup changes when using many buffers.
4 (uniquify-fix-item-base, uniquify-fix-item-filename,
5 uniquify-fix-item-buffer): Changed defmacro to defalias
6 (cosmetic change).
7 (uniquify-fix-item-unrationalized-buffer): Deleted: was the fourth
8 place in the item, but waas never used.
9 (uniquify-fix-item-min-proposed): New defalias: the fourth place
10 in the item is now used as cache for the porposed name.
11 (uniquify-rationalize-file-buffer-names): Move computation made on
12 newbuffile out of the loop, in the newbuffile-nd local var. Use
13 dolist (cosmetic change). Compute the proposed name for the most
14 common case and cache it in the fourth place in the item.
15 (uniquify-rationalize-file-buffer-names): Used to return a a list of
16 buffer whose name was changed, but that return value was never
17 used.
18 (uniquify-item-lessp): Replaces uniquify-filename-lessp, works on
19 the cached proposed name, does much less consing and is quicker.
20 (uniquify-filename-lessp): Deleted.
21 (uniquify-rationalize-a-list): Use dolist (cosmetic change). Do
22 not bind locally the uniquify-possibly-resolvable flag. Use the
23 cached proposed name is possible.
24 (uniquify-get-proposed-name): Arguments changed, callers changed.
25 (uniquify-rationalize-conflicting-sublist): Explicitely reset the
26 uniquify-possibly-resolvable flag, which is no more bound locally.
27 (uniquify-rename-buffer): Do not set the old unrationalised-buffer
28 flag, which does not exis
29
1 2001-07-23 Eli Zaretskii <eliz@is.elta.co.il> 30 2001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
2 31
3 * term/internal.el (IT-unicode-translations): Fix the appearance of 32 * term/internal.el (IT-unicode-translations): Fix the appearance of
4 "6`". 33 "6`".
5 34
11 * play/fortune.el: Undo change of 2001-07-13. 40 * play/fortune.el: Undo change of 2001-07-13.
12 Fix autoload cookies. Add types to defcustoms. 41 Fix autoload cookies. Add types to defcustoms.
13 (fortune) <defgroup>: Add :link. 42 (fortune) <defgroup>: Add :link.
14 (fortune-from-region): Use eq, not eql. 43 (fortune-from-region): Use eq, not eql.
15 From Dave Love <fx@gnu.org>. 44 From Dave Love <fx@gnu.org>.
16 45
17 * play/animate.el (animate-birthday-present): Function removed. 46 * play/animate.el (animate-birthday-present): Function removed.
18 47
19 * play/animate.el: New file. 48 * play/animate.el: New file.
20 49
21 2001-07-22 Eli Zaretskii <eliz@is.elta.co.il> 50 2001-07-22 Eli Zaretskii <eliz@is.elta.co.il>
22 51
23 * startup.el (normal-top-level-add-subdirs-to-load-path): On 52 * startup.el (normal-top-level-add-subdirs-to-load-path): On
24 Windows, put into normal-top-level-add-subdirs-inode-list the 53 Windows, put into normal-top-level-add-subdirs-inode-list the
25 canonicalized names of the directories instead of inode numbers. 54 canonicalized names of the directories instead of inode numbers.
26 55
27 2001-07-21 Michael Kifer <kifer@cs.sunysb.edu> 56 2001-07-21 Michael Kifer <kifer@cs.sunysb.edu>
28 57
29 * ediff-util.el: Copyright years. 58 * ediff-util.el: Copyright years.
30 (ediff-choose-syntax-table): New function. 59 (ediff-choose-syntax-table): New function.
31 (ediff-setup): Use ediff-choose-syntax-table. 60 (ediff-setup): Use ediff-choose-syntax-table.
32 (ediff-file-checked-out-p,ediff-file-checked-in-p): Check if 61 (ediff-file-checked-out-p,ediff-file-checked-in-p): Check if
33 vc-state is available. 62 vc-state is available.
34 (ediff-make-temp-file): Use ediff-coding-system-for-write. 63 (ediff-make-temp-file): Use ediff-coding-system-for-write.
35 64
36 * ediff-init.el (ediff-with-syntax-table): New macro, uses 65 * ediff-init.el (ediff-with-syntax-table): New macro, uses
37 with-syntax-table. 66 with-syntax-table.
38 (ediff-coding-system-for-read): From ediff-diff.el 67 (ediff-coding-system-for-read): From ediff-diff.el
39 (ediff-coding-system-for-write): New variable. 68 (ediff-coding-system-for-write): New variable.
40 (ediff-highest-priority): Fixed the bug having to do with disappearing 69 (ediff-highest-priority): Fixed the bug having to do with disappearing
41 overlays. 70 overlays.
42 (ediff-file-remote-p): Use file-remote-p, if available. 71 (ediff-file-remote-p): Use file-remote-p, if available.
43 (ediff-listable-file): New function. 72 (ediff-listable-file): New function.
44 (ediff-file-attributes): Use ediff-listable-file. 73 (ediff-file-attributes): Use ediff-listable-file.
45 74
46 * ediff-mult.el (ediff-meta-insert-file-info1): Use 75 * ediff-mult.el (ediff-meta-insert-file-info1): Use
47 ediff-listable-file. 76 ediff-listable-file.
48 77
49 * ediff-ptch.el (ediff-prompt-for-patch-file): Use 78 * ediff-ptch.el (ediff-prompt-for-patch-file): Use
50 ediff-coding-system-for-read. 79 ediff-coding-system-for-read.
51 (ediff-patch-file-internal): Use ediff-coding-system-for-write. 80 (ediff-patch-file-internal): Use ediff-coding-system-for-write.
52 81
53 * ediff-diff.el (ediff-coding-system-for-read): Moved to ediff-init.el. 82 * ediff-diff.el (ediff-coding-system-for-read): Moved to ediff-init.el.
54 (ediff-match-diff3-line,ediff-get-diff3-group): Improved pattern. 83 (ediff-match-diff3-line,ediff-get-diff3-group): Improved pattern.
55 84
56 * ediff.el: Date of last update, copyright years. 85 * ediff.el: Date of last update, copyright years.
57 86
58 * ediff-wind (ediff-setup-control-frame): Nill->nil. 87 * ediff-wind (ediff-setup-control-frame): Nill->nil.
59 88
60 * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy 89 * viper-ex.el (ex-token-list,ex-cmd-execute): Revamped, courtesy
61 of Scott Bronson. 90 of Scott Bronson.
62 (ex-cmd-assoc,ex-compile,ex-cmd-one-letr): New functions. 91 (ex-cmd-assoc,ex-compile,ex-cmd-one-letr): New functions.
63 (viper-check-sub,viper-get-ex-command,viper-execute-ex-command): 92 (viper-check-sub,viper-get-ex-command,viper-execute-ex-command):
64 Deleted functions. 93 Deleted functions.
65 (viper-get-ex-com-subr,viper-ex,ex-mark): Changed to use the new 94 (viper-get-ex-com-subr,viper-ex,ex-mark): Changed to use the new
66 ex-token-list. 95 ex-token-list.
67 (viper-get-ex-address-subr): Convert registers to char data type. 96 (viper-get-ex-address-subr): Convert registers to char data type.
68 97
69 * viper-util.el (viper-int-to-char,viper-char-equal): New 98 * viper-util.el (viper-int-to-char,viper-char-equal): New
70 functions. 99 functions.
71 (viper-memq-char): Use viper-int-to-char. 100 (viper-memq-char): Use viper-int-to-char.
72 (viper-file-checked-in-p): Use vc-locking-user, if vc doesn't have 101 (viper-file-checked-in-p): Use vc-locking-user, if vc doesn't have
73 vc-locking-state. 102 vc-locking-state.
74 (viper-read-key): Use viper-read-key-sequence. 103 (viper-read-key): Use viper-read-key-sequence.
75 104
76 * viper.el (viper-major-mode-modifier-list): Added 105 * viper.el (viper-major-mode-modifier-list): Added
77 inferior-emacs-lisp-mode. 106 inferior-emacs-lisp-mode.
78 (this-major-mode-requires-vi-state): New function that uses simple 107 (this-major-mode-requires-vi-state): New function that uses simple
79 heuristics to decide if vi state is appropriate. 108 heuristics to decide if vi state is appropriate.
80 (set-viper-state-in-major-mode): Use this-major-mode-requires-vi-state. 109 (set-viper-state-in-major-mode): Use this-major-mode-requires-vi-state.
81 (viper-non-hook-settings): Don't advise read-key-sequence. 110 (viper-non-hook-settings): Don't advise read-key-sequence.
82 (viper-read-key-sequence): New function that replaces the 111 (viper-read-key-sequence): New function that replaces the
83 previously used advice to read-key-sequence. 112 previously used advice to read-key-sequence.
84 113
85 * viper-cmd.el (viper-test-com-defun,viper-exec-change) 114 * viper-cmd.el (viper-test-com-defun,viper-exec-change)
86 (viper-exec-Change,viper-execute-com,viper-insert,viper-append) 115 (viper-exec-Change,viper-execute-com,viper-insert,viper-append)
87 (viper-Append,viper-Insert,viper-open-line,viper-Open-line) 116 (viper-Append,viper-Insert,viper-open-line,viper-Open-line)
88 (viper-open-line-at-point,viper-substitute,viper-overwrite) 117 (viper-open-line-at-point,viper-substitute,viper-overwrite)
89 (viper-replace-char-subr,viper-forward-word,viper-forward-Word): 118 (viper-replace-char-subr,viper-forward-word,viper-forward-Word):
92 Use viper-read-key-sequence. 121 Use viper-read-key-sequence.
93 (viper-envelop-ESC-key): No need for ad-get-orig-definition. 122 (viper-envelop-ESC-key): No need for ad-get-orig-definition.
94 (viper-minibuffer-standard-hook,viper-read-string-with-history): 123 (viper-minibuffer-standard-hook,viper-read-string-with-history):
95 Don't override existing minibuffer-setup-hook. 124 Don't override existing minibuffer-setup-hook.
96 (viper-mark-point,viper-goto-mark-subr,viper-brac-function): 125 (viper-mark-point,viper-goto-mark-subr,viper-brac-function):
97 Convert registers to char data type. 126 Convert registers to char data type.
98 (viper-autoindent): Use viper-indent-line. 127 (viper-autoindent): Use viper-indent-line.
99 128
100 * viper-keym.el: Use viper-exec-key-in-emacs. 129 * viper-keym.el: Use viper-exec-key-in-emacs.
101 130
102 2001-07-20 Stefan Monnier <monnier@cs.yale.edu> 131 2001-07-20 Stefan Monnier <monnier@cs.yale.edu>
103 132
104 * server.el (server-visit-files): Fix variable name typo. 133 * server.el (server-visit-files): Fix variable name typo.
105 134
106 2001-07-20 Gerd Moellmann <gerd@gnu.org> 135 2001-07-20 Gerd Moellmann <gerd@gnu.org>