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