* lisp/emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
b1ef1257
SM
12011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4 Fix function quoting. Use backquote better.
5
92a9cc65
YS
62011-05-22 Yuanle Song <sylecn@gmail.com>
7
8 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
9 matching (Bug#8516).
10
f0fb8059
JA
112011-01-22 Jari Aalto <jari.aalto@cante.net>
12
13 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14 different face (Bug#8178).
15
d5b44c93
CY
162011-05-22 Chong Yidong <cyd@stupidchicken.com>
17
18 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19 defface (Bug#8144).
20
79106a44
SM
212011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
22
9c848d8a
SM
23 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
24 funcall as well (bug#8712). Warn when performing those conversions.
25 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
26
79106a44
SM
27 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
28
88dfa756
GM
292011-05-22 Glenn Morris <rgm@gnu.org>
30
31 * files.el (hack-local-variables-prop-line): Small simplifications.
32 (hack-local-variables, hack-local-variables-prop-line):
33 If MODE-ONLY, return the mode, rather than just `t'.
34
b7cf2c79
SM
352011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
36
37 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
38
3f1a8558
GM
392011-05-21 Glenn Morris <rgm@gnu.org>
40
7e4ccca3
GM
41 * files.el (hack-local-variables-prop-line, hack-local-variables):
42 If only interested in the mode, don't bother doing the other stuff.
43
637d46ca
GM
44 * image-mode.el (image-after-revert-hook):
45 Redraw all frames on which the image is visible. (Bug#8567)
46
973d955b
GM
47 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
48
3f1a8558
GM
49 * wid-edit.el (widget-checklist-match-inline):
50 Fix 2011-04-19 change. (Bug#8649)
51
96479927
SM
522011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
53
1dcf791f
SM
54 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
55 Also allow singlespace after single-letter capitals followed by a dot.
56
96479927
SM
57 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
58 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
59
35fd0881
N
602011-05-20 Nix <nix@esperi.org.uk>
61
62 * files.el (basic-save-buffer-2):
63 Fix handling of break-hardlink-on-save with non-existent files.
64
82745640
DD
652011-05-19 Deniz Dogan <deniz@dogan.se>
66
67 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 68 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 69
4a720484
GM
702011-05-19 Glenn Morris <rgm@gnu.org>
71
d1f21341
GM
72 * progmodes/f90.el (f90-type-def-re):
73 Handle "type, bind(c)". (Bug#8691)
74
4a720484
GM
75 * emacs-lisp/autoload.el (batch-update-autoloads):
76 Set autoload-excludes by parsing loadup.el rather than Makefiles.
77
2fb0a219
MA
782011-05-18 Michael Albinus <michael.albinus@gmx.de>
79
80 * net/tramp.el (tramp-process-actions): Set "first-password-request"
81 property for the correct connection in case of multihops.
82
e565dd37
GM
832011-05-18 Glenn Morris <rgm@gnu.org>
84
c2571358 85 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
86 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
87
e565dd37
GM
88 Rationalize calendar handling of day and month abbrev-arrays.
89 * calendar/calendar.el (calendar-customized-p): New function.
90 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
91 (calendar-day-name-array, calendar-month-name-array): Doc fix.
92 Add :set function.
93 (calendar-abbrev-length, calendar-day-abbrev-array)
94 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
95 (calendar-day-abbrev-array, calendar-month-abbrev-array):
96 Elements may no longer be nil.
97 (calendar-day-name, calendar-month-name):
98 Update for changed nature of abbrev arrays.
99 * calendar/diary-lib.el (diary-name-pattern):
100 Update for changed nature of abbrev arrays.
101 (diary-mark-entries-1): Update calendar-make-alist calls.
102 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
103 * calendar/cal-html.el (cal-html-day-abbrev-array):
104 Simply inherit from calendar-day-abbrev-array.
105
1d99a745
SM
1062011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
107
108 * progmodes/grep.el (grep-mode): Disable default
109 compilation-directory-matcher setting (bug#8684).
110
7c1d9aa0
MA
1112011-05-17 Michael Albinus <michael.albinus@gmx.de>
112
113 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
114 instead of "head" and "tail". There were problems with SunOS 5.9,
115 and it performs better.
116
3952e9d8
GM
1172011-05-17 Glenn Morris <rgm@gnu.org>
118
2dd12e7f
GM
119 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
120
e4157b9c
GM
121 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
122 Replace obsolete function.
123
8e249bbd
GM
124 * shell.el (pcomplete-parse-arguments-function): Declare.
125
3952e9d8
GM
126 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
127 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
128 (appt-check): Doc fixes.
129 (appt-disp-window-function, appt-delete-window-function):
130 Remove needless special case in custom :type.
131 (appt-display-count): Default to 0, not nil.
132 (appt-check): Reset appt-display-count to 0, not nil.
133
c71a0d48 1342011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 135
c71a0d48
GM
136 * progmodes/python.el (python-font-lock-keywords):
137 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 138
31d55be9
SM
1392011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
142
3bfacb2f
KR
1432011-05-16 Kevin Ryde <user42@zip.com.au>
144
145 * info-look.el (makefile-automake-mode): New setups, looking in
146 automake manual, then makefile-mode.
147 (makefile-mode): Remove automake manual, have it just in
148 makefile-automake-mode since there's various things different or
149 not relevant to plain make.
150 (makefile-mode): Remove "other-modes" non-existent automake-mode,
151 believe a hypothetical automake-mode would go to makefile-mode,
152 not the other way around.
153
c8e83751
CY
1542011-05-15 Chong Yidong <cyd@stupidchicken.com>
155
5e9e35cd
CY
156 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
157 hunk-end tags (Bug#8672).
158
c8e83751
CY
159 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
160 vc-annotate-show-diff-revision-at-line (Bug#8671).
161
50b23e5a
GM
1622011-05-14 Glenn Morris <rgm@gnu.org>
163
7210a739
GM
164 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
165 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
166 (change-log-font-lock-keywords): Also handle multiple author lines
167 with leading tabs. (Bug#8644)
7210a739 168
4691905a
GM
169 * calendar/appt.el (appt-check): Rename some local variables.
170 Some simplification/reordering.
171
50b23e5a
GM
172 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
173 (feedmail-sendmail-f-doesnt-sell-me-out)
174 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
175 (feedmail-debug-sit-for, feedmail-queue-express-hook)
176 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
177 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
178 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
179 (feedmail-binmail-gnulinuxish-template):
180 Rename from feedmail-binmail-linuxish-template.
181 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
182 Use insert-buffer-substring.
183
215cda7c
BC
1842011-05-14 Bill Carpenter <bill@carpenter.org>
185
186 * mail/feedmail.el (feedmail-patch-level): Increase.
187 (feedmail-debug): New custom group.
188 (feedmail-confirm-outgoing-timeout)
189 (feedmail-sendmail-f-doesnt-sell-me-out)
190 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
191 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
192 (feedmail-sender-line, feedmail-from-line)
193 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 194 (feedmail-spray-this-address)
215cda7c
BC
195 (feedmail-spray-address-fiddle-plex-list)
196 (feedmail-queue-use-send-time-for-date)
197 (feedmail-queue-use-send-time-for-message-id)
198 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
199 (feedmail-buffer-eating-function):
200 Doc fixes.
201 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
202 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
203 (feedmail-message-action-scroll-down): New functions.
204 (feedmail-queue-directory, feedmail-queue-draft-directory):
205 Use expand-file-name.
206 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
207 Remove C-v help entry.
208 (feedmail-queue-buffer-file-name): New variable.
209 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
210 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
211 (feedmail-message-action-send-strong, feedmail-message-action-edit)
212 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
213 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
214 (feedmail-message-action-toggle-spray)
215 (feedmail-run-the-queue-no-prompts)
216 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
217 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
218 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
219 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
220 (feedmail-envelope-deducer, feedmail-fiddle-from)
221 (feedmail-fiddle-sender, feedmail-default-date-generator)
222 (feedmail-fiddle-date, feedmail-fiddle-message-id)
223 (feedmail-fiddle-spray-address)
224 (feedmail-fiddle-list-of-spray-fiddle-plexes)
225 (feedmail-fiddle-list-of-fiddle-plexes)
226 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
227 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
228 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
229 Change default. Doc fix.
230 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
231 (feedmail-binmail-linuxish-template): New constant.
232 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
233 Respect feedmail-sendmail-f-doesnt-sell-me-out.
234 (feedmail-send-it): Add debug call.
235 Use feedmail-queue-buffer-file-name, and
236 feedmail-send-it-immediately-wrapper.
237 (feedmail-message-action-send): Add debug call.
238 Use feedmail-send-it-immediately-wrapper.
239 (feedmail-queue-express-to-queue): Add debug call.
240 Run feedmail-queue-express-hook.
241 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
242 (feedmail-message-action-help-blat):
243 Rename from feedmail-queue-send-edit-prompt-help-first.
244 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
245 Check line-endings. Handle errors better.
246 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
247 Doc fix. Add debug call.
248 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
249 Use feedmail-queue-send-edit-prompt-inner.
250 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
251 (feedmail-queue-send-edit-prompt-inner): New function, extracted
252 from feedmail-queue-send-edit-prompt.
253 (feedmail-queue-send-edit-prompt-help)
254 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
255 (feedmail-tidy-up-slug): Add debug call.
256 Respect feedmail-queue-slug-suspect-regexp.
257 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
258 (feedmail-dump-message-to-queue): Add debug call.
259 Expand queue-directory.
260 (feedmail-dump-message-to-queue): Change message slightly.
261 Use feedmail-say-chatter.
262 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
263 (feedmail-send-it-immediately-wrapper): New function.
264 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
265 Insert empty string rather than newline. Handle full-frame case.
266 Use catch/throw. Use feedmail-say-chatter.
267 (feedmail-fiddle-from): Try mail-host-address.
268 (feedmail-default-message-id-generator): Doc fix.
269 Bind system-time-locale. Handle missing end.
270 (feedmail-fiddle-x-mailer): Add debug call.
271 Handle feedmail-x-mailer-line being nil.
272 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
273 Add debug call. Use buffer-substring-no-properties.
274 (feedmail-say-debug, feedmail-say-chatter): New functions.
275 (feedmail-find-eoh): Give an explicit error.
276
42c7e61e
UJ
2772011-05-13 Ulf Jasper <ulf.jasper@web.de>
278
c2571358 279 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 280 family from helvetica to sans.
c2571358 281 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
282 etc/images/newsticker.
283
c2571358 284 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
285 family from helvetica to sans.
286
287 * net/newst-plainview.el (newsticker-new-item-face)
288 (newsticker-old-item-face, newsticker-immortal-item-face)
289 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 290 (newsticker-statistics-face): Change default family from
42c7e61e 291 helvetica to sans.
c2571358 292 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
293 etc/images/newsticker.
294
295 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
296 (newsticker--process-auto-mark-filter-match): : Tell user about
297 auto-marking.
298
8497a297
DV
2992011-05-13 Didier Verna <didier@xemacs.org>
300
301 Common Lisp indentation improvements on defmethod and lambda-lists.
302 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
303 (lisp-lambda-list-keyword-parameter-indentation)
304 (lisp-lambda-list-keyword-parameter-alignment)
305 (lisp-lambda-list-keyword-alignment): New customizable user options.
306 (lisp-indent-defun-method): Improve docstring.
307 (extended-loop-p): Fix comment.
308 (lisp-indent-lambda-list-keywords-regexp): New variable.
309 (lisp-indent-lambda-list): New function.
310 (lisp-indent-259): Use it.
311 (lisp-indent-defmethod): Support for more than one
312 method qualifier and properly indent methods lambda-lists.
313 (defgeneric): Provide a missing common-lisp-indent-function property.
314
f278f87f
SM
3152011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
316
317 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
318 bounds for the empty string (bug#8667).
319
5233edd7
GM
3202011-05-13 Glenn Morris <rgm@gnu.org>
321
5237a44f
GM
322 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
323
8340026c 324 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 325 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 326
5233edd7 327 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 328 (appt-time-msg-list): Doc fix.
a5464014 329 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 330
92d10796
AS
3312011-05-12 Andreas Schwab <schwab@linux-m68k.org>
332
333 * progmodes/ld-script.el (ld-script-keywords)
334 (ld-script-builtins): Update keywords list.
335
914a0ae1
SM
3362011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
337
c89be45f
SM
338 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
339
914a0ae1
SM
340 * shell.el (shell-completion-vars): New function.
341 (shell-mode):
342 * simple.el (read-shell-command): Use it.
343 (blink-matching-open): No need for " [...]" in minibuffer-message.
344
98dc3df3
GM
3452011-05-12 Glenn Morris <rgm@gnu.org>
346
347 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
348 (appt-check): Simplify.
349
d2fc7e3d 3502011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
351
352 * smerge-mode.el (smerge-resolve): Use null-device rather than a
353 literal "/dev/null".
354
d2fc7e3d 3552011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
356
357 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
358 Fix typo.
359
d2fc7e3d 3602011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 361
3f254caa
SM
362 * progmodes/which-func.el (which-function):
363 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
364 which might not be defined (Bug#8260).
365
d45885f7
GM
3662011-05-12 Glenn Morris <rgm@gnu.org>
367
368 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
369 Let byte-compile-initial-macro-environment always take precedence.
370
488086f4
SM
3712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * net/rcirc.el: Add support for SSL/TLS connections.
374 (rcirc-server-alist): New field `encryption'.
375 (rcirc): Check `encryption' settings.
376 (rcirc-connect): New arg `encryption'. Use open-network-stream.
377 Merge make-local-variable into `set'.
378 (rcirc--connection-open-p): New function.
379 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
380 the process is not a network process (e.g. running gnutls-cli).
381 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
382 Make rcirc-(en|de)code-coding-system local here.
383 (rcirc-mode): Merge make-local-variable into `set'.
384 (rcirc-parent-buffer): Make permanent buffer-local.
385 (rcirc-multiline-minor-mode): Don't do it here.
386 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
387 there's no server buffer.
388
7d3b9d44
GM
3892011-05-11 Glenn Morris <rgm@gnu.org>
390
f64049c6
GM
391 * newcomment.el (comment-kill): Prefix "unused" local.
392
93c9df73
GM
393 * term/w32console.el (get-screen-color): Declare.
394
7d3b9d44
GM
395 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
396 Handle symbol elements of byte-compile-initial-macro-environment.
397
9e2dd53f
LL
3982011-05-10 Leo Liu <sdl.web@gmail.com>
399
488086f4
SM
400 * bookmark.el (bookmark-bmenu-mode-map):
401 Bind bookmark-bmenu-search to `/'.
8b340240 402
9e2dd53f 403 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
404 (footnote-unicode-string, footnote-unicode-regexp): New variable.
405 (Footnote-unicode): New function.
406 (footnote-style-alist): Add unicode style to the list.
407 (footnote-style): Doc fix.
9e2dd53f 408
79b70037
GM
4092011-05-10 Jim Meyering <meyering@redhat.com>
410
411 Fix doubled-word typos.
412 * international/quail.el (quail-insert-kbd-layout): and and -> and
413 * kermit.el: and and -> and
414 * net/ldap.el (ldap-search-internal): to to -> to
415 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
416 * progmodes/js.el (js-mode): and and -> and
417 * textmodes/artist.el (artist-move-to-xy): at at -> at
418 (artist-draw-region-trim-line-endings): if if -> if
419 And Safetyc -> Safety.
420 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
421
b8f82dc1 4222011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 423 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
424
425 * files.el (hack-one-local-variable-eval-safep):
426 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
427
4f99f44b
GM
4282011-05-10 Glenn Morris <rgm@gnu.org>
429
430 * calendar/diary-lib.el (diary-list-entries-hook)
431 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
432 (diary-nongregorian-marking-hook, diary-list-entries)
433 (diary-include-other-diary-files, diary-mark-entries)
434 (diary-mark-included-diary-files): Doc fixes.
435
84f29e6b
JB
4362011-05-09 Juanma Barranquero <lekktu@gmail.com>
437
438 * misc.el: Require tabulated-list.el during compilation.
439
9bedd73a
CY
4402011-05-09 Chong Yidong <cyd@stupidchicken.com>
441
488086f4
SM
442 * progmodes/compile.el (compilation-start):
443 Run compilation-filter-hook for the async case too.
9bedd73a
CY
444 (compilation-filter-hook): Doc fix.
445
797c735c
DD
4462011-05-09 Deniz Dogan <deniz@dogan.se>
447
448 * wdired.el: Remove outdated installation comment. Fix usage
449 comment.
450
5f4b1dfe
JB
4512011-05-09 Juanma Barranquero <lekktu@gmail.com>
452
453 * misc.el: Implement new command `list-dynamic-libraries'.
454 (list-dynamic-libraries--loaded-only-p): New variable.
455 (list-dynamic-libraries--refresh): New function.
456 (list-dynamic-libraries): New command.
457
4c44026c
CY
4582011-05-09 Chong Yidong <cyd@stupidchicken.com>
459
488086f4
SM
460 * progmodes/compile.el (compilation-error-regexp-alist-alist):
461 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
462 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
463 higher priority to avoid clobbering by gnu.
464
027f966d
CY
4652011-05-08 Chong Yidong <cyd@stupidchicken.com>
466
467 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
468 if the face has existing theme settings (Bug#8454).
469
085f5d7d
CY
4702011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
471
488086f4
SM
472 * progmodes/perl-mode.el (perl-imenu-generic-expression):
473 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 474
2a86a00c
RS
475 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
476 special file names `.' and `..' (Bug#8259).
477
d9c54a06
CY
4782011-05-08 Chong Yidong <cyd@stupidchicken.com>
479
488086f4
SM
480 * progmodes/grep.el (grep-mode-font-lock-keywords):
481 Remove buffer-changing entries.
d9c54a06
CY
482 (grep-filter): New function.
483 (grep-mode): Add it to compilation-filter-hook.
484
485 * progmodes/compile.el (compilation-filter-hook)
486 (compilation-filter-start): New defvars.
487 (compilation-filter): Call compilation-filter-hook prior to
488 updating the process mark.
489
c4662635
SM
4902011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
493
b0512a1d
EZ
4942011-05-07 Eli Zaretskii <eliz@gnu.org>
495
605c9376
EZ
496 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
497 mailclient-send-it even if window-system is nil. (Bug#8595)
498
c4662635
SM
499 * term/w32console.el (terminal-init-w32console):
500 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
501 background-mode. (Bug#8597)
502
d1dc2cc2
SM
5032011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
504
505 Make bytecomp.el understand that defmethod defines funs (bug#8631).
506 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
507 New functions.
508 (defgeneric, eieio--defmethod): Use them.
509 (eieio-defgeneric): Remove.
510 (defmethod): Call defgeneric in a way visible to the byte-compiler.
511
915d1300
GM
5122011-05-07 Glenn Morris <rgm@gnu.org>
513
a3961c3e
GM
514 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
515 Use let rather than let*.
516 (timeclock-find-discrep): Remove unused local.
517
314347b9
GM
518 * calendar/diary-lib.el (diary-comment-start): Doc fix.
519
915d1300
GM
520 * calendar/appt.el (appt-time-msg-list): Doc fix.
521
275b59b0
NF
5222011-05-06 Noah Friedman <friedman@splode.com>
523
524 * apropos.el (apropos-print-doc): Only use
525 emacs-lisp-docstring-fill-column when it is bound to an integer,
526 per that variable's documentation.
527
6c19f744
SM
5282011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
529
530 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 531 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 532
60f884b2
GM
5332011-05-06 Glenn Morris <rgm@gnu.org>
534
5006e634
GM
535 * calendar/appt.el (appt-message-warning-time): Doc fix.
536 (appt-warning-time-regexp): New option.
537 (appt-make-list): Respect appt-message-warning-time.
538
548d0a63
GM
539 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
540 New options.
541 (diary-add-to-list): Strip comments from the displayed string.
542 (diary-mode): Set comment-start and comment-end.
543
60f884b2
GM
544 * vc/diff-mode.el (smerge-refine-subst): Declare.
545 (diff-refine-hunk): Don't require smerge-mode when compiling.
546
989681bb
JB
5472011-05-06 Juanma Barranquero <lekktu@gmail.com>
548
549 * simple.el (list-processes): Return nil as the docstring says.
550
a6bc05e1
MA
5512011-05-05 Michael Albinus <michael.albinus@gmx.de>
552
553 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
554 to "".
555 (ange-ftp-write-region, ange-ftp-insert-file-contents)
556 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
557 determining of binary transfer. (Bug#7383)
558
23c22e9a
MA
5592011-05-05 Michael Albinus <michael.albinus@gmx.de>
560
c4662635
SM
561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
562 Fix port computation bug. (Bug#8618)
23c22e9a 563
0bff894f
GM
5642011-05-05 Glenn Morris <rgm@gnu.org>
565
b8296902
GM
566 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
567
1f522ce8
GM
568 * simple.el (shell-dynamic-complete-functions)
569 (comint-dynamic-complete-functions): Declare.
570
cf5bee67
GM
571 * net/network-stream.el (gnutls-negotiate):
572 * simple.el (tabulated-list-print): Fix declarations.
573
574 * progmodes/gud.el (syntax-symbol, syntax-point):
575 Remove unnecessary and incorrect declarations.
576
0bff894f
GM
577 * emacs-lisp/check-declare.el (check-declare-scan):
578 Handle byte-compile-initial-macro-environment in bytecomp.el
579
9869b3ae
SM
5802011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 Fix earlier half-done eieio-defmethod change (bug#8338).
583 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
584 Streamline and change calling convention.
585 (defmethod): Adjust accordingly and simplify.
586 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
587 new eieio--defmethod.
588 (slot-boundp): Minor CSE simplification.
589
9c1d5ac5
MZ
5902011-05-05 Milan Zamazal <pdm@zamazal.org>
591
592 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
593 (glasses-make-readable): Use glasses-separate-capital-groups.
594
455c834e
JB
5952011-05-05 Juanma Barranquero <lekktu@gmail.com>
596
597 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
598 (warning-series): Doc fix.
599 (display-warning): Don't try to create the buffer if we just found it.
600
9ed7c8cb
CY
6012011-05-04 Chong Yidong <cyd@stupidchicken.com>
602
603 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
604 (autoload-find-generated-file): New function.
605 (generate-file-autoloads): Bind generated-autoload-file to
606 buffer-file-name.
9869b3ae
SM
607 (update-file-autoloads, update-directory-autoloads):
608 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
609 output file (Bug#7989).
610 (batch-update-autoloads): Doc fix.
611
0898ca10
JB
6122011-05-04 Juanma Barranquero <lekktu@gmail.com>
613
614 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
615
31dfb76c
GM
6162011-05-04 Glenn Morris <rgm@gnu.org>
617
f330b642
GM
618 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
619 function, so it follows changes in calendar-date-style.
620 (diary-fancy-date-matcher): New function.
621 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
622 (diary-fancy-font-lock-fontify-region-function):
623 Use diary-fancy-date-pattern as a function.
624
31dfb76c
GM
625 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
626 non-numbers for `year' etc pseudo-variables. (Bug#8583)
627
48e79d6a
TZ
6282011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
629
630 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
631 instead of positional arguments. Allow :keylist and :crlfiles
632 arguments.
633 (open-gnutls-stream): Call it.
634
635 * net/network-stream.el (network-stream-open-starttls): Adjust to
636 call `gnutls-negotiate' with :process and :hostname arguments.
637
dd5a5ee0
SM
6382011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
639
ef80fc09
SM
640 * minibuffer.el (completion--message): New function.
641 (completion--do-completion, minibuffer-complete)
642 (minibuffer-force-complete, minibuffer-complete-word): Use it.
643 (completion--do-completion): Don't ignore completion-auto-help when in
644 icomplete-mode.
645
dd5a5ee0
SM
646 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
647 internal encoding (e.g. tibetan zero is not whitespace).
648 (global-whitespace-mode): Prefer save-current-buffer.
649 (whitespace-trailing-regexp): Remove useless save-match-data.
650 (whitespace-empty-at-bob-regexp): Minor simplification.
651
b7d22a83
CY
6522011-05-03 Chong Yidong <cyd@stupidchicken.com>
653
654 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
655
5192af46
AM
6562011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
657
658 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 659 Use `concat' to create string for insertion.
5192af46 660
5767d190
SM
6612011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
664 Avoid open-line which runs post-self-insert-hook.
665 (bibtex-fill-entry): Remove unused `end' var.
666
bf242939
AM
6672011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
668
5767d190
SM
669 * textmodes/ispell.el (ispell-add-per-file-word-list):
670 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 671
25666126
LL
6722011-05-03 Leo Liu <sdl.web@gmail.com>
673
674 * isearch.el (isearch-yank-pop): New command.
5767d190 675 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
676 (isearch-forward): Mention it.
677
52d3c2d0
SM
6782011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
679
1bcace58
SM
680 * simple.el (minibuffer-complete-shell-command): Remove.
681 (minibuffer-local-shell-command-map): Use completion-at-point.
682 (read-shell-command): Setup completion vars here instead.
683 (read-expression-map): Bind TAB to symbol completion.
684
52d3c2d0
SM
685 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
686 error directly rather via storing it into `results'.
687
35813471
LL
6882011-05-02 Leo Liu <sdl.web@gmail.com>
689
690 * vc/diff.el: Fix description.
691
e793a940
LMI
6922011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
693
694 * server.el (server-eval-at): New function.
695
8de66e05
LMI
6962011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
697
698 * net/network-stream.el (open-network-stream): Take a :nowait
699 parameter and pass it on to `make-network-process'.
700 (network-stream-open-plain): Ditto.
701
dcb79f20
AS
7022011-04-30 Andreas Schwab <schwab@linux-m68k.org>
703
704 * faces.el (face-spec-set-match-display): Don't match toolkit
705 options on terminal frames.
706
14a7fbd8
SM
7072011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
708
7eabc1be
SM
709 * progmodes/pascal.el: Use lexical binding.
710 (pascal-mode-map): Remove author preferences.
711
14a7fbd8
SM
712 * pcomplete.el (pcomplete-std-complete): Don't abuse
713 completion-at-point.
714
50f84510
JB
7152011-04-28 Juanma Barranquero <lekktu@gmail.com>
716
6e087a44
JB
717 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
718 removing code that has been dead since 1991 or so.
719
50f84510
JB
720 * startup.el (command-line): When warning about "_emacs", use a
721 delayed warning to allow the user to filter it out.
722
0ba690bd
DD
7232011-04-28 Deniz Dogan <deniz@dogan.se>
724
725 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
726 user has not joined.
727
08abfaad
SM
7282011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
731 aren't any completions at point.
732
638f053a
JB
7332011-04-28 Juanma Barranquero <lekktu@gmail.com>
734
735 * subr.el (display-delayed-warnings): New function.
736 (delayed-warnings-hook): New variable.
737
8fff8daa
SM
7382011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
739
08abfaad
SM
740 * minibuffer.el (completion-at-point, completion-help-at-point):
741 Don't presume that a given completion-at-point-function will always
742 use the same calling convention.
743
8fff8daa
SM
744 * pcomplete.el (pcomplete-completions-at-point):
745 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
746 pcomplete-seen is non-nil.
747 (pcomplete-comint-setup): Also recognize the new comint/shell
748 completion functions.
749 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
750 pcomplete-seen is non-nil.
751
841a1577 7522011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 753
841a1577 754 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 755 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 756 the first character in the entry. This allows for code to add its
211ec907
UJ
757 own uid to the entry.
758 (icalendar--convert-float-to-ical): Add export of
759 `diary-float'-entries save for those with the optional DAY
760 argument.
761
2a782793
DC
7622011-04-27 Daniel Colascione <dan.colascione@gmail.com>
763
764 * subr.el (shell-quote-argument): Use alternate escaping strategy
765 when we spot a variable reference in a string.
766
0438ce91
DC
7672011-04-26 Daniel Colascione <dan.colascione@gmail.com>
768
769 * cus-start.el (all): Define customization for debug-on-event.
770
841a1577 7712011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
772
773 * subr.el (shell-quote-argument): Escape correctly under Windows.
774
d090ed6c
SM
7752011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
776
777 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
778
bfd31217
MA
7792011-04-25 Michael Albinus <michael.albinus@gmx.de>
780
d090ed6c
SM
781 * net/tramp.el (tramp-process-actions): Add POS argument.
782 Delete region between POS and (pos).
bfd31217 783
d090ed6c
SM
784 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
785 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
786 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
787
788 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
789 position in `tramp-process-actions' call.
790
791 * net/trampver.el: Update release number.
792
e92f3bd3
SM
7932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
794
850256b5
SM
795 * custom.el (defcustom): Obey lexical-binding.
796
e92f3bd3
SM
797 Fix octave-inf completion problems reported by Alexander Klimov.
798 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
799 Inherit from octave-mode-syntax-table.
800 (inferior-octave-mode): Set info-lookup-mode.
801 (inferior-octave-completion-at-point): New function.
802 (inferior-octave-complete): Use it and completion-in-region.
803 (inferior-octave-dynamic-complete-functions): Use it as well, and use
804 comint-filename-completion.
805 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
806 symbol elements which shouldn't be word elements.
807 (octave-font-lock-keywords, octave-beginning-of-defun)
808 (octave-function-header-regexp): Adjust regexps accordingly.
809 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
810
cd22b309
JB
8112011-04-25 Juanma Barranquero <lekktu@gmail.com>
812
813 * net/gnutls.el (gnutls-errorp): Declare before first use.
814
8b492194
TZ
8152011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
816
817 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
818 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
819 default trustfile exists before going to use it. Add missing
820 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
821 Reported by Claudio Bley <claudio.bley@gmail.com>.
822 (open-gnutls-stream): Add usage example.
823
824 * net/network-stream.el (network-stream-open-starttls): Give host
825 parameter to `gnutls-negotiate'.
826 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 827 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 828
841a1577 8292011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 830
cd22b309
JB
831 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
832 Use correct match group (bug#8438).
05842630 833
3ba7869c
CY
8342011-04-24 Chong Yidong <cyd@stupidchicken.com>
835
512e3ae1
CY
836 * emacs-lisp/package.el (package-built-in-p): Fix typo.
837 (package-menu--generate): New arg specifying packages to show.
838 (package-menu-refresh, package-menu-execute, list-packages):
839 Callers changed.
840 (package-show-package-list): New function, replacing deleted
841 package--list-packages (renamed because it is non-internal).
842
843 * finder.el (finder-list-matches): Use package-show-package-list
844 instead of deleted package--list-packages.
845
e92f3bd3
SM
846 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
847 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
848 (vc-annotate-mode-map): Bind it to RET.
849
7031be6d
UR
8502011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
851
852 * progmodes/etags.el (next-file): Don't use set-buffer to change
853 buffers (Bug#8478).
854
4ef177aa
CY
8552011-04-24 Chong Yidong <cyd@stupidchicken.com>
856
c8d173eb
CY
857 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
858
4ef177aa
CY
859 * apropos.el (apropos-label-face): Avoid variable-pitch face.
860 (apropos-accumulator): Doc fix.
861 (apropos-function, apropos-macro, apropos-command)
862 (apropos-variable, apropos-face, apropos-group, apropos-widget)
863 (apropos-plist): Add face property.
864 (apropos-symbols-internal): Fix indentation.
865 (apropos-print): Simplify help, and recognize apropos-multi-type.
866 (apropos-print-doc): Use button-type-get to extract the button's
867 face property. Fill docstring (Bug#8352).
868
4ffd0d6b 8692011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
870
871 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
872
c6c32125 873 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 874 (mpuz-mode-map): Use mapc.
c6c32125
JB
875 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
876 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
877 Fix typos in docstrings.
878
58d468b4
JB
879 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
880 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
881
6470c3c6
JB
882 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
883
4ffd0d6b 8842011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
885
886 * minibuffer.el (completion--do-completion): Avoid the "Next char
887 not unique" prompt if icomplete-mode is enabled (Bug#5849).
888
3ad8bad0
CY
889 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
890 mouse-2 into unread-command-events, it is interpreted correctly.
891
71d73c9c 892 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 893 (image-toggle-display): Doc fix.
71d73c9c 894
841a1577 8952011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 896
4ffd0d6b
GM
897 * textmodes/page.el (what-page): Use line-number-at-pos to
898 calculate line number (Bug#6825).
6e1dbaa9 899
c2fb1b60
JB
9002011-04-22 Juanma Barranquero <lekktu@gmail.com>
901
902 * eshell/esh-mode.el (find-tag-interactive): Declare function.
903 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
904 Pass argument NO-DEFAULT to `find-tag-interactive'.
905
e02f48d7
JB
9062011-04-22 Juanma Barranquero <lekktu@gmail.com>
907
908 Lexical-binding cleanup.
909
910 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
911 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
912 * progmodes/ada-prj.el (ada-prj-initialize-values)
913 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
914 (ada-prj-show-value):
915 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
916 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
917 (antlr-invalidate-context-cache, antlr-options-menu-filter)
918 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
919 * progmodes/bug-reference.el (bug-reference-push-button):
920 * progmodes/fortran.el (fortran-line-length):
921 * progmodes/glasses.el (glasses-change):
922 * progmodes/octave-mod.el (octave-fill-paragraph):
923 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
924 (python-pdbtrack-grub-for-buffer, python-sentinel):
925 * progmodes/sql.el (sql-save-connection):
926 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
927 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
928 Mark unused parameters.
929
930 * progmodes/compile.el (compilation--flush-directory-cache)
931 (compilation--flush-parse, compile-internal): Mark unused parameters.
932 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
933 (compilation-next-error-function): Remove unused variable `timestamp'.
934
935 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
936 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
937
938 * progmodes/dcl-mode.el (dcl-end-of-command):
939 Remove unused variable `start'.
940 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
941 (dcl-option-value-basic, dcl-option-value-offset)
942 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
943 Mark unused parameters.
944 (dcl-save-local-variable): Remove unused variable `val'.
945 (mode): Declare.
946
947 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
948 Mark unused parameters.
949 (delphi-ignore-changes): Move before first use.
950 (delphi-charset-token-at): Remove unused variable `start'.
951 (delphi-else-start): Remove unused variable `if-count'.
952 (delphi-comment-block-start, delphi-comment-block-end):
953 Remove unused variable `kind'.
954 (delphi-indent-line): Remove unused variable `new-point'.
955
956 * progmodes/ebrowse.el (ebrowse-files-list)
957 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
958 Mark unused parameters. Don't quote `lambda'.
959 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
960 Don't quote `lambda'.
961 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
962 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
963 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
964 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
965 Use `ignore-errors'.
966 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
967 (ebrowse-view/find-file-and-search-pattern)
968 (ebrowse-view/find-member-declaration/definition):
969 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
970 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
971 Rename parameter PREFIX-ARG to PREFIX.
972 (ebrowse-tags-read-name): Remove unused variables `start' and
973 `member-info'.
974 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
975 to `tags-file'.
976
977 * progmodes/etags.el (local-find-tag-hook): Declare.
978 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
979 Mark unused parameters.
980
981 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
982 (executable-interpret): Mark unused parameter.
983
984 * progmodes/flymake.el (flymake-process-sentinel)
985 (flymake-after-change-function)
986 (flymake-create-temp-with-folder-structure)
987 (flymake-get-include-dirs-dot): Mark unused parameters.
988 (flymake-safe-delete-directory): Remove unused variable `err'.
989
990 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
991 (speedbar-timer-fn, speedbar-line-text)
992 (speedbar-change-expand-button-char, speedbar-delete-subblock)
993 (speedbar-center-buffer-smartly): Declare functions.
994 (gdb-find-watch-expression): Remove unused variable `array'.
995 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
996 (gdb-starting): Mark unused parameters.
997 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
998 (gdb-table-string): Remove unused variable `res'.
999 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
1000 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
1001 (gdb-display-buffer): Remove unused variable `cur-size'.
1002
1003 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
1004 allow lexical-binding compilation.
1005 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
1006 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
1007 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
1008 Mark unused parameters.
1009 (gud-gdb-marker-filter): Remove unused variable `match'.
1010 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
1011 lambda expressions and funcall them, instead of using `fset'.
1012
1013 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
1014 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
1015
1016 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
1017 variable `header-beg'; use `let'.
1018
1019 * progmodes/icon.el (indent-icon-exp): Remove unused variables
1020 `restart', `last-sexp' and `at-do'.
1021
1022 * progmodes/js.el (js--debug): Mark unused parameter.
1023 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
1024 (js--splice-into-items): Remove unused variable `item'.
1025 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
1026
1027 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
1028 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
1029 (makefile-complete): Remove unused variable `try'.
1030 (makefile-fill-paragraph, makefile-match-function-end):
1031 Mark unused parameters.
1032
1033 * progmodes/octave-inf.el (inferior-octave-complete):
1034 Remove unused variable `proc'.
1035 (inferior-octave-output-digest): Mark unused parameter.
1036
1037 * progmodes/perl-mode.el (perl-calculate-indent):
1038 Remove unused variable `err'.
1039
1040 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
1041 (prolog-indent-line): Mark unused parameters.
1042 (prolog-indent-line): Remove unused variable `beg'.
1043
1044 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
1045 (reporter-dont-compact-list): Declare.
1046
1047 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
1048 Remove unused variable `char'.
1049 (sh-debug): Mark unused parameter.
1050 (sh-get-indent-info): Remove unused variable `start'.
1051 (sh-calculate-indent): Remove unused variable `var'.
1052
1053 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
1054 (simula-electric-keyword): Remove unused variable `null'.
1055 (simula-search-backward, simula-search-forward): Remove unused
1056 variables `begin' and `end'.
1057
1058 * progmodes/vera-mode.el (vera-guess-basic-syntax):
1059 Remove unused variable `pos'.
1060 (vera-electric-tab, vera-comment-uncomment-region):
1061 Mark unused parameters.
1062 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
1063
7ede3b65
CY
10642011-04-22 Chong Yidong <cyd@stupidchicken.com>
1065
1066 * emacs-lisp/package.el (package--builtins, package-alist)
1067 (package-load-descriptor, package-built-in-p, package-activate)
1068 (define-package, package-installed-p)
1069 (package-compute-transaction, package-buffer-info)
1070 (package--push): Doc fix. Distinguish more clearly between
1071 version strings and version lists.
1072
121656e9
JB
10732011-04-21 Juanma Barranquero <lekktu@gmail.com>
1074
1075 Lexical-binding cleanup.
1076
1077 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
1078 (5x5-make-mutate-best):
1079 * play/fortune.el (fortune-in-buffer):
1080 * play/gomoku.el (gomoku-init-display):
1081 * play/solitaire.el (solitaire, solitaire-do-check):
1082 * play/tetris.el (tetris-default-update-speed-function):
1083 Mark unused parameters.
1084
1085 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1086 (bubbles--shift): Remove unused variable `char-org'.
1087 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1088 (bubbles--show-images): Remove unused variable `char'.
1089
1090 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1091 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1092 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1093 (decipher-analyze-buffer): Use ?\s.
1094 (decipher-make-checkpoint): Remove unused variable `mapping'.
1095
1096 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1097
1098 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1099 Remove unused variable `result'; use `let'.
1100
1101 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1102 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1103 (gametree-children-shown-p, gametree-compute-reduced-score):
1104 Use `ignore-errors'.
1105
1106 * play/handwrite.el (ps-lpr-switches): Declare.
1107 (handwrite): Remove unused variables `pmin' and `lastp'.
1108
1109 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1110
1111 * play/landmark.el (landmark-init-display)
1112 (landmark-update-naught-weights): Mark unused parameters.
1113 (landmark-y): Remove unused variable `noise'. Simplify.
1114 (landmark-human-plays): Remove unused variable `score'.
1115
1116 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1117 (mpuz-try-proposal): Remove unused variable `game'.
1118
1119 * play/zone.el (life-patterns): Declare.
1120
80f499c7
JB
11212011-04-20 Juanma Barranquero <lekktu@gmail.com>
1122
1123 * vc/vc.el (ediff-vc-internal): Declare function.
1124
024ff170
SM
11252011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1126
c0a193ea
SM
1127 * shell.el: Use lexical-binding and std completion UI.
1128 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1129 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1130 comint-preoutput-filter-functions rather than on
1131 comint-output-filter-functions.
1132 (shell-command-completion, shell--command-completion-data)
1133 (shell-filename-completion, shell-environment-variable-completion)
1134 (shell-c-a-p-replace-by-expanded-directory): New functions.
1135 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1136 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1137 (shell-dynamic-complete-environment-variable): Use them.
1138 (shell-dynamic-complete-as-environment-variable)
1139 (shell-dynamic-complete-as-command): Remove.
1140 (shell-match-partial-variable): Match past point.
1141 * comint.el: Clean up use of completion-at-point-functions.
1142 (comint-completion-at-point): New function.
1143 (comint-mode): Use it completion-at-point-functions.
1144 (comint-dynamic-complete): Make it obsolete.
1145 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1146 (comint-c-a-p-replace-by-expanded-history): New function.
1147 (comint-dynamic-complete-functions)
1148 (comint-replace-by-expanded-history): Use it.
1149 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1150 termination strings. Try harder to avoid second try-completion.
1151 (completion-in-region-mode-map): Disable bindings that don't work yet.
1152
2dbaa080
SM
1153 * comint.el: Use lexical-binding. Require CL.
1154 (comint-dynamic-complete-functions): Use comint-filename-completion.
1155 (comint-completion-addsuffix): Tweak custom type.
1156 (comint-filename-completion, comint--common-suffix)
1157 (comint--common-quoted-suffix, comint--table-subvert)
1158 (comint--complete-file-name-data): New functions.
1159 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1160 (comint-dynamic-list-filename-completions): Use them.
1161 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 1162
2dbaa080
SM
1163 * minibuffer.el (completion-in-region-mode):
1164 Keep completion-in-region-mode--predicate global.
1165 (completion-in-region--postch):
1166 Assume completion-in-region-mode--predicate is not null.
1167
c79a6f38
SM
1168 * progmodes/flymake.el (flymake-start-syntax-check-process):
1169 Obey `dir'. Simplify.
1170
024ff170
SM
1171 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1172 we're in VC after all.
1173
1c6c854e
CS
11742011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1175
1176 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 1177 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
1178 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1179
bed7f140
SM
11802011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1181
332e62ab
SM
1182 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1183 add sanity check.
1184
bed7f140
SM
1185 * obsolete/erc-hecomplete.el: Make obsolete.
1186 * obsolete/: Standardize obsolescence info in the header.
1187
f195c582
GM
11882011-04-20 Glenn Morris <rgm@gnu.org>
1189
1190 * calendar/solar.el (solar-horizontal-coordinates):
1191 Use the longitude argument rather than `calendar-longitude'.
1192 (solar-date-next-longitude): Remove unused locals.
1193
cb79b8c0
VJL
11942011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1195
1196 * whitespace.el: New version 13.2.1.
1197
11982011-04-20 felix <EmacsWiki> (tiny change)
1199
1200 * whitespace.el (global-whitespace-mode): keep highlight when
1201 switching between major modes on a file.
1202
602ea69d
SM
12032011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1204
1205 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1206 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1207 multi-line comments as well.
1208
06b60517
JB
12092011-04-19 Juanma Barranquero <lekktu@gmail.com>
1210
1211 Lexical-binding cleanup.
1212
1213 * arc-mode.el (archive-mode-revert):
1214 * cmuscheme.el (scheme-interactively-start-process):
1215 * custom.el (custom-initialize-delay):
1216 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1217 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1218 * emacs-lock.el (emacs-lock-clear-sentinel):
1219 * ezimage.el (defezimage):
1220 * follow.el (follow-avoid-tail-recenter):
1221 * fringe.el (set-fringe-mode-1):
1222 * generic-x.el (bat-generic-mode-compile):
1223 * help-mode.el (help-info-variable, help-do-xref)
1224 (help-mode-revert-buffer):
1225 * help.el (view-emacs-todo):
1226 * iswitchb.el (iswitchb-completion-help):
1227 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1228 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1229 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1230 * locate.el (locate-update):
1231 * longlines.el (longlines-encode-region)
1232 (longlines-after-change-function):
1233 * outline.el (outline-isearch-open-invisible):
1234 * ps-def.el (declare-function, charset-dimension, char-width)
1235 (encode-char):
1236 * ps-mule.el (ps-mule-plot-string):
1237 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1238 (recentf-edit-list-select, recentf-edit-list-validate)
1239 (recentf-open-files-action):
1240 * rect.el (delete-whitespace-rectangle-line)
1241 (rectangle-number-line-callback):
1242 * register.el (window-configuration-to-register)
1243 (frame-configuration-to-register):
1244 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1245 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1246 (xselect-convert-to-targets, xselect-convert-to-delete)
1247 (xselect-convert-to-filename, xselect-convert-to-charpos)
1248 (xselect-convert-to-lineno, xselect-convert-to-colno)
1249 (xselect-convert-to-os, xselect-convert-to-host)
1250 (xselect-convert-to-user, xselect-convert-to-class)
1251 (xselect-convert-to-name, xselect-convert-to-integer)
1252 (xselect-convert-to-atom, xselect-convert-to-identity):
1253 * subr.el (declare, ignore, process-kill-without-query)
1254 (text-clone-maintain):
1255 * terminal.el (te-get-char, te-tic-sentinel):
1256 * tool-bar.el (tool-bar-make-keymap):
1257 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1258 * type-break.el (type-break-mode, type-break-noninteractive-query):
1259 * view.el (View-back-to-mark):
1260 * wid-browse.el (widget-browse-action, widget-browse-widget)
1261 (widget-browse-widgets, widget-browse-sexp):
1262 * widget.el (define-widget-keywords):
1263 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1264 Mark unused parameters.
1265
1266 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1267 (align-areas): Remove unused variable `look'.
1268 (align-region): Remove unused variables `real-end' and `pos-list'.
1269
1270 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1271
1272 * bindings.el (mode-line-modified, mode-line-remote):
1273 Mark unused parameters.
1274 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1275
1276 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1277 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1278
1279 * comint.el (comint-history-isearch-pop-state)
1280 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1281 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1282 (comint-substitute-in-file-name): Doc fix.
1283
1284 * completion.el (cmpl-statistics-block): Mark unused parameter.
1285 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1286 (save-completions-to-file, load-completions-from-file):
1287 Remove unused local variable `e'.
1288
1289 * composite.el (compose-chars): Remove unused variable `len'.
1290 (lgstring-insert-glyph): Remove unused variable `g'.
1291 (compose-glyph-string): Remove unused variables `ascent',
1292 `descent', `lbearing' and `rbearing'.
1293 (compose-glyph-string-relative): Remove unused variables
1294 `lbearing', `rbearing' and `wadjust'.
1295 (compose-gstring-for-graphic): Remove unused variables `header',
1296 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
1297 (compose-gstring-for-terminal): Remove unused variables `header'
1298 and `nchars'. Use `let', not `let*'.
1299
1300 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1301 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1302 (Custom-buffer-done, custom-buffer-create-internal)
1303 (custom-browse-visibility-action, custom-browse-group-tag-action)
1304 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1305 (widget-magic-mouse-down-action, custom-toggle-parent)
1306 (custom-add-parent-links, custom-toggle-hide-variable)
1307 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1308 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1309 (custom-face-menu-create, custom-variable-menu-create, get)
1310 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1311 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1312 (customize-apropos): Remove unused variable `tests'.
1313 (custom-group-value-create): Remove unused variable `hidden-p'.
1314 (sort-fold-case): Declare.
1315
1316 * cus-theme.el (custom-reset-standard-faces-list)
1317 (custom-reset-standard-variables-list): Declare.
1318 (customize-create-theme, custom-theme-revert, custom-theme-write)
1319 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1320 Mark unused parameters.
1321
1322 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1323
1324 * delim-col.el (delimit-columns-max): Move defvar before first use.
1325
1326 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 1327 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
1328
1329 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1330 (auto-insert): Declare.
1331 (desktop-restore-file-buffer): Rename desktop-* parameters;
1332 mark unused ones.
1333 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1334 (desktop-buffer): Rename desktop-* parameters.
1335
1336 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1337 (dframe-reposition-frame-xemacs, dframe-help-echo)
1338 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1339 Mark unused parameters.
1340
1341 * dired-aux.el (backup-extract-version-start, overwrite-query)
1342 (overwrite-backup-query, rename-regexp-query)
1343 (rename-non-directory-query): Declare.
1344 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1345 (dired-add-entry): Remove unused variable `orig-file-name'.
1346 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1347 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1348 `dired-copy-preserve-time' directly.
1349 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1350 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1351
1352 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1353 (dired-virtual-revert, dired-make-relative-symlink):
1354 Mark unused parameters.
1355 (manual-program): Declare.
1356 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1357 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1358 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1359
1360 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1361
1362 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1363
1364 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1365 Declare.
1366
1367 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1368
1369 * electric.el (Electric-command-loop): Rename parameter
1370 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1371
1372 * expand.el (expand-in-literal): Remove unused variable `here'.
1373
1374 * facemenu.el (facemenu-add-new-color):
1375 Remove unused variable `docstring'.
1376
1377 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1378 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1379 (face-attr-construct): Mark unused parameter. Doc fix.
1380 (read-color): Remove unused variable `hex-string'.
1381
1382 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1383 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1384 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1385 (display-buffer-other-frame): Remove unused variable `old-window'.
1386 (kill-buffer-hook): Declare.
1387 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1388 Mark unused parameters.
1389 (after-find-file): Pass 1 to `auto-save-mode', not t.
1390
1391 * files-x.el (auto-insert): Declare.
1392 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1393
1394 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 1395 variable `buf'. Mark unused parameter.
06b60517
JB
1396 (find-lisp-insert-directory): Mark unused parameter.
1397
1398 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1399 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1400 (format-common-tail): Remove, unused.
1401 (format-deannotate-region): Remove unused variable `loc'.
1402 (format-annotate-region): Remove unused variable `p'.
1403 (format-annotate-single-property-change): Remove unused variables
1404 `default' and `tail'.
1405
1406 * forms.el (read-file-filter): Declare.
1407 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1408
1409 * frame.el (frame-creation-function-alist): Mark unused parameter.
1410 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1411
1412 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1413 Remove unused parameters.
1414 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1415 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1416
1417 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1418 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1419 (hfy-prepare-tag-map): Mark unused parameters.
1420 (htmlfontify-buffer): Use `called-interactively-p'.
1421
1422 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1423 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1424 (ibuffer-do-occur): Mark unused parameters.
1425 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1426 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1427
1428 * ibuffer.el: Don't quote `lambda'.
1429 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1430 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1431 Mark unused parameters.
1432
1433 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1434 (ido-completing-read): Mark unused parameters.
1435 (ido-copy-current-word): Mark unused parameters;
1436 remove unused variable `name'.
1437 (ido-sort-merged-list): Remove unused parameter `dirs'.
1438
1439 * ielm.el (ielm-input-sender): Mark unused parameter.
1440 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1441 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1442 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1443 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1444 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1445
1446 * image-dired.el (image-dired-display-thumbs): Remove unused
1447 variables `curr-file' and `count'.
1448 (image-dired-remove-tag): Remove unused variable `start'.
1449 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1450 variable `curr-file'
1451 (image-dired-rotate-original): Remove unused variable `temp-file'.
1452 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1453 Remove unused variable `file'.
1454 (image-dired-gallery-generate): Remove unused variable `curr'.
1455 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1456
1457 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1458
1459 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1460
1461 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1462
1463 * isearch.el (minibuffer-history-symbol): Declare.
1464 (isearch-edit-string): Remove unused variable `err'.
1465 (isearch-message-prefix, isearch-message-suffix):
1466 Mark unused parameters.
1467
1468 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1469
1470 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1471
1472 * makesum.el (double-column): Remove unused variable `cnt'.
1473
1474 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1475 (ido-ignore-item-temp-list): Declare.
1476
1477 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1478 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1479 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1480 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1481 `mouse-col-delta'.
1482
1483 * mouse-sel.el (mouse-extend-internal):
1484 Remove unused variable `orig-window-frame'.
1485
1486 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1487 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1488 Move declarations before first use.
1489 (pcomplete-opt): Mark unused parameters; doc fix.
1490
1491 * proced.el (proced-revert): Mark unused parameter.
1492 (proced-send-signal): Remove unused variable `err'.
1493
1494 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1495 Rename parameter PREFIX-ARG to ARG.
1496 (ps-basic-plot-string, ps-basic-plot-whitespace):
1497 Mark unused parameters.
1498
1499 * replace.el (replace-count): Define.
1500 (occur-revert-function): Mark unused parameters.
1501 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1502 (isearch-case-fold-search, isearch-string): Declare.
1503 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1504 bind `case-fold-search'. Remove unused variables `beg' and `end',
1505 and simplify.
1506 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1507 COUNT and bind `replace-count'.
1508 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1509 to COUNT.
1510
1511 * savehist.el (print-readably, print-string-length): Declare.
1512
1513 * shadowfile.el (shadow-expand-cluster-in-file-name):
1514 Remove unused variable `cluster'.
1515 (shadow-copy-file): Remove unused variable `i'.
1516 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1517 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1518 (shadow-define-literal-group, shadow-define-regexp-group)
1519 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1520
1521 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1522 (shell): Use `called-interactively-p'.
1523 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1524
1525 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1526 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1527 (delete-backward-char): Remove unused variable `ocol'.
1528 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1529 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1530 (event-apply-hyper-modifier, event-apply-shift-modifier)
1531 (event-apply-control-modifier, event-apply-meta-modifier):
1532 Mark unused parameters.
1533 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1534 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1535
1536 * speedbar.el (speedbar-ignored-directory-expressions)
1537 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1538 (speedbar-find-file, speedbar-dir-follow)
1539 (speedbar-directory-buttons-follow, speedbar-tag-find)
1540 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1541 (speedbar-buffers-line-directory, speedbar-buffer-click):
1542 Mark unused parameters.
1543 (speedbar-tag-file): Remove unused variable `mode'.
1544 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1545
1546 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1547
1548 * talk.el (talk): Remove unused variable `display'.
1549
1550 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1551 (tar-write-region-annotate): Mark unused parameter.
1552
1553 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1554 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1555 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1556 warning by another.
1557
1558 * time-stamp.el (time-stamp-string-preprocess):
1559 Remove unused variable `require-padding'.
1560
1561 * tree-widget.el (widget-glyph-enable): Declare.
1562 (tree-widget-action): Mark unused parameter.
1563
1564 * w32-fns.el (x-get-selection): Mark unused parameter.
1565 (autoload-make-program, generated-autoload-file): Declare.
1566
1567 * wdired.el (wdired-revert): Mark unused parameters.
1568 (wdired-xcase-word): Remove unused variable `err'.
1569
1570 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1571 (whitespace-help-scroll): Remove unused variable `data-help'.
1572
1573 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1574 (widget-image-insert, widget-after-change, default)
1575 (widget-default-format-handler, widget-default-notify)
1576 (widget-default-prompt-value, widget-info-link-action)
1577 (widget-url-link-action, widget-function-link-action)
1578 (widget-variable-link-action, widget-file-link-action)
1579 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1580 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1581 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1582 (widget-insert-button-action, widget-delete-button-action, visibility)
1583 (widget-documentation-link-action, widget-documentation-string-action)
1584 (widget-const-prompt-value, widget-regexp-match, symbol)
1585 (widget-coding-system-prompt-value)
1586 (widget-key-sequence-value-to-external, sexp)
1587 (widget-sexp-value-to-internal, character, vector, cons)
1588 (widget-choice-prompt-value, widget-boolean-prompt-value)
1589 (widget-color--choose-action): Mark unused parameters.
1590 (widget-item-match-inline, widget-choice-match-inline)
1591 (widget-checklist-match, widget-checklist-match-inline)
1592 (widget-group-match): Rename parameter VALUES to VALS.
1593 (widget-field-value-set): Remove unused variable `size'.
1594 (widget-color-action): Remove unused variables `value' and `start'.
1595
1596 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 1597 variable `dir'. Doc fix.
06b60517
JB
1598 (windmove-find-other-window): Don't pass it.
1599
1600 * window.el (count-windows): Mark unused parameter.
1601 (bw-adjust-window): Remove unused variable `err'.
1602
1603 * woman.el (woman-file-name): Remove unused variable `default'.
1604 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1605 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1606 (global-font-lock-mode): Declare.
1607 (woman-decode-region): Mark unused parameter.
1608 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1609
1610 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1611 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1612 (x-dnd-handle-moz-url): Remove unused variable `title'.
1613 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1614
1615 * xml.el (xml-parse-tag, xml-parse-attlist):
1616 Remove unused variable `pos'.
1617
bc4f7f3d
GM
16182011-04-19 Glenn Morris <rgm@gnu.org>
1619
1620 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1621 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1622 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1623 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1624 * calendar/cal-html.el (cal-html-insert-minical):
1625 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1626 (calendar-mark-date-pattern):
1627 Prefix "unused" locals.
1628
1629 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1630 optional argument `style'.
1631
1632 * calendar/appt.el (appt-make-list):
1633 * calendar/cal-china.el (calendar-chinese-date-string):
1634 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1635 (diary-hebrew-yahrzeit):
1636 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1637 * calendar/calendar.el (calendar-generate-window):
1638 * calendar/time-date.el (time-to-days):
1639 Remove unused local variables.
1640
16a43933
CY
16412011-04-18 Chong Yidong <cyd@stupidchicken.com>
1642
1643 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1644 glyphless-char-display table.
1645 (tabulated-list-glyphless-char-display): New var.
1646
7eed1860
SS
16472011-04-18 Sam Steingold <sds@gnu.org>
1648
1649 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1650 to acknowledgments.
1651
4d2d1ccd
GM
16522011-04-17 Glenn Morris <rgm@gnu.org>
1653
1654 * calendar/diary-lib.el (diary-sexp-entry):
1655 * calendar/holidays.el (holiday-sexp):
1656 Set debug-on-error rather than the removed stack-trace-on-error.
1657
239da61d
GM
16582011-04-16 Glenn Morris <rgm@gnu.org>
1659
1660 * progmodes/f90.el: Use lexical-binding.
1661 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1662
8b05752a
SM
16632011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1664
daca8ba5
SM
1665 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1666 (mail-mode): Setup mailalias completion here instead.
1667 * mail/mailalias.el: Use lexical-binding.
1668 (pattern, mailalias-done): Declare dynamic.
1669 (mail-completion-at-point-function): New function, from mail-complete.
1670 (mail-complete): Use it.
1671 (mail-completion-expand): New function.
1672 (mail-get-names): Use it.
1673 (mail-directory, mail-directory-process, mail-directory-stream):
1674 Don't use `pattern' for lexically bound arg.
1675
6f542485
SM
1676 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1677
037e7c3f
SM
1678 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1679 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1680 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1681
8b05752a
SM
1682 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1683 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1684 (byte-interactive-p): Define them again, for use when inlining
1685 old code.
1686
49093f60
JB
16872011-04-15 Juanma Barranquero <lekktu@gmail.com>
1688
1689 * loadup.el: Use `string-to-number', not `string-to-int'.
1690
b5b8e7de
SM
16912011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1694 gud-gdb-complete-command.
1695 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1696 (gud-gdb-completion-at-point): New function.
1697 (gud-gdb-completions): Remove.
1698
f42efeb5
MA
16992011-04-14 Michael Albinus <michael.albinus@gmx.de>
1700
49093f60
JB
1701 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1702 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1703 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1704 whether `executable-find' is bound.
f42efeb5
MA
1705
1706 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1707
e240cc21
SM
17082011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1709
1710 * minibuffer.el (completion-in-region-mode-predicate)
1711 (completion-in-region-mode--predicate): New vars.
1712 (completion-in-region, completion-in-region--postch)
1713 (completion-in-region-mode): Use them.
1714 (completion--capf-wrapper): Also return the hook function.
1715 (completion-at-point, completion-help-at-point):
1716 Adjust and provide a predicate.
c2bd2ab0
SM
1717
1718 Preserve arg names for advice of subr and lexical functions (bug#8457).
1719 * help-fns.el (help-function-arglist): Consolidate the subr and
1720 new-byte-code cases. Add argument `preserve-names' to extract names
1721 from the docstring when needed.
1722 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1723 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1724 (ad-arglist): Use help-function-arglist's new arg.
1725 (ad-definition-type): Use cond.
1726
c183f693
JB
17272011-04-13 Juanma Barranquero <lekktu@gmail.com>
1728
06641a47
JB
1729 * autorevert.el (auto-revert-handler):
1730 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1731 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1732 Don't quote lambda.
1733
c183f693
JB
1734 * image-mode.el (image-transform-set-scale):
1735 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1736
1e3b6001
G
17372011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1738
1739 * net/network-stream.el (network-stream-open-starttls): Only do
1740 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1741 Upgrades via gnutls-cli are too slow to be done opportunistically.
1742
2d6af8dd
JB
17432011-04-12 Juanma Barranquero <lekktu@gmail.com>
1744
1745 * dframe.el (dframe-current-frame): Remove spurious quote.
1746
c0749a51
GM
17472011-04-12 Glenn Morris <rgm@gnu.org>
1748
088d0d61
GM
1749 * calendar/cal-tex.el (cal-tex-end-document):
1750 Try to automatically use latin1 input if needed.
1751
c0749a51
GM
1752 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1753 Don't try to cons a mark onto an empty element.
1754
5c90fde0
LL
17552011-04-11 Leo Liu <sdl.web@gmail.com>
1756
1757 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1758 buffers.
1759 (ido-kill-buffer-at-head): Support killing virtual buffers.
1760
369e974d
CY
17612011-04-10 Chong Yidong <cyd@stupidchicken.com>
1762
1763 * minibuffer.el (completion-show-inline-help): New var.
1764 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
1765 (minibuffer-force-complete, minibuffer-complete-word):
1766 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
1767
1768 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1769 to avoid interference from inline help (Bug#5849).
1770
37f1c930
LL
17712011-04-10 Leo Liu <sdl.web@gmail.com>
1772
099c39a4
JB
1773 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1774 Fix typo.
37f1c930 1775
a32d4040
CY
17762011-04-09 Chong Yidong <cyd@stupidchicken.com>
1777
1778 * image-mode.el (image-toggle-display-image): Signal an error if
1779 not in Image mode.
1780 (image-transform-mode, image-transform-resize)
1781 (image-transform-set-rotation): Doc fix.
daca8ba5 1782 (image-transform-set-resize): Delete.
a32d4040
CY
1783 (image-transform-set-scale, image-transform-fit-to-height)
1784 (image-transform-fit-to-width): Handle image-toggle-display-image
1785 and image-transform-resize directly.
1786
099c39a4 17872011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
1788
1789 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
1790 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1791 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
1792 (doc-view-mode-map): Add bindings for the new functions.
1793
099c39a4 17942011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
1795
1796 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1797 Fix typo in docstring.
1798
3726838a
EZ
17992011-04-08 Eli Zaretskii <eliz@gnu.org>
1800
04f33f1e
EZ
1801 * files.el (file-size-human-readable): Produce one digit after
1802 decimal, like "ls -lh" does.
1803
1804 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1805 the file size representation.
1806
3726838a
EZ
1807 * simple.el (list-processes): If async subprocesses are not
1808 available, error out with a clear error message.
1809
cbb59342
CY
18102011-04-08 Chong Yidong <cyd@stupidchicken.com>
1811
1812 * help.el (help-form-show): New function, to be called from C.
1813 Put help-form output in a buffer named differently than *Help*.
1814
e3971c44
EZ
18152011-04-08 Eli Zaretskii <eliz@gnu.org>
1816
1817 * files.el (file-size-human-readable): New function.
1818
1819 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1820 computing the representation inline. Don't require `cl'.
1821
12544bbe
GM
18222011-04-08 Glenn Morris <rgm@gnu.org>
1823
a1de6c6a
GM
1824 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1825
3c4671f4
GM
1826 * net/browse-url.el (browse-url-firefox):
1827 Test system-type, not system-configuration.
1828
b605679c
GM
1829 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1830 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1831 Use log-edit-empty-buffer-p. (Bug#7598)
1832
56442f0c
GM
1833 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1834 (rlogin-mode-map): Initialize in the defvar.
1835 (rlogin): Use ignore-errors.
1836
12544bbe
GM
1837 * replace.el (occur-mode-map): Some fixes for menu items.
1838
eb237b0f
AH
18392011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1840
1841 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1842
7d668f2c
CY
18432011-04-06 Chong Yidong <cyd@stupidchicken.com>
1844
e67a13ab
CY
1845 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1846 issuing unused warnings.
1847
1848 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1849 macro directly.
1850
7d668f2c
CY
1851 * simple.el: Lisp reimplement of list-processes. Based on an
1852 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1853 (process-menu-mode): New major mode.
1854 (list-processes--refresh, list-processes):
1855 (process-menu-visit-buffer): New functions.
1856
1857 * files.el (save-buffers-kill-emacs): Don't assume any return
1858 value of list-processes, which is undocumented anyway.
1859
a83ec3c9
CY
18602011-04-06 Chong Yidong <cyd@stupidchicken.com>
1861
1862 * emacs-lisp/tabulated-list.el: New file.
1863
e91a96fe
CY
1864 * emacs-lisp/package.el: Use Tabulated List mode.
1865 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1866 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1867 table format using Tabulated List mode variables.
1868 (package--push): New macro, replacing package-list-maybe-add.
1869 (package-menu--generate): Use package--push. Renamed from
1870 package--generate-package-list.
1871 (package-menu-refresh, list-packages): Use it.
daca8ba5 1872 (package-menu--print-info): Rename from package-print-package.
e91a96fe 1873 Return insertion data instead of inserting it directly.
099c39a4
JB
1874 (package-menu-describe-package, package-menu-execute):
1875 Use tabulated-list-get-id.
e91a96fe
CY
1876 (package-menu-mark-delete, package-menu-mark-install)
1877 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
1878 (package-menu-mark-obsolete-for-deletion):
1879 Use tabulated-list-put-tag.
e91a96fe
CY
1880 (package--list-packages, package-menu-revert)
1881 (package-menu-get-package, package-menu-get-version)
1882 (package-menu-sort-by-column): Functions deleted.
1883 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1884 (package-menu--status-predicate, package-menu--version-predicate)
1885 (package-menu--name-predicate)
1886 (package-menu--description-predicate): Handle arguments in the
1887 Tabulated List format.
1888 (package-list-packages-no-fetch): Call list-packages.
1889
3e214b50
JB
18902011-04-06 Juanma Barranquero <lekktu@gmail.com>
1891
1892 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 1893 (after-find-file): Don't bind it.
3e214b50
JB
1894 (revert-buffer-in-progress-p): New variable.
1895 (revert-buffer): Bind it.
1896 Pass nil for `after-find-file-from-revert-buffer'.
1897
1898 * saveplace.el (save-place-find-file-hook): Use new variable
1899 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1900
3f0f1700
GM
19012011-04-06 Glenn Morris <rgm@gnu.org>
1902
c0274801
GM
1903 * Makefile.in (AUTOGEN_VCS): New variable.
1904 (autoloads): Use $AUTOGEN_VCS.
1905
3f0f1700
GM
1906 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1907 * calendar/calendar.el (calendar-mode-map):
1908 Check for toolkit scroll bars. (Bug#8305)
1909
41ea9e48
CY
19102011-04-05 Chong Yidong <cyd@stupidchicken.com>
1911
1912 * minibuffer.el (completion-in-region--postch)
1913 (completion-in-region-mode): Remove unnecessary messages.
1914
6194c800
JB
19152011-04-05 Juanma Barranquero <lekktu@gmail.com>
1916
33256f14
JB
1917 * font-lock.el (font-lock-refresh-defaults):
1918 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1919 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1920
6194c800
JB
1921 * info.el (Info-directory-list, Info-read-node-name-2)
1922 (Info-split-parameter-string): Doc fixes.
1923 (Info-virtual-nodes): Reflow docstring.
1924 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1925 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1926 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1927 Fix typos in docstrings.
1928 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1929 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1930 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1931 (Info-restore-desktop-buffer): Mark unused parameters.
1932 (Info-directory-find-file, Info-directory-find-node)
1933 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1934 (Info-virtual-index-find-node, Info-apropos-find-file)
1935 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 1936 Mark unused parameters; fix typos in docstrings.
6194c800
JB
1937 (Info-virtual-index): Remove unused local variable `nodename'.
1938
b87a8200 19392011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 1940
b87a8200
DD
1941 * net/rcirc.el: Update my e-mail address.
1942 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 1943
3b2ff876
CY
19442011-04-05 Chong Yidong <cyd@stupidchicken.com>
1945
1946 * startup.el (command-line): Save the cursor's theme-face
1947 directly, instead of using face-override-spec.
1948
1949 * custom.el (load-theme): Minor optimization in assigning faces.
1950
8d17e7ca
JB
19512011-04-04 Juanma Barranquero <lekktu@gmail.com>
1952
1953 * help-fns.el (describe-variable): Complete all variables having
1954 documentation, including keywords.
1955 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1956
2fbc1934
JB
19572011-04-04 Juanma Barranquero <lekktu@gmail.com>
1958
1959 Convert to lexical-binding.
1960
1961 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1962 (bs--get-marked-string, bs--get-modified-string)
1963 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1964 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1965 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1966
1967 * ehelp.el (electric-help-execute-extended)
1968 (electric-help-ctrl-x-prefix):
1969 * hexl.el (hexl-revert-buffer-function):
1970 * linum.el (linum-after-change, linum-after-scroll):
1971 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1972
1973 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1974
74f50695
DU
19752011-04-04 Daiki Ueno <ueno@unixuser.org>
1976
1977 * epa-dired.el:
1978 * epa-mail.el:
1979 * epa-hook.el:
1980 * epa-file.el:
1981 * epa.el:
1982 * epg.el: Use lexical binding.
1983
c11325f7
CY
19842011-04-03 Chong Yidong <cyd@stupidchicken.com>
1985
0d9e9a12
CY
1986 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1987
c11325f7 1988 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
1989 dictionary case for flyspell-mark-duplications-exceptions.
1990 Use regexp matching for languages.
c11325f7
CY
1991 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1992 default dictionary (Bug#7926).
1993
da91b5f2
CY
19942011-04-02 Chong Yidong <cyd@stupidchicken.com>
1995
099c39a4
JB
1996 * emacs-lisp/package.el (package--with-work-buffer):
1997 Recognize https URLs.
da91b5f2 1998
099c39a4
JB
1999 * net/network-stream.el: Move from gnus/proto-stream.el.
2000 Change prefix to network-stream throughout.
da91b5f2
CY
2001 (open-protocol-stream): Merge into open-network-stream, leaving
2002 open-protocol-stream as an alias. Handle nil BUFFER args.
2003
2004 * subr.el (open-network-stream): Move to net/network-stream.el.
2005
afa8e9f6
GM
20062011-04-02 Glenn Morris <rgm@gnu.org>
2007
1d2e369d
GM
2008 * find-dired.el (find-exec-terminator): New option.
2009 (find-ls-option): Test for -ls support.
2010 (find-ls-subdir-switches): Test for -b in find-ls-option.
2011 (find-dired, find-grep-dired): Doc fixes.
2012 (find-dired): Use find-exec-terminator.
2013
8abb7da8 2014 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
2015 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
2016 (find-name-arg): Remove purecopy.
8abb7da8 2017
f3ca7378
GM
2018 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
2019 (grep-compute-defaults): Check for `-exec COMMAND +' support.
2020 Set grep-find-use-xargs, grep-find-command, and grep-find-template
2021 accordingly. Don't add the null-device if not needed.
2022
afa8e9f6
GM
2023 * files.el (save-some-buffers): Doc fix.
2024
35eae264
EZ
20252011-04-02 Eli Zaretskii <eliz@gnu.org>
2026
2027 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
2028
26b51db5
JB
20292011-04-01 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
2032 Use `dolist' rather than `mapcar'.
2033
7200d79c
SM
20342011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
2035
03408648 2036 Add lexical binding.
7200d79c 2037
03408648
SM
2038 * subr.el (apply-partially): Use new closures rather than CL.
2039 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
2040 (dolist, dotimes): Use slightly different expansion for lexical code.
2041 (functionp): Move to C.
2042 (letrec): New macro.
2043 (with-wrapper-hook): Use it and apply-partially instead of CL.
2044 (eval-after-load): Preserve lexical-binding.
2045 (save-window-excursion, with-output-to-temp-buffer): Turn them
2046 into macros.
7200d79c 2047
03408648
SM
2048 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
2049
2050 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
2051 than the arglist.
2052 (help-add-fundoc-usage): Don't add `Not documented'.
2053 (help-function-arglist): Handle closures, subroutines, and new
2054 byte-code-functions.
2055 (help-make-usage): Remove leading underscores.
2056 (describe-function-1): Handle closures.
2057 (describe-variable): Use special-variable-p for completion.
2058
2059 * files.el (lexical-binding): Declare safe.
f488fb65 2060
03408648
SM
2061 * emacs-lisp/pcase.el: Don't use destructuring-bind.
2062 (pcase--memoize): Rename from pcase-memoize. Change weakness.
2063 (pcase): Add `let' pattern.
2064 Change memoization so it actually works.
2065 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
2066 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
2067 <let>: New case.
f488fb65 2068
03408648
SM
2069 * emacs-lisp/macroexp.el: Use lexical binding.
2070 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
2071 Don't convert ' to #' without checking that it's indeed quoting
2072 a lambda.
2073
2074 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 2075 Use eval-sexp-add-defvars.
03408648
SM
2076 (eval-sexp-add-defvars): New fun.
2077
2078 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
2079
2080 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
2081 Don't autoload.
2082 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2083 than the internal `byte-compile-lambda'.
2084 (defmethod): Don't hide code under quotes.
2085 (eieio-defmethod): New `code' argument.
2086
2087 * emacs-lisp/eieio-comp.el: Remove.
2088
2089 * emacs-lisp/edebug.el (edebug-eval-defun)
2090 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2091 (edebug-toggle): Avoid `eval'.
2092
2093 * emacs-lisp/disass.el (disassemble-internal): Handle new
2094 `closure' objects.
2095 (disassemble-1): Handle new byte codes.
2096
2097 * emacs-lisp/cl.el (pushnew): Silence warning.
2098
2099 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2100 (cl-byte-compile-throw): Remove.
2101 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2102
2103 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2104 closures.
2105
2106 * emacs-lisp/cconv.el: New file.
2107
2108 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2109 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2110 (byte-compile-initial-macro-environment):
2111 Handle declare-function here.
2112 (byte-compile--lexical-environment): New var.
2113 (byte-stack-ref, byte-stack-set, byte-discardN)
2114 (byte-discardN-preserve-tos): New lap codes.
2115 (byte-interactive-p): Don't use any more.
2116 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2117 New macros.
2118 (byte-compile-lapcode): Use them and handle new lap codes.
2119 (byte-compile-obsolete): Remove.
2120 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2121 (byte-compile-arglist-warn): Check late def of inlinable funs.
2122 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2123 since they should have been expanded by now.
2124 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2125 (byte-compile-from-buffer): Remove unused second arg.
2126 (byte-compile-preprocess): New function.
2127 (byte-compile-toplevel-file-form): New function to distinguish
2128 file-form calls from outside from file-form calls from hunk-handlers.
2129 (byte-compile-file-form): Simplify.
2130 (byte-compile-file-form-defsubst): Remove.
2131 (byte-compile-file-form-defmumble): Simplify now that
2132 byte-compile-lambda always returns a byte-code-function.
2133 (byte-compile): Preprocess.
2134 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2135 Remove, not used any more.
2136 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2137 (byte-compile-make-args-desc): New funs.
2138 (byte-compile-lambda): Handle lexical functions. Always return
2139 a byte-code-function.
2140 (byte-compile-reserved-constants): New var, to make up room for
2141 closed-over variables.
2142 (byte-compile-constants-vector): Obey it.
2143 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2144 (byte-compile-macroexpand-declare-function): New function.
2145 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2146 byte-code-functions.
2147 (byte-compile-form): Check obsolescence here.
2148 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2149 (byte-compile-variable-ref): Remove.
2150 (byte-compile-dynamic-variable-op): New fun.
2151 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2152 (byte-compile-variable-set): New funs.
2153 (byte-compile-discard): Add 2 args.
2154 (byte-compile-stack-ref, byte-compile-stack-set)
2155 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2156 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2157 macroexpand-all instead.
2158 (byte-compile-quote-form): Remove.
2159 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2160 (byte-compile-bind, byte-compile-unbind): New funs.
2161 (byte-compile-let): Handle let* and lexical binding.
2162 (byte-compile-let*): Remove.
2163 (byte-compile-catch, byte-compile-unwind-protect)
2164 (byte-compile-track-mouse, byte-compile-condition-case):
2165 Handle a new :fun-body form, used for lexical scoping.
2166 (byte-compile-save-window-excursion)
2167 (byte-compile-with-output-to-temp-buffer): Remove.
2168 (byte-compile-defun): Simplify.
2169 (byte-compile-stack-adjustment): New fun.
2170 (byte-compile-out): Use it.
2171 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2172
2173 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2174 handler any more.
2175
2176 * emacs-lisp/byte-opt.el: Use lexical binding.
2177 (byte-inline-lapcode): Remove (to bytecomp).
2178 (byte-compile-inline-expand): Pay attention to inlining to/from
2179 lexically bound code.
2180 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2181 any more.
2182 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2183 any more and don't call compiler-macros.
2184 (byte-compile-splice-in-already-compiled-code): Remove.
2185 (byte-code): Don't inline any more.
2186 (disassemble-offset): Receive `bytes' as argument rather than via
2187 dynamic scoping.
2188 (byte-compile-tag-number): Declare before first use.
2189 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2190 `return' even if make-spliceable.
2191 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2192 obsolete interactive-p.
2193 (byte-optimize-lapcode): Optimize new lap-codes.
2194 Don't trip up on new form of `byte-constant' lap code.
2195
2196 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2197
2198 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2199
2200 * custom.el (custom-initialize-default, custom-declare-variable):
2201 Use `defvar'.
2202
2203 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2204 New variables.
2205 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2206 (COMPILE_FIRST): Add macroexp and cconv.
2207 * makefile.w32-in: Mirror changes in Makefile.in.
2208
2209 * vc/cvs-status.el:
2210 * vc/diff-mode.el:
2211 * vc/log-edit.el:
2212 * vc/log-view.el:
2213 * vc/smerge-mode.el:
2214 * textmodes/bibtex-style.el:
2215 * textmodes/css.el:
2216 * startup.el:
2217 * uniquify.el:
da91b5f2
CY
2218 * minibuffer.el:
2219 * newcomment.el:
2220 * reveal.el:
2221 * server.el:
2222 * mpc.el:
2223 * emacs-lisp/smie.el:
2224 * doc-view.el:
2225 * dired.el:
03408648
SM
2226 * abbrev.el: Use lexical binding.
2227
0f0c1f27
EZ
22282011-04-01 Eli Zaretskii <eliz@gnu.org>
2229
2230 * info.el (info-display-manual): New function.
2231
c82b2579
SM
22322011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2233
2234 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2235
221ddf68
TH
22362011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2237
2238 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 2239 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 2240
cba6e77e
GM
22412011-03-31 Glenn Morris <rgm@gnu.org>
2242
e040639f
GM
2243 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2244
cba6e77e
GM
2245 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2246
6d0f1c9e
CS
22472011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2248
2249 * progmodes/python.el (python-default-interpreter)
2250 (python-python-command-args, python-jython-command-args)
2251 (python-which-shell, python-which-args, python-which-bufname)
2252 (python-file-queue, python-comint-output-filter-function)
2253 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2254 variables and functions.
2255
3e2d70fd
SM
22562011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2259 (completion-in-region-mode): New minor mode.
2260 (completion-in-region): Use it.
2261 (completion-in-region--data, completion-in-region-mode-map): New vars.
2262 (completion-in-region--postch): New function.
2263 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2264 New vars.
2265 (completion--capf-wrapper): New function.
2266 (completion-at-point): Use it to track well-behavedness of
2267 hook functions.
2268 (completion-help-at-point): New command.
2269
f3e4086c
JM
22702011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2271
2272 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2273 syntax class to search for whitespace on a single line
2274 (Message-ID: <4D938140.4030905@redhat.com>).
2275
eb7ffc14
LL
22762011-03-30 Leo Liu <sdl.web@gmail.com>
2277
2278 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2279 New commands.
2280 (edit-abbrevs-map): Bind them here.
2281 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2282
d806ab68
KM
22832011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2284
2285 * allout.el (allout-hide-by-annotation, allout-flag-region):
2286 Reduce possibility of overlay leakage by making them volatile.
2287
2288 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2289 hash is not shared between buffers. Mode initialization is
2290 responsible for giving it a useful starting value.
2291 (allout-item-span): Reduce possibility of overlay leakage by
2292 making them volatile.
2293 (allout-widgets-count-buttons-in-region): Add diagnostic function
2294 for tracking down button overlay leaks.
2295
ea622834
LL
22962011-03-29 Leo Liu <sdl.web@gmail.com>
2297
2298 * ido.el (ido-read-internal): Use the default history var
2299 minibuffer-history if no HISTORY is specified.
2300
b62f8267
G
23012011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2302
03408648
SM
2303 * net/imap.el (imap-shell-open, imap-process-connection-type):
2304 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
2305 Kerberos, SSL, other subprocesses.
2306
947b6566
LL
23072011-03-28 Leo Liu <sdl.web@gmail.com>
2308
2309 * abbrev.el (abbrev-table-empty-p): New function.
2310 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2311 nonempty ones. (Bug#5937)
2312
5ffb62aa
JD
23132011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2314
2315 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2316
7a097943
LL
23172011-03-27 Leo Liu <sdl.web@gmail.com>
2318
2319 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2320 for foreground and background colors.
2321 (ansi-color-make-color-map): Adapt.
2322
c5b40130
LL
23232011-03-25 Leo Liu <sdl.web@gmail.com>
2324
1f48f7d2
LL
2325 * midnight.el (midnight-time-float): Remove. Note it calculates
2326 the microsecond component incorrectly and seconds-to-time does the
2327 same job.
625897ec 2328 Remove redundant (require 'timer).
1f48f7d2 2329
c5b40130
LL
2330 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2331 (ido-completions): Remove unused arguments. (Bug#8329)
2332
d86d2721
SM
23332011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * minibuffer.el (completion--flush-all-sorted-completions):
2336 Remove itself from hook.
2337 (completion-at-point): Let the functions perform the completion
2338 immediately and return nil or t.
2339 * comint.el (comint-dynamic-complete-functions): Now identical to
2340 completion-at-point-functions.
2341 (comint-dynamic-list-input-ring): Remove unused var `index'.
2342 (comint--match-partial-filename, comint--unquote&expand-filename):
2343 New funs, split from comint-match-partial-filename.
2344 (comint-dynamic-complete): Use completion-at-point.
2345 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2346
e8974c48
DA
23472011-03-24 Drew Adams <drew.adams@oracle.com>
2348
2349 * thingatpt.el: Support `defun'.
2350
def71b5e
LL
23512011-03-23 Leo Liu <sdl.web@gmail.com>
2352
cb5af48e
LL
2353 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2354
def71b5e
LL
2355 * help-mode.el (help-mode-finish): Tweak regexp.
2356
927c53e7
GM
23572011-03-23 Glenn Morris <rgm@gnu.org>
2358
18d05bed
GM
2359 * eshell/esh-opt.el (eshell-eval-using-options):
2360 Do not bind unused local variable `eshell-option-stub'.
2361
927c53e7
GM
2362 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2363
9d0da923
JB
23642011-03-22 Juanma Barranquero <lekktu@gmail.com>
2365
2366 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2367 keymap variable in `with-no-warnings' to avoid a warning when the
2368 keymap has been already `defconst'ed.
2369
4b978a67
LL
23702011-03-22 Leo Liu <sdl.web@gmail.com>
2371
2372 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2373 encode all chars in abbrevs; otherwise use emacs-mule or
2374 utf-8-emacs. (Bug#8308)
2375
5fd62452
JB
23762011-03-22 Juanma Barranquero <lekktu@gmail.com>
2377
0b1596c6
JB
2378 * simple.el (backward-delete-char-untabify):
2379 Avoid warning about using `delete-backward-char'.
2380
5fd62452
JB
2381 * image.el (image-type-file-name-regexps): Make it variable.
2382 `imagemagick-register-types' modifies it, and the user may want
2383 to add new extensions for known image types.
2384 (imagemagick-register-types): Throw error if not using ImageMagick.
2385
0b4e93f1
LL
23862011-03-22 Leo Liu <sdl.web@gmail.com>
2387
2388 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2389 located before rcirc-prompt-end-marker.
2390 (rcirc-complete): Error if point is not after rcirc prompt.
2391 Handle the case when table is nil.
9882e214 2392 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 2393
fccee4ab
CY
23942011-03-22 Chong Yidong <cyd@stupidchicken.com>
2395
2396 * custom.el (custom--inhibit-theme-enable): Make it affect only
2397 custom-theme-set-variables and custom-theme-set-faces.
2398 (provide-theme): Ignore custom--inhibit-theme-enable.
2399 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2400 (custom-enabling-themes): Delete variable.
d86d2721
SM
2401 (enable-theme): Accept only loaded themes as arguments.
2402 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
2403 (custom-enabled-themes): Forbid themes from setting this.
2404 Eliminate use of custom-enabling-themes.
2405 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 2406
af896da6
LL
24072011-03-21 Leo Liu <sdl.web@gmail.com>
2408
2409 * ido.el (ido-read-internal): Add ido-selected to history instead
2410 of user input.
2411
78f64af0
SM
24122011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2413
2414 * subr.el (deferred-action-list, deferred-action-function):
2415 Mark obsolete.
2416
b16ac1ec
LL
24172011-03-21 Leo Liu <sdl.web@gmail.com>
2418
810f7698
LL
2419 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2420 change on 2011-02-13 (bug#8309).
2421
b16ac1ec
LL
2422 * minibuffer.el (read-file-name-function): Change default value.
2423 (read-file-name--defaults): Rename from read-file-name-defaults.
2424 (read-file-name-default): Rename from read-file-name.
2425 (read-file-name): Call read-file-name-function.
2426
4e05e67e
GM
24272011-03-21 Glenn Morris <rgm@gnu.org>
2428
2429 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2430 Doc fixes.
2431
4359915b
CY
24322011-03-21 Chong Yidong <cyd@stupidchicken.com>
2433
2434 * cus-theme.el: Add missing provide statement.
2435 (customize-create-theme): Extract theme value correctly.
2436 (custom-theme-visit-theme): Autoload.
2437 (customize-create-theme): Prompt before inserting default faces.
2438
1fe275ee
JB
24392011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2440
2441 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2442 units and musical notes.
2443
3ec03f7e
LL
24442011-03-20 Leo <sdl.web@gmail.com>
2445
2446 * ido.el (ido-read-internal): Use completing-read-default.
2447 (ido-completing-read): Fix compatibility with completing-read.
2448
7d476bde
CO
24492011-03-20 Christian Ohler <ohler@gnu.org>
2450
2451 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2452 (ert-delete-all-tests): Use `called-interactively-p' rather than
2453 `interactive-p'.
2454 (ert--make-xrefs-region): Respect END.
2455
fe0fb33e
CY
24562011-03-19 Chong Yidong <cyd@stupidchicken.com>
2457
ff854b0b
CY
2458 * dired-aux.el (dired-create-directory): Signal an error if the
2459 directory already exists (Bug#8246).
2460
fe0fb33e
CY
2461 * facemenu.el (list-colors-display): Call list-faces-display
2462 inside with-help-window.
2463 (list-colors-print): Use display property to align the final
2464 column, instead of checking window-width.
2465
576bce32
EZ
24662011-03-19 Eli Zaretskii <eliz@gnu.org>
2467
2468 * emerge.el (emerge-metachars): Separate value for ms-dos and
2469 windows-nt systems.
2470 (emerge-protect-metachars): Quote correctly for ms-dos and
2471 windows-nt systems.
2472
89c41d68 24732011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
2474
2475 * info.el (info-initialize): Replace all uses of `:' with
2476 path-separator for compatibility with non-Unix systems.
2477 Cache quoting of path-separator. (Bug#8258)
2478
b14e3e21 24792011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
2480
2481 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2482 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2483 (mouse-avoidance-mode): Fix typos in docstrings.
2484
4525ce3e
CY
24852011-03-19 Chong Yidong <cyd@stupidchicken.com>
2486
2487 * startup.el (package-subdirectory-regexp): Move from package.el.
2488 Omit \\` and \\', and let callers add them.
2489
2490 * emacs-lisp/package.el (package-strip-version)
2491 (package-load-all-descriptors): Add \\` and \\' to
2492 package-subdirectory-regexp before using it.
2493 (package-untar-buffer): New arg DIR; ensure that file untars only
2494 into this expected directory. Remove superfluous delete-region.
2495 (package-unpack): Caller changed.
2496 (package-tar-file-info): Use package-subdirectory-regexp.
2497
a904a09a 24982011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 2499
a904a09a
SM
2500 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2501 diff-mode-shared-map (bug#8284).
2502 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
2503
25042011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2505
2506 * calendar/time-date.el (format-seconds): Use assoc instead of
2507 assoc-string, since assoc-string doesn't exist in XEmacs.
2508
171fc304
JB
25092011-03-17 Juanma Barranquero <lekktu@gmail.com>
2510
2511 * custom.el (custom-known-themes): Reflow docstring.
2512 (custom-theme-load-path): Fix typo in docstring.
2513 (load-theme): Fix typo in error message.
2514 (custom-available-themes, custom-variable-theme-value):
2515 Use `let', not `let*'.
2516
d71990a1
JB
25172011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2518
2519 * calc/README: Mention inclusion of musical notes.
2520
2521 * calc/calc-units.el (calc-lu-quant): Rename from
2522 `calc-logunits-quantity'.
2523 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2524 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2525 (calc-db): Rename from `calc-dblevel'.
2526 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2527 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2528 (calc-np): Rename from `calc-nplevel'.
2529 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2530 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2531 (calc-lu-plus): Rename from `calc-logunits-add'.
2532 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2533 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2534 (calc-lu-minus): Rename from `calc-logunits-sub'.
2535 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2536 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2537 (calc-lu-times): Rename from `calc-logunits-mul'.
2538 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2539 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2540 (calc-lu-divide): Rename from `calc-logunits-div'.
2541 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2542 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2543
2544 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2545 functions being autoloaded.
2546
2547 * calc/calc.el (calc-lu-power-reference): Rename from
2548 `calc-logunits-power-reference'.
2549 (calc-lu-field-reference): Rename from
2550 `calc-logunits-field-reference'.
2551
2552 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2553
40c2934b
SM
25542011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * minibuffer.el (completion-all-sorted-completions):
2557 Use :completion-cycle-penalty text property if present.
2558
b0911414
KM
25592011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2560
2561 * allout.el (allout-yank-processing): Adjust for new rebulleting
2562 regime so bullet being yanked is used without prompting the user
2563 for a choice.
2564
8a05b668
JB
25652011-03-16 Juanma Barranquero <lekktu@gmail.com>
2566
2567 * startup.el (command-line): Warn the user that _emacs is deprecated.
2568
5ba5fb81
JB
25692011-03-16 Juanma Barranquero <lekktu@gmail.com>
2570
2571 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2572 (delphi-verbose, delphi-comment-face, delphi-string-face)
2573 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2574 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2575 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2576 (delphi-new-comment-line, delphi-font-lock-defaults)
2577 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2578 Fix typos in docstrings.
2579
2dab465b
KM
25802011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2581
5ba5fb81 2582 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
2583 Invert the roles of character and string values for INSTEAD, so a
2584 string is used for the more common case of a defaulting prompt.
2585
0adf5618
SM
25862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2587
2588 * progmodes/ruby-mode.el (ruby-backward-sexp):
2589 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2590 * play/gamegrid.el (gamegrid-make-face):
2591 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2592 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2593 * notifications.el (notifications-notify):
2594 * net/xesam.el (xesam-search-engines):
2595 * net/quickurl.el (quickurl-list-insert):
2596 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2597
d72700e5
CY
25982011-03-15 Chong Yidong <cyd@stupidchicken.com>
2599
2600 * startup.el (command-line): Update package subdirectory regexp.
2601
49c5410a
SM
26022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2603
c6eee9aa
SM
2604 * allout.el (allout-abbreviate-flattened-numbering)
2605 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2606
49c5410a
SM
2607 * subr.el (read-char-choice): Only show the cursor after the prompt,
2608 not after the answer.
2609
047b2bb9
KR
26102011-03-15 Kevin Ryde <user42@zip.com.au>
2611
2612 * help-fns.el (variable-at-point): Skip leading quotes, if any
2613 (bug#8253).
2614
0a57d256
SM
26152011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2616
2617 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2618 warning message.
2619
77c992bc
MA
26202011-03-14 Michael Albinus <michael.albinus@gmx.de>
2621
2622 * shell.el (shell): When called interactively, offer to change the
2623 shell file name on remote hosts.
2624
eebc475d
TZ
26252011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2626
2627 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2628 integration for LDAP parameters. The host, base, user or binddn,
2629 and secret tokens can be specified in a netrc file, for instance.
2630 This is optional because an `auth-source' parameter must be
2631 specified in the search attributes.
2632
9d05d1ba
JB
26332011-03-13 Juanma Barranquero <lekktu@gmail.com>
2634
2635 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2636
09d9db2c
GM
26372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2638
2639 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2640 into declaration. Remove redundant and harmful binding.
2641
26422011-03-12 Eli Zaretskii <eliz@gnu.org>
2643
2644 * files.el (file-ownership-preserved-p): Pass `integer' as an
2645 explicit 2nd argument to `file-attributes'. If the file's owner
2646 is the Administrators group on Windows, and the current user is
2647 Administrator, consider that a match.
2648
2649 * server.el (server-ensure-safe-dir): Consider server directory
2650 safe on MS-Windows if its owner is the Administrators group while
2651 the current Emacs user is Administrator. Use `=' to compare
2652 numerical UIDs, since they could be integers or floats.
2653
219bd536
JB
26542011-03-12 Juanma Barranquero <lekktu@gmail.com>
2655
2656 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2657
f3afd36b
MA
26582011-03-12 Michael Albinus <michael.albinus@gmx.de>
2659
2660 Sync with Tramp 2.2.1.
2661
2662 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2663
2664 * net/trampver.el: Update release number.
2665
3aaaa6f1
SM
26662011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2667
94642599
SM
2668 * progmodes/compile.el (compilation--previous-directory): Fix up
2669 various nil/dead-marker mismatches (bug#8014).
2670 (compilation-directory-properties, compilation-error-properties):
2671 Don't call it at a position past the one we're about to change.
2672
3aaaa6f1
SM
2673 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2674 Disable obsolescence warnings in the file that declares it.
2675
14239447
KM
26762011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2677
099c39a4
JB
2678 * allout-widgets.el (allout-widgets-tally):
2679 Initialize allout-widgets-tally as a hash table rather than nil to
2680 prevent mode-line redisplay warnings. Also, clarify the module
2681 description and fix a comment typo.
14239447 2682
135e287c
JB
26832011-03-11 Juanma Barranquero <lekktu@gmail.com>
2684
2685 * help-fns.el (describe-variable): Don't complete keywords.
2686 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2687
ffbf300e
CY
26882011-03-10 Chong Yidong <cyd@stupidchicken.com>
2689
ba08b241
CY
2690 * emacs-lisp/package.el (package-version-join): Impose a standard
2691 string representation for pre/alpha/beta version lists.
2692 (package-unpack-single): Standardize the directory name by passing
2693 it through package-version-join.
2694 (package-strip-rcs-id): Accept any version string that does not
2695 signal an error in version-to-list.
ffbf300e 2696
f346fd6b
MA
26972011-03-10 Michael Albinus <michael.albinus@gmx.de>
2698
2699 * simple.el (delete-trailing-whitespace): Return nil for the
2700 benefit of `write-file-functions'.
2701
ccb55d27
GM
27022011-03-10 Glenn Morris <rgm@gnu.org>
2703
5ceaac0c
GM
2704 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2705
02da65ff
GM
2706 * vc/vc-git.el (vc-git-program): New option.
2707 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2708 (vc-git--call): Use it.
2709
b2f603cc
GM
2710 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2711
5772caab
GM
2712 * cus-edit.el (Custom-newline): If no button at point, look
2713 for a subgroup button at start-of-line. (Bug#2298)
2714
ccb55d27
GM
2715 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2716
ec6ecaed
JD
27172011-03-10 Julien Danjou <julien@danjou.info>
2718
2719 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2720 `cursor-type' is nil.
2721
9d5aa01d
JB
27222011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2723
2724 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2725
b6a5875b
KM
27262011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2727
2728 * allout.el Summary: Change so yank of distinctive-bullet items
2729 preserves the existing header prefix, rebulleting it if necessary,
2730 rather than replacing it. This is necessary for proper operation
2731 of cooperative addons like allout-widgets.
219bd536 2732 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
2733 SOLICIT arg to INSTEAD, and interpret additionally a string value
2734 as alternate bullet to be used, instead of prompting the user for
2735 a bullet character.
2736
ee545c35
MA
27372011-03-09 Michael Albinus <michael.albinus@gmx.de>
2738
d86d2721
SM
2739 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2740 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
2741 `tramp-default-port'.
2742
c47971d7
DD
27432011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2744
2745 * net/rcirc.el (rcirc-handler-001): Remove useless
2746 with-rcirc-process-buffer.
2747 (rcirc-check-auth-status): Swap arguments to string-match.
2748
13522cb4
GM
27492011-03-09 Glenn Morris <rgm@gnu.org>
2750
0be6f4f1
GM
2751 * shell.el (shell-mode):
2752 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2753
13522cb4
GM
2754 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2755 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2756
515de2e3
CY
27572011-03-08 Chong Yidong <cyd@stupidchicken.com>
2758
2759 * emacs-lisp/package.el (package-refresh-contents)
2760 (package-menu-execute): Use condition-case-no-debug.
2761
b511b994
MA
27622011-03-08 Michael Albinus <michael.albinus@gmx.de>
2763
2764 * simple.el (shell-command-to-string): Use `process-file'.
2765
2766 * emacs-lisp/package.el (package-tar-file-info): Handle also
2767 remote files.
2768
d86d2721
SM
2769 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2770 Use `equal' for upload base check.
b511b994 2771
25bbfb31
AM
27722011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2773
2774 * textmodes/texinfo.el (texinfo-environments):
2775 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2776
be996521
GM
27772011-03-08 Glenn Morris <rgm@gnu.org>
2778
e9c8529f
GM
2779 * cus-start.el (cursor-in-non-selected-windows):
2780 Fix :set quoting oddness. (Bug#8192)
2781
be996521
GM
2782 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2783 in some setf expressions. (Bug#2159)
2784
2bb5649e
CY
27852011-03-08 Chong Yidong <cyd@stupidchicken.com>
2786
2787 * custom.el (custom-available-themes): Return themes in
2788 alphabetical order.
2789
33383987 2790See ChangeLog.15 for earlier changes.
e3d51b27
MR
2791
2792;; Local Variables:
2793;; coding: utf-8
e3d51b27
MR
2794;; End:
2795
33383987 2796 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
2797
2798 This file is part of GNU Emacs.
2799
2800 GNU Emacs is free software: you can redistribute it and/or modify
2801 it under the terms of the GNU General Public License as published by
2802 the Free Software Foundation, either version 3 of the License, or
2803 (at your option) any later version.
2804
2805 GNU Emacs is distributed in the hope that it will be useful,
2806 but WITHOUT ANY WARRANTY; without even the implied warranty of
2807 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2808 GNU General Public License for more details.
2809
2810 You should have received a copy of the GNU General Public License
2811 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.