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