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