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