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