aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog166
-rw-r--r--src/ChangeLog14
2 files changed, 166 insertions, 14 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9838d002a29..a1f4bf53358 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,7 +1,6 @@
12003-06-03 Lute Kamstra <Lute.Kamstra@cwi.nl> 12003-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
62003-06-03 Richard M. Stallman <rms@gnu.org> 52003-06-03 Richard M. Stallman <rms@gnu.org>
7 6
@@ -33,11 +32,152 @@
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
352003-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
422003-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
1572003-06-02 Stefan Monnier <monnier@cs.yale.edu>
158
159 * sort.el (sort-subr): Add `predicate' arg. Remove `sortcar' code.
160
362003-06-02 Lute Kamstra <Lute.Kamstra@cwi.nl> 1612003-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
1672003-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
422003-05-27 David Ponce <david@dponce.com> 1822003-05-27 David Ponce <david@dponce.com>
43 183
@@ -48,32 +188,32 @@
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
782003-06-01 Jason Rumney <jasonr@gnu.org> 2182003-06-01 Jason Rumney <jasonr@gnu.org>
79 219
diff --git a/src/ChangeLog b/src/ChangeLog
index 8aec4824cc4..efa79e81a9e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12003-06-03 Stefan Monnier <monnier@cs.yale.edu>
2
3 * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local.
4
12003-06-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 52003-06-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 6
3 * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL 7 * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL
@@ -13,6 +17,10 @@
13 * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) 17 * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS)
14 (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. 18 (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros.
15 19
202003-06-02 Stefan Monnier <monnier@cs.yale.edu>
21
22 * dispnew.c (Fsit_for): Don't lie about the number of args.
23
162003-06-02 Dave Love <fx@gnu.org> 242003-06-02 Dave Love <fx@gnu.org>
17 25
18 * callproc.c: Use HAVE_FCNTL_H, not USG5. 26 * callproc.c: Use HAVE_FCNTL_H, not USG5.
@@ -49,6 +57,10 @@
49 57
50 * buffer.c (Fset_buffer_multibyte): Fix previous change. 58 * buffer.c (Fset_buffer_multibyte): Fix previous change.
51 59
602003-06-01 Stefan Monnier <monnier@cs.yale.edu>
61
62 * lread.c (openp): Make sure STR is a string.
63
522003-06-01 David Ponce <david@dponce.com> 642003-06-01 David Ponce <david@dponce.com>
53 65
54 * termhooks.h (enum event_kind): Added new WHEEL_EVENT event. 66 * termhooks.h (enum event_kind): Added new WHEEL_EVENT event.
@@ -61,7 +73,7 @@
61 (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and 73 (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and
62 staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX 74 staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX
63 defined. 75 defined.
64 (make_lispy_event): Added WHEEL_EVENT handler. 76 (make_lispy_event): Add WHEEL_EVENT handler.
65 77
66 * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. 78 * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT.
67 (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs 79 (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs