comparison lisp/ChangeLog @ 51433:6bc01726e133

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 03 Jun 2003 19:15:59 +0000
parents 0e37a5f5cbdb
children 4c41fd813bd1
comparison
equal deleted inserted replaced
51432:6db55492aca9 51433:6bc01726e133
1 2003-06-03 Lute Kamstra <Lute.Kamstra@cwi.nl> 1 2003-06-03 Lute Kamstra <Lute.Kamstra@cwi.nl>
2 2
3 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence 3 * cus-edit.el (custom-get-fresh-buffer): Test for nonexistence buffer.
4 buffer.
5 4
6 2003-06-03 Richard M. Stallman <rms@gnu.org> 5 2003-06-03 Richard M. Stallman <rms@gnu.org>
7 6
8 * emacs-lisp/lisp-mode.el (eval-last-sexp-1): 7 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
9 Add save-excursion. 8 Add save-excursion.
31 2003-06-03 Markus Rost <rost@math.ohio-state.edu> 30 2003-06-03 Markus Rost <rost@math.ohio-state.edu>
32 31
33 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the 32 * progmodes/ps-mode.el (ps-mode): Use autoload cookie in the
34 standard way. 33 standard way.
35 34
35 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
36
37 * textmodes/bibtex.el (bibtex-member-of-regexp)
38 (bibtex-assoc-of-regexp, bibtex-format-entry, bibtex-find-entry)
39 (bibtex-autokey-demangle-name, bibtex-string-files-init, bibtex-mode):
40 Fix up regexp usage and use match-string.
41
42 2003-06-02 Roland Winkler <roland.winkler@physik.uni-erlangen.de>
43
44 * textmodes/bibtex.el: Long overdue merge.
45 Don't require `compile' since it seems unnecessary.
46 For all internal variables and functions the docstring comments have
47 been converted into proper docstrings
48 (bibtex-maintainer-address, bibtex-maintainer-salutation)
49 (bibtex-version): Remove support for bug reporting.
50 (bibtex-field-delimiters, bibtex-entry-delimiters)
51 (bibtex-sort-ignore-string-entries, bibtex-maintain-sorted-entries)
52 Replace make-variable-buffer-local by make-local-variable for
53 (bibtex-entry-format): New tag `required-fields'.
54 (bibtex-maintain-sorted-entries): New var.
55 (bibtex-sort-entry-class, bibtex-sort-entry-class-alist): New vars.
56 (bibtex-predefined-month-strings, bibtex-predefined-strings):
57 Make into alists with pairs (abbreviation expansion).
58 (bibtex-autokey-titleword-change-strings)
59 (bibtex-autokey-transcriptions): Make into alists.
60 Add new replacement pairs.
61 (bibtex-autokey-use-crossref): New var.
62 Replace bibtex-autokey-year-use-crossref-entry because updated code
63 for autokey generation handles crossrefs independently of
64 particular fields.
65 (bibtex-reference-key, bibtex-mode-syntax-table):
66 Remove = because it can't be part of a string's key.
67 (bibtex-complete-key-cleanup): New var.
68 (bibtex-complete): Merge bibtex-complete-string and bibtex-complete-key
69 into it (and bind to M-tab).
70 (bibtex-valid-entry-re, bibtex-any-valid-entry-re)
71 (bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
72 (bibtex-quoted-string-re): New vars.
73 (bibtex-field-name-for-parsing): Don't make-variable-buffer-local.
74 (zmacs-regions): Declare to quieten the byte-compiler.
75 (bibtex-comment-start): Don't include the space.
76 (bibtex-font-lock-syntactic-keywords): New var.
77 (bibtex-font-lock-keywords): Remove the entry for @Comment.
78 (bibtex-parse-field-string): Merge the functionality of
79 bibtex-parse-field-string-braced, bibtex-parse-quoted-string and
80 bibtex-parse-field-string-quoted.
81 (bibtex-search-forward-field-string): Remove.
82 (bibtex-parse-association): Use when.
83 (bibtex-parse-field-name): Use when.
84 (bibtex-parse-field-text): Use when and cond.
85 (bibtex-parse-field): Use let.
86 (bibtex-search-forward-field, bibtex-search-backward-field):
87 Make bound optional, use let, setq, and cddr.
88 (bibtex-start-of-field, bibtex-start-of-name-in-field)
89 (bibtex-end-of-name-in-field): Use nth.
90 (bibtex-name-in-field, bibtex-text-in-field-bounds)
91 (bibtex-text-in-field, bibtex-type-in-head, bibtex-key-in-head)
92 (bibtex-text-in-string): New functions.
93 (bibtex-reference-key-in-string): New fun. Merge of
94 bibtex-start-of-reference-key-in-string and
95 bibtex-end-of-reference-key-in-string.
96 (bibtex-parse-string-prefix): Use let and when.
97 (bibtex-parse-string-postfix): Use when.
98 (bibtex-search-forward-string, bibtex-search-backward-string):
99 Use save-excursion and setq.
100 (bibtex-member-of-regexp): Use let.
101 (bibtex-assoc-of-regexp): Use caar und let.
102 (bibtex-skip-to-valid-entry): Return buffer position.
103 (bibtex-map-entries): Use save-excursion.
104 (bibtex-progress-message): Simplify.
105 (bibtex-search-entry): Use skip-chars-forward, when, save-match-data.
106 (bibtex-move-outside-of-entry): Handle the case that point is before
107 first entry.
108 (bibtex-enclosing-field): Use save-excursion, when.
109 (bibtex-format-field-delimiters): Merge into bibtex-format-entry.
110 (bibtex-enclosing-entry-maybe-empty-head): Simplify.
111 (bibtex-format-entry): Simplify. Handle new tag required-fields of
112 bibtex-entry-format.
113 (bibtex-autokey-abbrev): Accept negative values of len.
114 (bibtex-autokey-get-field, bibtex-autokey-demangle-title): New funs.
115 (bibtex-autokey-get-namefield, bibtex-autokey-get-namelist)
116 (bibtex-autokey-get-yearfield-digits, bibtex-autokey-get-yearfield)
117 (bibtex-autokey-get-titlestring): Remove.
118 (bibtex-autokey-get-names): Simplify.
119 (bibtex-autokey-get-titles): Rename to bibtex-autokey-get-title.
120 (bibtex-autokey-demangle-name): Simplify, avoid error messages.
121 (bibtex-generate-autokey): Simplify.
122 (bibtex-parse-keys): Simplify, use push.
123 (bibtex-parse-strings): New fun similar to bibtex-parse-keys.
124 (bibtex-string-files-init): New fun.
125 (bibtex-parse-buffers-stealthily): Use bibtex-parse-keys,
126 bibtex-string-files-init and bibtex-parse-strings.
127 (bibtex-complete): Rename to bibtex-complete-internal, use push,
128 bibtex-reference-key-in-string, no sorting.
129 (bibtex-complete-string-cleanup): New fun, displays expansion of
130 completed strings.
131 (bibtex-choose-completion-string): New fun. Required for
132 choose-completion-string-functions.
133 (bibtex-do-auto-fill): Remove. Set fill-prefix in bibtex-mode.
134 (bibtex-pop): Simplify.
135 (bibtex-mode): Move setting of bibtex-string to bibtex-parse-strings.
136 Set choose-completion-string-functions.
137 (bibtex-print-help-message,bibtex-make-field, bibtex-end-of-entry)
138 (bibtex-count-entries): Simplify.
139 (bibtex-entry-index, bibtex-lessp): New funs for generalized sorting
140 scheme of indices, see bibtex-maintain-sorted-entries.
141 (bibtex-sort-buffer): Use bibtex-lessp for sorting.
142 (bibtex-find-crossref, bibtex-find-entry): New funs.
143 (bibtex-find-entry-location): Rename to bibtex-prepare-new-entry, use
144 bibtex-lessp, Simplify.
145 (bibtex-validate): Simplify. Fixe bug of internal variable
146 questionable-month.
147 (bibtex-remove-OPT-or-ALT): Use when.
148 (bibtex-remove-delimiters, bibtex-kill-field, bibtex-kill-entry)
149 (bibtex-clean-entry, bibtex-fill-entry, bibtex-reformat): Simplify.
150 (bibtex-convert-alien): Use deactivate-mark rather than the
151 non-existent bibtex-mark-active variable.
152 (bibtex-complete-string, bibtex-complete-key): Merge into new
153 `smart' defun bibtex-complete.
154 (bibtex-String): Update for new sorting scheme, distinguish empty and
155 non-empty key strings.
156
157 2003-06-02 Stefan Monnier <monnier@cs.yale.edu>
158
159 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
160
36 2003-06-02 Lute Kamstra <Lute.Kamstra@cwi.nl> 161 2003-06-02 Lute Kamstra <Lute.Kamstra@cwi.nl>
37 162
38 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames 163 * emacs-lisp/lisp-mnt.el (lm-synopsis): Use relative filenames
39 correctly. Show the synopsis to the user when appropriate. Do 164 correctly. Show the synopsis to the user when appropriate.
40 not kill buffers that were created outside `lm-synopsis'. 165 Do not kill buffers that were created outside `lm-synopsis'.
166
167 2003-06-01 Stefan Monnier <monnier@cs.yale.edu>
168
169 * cus-edit.el (custom-get-fresh-buffer): Be extra paranoid,
170 just in case some used a file of the wrong name.
171
172 * progmodes/sh-script.el (sh-is-quoted-p): New fun.
173 (sh-font-lock-paren): Use it to allow \C in case patterns.
174 (sh-get-indent-info): Check the \n before the line for string-status.
175 (sh-feature): Remove unused var `function'.
176 (sh-get-indent-info): Remove unused variables.
177 (sh-prev-thing): Remove unused vars `going', `n', and `found'.
178 (sh-set-indent): Remove unused var `new-val' and `val0'.
179 (sh-learn-buffer-indent): Remove unused vars `last-pos' and `lines'.
180 (sh-guess-basic-offset): Remove unused var `return' and `j'.
41 181
42 2003-05-27 David Ponce <david@dponce.com> 182 2003-05-27 David Ponce <david@dponce.com>
43 183
44 * ruler-mode.el 184 * ruler-mode.el
45 185
46 Version 1.6 186 Version 1.6
47 187
48 Take into account changes made to the display margins, fringes and 188 Take into account changes made to the display margins, fringes and
49 scroll-bar handling. 189 scroll-bar handling.
50 190
51 (ruler-mode-margins-char): Removed. Not used anymore. 191 (ruler-mode-margins-char): Remove. Not used anymore.
52 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces. 192 (ruler-mode-pad-face, ruler-mode-fringes-face): New faces.
53 (ruler-mode-margins-face): New definition. Moved. 193 (ruler-mode-margins-face): New definition. Move.
54 (ruler-mode-left-fringe-cols) 194 (ruler-mode-left-fringe-cols)
55 (ruler-mode-right-fringe-cols) 195 (ruler-mode-right-fringe-cols)
56 (ruler-mode-left-scroll-bar-cols) 196 (ruler-mode-left-scroll-bar-cols)
57 (ruler-mode-right-scroll-bar-cols): Reimplemented. Moved. 197 (ruler-mode-right-scroll-bar-cols): Reimplement. Move.
58 (ruler-mode-full-window-width) 198 (ruler-mode-full-window-width)
59 (ruler-mode-window-col): New functions. 199 (ruler-mode-window-col): New functions.
60 (ruler-mode-mouse-set-left-margin) 200 (ruler-mode-mouse-set-left-margin)
61 (ruler-mode-mouse-set-right-margin) 201 (ruler-mode-mouse-set-right-margin)
62 (ruler-mode-mouse-add-tab-stop) 202 (ruler-mode-mouse-add-tab-stop)
63 (ruler-mode-mouse-del-tab-stop): Reimplemented. 203 (ruler-mode-mouse-del-tab-stop): Reimplement.
64 (ruler-mode-mouse-current-grab-object): Renamed to... 204 (ruler-mode-mouse-current-grab-object): Rename to...
65 (ruler-mode-dragged-symbol): New. 205 (ruler-mode-dragged-symbol): New.
66 (ruler-mode-mouse-grab-any-column): Use it. Cleaned up. 206 (ruler-mode-mouse-grab-any-column): Use it. Clean up.
67 (ruler-mode-mouse-drag-any-column): Likewise. 207 (ruler-mode-mouse-drag-any-column): Likewise.
68 (ruler-mode-mouse-drag-any-column-iteration): Simplified. 208 (ruler-mode-mouse-drag-any-column-iteration): Simplify.
69 (ruler-mode): Restore previous `header-line-format' if 209 (ruler-mode): Restore previous `header-line-format' if
70 `ruler-mode-header-line-format-old' has a local binding in current 210 `ruler-mode-header-line-format-old' has a local binding in current
71 buffer. 211 buffer.
72 (ruler-mode-left-margin-help-echo) 212 (ruler-mode-left-margin-help-echo)
73 (ruler-mode-right-margin-help-echo): Removed. 213 (ruler-mode-right-margin-help-echo): Remove.
74 (ruler-mode-margin-help-echo) 214 (ruler-mode-margin-help-echo)
75 (ruler-mode-fringe-help-echo): New constants. 215 (ruler-mode-fringe-help-echo): New constants.
76 (ruler-mode-ruler): Use them. Reimplemented. 216 (ruler-mode-ruler): Use them. Reimplement.
77 217
78 2003-06-01 Jason Rumney <jasonr@gnu.org> 218 2003-06-01 Jason Rumney <jasonr@gnu.org>
79 219
80 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event): 220 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
81 Default to new wheel-up and wheel-down events on Windows. 221 Default to new wheel-up and wheel-down events on Windows.