1 2011-05-18 Glenn Morris <rgm@gnu.org>
3 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5 Rationalize calendar handling of day and month abbrev-arrays.
6 * calendar/calendar.el (calendar-customized-p): New function.
7 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
8 (calendar-day-name-array, calendar-month-name-array): Doc fix.
10 (calendar-abbrev-length, calendar-day-abbrev-array)
11 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12 (calendar-day-abbrev-array, calendar-month-abbrev-array):
13 Elements may no longer be nil.
14 (calendar-day-name, calendar-month-name):
15 Update for changed nature of abbrev arrays.
16 * calendar/diary-lib.el (diary-name-pattern):
17 Update for changed nature of abbrev arrays.
18 (diary-mark-entries-1): Update calendar-make-alist calls.
19 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20 * calendar/cal-html.el (cal-html-day-abbrev-array):
21 Simply inherit from calendar-day-abbrev-array.
23 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
25 * progmodes/grep.el (grep-mode): Disable default
26 compilation-directory-matcher setting (bug#8684).
28 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
30 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
31 instead of "head" and "tail". There were problems with SunOS 5.9,
32 and it performs better.
34 2011-05-17 Glenn Morris <rgm@gnu.org>
36 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
38 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
39 Replace obsolete function.
41 * shell.el (pcomplete-parse-arguments-function): Declare.
43 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
44 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
45 (appt-check): Doc fixes.
46 (appt-disp-window-function, appt-delete-window-function):
47 Remove needless special case in custom :type.
48 (appt-display-count): Default to 0, not nil.
49 (appt-check): Reset appt-display-count to 0, not nil.
51 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
53 * progmodes/python.el (python-font-lock-keywords):
54 Add the Python 3.X keyword "nonlocal" (bug#8639).
56 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
58 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
60 2011-05-16 Kevin Ryde <user42@zip.com.au>
62 * info-look.el (makefile-automake-mode): New setups, looking in
63 automake manual, then makefile-mode.
64 (makefile-mode): Remove automake manual, have it just in
65 makefile-automake-mode since there's various things different or
66 not relevant to plain make.
67 (makefile-mode): Remove "other-modes" non-existent automake-mode,
68 believe a hypothetical automake-mode would go to makefile-mode,
69 not the other way around.
71 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
73 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
74 hunk-end tags (Bug#8672).
76 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
77 vc-annotate-show-diff-revision-at-line (Bug#8671).
79 2011-05-14 Glenn Morris <rgm@gnu.org>
81 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
82 in the middle of an existing one with multiple authors. (Bug#8645)
83 (change-log-font-lock-keywords): Also handle multiple author lines
84 with leading tabs. (Bug#8644)
86 * calendar/appt.el (appt-check): Rename some local variables.
87 Some simplification/reordering.
89 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
90 (feedmail-sendmail-f-doesnt-sell-me-out)
91 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
92 (feedmail-debug-sit-for, feedmail-queue-express-hook)
93 (feedmail-queue-runner-message-sender): Set :version.
94 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
95 (bbdb-dwim-net-address, vm-mail): Declare.
96 (feedmail-binmail-gnulinuxish-template):
97 Rename from feedmail-binmail-linuxish-template.
98 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
99 Use insert-buffer-substring.
101 2011-05-14 Bill Carpenter <bill@carpenter.org>
103 * mail/feedmail.el (feedmail-patch-level): Increase.
104 (feedmail-debug): New custom group.
105 (feedmail-confirm-outgoing-timeout)
106 (feedmail-sendmail-f-doesnt-sell-me-out)
107 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
108 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
109 (feedmail-sender-line, feedmail-from-line)
110 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
111 (feedmail-spray-this-address, )
112 (feedmail-spray-address-fiddle-plex-list)
113 (feedmail-queue-use-send-time-for-date)
114 (feedmail-queue-use-send-time-for-message-id)
115 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
116 (feedmail-buffer-eating-function):
118 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
119 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
120 (feedmail-message-action-scroll-down): New functions.
121 (feedmail-queue-directory, feedmail-queue-draft-directory):
122 Use expand-file-name.
123 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
124 Remove C-v help entry.
125 (feedmail-queue-buffer-file-name): New variable.
126 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
127 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
128 (feedmail-message-action-send-strong, feedmail-message-action-edit)
129 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
130 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
131 (feedmail-message-action-toggle-spray)
132 (feedmail-run-the-queue-no-prompts)
133 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
134 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
135 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
136 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
137 (feedmail-envelope-deducer, feedmail-fiddle-from)
138 (feedmail-fiddle-sender, feedmail-default-date-generator)
139 (feedmail-fiddle-date, feedmail-fiddle-message-id)
140 (feedmail-fiddle-spray-address)
141 (feedmail-fiddle-list-of-spray-fiddle-plexes)
142 (feedmail-fiddle-list-of-fiddle-plexes)
143 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
144 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
145 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
146 Change default. Doc fix.
147 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
148 (feedmail-binmail-linuxish-template): New constant.
149 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
150 Respect feedmail-sendmail-f-doesnt-sell-me-out.
151 (feedmail-send-it): Add debug call.
152 Use feedmail-queue-buffer-file-name, and
153 feedmail-send-it-immediately-wrapper.
154 (feedmail-message-action-send): Add debug call.
155 Use feedmail-send-it-immediately-wrapper.
156 (feedmail-queue-express-to-queue): Add debug call.
157 Run feedmail-queue-express-hook.
158 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
159 (feedmail-message-action-help-blat):
160 Rename from feedmail-queue-send-edit-prompt-help-first.
161 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
162 Check line-endings. Handle errors better.
163 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
164 Doc fix. Add debug call.
165 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
166 Use feedmail-queue-send-edit-prompt-inner.
167 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
168 (feedmail-queue-send-edit-prompt-inner): New function, extracted
169 from feedmail-queue-send-edit-prompt.
170 (feedmail-queue-send-edit-prompt-help)
171 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
172 (feedmail-tidy-up-slug): Add debug call.
173 Respect feedmail-queue-slug-suspect-regexp.
174 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
175 (feedmail-dump-message-to-queue): Add debug call.
176 Expand queue-directory.
177 (feedmail-dump-message-to-queue): Change message slightly.
178 Use feedmail-say-chatter.
179 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
180 (feedmail-send-it-immediately-wrapper): New function.
181 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
182 Insert empty string rather than newline. Handle full-frame case.
183 Use catch/throw. Use feedmail-say-chatter.
184 (feedmail-fiddle-from): Try mail-host-address.
185 (feedmail-default-message-id-generator): Doc fix.
186 Bind system-time-locale. Handle missing end.
187 (feedmail-fiddle-x-mailer): Add debug call.
188 Handle feedmail-x-mailer-line being nil.
189 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
190 Add debug call. Use buffer-substring-no-properties.
191 (feedmail-say-debug, feedmail-say-chatter): New functions.
192 (feedmail-find-eoh): Give an explicit error.
194 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
196 * net/newst-treeview.el (newsticker-treeview-face): Changed default
197 family from helvetica to sans.
198 (newsticker-treeview-tool-bar-map): Moved tool-bar icons to
199 etc/images/newsticker.
201 * net/newst-reader.el (newsticker-feed-face): Changed default
202 family from helvetica to sans.
204 * net/newst-plainview.el (newsticker-new-item-face)
205 (newsticker-old-item-face, newsticker-immortal-item-face)
206 (newsticker-obsolete-item-face, newsticker-date-face)
207 (newsticker-statistics-face): Changed default family from
209 (newsticker--plainview-tool-bar-map): Moved tool-bar icons to
210 etc/images/newsticker.
212 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
213 (newsticker--process-auto-mark-filter-match): : Tell user about
216 2011-05-13 Didier Verna <didier@xemacs.org>
218 Common Lisp indentation improvements on defmethod and lambda-lists.
219 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
220 (lisp-lambda-list-keyword-parameter-indentation)
221 (lisp-lambda-list-keyword-parameter-alignment)
222 (lisp-lambda-list-keyword-alignment): New customizable user options.
223 (lisp-indent-defun-method): Improve docstring.
224 (extended-loop-p): Fix comment.
225 (lisp-indent-lambda-list-keywords-regexp): New variable.
226 (lisp-indent-lambda-list): New function.
227 (lisp-indent-259): Use it.
228 (lisp-indent-defmethod): Support for more than one
229 method qualifier and properly indent methods lambda-lists.
230 (defgeneric): Provide a missing common-lisp-indent-function property.
232 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
234 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
235 bounds for the empty string (bug#8667).
237 2011-05-13 Glenn Morris <rgm@gnu.org>
239 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
241 * mail/sendmail.el (sendmail-program): Try executable-find first.
242 (sendmail-send-it): `sendmail-program' cannot be unbound.
244 * calendar/appt.el (appt-make-list): Simplify.
245 (appt-time-msg-list): Doc fix.
246 (appt-check): Change mode-line message at the time of the appointment.
248 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
250 * progmodes/ld-script.el (ld-script-keywords)
251 (ld-script-builtins): Update keywords list.
253 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
255 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
257 * shell.el (shell-completion-vars): New function.
259 * simple.el (read-shell-command): Use it.
260 (blink-matching-open): No need for " [...]" in minibuffer-message.
262 2011-05-12 Glenn Morris <rgm@gnu.org>
264 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
265 (appt-check): Simplify.
267 2011-05-12 Eli Zaretskii <eliz@gnu.org>
269 * smerge-mode.el (smerge-resolve): Use null-device rather than a
272 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
274 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
277 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
279 * progmodes/which-func.el (which-function):
280 Use add-log-current-defun instead of add-log-current-defun-function,
281 which might not be defined (Bug#8260).
283 2011-05-12 Glenn Morris <rgm@gnu.org>
285 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
286 Let byte-compile-initial-macro-environment always take precedence.
288 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
290 * net/rcirc.el: Add support for SSL/TLS connections.
291 (rcirc-server-alist): New field `encryption'.
292 (rcirc): Check `encryption' settings.
293 (rcirc-connect): New arg `encryption'. Use open-network-stream.
294 Merge make-local-variable into `set'.
295 (rcirc--connection-open-p): New function.
296 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
297 the process is not a network process (e.g. running gnutls-cli).
298 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
299 Make rcirc-(en|de)code-coding-system local here.
300 (rcirc-mode): Merge make-local-variable into `set'.
301 (rcirc-parent-buffer): Make permanent buffer-local.
302 (rcirc-multiline-minor-mode): Don't do it here.
303 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
304 there's no server buffer.
306 2011-05-11 Glenn Morris <rgm@gnu.org>
308 * newcomment.el (comment-kill): Prefix "unused" local.
310 * term/w32console.el (get-screen-color): Declare.
312 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
313 Handle symbol elements of byte-compile-initial-macro-environment.
315 2011-05-10 Leo Liu <sdl.web@gmail.com>
317 * bookmark.el (bookmark-bmenu-mode-map):
318 Bind bookmark-bmenu-search to `/'.
320 * mail/footnote.el: Convert to utf-8 encoding.
321 (footnote-unicode-string, footnote-unicode-regexp): New variable.
322 (Footnote-unicode): New function.
323 (footnote-style-alist): Add unicode style to the list.
324 (footnote-style): Doc fix.
326 2011-05-10 Jim Meyering <meyering@redhat.com>
328 Fix doubled-word typos.
329 * international/quail.el (quail-insert-kbd-layout): and and -> and
330 * kermit.el: and and -> and
331 * net/ldap.el (ldap-search-internal): to to -> to
332 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
333 * progmodes/js.el (js-mode): and and -> and
334 * textmodes/artist.el (artist-move-to-xy): at at -> at
335 (artist-draw-region-trim-line-endings): if if -> if
336 And Safetyc -> Safety.
337 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
339 2011-05-10 Glenn Morris <rgm@gnu.org>
340 Stefan Monnier <monnier@iro.umontreal.ca>
342 * files.el (hack-one-local-variable-eval-safep):
343 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
345 2011-05-10 Glenn Morris <rgm@gnu.org>
347 * calendar/diary-lib.el (diary-list-entries-hook)
348 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
349 (diary-nongregorian-marking-hook, diary-list-entries)
350 (diary-include-other-diary-files, diary-mark-entries)
351 (diary-mark-included-diary-files): Doc fixes.
353 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
355 * misc.el: Require tabulated-list.el during compilation.
357 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
359 * progmodes/compile.el (compilation-start):
360 Run compilation-filter-hook for the async case too.
361 (compilation-filter-hook): Doc fix.
363 2011-05-09 Deniz Dogan <deniz@dogan.se>
365 * wdired.el: Remove outdated installation comment. Fix usage
368 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
370 * misc.el: Implement new command `list-dynamic-libraries'.
371 (list-dynamic-libraries--loaded-only-p): New variable.
372 (list-dynamic-libraries--refresh): New function.
373 (list-dynamic-libraries): New command.
375 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
377 * progmodes/compile.el (compilation-error-regexp-alist-alist):
378 Fix the ant regexp to handle end-line and end-column info from jikes.
379 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
380 higher priority to avoid clobbering by gnu.
382 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
384 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
385 if the face has existing theme settings (Bug#8454).
387 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
389 * progmodes/perl-mode.el (perl-imenu-generic-expression):
390 Only match variables declared via `my' or `our' (Bug#8261).
392 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
393 special file names `.' and `..' (Bug#8259).
395 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
397 * progmodes/grep.el (grep-mode-font-lock-keywords):
398 Remove buffer-changing entries.
399 (grep-filter): New function.
400 (grep-mode): Add it to compilation-filter-hook.
402 * progmodes/compile.el (compilation-filter-hook)
403 (compilation-filter-start): New defvars.
404 (compilation-filter): Call compilation-filter-hook prior to
405 updating the process mark.
407 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
409 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
411 2011-05-07 Eli Zaretskii <eliz@gnu.org>
413 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
414 mailclient-send-it even if window-system is nil. (Bug#8595)
416 * term/w32console.el (terminal-init-w32console):
417 Call get-screen-color and use its output to set the frame
418 background-mode. (Bug#8597)
420 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
422 Make bytecomp.el understand that defmethod defines funs (bug#8631).
423 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
425 (defgeneric, eieio--defmethod): Use them.
426 (eieio-defgeneric): Remove.
427 (defmethod): Call defgeneric in a way visible to the byte-compiler.
429 2011-05-07 Glenn Morris <rgm@gnu.org>
431 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
432 Use let rather than let*.
433 (timeclock-find-discrep): Remove unused local.
435 * calendar/diary-lib.el (diary-comment-start): Doc fix.
437 * calendar/appt.el (appt-time-msg-list): Doc fix.
439 2011-05-06 Noah Friedman <friedman@splode.com>
441 * apropos.el (apropos-print-doc): Only use
442 emacs-lisp-docstring-fill-column when it is bound to an integer,
443 per that variable's documentation.
445 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
447 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
448 and warnings are not silently discarded (e.g. use -d instead of -P).
450 2011-05-06 Glenn Morris <rgm@gnu.org>
452 * calendar/appt.el (appt-message-warning-time): Doc fix.
453 (appt-warning-time-regexp): New option.
454 (appt-make-list): Respect appt-message-warning-time.
456 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
458 (diary-add-to-list): Strip comments from the displayed string.
459 (diary-mode): Set comment-start and comment-end.
461 * vc/diff-mode.el (smerge-refine-subst): Declare.
462 (diff-refine-hunk): Don't require smerge-mode when compiling.
464 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
466 * simple.el (list-processes): Return nil as the docstring says.
468 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
470 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
472 (ange-ftp-write-region, ange-ftp-insert-file-contents)
473 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
474 determining of binary transfer. (Bug#7383)
476 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
478 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
479 Fix port computation bug. (Bug#8618)
481 2011-05-05 Glenn Morris <rgm@gnu.org>
483 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
485 * simple.el (shell-dynamic-complete-functions)
486 (comint-dynamic-complete-functions): Declare.
488 * net/network-stream.el (gnutls-negotiate):
489 * simple.el (tabulated-list-print): Fix declarations.
491 * progmodes/gud.el (syntax-symbol, syntax-point):
492 Remove unnecessary and incorrect declarations.
494 * emacs-lisp/check-declare.el (check-declare-scan):
495 Handle byte-compile-initial-macro-environment in bytecomp.el
497 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
499 Fix earlier half-done eieio-defmethod change (bug#8338).
500 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
501 Streamline and change calling convention.
502 (defmethod): Adjust accordingly and simplify.
503 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
504 new eieio--defmethod.
505 (slot-boundp): Minor CSE simplification.
507 2011-05-05 Milan Zamazal <pdm@zamazal.org>
509 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
510 (glasses-make-readable): Use glasses-separate-capital-groups.
512 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
514 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
515 (warning-series): Doc fix.
516 (display-warning): Don't try to create the buffer if we just found it.
518 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
520 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
521 (autoload-find-generated-file): New function.
522 (generate-file-autoloads): Bind generated-autoload-file to
524 (update-file-autoloads, update-directory-autoloads):
525 Use autoload-find-generated-file. If called interactively, prompt for
526 output file (Bug#7989).
527 (batch-update-autoloads): Doc fix.
529 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
531 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
533 2011-05-04 Glenn Morris <rgm@gnu.org>
535 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
536 function, so it follows changes in calendar-date-style.
537 (diary-fancy-date-matcher): New function.
538 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
539 (diary-fancy-font-lock-fontify-region-function):
540 Use diary-fancy-date-pattern as a function.
542 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
543 non-numbers for `year' etc pseudo-variables. (Bug#8583)
545 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
547 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
548 instead of positional arguments. Allow :keylist and :crlfiles
550 (open-gnutls-stream): Call it.
552 * net/network-stream.el (network-stream-open-starttls): Adjust to
553 call `gnutls-negotiate' with :process and :hostname arguments.
555 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
557 * minibuffer.el (completion--message): New function.
558 (completion--do-completion, minibuffer-complete)
559 (minibuffer-force-complete, minibuffer-complete-word): Use it.
560 (completion--do-completion): Don't ignore completion-auto-help when in
563 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
564 internal encoding (e.g. tibetan zero is not whitespace).
565 (global-whitespace-mode): Prefer save-current-buffer.
566 (whitespace-trailing-regexp): Remove useless save-match-data.
567 (whitespace-empty-at-bob-regexp): Minor simplification.
569 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
571 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
573 2011-05-03 AgustÃn MartÃn Domingo <agustin.martin@hispalinux.es>
575 * textmodes/ispell.el (ispell-add-per-file-word-list):
576 Use `concat' to create string for insertion.
578 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
580 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
581 Avoid open-line which runs post-self-insert-hook.
582 (bibtex-fill-entry): Remove unused `end' var.
584 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
586 * textmodes/ispell.el (ispell-add-per-file-word-list):
587 Protect against `nil' value of `comment-start' (Bug#8579).
589 2011-05-03 Leo Liu <sdl.web@gmail.com>
591 * isearch.el (isearch-yank-pop): New command.
592 (isearch-mode-map): Bind it to `M-y'.
593 (isearch-forward): Mention it.
595 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
597 * simple.el (minibuffer-complete-shell-command): Remove.
598 (minibuffer-local-shell-command-map): Use completion-at-point.
599 (read-shell-command): Setup completion vars here instead.
600 (read-expression-map): Bind TAB to symbol completion.
602 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
603 error directly rather via storing it into `results'.
605 2011-05-02 Leo Liu <sdl.web@gmail.com>
607 * vc/diff.el: Fix description.
609 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
611 * server.el (server-eval-at): New function.
613 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
615 * net/network-stream.el (open-network-stream): Take a :nowait
616 parameter and pass it on to `make-network-process'.
617 (network-stream-open-plain): Ditto.
619 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
621 * faces.el (face-spec-set-match-display): Don't match toolkit
622 options on terminal frames.
624 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
626 * progmodes/pascal.el: Use lexical binding.
627 (pascal-mode-map): Remove author preferences.
629 * pcomplete.el (pcomplete-std-complete): Don't abuse
632 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
634 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
635 removing code that has been dead since 1991 or so.
637 * startup.el (command-line): When warning about "_emacs", use a
638 delayed warning to allow the user to filter it out.
640 2011-04-28 Deniz Dogan <deniz@dogan.se>
642 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
645 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
647 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
648 aren't any completions at point.
650 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
652 * subr.el (display-delayed-warnings): New function.
653 (delayed-warnings-hook): New variable.
655 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
657 * minibuffer.el (completion-at-point, completion-help-at-point):
658 Don't presume that a given completion-at-point-function will always
659 use the same calling convention.
661 * pcomplete.el (pcomplete-completions-at-point):
662 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
663 pcomplete-seen is non-nil.
664 (pcomplete-comint-setup): Also recognize the new comint/shell
665 completion functions.
666 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
667 pcomplete-seen is non-nil.
669 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
671 * calendar/icalendar.el (diary-lib): Add require statement.
672 (icalendar--create-uid): Read out a uid from a text-property on
673 the first character in the entry. This allows for code to add its
674 own uid to the entry.
675 (icalendar--convert-float-to-ical): Add export of
676 `diary-float'-entries save for those with the optional DAY
679 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
681 * subr.el (shell-quote-argument): Use alternate escaping strategy
682 when we spot a variable reference in a string.
684 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
686 * cus-start.el (all): Define customization for debug-on-event.
688 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
690 * subr.el (shell-quote-argument): Escape correctly under Windows.
692 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
694 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
696 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
698 * net/tramp.el (tramp-process-actions): Add POS argument.
699 Delete region between POS and (pos).
701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
702 Use `nil' position in `tramp-process-actions' call.
703 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
705 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
706 position in `tramp-process-actions' call.
708 * net/trampver.el: Update release number.
710 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
712 * custom.el (defcustom): Obey lexical-binding.
714 Fix octave-inf completion problems reported by Alexander Klimov.
715 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
716 Inherit from octave-mode-syntax-table.
717 (inferior-octave-mode): Set info-lookup-mode.
718 (inferior-octave-completion-at-point): New function.
719 (inferior-octave-complete): Use it and completion-in-region.
720 (inferior-octave-dynamic-complete-functions): Use it as well, and use
721 comint-filename-completion.
722 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
723 symbol elements which shouldn't be word elements.
724 (octave-font-lock-keywords, octave-beginning-of-defun)
725 (octave-function-header-regexp): Adjust regexps accordingly.
726 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
728 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
730 * net/gnutls.el (gnutls-errorp): Declare before first use.
732 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
734 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
735 verify-error, and verify-hostname-error parameters. Check whether
736 default trustfile exists before going to use it. Add missing
737 argument to gnutls-message-maybe call. Return return value.
738 Reported by Claudio Bley <claudio.bley@gmail.com>.
739 (open-gnutls-stream): Add usage example.
741 * net/network-stream.el (network-stream-open-starttls): Give host
742 parameter to `gnutls-negotiate'.
743 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
744 * subr.el (shell-quote-argument): Escape correctly under Windows.
746 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
748 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
749 Use correct match group (bug#8438).
751 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
753 * emacs-lisp/package.el (package-built-in-p): Fix typo.
754 (package-menu--generate): New arg specifying packages to show.
755 (package-menu-refresh, package-menu-execute, list-packages):
757 (package-show-package-list): New function, replacing deleted
758 package--list-packages (renamed because it is non-internal).
760 * finder.el (finder-list-matches): Use package-show-package-list
761 instead of deleted package--list-packages.
763 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
764 Based on a previous implementation by Juanma Barranquero (Bug#8366).
765 (vc-annotate-mode-map): Bind it to RET.
767 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
769 * progmodes/etags.el (next-file): Don't use set-buffer to change
772 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
774 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
776 * apropos.el (apropos-label-face): Avoid variable-pitch face.
777 (apropos-accumulator): Doc fix.
778 (apropos-function, apropos-macro, apropos-command)
779 (apropos-variable, apropos-face, apropos-group, apropos-widget)
780 (apropos-plist): Add face property.
781 (apropos-symbols-internal): Fix indentation.
782 (apropos-print): Simplify help, and recognize apropos-multi-type.
783 (apropos-print-doc): Use button-type-get to extract the button's
784 face property. Fill docstring (Bug#8352).
786 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
788 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
790 * play/mpuz.el (mpuz-silent): Doc fix.
791 (mpuz-mode-map): Use mapc.
792 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
793 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
794 Fix typos in docstrings.
796 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
797 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
799 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
801 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
803 * minibuffer.el (completion--do-completion): Avoid the "Next char
804 not unique" prompt if icomplete-mode is enabled (Bug#5849).
806 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
807 mouse-2 into unread-command-events, it is interpreted correctly.
809 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
810 (image-toggle-display): Doc fix.
812 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
814 * textmodes/page.el (what-page): Use line-number-at-pos to
815 calculate line number (Bug#6825).
817 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
819 * eshell/esh-mode.el (find-tag-interactive): Declare function.
820 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
821 Pass argument NO-DEFAULT to `find-tag-interactive'.
823 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
825 Lexical-binding cleanup.
827 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
828 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
829 * progmodes/ada-prj.el (ada-prj-initialize-values)
830 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
831 (ada-prj-show-value):
832 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
833 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
834 (antlr-invalidate-context-cache, antlr-options-menu-filter)
835 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
836 * progmodes/bug-reference.el (bug-reference-push-button):
837 * progmodes/fortran.el (fortran-line-length):
838 * progmodes/glasses.el (glasses-change):
839 * progmodes/octave-mod.el (octave-fill-paragraph):
840 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
841 (python-pdbtrack-grub-for-buffer, python-sentinel):
842 * progmodes/sql.el (sql-save-connection):
843 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
844 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
845 Mark unused parameters.
847 * progmodes/compile.el (compilation--flush-directory-cache)
848 (compilation--flush-parse, compile-internal): Mark unused parameters.
849 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
850 (compilation-next-error-function): Remove unused variable `timestamp'.
852 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
853 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
855 * progmodes/dcl-mode.el (dcl-end-of-command):
856 Remove unused variable `start'.
857 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
858 (dcl-option-value-basic, dcl-option-value-offset)
859 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
860 Mark unused parameters.
861 (dcl-save-local-variable): Remove unused variable `val'.
864 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
865 Mark unused parameters.
866 (delphi-ignore-changes): Move before first use.
867 (delphi-charset-token-at): Remove unused variable `start'.
868 (delphi-else-start): Remove unused variable `if-count'.
869 (delphi-comment-block-start, delphi-comment-block-end):
870 Remove unused variable `kind'.
871 (delphi-indent-line): Remove unused variable `new-point'.
873 * progmodes/ebrowse.el (ebrowse-files-list)
874 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
875 Mark unused parameters. Don't quote `lambda'.
876 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
877 Don't quote `lambda'.
878 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
879 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
880 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
881 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
883 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
884 (ebrowse-view/find-file-and-search-pattern)
885 (ebrowse-view/find-member-declaration/definition):
886 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
887 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
888 Rename parameter PREFIX-ARG to PREFIX.
889 (ebrowse-tags-read-name): Remove unused variables `start' and
891 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
894 * progmodes/etags.el (local-find-tag-hook): Declare.
895 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
896 Mark unused parameters.
898 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
899 (executable-interpret): Mark unused parameter.
901 * progmodes/flymake.el (flymake-process-sentinel)
902 (flymake-after-change-function)
903 (flymake-create-temp-with-folder-structure)
904 (flymake-get-include-dirs-dot): Mark unused parameters.
905 (flymake-safe-delete-directory): Remove unused variable `err'.
907 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
908 (speedbar-timer-fn, speedbar-line-text)
909 (speedbar-change-expand-button-char, speedbar-delete-subblock)
910 (speedbar-center-buffer-smartly): Declare functions.
911 (gdb-find-watch-expression): Remove unused variable `array'.
912 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
913 (gdb-starting): Mark unused parameters.
914 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
915 (gdb-table-string): Remove unused variable `res'.
916 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
917 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
918 (gdb-display-buffer): Remove unused variable `cur-size'.
920 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
921 allow lexical-binding compilation.
922 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
923 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
924 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
925 Mark unused parameters.
926 (gud-gdb-marker-filter): Remove unused variable `match'.
927 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
928 lambda expressions and funcall them, instead of using `fset'.
930 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
931 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
933 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
934 variable `header-beg'; use `let'.
936 * progmodes/icon.el (indent-icon-exp): Remove unused variables
937 `restart', `last-sexp' and `at-do'.
939 * progmodes/js.el (js--debug): Mark unused parameter.
940 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
941 (js--splice-into-items): Remove unused variable `item'.
942 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
944 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
945 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
946 (makefile-complete): Remove unused variable `try'.
947 (makefile-fill-paragraph, makefile-match-function-end):
948 Mark unused parameters.
950 * progmodes/octave-inf.el (inferior-octave-complete):
951 Remove unused variable `proc'.
952 (inferior-octave-output-digest): Mark unused parameter.
954 * progmodes/perl-mode.el (perl-calculate-indent):
955 Remove unused variable `err'.
957 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
958 (prolog-indent-line): Mark unused parameters.
959 (prolog-indent-line): Remove unused variable `beg'.
961 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
962 (reporter-dont-compact-list): Declare.
964 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
965 Remove unused variable `char'.
966 (sh-debug): Mark unused parameter.
967 (sh-get-indent-info): Remove unused variable `start'.
968 (sh-calculate-indent): Remove unused variable `var'.
970 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
971 (simula-electric-keyword): Remove unused variable `null'.
972 (simula-search-backward, simula-search-forward): Remove unused
973 variables `begin' and `end'.
975 * progmodes/vera-mode.el (vera-guess-basic-syntax):
976 Remove unused variable `pos'.
977 (vera-electric-tab, vera-comment-uncomment-region):
978 Mark unused parameters.
979 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
981 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
983 * emacs-lisp/package.el (package--builtins, package-alist)
984 (package-load-descriptor, package-built-in-p, package-activate)
985 (define-package, package-installed-p)
986 (package-compute-transaction, package-buffer-info)
987 (package--push): Doc fix. Distinguish more clearly between
988 version strings and version lists.
990 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
992 Lexical-binding cleanup.
994 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
995 (5x5-make-mutate-best):
996 * play/fortune.el (fortune-in-buffer):
997 * play/gomoku.el (gomoku-init-display):
998 * play/solitaire.el (solitaire, solitaire-do-check):
999 * play/tetris.el (tetris-default-update-speed-function):
1000 Mark unused parameters.
1002 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
1003 (bubbles--shift): Remove unused variable `char-org'.
1004 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
1005 (bubbles--show-images): Remove unused variable `char'.
1007 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
1008 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
1009 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
1010 (decipher-analyze-buffer): Use ?\s.
1011 (decipher-make-checkpoint): Remove unused variable `mapping'.
1013 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1015 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1016 Remove unused variable `result'; use `let'.
1018 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
1019 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
1020 (gametree-children-shown-p, gametree-compute-reduced-score):
1021 Use `ignore-errors'.
1023 * play/handwrite.el (ps-lpr-switches): Declare.
1024 (handwrite): Remove unused variables `pmin' and `lastp'.
1026 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1028 * play/landmark.el (landmark-init-display)
1029 (landmark-update-naught-weights): Mark unused parameters.
1030 (landmark-y): Remove unused variable `noise'. Simplify.
1031 (landmark-human-plays): Remove unused variable `score'.
1033 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1034 (mpuz-try-proposal): Remove unused variable `game'.
1036 * play/zone.el (life-patterns): Declare.
1038 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
1040 * vc/vc.el (ediff-vc-internal): Declare function.
1042 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * shell.el: Use lexical-binding and std completion UI.
1045 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
1046 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
1047 comint-preoutput-filter-functions rather than on
1048 comint-output-filter-functions.
1049 (shell-command-completion, shell--command-completion-data)
1050 (shell-filename-completion, shell-environment-variable-completion)
1051 (shell-c-a-p-replace-by-expanded-directory): New functions.
1052 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
1053 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
1054 (shell-dynamic-complete-environment-variable): Use them.
1055 (shell-dynamic-complete-as-environment-variable)
1056 (shell-dynamic-complete-as-command): Remove.
1057 (shell-match-partial-variable): Match past point.
1058 * comint.el: Clean up use of completion-at-point-functions.
1059 (comint-completion-at-point): New function.
1060 (comint-mode): Use it completion-at-point-functions.
1061 (comint-dynamic-complete): Make it obsolete.
1062 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
1063 (comint-c-a-p-replace-by-expanded-history): New function.
1064 (comint-dynamic-complete-functions)
1065 (comint-replace-by-expanded-history): Use it.
1066 * minibuffer.el (completion-table-with-terminator): Allow dynamic
1067 termination strings. Try harder to avoid second try-completion.
1068 (completion-in-region-mode-map): Disable bindings that don't work yet.
1070 * comint.el: Use lexical-binding. Require CL.
1071 (comint-dynamic-complete-functions): Use comint-filename-completion.
1072 (comint-completion-addsuffix): Tweak custom type.
1073 (comint-filename-completion, comint--common-suffix)
1074 (comint--common-quoted-suffix, comint--table-subvert)
1075 (comint--complete-file-name-data): New functions.
1076 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
1077 (comint-dynamic-list-filename-completions): Use them.
1078 (comint-dynamic-simple-complete): Make obsolete.
1080 * minibuffer.el (completion-in-region-mode):
1081 Keep completion-in-region-mode--predicate global.
1082 (completion-in-region--postch):
1083 Assume completion-in-region-mode--predicate is not null.
1085 * progmodes/flymake.el (flymake-start-syntax-check-process):
1086 Obey `dir'. Simplify.
1088 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1089 we're in VC after all.
1091 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1093 * vc/vc.el (vc-diff-build-argument-list-internal)
1094 (vc-version-ediff, vc-ediff): New commands.
1095 (vc-version-diff): Use vc-diff-build-argument-list-internal.
1097 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1099 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1102 * obsolete/erc-hecomplete.el: Make obsolete.
1103 * obsolete/: Standardize obsolescence info in the header.
1105 2011-04-20 Glenn Morris <rgm@gnu.org>
1107 * calendar/solar.el (solar-horizontal-coordinates):
1108 Use the longitude argument rather than `calendar-longitude'.
1109 (solar-date-next-longitude): Remove unused locals.
1111 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1113 * whitespace.el: New version 13.2.1.
1115 2011-04-20 felix <EmacsWiki> (tiny change)
1117 * whitespace.el (global-whitespace-mode): keep highlight when
1118 switching between major modes on a file.
1120 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1122 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
1123 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
1124 multi-line comments as well.
1126 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
1128 Lexical-binding cleanup.
1130 * arc-mode.el (archive-mode-revert):
1131 * cmuscheme.el (scheme-interactively-start-process):
1132 * custom.el (custom-initialize-delay):
1133 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
1134 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
1135 * emacs-lock.el (emacs-lock-clear-sentinel):
1136 * ezimage.el (defezimage):
1137 * follow.el (follow-avoid-tail-recenter):
1138 * fringe.el (set-fringe-mode-1):
1139 * generic-x.el (bat-generic-mode-compile):
1140 * help-mode.el (help-info-variable, help-do-xref)
1141 (help-mode-revert-buffer):
1142 * help.el (view-emacs-todo):
1143 * iswitchb.el (iswitchb-completion-help):
1144 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
1145 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
1146 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
1147 * locate.el (locate-update):
1148 * longlines.el (longlines-encode-region)
1149 (longlines-after-change-function):
1150 * outline.el (outline-isearch-open-invisible):
1151 * ps-def.el (declare-function, charset-dimension, char-width)
1153 * ps-mule.el (ps-mule-plot-string):
1154 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
1155 (recentf-edit-list-select, recentf-edit-list-validate)
1156 (recentf-open-files-action):
1157 * rect.el (delete-whitespace-rectangle-line)
1158 (rectangle-number-line-callback):
1159 * register.el (window-configuration-to-register)
1160 (frame-configuration-to-register):
1161 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
1162 * select.el (xselect-convert-to-string, xselect-convert-to-length)
1163 (xselect-convert-to-targets, xselect-convert-to-delete)
1164 (xselect-convert-to-filename, xselect-convert-to-charpos)
1165 (xselect-convert-to-lineno, xselect-convert-to-colno)
1166 (xselect-convert-to-os, xselect-convert-to-host)
1167 (xselect-convert-to-user, xselect-convert-to-class)
1168 (xselect-convert-to-name, xselect-convert-to-integer)
1169 (xselect-convert-to-atom, xselect-convert-to-identity):
1170 * subr.el (declare, ignore, process-kill-without-query)
1171 (text-clone-maintain):
1172 * terminal.el (te-get-char, te-tic-sentinel):
1173 * tool-bar.el (tool-bar-make-keymap):
1174 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
1175 * type-break.el (type-break-mode, type-break-noninteractive-query):
1176 * view.el (View-back-to-mark):
1177 * wid-browse.el (widget-browse-action, widget-browse-widget)
1178 (widget-browse-widgets, widget-browse-sexp):
1179 * widget.el (define-widget-keywords):
1180 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
1181 Mark unused parameters.
1183 * align.el (align-adjust-col-for-rule): Mark unused parameter.
1184 (align-areas): Remove unused variable `look'.
1185 (align-region): Remove unused variables `real-end' and `pos-list'.
1187 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1189 * bindings.el (mode-line-modified, mode-line-remote):
1190 Mark unused parameters.
1191 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
1193 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1194 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1196 * comint.el (comint-history-isearch-pop-state)
1197 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
1198 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
1199 (comint-substitute-in-file-name): Doc fix.
1201 * completion.el (cmpl-statistics-block): Mark unused parameter.
1202 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
1203 (save-completions-to-file, load-completions-from-file):
1204 Remove unused local variable `e'.
1206 * composite.el (compose-chars): Remove unused variable `len'.
1207 (lgstring-insert-glyph): Remove unused variable `g'.
1208 (compose-glyph-string): Remove unused variables `ascent',
1209 `descent', `lbearing' and `rbearing'.
1210 (compose-glyph-string-relative): Remove unused variables
1211 `lbearing', `rbearing' and `wadjust'.
1212 (compose-gstring-for-graphic): Remove unused variables `header',
1213 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
1214 (compose-gstring-for-terminal): Remove unused variables `header'
1215 and `nchars'. Use `let', not `let*'.
1217 * cus-edit.el (Custom-set, Custom-save, custom-reset)
1218 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
1219 (Custom-buffer-done, custom-buffer-create-internal)
1220 (custom-browse-visibility-action, custom-browse-group-tag-action)
1221 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
1222 (widget-magic-mouse-down-action, custom-toggle-parent)
1223 (custom-add-parent-links, custom-toggle-hide-variable)
1224 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
1225 (custom-toggle-hide-face, face, hook, custom-group-link-action)
1226 (custom-face-menu-create, custom-variable-menu-create, get)
1227 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
1228 (custom-reset-standard-save-and-update): Remove unused variable `value'.
1229 (customize-apropos): Remove unused variable `tests'.
1230 (custom-group-value-create): Remove unused variable `hidden-p'.
1231 (sort-fold-case): Declare.
1233 * cus-theme.el (custom-reset-standard-faces-list)
1234 (custom-reset-standard-variables-list): Declare.
1235 (customize-create-theme, custom-theme-revert, custom-theme-write)
1236 (custom-theme-choose-mode, customize-themes, custom-theme-save):
1237 Mark unused parameters.
1239 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1241 * delim-col.el (delimit-columns-max): Move defvar before first use.
1243 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1244 (describe-char): Don't quote `lambda'. Mark unused parameter.
1246 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1247 (auto-insert): Declare.
1248 (desktop-restore-file-buffer): Rename desktop-* parameters;
1250 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1251 (desktop-buffer): Rename desktop-* parameters.
1253 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1254 (dframe-reposition-frame-xemacs, dframe-help-echo)
1255 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
1256 Mark unused parameters.
1258 * dired-aux.el (backup-extract-version-start, overwrite-query)
1259 (overwrite-backup-query, rename-regexp-query)
1260 (rename-non-directory-query): Declare.
1261 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
1262 (dired-add-entry): Remove unused variable `orig-file-name'.
1263 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
1264 Use parameter PRESERVE-TIME instead of accessing dynamic variable
1265 `dired-copy-preserve-time' directly.
1266 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
1267 (dired-insert-subdir-newpos): Rename unused variable `pos'.
1269 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
1270 (dired-virtual-revert, dired-make-relative-symlink):
1271 Mark unused parameters.
1272 (manual-program): Declare.
1273 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
1274 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
1275 wrapped in `with-no-warnings' to avoid replacing one warning by another.
1277 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1279 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1281 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1284 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1286 * electric.el (Electric-command-loop): Rename parameter
1287 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1289 * expand.el (expand-in-literal): Remove unused variable `here'.
1291 * facemenu.el (facemenu-add-new-color):
1292 Remove unused variable `docstring'.
1294 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
1295 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
1296 (face-attr-construct): Mark unused parameter. Doc fix.
1297 (read-color): Remove unused variable `hex-string'.
1299 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
1300 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
1301 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
1302 (display-buffer-other-frame): Remove unused variable `old-window'.
1303 (kill-buffer-hook): Declare.
1304 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
1305 Mark unused parameters.
1306 (after-find-file): Pass 1 to `auto-save-mode', not t.
1308 * files-x.el (auto-insert): Declare.
1309 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1311 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
1312 variable `buf'. Mark unused parameter.
1313 (find-lisp-insert-directory): Mark unused parameter.
1315 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
1316 (format-encode-region): Remove unused variables `cur-buf' and `result'.
1317 (format-common-tail): Remove, unused.
1318 (format-deannotate-region): Remove unused variable `loc'.
1319 (format-annotate-region): Remove unused variable `p'.
1320 (format-annotate-single-property-change): Remove unused variables
1321 `default' and `tail'.
1323 * forms.el (read-file-filter): Declare.
1324 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1326 * frame.el (frame-creation-function-alist): Mark unused parameter.
1327 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1329 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
1330 Remove unused parameters.
1331 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
1332 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
1334 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
1335 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
1336 (hfy-prepare-tag-map): Mark unused parameters.
1337 (htmlfontify-buffer): Use `called-interactively-p'.
1339 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
1340 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
1341 (ibuffer-do-occur): Mark unused parameters.
1342 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
1343 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
1345 * ibuffer.el: Don't quote `lambda'.
1346 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
1347 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
1348 Mark unused parameters.
1350 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
1351 (ido-completing-read): Mark unused parameters.
1352 (ido-copy-current-word): Mark unused parameters;
1353 remove unused variable `name'.
1354 (ido-sort-merged-list): Remove unused parameter `dirs'.
1356 * ielm.el (ielm-input-sender): Mark unused parameter.
1357 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
1358 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
1359 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
1360 `ielm-string' as a dynamic variable accessible from the IELM prompt.
1361 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
1363 * image-dired.el (image-dired-display-thumbs): Remove unused
1364 variables `curr-file' and `count'.
1365 (image-dired-remove-tag): Remove unused variable `start'.
1366 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
1367 variable `curr-file'
1368 (image-dired-rotate-original): Remove unused variable `temp-file'.
1369 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
1370 Remove unused variable `file'.
1371 (image-dired-gallery-generate): Remove unused variable `curr'.
1372 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
1374 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1376 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1378 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1380 * isearch.el (minibuffer-history-symbol): Declare.
1381 (isearch-edit-string): Remove unused variable `err'.
1382 (isearch-message-prefix, isearch-message-suffix):
1383 Mark unused parameters.
1385 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1387 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1389 * makesum.el (double-column): Remove unused variable `cnt'.
1391 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1392 (ido-ignore-item-temp-list): Declare.
1394 * mouse-drag.el (mouse-drag-throw): Remove unused variables
1395 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
1396 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
1397 (mouse-drag-drag): Remove unused variables `mouse-delta' and
1400 * mouse-sel.el (mouse-extend-internal):
1401 Remove unused variable `orig-window-frame'.
1403 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
1404 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
1405 Move declarations before first use.
1406 (pcomplete-opt): Mark unused parameters; doc fix.
1408 * proced.el (proced-revert): Mark unused parameter.
1409 (proced-send-signal): Remove unused variable `err'.
1411 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
1412 Rename parameter PREFIX-ARG to ARG.
1413 (ps-basic-plot-string, ps-basic-plot-whitespace):
1414 Mark unused parameters.
1416 * replace.el (replace-count): Define.
1417 (occur-revert-function): Mark unused parameters.
1418 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
1419 (isearch-case-fold-search, isearch-string): Declare.
1420 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
1421 bind `case-fold-search'. Remove unused variables `beg' and `end',
1423 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1424 COUNT and bind `replace-count'.
1425 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1428 * savehist.el (print-readably, print-string-length): Declare.
1430 * shadowfile.el (shadow-expand-cluster-in-file-name):
1431 Remove unused variable `cluster'.
1432 (shadow-copy-file): Remove unused variable `i'.
1433 (shadow-noquery, shadow-clusters, shadow-site-cluster)
1434 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
1435 (shadow-define-literal-group, shadow-define-regexp-group)
1436 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
1438 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
1439 (shell): Use `called-interactively-p'.
1440 (shell-directory-tracker): Remove unused variable `chdir-failure'.
1442 * simple.el (compilation-context-lines, comint-file-name-quote-list)
1443 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
1444 (delete-backward-char): Remove unused variable `ocol'.
1445 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
1446 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
1447 (event-apply-hyper-modifier, event-apply-shift-modifier)
1448 (event-apply-control-modifier, event-apply-meta-modifier):
1449 Mark unused parameters.
1450 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
1451 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
1453 * speedbar.el (speedbar-ignored-directory-expressions)
1454 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
1455 (speedbar-find-file, speedbar-dir-follow)
1456 (speedbar-directory-buttons-follow, speedbar-tag-find)
1457 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
1458 (speedbar-buffers-line-directory, speedbar-buffer-click):
1459 Mark unused parameters.
1460 (speedbar-tag-file): Remove unused variable `mode'.
1461 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
1463 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1465 * talk.el (talk): Remove unused variable `display'.
1467 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1468 (tar-write-region-annotate): Mark unused parameter.
1470 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
1471 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
1472 Declare them, wrapped in `with-no-warnings' to avoid replacing one
1475 * time-stamp.el (time-stamp-string-preprocess):
1476 Remove unused variable `require-padding'.
1478 * tree-widget.el (widget-glyph-enable): Declare.
1479 (tree-widget-action): Mark unused parameter.
1481 * w32-fns.el (x-get-selection): Mark unused parameter.
1482 (autoload-make-program, generated-autoload-file): Declare.
1484 * wdired.el (wdired-revert): Mark unused parameters.
1485 (wdired-xcase-word): Remove unused variable `err'.
1487 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1488 (whitespace-help-scroll): Remove unused variable `data-help'.
1490 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
1491 (widget-image-insert, widget-after-change, default)
1492 (widget-default-format-handler, widget-default-notify)
1493 (widget-default-prompt-value, widget-info-link-action)
1494 (widget-url-link-action, widget-function-link-action)
1495 (widget-variable-link-action, widget-file-link-action)
1496 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
1497 (widget-field-prompt-internal, widget-field-action, widget-field-match)
1498 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
1499 (widget-insert-button-action, widget-delete-button-action, visibility)
1500 (widget-documentation-link-action, widget-documentation-string-action)
1501 (widget-const-prompt-value, widget-regexp-match, symbol)
1502 (widget-coding-system-prompt-value)
1503 (widget-key-sequence-value-to-external, sexp)
1504 (widget-sexp-value-to-internal, character, vector, cons)
1505 (widget-choice-prompt-value, widget-boolean-prompt-value)
1506 (widget-color--choose-action): Mark unused parameters.
1507 (widget-item-match-inline, widget-choice-match-inline)
1508 (widget-checklist-match, widget-checklist-match-inline)
1509 (widget-group-match): Rename parameter VALUES to VALS.
1510 (widget-field-value-set): Remove unused variable `size'.
1511 (widget-color-action): Remove unused variables `value' and `start'.
1513 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1514 variable `dir'. Doc fix.
1515 (windmove-find-other-window): Don't pass it.
1517 * window.el (count-windows): Mark unused parameter.
1518 (bw-adjust-window): Remove unused variable `err'.
1520 * woman.el (woman-file-name): Remove unused variable `default'.
1521 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
1522 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
1523 (global-font-lock-mode): Declare.
1524 (woman-decode-region): Mark unused parameter.
1525 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
1527 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
1528 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
1529 (x-dnd-handle-moz-url): Remove unused variable `title'.
1530 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
1532 * xml.el (xml-parse-tag, xml-parse-attlist):
1533 Remove unused variable `pos'.
1535 2011-04-19 Glenn Morris <rgm@gnu.org>
1537 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
1538 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1539 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1540 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
1541 * calendar/cal-html.el (cal-html-insert-minical):
1542 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
1543 (calendar-mark-date-pattern):
1544 Prefix "unused" locals.
1546 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1547 optional argument `style'.
1549 * calendar/appt.el (appt-make-list):
1550 * calendar/cal-china.el (calendar-chinese-date-string):
1551 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
1552 (diary-hebrew-yahrzeit):
1553 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
1554 * calendar/calendar.el (calendar-generate-window):
1555 * calendar/time-date.el (time-to-days):
1556 Remove unused local variables.
1558 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1560 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
1561 glyphless-char-display table.
1562 (tabulated-list-glyphless-char-display): New var.
1564 2011-04-18 Sam Steingold <sds@gnu.org>
1566 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1569 2011-04-17 Glenn Morris <rgm@gnu.org>
1571 * calendar/diary-lib.el (diary-sexp-entry):
1572 * calendar/holidays.el (holiday-sexp):
1573 Set debug-on-error rather than the removed stack-trace-on-error.
1575 2011-04-16 Glenn Morris <rgm@gnu.org>
1577 * progmodes/f90.el: Use lexical-binding.
1578 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1580 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1582 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
1583 (mail-mode): Setup mailalias completion here instead.
1584 * mail/mailalias.el: Use lexical-binding.
1585 (pattern, mailalias-done): Declare dynamic.
1586 (mail-completion-at-point-function): New function, from mail-complete.
1587 (mail-complete): Use it.
1588 (mail-completion-expand): New function.
1589 (mail-get-names): Use it.
1590 (mail-directory, mail-directory-process, mail-directory-stream):
1591 Don't use `pattern' for lexically bound arg.
1593 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1595 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
1596 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
1597 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
1599 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
1600 (byte-save-window-excursion, byte-temp-output-buffer-setup)
1601 (byte-interactive-p): Define them again, for use when inlining
1604 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1606 * loadup.el: Use `string-to-number', not `string-to-int'.
1608 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1610 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
1611 gud-gdb-complete-command.
1612 (gud-gdb-completions): New function, from gud-gdb-complete-command.
1613 (gud-gdb-completion-at-point): New function.
1614 (gud-gdb-completions): Remove.
1616 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1618 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
1619 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
1620 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
1621 whether `executable-find' is bound.
1623 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1625 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1627 * minibuffer.el (completion-in-region-mode-predicate)
1628 (completion-in-region-mode--predicate): New vars.
1629 (completion-in-region, completion-in-region--postch)
1630 (completion-in-region-mode): Use them.
1631 (completion--capf-wrapper): Also return the hook function.
1632 (completion-at-point, completion-help-at-point):
1633 Adjust and provide a predicate.
1635 Preserve arg names for advice of subr and lexical functions (bug#8457).
1636 * help-fns.el (help-function-arglist): Consolidate the subr and
1637 new-byte-code cases. Add argument `preserve-names' to extract names
1638 from the docstring when needed.
1639 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
1640 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
1641 (ad-arglist): Use help-function-arglist's new arg.
1642 (ad-definition-type): Use cond.
1644 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1646 * autorevert.el (auto-revert-handler):
1647 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
1648 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
1651 * image-mode.el (image-transform-set-scale):
1652 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1654 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1656 * net/network-stream.el (network-stream-open-starttls): Only do
1657 opportunistic STARTTLS upgrades if we have built-in gnutls support.
1658 Upgrades via gnutls-cli are too slow to be done opportunistically.
1660 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1662 * dframe.el (dframe-current-frame): Remove spurious quote.
1664 2011-04-12 Glenn Morris <rgm@gnu.org>
1666 * calendar/cal-tex.el (cal-tex-end-document):
1667 Try to automatically use latin1 input if needed.
1669 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1670 Don't try to cons a mark onto an empty element.
1672 2011-04-11 Leo Liu <sdl.web@gmail.com>
1674 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1676 (ido-kill-buffer-at-head): Support killing virtual buffers.
1678 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1680 * minibuffer.el (completion-show-inline-help): New var.
1681 (completion--do-completion, minibuffer-complete)
1682 (minibuffer-force-complete, minibuffer-complete-word):
1683 Inhibit minibuffer messages if completion-show-inline-help is nil.
1685 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1686 to avoid interference from inline help (Bug#5849).
1688 2011-04-10 Leo Liu <sdl.web@gmail.com>
1690 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1693 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1695 * image-mode.el (image-toggle-display-image): Signal an error if
1697 (image-transform-mode, image-transform-resize)
1698 (image-transform-set-rotation): Doc fix.
1699 (image-transform-set-resize): Delete.
1700 (image-transform-set-scale, image-transform-fit-to-height)
1701 (image-transform-fit-to-width): Handle image-toggle-display-image
1702 and image-transform-resize directly.
1704 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1706 * doc-view.el (doc-view-fit-width-to-window)
1707 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
1708 New functions for fitting the shown image to the Emacs window size.
1709 (doc-view-mode-map): Add bindings for the new functions.
1711 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1713 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1714 Fix typo in docstring.
1716 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1718 * files.el (file-size-human-readable): Produce one digit after
1719 decimal, like "ls -lh" does.
1721 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1722 the file size representation.
1724 * simple.el (list-processes): If async subprocesses are not
1725 available, error out with a clear error message.
1727 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1729 * help.el (help-form-show): New function, to be called from C.
1730 Put help-form output in a buffer named differently than *Help*.
1732 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1734 * files.el (file-size-human-readable): New function.
1736 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1737 computing the representation inline. Don't require `cl'.
1739 2011-04-08 Glenn Morris <rgm@gnu.org>
1741 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1743 * net/browse-url.el (browse-url-firefox):
1744 Test system-type, not system-configuration.
1746 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
1747 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
1748 Use log-edit-empty-buffer-p. (Bug#7598)
1750 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1751 (rlogin-mode-map): Initialize in the defvar.
1752 (rlogin): Use ignore-errors.
1754 * replace.el (occur-mode-map): Some fixes for menu items.
1756 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1758 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1760 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1762 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1763 issuing unused warnings.
1765 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1768 * simple.el: Lisp reimplement of list-processes. Based on an
1769 earlier reimplementation by Leo Liu, but using tabulated-list.el.
1770 (process-menu-mode): New major mode.
1771 (list-processes--refresh, list-processes):
1772 (process-menu-visit-buffer): New functions.
1774 * files.el (save-buffers-kill-emacs): Don't assume any return
1775 value of list-processes, which is undocumented anyway.
1777 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1779 * emacs-lisp/tabulated-list.el: New file.
1781 * emacs-lisp/package.el: Use Tabulated List mode.
1782 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
1783 (package-menu-mode): Derive from tabulated-list-mode. Set up the
1784 table format using Tabulated List mode variables.
1785 (package--push): New macro, replacing package-list-maybe-add.
1786 (package-menu--generate): Use package--push. Renamed from
1787 package--generate-package-list.
1788 (package-menu-refresh, list-packages): Use it.
1789 (package-menu--print-info): Rename from package-print-package.
1790 Return insertion data instead of inserting it directly.
1791 (package-menu-describe-package, package-menu-execute):
1792 Use tabulated-list-get-id.
1793 (package-menu-mark-delete, package-menu-mark-install)
1794 (package-menu-mark-unmark, package-menu-backup-unmark)
1795 (package-menu-mark-obsolete-for-deletion):
1796 Use tabulated-list-put-tag.
1797 (package--list-packages, package-menu-revert)
1798 (package-menu-get-package, package-menu-get-version)
1799 (package-menu-sort-by-column): Functions deleted.
1800 (package-menu-package-list, package-menu-sort-key): Vars deleted.
1801 (package-menu--status-predicate, package-menu--version-predicate)
1802 (package-menu--name-predicate)
1803 (package-menu--description-predicate): Handle arguments in the
1804 Tabulated List format.
1805 (package-list-packages-no-fetch): Call list-packages.
1807 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1809 * files.el (after-find-file-from-revert-buffer): Remove variable.
1810 (after-find-file): Don't bind it.
1811 (revert-buffer-in-progress-p): New variable.
1812 (revert-buffer): Bind it.
1813 Pass nil for `after-find-file-from-revert-buffer'.
1815 * saveplace.el (save-place-find-file-hook): Use new variable
1816 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1818 2011-04-06 Glenn Morris <rgm@gnu.org>
1820 * Makefile.in (AUTOGEN_VCS): New variable.
1821 (autoloads): Use $AUTOGEN_VCS.
1823 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
1824 * calendar/calendar.el (calendar-mode-map):
1825 Check for toolkit scroll bars. (Bug#8305)
1827 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1829 * minibuffer.el (completion-in-region--postch)
1830 (completion-in-region-mode): Remove unnecessary messages.
1832 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1834 * font-lock.el (font-lock-refresh-defaults):
1835 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
1836 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
1838 * info.el (Info-directory-list, Info-read-node-name-2)
1839 (Info-split-parameter-string): Doc fixes.
1840 (Info-virtual-nodes): Reflow docstring.
1841 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
1842 (Info-apropos-toc-nodes, info-finder, Info-get-token)
1843 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
1844 Fix typos in docstrings.
1845 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
1846 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
1847 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
1848 (Info-restore-desktop-buffer): Mark unused parameters.
1849 (Info-directory-find-file, Info-directory-find-node)
1850 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
1851 (Info-virtual-index-find-node, Info-apropos-find-file)
1852 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
1853 Mark unused parameters; fix typos in docstrings.
1854 (Info-virtual-index): Remove unused local variable `nodename'.
1856 2011-04-05 Deniz Dogan <deniz@dogan.se>
1858 * net/rcirc.el: Update my e-mail address.
1859 (rcirc-mode-map): Remove M-o binding.
1861 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1863 * startup.el (command-line): Save the cursor's theme-face
1864 directly, instead of using face-override-spec.
1866 * custom.el (load-theme): Minor optimization in assigning faces.
1868 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1870 * help-fns.el (describe-variable): Complete all variables having
1871 documentation, including keywords.
1872 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
1874 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1876 Convert to lexical-binding.
1878 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
1879 (bs--get-marked-string, bs--get-modified-string)
1880 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
1881 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
1882 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
1884 * ehelp.el (electric-help-execute-extended)
1885 (electric-help-ctrl-x-prefix):
1886 * hexl.el (hexl-revert-buffer-function):
1887 * linum.el (linum-after-change, linum-after-scroll):
1888 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
1890 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1892 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1899 * epg.el: Use lexical binding.
1901 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1903 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1905 * textmodes/flyspell.el (flyspell-word): Recognize default
1906 dictionary case for flyspell-mark-duplications-exceptions.
1907 Use regexp matching for languages.
1908 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
1909 default dictionary (Bug#7926).
1911 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1913 * emacs-lisp/package.el (package--with-work-buffer):
1914 Recognize https URLs.
1916 * net/network-stream.el: Move from gnus/proto-stream.el.
1917 Change prefix to network-stream throughout.
1918 (open-protocol-stream): Merge into open-network-stream, leaving
1919 open-protocol-stream as an alias. Handle nil BUFFER args.
1921 * subr.el (open-network-stream): Move to net/network-stream.el.
1923 2011-04-02 Glenn Morris <rgm@gnu.org>
1925 * find-dired.el (find-exec-terminator): New option.
1926 (find-ls-option): Test for -ls support.
1927 (find-ls-subdir-switches): Test for -b in find-ls-option.
1928 (find-dired, find-grep-dired): Doc fixes.
1929 (find-dired): Use find-exec-terminator.
1931 * find-dired.el (find-ls-option, find-ls-subdir-switches)
1932 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
1933 (find-name-arg): Remove purecopy.
1935 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
1936 (grep-compute-defaults): Check for `-exec COMMAND +' support.
1937 Set grep-find-use-xargs, grep-find-command, and grep-find-template
1938 accordingly. Don't add the null-device if not needed.
1940 * files.el (save-some-buffers): Doc fix.
1942 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1944 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1946 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1948 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1949 Use `dolist' rather than `mapcar'.
1951 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1953 Add lexical binding.
1955 * subr.el (apply-partially): Use new closures rather than CL.
1956 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
1957 (dolist, dotimes): Use slightly different expansion for lexical code.
1958 (functionp): Move to C.
1959 (letrec): New macro.
1960 (with-wrapper-hook): Use it and apply-partially instead of CL.
1961 (eval-after-load): Preserve lexical-binding.
1962 (save-window-excursion, with-output-to-temp-buffer): Turn them
1965 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1967 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1969 (help-add-fundoc-usage): Don't add `Not documented'.
1970 (help-function-arglist): Handle closures, subroutines, and new
1971 byte-code-functions.
1972 (help-make-usage): Remove leading underscores.
1973 (describe-function-1): Handle closures.
1974 (describe-variable): Use special-variable-p for completion.
1976 * files.el (lexical-binding): Declare safe.
1978 * emacs-lisp/pcase.el: Don't use destructuring-bind.
1979 (pcase--memoize): Rename from pcase-memoize. Change weakness.
1980 (pcase): Add `let' pattern.
1981 Change memoization so it actually works.
1982 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
1983 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
1986 * emacs-lisp/macroexp.el: Use lexical binding.
1987 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
1988 Don't convert ' to #' without checking that it's indeed quoting
1991 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1992 Use eval-sexp-add-defvars.
1993 (eval-sexp-add-defvars): New fun.
1995 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1997 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1999 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
2000 than the internal `byte-compile-lambda'.
2001 (defmethod): Don't hide code under quotes.
2002 (eieio-defmethod): New `code' argument.
2004 * emacs-lisp/eieio-comp.el: Remove.
2006 * emacs-lisp/edebug.el (edebug-eval-defun)
2007 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2008 (edebug-toggle): Avoid `eval'.
2010 * emacs-lisp/disass.el (disassemble-internal): Handle new
2012 (disassemble-1): Handle new byte codes.
2014 * emacs-lisp/cl.el (pushnew): Silence warning.
2016 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
2017 (cl-byte-compile-throw): Remove.
2018 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
2020 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2023 * emacs-lisp/cconv.el: New file.
2025 * emacs-lisp/bytecomp.el: Use lexical binding instead of
2026 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
2027 (byte-compile-initial-macro-environment):
2028 Handle declare-function here.
2029 (byte-compile--lexical-environment): New var.
2030 (byte-stack-ref, byte-stack-set, byte-discardN)
2031 (byte-discardN-preserve-tos): New lap codes.
2032 (byte-interactive-p): Don't use any more.
2033 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
2035 (byte-compile-lapcode): Use them and handle new lap codes.
2036 (byte-compile-obsolete): Remove.
2037 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
2038 (byte-compile-arglist-warn): Check late def of inlinable funs.
2039 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
2040 since they should have been expanded by now.
2041 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
2042 (byte-compile-from-buffer): Remove unused second arg.
2043 (byte-compile-preprocess): New function.
2044 (byte-compile-toplevel-file-form): New function to distinguish
2045 file-form calls from outside from file-form calls from hunk-handlers.
2046 (byte-compile-file-form): Simplify.
2047 (byte-compile-file-form-defsubst): Remove.
2048 (byte-compile-file-form-defmumble): Simplify now that
2049 byte-compile-lambda always returns a byte-code-function.
2050 (byte-compile): Preprocess.
2051 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
2052 Remove, not used any more.
2053 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
2054 (byte-compile-make-args-desc): New funs.
2055 (byte-compile-lambda): Handle lexical functions. Always return
2056 a byte-code-function.
2057 (byte-compile-reserved-constants): New var, to make up room for
2058 closed-over variables.
2059 (byte-compile-constants-vector): Obey it.
2060 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
2061 (byte-compile-macroexpand-declare-function): New function.
2062 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
2063 byte-code-functions.
2064 (byte-compile-form): Check obsolescence here.
2065 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
2066 (byte-compile-variable-ref): Remove.
2067 (byte-compile-dynamic-variable-op): New fun.
2068 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
2069 (byte-compile-variable-set): New funs.
2070 (byte-compile-discard): Add 2 args.
2071 (byte-compile-stack-ref, byte-compile-stack-set)
2072 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
2073 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
2074 macroexpand-all instead.
2075 (byte-compile-quote-form): Remove.
2076 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
2077 (byte-compile-bind, byte-compile-unbind): New funs.
2078 (byte-compile-let): Handle let* and lexical binding.
2079 (byte-compile-let*): Remove.
2080 (byte-compile-catch, byte-compile-unwind-protect)
2081 (byte-compile-track-mouse, byte-compile-condition-case):
2082 Handle a new :fun-body form, used for lexical scoping.
2083 (byte-compile-save-window-excursion)
2084 (byte-compile-with-output-to-temp-buffer): Remove.
2085 (byte-compile-defun): Simplify.
2086 (byte-compile-stack-adjustment): New fun.
2087 (byte-compile-out): Use it.
2088 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
2090 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2093 * emacs-lisp/byte-opt.el: Use lexical binding.
2094 (byte-inline-lapcode): Remove (to bytecomp).
2095 (byte-compile-inline-expand): Pay attention to inlining to/from
2096 lexically bound code.
2097 (byte-compile-unfold-lambda): Don't handle byte-code-functions
2099 (byte-optimize-form-code-walker): Don't handle save-window-excursion
2100 any more and don't call compiler-macros.
2101 (byte-compile-splice-in-already-compiled-code): Remove.
2102 (byte-code): Don't inline any more.
2103 (disassemble-offset): Receive `bytes' as argument rather than via
2105 (byte-compile-tag-number): Declare before first use.
2106 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
2107 `return' even if make-spliceable.
2108 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
2109 obsolete interactive-p.
2110 (byte-optimize-lapcode): Optimize new lap-codes.
2111 Don't trip up on new form of `byte-constant' lap code.
2113 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2115 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2117 * custom.el (custom-initialize-default, custom-declare-variable):
2120 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2122 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
2123 (COMPILE_FIRST): Add macroexp and cconv.
2124 * makefile.w32-in: Mirror changes in Makefile.in.
2130 * vc/smerge-mode.el:
2131 * textmodes/bibtex-style.el:
2140 * emacs-lisp/smie.el:
2143 * abbrev.el: Use lexical binding.
2145 2011-04-01 Eli Zaretskii <eliz@gnu.org>
2147 * info.el (info-display-manual): New function.
2149 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2151 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2153 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2155 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2156 an entry for that server in rcirc-authinfo. (Bug#8385)
2158 2011-03-31 Glenn Morris <rgm@gnu.org>
2160 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2162 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2164 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2166 * progmodes/python.el (python-default-interpreter)
2167 (python-python-command-args, python-jython-command-args)
2168 (python-which-shell, python-which-args, python-which-bufname)
2169 (python-file-queue, python-comint-output-filter-function)
2170 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
2171 variables and functions.
2173 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2175 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
2176 (completion-in-region-mode): New minor mode.
2177 (completion-in-region): Use it.
2178 (completion-in-region--data, completion-in-region-mode-map): New vars.
2179 (completion-in-region--postch): New function.
2180 (completion--capf-misbehave-funs, completion--capf-safe-funs):
2182 (completion--capf-wrapper): New function.
2183 (completion-at-point): Use it to track well-behavedness of
2185 (completion-help-at-point): New command.
2187 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2189 * vc/add-log.el (add-change-log-entry): Don't use whitespace
2190 syntax class to search for whitespace on a single line
2191 (Message-ID: <4D938140.4030905@redhat.com>).
2193 2011-03-30 Leo Liu <sdl.web@gmail.com>
2195 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2197 (edit-abbrevs-map): Bind them here.
2198 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2200 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2202 * allout.el (allout-hide-by-annotation, allout-flag-region):
2203 Reduce possibility of overlay leakage by making them volatile.
2205 * allout-widgets.el (allout-widgets-tally): Define as nil so the
2206 hash is not shared between buffers. Mode initialization is
2207 responsible for giving it a useful starting value.
2208 (allout-item-span): Reduce possibility of overlay leakage by
2209 making them volatile.
2210 (allout-widgets-count-buttons-in-region): Add diagnostic function
2211 for tracking down button overlay leaks.
2213 2011-03-29 Leo Liu <sdl.web@gmail.com>
2215 * ido.el (ido-read-internal): Use the default history var
2216 minibuffer-history if no HISTORY is specified.
2218 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2220 * net/imap.el (imap-shell-open, imap-process-connection-type):
2221 Use imap-process-connection-type for 'shell' streams as well as
2222 Kerberos, SSL, other subprocesses.
2224 2011-03-28 Leo Liu <sdl.web@gmail.com>
2226 * abbrev.el (abbrev-table-empty-p): New function.
2227 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2228 nonempty ones. (Bug#5937)
2230 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2232 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2234 2011-03-27 Leo Liu <sdl.web@gmail.com>
2236 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
2237 for foreground and background colors.
2238 (ansi-color-make-color-map): Adapt.
2240 2011-03-25 Leo Liu <sdl.web@gmail.com>
2242 * midnight.el (midnight-time-float): Remove. Note it calculates
2243 the microsecond component incorrectly and seconds-to-time does the
2245 Remove redundant (require 'timer).
2247 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2248 (ido-completions): Remove unused arguments. (Bug#8329)
2250 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2252 * minibuffer.el (completion--flush-all-sorted-completions):
2253 Remove itself from hook.
2254 (completion-at-point): Let the functions perform the completion
2255 immediately and return nil or t.
2256 * comint.el (comint-dynamic-complete-functions): Now identical to
2257 completion-at-point-functions.
2258 (comint-dynamic-list-input-ring): Remove unused var `index'.
2259 (comint--match-partial-filename, comint--unquote&expand-filename):
2260 New funs, split from comint-match-partial-filename.
2261 (comint-dynamic-complete): Use completion-at-point.
2262 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
2264 2011-03-24 Drew Adams <drew.adams@oracle.com>
2266 * thingatpt.el: Support `defun'.
2268 2011-03-23 Leo Liu <sdl.web@gmail.com>
2270 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2272 * help-mode.el (help-mode-finish): Tweak regexp.
2274 2011-03-23 Glenn Morris <rgm@gnu.org>
2276 * eshell/esh-opt.el (eshell-eval-using-options):
2277 Do not bind unused local variable `eshell-option-stub'.
2279 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2281 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2283 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
2284 keymap variable in `with-no-warnings' to avoid a warning when the
2285 keymap has been already `defconst'ed.
2287 2011-03-22 Leo Liu <sdl.web@gmail.com>
2289 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
2290 encode all chars in abbrevs; otherwise use emacs-mule or
2291 utf-8-emacs. (Bug#8308)
2293 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2295 * simple.el (backward-delete-char-untabify):
2296 Avoid warning about using `delete-backward-char'.
2298 * image.el (image-type-file-name-regexps): Make it variable.
2299 `imagemagick-register-types' modifies it, and the user may want
2300 to add new extensions for known image types.
2301 (imagemagick-register-types): Throw error if not using ImageMagick.
2303 2011-03-22 Leo Liu <sdl.web@gmail.com>
2305 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
2306 located before rcirc-prompt-end-marker.
2307 (rcirc-complete): Error if point is not after rcirc prompt.
2308 Handle the case when table is nil.
2309 (rcirc-user-authenticated): Define to fix compiler warning.
2311 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2313 * custom.el (custom--inhibit-theme-enable): Make it affect only
2314 custom-theme-set-variables and custom-theme-set-faces.
2315 (provide-theme): Ignore custom--inhibit-theme-enable.
2316 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
2317 (custom-enabling-themes): Delete variable.
2318 (enable-theme): Accept only loaded themes as arguments.
2319 Ignore the special custom-enabled-themes variable.
2320 (custom-enabled-themes): Forbid themes from setting this.
2321 Eliminate use of custom-enabling-themes.
2322 (custom-push-theme): Quote "changed" custom var entry.
2324 2011-03-21 Leo Liu <sdl.web@gmail.com>
2326 * ido.el (ido-read-internal): Add ido-selected to history instead
2329 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2331 * subr.el (deferred-action-list, deferred-action-function):
2334 2011-03-21 Leo Liu <sdl.web@gmail.com>
2336 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2337 change on 2011-02-13 (bug#8309).
2339 * minibuffer.el (read-file-name-function): Change default value.
2340 (read-file-name--defaults): Rename from read-file-name-defaults.
2341 (read-file-name-default): Rename from read-file-name.
2342 (read-file-name): Call read-file-name-function.
2344 2011-03-21 Glenn Morris <rgm@gnu.org>
2346 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2349 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2351 * cus-theme.el: Add missing provide statement.
2352 (customize-create-theme): Extract theme value correctly.
2353 (custom-theme-visit-theme): Autoload.
2354 (customize-create-theme): Prompt before inserting default faces.
2356 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2358 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2359 units and musical notes.
2361 2011-03-20 Leo <sdl.web@gmail.com>
2363 * ido.el (ido-read-internal): Use completing-read-default.
2364 (ido-completing-read): Fix compatibility with completing-read.
2366 2011-03-20 Christian Ohler <ohler@gnu.org>
2368 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2369 (ert-delete-all-tests): Use `called-interactively-p' rather than
2371 (ert--make-xrefs-region): Respect END.
2373 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2375 * dired-aux.el (dired-create-directory): Signal an error if the
2376 directory already exists (Bug#8246).
2378 * facemenu.el (list-colors-display): Call list-faces-display
2379 inside with-help-window.
2380 (list-colors-print): Use display property to align the final
2381 column, instead of checking window-width.
2383 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2385 * emerge.el (emerge-metachars): Separate value for ms-dos and
2387 (emerge-protect-metachars): Quote correctly for ms-dos and
2390 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2392 * info.el (info-initialize): Replace all uses of `:' with
2393 path-separator for compatibility with non-Unix systems.
2394 Cache quoting of path-separator. (Bug#8258)
2396 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2398 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
2399 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
2400 (mouse-avoidance-mode): Fix typos in docstrings.
2402 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2404 * startup.el (package-subdirectory-regexp): Move from package.el.
2405 Omit \\` and \\', and let callers add them.
2407 * emacs-lisp/package.el (package-strip-version)
2408 (package-load-all-descriptors): Add \\` and \\' to
2409 package-subdirectory-regexp before using it.
2410 (package-untar-buffer): New arg DIR; ensure that file untars only
2411 into this expected directory. Remove superfluous delete-region.
2412 (package-unpack): Caller changed.
2413 (package-tar-file-info): Use package-subdirectory-regexp.
2415 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2417 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
2418 diff-mode-shared-map (bug#8284).
2419 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
2421 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2423 * calendar/time-date.el (format-seconds): Use assoc instead of
2424 assoc-string, since assoc-string doesn't exist in XEmacs.
2426 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2428 * custom.el (custom-known-themes): Reflow docstring.
2429 (custom-theme-load-path): Fix typo in docstring.
2430 (load-theme): Fix typo in error message.
2431 (custom-available-themes, custom-variable-theme-value):
2432 Use `let', not `let*'.
2434 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2436 * calc/README: Mention inclusion of musical notes.
2438 * calc/calc-units.el (calc-lu-quant): Rename from
2439 `calc-logunits-quantity'.
2440 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
2441 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
2442 (calc-db): Rename from `calc-dblevel'.
2443 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
2444 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
2445 (calc-np): Rename from `calc-nplevel'.
2446 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
2447 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
2448 (calc-lu-plus): Rename from `calc-logunits-add'.
2449 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
2450 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
2451 (calc-lu-minus): Rename from `calc-logunits-sub'.
2452 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
2453 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
2454 (calc-lu-times): Rename from `calc-logunits-mul'.
2455 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
2456 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
2457 (calc-lu-divide): Rename from `calc-logunits-div'.
2458 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
2459 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
2461 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2462 functions being autoloaded.
2464 * calc/calc.el (calc-lu-power-reference): Rename from
2465 `calc-logunits-power-reference'.
2466 (calc-lu-field-reference): Rename from
2467 `calc-logunits-field-reference'.
2469 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2471 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * minibuffer.el (completion-all-sorted-completions):
2474 Use :completion-cycle-penalty text property if present.
2476 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2478 * allout.el (allout-yank-processing): Adjust for new rebulleting
2479 regime so bullet being yanked is used without prompting the user
2482 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2484 * startup.el (command-line): Warn the user that _emacs is deprecated.
2486 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2488 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
2489 (delphi-verbose, delphi-comment-face, delphi-string-face)
2490 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
2491 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
2492 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
2493 (delphi-new-comment-line, delphi-font-lock-defaults)
2494 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
2495 Fix typos in docstrings.
2497 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2499 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2500 Invert the roles of character and string values for INSTEAD, so a
2501 string is used for the more common case of a defaulting prompt.
2503 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2505 * progmodes/ruby-mode.el (ruby-backward-sexp):
2506 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
2507 * play/gamegrid.el (gamegrid-make-face):
2508 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
2509 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
2510 * notifications.el (notifications-notify):
2511 * net/xesam.el (xesam-search-engines):
2512 * net/quickurl.el (quickurl-list-insert):
2513 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
2515 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2517 * startup.el (command-line): Update package subdirectory regexp.
2519 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2521 * allout.el (allout-abbreviate-flattened-numbering)
2522 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2524 * subr.el (read-char-choice): Only show the cursor after the prompt,
2525 not after the answer.
2527 2011-03-15 Kevin Ryde <user42@zip.com.au>
2529 * help-fns.el (variable-at-point): Skip leading quotes, if any
2532 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2534 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2537 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2539 * shell.el (shell): When called interactively, offer to change the
2540 shell file name on remote hosts.
2542 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2544 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
2545 integration for LDAP parameters. The host, base, user or binddn,
2546 and secret tokens can be specified in a netrc file, for instance.
2547 This is optional because an `auth-source' parameter must be
2548 specified in the search attributes.
2550 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2552 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2554 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2556 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2557 into declaration. Remove redundant and harmful binding.
2559 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2561 * files.el (file-ownership-preserved-p): Pass `integer' as an
2562 explicit 2nd argument to `file-attributes'. If the file's owner
2563 is the Administrators group on Windows, and the current user is
2564 Administrator, consider that a match.
2566 * server.el (server-ensure-safe-dir): Consider server directory
2567 safe on MS-Windows if its owner is the Administrators group while
2568 the current Emacs user is Administrator. Use `=' to compare
2569 numerical UIDs, since they could be integers or floats.
2571 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2573 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2575 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2577 Sync with Tramp 2.2.1.
2579 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2581 * net/trampver.el: Update release number.
2583 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2585 * progmodes/compile.el (compilation--previous-directory): Fix up
2586 various nil/dead-marker mismatches (bug#8014).
2587 (compilation-directory-properties, compilation-error-properties):
2588 Don't call it at a position past the one we're about to change.
2590 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2591 Disable obsolescence warnings in the file that declares it.
2593 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2595 * allout-widgets.el (allout-widgets-tally):
2596 Initialize allout-widgets-tally as a hash table rather than nil to
2597 prevent mode-line redisplay warnings. Also, clarify the module
2598 description and fix a comment typo.
2600 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2602 * help-fns.el (describe-variable): Don't complete keywords.
2603 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2605 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2607 * emacs-lisp/package.el (package-version-join): Impose a standard
2608 string representation for pre/alpha/beta version lists.
2609 (package-unpack-single): Standardize the directory name by passing
2610 it through package-version-join.
2611 (package-strip-rcs-id): Accept any version string that does not
2612 signal an error in version-to-list.
2614 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2616 * simple.el (delete-trailing-whitespace): Return nil for the
2617 benefit of `write-file-functions'.
2619 2011-03-10 Glenn Morris <rgm@gnu.org>
2621 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2623 * vc/vc-git.el (vc-git-program): New option.
2624 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
2625 (vc-git--call): Use it.
2627 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2629 * cus-edit.el (Custom-newline): If no button at point, look
2630 for a subgroup button at start-of-line. (Bug#2298)
2632 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2634 2011-03-10 Julien Danjou <julien@danjou.info>
2636 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2637 `cursor-type' is nil.
2639 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2641 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2643 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2645 * allout.el Summary: Change so yank of distinctive-bullet items
2646 preserves the existing header prefix, rebulleting it if necessary,
2647 rather than replacing it. This is necessary for proper operation
2648 of cooperative addons like allout-widgets.
2649 (allout-make-topic-prefix, allout-rebullet-heading): Change
2650 SOLICIT arg to INSTEAD, and interpret additionally a string value
2651 as alternate bullet to be used, instead of prompting the user for
2654 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2657 Do not use `tramp-file-name-port', because this returns also
2658 `tramp-default-port'.
2660 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2662 * net/rcirc.el (rcirc-handler-001): Remove useless
2663 with-rcirc-process-buffer.
2664 (rcirc-check-auth-status): Swap arguments to string-match.
2666 2011-03-09 Glenn Morris <rgm@gnu.org>
2668 * shell.el (shell-mode):
2669 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2671 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2672 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2674 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2676 * emacs-lisp/package.el (package-refresh-contents)
2677 (package-menu-execute): Use condition-case-no-debug.
2679 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2681 * simple.el (shell-command-to-string): Use `process-file'.
2683 * emacs-lisp/package.el (package-tar-file-info): Handle also
2686 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2687 Use `equal' for upload base check.
2689 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2691 * textmodes/texinfo.el (texinfo-environments):
2692 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2694 2011-03-08 Glenn Morris <rgm@gnu.org>
2696 * cus-start.el (cursor-in-non-selected-windows):
2697 Fix :set quoting oddness. (Bug#8192)
2699 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2700 in some setf expressions. (Bug#2159)
2702 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2704 * custom.el (custom-available-themes): Return themes in
2707 See ChangeLog.15 for earlier changes.
2713 Copyright (C) 2011 Free Software Foundation, Inc.
2715 This file is part of GNU Emacs.
2717 GNU Emacs is free software: you can redistribute it and/or modify
2718 it under the terms of the GNU General Public License as published by
2719 the Free Software Foundation, either version 3 of the License, or
2720 (at your option) any later version.
2722 GNU Emacs is distributed in the hope that it will be useful,
2723 but WITHOUT ANY WARRANTY; without even the implied warranty of
2724 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2725 GNU General Public License for more details.
2727 You should have received a copy of the GNU General Public License
2728 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.