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