Remove lib-src/fakemail.c.
[bpt/emacs.git] / lisp / ChangeLog
1 2011-05-18 Glenn Morris <rgm@gnu.org>
2
3 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4
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.
9 Add :set function.
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.
22
23 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * progmodes/grep.el (grep-mode): Disable default
26 compilation-directory-matcher setting (bug#8684).
27
28 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
29
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.
33
34 2011-05-17 Glenn Morris <rgm@gnu.org>
35
36 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
37
38 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
39 Replace obsolete function.
40
41 * shell.el (pcomplete-parse-arguments-function): Declare.
42
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.
50
51 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
52
53 * progmodes/python.el (python-font-lock-keywords):
54 Add the Python 3.X keyword "nonlocal" (bug#8639).
55
56 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
57
58 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
59
60 2011-05-16 Kevin Ryde <user42@zip.com.au>
61
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.
70
71 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
72
73 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
74 hunk-end tags (Bug#8672).
75
76 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
77 vc-annotate-show-diff-revision-at-line (Bug#8671).
78
79 2011-05-14 Glenn Morris <rgm@gnu.org>
80
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)
85
86 * calendar/appt.el (appt-check): Rename some local variables.
87 Some simplification/reordering.
88
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.
100
101 2011-05-14 Bill Carpenter <bill@carpenter.org>
102
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):
117 Doc fixes.
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.
193
194 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
195
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.
200
201 * net/newst-reader.el (newsticker-feed-face): Changed default
202 family from helvetica to sans.
203
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
208 helvetica to sans.
209 (newsticker--plainview-tool-bar-map): Moved tool-bar icons to
210 etc/images/newsticker.
211
212 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
213 (newsticker--process-auto-mark-filter-match): : Tell user about
214 auto-marking.
215
216 2011-05-13 Didier Verna <didier@xemacs.org>
217
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.
231
232 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
235 bounds for the empty string (bug#8667).
236
237 2011-05-13 Glenn Morris <rgm@gnu.org>
238
239 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
240
241 * mail/sendmail.el (sendmail-program): Try executable-find first.
242 (sendmail-send-it): `sendmail-program' cannot be unbound.
243
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.
247
248 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
249
250 * progmodes/ld-script.el (ld-script-keywords)
251 (ld-script-builtins): Update keywords list.
252
253 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
256
257 * shell.el (shell-completion-vars): New function.
258 (shell-mode):
259 * simple.el (read-shell-command): Use it.
260 (blink-matching-open): No need for " [...]" in minibuffer-message.
261
262 2011-05-12 Glenn Morris <rgm@gnu.org>
263
264 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
265 (appt-check): Simplify.
266
267 2011-05-12 Eli Zaretskii <eliz@gnu.org>
268
269 * smerge-mode.el (smerge-resolve): Use null-device rather than a
270 literal "/dev/null".
271
272 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
273
274 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
275 Fix typo.
276
277 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
278
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).
282
283 2011-05-12 Glenn Morris <rgm@gnu.org>
284
285 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
286 Let byte-compile-initial-macro-environment always take precedence.
287
288 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
289
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.
305
306 2011-05-11 Glenn Morris <rgm@gnu.org>
307
308 * newcomment.el (comment-kill): Prefix "unused" local.
309
310 * term/w32console.el (get-screen-color): Declare.
311
312 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
313 Handle symbol elements of byte-compile-initial-macro-environment.
314
315 2011-05-10 Leo Liu <sdl.web@gmail.com>
316
317 * bookmark.el (bookmark-bmenu-mode-map):
318 Bind bookmark-bmenu-search to `/'.
319
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.
325
326 2011-05-10 Jim Meyering <meyering@redhat.com>
327
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
338
339 2011-05-10 Glenn Morris <rgm@gnu.org>
340 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * files.el (hack-one-local-variable-eval-safep):
343 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
344
345 2011-05-10 Glenn Morris <rgm@gnu.org>
346
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.
352
353 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
354
355 * misc.el: Require tabulated-list.el during compilation.
356
357 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
358
359 * progmodes/compile.el (compilation-start):
360 Run compilation-filter-hook for the async case too.
361 (compilation-filter-hook): Doc fix.
362
363 2011-05-09 Deniz Dogan <deniz@dogan.se>
364
365 * wdired.el: Remove outdated installation comment. Fix usage
366 comment.
367
368 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
369
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.
374
375 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
376
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.
381
382 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
383
384 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
385 if the face has existing theme settings (Bug#8454).
386
387 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
388
389 * progmodes/perl-mode.el (perl-imenu-generic-expression):
390 Only match variables declared via `my' or `our' (Bug#8261).
391
392 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
393 special file names `.' and `..' (Bug#8259).
394
395 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
396
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.
401
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.
406
407 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
408
409 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
410
411 2011-05-07 Eli Zaretskii <eliz@gnu.org>
412
413 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
414 mailclient-send-it even if window-system is nil. (Bug#8595)
415
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)
419
420 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 Make bytecomp.el understand that defmethod defines funs (bug#8631).
423 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
424 New functions.
425 (defgeneric, eieio--defmethod): Use them.
426 (eieio-defgeneric): Remove.
427 (defmethod): Call defgeneric in a way visible to the byte-compiler.
428
429 2011-05-07 Glenn Morris <rgm@gnu.org>
430
431 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
432 Use let rather than let*.
433 (timeclock-find-discrep): Remove unused local.
434
435 * calendar/diary-lib.el (diary-comment-start): Doc fix.
436
437 * calendar/appt.el (appt-time-msg-list): Doc fix.
438
439 2011-05-06 Noah Friedman <friedman@splode.com>
440
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.
444
445 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
446
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).
449
450 2011-05-06 Glenn Morris <rgm@gnu.org>
451
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.
455
456 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
457 New options.
458 (diary-add-to-list): Strip comments from the displayed string.
459 (diary-mode): Set comment-start and comment-end.
460
461 * vc/diff-mode.el (smerge-refine-subst): Declare.
462 (diff-refine-hunk): Don't require smerge-mode when compiling.
463
464 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
465
466 * simple.el (list-processes): Return nil as the docstring says.
467
468 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
469
470 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
471 to "".
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)
475
476 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
477
478 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
479 Fix port computation bug. (Bug#8618)
480
481 2011-05-05 Glenn Morris <rgm@gnu.org>
482
483 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
484
485 * simple.el (shell-dynamic-complete-functions)
486 (comint-dynamic-complete-functions): Declare.
487
488 * net/network-stream.el (gnutls-negotiate):
489 * simple.el (tabulated-list-print): Fix declarations.
490
491 * progmodes/gud.el (syntax-symbol, syntax-point):
492 Remove unnecessary and incorrect declarations.
493
494 * emacs-lisp/check-declare.el (check-declare-scan):
495 Handle byte-compile-initial-macro-environment in bytecomp.el
496
497 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
498
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.
506
507 2011-05-05 Milan Zamazal <pdm@zamazal.org>
508
509 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
510 (glasses-make-readable): Use glasses-separate-capital-groups.
511
512 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
513
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.
517
518 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
519
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
523 buffer-file-name.
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.
528
529 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
530
531 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
532
533 2011-05-04 Glenn Morris <rgm@gnu.org>
534
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.
541
542 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
543 non-numbers for `year' etc pseudo-variables. (Bug#8583)
544
545 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
546
547 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
548 instead of positional arguments. Allow :keylist and :crlfiles
549 arguments.
550 (open-gnutls-stream): Call it.
551
552 * net/network-stream.el (network-stream-open-starttls): Adjust to
553 call `gnutls-negotiate' with :process and :hostname arguments.
554
555 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
556
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
561 icomplete-mode.
562
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.
568
569 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
570
571 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
572
573 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
574
575 * textmodes/ispell.el (ispell-add-per-file-word-list):
576 Use `concat' to create string for insertion.
577
578 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
579
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.
583
584 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
585
586 * textmodes/ispell.el (ispell-add-per-file-word-list):
587 Protect against `nil' value of `comment-start' (Bug#8579).
588
589 2011-05-03 Leo Liu <sdl.web@gmail.com>
590
591 * isearch.el (isearch-yank-pop): New command.
592 (isearch-mode-map): Bind it to `M-y'.
593 (isearch-forward): Mention it.
594
595 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
596
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.
601
602 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
603 error directly rather via storing it into `results'.
604
605 2011-05-02 Leo Liu <sdl.web@gmail.com>
606
607 * vc/diff.el: Fix description.
608
609 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
610
611 * server.el (server-eval-at): New function.
612
613 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
614
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.
618
619 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
620
621 * faces.el (face-spec-set-match-display): Don't match toolkit
622 options on terminal frames.
623
624 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * progmodes/pascal.el: Use lexical binding.
627 (pascal-mode-map): Remove author preferences.
628
629 * pcomplete.el (pcomplete-std-complete): Don't abuse
630 completion-at-point.
631
632 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
633
634 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
635 removing code that has been dead since 1991 or so.
636
637 * startup.el (command-line): When warning about "_emacs", use a
638 delayed warning to allow the user to filter it out.
639
640 2011-04-28 Deniz Dogan <deniz@dogan.se>
641
642 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
643 user has not joined.
644
645 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
646
647 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
648 aren't any completions at point.
649
650 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
651
652 * subr.el (display-delayed-warnings): New function.
653 (delayed-warnings-hook): New variable.
654
655 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
656
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.
660
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.
668
669 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
670
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
677 argument.
678
679 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
680
681 * subr.el (shell-quote-argument): Use alternate escaping strategy
682 when we spot a variable reference in a string.
683
684 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
685
686 * cus-start.el (all): Define customization for debug-on-event.
687
688 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
689
690 * subr.el (shell-quote-argument): Escape correctly under Windows.
691
692 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
695
696 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
697
698 * net/tramp.el (tramp-process-actions): Add POS argument.
699 Delete region between POS and (pos).
700
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.
704
705 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
706 position in `tramp-process-actions' call.
707
708 * net/trampver.el: Update release number.
709
710 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
711
712 * custom.el (defcustom): Obey lexical-binding.
713
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.
727
728 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
729
730 * net/gnutls.el (gnutls-errorp): Declare before first use.
731
732 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
733
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.
740
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.
745
746 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
747
748 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
749 Use correct match group (bug#8438).
750
751 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
752
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):
756 Callers changed.
757 (package-show-package-list): New function, replacing deleted
758 package--list-packages (renamed because it is non-internal).
759
760 * finder.el (finder-list-matches): Use package-show-package-list
761 instead of deleted package--list-packages.
762
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.
766
767 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
768
769 * progmodes/etags.el (next-file): Don't use set-buffer to change
770 buffers (Bug#8478).
771
772 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
773
774 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
775
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).
785
786 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
787
788 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
789
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.
795
796 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
797 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
798
799 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
800
801 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
802
803 * minibuffer.el (completion--do-completion): Avoid the "Next char
804 not unique" prompt if icomplete-mode is enabled (Bug#5849).
805
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.
808
809 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
810 (image-toggle-display): Doc fix.
811
812 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
813
814 * textmodes/page.el (what-page): Use line-number-at-pos to
815 calculate line number (Bug#6825).
816
817 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
818
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'.
822
823 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
824
825 Lexical-binding cleanup.
826
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.
846
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'.
851
852 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
853 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
854
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'.
862 (mode): Declare.
863
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'.
872
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'.
882 Use `ignore-errors'.
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
890 `member-info'.
891 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
892 to `tags-file'.
893
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.
897
898 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
899 (executable-interpret): Mark unused parameter.
900
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'.
906
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'.
919
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'.
929
930 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
931 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
932
933 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
934 variable `header-beg'; use `let'.
935
936 * progmodes/icon.el (indent-icon-exp): Remove unused variables
937 `restart', `last-sexp' and `at-do'.
938
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.
943
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.
949
950 * progmodes/octave-inf.el (inferior-octave-complete):
951 Remove unused variable `proc'.
952 (inferior-octave-output-digest): Mark unused parameter.
953
954 * progmodes/perl-mode.el (perl-calculate-indent):
955 Remove unused variable `err'.
956
957 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
958 (prolog-indent-line): Mark unused parameters.
959 (prolog-indent-line): Remove unused variable `beg'.
960
961 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
962 (reporter-dont-compact-list): Declare.
963
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'.
969
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'.
974
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.
980
981 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
982
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.
989
990 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
991
992 Lexical-binding cleanup.
993
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.
1001
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'.
1006
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'.
1012
1013 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
1014
1015 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1016 Remove unused variable `result'; use `let'.
1017
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'.
1022
1023 * play/handwrite.el (ps-lpr-switches): Declare.
1024 (handwrite): Remove unused variables `pmin' and `lastp'.
1025
1026 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
1027
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'.
1032
1033 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
1034 (mpuz-try-proposal): Remove unused variable `game'.
1035
1036 * play/zone.el (life-patterns): Declare.
1037
1038 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
1039
1040 * vc/vc.el (ediff-vc-internal): Declare function.
1041
1042 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1043
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.
1069
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.
1079
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.
1084
1085 * progmodes/flymake.el (flymake-start-syntax-check-process):
1086 Obey `dir'. Simplify.
1087
1088 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
1089 we're in VC after all.
1090
1091 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
1092
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.
1096
1097 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1098
1099 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
1100 add sanity check.
1101
1102 * obsolete/erc-hecomplete.el: Make obsolete.
1103 * obsolete/: Standardize obsolescence info in the header.
1104
1105 2011-04-20 Glenn Morris <rgm@gnu.org>
1106
1107 * calendar/solar.el (solar-horizontal-coordinates):
1108 Use the longitude argument rather than `calendar-longitude'.
1109 (solar-date-next-longitude): Remove unused locals.
1110
1111 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
1112
1113 * whitespace.el: New version 13.2.1.
1114
1115 2011-04-20 felix <EmacsWiki> (tiny change)
1116
1117 * whitespace.el (global-whitespace-mode): keep highlight when
1118 switching between major modes on a file.
1119
1120 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1121
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.
1125
1126 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
1127
1128 Lexical-binding cleanup.
1129
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)
1152 (encode-char):
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.
1182
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'.
1186
1187 * apropos.el (apropos-score-doc): Remove unused variable `i'.
1188
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'.
1192
1193 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
1194 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
1195
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.
1200
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'.
1205
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*'.
1216
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.
1232
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.
1238
1239 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
1240
1241 * delim-col.el (delimit-columns-max): Move defvar before first use.
1242
1243 * descr-text.el (describe-char-categories): Don't quote `lambda'.
1244 (describe-char): Don't quote `lambda'. Mark unused parameter.
1245
1246 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
1247 (auto-insert): Declare.
1248 (desktop-restore-file-buffer): Rename desktop-* parameters;
1249 mark unused ones.
1250 (desktop-create-buffer): Rename desktop-* parameters and bind them.
1251 (desktop-buffer): Rename desktop-* parameters.
1252
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.
1257
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'.
1268
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.
1276
1277 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
1278
1279 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
1280
1281 * echistory.el (electric-history-in-progress, Helper-return-blurb):
1282 Declare.
1283
1284 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
1285
1286 * electric.el (Electric-command-loop): Rename parameter
1287 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
1288
1289 * expand.el (expand-in-literal): Remove unused variable `here'.
1290
1291 * facemenu.el (facemenu-add-new-color):
1292 Remove unused variable `docstring'.
1293
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'.
1298
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.
1307
1308 * files-x.el (auto-insert): Declare.
1309 (modify-file-local-variable-prop-line): Remove unused variable `val'.
1310
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.
1314
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'.
1322
1323 * forms.el (read-file-filter): Declare.
1324 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
1325
1326 * frame.el (frame-creation-function-alist): Mark unused parameter.
1327 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
1328
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'.
1333
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'.
1338
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'.
1344
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.
1349
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'.
1355
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'.
1362
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.
1373
1374 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
1375
1376 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
1377
1378 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
1379
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.
1384
1385 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
1386
1387 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
1388
1389 * makesum.el (double-column): Remove unused variable `cnt'.
1390
1391 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
1392 (ido-ignore-item-temp-list): Declare.
1393
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
1398 `mouse-col-delta'.
1399
1400 * mouse-sel.el (mouse-extend-internal):
1401 Remove unused variable `orig-window-frame'.
1402
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.
1407
1408 * proced.el (proced-revert): Mark unused parameter.
1409 (proced-send-signal): Remove unused variable `err'.
1410
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.
1415
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',
1422 and simplify.
1423 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
1424 COUNT and bind `replace-count'.
1425 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
1426 to COUNT.
1427
1428 * savehist.el (print-readably, print-string-length): Declare.
1429
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.
1437
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'.
1441
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'.
1452
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.
1462
1463 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
1464
1465 * talk.el (talk): Remove unused variable `display'.
1466
1467 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
1468 (tar-write-region-annotate): Mark unused parameter.
1469
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
1473 warning by another.
1474
1475 * time-stamp.el (time-stamp-string-preprocess):
1476 Remove unused variable `require-padding'.
1477
1478 * tree-widget.el (widget-glyph-enable): Declare.
1479 (tree-widget-action): Mark unused parameter.
1480
1481 * w32-fns.el (x-get-selection): Mark unused parameter.
1482 (autoload-make-program, generated-autoload-file): Declare.
1483
1484 * wdired.el (wdired-revert): Mark unused parameters.
1485 (wdired-xcase-word): Remove unused variable `err'.
1486
1487 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
1488 (whitespace-help-scroll): Remove unused variable `data-help'.
1489
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'.
1512
1513 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
1514 variable `dir'. Doc fix.
1515 (windmove-find-other-window): Don't pass it.
1516
1517 * window.el (count-windows): Mark unused parameter.
1518 (bw-adjust-window): Remove unused variable `err'.
1519
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.
1526
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'.
1531
1532 * xml.el (xml-parse-tag, xml-parse-attlist):
1533 Remove unused variable `pos'.
1534
1535 2011-04-19 Glenn Morris <rgm@gnu.org>
1536
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.
1545
1546 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
1547 optional argument `style'.
1548
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.
1557
1558 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
1559
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.
1563
1564 2011-04-18 Sam Steingold <sds@gnu.org>
1565
1566 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
1567 to acknowledgments.
1568
1569 2011-04-17 Glenn Morris <rgm@gnu.org>
1570
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.
1574
1575 2011-04-16 Glenn Morris <rgm@gnu.org>
1576
1577 * progmodes/f90.el: Use lexical-binding.
1578 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
1579
1580 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1581
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.
1592
1593 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
1594
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.
1598
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
1602 old code.
1603
1604 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
1605
1606 * loadup.el: Use `string-to-number', not `string-to-int'.
1607
1608 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1609
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.
1615
1616 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
1617
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.
1622
1623 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
1624
1625 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1626
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.
1634
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.
1643
1644 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
1645
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.
1649 Don't quote lambda.
1650
1651 * image-mode.el (image-transform-set-scale):
1652 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
1653
1654 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1655
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.
1659
1660 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
1661
1662 * dframe.el (dframe-current-frame): Remove spurious quote.
1663
1664 2011-04-12 Glenn Morris <rgm@gnu.org>
1665
1666 * calendar/cal-tex.el (cal-tex-end-document):
1667 Try to automatically use latin1 input if needed.
1668
1669 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
1670 Don't try to cons a mark onto an empty element.
1671
1672 2011-04-11 Leo Liu <sdl.web@gmail.com>
1673
1674 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
1675 buffers.
1676 (ido-kill-buffer-at-head): Support killing virtual buffers.
1677
1678 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
1679
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.
1684
1685 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
1686 to avoid interference from inline help (Bug#5849).
1687
1688 2011-04-10 Leo Liu <sdl.web@gmail.com>
1689
1690 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
1691 Fix typo.
1692
1693 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
1694
1695 * image-mode.el (image-toggle-display-image): Signal an error if
1696 not in Image mode.
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.
1703
1704 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
1705
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.
1710
1711 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
1712
1713 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
1714 Fix typo in docstring.
1715
1716 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1717
1718 * files.el (file-size-human-readable): Produce one digit after
1719 decimal, like "ls -lh" does.
1720
1721 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
1722 the file size representation.
1723
1724 * simple.el (list-processes): If async subprocesses are not
1725 available, error out with a clear error message.
1726
1727 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
1728
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*.
1731
1732 2011-04-08 Eli Zaretskii <eliz@gnu.org>
1733
1734 * files.el (file-size-human-readable): New function.
1735
1736 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
1737 computing the representation inline. Don't require `cl'.
1738
1739 2011-04-08 Glenn Morris <rgm@gnu.org>
1740
1741 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
1742
1743 * net/browse-url.el (browse-url-firefox):
1744 Test system-type, not system-configuration.
1745
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)
1749
1750 * net/rlogin.el (rlogin-process-connection-type): Simplify.
1751 (rlogin-mode-map): Initialize in the defvar.
1752 (rlogin): Use ignore-errors.
1753
1754 * replace.el (occur-mode-map): Some fixes for menu items.
1755
1756 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1757
1758 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
1759
1760 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1761
1762 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
1763 issuing unused warnings.
1764
1765 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
1766 macro directly.
1767
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.
1773
1774 * files.el (save-buffers-kill-emacs): Don't assume any return
1775 value of list-processes, which is undocumented anyway.
1776
1777 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
1778
1779 * emacs-lisp/tabulated-list.el: New file.
1780
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.
1806
1807 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
1808
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'.
1814
1815 * saveplace.el (save-place-find-file-hook): Use new variable
1816 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
1817
1818 2011-04-06 Glenn Morris <rgm@gnu.org>
1819
1820 * Makefile.in (AUTOGEN_VCS): New variable.
1821 (autoloads): Use $AUTOGEN_VCS.
1822
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)
1826
1827 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1828
1829 * minibuffer.el (completion-in-region--postch)
1830 (completion-in-region-mode): Remove unnecessary messages.
1831
1832 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
1833
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).
1837
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'.
1855
1856 2011-04-05 Deniz Dogan <deniz@dogan.se>
1857
1858 * net/rcirc.el: Update my e-mail address.
1859 (rcirc-mode-map): Remove M-o binding.
1860
1861 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
1862
1863 * startup.el (command-line): Save the cursor's theme-face
1864 directly, instead of using face-override-spec.
1865
1866 * custom.el (load-theme): Minor optimization in assigning faces.
1867
1868 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1869
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
1873
1874 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
1875
1876 Convert to lexical-binding.
1877
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.
1883
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.
1889
1890 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
1891
1892 2011-04-04 Daiki Ueno <ueno@unixuser.org>
1893
1894 * epa-dired.el:
1895 * epa-mail.el:
1896 * epa-hook.el:
1897 * epa-file.el:
1898 * epa.el:
1899 * epg.el: Use lexical binding.
1900
1901 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
1902
1903 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
1904
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).
1910
1911 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
1912
1913 * emacs-lisp/package.el (package--with-work-buffer):
1914 Recognize https URLs.
1915
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.
1920
1921 * subr.el (open-network-stream): Move to net/network-stream.el.
1922
1923 2011-04-02 Glenn Morris <rgm@gnu.org>
1924
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.
1930
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.
1934
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.
1939
1940 * files.el (save-some-buffers): Doc fix.
1941
1942 2011-04-02 Eli Zaretskii <eliz@gnu.org>
1943
1944 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
1945
1946 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
1947
1948 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
1949 Use `dolist' rather than `mapcar'.
1950
1951 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
1952
1953 Add lexical binding.
1954
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
1963 into macros.
1964
1965 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
1966
1967 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
1968 than the arglist.
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.
1975
1976 * files.el (lexical-binding): Declare safe.
1977
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.
1984 <let>: New case.
1985
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
1989 a lambda.
1990
1991 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
1992 Use eval-sexp-add-defvars.
1993 (eval-sexp-add-defvars): New fun.
1994
1995 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
1996
1997 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
1998 Don't autoload.
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.
2003
2004 * emacs-lisp/eieio-comp.el: Remove.
2005
2006 * emacs-lisp/edebug.el (edebug-eval-defun)
2007 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
2008 (edebug-toggle): Avoid `eval'.
2009
2010 * emacs-lisp/disass.el (disassemble-internal): Handle new
2011 `closure' objects.
2012 (disassemble-1): Handle new byte codes.
2013
2014 * emacs-lisp/cl.el (pushnew): Silence warning.
2015
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.
2019
2020 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
2021 closures.
2022
2023 * emacs-lisp/cconv.el: New file.
2024
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):
2034 New macros.
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.
2089
2090 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
2091 handler any more.
2092
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
2098 any more.
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
2104 dynamic scoping.
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.
2112
2113 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
2114
2115 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
2116
2117 * custom.el (custom-initialize-default, custom-declare-variable):
2118 Use `defvar'.
2119
2120 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
2121 New variables.
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.
2125
2126 * vc/cvs-status.el:
2127 * vc/diff-mode.el:
2128 * vc/log-edit.el:
2129 * vc/log-view.el:
2130 * vc/smerge-mode.el:
2131 * textmodes/bibtex-style.el:
2132 * textmodes/css.el:
2133 * startup.el:
2134 * uniquify.el:
2135 * minibuffer.el:
2136 * newcomment.el:
2137 * reveal.el:
2138 * server.el:
2139 * mpc.el:
2140 * emacs-lisp/smie.el:
2141 * doc-view.el:
2142 * dired.el:
2143 * abbrev.el: Use lexical binding.
2144
2145 2011-04-01 Eli Zaretskii <eliz@gnu.org>
2146
2147 * info.el (info-display-manual): New function.
2148
2149 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
2152
2153 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
2154
2155 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2156 an entry for that server in rcirc-authinfo. (Bug#8385)
2157
2158 2011-03-31 Glenn Morris <rgm@gnu.org>
2159
2160 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
2161
2162 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
2163
2164 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
2165
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.
2172
2173 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2174
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):
2181 New vars.
2182 (completion--capf-wrapper): New function.
2183 (completion-at-point): Use it to track well-behavedness of
2184 hook functions.
2185 (completion-help-at-point): New command.
2186
2187 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
2188
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>).
2192
2193 2011-03-30 Leo Liu <sdl.web@gmail.com>
2194
2195 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
2196 New commands.
2197 (edit-abbrevs-map): Bind them here.
2198 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
2199
2200 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
2201
2202 * allout.el (allout-hide-by-annotation, allout-flag-region):
2203 Reduce possibility of overlay leakage by making them volatile.
2204
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.
2212
2213 2011-03-29 Leo Liu <sdl.web@gmail.com>
2214
2215 * ido.el (ido-read-internal): Use the default history var
2216 minibuffer-history if no HISTORY is specified.
2217
2218 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
2219
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.
2223
2224 2011-03-28 Leo Liu <sdl.web@gmail.com>
2225
2226 * abbrev.el (abbrev-table-empty-p): New function.
2227 (prepare-abbrev-list-buffer): Place empty abbrev tables after
2228 nonempty ones. (Bug#5937)
2229
2230 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
2231
2232 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
2233
2234 2011-03-27 Leo Liu <sdl.web@gmail.com>
2235
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.
2239
2240 2011-03-25 Leo Liu <sdl.web@gmail.com>
2241
2242 * midnight.el (midnight-time-float): Remove. Note it calculates
2243 the microsecond component incorrectly and seconds-to-time does the
2244 same job.
2245 Remove redundant (require 'timer).
2246
2247 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
2248 (ido-completions): Remove unused arguments. (Bug#8329)
2249
2250 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2251
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.
2263
2264 2011-03-24 Drew Adams <drew.adams@oracle.com>
2265
2266 * thingatpt.el: Support `defun'.
2267
2268 2011-03-23 Leo Liu <sdl.web@gmail.com>
2269
2270 * abbrevlist.el: Move to obsolete/abbrevlist.el.
2271
2272 * help-mode.el (help-mode-finish): Tweak regexp.
2273
2274 2011-03-23 Glenn Morris <rgm@gnu.org>
2275
2276 * eshell/esh-opt.el (eshell-eval-using-options):
2277 Do not bind unused local variable `eshell-option-stub'.
2278
2279 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
2280
2281 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2282
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.
2286
2287 2011-03-22 Leo Liu <sdl.web@gmail.com>
2288
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)
2292
2293 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
2294
2295 * simple.el (backward-delete-char-untabify):
2296 Avoid warning about using `delete-backward-char'.
2297
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.
2302
2303 2011-03-22 Leo Liu <sdl.web@gmail.com>
2304
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.
2310
2311 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
2312
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.
2323
2324 2011-03-21 Leo Liu <sdl.web@gmail.com>
2325
2326 * ido.el (ido-read-internal): Add ido-selected to history instead
2327 of user input.
2328
2329 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2330
2331 * subr.el (deferred-action-list, deferred-action-function):
2332 Mark obsolete.
2333
2334 2011-03-21 Leo Liu <sdl.web@gmail.com>
2335
2336 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
2337 change on 2011-02-13 (bug#8309).
2338
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.
2343
2344 2011-03-21 Glenn Morris <rgm@gnu.org>
2345
2346 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
2347 Doc fixes.
2348
2349 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
2350
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.
2355
2356 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
2357
2358 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
2359 units and musical notes.
2360
2361 2011-03-20 Leo <sdl.web@gmail.com>
2362
2363 * ido.el (ido-read-internal): Use completing-read-default.
2364 (ido-completing-read): Fix compatibility with completing-read.
2365
2366 2011-03-20 Christian Ohler <ohler@gnu.org>
2367
2368 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
2369 (ert-delete-all-tests): Use `called-interactively-p' rather than
2370 `interactive-p'.
2371 (ert--make-xrefs-region): Respect END.
2372
2373 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2374
2375 * dired-aux.el (dired-create-directory): Signal an error if the
2376 directory already exists (Bug#8246).
2377
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.
2382
2383 2011-03-19 Eli Zaretskii <eliz@gnu.org>
2384
2385 * emerge.el (emerge-metachars): Separate value for ms-dos and
2386 windows-nt systems.
2387 (emerge-protect-metachars): Quote correctly for ms-dos and
2388 windows-nt systems.
2389
2390 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
2391
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)
2395
2396 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
2397
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.
2401
2402 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
2403
2404 * startup.el (package-subdirectory-regexp): Move from package.el.
2405 Omit \\` and \\', and let callers add them.
2406
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.
2414
2415 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2416
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.
2420
2421 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2422
2423 * calendar/time-date.el (format-seconds): Use assoc instead of
2424 assoc-string, since assoc-string doesn't exist in XEmacs.
2425
2426 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
2427
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*'.
2433
2434 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
2435
2436 * calc/README: Mention inclusion of musical notes.
2437
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'.
2460
2461 * calc/calc-ext.el (calc-init-extensions): Update the names of the
2462 functions being autoloaded.
2463
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'.
2468
2469 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
2470
2471 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2472
2473 * minibuffer.el (completion-all-sorted-completions):
2474 Use :completion-cycle-penalty text property if present.
2475
2476 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
2477
2478 * allout.el (allout-yank-processing): Adjust for new rebulleting
2479 regime so bullet being yanked is used without prompting the user
2480 for a choice.
2481
2482 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2483
2484 * startup.el (command-line): Warn the user that _emacs is deprecated.
2485
2486 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
2487
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.
2496
2497 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
2498
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.
2502
2503 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2504
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.
2514
2515 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
2516
2517 * startup.el (command-line): Update package subdirectory regexp.
2518
2519 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * allout.el (allout-abbreviate-flattened-numbering)
2522 (allout-mode-deactivate-hook): Fix up obsolescence "date".
2523
2524 * subr.el (read-char-choice): Only show the cursor after the prompt,
2525 not after the answer.
2526
2527 2011-03-15 Kevin Ryde <user42@zip.com.au>
2528
2529 * help-fns.el (variable-at-point): Skip leading quotes, if any
2530 (bug#8253).
2531
2532 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2533
2534 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
2535 warning message.
2536
2537 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
2538
2539 * shell.el (shell): When called interactively, offer to change the
2540 shell file name on remote hosts.
2541
2542 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
2543
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.
2549
2550 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * help.el (describe-mode): Link to the mode's definition (bug#8185).
2553
2554 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2555
2556 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
2557 into declaration. Remove redundant and harmful binding.
2558
2559 2011-03-12 Eli Zaretskii <eliz@gnu.org>
2560
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.
2565
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.
2570
2571 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
2572
2573 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
2574
2575 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
2576
2577 Sync with Tramp 2.2.1.
2578
2579 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
2580
2581 * net/trampver.el: Update release number.
2582
2583 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2584
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.
2589
2590 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
2591 Disable obsolescence warnings in the file that declares it.
2592
2593 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
2594
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.
2599
2600 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * help-fns.el (describe-variable): Don't complete keywords.
2603 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
2604
2605 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
2606
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.
2613
2614 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
2615
2616 * simple.el (delete-trailing-whitespace): Return nil for the
2617 benefit of `write-file-functions'.
2618
2619 2011-03-10 Glenn Morris <rgm@gnu.org>
2620
2621 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
2622
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.
2626
2627 * eshell/esh-util.el (eshell-condition-case): Doc fix.
2628
2629 * cus-edit.el (Custom-newline): If no button at point, look
2630 for a subgroup button at start-of-line. (Bug#2298)
2631
2632 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
2633
2634 2011-03-10 Julien Danjou <julien@danjou.info>
2635
2636 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
2637 `cursor-type' is nil.
2638
2639 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
2640
2641 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
2642
2643 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
2644
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
2652 a bullet character.
2653
2654 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
2655
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'.
2659
2660 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2661
2662 * net/rcirc.el (rcirc-handler-001): Remove useless
2663 with-rcirc-process-buffer.
2664 (rcirc-check-auth-status): Swap arguments to string-match.
2665
2666 2011-03-09 Glenn Morris <rgm@gnu.org>
2667
2668 * shell.el (shell-mode):
2669 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
2670
2671 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
2672 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
2673
2674 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2675
2676 * emacs-lisp/package.el (package-refresh-contents)
2677 (package-menu-execute): Use condition-case-no-debug.
2678
2679 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
2680
2681 * simple.el (shell-command-to-string): Use `process-file'.
2682
2683 * emacs-lisp/package.el (package-tar-file-info): Handle also
2684 remote files.
2685
2686 * emacs-lisp/package-x.el (package-upload-buffer-internal):
2687 Use `equal' for upload base check.
2688
2689 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
2690
2691 * textmodes/texinfo.el (texinfo-environments):
2692 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
2693
2694 2011-03-08 Glenn Morris <rgm@gnu.org>
2695
2696 * cus-start.el (cursor-in-non-selected-windows):
2697 Fix :set quoting oddness. (Bug#8192)
2698
2699 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
2700 in some setf expressions. (Bug#2159)
2701
2702 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
2703
2704 * custom.el (custom-available-themes): Return themes in
2705 alphabetical order.
2706
2707 See ChangeLog.15 for earlier changes.
2708
2709 ;; Local Variables:
2710 ;; coding: utf-8
2711 ;; End:
2712
2713 Copyright (C) 2011 Free Software Foundation, Inc.
2714
2715 This file is part of GNU Emacs.
2716
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.
2721
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.
2726
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/>.