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