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