]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Change modes that used same-window-* vars to use switch-to-buffer.
[gnu-emacs] / lisp / ChangeLog
1 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
2
3 Change modes that used same-window-* vars to use switch-to-buffer.
4
5 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
6 Use switch-to-buffer.
7
8 * cus-edit.el (customize-group, custom-buffer-create)
9 (customize-browse, custom-buffer-create-other-window): Use
10 switch-to-buffer or switch-to-buffer-other-window.
11
12 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13 (Info-prev, Info-up, Info-speedbar-goto-node)
14 (info-display-manual): Use switch-to-buffer.
15 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
16
17 * mail/sendmail.el (mail): Use switch-to-buffer.
18 (mail-recover): Use switch-to-buffer-other-window.
19
20 * cmuscheme.el (run-scheme, switch-to-scheme):
21 * ielm.el (ielm):
22 * shell.el (shell):
23 * net/rlogin.el (rlogin):
24 * net/telnet.el (telnet, rsh):
25 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
26
27 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
28
29 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
30
31 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
32
33 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
34 so don't mention it (bug#9301).
35 (dired-sort-toggle-or-edit): Clarify string further.
36
37 * faces.el (face-spec-set-match-display): Make `(type graphic)'
38 match `x', `w32' and `ns', like the manual says (bug#9029).
39
40 * subr.el (eval-after-load): Doc string clarification (bug#9125).
41 (process-kill-buffer-query-function): Mention the buffer name in
42 the query.
43
44 * image-mode.el (image-next-line): The line parameter is mandatory
45 (bug#9258).
46
47 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
48 which can be useful (bug#9301).
49
50 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
51
52 * subr.el (match-string): Mention that the current buffer should
53 be the same as the search was done in (bug#9282).
54
55 * facemenu.el: Disable the remove-* commands if the mark isn't
56 active (bug#9162).
57
58 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
59
60 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
61 of display-buffer.
62 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
63
64 * replace.el (occur-mode-goto-occurrence)
65 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
66 and display-buffer.
67
68 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
69 display-buffer.
70
71 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
72 special-display and same-window variables.
73 (mail-other-window): Use switch-to-buffer-other-window.
74 (mail-other-frame): USe switch-to-buffer-other-frame.
75
76 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer): Use
77 display-buffer-other-frame.
78 (gdb-display-gdb-buffer): Use pop-to-buffer.
79
80 * progmodes/gud.el (gud-goto-info): Use info-other-window.
81
82 * progmodes/python.el: Don't set same-window-buffer-names.
83
84 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
85
86 * window.el (display-buffer-alist): Add *Python*.
87
88 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
89
90 * window.el (display-buffer-alist): Add entry for buffers
91 previously handled same-window-*.
92 (display-buffer-alist, display-buffer-default-action)
93 (display-buffer-overriding-action): Mark as risky.
94 (display-buffer-alist): Document action function changes.
95 (display-buffer--same-window-action)
96 (display-buffer--other-frame-action): New variables.
97 (switch-to-buffer, display-buffer-other-frame): Use them.
98 (display-buffer): Rename reuse-frame entry to reusable-frames.
99 (display-buffer-reuse-selected-window): Function deleted.
100 (display-buffer-reuse-window): Handle reusable-frames alist entry.
101 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
102 (display-buffer-special): New function.
103 (display-buffer--maybe-pop-up-frame-or-window): Rename from
104 display-buffer-reuse-or-pop-window. Split off special-display
105 part into display-buffer-special.
106 (display-buffer-use-some-window): Don't perform any special
107 pop-up-frames handling.
108 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
109 (display-buffer--maybe-same-window): Renamed from
110 display-buffer-maybe-same-window.
111
112 * info.el: Don't set same-window-regexps.
113 (info-setup): New function.
114 (info-other-window, info): Call it.
115
116 * cus-edit.el: Don't set same-window-regexps.
117 (customize-group): New argument.
118 (customize-group-other-window): Use it.
119 (customize-face, customize-face-other-window): Likewise.
120 (custom-buffer-create-other-window): Use pop-to-buffer directly.
121
122 * net/rlogin.el:
123 * net/telnet.el:
124 * progmodes/gud.el: Don't set same-window-regexps.
125
126 * cmuscheme.el:
127 * ielm.el:
128 * shell.el:
129 * mail/sendmail.el:
130 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
131
132 2011-09-10 Juri Linkov <juri@jurta.org>
133
134 * isearch.el (isearch-edit-string): Remove obsolete mention of
135 `C-w' (`isearch-yank-word-or-char') from docstring.
136 (isearch-query-replace): Fix typo in docstring (bug#9466).
137
138 2011-09-10 Juri Linkov <juri@jurta.org>
139
140 * paren.el (show-paren-function): Don't show escaped parens.
141 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
142
143 2011-09-10 Eli Zaretskii <eliz@gnu.org>
144
145 * mail/sendmail.el (mml-to-mime, mml-attach-file)
146 (mm-default-file-encoding): Remove autoload forms, they are
147 replaced with autoload cookies in mml.el and mm-encode.el.
148 (mail-add-attachment): New command.
149 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
150 (mail-mode): Mention mail-insert-file and mail-add-attachment in
151 the doc string.
152 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
153
154 2011-09-10 Reuben Thomas <rrt@sc3d.org>
155
156 * simple.el (count-words-region): Use buffer if there's no region.
157
158 2011-09-09 Juri Linkov <juri@jurta.org>
159
160 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
161 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
162 (wdired-isearch-filter-read-only): New function. (Bug#6362)
163
164 2011-09-09 Alan Mackenzie <acm@muc.de>
165
166 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
167 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
168
169 2011-09-09 Eli Zaretskii <eliz@gnu.org>
170
171 Fix for Savannah bug#9392.
172 * simple.el (mail-encode-mml): New defvar.
173
174 * mail/rmail.el (mail-encode-mml): Add a defvar.
175 (rmail-enable-mime-composing): Default to t.
176 (rmail-forward): Use MIME method of forwarding only if both
177 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
178 Set mail-encode-mml non-nil if the MIME method was used.
179
180 * mail/sendmail.el (mml-to-mime): Add autoload form.
181 (mail-encode-mml): Add a defvar.
182 (mail-mode): Make mail-encode-mml buffer-local and initialize it
183 to nil.
184 (mail-send): If mail-encode-mml is non-nil, run the outgoing
185 message through mml-to-mime, and reset mail-encode-mml to nil.
186
187 2011-09-09 Glenn Morris <rgm@gnu.org>
188
189 * woman.el (woman-if-body): When processing an .el block,
190 do not delete the next .el block as well. (Bug#9447)
191 (woman-special-characters): Add oq, cq, and hy characters.
192
193 2011-09-08 Martin Rudalics <rudalics@gmx.at>
194
195 * window.el (window-deletable-p): Make sure window is live before
196 invoking window-prev-buffers.
197
198 2011-09-08 Leo Liu <sdl.web@gmail.com>
199
200 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
201
202 2011-09-08 Juri Linkov <juri@jurta.org>
203
204 * progmodes/compile.el (compilation-environment): Make it
205 a defcustom (bug#8340).
206
207 2011-09-08 Martin Rudalics <rudalics@gmx.at>
208
209 * window.el (frame-auto-delete): Rename to window-auto-delete.
210 Make it control auto-deletion of windows and/or frames.
211 (window-deletable-p): New argument FORCE. Rewrite conditions
212 for deleting window/frame. (Bug#9419)
213 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
214 Rewrite handling of case when window/frame can be deleted.
215 (delete-windows-on): Call window-deletable-p with new FORCE
216 argument t. (Bug#9456)
217
218 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
219
220 * help-mode.el (help-mode): Restore autoload.
221
222 2011-09-07 Juri Linkov <juri@jurta.org>
223
224 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
225 `compilation-environment'. Set buffer-local
226 `compilation-environment' to `thisenv' later after (funcall mode).
227 (Bug#8340)
228
229 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
230 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
231 instead of replacing its value. (Bug#8340)
232
233 2011-09-07 Juri Linkov <juri@jurta.org>
234
235 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
236 based on text properties put by `grep-filter' instead of matching
237 escape sequences.
238 (grep-mode): Set buffer-local `compilation-error-screen-columns'
239 to the value of `grep-error-screen-columns' (bug#9438).
240
241 2011-09-07 Juri Linkov <juri@jurta.org>
242
243 * simple.el (next-error-highlight, next-error-highlight-no-select):
244 Doc fix (bug#9432).
245
246 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
247
248 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
249 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
250
251 2011-09-07 Leo Liu <sdl.web@gmail.com>
252
253 * net/rcirc.el (rcirc-mode): Conditionally initialize
254 rcirc-input-ring.
255
256 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
257
258 * emacs-lisp/find-func.el (find-function-C-source): Only set
259 find-function-C-source-directory after checking that we found a source
260 file there (bug#9440).
261
262 2011-09-06 Alan Mackenzie <acm@muc.de>
263
264 * isearch.el (isearch-other-meta-char): Wherever a key list is
265 unread, "unread" the prefix arg, too. This fixes bug #8901.
266
267 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
268
269 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
270
271 2011-09-05 Juri Linkov <juri@jurta.org>
272
273 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
274
275 2011-09-05 Juri Linkov <juri@jurta.org>
276
277 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
278 keeping point where processing of grep matches begins, and
279 continue to delete remaining escape sequences from the same point.
280 (grep-filter): Make leading zero optional in "0?1;31m" because
281 git-grep emits "\033[1;31m" escape sequences unlike expected
282 "\033[01;31m" as GNU Grep does (bug#9408).
283 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
284
285 2011-09-05 Juri Linkov <juri@jurta.org>
286
287 * subr.el (y-or-n-p): Capitalize "yes".
288
289 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
290
291 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
292 `tramp-cache-unload-hook' where appropriate.
293 (tramp-methods): Rename `tramp-remote-sh' to
294 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
295 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
296
297 * net/tramp-sh.el (top): Don't require 'shell.
298 (tramp-methods): Add `tramp-remote-shell' and
299 `tramp-remote-shell-args' entries.
300 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
301 (tramp-sh-handle-shell-command): Remove.
302 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
303 Use `tramp-remote-shell'.
304
305 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
306
307 * mail/sendmail.el (sendmail-query-once-function): Deleted.
308 (sendmail-query-once): Save directly to send-mail-function.
309 Update message-send-mail-function too.
310
311 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
312
313 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
314
315 * progmodes/python.el (python-mode-map): Use correct function to
316 start python interpreter from menu-bar (as reported by Geert
317 Kloosterman).
318 (inferior-python-mode-map): Fix typo.
319 (python-shell-map): Removed.
320
321 2011-09-03 Deniz Dogan <deniz@dogan.se>
322
323 * net/rcirc.el (rcirc-print): Simplify code for
324 rcirc-scroll-show-maximum-output. There is no need to walk
325 through all windows to find the right one.
326
327 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
328
329 * help.el (help-return-method): Doc fix.
330
331 2011-09-03 Martin Rudalics <rudalics@gmx.at>
332
333 * window.el (window-deletable-p): Don't return a non-nil value
334 when there's a buffer that was shown in the window before.
335 (Bug#9419)
336 (display-buffer-pop-up-frame, display-buffer-pop-up-window): Set
337 window's previous buffers to nil.
338
339 2011-09-03 Eli Zaretskii <eliz@gnu.org>
340
341 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
342 newline before and after the tag line, so it doesn't interfere
343 with determining the paragraph direction of bidirectional text.
344
345 2011-09-03 Leo Liu <sdl.web@gmail.com>
346
347 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
348
349 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
350
351 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
352 (pop-to-buffer): Change interactive spec. Pass second argument
353 directly to display-buffer.
354 (display-buffer): Fix interactive spec. Use functionp to
355 distinguish between a function and a list of functions.
356
357 * abbrev.el (edit-abbrevs):
358 * arc-mode.el (archive-extract):
359 * autoinsert.el (auto-insert):
360 * bookmark.el (bookmark-bmenu-list):
361 * files.el (find-file):
362 * view.el (view-buffer):
363 * progmodes/compile.el (compilation-goto-locus):
364 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
365
366 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
367
368 * window.el (display-buffer-alist): Doc fix.
369 (display-buffer): Add docstring. Don't treat
370 display-buffer-default specially.
371 (display-buffer-reuse-selected-window)
372 (display-buffer-same-window, display-buffer-maybe-same-window)
373 (display-buffer-reuse-window, display-buffer-pop-up-frame)
374 (display-buffer-pop-up-window)
375 (display-buffer-reuse-or-pop-window)
376 (display-buffer-use-some-window): New functions.
377 (display-buffer-default-action): Use them.
378 (display-buffer-default): Deleted.
379 (pop-to-buffer-1): Fix choice of actions.
380
381 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * minibuffer.el (completion--insert-strings): Don't get confused by
384 completion entries that end with an LF char.
385
386 2011-09-01 Eli Zaretskii <eliz@gnu.org>
387
388 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
389
390 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
391
392 * window.el (display-buffer): Restore interactive spec.
393 (display-buffer-same-window, display-buffer-other-window):
394 New functions.
395 (pop-to-buffer-1): New function. Use the above.
396 (pop-to-buffer, pop-to-buffer-same-window): Use it.
397 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
398
399 * view.el (view-buffer-other-window, view-buffer-other-frame):
400 Just use pop-to-buffer.
401
402 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
403
404 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
405
406 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
407
408 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
409
410 2011-08-31 Richard Stallman <rms@gnu.org>
411
412 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
413 of the separation of rmail-view-buffer from rmail-buffer.
414 If you say no to "replace original", the decrypt is in the
415 view buffer. If you say yes, the decrypt goes into the
416 rmail buffer also.
417
418 2011-08-31 Martin Rudalics <rudalics@gmx.at>
419
420 * window.el (display-buffer-window): Rewrite doc-string.
421 (display-buffer-record-window): New function.
422 (display-buffer-macro-specifiers)
423 (display-buffer-even-window-sizes, display-buffer-set-height)
424 (display-buffer-set-width, display-buffer-in-window)
425 (display-buffer-reuse-window, display-buffer-split-specifiers)
426 (display-buffer-side-specifiers, display-buffer-split-window-1)
427 (display-buffer-split-window, display-buffer-split-atom-window)
428 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
429 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
430 (display-buffer-other-window-means-other-frame)
431 (display-buffer-normalize-special)
432 (display-buffer-normalize-default)
433 (display-buffer-normalize-argument)
434 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
435 (display-buffer-normalize-specifiers, display-buffer-frame)
436 (display-buffer-same-window, display-buffer-same-frame)
437 (display-buffer-other-window)
438 (display-buffer-same-frame-other-window)
439 (display-buffer-other-frame, pop-to-buffer-same-window)
440 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
441 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
442 (switch-to-buffer-same-frame)
443 (switch-to-buffer-other-window-same-frame)
444 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
445 (display-buffer-alist-set-1, display-buffer-alist-set-2)
446 (display-buffer-alist-set): Remove.
447 (display-buffer-function, special-display-buffer-names)
448 (special-display-regexps, special-display-function):
449 In doc-string refer to display-buffer-window and quit-restore
450 parameter.
451 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
452 (special-display-frame-alist, special-display-popup-frame)
453 (same-window-buffer-names, same-window-regexps, same-window-p)
454 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
455 (split-window-preferred-function, split-height-threshold)
456 (split-width-threshold, window-splittable-p)
457 (split-window-sensibly, window--try-to-split-window)
458 (window--frame-usable-p, even-window-heights)
459 (window--even-window-heights, window--display-buffer-1)
460 (window--display-buffer-2, display-buffer-other-frame):
461 Restore old Emacs 23 code, order and doc-strings where applicable.
462 (display-buffer-default, display-buffer-assq-regexp): New functions.
463 (display-buffer-alist): Rewrite doc-string.
464 (display-buffer-default-action)
465 (display-buffer-overriding-action): New variables.
466 (display-buffer, switch-to-buffer): Rewrite.
467 (pop-to-buffer): Restore Emacs 23 behavior but use
468 window-normalize-buffer-to-display.
469 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
470 Restore Emacs 23 behavior but use
471 window-normalize-buffer-to-switch-to.
472 (pop-to-buffer-same-window): Rewrite.
473 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
474 Rewrite using Emacs 23 options.
475
476 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
477
478 * net/tramp.el (tramp-root-regexp): Remove.
479 (tramp-completion-file-name-regexp-unified)
480 (tramp-completion-file-name-regexp-separate)
481 (tramp-completion-file-name-regexp-url): Don't use leading volume
482 letter on win32 systems. (Bug#5303, Bug#9311)
483 (tramp-drop-volume-letter): Simplify definition.
484 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
485
486 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
487
488 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
489 (bug#9356).
490
491 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
492
493 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
494
495 2011-08-29 Juri Linkov <juri@jurta.org>
496
497 * isearch.el (isearch-done): Don't display message "Mark saved"
498 when arg `edit' is non-nil to prevent its flicker in the echo area.
499
500 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
501
502 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
503 obsolete packages for deletion.
504
505 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
506
507 * help-mode.el (help-mode-map): Add special-mode-map to parent.
508 (help-mode): Derive help-mode from special-mode. Don't invoke
509 view-mode from help-mode.
510 (help-xref-override-view-map): Remove.
511 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
512 view-mode is not used anymore.
513
514 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
515
516 * server.el (server-port): Doc fix.
517
518 * cus-theme.el (custom-theme-choose-mode): Inherit from
519 special-mode (Bug#9124).
520 (custom-theme-choose-mode-map): Add special-mode to parent.
521
522 2011-08-28 Alan Mackenzie <acm@muc.de>
523
524 * progmodes/cc-fonts.el
525 (c-make-font-lock-BO-decl-search-function): New function.
526 (c-basic-matchers-after - "Fontify the clauses after various
527 keywords"): Extract the three keyword lists for the 3 erroneous
528 constructs from the list of four, and use the new function above
529 in place of an old one.
530
531 2011-08-28 Deniz Dogan <deniz@dogan.se>
532
533 * net/rcirc.el (rcirc-insert-prev-input)
534 (rcirc-insert-next-input): Remove unused argument.
535
536 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
539
540 2011-08-27 Alan Mackenzie <acm@muc.de>
541
542 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
543 handle function pointer parameters properly.
544
545 2011-08-27 Martin Rudalics <rudalics@gmx.at>
546
547 * window.el (display-buffer-reuse-window): Fix case where
548 selected window was reused with non-nil OTHER-WINDOW argument.
549 (Bug#9381)
550
551 2011-08-27 Deniz Dogan <deniz@dogan.se>
552
553 * net/rcirc.el (rcirc-check-auth-status): Adding support for
554 oftc's NickServ messages.
555
556 2011-08-27 Glenn Morris <rgm@gnu.org>
557
558 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
559
560 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
561
562 * emacs-lisp/package.el (package-install): Call package-initialize
563 if called interactively.
564
565 2011-08-26 Leo Liu <sdl.web@gmail.com>
566
567 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
568
569 2011-08-25 Juri Linkov <juri@jurta.org>
570
571 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
572 `search-whitespace-regexp' (bug#9364).
573
574 2011-08-25 Juri Linkov <juri@jurta.org>
575
576 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
577 `regexp-search-ring' to their global values to protect from
578 updating by `read-from-minibuffer' (bug#9185).
579
580 2011-08-25 Juri Linkov <juri@jurta.org>
581
582 * textmodes/ispell.el (ispell-command-loop): Add newline
583 at the end of the "Use option `i'..." line.
584
585 2011-08-25 Juri Linkov <juri@jurta.org>
586
587 * battery.el (display-battery-mode): If `battery-status-function'
588 or `battery-mode-line-format' is nil, display the message and set
589 `display-battery-mode' to nil (bug#9363).
590
591 2011-08-25 Eli Zaretskii <eliz@gnu.org>
592
593 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
594 bidi-string-mark-left-to-right; they are unnecessary now.
595
596 2011-08-25 Deniz Dogan <deniz@dogan.se>
597
598 * net/quickurl.el: Documentation typo fixes.
599
600 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
601
602 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
603
604 2011-08-25 Glenn Morris <rgm@gnu.org>
605
606 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
607
608 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
609 (smtpmail-via-smtp): Handle nil response from smtp.
610
611 2011-08-24 Juri Linkov <juri@jurta.org>
612
613 * proced.el (proced-marked): Inherit from `error' instead of
614 `font-lock-warning-face'.
615
616 * ibuffer.el (ibuffer-marked-face): Change default face from
617 `font-lock-warning-face' to `warning'.
618 (ibuffer-deletion-face): Change default face from
619 `font-lock-type-face' to `error'.
620
621 * battery.el (battery-update): Use the face `error' instead of
622 `font-lock-warning-face' (bug#6117).
623
624 2011-08-24 Juri Linkov <juri@jurta.org>
625
626 * faces.el (success): Change face color from "Green3" to
627 "ForestGreen" on light background (bug#9353).
628
629 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
630
631 * window.el (quit-window): Rename from quit-restore-window.
632 Use same arglist as old quit-window.
633 (frame-auto-delete): Doc fix.
634
635 * view.el (view-mode-exit): Use quit-window.
636
637 2011-08-24 Juri Linkov <juri@jurta.org>
638
639 * isearch.el (isearch-ring-adjust1): Start visiting previous
640 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
641 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
642 for empty search string (when the last search string is reused
643 automatically) to adjust the isearch ring to the last element and
644 prepare the correct index for further M-p commands (bug#9185).
645
646 2011-08-24 Kenichi Handa <handa@m17n.org>
647
648 * international/ucs-normalize.el: If decomposition property of
649 CHAR is the default one (i.e. a list of CHAR itself), treat it as
650 nil.
651 (nfd, nfkd): Likewise.
652
653 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
656 from process filters aren't reliably transmitted to the surrounding
657 accept-process-output.
658 (mpc-proc-check): New function.
659 (mpc-proc-sync): Use it (bug#8293)
660
661 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
664 Add compatibility functions (bug#9313).
665
666 2011-08-23 Eli Zaretskii <eliz@gnu.org>
667
668 * cus-start.el (all): Add entry for bidi-paragraph-direction.
669
670 * international/uni-bidi.el: Regenerated.
671
672 2011-08-23 Kenichi Handa <handa@m17n.org>
673
674 * international/charprop.el:
675 * international/uni-bidi.el:
676 * international/uni-category.el:
677 * international/uni-combining.el:
678 * international/uni-comment.el:
679 * international/uni-decimal.el:
680 * international/uni-decomposition.el:
681 * international/uni-digit.el:
682 * international/uni-lowercase.el:
683 * international/uni-mirrored.el:
684 * international/uni-name.el:
685 * international/uni-numeric.el:
686 * international/uni-old-name.el:
687 * international/uni-titlecase.el:
688 * international/uni-uppercase.el: Regenerate.
689
690 2011-08-23 Martin Rudalics <rudalics@gmx.at>
691
692 * help.el (help-window-setup): Fix message displayed when other
693 window is reused. (Bug#9341)
694
695 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
696
697 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
698 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
699
700 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
701 Mark obsolete.
702 * shell.el (shell-parse-pcomplete-arguments): New function.
703 (shell-completion-vars): Use it instead (bug#9160).
704
705 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
706
707 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
708 strings and comments (bug#9333).
709
710 * emacs-lisp/debug.el (debug-arglist): New function.
711 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
712 (debug-on-entry-1): Handle interpreted closures (bug#9120).
713
714 2011-08-22 Juri Linkov <juri@jurta.org>
715
716 * progmodes/compile.el (compilation-mode-font-lock-keywords):
717 Revert regexp that highlights output switches to its old
718 pre-2010-10-28 value and remove one `?' from it (bug#9319).
719
720 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
721 to check for empty output (bug#9226).
722
723 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
724
725 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
726 symbol-constituent as the default, as that stops font-lock from
727 working properly (Bug#8843).
728
729 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
730
731 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
732 `coding-system-for-*' around the process open call to avoid
733 auth-source side effects.
734 (smtpmail-try-auth-methods): Expand the secret password.
735 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
736 probe hangs.
737
738 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
739
740 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
741
742 * emacs-lisp/find-func.el (find-function-noselect): New arg
743 lisp-only.
744
745 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
746 signal an error for built-in functions (Bug#6664).
747
748 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
749
750 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
751 (smtpmail-try-auth-methods): Use it.
752
753 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
754
755 * font-lock.el (font-lock-fontify-region)
756 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
757 (font-lock-default-unfontify-buffer)
758 (font-lock-default-fontify-region)
759 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
760
761 * progmodes/compile.el (compilation-error-properties):
762 Fix confusion between file struct and message struct (Bug#9319).
763 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
764 `ant' regexp.
765
766 * net/browse-url.el (browse-url-firefox): Don't call
767 browse-url-firefox-sentinel unless using -remote (Bug#9328).
768
769 2011-08-20 Glenn Morris <rgm@gnu.org>
770
771 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
772
773 * tutorial.el (tutorial--default-keys): Update some default bindings.
774
775 * files.el (hack-local-variables): Fully ignore case for "mode:".
776
777 2011-08-20 Alan Mackenzie <acm@muc.de>
778
779 Resolve invalid use of a regexp in regexp-opt.
780
781 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
782 for a java annotation.
783
784 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
785 detection for a java annotation.
786
787 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
788 for java.
789 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
790
791 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
792
793 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
794 (Bug#9274).
795
796 2011-08-20 Alan Mackenzie <acm@muc.de>
797
798 * Fontify CPP expressions correctly when starting in the middle of
799 such a construct. Mainly for when jit-lock etc. starts a chunk
800 here.
801
802 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
803 variable.
804 (c-make-font-lock-search-form): new function, extracted from
805 c-make-font-lock-search-function.
806 (c-make-font-lock-search-function): Use the above function.
807 (c-make-font-lock-context-search-function): New function.
808 (c-cpp-matchers): Enhance the preprocessor expression case with
809 the above function
810 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
811 which takes an expression.
812
813 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
814
815 2011-08-20 Martin Rudalics <rudalics@gmx.at>
816
817 * window.el (display-buffer-reuse-window)
818 (display-buffer-pop-up-window): Don't reuse or split a side
819 window.
820
821 2011-08-19 Glenn Morris <rgm@gnu.org>
822
823 * files.el (hack-local-variables-prop-line, hack-local-variables):
824 Downcase "Mode:". (Bug#9331)
825
826 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
827
828 * international/characters.el: Add L and R categories.
829
830 * subr.el (bidi-string-mark-left-to-right): Rename from
831 string-mark-left-to-right. Use category search.
832
833 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
834
835 2011-08-18 Juri Linkov <juri@jurta.org>
836
837 * faces.el (error, warning, success): New faces with definitions
838 copied from old default values of `font-lock-warning-face',
839 `compilation-warning', `compilation-info' (bug#6117).
840
841 * font-lock.el (font-lock-warning-face): Inherit from `error'.
842
843 * progmodes/compile.el (compilation-error): Inherit from `error'.
844 (compilation-warning): Inherit from `warning'.
845 (compilation-info): Inherit from `success'.
846
847 * dired.el (dired-marked): Inherit from `warning'.
848 (dired-flagged): Inherit from `error'.
849
850 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
851
852 * mail/smtpmail.el (auth-source): Require to avoid problems with
853 binding variables (bug#9298). Also clean up some unused
854 autoloads.
855
856 * net/network-stream.el (network-stream-open-starttls):
857 Support using starttls.el without using gnutls-cli.
858
859 2011-08-17 Juri Linkov <juri@jurta.org>
860
861 * progmodes/grep.el (rgrep): Handle the case when
862 `grep-find-command' is a cons cell (bug#9278).
863
864 2011-08-17 Martin Rudalics <rudalics@gmx.at>
865
866 * window.el (display-buffer-pop-up-frame): Run frame creation
867 function with BUFFER current (as special-display-popup-frame
868 does). Reported by Drew Adams.
869
870 2011-08-17 Daiki Ueno <ueno@unixuser.org>
871
872 * epa-mail.el: Simplify GnuPG group expansion using
873 epg-expand-group.
874 (epa-mail-group-alist, epa-mail-group-modtime)
875 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
876 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
877 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
878 Remove.
879
880 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
881
882 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
883
884 2011-08-16 Alan Mackenzie <acm@muc.de>
885
886 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
887 Correct, to avoid the inside of macros.
888
889 2011-08-16 Richard Stallman <rms@gnu.org>
890
891 * epa-mail.el: Handle GnuPG group definitions.
892 (epa-mail-group-alist, epa-mail-group-modtime)
893 (epa-mail-gnupg-conf-file): New variables.
894 (epa-mail-parse-groups, epa-mail-sync-groups)
895 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
896 (epa-mail-expand-recipients): New functions.
897 (epa-mail-encrypt): Call epa-mail-expand-recipients.
898
899 * mail/rmail.el (rmail-epa-decrypt): New command.
900
901 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
902 Don't bind buffer-read-only, just inhibit-read-only.
903 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
904 (epa-decrypt-armor-in-region): Make error message clearer.
905
906 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
909 and "a2b" to "ab" for `prefix'.
910
911 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
912
913 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
914 filter groups.
915 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
916 Fourquet (Bug#8804).
917
918 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
919
920 * startup.el (argi): Declare as global variable (bug#9275).
921
922 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
923
924 * subr.el (string-mark-left-to-right): Search the entire string
925 for RTL script, not just the terminating character. Doc fix.
926
927 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
928
929 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
930 New function.
931 (js--regexp-literal, js-syntax-propertize-function): Remove.
932 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
933 (js-mode-map): Don't rebind electric keys.
934 (js-insert-and-indent): Remove.
935 (js-mode): Setup electric-layout and electric-indent instead.
936
937 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
938
939 2011-08-12 Daiki Ueno <ueno@unixuser.org>
940
941 * epa.el (epa-progress-callback-function): Fix the logic of
942 displaying progress.
943 * epa-file.el (epa-file-insert-file-contents): Make progress
944 display more user-friendly.
945 (epa-file-write-region): Ditto.
946
947 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
948
949 * subr.el (string-mark-left-to-right): New function.
950
951 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
952 Use string-mark-left-to-right.
953 (list-buffers-noselect): Caller changed.
954
955 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
956 Use string-mark-left-to-right.
957 (tabulated-list-print): Recenter after moving point.
958
959 2011-08-10 Juri Linkov <juri@jurta.org>
960
961 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
962 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
963 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
964
965 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
966
967 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
968 (Bug#7554).
969
970 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
971
972 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
973 character. (Bug#6594)
974
975 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
976
977 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
978 (image-dired--with-db-file): New macro.
979 (image-dired-write-tags, image-dired-remove-tag)
980 (image-dired-create-gallery-lists, image-dired-write-comments)
981 (image-dired-get-comment, image-dired-mark-tagged-files)
982 (image-dired-list-tags, image-dired-gallery-generate): Use it.
983 (image-dired-gallery-generate): Use insert-file-contents.
984
985 * time.el (display-time-world-list, display-time-world-display):
986 * time-stamp.el (time-stamp-string):
987 * vc/add-log.el (add-change-log-entry): Use setenv instead of
988 set-time-zone-rule (Bug#7337).
989
990 2011-08-08 Daiki Ueno <ueno@unixuser.org>
991
992 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
993 (epg-error-to-string, epg-errors-to-string): New function.
994 (epg-wait-for-completion): Reverse errors list.
995 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
996 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
997 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
998 (epg-sign-keys, epg-generate-key-from-file)
999 (epg-generate-key-from-string): Format errors by using
1000 epg-errors-to-string (bug#9255).
1001 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
1002
1003 2011-08-07 Juri Linkov <juri@jurta.org>
1004
1005 * faces.el (list-faces-display): Remove extra angle bracket
1006 from `help-mode-map'.
1007
1008 * info.el (Info-history-toc-nodes): Doc fix.
1009
1010 * longlines.el (longlines-mode): Doc fix.
1011
1012 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
1015 of statements and in a few more cases (bug#9183).
1016
1017 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
1018 New functions.
1019 (cl-transform-lambda): Use them (bug#9239).
1020
1021 2011-08-05 Martin Rudalics <rudalics@gmx.at>
1022
1023 * window.el (display-buffer-same-window)
1024 (display-buffer-same-frame, display-buffer-other-window)
1025 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1026 (pop-to-buffer-other-window)
1027 (pop-to-buffer-same-frame-other-window)
1028 (pop-to-buffer-other-frame): Make them defuns.
1029 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
1030
1031 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1032
1033 * subr.el (make-composed-keymap): Move from C. Change calling
1034 convention, and improve docstring to bring attention to a subtle point.
1035 * minibuffer.el (completing-read-default): Adjust accordingly.
1036
1037 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
1038
1039 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1040 (tramp-open-shell): Use `tramp-shell-quote-argument'.
1041
1042 * net/trampver.el: Update release number.
1043
1044 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
1047 "in" (bug#9190).
1048
1049 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1050
1051 * mail/sendmail.el (sendmail-query-once): Restore the current
1052 buffer after querying (bug#9074).
1053
1054 * dired.el (dired-flagged): Use different faces for marked and
1055 flagged files (bug#6117).
1056
1057 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
1058 (bug#4433).
1059
1060 * ido.el (ido-mode): Switch off the message if called
1061 non-interactively.
1062
1063 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
1064 before 587, since it appears that that's more likely to work for
1065 more people.
1066
1067 * cus-edit.el (custom-file): When running under emacs -q, always
1068 refuse to save the customisations, even if the .emacs file doesn't
1069 exist.
1070
1071 * info.el: Remove the `Info-beginning-of-buffer' function
1072 (bug#8325).
1073
1074 * net/network-stream.el (network-stream-open-starttls):
1075 Use `starttls-available-p' to see whether starttls.el can be used.
1076
1077 2011-08-01 Martin Rudalics <rudalics@gmx.at>
1078
1079 * window.el (display-buffer-in-window): Don't set dedicated status
1080 of window here (Bug#9215).
1081 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1082 (display-buffer-pop-up-side-window)
1083 (display-buffer-in-side-window): Set dedicated status of window here.
1084
1085 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
1088 before binding generated-autoload-file.
1089
1090 2011-08-01 Deniz Dogan <deniz@dogan.se>
1091
1092 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
1093
1094 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
1095
1096 Sync with Tramp 2.2.2.
1097
1098 * net/trampver.el: Update release number.
1099
1100 2011-07-30 Juri Linkov <juri@jurta.org>
1101
1102 * dired-aux.el (dired-touch-initial): Remove function.
1103 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
1104 current time, and `default' to the last modification time of the
1105 current marked file (bug#6887).
1106
1107 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
1108
1109 * simple.el (goto-line): Use string-to-number to provide a
1110 numeric argument to read-number (bug#9163).
1111
1112 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
1113
1114 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
1115 connection process, it could be nil.
1116
1117 2011-07-27 Leo Liu <sdl.web@gmail.com>
1118
1119 Simplify url handling in rcirc-mode.
1120
1121 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
1122 (rcirc-browse-url-at-mouse): Remove.
1123 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
1124
1125 2011-07-26 Alan Mackenzie <acm@muc.de>
1126
1127 Fontify bitfield declarations properly.
1128
1129 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
1130 (c-symbol-chars): Now exported as a lang variable.
1131 (c-not-primitive-type-keywords): New lang variable.
1132
1133 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
1134 QT keyword "more" to prevent "more slots: ...." being spuriously
1135 parsed as a bitfield declaraion.
1136
1137 * progmodes/cc-engine.el (c-beginning-of-statement-1):
1138 Refactor and enhance to handle bitfield declarations.
1139 (c-punctuation-in): New function.
1140 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
1141 declarations properly.
1142
1143 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
1144
1145 * calendar/icalendar.el (icalendar--all-events): Take care of
1146 multiple vcalendars in a single file.
1147 (icalendar--convert-float-to-ical): Checkdoc fixes.
1148
1149 2011-07-25 Deniz Dogan <deniz@dogan.se>
1150
1151 * image.el (insert-image): Clarifying docstring.
1152
1153 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
1156 `tramp-send-command-and-check' if there is no error.
1157 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
1158
1159 2011-07-22 Alan Mackenzie <acm@muc.de>
1160
1161 Prevent cc-langs.elc being loaded at run time.
1162
1163 * progmodes/cc-mode.el: Remove two autoload forms which loaded
1164 cc-langs.
1165
1166 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
1167 "(require 'cc-langs)". Quote a form so it will evaluate at
1168 (cc-mode's) compilation time.
1169
1170 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
1171
1172 * net/tramp.el (tramp-file-name-handler): Avoid recursive
1173 loading. (Bug#9114)
1174
1175 2011-07-21 Martin Rudalics <rudalics@gmx.at>
1176
1177 * window.el (display-buffer-pop-up-window)
1178 (display-buffer-pop-up-side-window)
1179 (display-buffer-in-side-window): Call display-buffer-set-height
1180 and display-buffer-set-width after setting the new window's
1181 buffer so `fit-window-to-buffer' and friends work on the right buffer.
1182
1183 2011-07-20 Sam Steingold <sds@gnu.org>
1184
1185 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
1186 (etags-tags-included-tables): Call `convert-standard-filename' on
1187 the file names contained in TAGS so that windows Emacs can handle
1188 TAGS files created by cygwin ctags.
1189
1190 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1191
1192 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
1193 which apparently didn't work.
1194
1195 2011-07-19 Roland Winkler <winkler@gnu.org>
1196
1197 * proced.el (proced-send-signal): For *Marked Processes* buffer
1198 put point at beginning of buffer.
1199
1200 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
1201
1202 * proced.el (proced-format): Make header lines align with the text
1203 (bug#1779).
1204
1205 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
1206
1207 * view.el (view-buffer): Allow running in `special' modes if we're
1208 visiting a file (bug#8615).
1209
1210 2011-07-19 Martin Rudalics <rudalics@gmx.at>
1211
1212 * window.el (display-buffer-alist-of-strings-p)
1213 (display-buffer-alist-set-1, display-buffer-alist-set-2):
1214 New functions.
1215 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
1216 more accurately.
1217
1218 2011-07-18 Alan Mackenzie <acm@muc.de>
1219
1220 Fontify declarators properly when, e.g., a jit-lock chunk begins
1221 inside a declaration.
1222
1223 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
1224
1225 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1226 New function.
1227 (c-complex-decl-matchers): Insert reference to
1228 c-font-lock-enclosing-decls.
1229
1230 * progmodes/cc-engine.el (c-backward-single-comment):
1231 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
1232 to nil around calls to (forward-comment -1).
1233
1234 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
1235
1236 * image.el (put-image): Doc typo fix.
1237
1238 * progmodes/etags.el (tags-search): Doc typo fix.
1239
1240 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
1241 password if we get errors 550 to 554.
1242
1243 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1244
1245 * net/gnutls.el (gnutls-log-level): Remove.
1246
1247 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
1248 indentation character (bug#6380).
1249
1250 * files.el (buffer-offer-save): Made permanently local (bug#6241).
1251
1252 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
1253 to clarify what the problem is (bug#4291).
1254
1255 * simple.el (current-kill): Clarify what
1256 `interprogram-paste-function' does (bug#7500).
1257 (auto-fill-mode): Document `auto-fill-function' in relation to
1258 `auto-fill-mode' (bug#2470).
1259
1260 2011-07-16 Lawrence Mitchell <wence@gmx.li>
1261
1262 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1263 method if slot is read-only (bug#9035).
1264
1265 2011-07-16 Martin Rudalics <rudalics@gmx.at>
1266
1267 * frame.el (select-frame-set-input-focus): New argument NORECORD.
1268 * window.el (pop-to-buffer): Select window used even if it was
1269 selected before, see discussion of (Bug#8615), (Bug#6954).
1270 Pass argument NORECORD on to select-frame-set-input-focus.
1271
1272 2011-07-15 Glenn Morris <rgm@gnu.org>
1273
1274 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
1275 Respect help-form.
1276
1277 2011-07-09 Lawrence Mitchell <wence@gmx.li>
1278
1279 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1280 (gnutls-negotiate): Use it.
1281
1282 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1283
1284 * net/gnutls.el (gnutls-negotiate):
1285 Upcase `gnutls-algorithm-priority'.
1286
1287 2011-07-15 Glenn Morris <rgm@gnu.org>
1288
1289 * jka-compr.el (jka-compr-verbose): Move from here...
1290 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1291 Add missing :version tag.
1292 * info.el: No need to require jka-compr when compiling.
1293
1294 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1295
1296 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1297 (gnutls-negotiate): Use it.
1298
1299 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1300
1301 * info.el (Info-beginning-of-buffer): New command.
1302 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1303 announcing `b' as the key (bug#8325).
1304 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
1305
1306 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1307
1308 * international/mule-cmds.el
1309 (describe-specified-language-support): Make the error message
1310 clearer (bug#8905).
1311
1312 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1313
1314 * isearch.el (isearch-barrier): Add a doc string, since it's
1315 mentioned in a function doc string (bug#8678).
1316
1317 2011-07-15 Martin Rudalics <rudalics@gmx.at>
1318
1319 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1320 buffer argument (Bug#9083) and self-identifying label argument.
1321
1322 2011-07-15 Glenn Morris <rgm@gnu.org>
1323
1324 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1325
1326 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1327
1328 * man.el (Man-fontify-manpage): Fix message when formatting the
1329 man page (bug#7929).
1330
1331 2011-07-14 Eli Zaretskii <eliz@gnu.org>
1332
1333 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1334 argument LRM; if non-nil, append an invisible LRM character to the
1335 buffer name.
1336 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1337 last argument non-nil, when formatting buffer names.
1338 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1339 paragraph direction.
1340
1341 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1342
1343 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1344 the man page name (bug#7929).
1345
1346 * image.el (put-image): Mention the `put-image' overlay property
1347 (bug#7834).
1348
1349 * scroll-bar.el (set-scroll-bar-mode): Mention that
1350 `scroll-bar-mode' lists the values (bug#7772).
1351
1352 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1353 command (bug#7729).
1354
1355 * rect.el (apply-on-rectangle): Return the point after the last
1356 operation.
1357 (string-rectangle): Go to the point after the last operation
1358 (bug#7522).
1359
1360 * printing.el (pr-toggle-region): Clarify the documentation
1361 slightly (bug#7493).
1362
1363 * time.el (display-time-update):
1364 Allow `display-time-mail-function' to return nil (bug#7158).
1365 Fix suggested by Detlev Zundel.
1366
1367 * vc/diff.el (diff): Clarify the order the file names are read
1368 (bug#7111).
1369
1370 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1371 the doc string (bug#7015).
1372
1373 * font-lock.el (font-lock-maximum-decoration): Mention what
1374 numeric levels mean (bug#6935).
1375
1376 * startup.el (initial-buffer-choice): Don't mention the `none'
1377 selection, which is against policy.
1378
1379 2011-07-14 Martin Rudalics <rudalics@gmx.at>
1380
1381 * window.el (display-buffer-normalize-special):
1382 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
1383
1384 2011-07-14 Eli Zaretskii <eliz@gnu.org>
1385
1386 * subr.el (version<, version<=, version=): Mention "-CVS" and
1387 "-12345" alpha version numbers.
1388
1389 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
1390
1391 * bindings.el: Add advertised binding for set-mark-command
1392 (Bug#5772).
1393
1394 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
1395
1396 * bindings.el (mode-line-other-buffer):
1397 * bookmark.el (bookmark-bmenu-2-window):
1398 * bs.el (bs-cycle-next, bs-cycle-previous):
1399 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1400 switch-to-buffer.
1401
1402 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1403 Delete.
1404
1405 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
1406
1407 * follow.el (follow-debug-message, follow-redisplay):
1408 * jka-cmpr-hook.el (with-auto-compression-mode):
1409 Fix typos in docstrings.
1410
1411 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1412
1413 * subr.el (with-silent-modifications): Clarify somewhat what the
1414 macro inhibits (bug#6525).
1415
1416 * simple.el (eval-expression): Note what it does if called
1417 interactively (bug#6495).
1418
1419 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
1420
1421 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
1422 Use pop-to-buffer buffer-or-name if it is nil.
1423
1424 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1425 Remove switch-to-buffer.
1426
1427 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1428
1429 * files.el (make-directory): Clarify that an error will be raised
1430 if there's an error (bug#6397).
1431
1432 * startup.el (initial-buffer-choice): Add `none' as a choice
1433 (bug#6234).
1434
1435 * subr.el (add-hook): Clarify section about buffer-local hooks
1436 (bug#6218).
1437
1438 * dired.el (dired-flagged): Clarify doc string (bug#6117).
1439
1440 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
1441
1442 * tabify.el (untabify): Preserve the current column so that point
1443 doesn't move (bug#6032).
1444
1445 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1446
1447 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
1448 Rewrite to avoid awkward possessive "s" (bug#5986).
1449
1450 2011-07-13 Glenn Morris <rgm@gnu.org>
1451
1452 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
1453 (dired-insert-directory): Give a message the first time
1454 if ls is found not to support --dired.
1455
1456 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1457
1458 * simple.el (toggle-truncate-lines): Clarify what is toggled
1459 (bug#5580). Text by Drew Adams.
1460
1461 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
1462
1463 * simple.el (blink-matching-open): Make the error message from the
1464 last change less verbose.
1465
1466 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1467
1468 * font-lock.el (font-lock-comment-face): Use the high contrast
1469 "yellow" color for font-lock-comment-face on low color terminals
1470 using a dark background color (bug#4221).
1471
1472 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1473
1474 * dired.el (dired-insert-set-properties): Make the doc string
1475 reflect what it does now (bug#5325).
1476
1477 * simple.el (blink-matching-open): Say that we were unable to find
1478 the match within the limit, if we're limited (bug#5122).
1479
1480 * international/mule-cmds.el (prefer-coding-system): Add an
1481 example (bug#4869).
1482
1483 * progmodes/etags.el (tags-search): Document `file-list-form'
1484 (bug#4731).
1485
1486 2011-07-13 Lawrence Mitchell <wence@gmx.li>
1487
1488 * net/browse-url.el (browse-url-default-browser)
1489 (browse-url-browser-function): Make the default browser choice a
1490 bit more logical (bug#4300). Also clean up the doc string.
1491
1492 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
1493
1494 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
1495 binary endings (bug#4440).
1496
1497 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1498
1499 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
1500 which can be pretty annoying (bug#8971).
1501
1502 * jka-compr.el (jka-compr-verbose): New variable, and use
1503 throughout (bug#8971).
1504
1505 * info.el (Info-find-file): Fall back on the installation
1506 directory if we can't find the info node anywhere else.
1507
1508 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
1509
1510 * vc/vc.el (vc-revert-file):
1511 Don't set file time-stamp in the past. (Bug#5181)
1512
1513 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1514
1515 * files.el (after-find-file): Give a better error message when
1516 trying to find a symlink that points to a file that doesn't exist
1517 (bug#4398).
1518
1519 * progmodes/cc-vars.el: Remove (probably) misleading comment
1520 (bug#4396).
1521
1522 2011-07-12 Johan Bockgård <bojohan@gnu.org>
1523
1524 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
1525
1526 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
1527
1528 * mouse-sel.el: Hack restoring functionality, while keeping
1529 compatibility with 2010-07-03 changes to mouse selection.
1530 (mouse-sel-primary-overlay): New var.
1531 (mouse-sel-selection-alist): Use it.
1532 (mouse-sel-mode): Doc fix; remove points that are default features
1533 of mouse.el.
1534
1535 2011-07-12 Johan Bockgård <bojohan@gnu.org>
1536
1537 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1538 Fix previous fix (bug#2490).
1539
1540 2011-07-12 Roland Winkler <winkler@gnu.org>
1541
1542 * textmodes/bibtex.el (bibtex-initialize):
1543 Use pop-to-buffer-same-window.
1544 (bibtex-search-entries): Fix interactive call.
1545
1546 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1547
1548 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1549 Fontise bytecomp Error lines more correctly (bug#2490).
1550 Fix suggested by Johan Bockgård.
1551
1552 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
1553
1554 * dired-x.el (dired-guess-default): Use `delete-dups'.
1555
1556 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
1557
1558 * dired.el (dired-mark-prompt):
1559 * dired-aux.el (dired-read-shell-command): Doc fix.
1560
1561 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1562
1563 * mail/sendmail.el (sendmail-query-once):
1564 Use `customize-save-variable' unconditionally, now that it works under
1565 emacs -Q.
1566
1567 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1568
1569 * cus-edit.el (custom-file): Take an optional no-error variable.
1570 (customize-save-variable): Set the variable, and give a warning if
1571 running under "emacs -q".
1572
1573 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
1574
1575 * loadhist.el (unload-feature-special-hooks):
1576 Add `auto-coding-functions', `fill-nobreak-predicate' and
1577 `find-directory-functions' (bug#5327).
1578
1579 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1580
1581 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
1582
1583 * cus-edit.el (custom-guess-name-alist): -alist variables should
1584 use the `alist' type (bug#3120). Suggested by Drew Adams.
1585
1586 * printing.el: Add documentation to all the `pr-toggle-' commands.
1587
1588 2011-07-11 Leo <sdl.web@gmail.com> (tiny change)
1589
1590 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
1591 backends where it makes sense (bug#2623).
1592
1593 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1594
1595 * dired-x.el (dired-guess-default): Remove duplicate shell command
1596 entries (bug#2028).
1597 (dired-guess-default): Fix grammar in doc string (bug#2028).
1598 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
1599
1600 * subr.el (remove-duplicates): New conveniency function.
1601
1602 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1603
1604 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1605 (bug#1526).
1606
1607 2011-07-10 Martin Rudalics <rudalics@gmx.at>
1608
1609 * window.el (display-buffer-normalize-default): Don't invert
1610 meaning of even-window-heights. Reported by Eli Zaretskii
1611 <eliz@gnu.org>.
1612
1613 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1614
1615 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1616
1617 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
1618
1619 * window.el (display-buffer): Fix arguments to
1620 display-buffer-reuse-window in last change.
1621
1622 * faces.el (link): Use a less saturated blue on light backgrounds.
1623
1624 * startup.el (fancy-startup-text, fancy-about-text)
1625 (fancy-startup-tail): Use font-lock faces, for background safety.
1626
1627 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1628
1629 * emulation/viper-cmd.el (viper-change-state-to-vi):
1630 Limit triggering of abbrev expansion (Bug#9038).
1631
1632 2011-07-09 Martin Rudalics <rudalics@gmx.at>
1633
1634 * window.el (display-buffer-default-specifiers): Remove.
1635 (display-buffer-macro-specifiers): Remove default specifiers.
1636 (display-buffer-alist): Default to nil.
1637 (display-buffer-reuse-window): New optional argument other-window.
1638 (display-buffer-pop-up-window): Allow splitting internal
1639 windows. Check whether a live window was created.
1640 (display-buffer-other-window-means-other-frame)
1641 (display-buffer-normalize-arguments): Rename to
1642 display-buffer-normalize-argument and rewrite. Set the
1643 other-window specifier.
1644 (display-buffer-normalize-special): New function.
1645 (display-buffer-normalize-options): Rename to
1646 display-buffer-normalize-default and rewrite.
1647 (display-buffer-normalize-options-inhibit): Remove.
1648 (display-buffer-normalize-specifiers): Rewrite.
1649 (display-buffer): Process other-window specifier and call
1650 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1651 more faithfully.
1652 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
1653 (display-buffer-alist-set): Don't handle 'unset default values.
1654 (display-buffer-in-window, display-buffer-alist-set):
1655 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
1656 <tassilo@member.fsf.org>.
1657
1658 2011-07-09 Leo Liu <sdl.web@gmail.com>
1659
1660 * register.el (insert-register): Restore accidental change on
1661 2011-06-26. (Bug#9028)
1662
1663 2011-07-09 Glenn Morris <rgm@gnu.org>
1664
1665 * subr.el (remq): Handle the empty list. (Bug#9024)
1666
1667 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1668
1669 * mail/sendmail.el (send-mail-function): No longer delay custom
1670 initialization.
1671 * custom.el (custom-initialize-delay): Doc fix.
1672
1673 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1674
1675 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1676
1677 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
1678
1679 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1680 human-friendly prompt.
1681
1682 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1685 provided by a particular plugin.
1686
1687 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1688
1689 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1690 save customizations (with "emacs -Q"), just set the variable
1691 instead of erroring out.
1692
1693 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1694
1695 2011-07-08 Juri Linkov <juri@jurta.org>
1696
1697 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1698 (archive-zip-update-case): Use 7z if found by `executable-find'.
1699 The order of searching the available programs is the same as in
1700 `archive-zip-extract' (bug#8968).
1701
1702 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1703
1704 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1705 (menu-bar-options-menu): Tweak descriptions.
1706
1707 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1708
1709 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1710 menu items into verb phrases (bug#1421). Also refill to fit under
1711 80 columns.
1712
1713 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1714
1715 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1716 (Info-read-node-name): Doc fix (Bug#1084).
1717
1718 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1719 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1720 (end-of-sexp, beginning-of-sexp)
1721 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1722 (forward-symbol, forward-same-syntax, word-at-point)
1723 (sentence-at-point): Doc fix (Bug#1144).
1724
1725 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1726
1727 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1728 should cover it (bug#1281).
1729
1730 * cus-edit.el (custom-show): Mark as obsolete.
1731
1732 * net/network-stream.el (network-stream-open-starttls): If gnutls
1733 negotiation fails, then possibly try again with a non-encrypted
1734 connection (bug#9017).
1735
1736 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1737 be used.
1738
1739 2011-07-07 Richard Stallman <rms@gnu.org>
1740
1741 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1742 property, and handle its changed format.
1743 Look for the correct line number.
1744 Use file's line contents (but not past first =) to find
1745 correct line in message.
1746
1747 2011-07-07 Kenichi Handa <handa@m17n.org>
1748
1749 * international/characters.el (build-unicode-category-table):
1750 Delete it.
1751 (unicode-category-table): Set it by unicode-property-table-internal.
1752
1753 * international/mule-cmds.el (char-code-property-alist): Move to
1754 to src/chartab.c.
1755 (get-char-code-property): Call unicode-property-table-internal to
1756 load a file. Call get-unicode-property-internal where necessary.
1757 (put-char-code-property): Call unicode-property-table-internal to
1758 load a file. Call put-unicode-property-internal where necessary.
1759 put-unicode-property-internal where necessary.
1760 (char-code-property-description):
1761 Call unicode-property-table-internal to load a file.
1762
1763 * international/charprop.el:
1764 * international/uni-bidi.el:
1765 * international/uni-category.el:
1766 * international/uni-combining.el:
1767 * international/uni-comment.el:
1768 * international/uni-decimal.el:
1769 * international/uni-decomposition.el:
1770 * international/uni-digit.el:
1771 * international/uni-lowercase.el:
1772 * international/uni-mirrored.el:
1773 * international/uni-name.el:
1774 * international/uni-numeric.el:
1775 * international/uni-old-name.el:
1776 * international/uni-titlecase.el:
1777 * international/uni-uppercase.el: Regenerate.
1778
1779 * loadup.el: Load international/charprop.el before
1780 international/characters.
1781
1782 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
1783
1784 * window.el (next-buffer, previous-buffer): Signal an error if
1785 called from a minibuffer window.
1786
1787 * bindings.el: Revert 2011-07-04 change.
1788
1789 2011-07-06 Richard Stallman <rms@gnu.org>
1790
1791 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1792 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1793 Treat markers like ints.
1794 (rmail-mime-entity): Doc fix.
1795
1796 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1797
1798 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1799 defcustom again for backwards compatibility.
1800
1801 * simple.el (shell-command-on-region): Fill.
1802
1803 * dired-aux.el (dired-kill-line): Add a doc string.
1804
1805 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1806 to "\\sw\\|\\s_" (bug#358).
1807
1808 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1809 (dired-unmark-backward): Ditto.
1810 (dired-flag-backup-files): Ditto.
1811
1812 * dired-x.el (dired-mark-sexp): Ditto.
1813
1814 2011-07-06 Richard Stallman <rms@gnu.org>
1815
1816 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1817 (rmail-mime-entity): New arg TRUNCATED.
1818 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1819 New functions.
1820 (rmail-mime-save): Warn if entity is truncated.
1821 (rmail-mime-toggle-hidden): Likewise, for showing.
1822 (rmail-mime-process-multipart): Record when an entity is truncated.
1823
1824 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1825 if ENTITY is a string.
1826
1827 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1828
1829 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
1830 of faces when `M-C-x'-ing their definitions (bug#8378).
1831 Also clean up the code slightly.
1832
1833 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1834 because that makes the colours go away.
1835
1836 * mail/sendmail.el (send-mail-function): Change the default to
1837 `sendmail-query-once'.
1838 (sendmail-query-once): Add an autoload cookie.
1839
1840 * net/network-stream.el (network-stream-open-starttls): Try using
1841 a plain connection even if the server offered STARTTLS, and we
1842 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1843 capability. This should make smtpmail.el work in slightly more
1844 configurations.
1845
1846 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
1847
1848 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1849 New defun.
1850 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1851
1852 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1853
1854 * progmodes/sql.el: Version 3.0
1855 (sql-product-alist): Add product :completion-object,
1856 :completion-column, and :statement attributes.
1857 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
1858 (sql-mode-syntax-table): Mark all punctuation.
1859 (sql-font-lock-keywords-builder): Temporarily remove fallback on
1860 ansi keywords.
1861 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
1862 (sql-mode-oracle-font-lock-keywords): Improve.
1863 (sql-oracle-show-reserved-words): New function for development.
1864 (sql-product-font-lock): Simplify for source code buffers.
1865 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1866 New functions.
1867 (sql-highlight-product): Set product specific syntax table.
1868 (sql-mode-map): Add statement movement functions.
1869 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1870 New variable.
1871 (sql-statement-regexp, sql-beginning-of-statement)
1872 (sql-end-of-statement, sql-signum): New functions.
1873 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
1874 (sql-show-sqli-buffer): Bug fix.
1875 (sql-interactive-mode): Store connection data as buffer local.
1876 (sql-connect): Add NEW-NAME parameter. Redesign interaction
1877 with sql-interactive-mode.
1878 (sql-save-connection): Save buffer local settings.
1879 (sql-connection-menu-filter): Change menu entry name.
1880 (sql-product-interactive): Bug fix.
1881 (sql-preoutput-hold): New variable.
1882 (sql-interactive-remove-continuation-prompt): Bug fixes.
1883 (sql-debug-redirect): New variable.
1884 (sql-str-literal): New function.
1885 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
1886 Redesign.
1887 (sql-oracle-save-settings, sql-oracle-restore-settings)
1888 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1889 (sql-completion-object, sql-completion-column)
1890 (sql-completion-sqlbuf): New variables.
1891 (sql-build-completions-1, sql-build-completions)
1892 (sql-try-completion): New functions.
1893 (sql-read-table-name): Use them.
1894 (sql-contains-names): New buffer local variable.
1895 (sql-list-all, sql-list-table): Use it.
1896 (sql-oracle-completion-types): New variable.
1897 (sql-oracle-completion-object, sql-sqlite-completion-object)
1898 (sql-postgres-completion-object): New functions.
1899
1900 2011-07-06 Glenn Morris <rgm@gnu.org>
1901
1902 * window.el (pop-to-buffer): Doc fix.
1903
1904 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
1905
1906 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1907
1908 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
1909
1910 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1911
1912 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
1913
1914 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
1915
1916 * button.el (button): Inherit from link face. Suggested by Dan
1917 Nicolaescu.
1918
1919 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1920
1921 * progmodes/gdb-mi.el: Fit in 80 columns.
1922 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1923 switch-to-buffer.
1924
1925 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1926 if imenu is simply not configured (bug#8941).
1927
1928 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1929
1930 * allout.el (allout-post-undo-hook): New allout outline-change
1931 event hook to signal undo activity.
1932 (allout-post-command-business): Run allout-post-undo-hook if an
1933 undo just occurred.
1934 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1935 * allout-widgets.el (allout-widgets-after-undo-function):
1936 Ensure the integrity of the current item's decoration after it has been
1937 in the vicinity of an undo.
1938 (allout-widgets-mode): Include allout-widgets-after-undo-function
1939 on the new allout-post-undo-hook.
1940
1941 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1942
1943 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1944 Let define-derived-mode define it.
1945 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1946 cycles of abbrev-table inheritance (bug#8998).
1947
1948 2011-07-05 Roland Winkler <winkler@gnu.org>
1949
1950 * textmodes/bibtex.el: Add support for biblatex.
1951 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1952 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1953 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1954 (bibtex-entry-alist, bibtex-field-alist): New variables.
1955 (bibtex-entry-field-alist): Obsolete alias for
1956 bibtex-BibTeX-entry-alist.
1957 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1958 (bibtex-set-dialect): New command.
1959 (bibtex-entry-type, bibtex-entry-head)
1960 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1961 Bind via bibtex-set-dialect.
1962 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1963 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1964 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1965 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1966 Define via bibtex-set-dialect.
1967 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1968 Obey bibtex-no-opt-remove-re.
1969 (bibtex-vec-push, bibtex-vec-incr): New functions.
1970 (bibtex-format-entry, bibtex-field-list)
1971 (bibtex-print-help-message, bibtex-validate)
1972 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1973
1974 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1975
1976 * progmodes/compile.el (compilation-goto-locus):
1977 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1978 * bs.el (bs-cycle-next, bs-cycle-previous):
1979 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1980 * bindings.el (mode-line-other-buffer):
1981 * autoinsert.el (auto-insert):
1982 * arc-mode.el (archive-extract):
1983 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1984
1985 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1986
1987 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1988 Fix check of `emacs-lock-unlockable-modes'.
1989 Coerce true values of `emacs-lock--try-unlocking' to t.
1990
1991 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
1992
1993 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1994 * emacs-lock.el: New file.
1995
1996 2011-07-05 Julien Danjou <julien@danjou.info>
1997
1998 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1999 than `boundp' to check if face is set.
2000
2001 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
2002
2003 * register.el (registerv-make):
2004 * window.el (window-min-height): Fix typos in docstrings.
2005
2006 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
2007
2008 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
2009 Update doc string.
2010
2011 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
2012
2013 * server.el (server-execute): Catch quit and call
2014 `server-return-error' to pass the error back to emacsclient and
2015 close the connection (bug#8942).
2016
2017 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
2018
2019 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
2020 insecure exception for current topic. Also note that auto-saves
2021 are handled differently.
2022
2023 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
2024 State variables for tracking auto-save inhibition situation.
2025
2026 (allout-write-contents-hook-handler): Rename from
2027 'allout-write-file-hook-handler', and describe how it depends on
2028 write-contents-functions sensitivity to non-nil value to prevent
2029 file write.
2030
2031 (allout-auto-save-hook-handler): Remove. auto-save does not check
2032 this in individual buffers, only in the starting buffer, so this
2033 is not the right way for us to inhibit auto-save in a buffer
2034 according to its condition.
2035
2036 (allout-mode): Use new allout-write-contents-hook-handler, and
2037 only with write-contents-functions. Remove auto-save provisions -
2038 they're implemented elsewhere.
2039
2040 (allout-before-change-handler): If undo is in progress, note that
2041 for attention of allout-post-command-business.
2042
2043 (allout-post-command-business): If the command we're following was
2044 an undo, check for change in the status of encrypted items and
2045 adjust auto-save inhibitions accordingly.
2046
2047 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
2048 according to whether there are or aren't any plain-text topics
2049 pending encryption.
2050
2051 (allout-inhibit-auto-save-info-for-decryption):
2052 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
2053 there are plain-text topics pending encryption.
2054
2055 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
2056 buffer-saved-size and some allout state to not inhibit auto-saves
2057 if there are no longer any plain-text topics pending encryption.
2058
2059 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
2060 No longer provide for exemption of the current topic.
2061
2062 2011-07-04 Juri Linkov <juri@jurta.org>
2063
2064 Add 7z operations to delete and save changed members (bug#8968).
2065 * arc-mode.el (archive-7z-expunge, archive-7z-update):
2066 New defcustoms.
2067 (archive-7z-write-file-member): New function.
2068 (archive-7z-summarize): Fix the number of dashes in the
2069 listing output.
2070
2071 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
2074 (bug#8958).
2075
2076 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
2077
2078 * bindings.el: Ignore next-buffer and previous-buffer in
2079 minibuffer-local-map.
2080
2081 * font-lock.el (font-lock-builtin-face): Change light background
2082 color to dark slate blue (Bug#6693).
2083
2084 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
2085
2086 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
2087
2088 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2089
2090 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
2091 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2092 Add switch-to-buffer.
2093
2094 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2095
2096 * isearch.el (isearch-search-fun-function): Clarify further the
2097 meaning of the function returned.
2098
2099 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
2100
2101 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
2102
2103 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
2104 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
2105 Use it.
2106 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
2107 `tramp-default-remote-path' does not exist.
2108 (tramp-send-command-and-read): New optional argument NOERROR.
2109 (tramp-open-connection-setup-interactive-shell)
2110 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
2111 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
2112 (tramp-process-sentinel): Flush also process' connection property.
2113 (tramp-sh-handle-start-file-process): Do not set process
2114 sentinel. It is done now ...
2115 (tramp-maybe-open-connection): ... here. (Bug#8929)
2116
2117 2011-07-04 MON KEY <monkey@sandpframing.com>
2118
2119 * play/animate.el (animate-string): Doc fixes and allow changing
2120 the buffer name (bug#5417).
2121
2122 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2123
2124 * play/animate.el (animation-buffer-name): Rename from *animate*.
2125
2126 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
2127
2128 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
2129 This is simpler and helps future-proof the code.
2130 (timer-until): Use time-subtract and float-time.
2131 (timer--time-less-p): Use time-less-p.
2132
2133 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
2134
2135 * type-break.el (timep): Use the value of `float-time' to avoid a
2136 byte-compiler warning.
2137
2138 * server.el (server-eval-and-print): Return any result, even nil.
2139
2140 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
2141
2142 * type-break.el: Accept time formats that the builtins accept.
2143 (timep, type-break-time-difference): Accept any format that
2144 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
2145 This is simpler and helps future-proof the code.
2146 (type-break-time-difference): Round rather than ignoring
2147 subseconds components.
2148
2149 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2150
2151 * info.el (Info-apropos-matches): Make non-interactive, since it
2152 doesn't seem to do anything useful as a command (bug#8829).
2153
2154 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
2155
2156 * frame.el (frame-background-mode, frame-set-background-mode):
2157 Move from faces.el.
2158 (frame-default-terminal-background): New function.
2159
2160 * custom.el (custom-push-theme): Don't record faces in `changed'
2161 theme; this doesn't work correctly for per-frame face settings.
2162 (disable-theme): Use face-set-after-frame-default to reset faces.
2163 (custom--frame-color-default): New function.
2164
2165 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2166
2167 * dired.el (dired-flagging-regexp): Remove unused variable
2168 (bug#8769).
2169
2170 2011-03-29 Kevin Ryde <user42@zip.com.au>
2171
2172 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2173 `perl-Test2' extend to match possible "fail #N" rep count
2174 (bug#8377).
2175
2176 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2177
2178 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
2179 `smtpmail-via-smtp' now returns the error instead of nil.
2180
2181 * isearch.el (isearch-search-fun-function): Clarify the doc string
2182 (bug#8101).
2183
2184 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
2185
2186 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
2187 unnecessary spaces (bug#8987).
2188
2189 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2190
2191 * net/network-stream.el (open-network-stream): Use the
2192 :end-of-capability command thoughout.
2193
2194 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2195
2196 * net/network-stream.el (open-network-stream): Add the
2197 :end-of-capability command parameter, used by pop3.el.
2198
2199 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2200
2201 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
2202
2203 * fringe.el (fringe-query-style): Remove redundant text " (type ?
2204 for list)" (bug#6475).
2205
2206 * files.el (file-expand-wildcards): Ignore non-readable
2207 sub-directories while trying to find matches instead of signalling
2208 an error (bug#6297).
2209
2210 * man.el (Man-reference-regexp): Allow matching possible
2211 word-wrapped references (bug#6289).
2212
2213 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
2214 for consistency with the other vc buffers (bug#6197).
2215 (vc-checkin): Ditto.
2216
2217 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
2218
2219 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
2220
2221 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2222
2223 * custom.el (defcustom): Clarify that :set is only used in the
2224 Customize user interface (bug#6089).
2225
2226 * progmodes/flymake.el (flymake-mode): If the buffer isn't
2227 associated with a file, refuse to run instead of erroring out
2228 (bug#6084).
2229
2230 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
2231 the doc string, since it appears that using `fill-column' always
2232 controls the width (bug#7845).
2233
2234 * simple.el (shell-command-on-region): Say where the error output
2235 went if `shell-command-default-error-buffer' is set (bug#6857).
2236
2237 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
2238
2239 * allout.el (allout-yank-processing): Adjust cursor position for
2240 backwards-deleted space.
2241
2242 (allout-rebullet-heading): Register changes with
2243 allout-exposure-changed-hook, so the modified topic is properly
2244 decorated.
2245
2246 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2247
2248 * minibuffer.el (completion-in-region): Document PREDICATE
2249 (bug#7136).
2250
2251 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
2252 of keyword/argument pairs (bug#6904).
2253
2254 * replace.el (multi-occur):
2255 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
2256
2257 2011-07-02 Drew Adams <drew.adams@oracle.com>
2258
2259 * dired.el (dired-mark-if): Make the message about whether it's
2260 marking or unmarking clearer (bug#8523).
2261
2262 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2263
2264 * disp-table.el (display-table-print-array): New function.
2265 (describe-display-table): Use it to print the vectors more pretty
2266 (Bug#8859).
2267
2268 2011-07-02 Martin Rudalics <rudalics@gmx.at>
2269
2270 * window.el (window-state-get-1): Don't assign clone numbers.
2271 Add clone-of item to list of window parameters.
2272 (window-state-put-2): Don't process clone numbers.
2273 (display-buffer-alist): Fix doc-string.
2274
2275 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * subr.el (remq): Don't allocate if it's not needed.
2278 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2279 (keymap--merge-bindings): New functions.
2280 (keymap-canonicalize): Use them to refine the canonicalization.
2281 * minibuffer.el (minibuffer-local-completion-map)
2282 (minibuffer-local-must-match-map): Move initialization from C.
2283 (minibuffer-local-filename-completion-map): Move initialization from C;
2284 don't inherit from anything here.
2285 (minibuffer-local-filename-must-match-map): Make obsolete.
2286 (completing-read-default): Use make-composed-keymap to combine
2287 minibuffer-local-filename-completion-map with either
2288 minibuffer-local-must-match-map or
2289 minibuffer-local-filename-completion-map.
2290
2291 2011-07-01 Glenn Morris <rgm@gnu.org>
2292
2293 * type-break.el (type-break-time-sum): Use dolist.
2294
2295 * textmodes/flyspell.el (flyspell-word-search-backward):
2296 Replace CL function.
2297
2298 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * mouse.el (mouse--strip-first-event): New function.
2301 (function-key-map): Use it to map fringe clicks to normal clicks
2302 by default.
2303
2304 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2305 (vc-bzr-revision-completion-table): Add support for annotate and date.
2306
2307 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2308 inherit from parent.
2309
2310 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2311
2312 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
2313 (dired-show-file-type): Doc fixup (bug#8818).
2314
2315 * dired.el (dired-mode): Fix up the doc string as suggested by
2316 Drew Adams (bug#8817).
2317
2318 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2319 cookie, since the manual says that it should be possible to add
2320 this function to `find-file-hook' (bug#8709).
2321
2322 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2323
2324 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2325 here. Noted Ted Zlatanov as the maintainer.
2326 (cfengine-common-settings, cfengine-common-syntax): New functions
2327 to set up common things between `cfengine-mode' and
2328 `cfengine3-mode'.
2329 (cfengine3-mode): New mode.
2330 (cfengine3-defuns cfengine3-defuns-regex
2331 (cfengine3-class-selector-regex cfengine3-category-regex)
2332 (cfengine3-vartypes cfengine3-font-lock-keywords)
2333 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
2334 (cfengine3-indent-line): Add from cfengine3.el.
2335
2336 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
2337
2338 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2339
2340 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2341
2342 2011-07-01 Martin Rudalics <rudalics@gmx.at>
2343
2344 * window.el (same-window-buffer-names, same-window-regexps)
2345 (same-window-p, special-display-frame-alist)
2346 (special-display-popup-frame, special-display-function)
2347 (special-display-buffer-names, special-display-regexps)
2348 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2349 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2350 (split-window-preferred-function, split-height-threshold)
2351 (split-width-threshold, even-window-heights)
2352 (display-buffer-mark-dedicated, window-splittable-p)
2353 (split-window-sensibly, window-safely-shrinkable-p):
2354 Un-obsolete.
2355 (display-buffer): Don't spread args with function specifier
2356 because special-display-popup-frame won't like it.
2357
2358 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2359
2360 Time-stamp simplifications and fixes.
2361 These improve accuracy slightly, and future-proof the code
2362 against some potential changes to current-time format.
2363
2364 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2365 by using time-since and float-time.
2366
2367 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2368 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2369 + NNN microseconds".
2370
2371 * type-break.el (type-break-time-sum): Rewrite using time-add.
2372
2373 * play/hanoi.el (hanoi-current-time-float): Remove.
2374 All uses replaced by float-time.
2375
2376 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2377 This yields a more-accurate answer.
2378 (rng-time-to-float): Remove; no longer needed.
2379
2380 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2381
2382 * calendar/timeclock.el (timeclock-seconds-to-time):
2383 Defalias to seconds-to-time, since they're the same thing.
2384
2385 * emacs-lisp/elp.el (elp-elapsed-time):
2386 * emacs-lisp/benchmark.el (benchmark-elapse):
2387 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2388
2389 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * window.el (bury-buffer): Don't iconify the only frame.
2392 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2393 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
2394
2395 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
2396
2397 * eshell/em-smart.el (eshell-smart-display-navigate-list):
2398 Add mouse-yank-primary.
2399
2400 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2401
2402 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2403
2404 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/find-func.el (find-library--load-name): New fun.
2407 (find-library-name): Use it to find relative load names when provided
2408 absolute file name (bug#8803).
2409
2410 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2411
2412 * textmodes/flyspell.el (flyspell-word): Consider words that
2413 differ only in case as potential doublons (bug#5687).
2414
2415 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2416 Remove two rather uninteresting debugging-like messages to make
2417 debbugs.el more silent.
2418
2419 * comint.el (comint-password-prompt-regexp): Accept "Response" as
2420 a password-like phrase.
2421
2422 2011-06-30 Mastake YAMATO <yamato@redhat.com>
2423
2424 * progmodes/cc-guess.el: New file.
2425
2426 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
2427
2428 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
2429 derived from `c-basic-common-init'.
2430
2431 * progmodes/cc-mode.el (top-level): Require cc-guess.
2432 (c-basic-common-init): Use `cc-choose-style-for-mode'.
2433
2434 2011-06-30 Lawrence Mitchell <wence@gmx.li>
2435
2436 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
2437
2438 2011-06-30 Alan Mackenzie <acm@muc.de>
2439
2440 * progmodes/cc-engine.el (c-guess-continued-construct):
2441 Correct the handling of template-args-cont, particularly for when font
2442 lock is disabled. Name this case as "CASE G".
2443
2444 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
2445
2446 * allout.el (allout-yank-processing): Fix injection of extra space
2447 between bullet and non-whitespace character in first topic when
2448 pasting, ensuring that the actual spacing in the pasted topic
2449 following the bullet char is preserved. This extra space was
2450 causing pasted encrypted topics to get a decrypted status even
2451 when the content was actually still encrypted. Now the decryption
2452 status from before the paste is preserved.
2453
2454 (allout-flag-region): Set all allout overlays so they evaporate
2455 when reduced to zero length (evanescent), to prevent overlay
2456 leakage.
2457
2458 2011-06-30 Glenn Morris <rgm@gnu.org>
2459
2460 * w32-fns.el (w32-charset-info-alist): Declare.
2461
2462 * find-dired.el (find-grep-options): Simplify.
2463
2464 * term/ns-win.el (ns-set-resource): Declare.
2465
2466 * ses.el (row, col): Declare dynamic variables honestly.
2467
2468 * textmodes/reftex-parse.el (index-tags): Declare.
2469
2470 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
2471
2472 * cus-edit.el (customize-push-and-save): New function.
2473
2474 * files.el (hack-local-variables-confirm): Use it.
2475
2476 * custom.el (load-theme): New arg NO-CONFIRM.
2477 Use customize-push-and-save (Bug#8720).
2478 (custom-enabled-themes): Doc fix.
2479
2480 * cus-theme.el (customize-create-theme)
2481 (custom-theme-merge-theme): Callers to load-theme changed.
2482
2483 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2484
2485 * thingatpt.el (thing-at-point-short-url-regexp): Require that
2486 short URLs have at least one dot in them (bug #7614).
2487
2488 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
2489 nil, because using a pty is apparently too slow (bug #895).
2490
2491 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2492
2493 * mail/sendmail.el (sendmail-query-once): New function.
2494 (sendmail-query-once-function): New variable.
2495
2496 2011-06-29 Glenn Morris <rgm@gnu.org>
2497
2498 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
2499
2500 * ses.el (top-level): Require cl when compiling.
2501 (ses-set-localvars): Fix error statement.
2502 Call it at compile time to silence a storm of warnings.
2503
2504 2011-06-29 Martin Rudalics <rudalics@gmx.at>
2505
2506 * window.el (normalize-live-buffer): Rename to
2507 window-normalize-buffer.
2508 (normalize-live-frame): Rename to window-normalize-frame.
2509 (normalize-any-window): Rename to window-normalize-any-window.
2510 (normalize-live-window): Rename to window-normalize-live-window.
2511 (make-window-atom): Rename to window-make-atom.
2512 (window-resize-reset): Rename to window--resize-reset.
2513 (window-resize-reset-1): Rename to window--resize-reset-1.
2514 (resize-mini-window): Rename to window--resize-mini-window.
2515 (resize-subwindows-skip-p): Rename to
2516 window--resize-subwindows-skip-p.
2517 (resize-subwindows-normal): Rename to
2518 window--resize-subwindows-normal.
2519 (resize-subwindows): Rename to window--resize-subwindows.
2520 (resize-other-windows): Rename to window--resize-siblings.
2521 (resize-this-window): Rename to window--resize-this-window.
2522 (resize-root-window): Rename to window--resize-root-window.
2523 (resize-root-window-vertically): Rename to
2524 window--resize-root-window-vertically.
2525 (normalize-buffer-to-display): Rename to
2526 window-normalize-buffer-to-display.
2527 (normalize-buffer-to-switch-to): Rename to
2528 window-normalize-buffer-to-switch-to.
2529 Correspondingly update all callers of the functions listed
2530 above.
2531 (display-buffer-alist, display-buffer-normalize-arguments)
2532 (display-buffer-normalize-options, display-buffer)
2533 (display-buffer-alist-set): Use "function" instead of
2534 "fun-with-args".
2535
2536 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
2537
2538 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
2539 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
2540 debbugs.gnu.org. Mention acknowledgment email.
2541
2542 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
2543
2544 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
2545 buffer multibyteness, since it shouldn't matter.
2546
2547 2011-06-28 Martin Rudalics <rudalics@gmx.at>
2548
2549 * window.el (display-buffer-in-side-window): Handle dedicated
2550 windows as in display-buffer-reuse-window.
2551 (display-buffer-normalize-alist): Use value of override
2552 specifier.
2553 (display-buffer-normalize-specifiers): Use value of
2554 other-window-means-other-frame specifier.
2555 (display-buffer-alist): Rewrite some texts in widgets.
2556 (display-buffer): Spread arguments when calling function
2557 specified by fun-with-args.
2558
2559 2011-06-28 Deniz Dogan <deniz@dogan.se>
2560
2561 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2562 Unnest `let'.
2563
2564 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
2565 selectors (Bug#5732).
2566 (css-proprietary-nmstart-re): Use `regexp-opt'.
2567
2568 2011-06-27 Jari Aalto <jari.aalto@cante.net>
2569
2570 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
2571 (eshell-ls-date-format): New defcustom.
2572 (eshell-ls-file): Use it.
2573
2574 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2575
2576 * help-fns.el (describe-variable): Fix message for terminal-local vars.
2577
2578 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
2579
2580 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
2581 (ange-ftp-make-tmp-name): New arg.
2582 (ange-ftp-file-local-copy): Use it.
2583
2584 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
2585
2586 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
2587 no-conversion (Bug#8870).
2588
2589 2011-06-27 Martin Rudalics <rudalics@gmx.at>
2590
2591 * window.el (window-right, window-left, window-child)
2592 (window-child-count, window-last-child)
2593 (window-iso-combination-p, walk-window-tree-1)
2594 (window-atom-check-1, window-tree-1, delete-window)
2595 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
2596 new naming conventions - window-vchild, window-hchild,
2597 window-next and window-prev are now called window-top-child,
2598 window-left-child, window-next-sibling and window-prev-sibling
2599 respectively.
2600 (resize-window-reset): Rename to window-resize-reset.
2601 (resize-window-reset-1): Rename to window-resize-reset-1.
2602 (resize-window): Rename to window-resize.
2603 (window-min-height, window-min-width)
2604 (resize-mini-window, resize-this-window, resize-root-window)
2605 (resize-root-window-vertically, adjust-window-trailing-edge)
2606 (enlarge-window, shrink-window, maximize-window)
2607 (minimize-window, delete-window, quit-restore-window)
2608 (split-window, balance-windows, balance-windows-area-adjust)
2609 (balance-windows-area, window-state-put-2)
2610 (display-buffer-even-window-sizes, display-buffer-set-height)
2611 (display-buffer-set-width, set-window-text-height)
2612 (fit-window-to-buffer): Rename all "resize-window" prefixed
2613 calls to use the "window-resize" prefix convention.
2614 (display-buffer-alist): Fix symbol for label specifier.
2615 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2616 corresponding specifier.
2617 Reported by Juanma Barranquero <lekktu@gmail.com>.
2618
2619 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2620
2621 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2622 convention.
2623 (ses-call-printer): Does not pass an empty string to formatter when the
2624 cell is empty to keep from barking printer Calc math-format-value.
2625
2626 2011-06-27 Richard Stallman <rms@gnu.org>
2627
2628 * battery.el (battery-mode-line-limit): New variable.
2629 (battery-update): Handle it.
2630
2631 * mail/rmailmm.el (rmail-mime-process-multipart):
2632 Handle truncated messages.
2633
2634 2011-06-27 Glenn Morris <rgm@gnu.org>
2635
2636 * progmodes/flymake.el (flymake-err-line-patterns):
2637 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2638
2639 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2640
2641 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
2642 (ses--clean-!, ses--clean-_): New functions.
2643 (ses-range): Add configurability of readout order, and conversion
2644 to Calc vector.
2645
2646 * ses.el (ses-repair-cell-reference-all): New function.
2647 (ses-cell-symbol): Set macro as safe, so that it can be used in
2648 formulas.
2649
2650 * ses.el: Update cycle detection algorithm.
2651 (ses-localvars): Add ses--Dijkstra-attempt-nb and
2652 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
2653 (ses-set-localvars): New function.
2654 (ses-make-cell): Add property-list as a cell element.
2655 (ses-cell-property-get-fun, ses-cell-property-get)
2656 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
2657 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2658 New functions.
2659 (ses-cell-property-set, ses-cell-property-pop)
2660 (ses-cell-property-get-handle): New macro.
2661 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2662 New aliases, used for code readability.
2663 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2664 cycle detection.
2665 (ses-self-reference-early-detection): New defcustom.
2666 (ses-formula-references): Robustify against self-refering cells.
2667 (ses-mode): Use ses-set-localvars.
2668 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2669 before lauching the update processing.
2670 (ses-initialize-Dijkstra-attempt): New function.
2671 (ses-recalculate-cell): Update for cycle detection based on
2672 Dijkstra algorithm.
2673
2674 * ses.el: Fix commenting and indenting convention.
2675
2676 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * bs.el (bs-cycle-next): Complete last change.
2679
2680 2011-06-27 Drew Adams <drew.adams@oracle.com>
2681
2682 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2683
2684 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2685
2686 * net/network-stream.el (network-stream-open-starttls):
2687 Don't re-get capabilities unless we've reestablished connection.
2688 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2689
2690 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2691 to binary to possibly avoid line encoding issues on Windows (among
2692 other things).
2693
2694 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2695
2696 * net/network-stream.el (open-network-stream): Return an :error
2697 saying what the problem was, if possible.
2698
2699 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2700 server.
2701
2702 * net/network-stream.el (network-stream-open-starttls): If we
2703 wanted to use STARTTLS, and the server offered it, but we weren't
2704 able to because we had no STARTTLS support, then close the connection.
2705 (open-network-stream): Return an :error element, if present.
2706
2707 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
2708
2709 * hl-line.el (hl-line-sticky-flag): Doc fix.
2710 (global-hl-line-sticky-flag): New option (Bug#8323).
2711 (global-hl-line-highlight): Obey it.
2712
2713 * vc/vc.el (vc-revert-show-diff): Default to t.
2714
2715 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2716
2717 * allout-widgets.el (allout-widgets-post-command-business):
2718 Stop decorating intermediate isearch matches. They're not being
2719 undecorated when an isearch is continued past, and isearch
2720 automatically collapses them. This leads to "widget leaks", where
2721 decorated items accumulate in collapsed areas. Lines with lots of
2722 hidden widgets can slow down cursor travel, substantially.
2723 Too much complicated machinery would be needed to ensure undecoration,
2724 so we're doing without this nicety.
2725
2726 (allout-widgets-tally-string): Don't try to do a hash-table-count
2727 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2728 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2729 *Messages* when allout-widgets-maintain-tally is t.
2730
2731 2011-06-26 Martin Rudalics <rudalics@gmx.at>
2732
2733 * window.el (display-buffer-normalize-argument): Rename to
2734 display-buffer-normalize-arguments. Handle special meaning of
2735 LABEL argument. Respect special-display-function when popping up
2736 a new frame. Fix code searching for a window showing the buffer
2737 on another frame.
2738 (display-buffer-normalize-specifiers):
2739 Call display-buffer-normalize-arguments.
2740 (display-buffer-in-window): Don't undedicate the window if its
2741 buffer remains the same.
2742 Reported by Drew Adams <drew.adams@oracle.com>.
2743 (display-buffer-alist): Add choice for same-window macro
2744 specfier.
2745 (display-buffer): Mention special meaning of LABEL argument in
2746 doc-string. Fix quoting. Don't pop up a new frame even as
2747 fallback.
2748
2749 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
2750
2751 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2752 avoid deleting the current window in some cases (bug#8911).
2753
2754 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2755
2756 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2757 (Bug#8934)
2758
2759 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2760
2761 * net/network-stream.el (network-stream-open-starttls):
2762 Use built-in TLS support if `gnutls-available-p' is true.
2763 (network-stream-open-tls): Ditto.
2764
2765 2011-06-26 Leo Liu <sdl.web@gmail.com>
2766
2767 * register.el (registerv): New struct.
2768 (registerv-make): New function.
2769 (jump-to-register, describe-register-1, insert-register):
2770 Support the jump-func, print-func and insert-func slot of a registerv
2771 struct. (Bug#8415)
2772
2773 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
2774
2775 * vc/vc.el (vc-revert-show-diff): New defcustom.
2776 (vc-diff-internal): New arg specifying diff buffer.
2777 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2778 reuse an existing *vc-diff* buffer (Bug#8927).
2779
2780 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2781
2782 2011-06-26 Glenn Morris <rgm@gnu.org>
2783
2784 * progmodes/f90.el (f90-critical-indent): New option.
2785 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2786 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2787 (f90-mode): Doc fix.
2788 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2789 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2790 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2791 (f90-match-end): Handle block, critical.
2792
2793 2011-06-25 Glenn Morris <rgm@gnu.org>
2794
2795 * calendar/diary-lib.el (diary-included-files): Doc fix.
2796 (diary-include-files): New function, extracted from
2797 diary-include-other-diary-files and diary-mark-included-diary-files.
2798 (diary-include-other-diary-files, diary-mark-included-diary-files):
2799 Just call diary-include-files.
2800 (diary-mark-entries): Reset diary-included-files on first call.
2801
2802 * calendar/diary-lib.el (diary-mark-entries)
2803 (diary-mark-included-diary-files):
2804 Visit included diary-files in temp buffers.
2805
2806 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2807 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2808 (f90-start-block-re, f90-imenu-generic-expression)
2809 (f90-looking-at-program-block-start, f90-no-block-limit):
2810 Add support for submodules.
2811
2812 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2813 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
2814
2815 2011-06-25 Eli Zaretskii <eliz@gnu.org>
2816
2817 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2818 buffer-file-type before setting its value, to avoid disastrous
2819 global effects on decoding files for DOS/Windows systems. (Bug#8780)
2820
2821 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
2822
2823 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2824
2825 * ses.el (ses-unload-function):
2826 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2827
2828 * proced.el (proced-unload-function):
2829 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2830
2831 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2832
2833 * server.el (server-create-window-system-frame): Add parameters arg.
2834 (server-process-filter): Doc fix. Handle frame-parameters.
2835
2836 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
2837
2838 Fix bug#8730, bug#8781.
2839
2840 * loadhist.el (unload--set-major-mode): New function.
2841 (unload-feature): Use it.
2842
2843 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2844 (python-unload-function): New function.
2845
2846 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2847
2848 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2849
2850 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2851
2852 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2853 the candidates list.
2854
2855 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2858
2859 2011-06-23 Richard Stallman <rms@gnu.org>
2860
2861 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2862 (rmail-variables): Set next-error-move-function.
2863 (rmail-what-message): Take argument POS.
2864 (rmail-next-error-move): New function.
2865
2866 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2867
2868 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2869 messages for adjacent non-terminals.
2870
2871 2011-06-23 Richard Stallman <rms@gnu.org>
2872
2873 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
2874 (rmail-show-message-1): Preserve buffer modified flag.
2875 (rmail-start-mail): Don't specify use of rmail-mail-return;
2876 that's done by mail-bury now.
2877 (rmail-mail-return): Handle arg NEWBUF.
2878
2879 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
2880
2881 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2882 SIZE is a number.
2883
2884 2011-06-23 Martin Rudalics <rudalics@gmx.at>
2885
2886 * window.el (get-lru-window, get-mru-window)
2887 (get-largest-window): Never return a minibuffer window.
2888 (display-buffer-pop-up-window): Fix a bug that could lead to
2889 reusing the minibuffer window.
2890 (display-buffer): Pass original specifier argument to
2891 display-buffer-function instead of the normalized one.
2892 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2893
2894 2011-06-22 Leo Liu <sdl.web@gmail.com>
2895
2896 * minibuffer.el (completing-read-function)
2897 (completing-read-default): Move from minibuf.c
2898
2899 2011-06-22 Richard Stallman <rms@gnu.org>
2900
2901 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2902 to Rmail even if not started by a special Rmail command.
2903
2904 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2905 Copy the buffer currently showing just one message.
2906
2907 2011-06-22 Roland Winkler <winkler@gnu.org>
2908
2909 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2910 (bibtex-clean-entry): First delete the old key so that a
2911 customized algorithm for generating the new key does not get
2912 confused by the old key.
2913 (bibtex-url): Obey regexp of first step.
2914 (bibtex-search-entries): Do not use add-to-list with local
2915 list-var.
2916
2917 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2918
2919 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2920 stored a user name, then query for the password first, instead of
2921 waiting for SMTP to give an error message and the trying again.
2922
2923 2011-06-22 Lawrence Mitchell <wence@gmx.li>
2924
2925 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2926 BUFFER in call-process.
2927
2928 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2929
2930 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2931 QUIT twice.
2932 (smtpmail-try-auth-methods): Require user name and password from
2933 auth-source.
2934
2935 2011-06-22 Martin Rudalics <rudalics@gmx.at>
2936
2937 * window.el (display-buffer-default-specifiers)
2938 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2939 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
2940 (split-window): Normalize SIDE argument (Bug#8916).
2941
2942 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2943 (special-display-frame-alist, special-display-popup-frame):
2944 Remove duplicate declarations. These are now in window.el.
2945
2946 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2947
2948 * mail/smtpmail.el (smtpmail-via-smtp):
2949 Set :use-starttls-if-possible so that we always use STARTTLS if the
2950 server supports it. SMTP servers that support STARTTLS commonly
2951 require it.
2952
2953 * net/network-stream.el (network-stream-open-starttls): Support
2954 upgrading to STARTTLS always, even if we don't have built-in support.
2955 (open-network-stream): Add the :always-query-capabilies keyword.
2956
2957 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2958 upgrades with `open-network-stream', and rely solely on
2959 auth-source for all credentials. Big changes throughout the file,
2960 but in particular:
2961 (smtpmail-auth-credentials): Remove.
2962 (smtpmail-starttls-credentials): Remove.
2963 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2964 MAIL FROM, too.
2965
2966 * net/network-stream.el (network-stream-open-starttls):
2967 Provide support for client certificates both for external and built-in
2968 STARTTLS.
2969 (auth-source): Require.
2970 (open-network-stream): Document the :client-certificate keyword.
2971 (network-stream-certificate): Change cert-cert to cert and
2972 cert-key to key.
2973
2974 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
2975
2976 * net/tramp-cache.el (top): Don't load the persistency file when
2977 "emacs -Q" has been called.
2978
2979 2011-06-21 Tim Harper <timcharper@gmail.com>
2980
2981 * term/ns-win.el (ns-initialize-window-system):
2982 Set application-specific `ApplePressAndHoldEnabled' system
2983 resource to NO as it is not yet supported by the NS port.
2984
2985 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
2986
2987 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2988 (list-dynamic-libraries): ...not here.
2989
2990 2011-06-21 Leo Liu <sdl.web@gmail.com>
2991
2992 * subr.el (sha1): Implement sha1 using secure-hash.
2993
2994 2011-06-21 Martin Rudalics <rudalics@gmx.at>
2995
2996 * window.el (display-buffer-alist): In default value do not
2997 enforce searching a window on any but the selected frame.
2998 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2999 (display-buffer-select-window): Remove function.
3000 (display-buffer-in-window): When a window on another frame gets
3001 reused, do not select it any more but just raise its frame if
3002 necessary (Bug#8851) and (Bug#8856).
3003 (display-buffer-normalize-options): Handle pop-up-frames related
3004 options more faithfully.
3005 (pop-to-buffer): Don't rely on `display-buffer' selecting the
3006 window if it is on another frame.
3007 (display-buffer-alist, display-buffer-default-specifiers):
3008 Don't make new frame unsplittable by default.
3009 (display-buffer-normalize-argument): Fix doc-string typo and use
3010 'same-frame-other-window instead of 'other-window when associating
3011 with display-buffer-macro-specifiers.
3012
3013 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
3014
3015 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
3016 New functions.
3017 (5x5-mode-map, 5x5-mode-menu): Bind them.
3018 (5x5-draw-grid): Tweak the solver's rendering.
3019
3020 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
3023 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
3024
3025 2011-06-21 Drew Adams <drew.adams@oracle.com>
3026
3027 * menu-bar.el: Use function variable instead of switch-to-buffer.
3028 (menu-bar-select-buffer-function): New variable.
3029 (menu-bar-update-buffers): Use it (bug#8876).
3030
3031 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
3034 variable's status.
3035
3036 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
3037
3038 * x-dnd.el (x-dnd-version-from-flags)
3039 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
3040 and long as number (Bug#8899).
3041 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
3042
3043 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
3044
3045 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
3046 (completion-try-completion, completion-all-completions): Compute the
3047 metadata argument if it's missing; make it optional (bug#8795).
3048
3049 * wid-edit.el: Use lex-bind and move towards completion-at-point.
3050 (widget-complete): Use new :completion-function property.
3051 (widget-completions-at-point): New function.
3052 (default): Use :completion-function instead of :complete.
3053 (widget-default-completions): Rename from widget-default-complete;
3054 Rewrite.
3055 (widget-string-complete, widget-file-complete, widget-color-complete):
3056 Remove functions.
3057 (file, symbol, function, variable, coding-system, color):
3058 * international/mule-cmds.el (default-input-method, charset)
3059 (language-info-custom-alist):
3060 * cus-edit.el (face): Use new property :completions.
3061
3062 * progmodes/pascal.el (pascal-completions-at-point): New function.
3063 (pascal-mode): Use it.
3064 (pascal-mode-map): Use completion-at-point.
3065 (pascal-toggle-completions): Make obsolete.
3066 (pascal-complete-word, pascal-show-completions):
3067 * progmodes/octave-mod.el (octave-complete-symbol):
3068 Redefine as obsolete alias.
3069 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
3070 Signal absence of completion info for old Octave,
3071 (inferior-octave-complete): Redefine as obsolete alias.
3072 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
3073 (meta-completions-at-point): Rename from meta-complete-symbol and
3074 adapt it for use on completion-at-point-functions.
3075 (meta-common-mode): Use it.
3076 (meta-looking-at-backward, meta-match-buffer): Remove.
3077 (meta-complete-symbol): Redefine as obsolete alias.
3078 (meta-common-mode-map): Use completion-at-point.
3079 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
3080 (makefile-mode-map): Use completion-at-point.
3081 (makefile-completions-at-point): Rename from makefile-complete and
3082 adapt it for use on completion-at-point-functions.
3083 (makefile-mode): Use it.
3084 (makefile-complete): Redefine as obsolete alias.
3085
3086 2011-06-20 Deniz Dogan <deniz@dogan.se>
3087
3088 * net/rcirc.el: Delete trailing whitespaces once and for all.
3089
3090 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
3091
3092 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
3093
3094 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
3095
3096 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
3097
3098 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
3099
3100 2011-06-19 Martin Rudalics <rudalics@gmx.at>
3101
3102 * window.el (display-buffer-other-window-means-other-frame):
3103 Call display-buffer-normalize-alist.
3104 (display-buffer-normalize-specifiers-1): Rename to
3105 display-buffer-normalize-argument. New argument other-frame.
3106 Rewrite.
3107 (display-buffer-normalize-specifiers-2): Rename to
3108 display-buffer-normalize-options.
3109 (display-buffer-normalize-alist-1): New function.
3110 (display-buffer-normalize-specifiers-3): Rename to
3111 display-buffer-normalize-alist.
3112 Call display-buffer-normalize-alist-1.
3113 (display-buffer-normalize-options-inhibit): New variable.
3114 (display-buffer-normalize-specifiers): Rewrite calling
3115 display-buffer-normalize-alist,
3116 display-buffer-normalize-argument, and
3117 display-buffer-normalize-options. Don't call the latter if
3118 display-buffer-normalize-options-inhibit is non-nil.
3119 (frame-auto-delete): New option.
3120 (window-deletable-p): Use frame-auto-delete.
3121 (window-list-no-nils, window-state-ignored-parameters)
3122 (window-state-get-1, window-state-get, window-state-put-list)
3123 (window-state-put-1, window-state-put-2, window-state-put):
3124 New functions.
3125 (display-buffer-normalize-options): Move special-display-p group
3126 after pop-up-frame group (Bug#8851) and (Bug#8856).
3127
3128 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
3129
3130 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
3131 groups (Bug#8776).
3132 (rx-submatch-n): New function.
3133 (rx): Document it.
3134
3135 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
3136 (Bug#8768).
3137
3138 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
3139
3140 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
3141
3142 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
3143 anytime existing face settings are present (Bug#8889).
3144
3145 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
3146 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
3147 Remove unused argument.
3148
3149 2011-06-18 Martin Rudalics <rudalics@gmx.at>
3150
3151 * window.el (display-buffer-default-specifiers):
3152 Remove pop-up-frame. Add pop-up-window-min-height,
3153 pop-up-window-min-width, and another reuse-window specifier
3154 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
3155 (display-buffer-normalize-specifiers-2):
3156 Handle split-height-threshold and split-width-threshold also when
3157 pop-up-windows is unset. Add a reuse-window specifier for the
3158 case popping up a new window fails.
3159 (special-display-popup-frame): Remove double quoting.
3160 (display-buffer-normalize-specifiers-1): Fix thinko.
3161
3162 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
3163
3164 * shell.el (shell-completion-vars): Set pcomplete-termination-string
3165 according to comint-completion-addsuffix.
3166
3167 * pcomplete.el: Convert to lexical binding and fix bug#8819.
3168 (pcomplete-suffix-list): Mark as obsolete.
3169 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
3170 pcomplete-seen in the closure.
3171 (pcomplete-comint-setup): Setup completion-at-point as well.
3172 (pcomplete--entries): New function.
3173 (pcomplete--env-regexp): New var.
3174 (pcomplete-entries): Rewrite to work with partial-completion and
3175 without relying on pcomplete-suffix-list.
3176 (pcomplete-pare-list): Remove, unused.
3177
3178 2011-06-17 Martin Rudalics <rudalics@gmx.at>
3179
3180 * window.el (display-buffer-alist): Set pop-up-window-min-height
3181 and pop-up-window-min-width in default value. Reported by
3182 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
3183 other-window-means-other-frame.
3184 (display-buffer-macro-specifiers): Comment out entry for
3185 other-window specifier.
3186 (display-buffer-other-window-means-other-frame): New function.
3187 (display-buffer-normalize-specifiers-1): New arguments
3188 buffer-name and label. Treat other-window case specially.
3189 (display-buffer-normalize-specifiers-2): Treat other-window case
3190 specially.
3191 (display-buffer-normalize-specifiers-3): New function.
3192 (display-buffer-normalize-specifiers):
3193 Call display-buffer-normalize-specifiers-3.
3194
3195 2011-06-17 Martin Rudalics <rudalics@gmx.at>
3196
3197 * window.el (same-window-p): Fix two typos introduced when
3198 adding with-no-warnings.
3199 (display-buffer-normalize-specifiers-1): Don't check
3200 pop-up-frames for 'unset initialization.
3201 (display-buffer-normalize-specifiers-2): Major rewrite using
3202 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
3203 (pop-up-frames, display-buffer-reuse-frames)
3204 (display-buffer-mark-dedicated): Don't initialize to 'unset.
3205 Suggested by David Engster <deng@randomsample.de>.
3206 (even-window-heights): Initialize to 'unset.
3207 (display-buffer-alist-set): Handle new 'unset initializations.
3208 (display-buffer-macro-specifiers): Don't pop up a new frame in the
3209 other window case.
3210
3211 2011-06-16 Martin Rudalics <rudalics@gmx.at>
3212
3213 * window.el (display-buffer-normalize-specifiers-1):
3214 Respect current value of pop-up-frames for most reasonable values of
3215 second argument of display-buffer (Bug#8865).
3216 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
3217 (switch-to-buffer-other-window-same-frame)
3218 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
3219 Adams (Bug#8875).
3220 (display-buffer): Don't check noninteractive when calling
3221 display-buffer-pop-up-frame.
3222 (display-buffer-pop-up-frame): Never pop up a frame in
3223 noninteractive mode (Bug#8857).
3224 (enlarge-window, shrink-window): Don't report an error when the
3225 window can't be resized as requested (Bug#8862).
3226
3227 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3228
3229 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
3230
3231 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
3232
3233 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
3234
3235 2011-06-15 Alan Mackenzie <acm@muc.de>
3236
3237 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
3238 for declarators, disable knr checking to speed up for normal files.
3239 2: Refactor, replacing a sequence of nested if forms by a cond form.
3240
3241 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
3242
3243 * net/network-stream.el (open-network-stream): Add the keyword
3244 :always-query-capabilities for the case where you want to force a
3245 `plain' network connection, but the protocol still requires the
3246 capabilitiy command (i.e., SMTP and EHLO).
3247
3248 * subr.el (process-live-p): Rename from `process-alive-p' for
3249 consistency with other `-live-p' functions.
3250
3251 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3252
3253 * window.el (same-window-buffer-names, same-window-regexps)
3254 (special-display-frame-alist, special-display-popup-frame)
3255 (special-display-function, special-display-buffer-names)
3256 (special-display-regexps, pop-up-frame-alist)
3257 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3258 (pop-up-windows, split-window-preferred-function)
3259 (split-height-threshold, split-width-threshold, even-window-heights)
3260 (display-buffer-mark-dedicated): Don't encourage the use of
3261 display-buffer-alist from Elisp code.
3262
3263 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3264
3265 * progmodes/python.el (python-mode): Derive from prog-mode.
3266 * progmodes/ps-mode.el (ps-mode):
3267 * progmodes/mixal-mode.el (mixal-mode):
3268 * progmodes/cfengine.el (cfengine-mode):
3269 * progmodes/ld-script.el (ld-script-mode): Likewise.
3270
3271 2011-06-15 Martin Rudalics <rudalics@gmx.at>
3272
3273 * window.el (display-buffer-alist): Trim default value to avoid
3274 popping up a new frame (Bug#8857) or reusing an arbitrary window
3275 on another frame.
3276 (display-buffer): Do not fall back on popping up a new frame in
3277 batch mode (Bug#8857).
3278
3279 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
3280
3281 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3282 (custom-theme-summary): New function.
3283 (customize-themes): Use it.
3284
3285 2011-06-13 Glenn Morris <rgm@gnu.org>
3286
3287 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3288
3289 2011-06-13 Martin Rudalics <rudalics@gmx.at>
3290
3291 * help.el (help-window): Remove variable.
3292 (help-window-point-marker, temp-buffer-max-height)
3293 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3294 (help-print-return-message): Don't set help-window.
3295 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3296 (help-window-setup-finish): Remove.
3297 (help-window-display-message, help-window-setup)
3298 (with-help-window): Major rewrite based on new
3299 display-buffer-window variable.
3300
3301 * help-mode.el (help-mode-finish): Remove help-window related
3302 code.
3303
3304 * view.el (view-exits-all-viewing-windows): Remove reference to
3305 view-return-to-alist in doc-string.
3306 (view-return-to-alist): Make obsolete.
3307 (view-buffer): Call pop-to-buffer-same-window and remove
3308 undo-window code.
3309 (view-buffer-other-window): Call pop-to-buffer-other-window and
3310 simplify code. Ignore second argument.
3311 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3312 simplify code. Ignore second argument.
3313 (view-return-to-alist-update): Make obsolete.
3314 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3315 Rewrite using quit-restore window parameters.
3316 (view-mode-exit): Rename second argument to EXIT-ONLY.
3317 Rewrite using quit-restore-window.
3318 (View-exit, View-exit-and-edit, View-leave, View-quit)
3319 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3320 appropriate arguments.
3321 (view-end-message): Use quit-restore window parameter.
3322
3323 * window.el (display-buffer-function): Rewrite doc-string.
3324 (display-buffer-window, display-buffer-alist): New variables.
3325 (display-buffer-split-specifiers)
3326 (display-buffer-side-specifiers)
3327 (display-buffer-macro-specifiers): New constants.
3328 (display-buffer-even-window-sizes, display-buffer-set-height)
3329 (display-buffer-set-width, display-buffer-select-window)
3330 (display-buffer-in-window, display-buffer-reuse-window)
3331 (display-buffer-split-window-1, display-buffer-split-window)
3332 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3333 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3334 (display-buffer-in-side-window, normalize-buffer-to-display)
3335 (display-buffer-normalize-specifiers-1)
3336 (display-buffer-normalize-specifiers-2)
3337 (display-buffer-normalize-specifiers, display-buffer-frame):
3338 New functions.
3339 (display-buffer): Major rewrite.
3340 (display-buffer-other-window, display-buffer-other-frame)
3341 (pop-to-buffer, switch-to-buffer-other-window)
3342 (switch-to-buffer-other-frame): Rewrite.
3343 (display-buffer-same-window, display-buffer-same-frame)
3344 (display-buffer-same-frame-other-window)
3345 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3346 (pop-to-buffer-other-window)
3347 (pop-to-buffer-same-frame-other-window)
3348 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3349 (switch-to-buffer-other-window-same-frame): New functions.
3350 (same-window-p, special-display-p): Rewrite disabling warnings.
3351 Make obsolete.
3352 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3353 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3354 Make obsolete
3355 (same-window-buffer-names, same-window-regexps)
3356 (special-display-frame-alist, special-display-popup-frame)
3357 (special-display-function, special-display-buffer-names)
3358 (special-display-regexps, pop-up-frame-alist)
3359 (pop-up-frame-function, split-window-preferred-function)
3360 (split-height-threshold, split-width-threshold)
3361 (even-window-heights): Make obsolete.
3362
3363 2011-06-12 Glenn Morris <rgm@gnu.org>
3364
3365 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
3366 Misc simplifications.
3367
3368 2011-06-12 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (window-safely-shrinkable-p): Restore function which
3371 was inadvertently removed in change from 2011-06-11. Declare as
3372 obsolete.
3373
3374 * calendar/calendar.el (calendar-generate-window):
3375 Use window-iso-combined-p instead of combination of one-window-p and
3376 window-safely-shrinkable-p.
3377
3378 2011-06-12 Glenn Morris <rgm@gnu.org>
3379
3380 * progmodes/fortran.el (fortran-mode-syntax-table):
3381 * progmodes/f90.el (f90-mode-syntax-table):
3382 Set % to punctuation. (Bug#8820)
3383 (f90-find-tag-default): Remove, no longer needed.
3384
3385 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
3386
3387 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3388
3389 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
3390
3391 * image.el (image-animated-p): Return animation delay in seconds.
3392 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3393 (image-animate-timeout): Remove DELAY argument. Don't assume
3394 every subimage has the same delay; get it from image-animated-p.
3395 (image-animate): Caller changed.
3396
3397 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
3398
3399 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3400 to ignored backtrace functions.
3401
3402 2011-06-11 Glenn Morris <rgm@gnu.org>
3403
3404 * calendar/appt.el (appt-disp-window-function): Doc fix.
3405 (appt-check): Handle overlapping appointments. (Bug#8337)
3406
3407 2011-06-11 Martin Rudalics <rudalics@gmx.at>
3408
3409 * window.el (window-tree-1, window-tree): New functions, moving
3410 the latter to window.el.
3411 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3412 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3413 (bw-refresh-edges): Remove.
3414 (balance-windows-1, balance-windows-2): New functions.
3415 (balance-windows): Rewrite in terms of window tree functions,
3416 balance-windows-1 and balance-windows-2.
3417 (bw-adjust-window): Remove.
3418 (balance-windows-area-adjust): New function with functionality of
3419 bw-adjust-window but using resize-window.
3420 (set-window-text-height): Rewrite doc-string.
3421 Use normalize-live-window and resize-window.
3422 (enlarge-window-horizontally, shrink-window-horizontally):
3423 Rename argument to DELTA.
3424 (window-buffer-height): New function.
3425 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
3426 Rewrite using new window resize routines.
3427 (kill-buffer-and-window, mouse-autoselect-window-select):
3428 Use ignore-errors instead of condition-case.
3429 (quit-window): Call delete-frame instead of delete-windows-on
3430 for the only buffer on frame.
3431
3432 2011-06-10 Martin Rudalics <rudalics@gmx.at>
3433
3434 * loadup.el (top-level): Load window before files for the sake
3435 of replace-buffer-in-windows.
3436
3437 * files.el (read-buffer-to-switch)
3438 (switch-to-buffer-other-window)
3439 (switch-to-buffer-other-frame, display-buffer-other-frame):
3440 Move to window.el.
3441
3442 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
3443 (previous-buffer): Move to window.el.
3444
3445 * bindings.el (unbury-buffer): Move to window.el.
3446
3447 * window.el (delete-other-windows-vertically): Move after
3448 definition of delete-other-windows.
3449 (other-window, delete-windows-on, replace-buffer-in-windows):
3450 Move here from window.c.
3451 (record-window-buffer, unrecord-window-buffer)
3452 (set-window-buffer-start-and-point, switch-to-prev-buffer)
3453 (switch-to-next-buffer): New functions.
3454 (get-next-valid-buffer, last-buffer, next-buffer): Move here
3455 from simple.el. Call switch-to-next-buffer.
3456 (previous-buffer): Move here from simple.el.
3457 Call switch-to-prev-buffer.
3458 (bury-buffer): Move here from buffer.c. Switch to previous
3459 buffer when window cannot be deleted.
3460 (unbury-buffer): Move here from bindings.el.
3461 (ctl-x-map): Move binding for other-window from window.c to
3462 here.
3463 (read-buffer-to-switch, switch-to-buffer-other-window)
3464 (switch-to-buffer-other-frame): Move here from files.el.
3465 (normalize-buffer-to-switch-to): New functions.
3466 (switch-to-buffer): Move here from buffer.c.
3467 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
3468
3469 2011-06-10 Martin Rudalics <rudalics@gmx.at>
3470
3471 * window.el (window-min-height, window-min-width): Move here
3472 from window.c. Add defcustoms and rewrite doc-strings.
3473 (resize-mini-window, resize-window): New functions.
3474 (adjust-window-trailing-edge, enlarge-window, shrink-window):
3475 Move here from window.c.
3476 (maximize-window, minimize-window): New functions.
3477 (delete-window, delete-other-windows, split-window): Move here
3478 from window.c.
3479 (window-split-min-size): New function.
3480 (split-window-keep-point): Mention split-window-above-each-other
3481 instead of split-window-vertically.
3482 (split-window-above-each-other, split-window-vertically):
3483 Rename split-window-vertically to split-window-above-each-other and
3484 provide defalias for old definition.
3485 (split-window-side-by-side, split-window-horizontally): Rename
3486 split-window-horizontally to split-window-side-by-side and provide
3487 defalias for the old definition.
3488 (ctl-x-map): Move bindings for delete-window,
3489 delete-other-windows and enlarge-window here from window.c.
3490 Replace bindings for split-window-vertically and
3491 split-window-horizontally by bindings for
3492 split-window-above-each-other and split-window-side-by-side.
3493
3494 * cus-start.el (all): Remove entries for window-min-height and
3495 window-min-width. Add entries for window-splits and
3496 window-nest.
3497
3498 2011-06-09 Glenn Morris <rgm@gnu.org>
3499
3500 * calendar/appt.el (appt-mode-line): New function.
3501 (appt-check, appt-disp-window): Use it.
3502
3503 * files.el (hack-one-local-variable-eval-safep):
3504 Allow minor-modes with explicit +/-1 arguments.
3505
3506 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
3507
3508 * term/xterm.el (xterm): Add defgroup.
3509 (xterm-extra-capabilities): Add defcustom to supply known xterm
3510 capabilities, skip querying them, or query them (default).
3511 (terminal-init-xterm): Use it.
3512 (terminal-init-xterm-modify-other-keys): New function to set up
3513 modifyOtherKeys support to simplify `terminal-init-xterm'.
3514
3515 2011-06-09 Martin Rudalics <rudalics@gmx.at>
3516
3517 * window.el (resize-window-reset, resize-window-reset-1)
3518 (resize-subwindows-skip-p, resize-subwindows-normal)
3519 (resize-subwindows, resize-other-windows, resize-this-window)
3520 (resize-root-window, resize-root-window-vertically)
3521 (window-deletable-p, window-or-subwindow-p)
3522 (frame-root-window-p): New functions.
3523
3524 2011-06-09 Glenn Morris <rgm@gnu.org>
3525
3526 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
3527 (ange-ftp-get-files): Use it.
3528
3529 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3530
3531 * mail/sendmail.el (mail-recover-1, mail-recover):
3532 * files.el (recover-file, recover-session):
3533 Handle dired-listing-switches not being just a single short option.
3534
3535 2011-06-09 Glenn Morris <rgm@gnu.org>
3536
3537 * calendar/appt.el (appt-display-message, appt-disp-window):
3538 Handle lists of appointments.
3539
3540 2011-06-08 Martin Rudalics <rudalics@gmx.at>
3541
3542 * window.el (one-window-p): Move down in code.
3543 Rewrite doc-string.
3544 (window-current-scroll-bars): Rewrite doc-string.
3545 Normalize live window argument.
3546 (walk-windows, get-window-with-predicate, count-windows):
3547 Rewrite doc-string. Use window-list-1.
3548 (window-in-direction-2, window-in-direction, get-mru-window):
3549 New functions.
3550
3551 2011-06-08 Reuben Thomas <rrt@sc3d.org>
3552
3553 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
3554 Doc fix (Bug#8713).
3555
3556 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
3557
3558 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
3559
3560 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
3561
3562 * loadhist.el (unload-feature-special-hooks):
3563 Add `comint-output-filter-functions'.
3564
3565 2011-06-08 Ivan Kanis <gnu@kanis.fr>
3566
3567 * calendar/appt.el (appt-check): Move some initializations into the let.
3568
3569 2011-06-08 Martin Rudalics <rudalics@gmx.at>
3570
3571 * window.el (window-height): Defalias to window-total-height.
3572 (window-width): Defalias to window-body-width.
3573
3574 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
3575
3576 * image-mode.el (image-toggle-animation): New command.
3577 (image-mode-map): Bind it to RET.
3578 (image-mode): Update message.
3579 (image-toggle-display-image): Avoid a spurious cache flush.
3580 (image-transform-rotation): Doc fix.
3581 (image-transform-properties): Return quickly in the normal case.
3582 (image-animate-loop): Rename from image-animate-max-time.
3583
3584 * image.el (image-animate-max-time): Move to image-mode.el.
3585 (create-animated-image): Remove unnecessary function.
3586 (image-animate): Rename from image-animate-start. New arg.
3587 (image-animate-stop): Remove; just use image-animate-timer.
3588 (image-animate-timer): Use car-safe.
3589 (image-animate-timeout): Rename argument.
3590
3591 2011-06-07 Martin Rudalics <rudalics@gmx.at>
3592
3593 * window.el (get-lru-window, get-largest-window): Move here from
3594 window.c. Rename first argument to ALL-FRAMES.
3595 Rephrase doc-strings.
3596 (get-buffer-window-list): Rewrite using window-list-1.
3597 Rephrase doc-string.
3598 (window-safe-min-height, window-safe-min-width): New constants.
3599 (window-size-ignore, window-min-size, window-min-size-1)
3600 (window-sizable, window-sizable-p, window-size-fixed-1)
3601 (window-size-fixed-p, window-min-delta-1, window-min-delta)
3602 (window-max-delta-1, window-max-delta, window-resizable)
3603 (window-resizable-p, window-total-height, window-total-width)
3604 (window-body-width): New functions.
3605 (window-full-height-p, window-full-width-p): Rewrite using
3606 window-total-size.
3607 (window-body-height): Rewrite using window-body-size.
3608
3609 2011-06-06 Martin Rudalics <rudalics@gmx.at>
3610
3611 * window.el (window-right, window-left, window-child)
3612 (window-child-count, window-last-child, window-any-p)
3613 (normalize-live-buffer, normalize-live-frame)
3614 (normalize-any-window, normalize-live-window)
3615 (window-iso-combination-p, window-iso-combined-p)
3616 (window-iso-combinations)
3617 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3618 (windows-with-parameter, window-with-parameter)
3619 (window-atom-root, make-window-atom, window-atom-check-1)
3620 (window-atom-check, window-side-check, window-check):
3621 New functions.
3622 (ignore-window-parameters, window-sides, window-sides-vertical)
3623 (window-sides-slots): New variables.
3624 (window-size-fixed): Move down in code. Minor doc-string fix.
3625
3626 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3627
3628 * comint.el (comint-dynamic-complete-as-filename)
3629 (comint-dynamic-complete-filename): Correctly call
3630 completion-in-region.
3631
3632 2011-06-05 Deniz Dogan <deniz@dogan.se>
3633
3634 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3635 in last change.
3636
3637 2011-06-05 Deniz Dogan <deniz@dogan.se>
3638
3639 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3640 (rcirc): Use it to prompt for encryption.
3641
3642 2011-06-05 Roland Winkler <winkler@gnu.org>
3643
3644 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3645 (bibtex-search-entries): New command bound to C-c C-a.
3646 (bibtex-display-entries): New function.
3647
3648 2011-06-05 Roland Winkler <winkler@gnu.org>
3649
3650 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3651 (bibtex-insert-kill): After yanking insert newline if necessary.
3652 (bibtex-initialize): Call bibtex-string-files-init only once.
3653 (bibtex-mode): Do not call easy-menu-add.
3654 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3655 (bibtex-yank): Set arg properly if nil.
3656
3657 2011-06-05 Roland Winkler <winkler@gnu.org>
3658
3659 * textmodes/bibtex.el (bibtex-search-entry-globally):
3660 New variable.
3661 (bibtex-search-entry): Use it.
3662
3663 2011-06-05 Roland Winkler <winkler@gnu.org>
3664
3665 * textmodes/bibtex.el (bibtex-entry-format): New option
3666 sort-fields.
3667 (bibtex-format-entry, bibtex-reformat): Honor this option.
3668 (bibtex-parse-entry): Return fields in proper order.
3669
3670 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
3671
3672 * doc-view.el (doc-view-remove-if): Move computation of result out
3673 of `dolist' to silence misleading lexical-binding warning.
3674
3675 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
3676
3677 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3678 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3679
3680 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
3681
3682 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3683 "SunOS 5.10".
3684
3685 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
3686
3687 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3688 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3689 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3690 (tramp-parse-putty):
3691 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3692 (tramp-completion-function-alist-ssh)
3693 (tramp-completion-function-alist-telnet)
3694 (tramp-completion-function-alist-su)
3695 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3696 cookie.
3697
3698 * net/tramp-ftp.el:
3699 * net/tramp-sh.el:
3700 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3701 load "tramp.el" `tramp-set-completion-function'.
3702
3703 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3704
3705 * shell.el: Require and use pcomplete.
3706 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3707 (shell-completion-vars): Set pcomplete-default-completion-function.
3708
3709 2011-06-04 Deniz Dogan <deniz@dogan.se>
3710
3711 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3712 `memq' (Bug#8799).
3713
3714 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3715
3716 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3717
3718 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3721 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3722 * vc/log-view.el (log-view-beginning-of-defun):
3723 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3724 (smerge-refine-forward, smerge-refine-chopup-region):
3725 Silence warning for unused `dotimes' counter variables.
3726
3727 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * net/tramp.el (tramp-with-progress-reporter): Rename from
3730 with-progress-reporter. Use `declare'.
3731 * net/tramp-smb.el:
3732 * net/tramp-sh.el:
3733 * net/tramp-gvfs.el: Update all uses.
3734
3735 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3736
3737 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3738 buffer isn't killed before making it current.
3739
3740 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3741
3742 Silence various byte-compiler warnings.
3743 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3744 `access-type' and new obsolescence format.
3745 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3746 new format.
3747 (byte-compile-check-variable): New `access-type' argument.
3748 Only warn if the access-type is obsolete.
3749 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3750 (byte-compile-variable-set): Adjust callers.
3751 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3752 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3753 setting it as obsolete.
3754 * simple.el (minibuffer-completing-symbol):
3755 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3756 access as obsolete.
3757 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3758 obsolete yet.
3759 * international/quail.el (quail-mouse-choose-completion): Remove unused
3760 code referring to obsolete var.
3761 (quail-choose-completion-string): Remove.
3762 * server.el (server-clients-with, server-kill-buffer-query-function)
3763 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3764 * proced.el (proced-send-signal):
3765 * emacs-lisp/lisp.el (lisp-complete-symbol):
3766 Replace completion-annotate-function with completion-extra-properties.
3767
3768 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3769
3770 * simple.el (goto-line): Use read-number.
3771 (overriding-map-is-bound): Remove.
3772 (saved-overriding-map): Change default.
3773 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3774 Take the map as argument.
3775 (universal-argument, negative-argument, digit-argument): Use it.
3776 (restore-overriding-map): Adjust.
3777 (do-auto-fill): Use fill-forward-paragraph.
3778 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3779
3780 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3781 (minibuffer-inactive-mode): New major mode.
3782 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3783 the *Messages* buffer" hack.
3784 (mouse-popup-menubar): Don't burp if the event is a normal key.
3785
3786 Miscellaneous tweaks.
3787 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3788 lexical scoping as in subr.el's dolist and dotimes.
3789 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3790 Silence compiler warning.
3791 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3792 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3793 * international/ccl.el (ccl-compile): Trivial simplification.
3794 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3795 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3796 `printflag' argument.
3797 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3798 Purecopy the whole obsolescence data.
3799
3800 2011-06-01 Leo Liu <sdl.web@gmail.com>
3801
3802 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3803 improve doc-string as suggested by Marco Pessotto
3804 <melmothx@gmail.com>.
3805 (rcirc-print): Fix last change.
3806
3807 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3808
3809 * minibuffer.el (complete-with-action): Return nil for the metadata and
3810 boundaries of non-functional tables.
3811 (completion-table-dynamic): Return nil for the metadata.
3812 (completion-table-with-terminator): Add default case, using
3813 complete-with-action.
3814 (completion--metadata): New function.
3815 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3816 to try and avoid pathological performance problems.
3817 (completion--embedded-envvar-table): Return `category' metadata.
3818
3819 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3820
3821 * subr.el (process-alive-p): New tiny convenience function.
3822
3823 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3824
3825 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3826 content but also its previous major mode.
3827
3828 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
3829
3830 * debug.el (debug): Restore the previous content of the
3831 *Backtrace* buffer when we exit with C-M-c.
3832
3833 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3834
3835 * minibuffer.el: Add metadata method to completion tables.
3836 (completion-category-overrides): New defcustom.
3837 (completion-metadata, completion--field-metadata)
3838 (completion-metadata-get, completion--styles)
3839 (completion--cycle-threshold): New functions.
3840 (completion-try-completion, completion-all-completions):
3841 Add `metadata' argument to choose completion-styles.
3842 (completion--do-completion): Use metadata to choose cycling.
3843 (completion-all-sorted-completions): Use metadata for sorting.
3844 Remove :completion-cycle-penalty which is not needed any more.
3845 (completion--try-word-completion): Add `metadata' argument.
3846 (minibuffer-completion-help): Check metadata for annotation function
3847 and sorting.
3848 (completion-file-name-table): Return `category' metadata.
3849 (minibuffer-completing-file-name): Make obsolete.
3850 * simple.el (minibuffer-completing-symbol): Make obsolete.
3851 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3852 completion-try-completion.
3853
3854 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3857
3858 2011-05-30 Leo Liu <sdl.web@gmail.com>
3859
3860 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
3861 (rcirc-print): Decode all incoming messages (bug#8744).
3862 (rcirc-decode-coding-system): Allow value nil for automatic coding
3863 system detection.
3864
3865 2011-06-01 Glenn Morris <rgm@gnu.org>
3866
3867 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3868
3869 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3870
3871 * image.el (image-animate-max-time): Allow nil and t values.
3872 Default to nil.
3873 (create-animated-image): Doc fix.
3874 (image-animate-start): Remove second arg; just use
3875 image-animate-max-time.
3876 (image-animate-timeout): Doc fix. Args changed.
3877
3878 * image-mode.el (image-toggle-display-image): Ensure that the
3879 image spec passed to the animate timer is the same object as in
3880 the the buffer's display property (Bug#6981).
3881 (image-transform-properties): Doc fix.
3882
3883 * image.el (image-animate-max-time): Default to nil.
3884
3885 2011-05-29 Martin Rudalics <rudalics@gmx.at>
3886
3887 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3888 entire buffer list (Bug#8184).
3889
3890 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3891
3892 * image.el (imagemagick-types-inhibit)
3893 (imagemagick-register-types): Doc fix.
3894
3895 2011-05-29 Deniz Dogan <deniz@dogan.se>
3896
3897 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3898 default.
3899
3900 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
3901
3902 * select.el: Don't perform clipboard-manager saving in hooks;
3903 leave the hooks empty.
3904
3905 2011-05-28 Leo Liu <sdl.web@gmail.com>
3906
3907 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3908 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3909 (occur-edit-mode): New major mode (Bug#8463).
3910 (occur-after-change-function): New function.
3911 (occur-engine): Give Occur tags a read-only property.
3912
3913 2011-05-28 Kevin Ryde <user42@zip.com.au>
3914
3915 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3916
3917 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3918
3919 * bindings.el (help-echo): Make the initial non-indicator dash
3920 empty on graphical terminals (Bug#7295).
3921
3922 * files.el (auto-mode-alist): Move config rule after the
3923 in-stripping one (Bug#8547).
3924
3925 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3926
3927 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3928 setting (Bug#8740).
3929
3930 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3931
3932 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3933 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3934 (Bug#8539).
3935
3936 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3937
3938 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3939
3940 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3941
3942 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3943 (hs-hide-block-at-point, hs-find-block-beginning)
3944 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3945 (Bug#8279).
3946
3947 2011-05-28 Glenn Morris <rgm@gnu.org>
3948
3949 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3950
3951 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
3952
3953 * help-fns.el (describe-function-1): If the function is a derived
3954 major mode, print the parent mode.
3955
3956 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3957 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3958
3959 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3960
3961 * minibuffer.el (completion--capf-wrapper): Check applicability before
3962 retuning non-nil for non-exclusive completion data.
3963 * progmodes/etags.el (tags-completion-at-point-function):
3964 * info-look.el (info-lookup-completions-at-point): Mark as
3965 non-exclusive.
3966 (info-complete): Adjust accordingly.
3967
3968 * info-look.el: Convert to lexical-binding and completion-at-point.
3969 (info-lookup-completions-at-point): New function.
3970 (info-complete): Use it and completion-in-region.
3971
3972 2011-05-28 Drew Adams <drew.adams@oracle.com>
3973
3974 * isearch.el: Let M-e start with point at the first mismatched char.
3975 (isearch-fail-pos): New function.
3976 (isearch-edit-string): Use it.
3977
3978 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3979
3980 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3981
3982 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3983
3984 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3985 traversal functions for avl-trees.
3986 (avl-tree--stack): New struct.
3987 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3988 (avl-tree-enter): Add optional `updatefun' arg.
3989 (avl-tree--do-enter): Add optional `updatefun' arg.
3990 Change return value.
3991 (avl-tree-delete): Add optional `test' and `nilflag' args.
3992 (avl-tree--do-delete): Add `test' and `nilflag' args.
3993 Change return value.
3994 (avl-tree-member): Add optional `nilflag'
3995 (avl-tree-member-p): New function.
3996 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3997 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3998 (avl-tree-stack-empty-p): New functions.
3999
4000 2009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
4001
4002 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
4003 avl-tree--del-balance1 and make it work both ways.
4004 (avl-tree--del-balance2): Remove.
4005 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
4006 make it work both ways.
4007 (avl-tree--enter-balance2): Remove.
4008 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
4009 New macros.
4010 (avl-tree--mapc, avl-tree-map): Add direction argument.
4011
4012 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
4013
4014 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
4015
4016 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
4017
4018 * select.el: Support clipboard managers with built-in function
4019 x-clipboard-manager-save, via delete-frame-functions and
4020 kill-emacs-hook.
4021 (xselect-convert-to-targets): Add MULTIPLE target to list.
4022 (xselect-convert-to-save-targets): New function.
4023
4024 2011-05-27 Kenichi Handa <handa@m17n.org>
4025
4026 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
4027 let-binding rfc2047-encode-encoded-words to nil.
4028
4029 2011-05-27 Glenn Morris <rgm@gnu.org>
4030
4031 * mail/emacsbug.el: Don't require url-util.
4032
4033 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
4034
4035 * files.el (set-auto-mode):
4036 Also respect mode: entries at the end of the file. (Bug#8586)
4037
4038 2011-05-26 Glenn Morris <rgm@gnu.org>
4039
4040 * files.el (hack-local-variables-prop-line, hack-local-variables):
4041 Downcase mode names, as seems to be traditional.
4042 (hack-local-variables, hack-local-variables-apply): Doc fixes.
4043
4044 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
4045 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
4046
4047 2011-05-25 Julien Danjou <julien@danjou.info>
4048
4049 * textmodes/rst.el (rst-define-level-faces): Do not define face
4050 symbol if it is already defined.
4051
4052 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4053
4054 * play/5x5.el (5x5-new-game, 5x5-randomize):
4055 Reset 5x5-solver-output to nil when a new grid is cast.
4056 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
4057 these debugging traces, as defmacro breaks the compiled code.
4058
4059 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
4060
4061 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
4062
4063 2011-05-24 Leo Liu <sdl.web@gmail.com>
4064
4065 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
4066 (vc-bzr-sha1): Adapt.
4067
4068 * sha1.el: Remove. Function `sha1' is now builtin.
4069
4070 * bindings.el: Provide sha1 feature.
4071
4072 2011-05-24 Kenichi Handa <handa@m17n.org>
4073
4074 * mail/sendmail.el: Require `rfc2047'.
4075 (mail-insert-from-field): Do not perform RFC2047 encoding.
4076 (mail-encode-header): New function.
4077 (sendmail-send-it): Set buffer-file-coding-system of the work
4078 buffer to the return value of select-message-coding-system.
4079 Call mail-encode-header.
4080
4081 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
4082
4083 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
4084
4085 * mail/supercite.el (sc-default-cite-frame):
4086 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
4087
4088 2011-05-24 Glenn Morris <rgm@gnu.org>
4089
4090 * progmodes/python.el (brm-menu): Declare.
4091
4092 * emulation/viper.el (viper-set-hooks): Declare.
4093
4094 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
4095 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
4096 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
4097 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
4098 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
4099 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
4100
4101 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
4102
4103 Add an :exit-function for completion-at-point.
4104
4105 * minibuffer.el (completion--done): New fun.
4106 (completion--do-completion): Use it. New arg `expect-exact'.
4107 (minibuffer-complete, minibuffer-complete-word): Don't output message,
4108 since completion--do-completion does it for us now.
4109 (minibuffer-force-complete): Use completion--done and
4110 completion--replace. Handle sole-completion case with more care.
4111 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
4112 (completion-extra-properties): New var.
4113 (completion-annotate-function): Make obsolete.
4114 (minibuffer-completion-help): Adjust accordingly.
4115 Use completion-list-insert-choice-function.
4116 (completion-at-point, completion-help-at-point):
4117 Bind completion-extra-properties.
4118 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
4119 * simple.el (completion-list-insert-choice-function): New var.
4120 (completion-setup-function): Preserve it.
4121 (choose-completion): Pay attention to it, shuffle the code a bit.
4122 (choose-completion-string): New arg `insert-function'.
4123
4124 * textmodes/bibtex.el: Convert to lexical binding.
4125 (bibtex-mode-map): Use completion-at-point.
4126 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
4127 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
4128 (bibtex-complete): Define as obsolete alias.
4129 (bibtex-complete-internal): Remove.
4130 (bibtex-format-entry): Remove unused sub-group in regexp.
4131 * shell.el (shell--command-completion-data)
4132 (shell-environment-variable-completion):
4133 * pcomplete.el (pcomplete-completions-at-point):
4134 * comint.el (comint--complete-file-name-data): Use :exit-function
4135 instead of completion-table-with-terminator so it also works for
4136 choose-completion.
4137
4138 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4139
4140 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
4141
4142 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
4143 (bug#8710).
4144
4145 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
4146
4147 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
4148
4149 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
4150 customization variable and implement: If non-nil, auto-fill will
4151 be inhibited while on topic's header line.
4152
4153 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
4154
4155 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
4156 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
4157 always have a solution in grid size = 5 cases.
4158 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
4159 (5x5-solver-output, 5x5-log-buffer): New vars.
4160 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
4161 Make these variables buffer local to achieve 5x5 multi-session-ness.
4162 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
4163 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
4164 (5x5-solve-suggest): New funs.
4165 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
4166 randomize a grid so that we ensure that there is always a solution.
4167 (5x5-make-random-grid): Allow other movement than flipping.
4168
4169 2011-05-23 Kevin Ryde <user42@zip.com.au>
4170
4171 * emacs-lisp/advice.el (ad-read-advised-function):
4172 Use `function-called-at-point' as the default default, if it has
4173 advice and passes PREDICATE.
4174
4175 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
4178 byte-compile-lambda if it's actually a lambda.
4179
4180 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
4181 Fix function quoting. Use backquote better.
4182
4183 2011-05-22 Yuanle Song <sylecn@gmail.com>
4184
4185 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
4186 matching (Bug#8516).
4187
4188 2011-01-22 Jari Aalto <jari.aalto@cante.net>
4189
4190 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
4191 different face (Bug#8178).
4192
4193 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
4194
4195 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
4196 defface (Bug#8144).
4197
4198 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
4201 funcall as well (bug#8712). Warn when performing those conversions.
4202 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
4203
4204 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
4205
4206 2011-05-22 Glenn Morris <rgm@gnu.org>
4207
4208 * files.el (hack-local-variables-prop-line): Small simplifications.
4209 (hack-local-variables, hack-local-variables-prop-line):
4210 If MODE-ONLY, return the mode, rather than just `t'.
4211
4212 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
4215
4216 2011-05-21 Glenn Morris <rgm@gnu.org>
4217
4218 * files.el (hack-local-variables-prop-line, hack-local-variables):
4219 If only interested in the mode, don't bother doing the other stuff.
4220
4221 * image-mode.el (image-after-revert-hook):
4222 Redraw all frames on which the image is visible. (Bug#8567)
4223
4224 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
4225
4226 * wid-edit.el (widget-checklist-match-inline):
4227 Fix 2011-04-19 change. (Bug#8649)
4228
4229 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
4232 Also allow singlespace after single-letter capitals followed by a dot.
4233
4234 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
4235 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
4236
4237 2011-05-20 Nix <nix@esperi.org.uk>
4238
4239 * files.el (basic-save-buffer-2):
4240 Fix handling of break-hardlink-on-save with non-existent files.
4241
4242 2011-05-19 Deniz Dogan <deniz@dogan.se>
4243
4244 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
4245 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
4246
4247 2011-05-19 Glenn Morris <rgm@gnu.org>
4248
4249 * progmodes/f90.el (f90-type-def-re):
4250 Handle "type, bind(c)". (Bug#8691)
4251
4252 * emacs-lisp/autoload.el (batch-update-autoloads):
4253 Set autoload-excludes by parsing loadup.el rather than Makefiles.
4254
4255 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
4256
4257 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4258 property for the correct connection in case of multihops.
4259
4260 2011-05-18 Glenn Morris <rgm@gnu.org>
4261
4262 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
4263 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4264
4265 Rationalize calendar handling of day and month abbrev-arrays.
4266 * calendar/calendar.el (calendar-customized-p): New function.
4267 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4268 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4269 Add :set function.
4270 (calendar-abbrev-length, calendar-day-abbrev-array)
4271 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4272 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4273 Elements may no longer be nil.
4274 (calendar-day-name, calendar-month-name):
4275 Update for changed nature of abbrev arrays.
4276 * calendar/diary-lib.el (diary-name-pattern):
4277 Update for changed nature of abbrev arrays.
4278 (diary-mark-entries-1): Update calendar-make-alist calls.
4279 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4280 * calendar/cal-html.el (cal-html-day-abbrev-array):
4281 Simply inherit from calendar-day-abbrev-array.
4282
4283 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4284
4285 * progmodes/grep.el (grep-mode): Disable default
4286 compilation-directory-matcher setting (bug#8684).
4287
4288 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
4289
4290 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4291 instead of "head" and "tail". There were problems with SunOS 5.9,
4292 and it performs better.
4293
4294 2011-05-17 Glenn Morris <rgm@gnu.org>
4295
4296 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4297
4298 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4299 Replace obsolete function.
4300
4301 * shell.el (pcomplete-parse-arguments-function): Declare.
4302
4303 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4304 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4305 (appt-check): Doc fixes.
4306 (appt-disp-window-function, appt-delete-window-function):
4307 Remove needless special case in custom :type.
4308 (appt-display-count): Default to 0, not nil.
4309 (appt-check): Reset appt-display-count to 0, not nil.
4310
4311 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
4312
4313 * progmodes/python.el (python-font-lock-keywords):
4314 Add the Python 3.X keyword "nonlocal" (bug#8639).
4315
4316 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4317
4318 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4319
4320 2011-05-16 Kevin Ryde <user42@zip.com.au>
4321
4322 * info-look.el (makefile-automake-mode): New setups, looking in
4323 automake manual, then makefile-mode.
4324 (makefile-mode): Remove automake manual, have it just in
4325 makefile-automake-mode since there's various things different or
4326 not relevant to plain make.
4327 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4328 believe a hypothetical automake-mode would go to makefile-mode,
4329 not the other way around.
4330
4331 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
4332
4333 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4334 hunk-end tags (Bug#8672).
4335
4336 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4337 vc-annotate-show-diff-revision-at-line (Bug#8671).
4338
4339 2011-05-14 Glenn Morris <rgm@gnu.org>
4340
4341 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4342 in the middle of an existing one with multiple authors. (Bug#8645)
4343 (change-log-font-lock-keywords): Also handle multiple author lines
4344 with leading tabs. (Bug#8644)
4345
4346 * calendar/appt.el (appt-check): Rename some local variables.
4347 Some simplification/reordering.
4348
4349 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4350 (feedmail-sendmail-f-doesnt-sell-me-out)
4351 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4352 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4353 (feedmail-queue-runner-message-sender): Set :version.
4354 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4355 (bbdb-dwim-net-address, vm-mail): Declare.
4356 (feedmail-binmail-gnulinuxish-template):
4357 Rename from feedmail-binmail-linuxish-template.
4358 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4359 Use insert-buffer-substring.
4360
4361 2011-05-14 Bill Carpenter <bill@carpenter.org>
4362
4363 * mail/feedmail.el (feedmail-patch-level): Increase.
4364 (feedmail-debug): New custom group.
4365 (feedmail-confirm-outgoing-timeout)
4366 (feedmail-sendmail-f-doesnt-sell-me-out)
4367 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4368 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4369 (feedmail-sender-line, feedmail-from-line)
4370 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
4371 (feedmail-spray-this-address)
4372 (feedmail-spray-address-fiddle-plex-list)
4373 (feedmail-queue-use-send-time-for-date)
4374 (feedmail-queue-use-send-time-for-message-id)
4375 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4376 (feedmail-buffer-eating-function):
4377 Doc fixes.
4378 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4379 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4380 (feedmail-message-action-scroll-down): New functions.
4381 (feedmail-queue-directory, feedmail-queue-draft-directory):
4382 Use expand-file-name.
4383 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4384 Remove C-v help entry.
4385 (feedmail-queue-buffer-file-name): New variable.
4386 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4387 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4388 (feedmail-message-action-send-strong, feedmail-message-action-edit)
4389 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4390 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4391 (feedmail-message-action-toggle-spray)
4392 (feedmail-run-the-queue-no-prompts)
4393 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4394 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4395 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4396 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4397 (feedmail-envelope-deducer, feedmail-fiddle-from)
4398 (feedmail-fiddle-sender, feedmail-default-date-generator)
4399 (feedmail-fiddle-date, feedmail-fiddle-message-id)
4400 (feedmail-fiddle-spray-address)
4401 (feedmail-fiddle-list-of-spray-fiddle-plexes)
4402 (feedmail-fiddle-list-of-fiddle-plexes)
4403 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4404 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4405 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4406 Change default. Doc fix.
4407 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4408 (feedmail-binmail-linuxish-template): New constant.
4409 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
4410 Respect feedmail-sendmail-f-doesnt-sell-me-out.
4411 (feedmail-send-it): Add debug call.
4412 Use feedmail-queue-buffer-file-name, and
4413 feedmail-send-it-immediately-wrapper.
4414 (feedmail-message-action-send): Add debug call.
4415 Use feedmail-send-it-immediately-wrapper.
4416 (feedmail-queue-express-to-queue): Add debug call.
4417 Run feedmail-queue-express-hook.
4418 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
4419 (feedmail-message-action-help-blat):
4420 Rename from feedmail-queue-send-edit-prompt-help-first.
4421 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
4422 Check line-endings. Handle errors better.
4423 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
4424 Doc fix. Add debug call.
4425 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
4426 Use feedmail-queue-send-edit-prompt-inner.
4427 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
4428 (feedmail-queue-send-edit-prompt-inner): New function, extracted
4429 from feedmail-queue-send-edit-prompt.
4430 (feedmail-queue-send-edit-prompt-help)
4431 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
4432 (feedmail-tidy-up-slug): Add debug call.
4433 Respect feedmail-queue-slug-suspect-regexp.
4434 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
4435 (feedmail-dump-message-to-queue): Add debug call.
4436 Expand queue-directory.
4437 (feedmail-dump-message-to-queue): Change message slightly.
4438 Use feedmail-say-chatter.
4439 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
4440 (feedmail-send-it-immediately-wrapper): New function.
4441 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
4442 Insert empty string rather than newline. Handle full-frame case.
4443 Use catch/throw. Use feedmail-say-chatter.
4444 (feedmail-fiddle-from): Try mail-host-address.
4445 (feedmail-default-message-id-generator): Doc fix.
4446 Bind system-time-locale. Handle missing end.
4447 (feedmail-fiddle-x-mailer): Add debug call.
4448 Handle feedmail-x-mailer-line being nil.
4449 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
4450 Add debug call. Use buffer-substring-no-properties.
4451 (feedmail-say-debug, feedmail-say-chatter): New functions.
4452 (feedmail-find-eoh): Give an explicit error.
4453
4454 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
4455
4456 * net/newst-treeview.el (newsticker-treeview-face): Change default
4457 family from helvetica to sans.
4458 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
4459 etc/images/newsticker.
4460
4461 * net/newst-reader.el (newsticker-feed-face): Change default
4462 family from helvetica to sans.
4463
4464 * net/newst-plainview.el (newsticker-new-item-face)
4465 (newsticker-old-item-face, newsticker-immortal-item-face)
4466 (newsticker-obsolete-item-face, newsticker-date-face)
4467 (newsticker-statistics-face): Change default family from
4468 helvetica to sans.
4469 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
4470 etc/images/newsticker.
4471
4472 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
4473 (newsticker--process-auto-mark-filter-match): : Tell user about
4474 auto-marking.
4475
4476 2011-05-13 Didier Verna <didier@xemacs.org>
4477
4478 Common Lisp indentation improvements on defmethod and lambda-lists.
4479 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
4480 (lisp-lambda-list-keyword-parameter-indentation)
4481 (lisp-lambda-list-keyword-parameter-alignment)
4482 (lisp-lambda-list-keyword-alignment): New customizable user options.
4483 (lisp-indent-defun-method): Improve docstring.
4484 (extended-loop-p): Fix comment.
4485 (lisp-indent-lambda-list-keywords-regexp): New variable.
4486 (lisp-indent-lambda-list): New function.
4487 (lisp-indent-259): Use it.
4488 (lisp-indent-defmethod): Support for more than one
4489 method qualifier and properly indent methods lambda-lists.
4490 (defgeneric): Provide a missing common-lisp-indent-function property.
4491
4492 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4493
4494 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
4495 bounds for the empty string (bug#8667).
4496
4497 2011-05-13 Glenn Morris <rgm@gnu.org>
4498
4499 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
4500
4501 * mail/sendmail.el (sendmail-program): Try executable-find first.
4502 (sendmail-send-it): `sendmail-program' cannot be unbound.
4503
4504 * calendar/appt.el (appt-make-list): Simplify.
4505 (appt-time-msg-list): Doc fix.
4506 (appt-check): Change mode-line message at the time of the appointment.
4507
4508 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
4509
4510 * progmodes/ld-script.el (ld-script-keywords)
4511 (ld-script-builtins): Update keywords list.
4512
4513 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
4516
4517 * shell.el (shell-completion-vars): New function.
4518 (shell-mode):
4519 * simple.el (read-shell-command): Use it.
4520 (blink-matching-open): No need for " [...]" in minibuffer-message.
4521
4522 2011-05-12 Glenn Morris <rgm@gnu.org>
4523
4524 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
4525 (appt-check): Simplify.
4526
4527 2011-05-12 Eli Zaretskii <eliz@gnu.org>
4528
4529 * smerge-mode.el (smerge-resolve): Use null-device rather than a
4530 literal "/dev/null".
4531
4532 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
4535 Fix typo.
4536
4537 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
4538
4539 * progmodes/which-func.el (which-function):
4540 Use add-log-current-defun instead of add-log-current-defun-function,
4541 which might not be defined (Bug#8260).
4542
4543 2011-05-12 Glenn Morris <rgm@gnu.org>
4544
4545 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
4546 Let byte-compile-initial-macro-environment always take precedence.
4547
4548 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4549
4550 * net/rcirc.el: Add support for SSL/TLS connections.
4551 (rcirc-server-alist): New field `encryption'.
4552 (rcirc): Check `encryption' settings.
4553 (rcirc-connect): New arg `encryption'. Use open-network-stream.
4554 Merge make-local-variable into `set'.
4555 (rcirc--connection-open-p): New function.
4556 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
4557 the process is not a network process (e.g. running gnutls-cli).
4558 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
4559 Make rcirc-(en|de)code-coding-system local here.
4560 (rcirc-mode): Merge make-local-variable into `set'.
4561 (rcirc-parent-buffer): Make permanent buffer-local.
4562 (rcirc-multiline-minor-mode): Don't do it here.
4563 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
4564 there's no server buffer.
4565
4566 2011-05-11 Glenn Morris <rgm@gnu.org>
4567
4568 * newcomment.el (comment-kill): Prefix "unused" local.
4569
4570 * term/w32console.el (get-screen-color): Declare.
4571
4572 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4573 Handle symbol elements of byte-compile-initial-macro-environment.
4574
4575 2011-05-10 Leo Liu <sdl.web@gmail.com>
4576
4577 * bookmark.el (bookmark-bmenu-mode-map):
4578 Bind bookmark-bmenu-search to `/'.
4579
4580 * mail/footnote.el: Convert to utf-8 encoding.
4581 (footnote-unicode-string, footnote-unicode-regexp): New variable.
4582 (Footnote-unicode): New function.
4583 (footnote-style-alist): Add unicode style to the list.
4584 (footnote-style): Doc fix.
4585
4586 2011-05-10 Jim Meyering <meyering@redhat.com>
4587
4588 Fix doubled-word typos.
4589 * international/quail.el (quail-insert-kbd-layout): and and -> and
4590 * kermit.el: and and -> and
4591 * net/ldap.el (ldap-search-internal): to to -> to
4592 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
4593 * progmodes/js.el (js-mode): and and -> and
4594 * textmodes/artist.el (artist-move-to-xy): at at -> at
4595 (artist-draw-region-trim-line-endings): if if -> if
4596 And Safetyc -> Safety.
4597 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
4598
4599 2011-05-10 Glenn Morris <rgm@gnu.org>
4600 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * files.el (hack-one-local-variable-eval-safep):
4603 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
4604
4605 2011-05-10 Glenn Morris <rgm@gnu.org>
4606
4607 * calendar/diary-lib.el (diary-list-entries-hook)
4608 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
4609 (diary-nongregorian-marking-hook, diary-list-entries)
4610 (diary-include-other-diary-files, diary-mark-entries)
4611 (diary-mark-included-diary-files): Doc fixes.
4612
4613 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
4614
4615 * misc.el: Require tabulated-list.el during compilation.
4616
4617 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
4618
4619 * progmodes/compile.el (compilation-start):
4620 Run compilation-filter-hook for the async case too.
4621 (compilation-filter-hook): Doc fix.
4622
4623 2011-05-09 Deniz Dogan <deniz@dogan.se>
4624
4625 * wdired.el: Remove outdated installation comment. Fix usage
4626 comment.
4627
4628 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
4629
4630 * misc.el: Implement new command `list-dynamic-libraries'.
4631 (list-dynamic-libraries--loaded-only-p): New variable.
4632 (list-dynamic-libraries--refresh): New function.
4633 (list-dynamic-libraries): New command.
4634
4635 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
4636
4637 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4638 Fix the ant regexp to handle end-line and end-column info from jikes.
4639 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
4640 higher priority to avoid clobbering by gnu.
4641
4642 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
4643
4644 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
4645 if the face has existing theme settings (Bug#8454).
4646
4647 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
4648
4649 * progmodes/perl-mode.el (perl-imenu-generic-expression):
4650 Only match variables declared via `my' or `our' (Bug#8261).
4651
4652 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
4653 special file names `.' and `..' (Bug#8259).
4654
4655 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
4656
4657 * progmodes/grep.el (grep-mode-font-lock-keywords):
4658 Remove buffer-changing entries.
4659 (grep-filter): New function.
4660 (grep-mode): Add it to compilation-filter-hook.
4661
4662 * progmodes/compile.el (compilation-filter-hook)
4663 (compilation-filter-start): New defvars.
4664 (compilation-filter): Call compilation-filter-hook prior to
4665 updating the process mark.
4666
4667 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4668
4669 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
4670
4671 2011-05-07 Eli Zaretskii <eliz@gnu.org>
4672
4673 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
4674 mailclient-send-it even if window-system is nil. (Bug#8595)
4675
4676 * term/w32console.el (terminal-init-w32console):
4677 Call get-screen-color and use its output to set the frame
4678 background-mode. (Bug#8597)
4679
4680 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4681
4682 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4683 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
4684 New functions.
4685 (defgeneric, eieio--defmethod): Use them.
4686 (eieio-defgeneric): Remove.
4687 (defmethod): Call defgeneric in a way visible to the byte-compiler.
4688
4689 2011-05-07 Glenn Morris <rgm@gnu.org>
4690
4691 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
4692 Use let rather than let*.
4693 (timeclock-find-discrep): Remove unused local.
4694
4695 * calendar/diary-lib.el (diary-comment-start): Doc fix.
4696
4697 * calendar/appt.el (appt-time-msg-list): Doc fix.
4698
4699 2011-05-06 Noah Friedman <friedman@splode.com>
4700
4701 * apropos.el (apropos-print-doc): Only use
4702 emacs-lisp-docstring-fill-column when it is bound to an integer,
4703 per that variable's documentation.
4704
4705 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4706
4707 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
4708 and warnings are not silently discarded (e.g. use -d instead of -P).
4709
4710 2011-05-06 Glenn Morris <rgm@gnu.org>
4711
4712 * calendar/appt.el (appt-message-warning-time): Doc fix.
4713 (appt-warning-time-regexp): New option.
4714 (appt-make-list): Respect appt-message-warning-time.
4715
4716 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
4717 New options.
4718 (diary-add-to-list): Strip comments from the displayed string.
4719 (diary-mode): Set comment-start and comment-end.
4720
4721 * vc/diff-mode.el (smerge-refine-subst): Declare.
4722 (diff-refine-hunk): Don't require smerge-mode when compiling.
4723
4724 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * simple.el (list-processes): Return nil as the docstring says.
4727
4728 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
4729
4730 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
4731 to "".
4732 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4733 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
4734 determining of binary transfer. (Bug#7383)
4735
4736 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
4737
4738 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4739 Fix port computation bug. (Bug#8618)
4740
4741 2011-05-05 Glenn Morris <rgm@gnu.org>
4742
4743 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
4744
4745 * simple.el (shell-dynamic-complete-functions)
4746 (comint-dynamic-complete-functions): Declare.
4747
4748 * net/network-stream.el (gnutls-negotiate):
4749 * simple.el (tabulated-list-print): Fix declarations.
4750
4751 * progmodes/gud.el (syntax-symbol, syntax-point):
4752 Remove unnecessary and incorrect declarations.
4753
4754 * emacs-lisp/check-declare.el (check-declare-scan):
4755 Handle byte-compile-initial-macro-environment in bytecomp.el
4756
4757 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4758
4759 Fix earlier half-done eieio-defmethod change (bug#8338).
4760 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
4761 Streamline and change calling convention.
4762 (defmethod): Adjust accordingly and simplify.
4763 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
4764 new eieio--defmethod.
4765 (slot-boundp): Minor CSE simplification.
4766
4767 2011-05-05 Milan Zamazal <pdm@zamazal.org>
4768
4769 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4770 (glasses-make-readable): Use glasses-separate-capital-groups.
4771
4772 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
4773
4774 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4775 (warning-series): Doc fix.
4776 (display-warning): Don't try to create the buffer if we just found it.
4777
4778 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
4779
4780 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4781 (autoload-find-generated-file): New function.
4782 (generate-file-autoloads): Bind generated-autoload-file to
4783 buffer-file-name.
4784 (update-file-autoloads, update-directory-autoloads):
4785 Use autoload-find-generated-file. If called interactively, prompt for
4786 output file (Bug#7989).
4787 (batch-update-autoloads): Doc fix.
4788
4789 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
4790
4791 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4792
4793 2011-05-04 Glenn Morris <rgm@gnu.org>
4794
4795 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4796 function, so it follows changes in calendar-date-style.
4797 (diary-fancy-date-matcher): New function.
4798 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4799 (diary-fancy-font-lock-fontify-region-function):
4800 Use diary-fancy-date-pattern as a function.
4801
4802 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4803 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4804
4805 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4806
4807 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4808 instead of positional arguments. Allow :keylist and :crlfiles
4809 arguments.
4810 (open-gnutls-stream): Call it.
4811
4812 * net/network-stream.el (network-stream-open-starttls): Adjust to
4813 call `gnutls-negotiate' with :process and :hostname arguments.
4814
4815 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * minibuffer.el (completion--message): New function.
4818 (completion--do-completion, minibuffer-complete)
4819 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4820 (completion--do-completion): Don't ignore completion-auto-help when in
4821 icomplete-mode.
4822
4823 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4824 internal encoding (e.g. tibetan zero is not whitespace).
4825 (global-whitespace-mode): Prefer save-current-buffer.
4826 (whitespace-trailing-regexp): Remove useless save-match-data.
4827 (whitespace-empty-at-bob-regexp): Minor simplification.
4828
4829 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
4830
4831 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4832
4833 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4834
4835 * textmodes/ispell.el (ispell-add-per-file-word-list):
4836 Use `concat' to create string for insertion.
4837
4838 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4841 Avoid open-line which runs post-self-insert-hook.
4842 (bibtex-fill-entry): Remove unused `end' var.
4843
4844 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4845
4846 * textmodes/ispell.el (ispell-add-per-file-word-list):
4847 Protect against `nil' value of `comment-start' (Bug#8579).
4848
4849 2011-05-03 Leo Liu <sdl.web@gmail.com>
4850
4851 * isearch.el (isearch-yank-pop): New command.
4852 (isearch-mode-map): Bind it to `M-y'.
4853 (isearch-forward): Mention it.
4854
4855 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * simple.el (minibuffer-complete-shell-command): Remove.
4858 (minibuffer-local-shell-command-map): Use completion-at-point.
4859 (read-shell-command): Setup completion vars here instead.
4860 (read-expression-map): Bind TAB to symbol completion.
4861
4862 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4863 error directly rather via storing it into `results'.
4864
4865 2011-05-02 Leo Liu <sdl.web@gmail.com>
4866
4867 * vc/diff.el: Fix description.
4868
4869 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4870
4871 * server.el (server-eval-at): New function.
4872
4873 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4874
4875 * net/network-stream.el (open-network-stream): Take a :nowait
4876 parameter and pass it on to `make-network-process'.
4877 (network-stream-open-plain): Ditto.
4878
4879 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4880
4881 * faces.el (face-spec-set-match-display): Don't match toolkit
4882 options on terminal frames.
4883
4884 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * progmodes/pascal.el: Use lexical binding.
4887 (pascal-mode-map): Remove author preferences.
4888
4889 * pcomplete.el (pcomplete-std-complete): Don't abuse
4890 completion-at-point.
4891
4892 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
4893
4894 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4895 removing code that has been dead since 1991 or so.
4896
4897 * startup.el (command-line): When warning about "_emacs", use a
4898 delayed warning to allow the user to filter it out.
4899
4900 2011-04-28 Deniz Dogan <deniz@dogan.se>
4901
4902 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4903 user has not joined.
4904
4905 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4908 aren't any completions at point.
4909
4910 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
4911
4912 * subr.el (display-delayed-warnings): New function.
4913 (delayed-warnings-hook): New variable.
4914
4915 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4916
4917 * minibuffer.el (completion-at-point, completion-help-at-point):
4918 Don't presume that a given completion-at-point-function will always
4919 use the same calling convention.
4920
4921 * pcomplete.el (pcomplete-completions-at-point):
4922 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4923 pcomplete-seen is non-nil.
4924 (pcomplete-comint-setup): Also recognize the new comint/shell
4925 completion functions.
4926 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4927 pcomplete-seen is non-nil.
4928
4929 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
4930
4931 * calendar/icalendar.el (diary-lib): Add require statement.
4932 (icalendar--create-uid): Read out a uid from a text-property on
4933 the first character in the entry. This allows for code to add its
4934 own uid to the entry.
4935 (icalendar--convert-float-to-ical): Add export of
4936 `diary-float'-entries save for those with the optional DAY
4937 argument.
4938
4939 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4940
4941 * subr.el (shell-quote-argument): Use alternate escaping strategy
4942 when we spot a variable reference in a string.
4943
4944 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4945
4946 * cus-start.el (all): Define customization for debug-on-event.
4947
4948 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4949
4950 * subr.el (shell-quote-argument): Escape correctly under Windows.
4951
4952 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4955
4956 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
4957
4958 * net/tramp.el (tramp-process-actions): Add POS argument.
4959 Delete region between POS and (pos).
4960
4961 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4962 Use `nil' position in `tramp-process-actions' call.
4963 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4964
4965 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4966 position in `tramp-process-actions' call.
4967
4968 * net/trampver.el: Update release number.
4969
4970 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4971
4972 * custom.el (defcustom): Obey lexical-binding.
4973
4974 Fix octave-inf completion problems reported by Alexander Klimov.
4975 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4976 Inherit from octave-mode-syntax-table.
4977 (inferior-octave-mode): Set info-lookup-mode.
4978 (inferior-octave-completion-at-point): New function.
4979 (inferior-octave-complete): Use it and completion-in-region.
4980 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4981 comint-filename-completion.
4982 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4983 symbol elements which shouldn't be word elements.
4984 (octave-font-lock-keywords, octave-beginning-of-defun)
4985 (octave-function-header-regexp): Adjust regexps accordingly.
4986 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4987
4988 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * net/gnutls.el (gnutls-errorp): Declare before first use.
4991
4992 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4993
4994 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4995 verify-error, and verify-hostname-error parameters. Check whether
4996 default trustfile exists before going to use it. Add missing
4997 argument to gnutls-message-maybe call. Return return value.
4998 Reported by Claudio Bley <claudio.bley@gmail.com>.
4999 (open-gnutls-stream): Add usage example.
5000
5001 * net/network-stream.el (network-stream-open-starttls): Give host
5002 parameter to `gnutls-negotiate'.
5003 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
5004 * subr.el (shell-quote-argument): Escape correctly under Windows.
5005
5006 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
5007
5008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5009 Use correct match group (bug#8438).
5010
5011 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
5012
5013 * emacs-lisp/package.el (package-built-in-p): Fix typo.
5014 (package-menu--generate): New arg specifying packages to show.
5015 (package-menu-refresh, package-menu-execute, list-packages):
5016 Callers changed.
5017 (package-show-package-list): New function, replacing deleted
5018 package--list-packages (renamed because it is non-internal).
5019
5020 * finder.el (finder-list-matches): Use package-show-package-list
5021 instead of deleted package--list-packages.
5022
5023 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
5024 Based on a previous implementation by Juanma Barranquero (Bug#8366).
5025 (vc-annotate-mode-map): Bind it to RET.
5026
5027 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
5028
5029 * progmodes/etags.el (next-file): Don't use set-buffer to change
5030 buffers (Bug#8478).
5031
5032 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
5033
5034 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
5035
5036 * apropos.el (apropos-label-face): Avoid variable-pitch face.
5037 (apropos-accumulator): Doc fix.
5038 (apropos-function, apropos-macro, apropos-command)
5039 (apropos-variable, apropos-face, apropos-group, apropos-widget)
5040 (apropos-plist): Add face property.
5041 (apropos-symbols-internal): Fix indentation.
5042 (apropos-print): Simplify help, and recognize apropos-multi-type.
5043 (apropos-print-doc): Use button-type-get to extract the button's
5044 face property. Fill docstring (Bug#8352).
5045
5046 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
5047
5048 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
5049
5050 * play/mpuz.el (mpuz-silent): Doc fix.
5051 (mpuz-mode-map): Use mapc.
5052 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
5053 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
5054 Fix typos in docstrings.
5055
5056 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
5057 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
5058
5059 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
5060
5061 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
5062
5063 * minibuffer.el (completion--do-completion): Avoid the "Next char
5064 not unique" prompt if icomplete-mode is enabled (Bug#5849).
5065
5066 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
5067 mouse-2 into unread-command-events, it is interpreted correctly.
5068
5069 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
5070 (image-toggle-display): Doc fix.
5071
5072 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
5073
5074 * textmodes/page.el (what-page): Use line-number-at-pos to
5075 calculate line number (Bug#6825).
5076
5077 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
5078
5079 * eshell/esh-mode.el (find-tag-interactive): Declare function.
5080 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
5081 Pass argument NO-DEFAULT to `find-tag-interactive'.
5082
5083 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
5084
5085 Lexical-binding cleanup.
5086
5087 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
5088 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
5089 * progmodes/ada-prj.el (ada-prj-initialize-values)
5090 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
5091 (ada-prj-show-value):
5092 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
5093 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
5094 (antlr-invalidate-context-cache, antlr-options-menu-filter)
5095 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
5096 * progmodes/bug-reference.el (bug-reference-push-button):
5097 * progmodes/fortran.el (fortran-line-length):
5098 * progmodes/glasses.el (glasses-change):
5099 * progmodes/octave-mod.el (octave-fill-paragraph):
5100 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
5101 (python-pdbtrack-grub-for-buffer, python-sentinel):
5102 * progmodes/sql.el (sql-save-connection):
5103 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
5104 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
5105 Mark unused parameters.
5106
5107 * progmodes/compile.el (compilation--flush-directory-cache)
5108 (compilation--flush-parse, compile-internal): Mark unused parameters.
5109 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
5110 (compilation-next-error-function): Remove unused variable `timestamp'.
5111
5112 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
5113 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
5114
5115 * progmodes/dcl-mode.el (dcl-end-of-command):
5116 Remove unused variable `start'.
5117 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
5118 (dcl-option-value-basic, dcl-option-value-offset)
5119 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
5120 Mark unused parameters.
5121 (dcl-save-local-variable): Remove unused variable `val'.
5122 (mode): Declare.
5123
5124 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
5125 Mark unused parameters.
5126 (delphi-ignore-changes): Move before first use.
5127 (delphi-charset-token-at): Remove unused variable `start'.
5128 (delphi-else-start): Remove unused variable `if-count'.
5129 (delphi-comment-block-start, delphi-comment-block-end):
5130 Remove unused variable `kind'.
5131 (delphi-indent-line): Remove unused variable `new-point'.
5132
5133 * progmodes/ebrowse.el (ebrowse-files-list)
5134 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
5135 Mark unused parameters. Don't quote `lambda'.
5136 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
5137 Don't quote `lambda'.
5138 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
5139 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
5140 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
5141 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
5142 Use `ignore-errors'.
5143 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
5144 (ebrowse-view/find-file-and-search-pattern)
5145 (ebrowse-view/find-member-declaration/definition):
5146 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
5147 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
5148 Rename parameter PREFIX-ARG to PREFIX.
5149 (ebrowse-tags-read-name): Remove unused variables `start' and
5150 `member-info'.
5151 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
5152 to `tags-file'.
5153
5154 * progmodes/etags.el (local-find-tag-hook): Declare.
5155 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
5156 Mark unused parameters.
5157
5158 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
5159 (executable-interpret): Mark unused parameter.
5160
5161 * progmodes/flymake.el (flymake-process-sentinel)
5162 (flymake-after-change-function)
5163 (flymake-create-temp-with-folder-structure)
5164 (flymake-get-include-dirs-dot): Mark unused parameters.
5165 (flymake-safe-delete-directory): Remove unused variable `err'.
5166
5167 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
5168 (speedbar-timer-fn, speedbar-line-text)
5169 (speedbar-change-expand-button-char, speedbar-delete-subblock)
5170 (speedbar-center-buffer-smartly): Declare functions.
5171 (gdb-find-watch-expression): Remove unused variable `array'.
5172 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
5173 (gdb-starting): Mark unused parameters.
5174 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
5175 (gdb-table-string): Remove unused variable `res'.
5176 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
5177 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
5178 (gdb-display-buffer): Remove unused variable `cur-size'.
5179
5180 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
5181 allow lexical-binding compilation.
5182 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
5183 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
5184 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
5185 Mark unused parameters.
5186 (gud-gdb-marker-filter): Remove unused variable `match'.
5187 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
5188 lambda expressions and funcall them, instead of using `fset'.
5189
5190 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
5191 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
5192
5193 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
5194 variable `header-beg'; use `let'.
5195
5196 * progmodes/icon.el (indent-icon-exp): Remove unused variables
5197 `restart', `last-sexp' and `at-do'.
5198
5199 * progmodes/js.el (js--debug): Mark unused parameter.
5200 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
5201 (js--splice-into-items): Remove unused variable `item'.
5202 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
5203
5204 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
5205 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
5206 (makefile-complete): Remove unused variable `try'.
5207 (makefile-fill-paragraph, makefile-match-function-end):
5208 Mark unused parameters.
5209
5210 * progmodes/octave-inf.el (inferior-octave-complete):
5211 Remove unused variable `proc'.
5212 (inferior-octave-output-digest): Mark unused parameter.
5213
5214 * progmodes/perl-mode.el (perl-calculate-indent):
5215 Remove unused variable `err'.
5216
5217 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
5218 (prolog-indent-line): Mark unused parameters.
5219 (prolog-indent-line): Remove unused variable `beg'.
5220
5221 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
5222 (reporter-dont-compact-list): Declare.
5223
5224 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
5225 Remove unused variable `char'.
5226 (sh-debug): Mark unused parameter.
5227 (sh-get-indent-info): Remove unused variable `start'.
5228 (sh-calculate-indent): Remove unused variable `var'.
5229
5230 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
5231 (simula-electric-keyword): Remove unused variable `null'.
5232 (simula-search-backward, simula-search-forward): Remove unused
5233 variables `begin' and `end'.
5234
5235 * progmodes/vera-mode.el (vera-guess-basic-syntax):
5236 Remove unused variable `pos'.
5237 (vera-electric-tab, vera-comment-uncomment-region):
5238 Mark unused parameters.
5239 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
5240
5241 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
5242
5243 * emacs-lisp/package.el (package--builtins, package-alist)
5244 (package-load-descriptor, package-built-in-p, package-activate)
5245 (define-package, package-installed-p)
5246 (package-compute-transaction, package-buffer-info)
5247 (package--push): Doc fix. Distinguish more clearly between
5248 version strings and version lists.
5249
5250 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
5251
5252 Lexical-binding cleanup.
5253
5254 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5255 (5x5-make-mutate-best):
5256 * play/fortune.el (fortune-in-buffer):
5257 * play/gomoku.el (gomoku-init-display):
5258 * play/solitaire.el (solitaire, solitaire-do-check):
5259 * play/tetris.el (tetris-default-update-speed-function):
5260 Mark unused parameters.
5261
5262 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5263 (bubbles--shift): Remove unused variable `char-org'.
5264 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
5265 (bubbles--show-images): Remove unused variable `char'.
5266
5267 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5268 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5269 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5270 (decipher-analyze-buffer): Use ?\s.
5271 (decipher-make-checkpoint): Remove unused variable `mapping'.
5272
5273 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5274
5275 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5276 Remove unused variable `result'; use `let'.
5277
5278 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5279 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5280 (gametree-children-shown-p, gametree-compute-reduced-score):
5281 Use `ignore-errors'.
5282
5283 * play/handwrite.el (ps-lpr-switches): Declare.
5284 (handwrite): Remove unused variables `pmin' and `lastp'.
5285
5286 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5287
5288 * play/landmark.el (landmark-init-display)
5289 (landmark-update-naught-weights): Mark unused parameters.
5290 (landmark-y): Remove unused variable `noise'. Simplify.
5291 (landmark-human-plays): Remove unused variable `score'.
5292
5293 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5294 (mpuz-try-proposal): Remove unused variable `game'.
5295
5296 * play/zone.el (life-patterns): Declare.
5297
5298 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
5299
5300 * vc/vc.el (ediff-vc-internal): Declare function.
5301
5302 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5303
5304 * shell.el: Use lexical-binding and std completion UI.
5305 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5306 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5307 comint-preoutput-filter-functions rather than on
5308 comint-output-filter-functions.
5309 (shell-command-completion, shell--command-completion-data)
5310 (shell-filename-completion, shell-environment-variable-completion)
5311 (shell-c-a-p-replace-by-expanded-directory): New functions.
5312 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5313 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5314 (shell-dynamic-complete-environment-variable): Use them.
5315 (shell-dynamic-complete-as-environment-variable)
5316 (shell-dynamic-complete-as-command): Remove.
5317 (shell-match-partial-variable): Match past point.
5318 * comint.el: Clean up use of completion-at-point-functions.
5319 (comint-completion-at-point): New function.
5320 (comint-mode): Use it completion-at-point-functions.
5321 (comint-dynamic-complete): Make it obsolete.
5322 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5323 (comint-c-a-p-replace-by-expanded-history): New function.
5324 (comint-dynamic-complete-functions)
5325 (comint-replace-by-expanded-history): Use it.
5326 * minibuffer.el (completion-table-with-terminator): Allow dynamic
5327 termination strings. Try harder to avoid second try-completion.
5328 (completion-in-region-mode-map): Disable bindings that don't work yet.
5329
5330 * comint.el: Use lexical-binding. Require CL.
5331 (comint-dynamic-complete-functions): Use comint-filename-completion.
5332 (comint-completion-addsuffix): Tweak custom type.
5333 (comint-filename-completion, comint--common-suffix)
5334 (comint--common-quoted-suffix, comint--table-subvert)
5335 (comint--complete-file-name-data): New functions.
5336 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5337 (comint-dynamic-list-filename-completions): Use them.
5338 (comint-dynamic-simple-complete): Make obsolete.
5339
5340 * minibuffer.el (completion-in-region-mode):
5341 Keep completion-in-region-mode--predicate global.
5342 (completion-in-region--postch):
5343 Assume completion-in-region-mode--predicate is not null.
5344
5345 * progmodes/flymake.el (flymake-start-syntax-check-process):
5346 Obey `dir'. Simplify.
5347
5348 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5349 we're in VC after all.
5350
5351 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
5352
5353 * vc/vc.el (vc-diff-build-argument-list-internal)
5354 (vc-version-ediff, vc-ediff): New commands.
5355 (vc-version-diff): Use vc-diff-build-argument-list-internal.
5356
5357 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5360 add sanity check.
5361
5362 * obsolete/erc-hecomplete.el: Make obsolete.
5363 * obsolete/: Standardize obsolescence info in the header.
5364
5365 2011-04-20 Glenn Morris <rgm@gnu.org>
5366
5367 * calendar/solar.el (solar-horizontal-coordinates):
5368 Use the longitude argument rather than `calendar-longitude'.
5369 (solar-date-next-longitude): Remove unused locals.
5370
5371 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5372
5373 * whitespace.el: New version 13.2.1.
5374
5375 2011-04-20 felix <EmacsWiki> (tiny change)
5376
5377 * whitespace.el (global-whitespace-mode): Keep highlight when
5378 switching between major modes on a file.
5379
5380 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
5383 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
5384 multi-line comments as well.
5385
5386 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
5387
5388 Lexical-binding cleanup.
5389
5390 * arc-mode.el (archive-mode-revert):
5391 * cmuscheme.el (scheme-interactively-start-process):
5392 * custom.el (custom-initialize-delay):
5393 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
5394 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
5395 * emacs-lock.el (emacs-lock-clear-sentinel):
5396 * ezimage.el (defezimage):
5397 * follow.el (follow-avoid-tail-recenter):
5398 * fringe.el (set-fringe-mode-1):
5399 * generic-x.el (bat-generic-mode-compile):
5400 * help-mode.el (help-info-variable, help-do-xref)
5401 (help-mode-revert-buffer):
5402 * help.el (view-emacs-todo):
5403 * iswitchb.el (iswitchb-completion-help):
5404 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
5405 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
5406 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
5407 * locate.el (locate-update):
5408 * longlines.el (longlines-encode-region)
5409 (longlines-after-change-function):
5410 * outline.el (outline-isearch-open-invisible):
5411 * ps-def.el (declare-function, charset-dimension, char-width)
5412 (encode-char):
5413 * ps-mule.el (ps-mule-plot-string):
5414 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
5415 (recentf-edit-list-select, recentf-edit-list-validate)
5416 (recentf-open-files-action):
5417 * rect.el (delete-whitespace-rectangle-line)
5418 (rectangle-number-line-callback):
5419 * register.el (window-configuration-to-register)
5420 (frame-configuration-to-register):
5421 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
5422 * select.el (xselect-convert-to-string, xselect-convert-to-length)
5423 (xselect-convert-to-targets, xselect-convert-to-delete)
5424 (xselect-convert-to-filename, xselect-convert-to-charpos)
5425 (xselect-convert-to-lineno, xselect-convert-to-colno)
5426 (xselect-convert-to-os, xselect-convert-to-host)
5427 (xselect-convert-to-user, xselect-convert-to-class)
5428 (xselect-convert-to-name, xselect-convert-to-integer)
5429 (xselect-convert-to-atom, xselect-convert-to-identity):
5430 * subr.el (declare, ignore, process-kill-without-query)
5431 (text-clone-maintain):
5432 * terminal.el (te-get-char, te-tic-sentinel):
5433 * tool-bar.el (tool-bar-make-keymap):
5434 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
5435 * type-break.el (type-break-mode, type-break-noninteractive-query):
5436 * view.el (View-back-to-mark):
5437 * wid-browse.el (widget-browse-action, widget-browse-widget)
5438 (widget-browse-widgets, widget-browse-sexp):
5439 * widget.el (define-widget-keywords):
5440 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
5441 Mark unused parameters.
5442
5443 * align.el (align-adjust-col-for-rule): Mark unused parameter.
5444 (align-areas): Remove unused variable `look'.
5445 (align-region): Remove unused variables `real-end' and `pos-list'.
5446
5447 * apropos.el (apropos-score-doc): Remove unused variable `i'.
5448
5449 * bindings.el (mode-line-modified, mode-line-remote):
5450 Mark unused parameters.
5451 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
5452
5453 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
5454 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
5455
5456 * comint.el (comint-history-isearch-pop-state)
5457 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
5458 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
5459 (comint-substitute-in-file-name): Doc fix.
5460
5461 * completion.el (cmpl-statistics-block): Mark unused parameter.
5462 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
5463 (save-completions-to-file, load-completions-from-file):
5464 Remove unused local variable `e'.
5465
5466 * composite.el (compose-chars): Remove unused variable `len'.
5467 (lgstring-insert-glyph): Remove unused variable `g'.
5468 (compose-glyph-string): Remove unused variables `ascent',
5469 `descent', `lbearing' and `rbearing'.
5470 (compose-glyph-string-relative): Remove unused variables
5471 `lbearing', `rbearing' and `wadjust'.
5472 (compose-gstring-for-graphic): Remove unused variables `header',
5473 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
5474 (compose-gstring-for-terminal): Remove unused variables `header'
5475 and `nchars'. Use `let', not `let*'.
5476
5477 * cus-edit.el (Custom-set, Custom-save, custom-reset)
5478 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
5479 (Custom-buffer-done, custom-buffer-create-internal)
5480 (custom-browse-visibility-action, custom-browse-group-tag-action)
5481 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
5482 (widget-magic-mouse-down-action, custom-toggle-parent)
5483 (custom-add-parent-links, custom-toggle-hide-variable)
5484 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
5485 (custom-toggle-hide-face, face, hook, custom-group-link-action)
5486 (custom-face-menu-create, custom-variable-menu-create, get)
5487 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
5488 (custom-reset-standard-save-and-update): Remove unused variable `value'.
5489 (customize-apropos): Remove unused variable `tests'.
5490 (custom-group-value-create): Remove unused variable `hidden-p'.
5491 (sort-fold-case): Declare.
5492
5493 * cus-theme.el (custom-reset-standard-faces-list)
5494 (custom-reset-standard-variables-list): Declare.
5495 (customize-create-theme, custom-theme-revert, custom-theme-write)
5496 (custom-theme-choose-mode, customize-themes, custom-theme-save):
5497 Mark unused parameters.
5498
5499 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
5500
5501 * delim-col.el (delimit-columns-max): Move defvar before first use.
5502
5503 * descr-text.el (describe-char-categories): Don't quote `lambda'.
5504 (describe-char): Don't quote `lambda'. Mark unused parameter.
5505
5506 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
5507 (auto-insert): Declare.
5508 (desktop-restore-file-buffer): Rename desktop-* parameters;
5509 mark unused ones.
5510 (desktop-create-buffer): Rename desktop-* parameters and bind them.
5511 (desktop-buffer): Rename desktop-* parameters.
5512
5513 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5514 (dframe-reposition-frame-xemacs, dframe-help-echo)
5515 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
5516 Mark unused parameters.
5517
5518 * dired-aux.el (backup-extract-version-start, overwrite-query)
5519 (overwrite-backup-query, rename-regexp-query)
5520 (rename-non-directory-query): Declare.
5521 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
5522 (dired-add-entry): Remove unused variable `orig-file-name'.
5523 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
5524 Use parameter PRESERVE-TIME instead of accessing dynamic variable
5525 `dired-copy-preserve-time' directly.
5526 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
5527 (dired-insert-subdir-newpos): Rename unused variable `pos'.
5528
5529 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
5530 (dired-virtual-revert, dired-make-relative-symlink):
5531 Mark unused parameters.
5532 (manual-program): Declare.
5533 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
5534 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
5535 wrapped in `with-no-warnings' to avoid replacing one warning by another.
5536
5537 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
5538
5539 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
5540
5541 * echistory.el (electric-history-in-progress, Helper-return-blurb):
5542 Declare.
5543
5544 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
5545
5546 * electric.el (Electric-command-loop): Rename parameter
5547 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
5548
5549 * expand.el (expand-in-literal): Remove unused variable `here'.
5550
5551 * facemenu.el (facemenu-add-new-color):
5552 Remove unused variable `docstring'.
5553
5554 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
5555 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
5556 (face-attr-construct): Mark unused parameter. Doc fix.
5557 (read-color): Remove unused variable `hex-string'.
5558
5559 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
5560 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
5561 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
5562 (display-buffer-other-frame): Remove unused variable `old-window'.
5563 (kill-buffer-hook): Declare.
5564 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
5565 Mark unused parameters.
5566 (after-find-file): Pass 1 to `auto-save-mode', not t.
5567
5568 * files-x.el (auto-insert): Declare.
5569 (modify-file-local-variable-prop-line): Remove unused variable `val'.
5570
5571 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
5572 variable `buf'. Mark unused parameter.
5573 (find-lisp-insert-directory): Mark unused parameter.
5574
5575 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
5576 (format-encode-region): Remove unused variables `cur-buf' and `result'.
5577 (format-common-tail): Remove, unused.
5578 (format-deannotate-region): Remove unused variable `loc'.
5579 (format-annotate-region): Remove unused variable `p'.
5580 (format-annotate-single-property-change): Remove unused variables
5581 `default' and `tail'.
5582
5583 * forms.el (read-file-filter): Declare.
5584 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
5585
5586 * frame.el (frame-creation-function-alist): Mark unused parameter.
5587 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
5588
5589 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
5590 Remove unused parameters.
5591 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
5592 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
5593
5594 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
5595 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
5596 (hfy-prepare-tag-map): Mark unused parameters.
5597 (htmlfontify-buffer): Use `called-interactively-p'.
5598
5599 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
5600 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
5601 (ibuffer-do-occur): Mark unused parameters.
5602 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
5603 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
5604
5605 * ibuffer.el: Don't quote `lambda'.
5606 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
5607 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
5608 Mark unused parameters.
5609
5610 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
5611 (ido-completing-read): Mark unused parameters.
5612 (ido-copy-current-word): Mark unused parameters;
5613 remove unused variable `name'.
5614 (ido-sort-merged-list): Remove unused parameter `dirs'.
5615
5616 * ielm.el (ielm-input-sender): Mark unused parameter.
5617 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
5618 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
5619 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
5620 `ielm-string' as a dynamic variable accessible from the IELM prompt.
5621 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
5622
5623 * image-dired.el (image-dired-display-thumbs): Remove unused
5624 variables `curr-file' and `count'.
5625 (image-dired-remove-tag): Remove unused variable `start'.
5626 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
5627 variable `curr-file'
5628 (image-dired-rotate-original): Remove unused variable `temp-file'.
5629 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
5630 Remove unused variable `file'.
5631 (image-dired-gallery-generate): Remove unused variable `curr'.
5632 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
5633
5634 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
5635
5636 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
5637
5638 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
5639
5640 * isearch.el (minibuffer-history-symbol): Declare.
5641 (isearch-edit-string): Remove unused variable `err'.
5642 (isearch-message-prefix, isearch-message-suffix):
5643 Mark unused parameters.
5644
5645 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
5646
5647 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
5648
5649 * makesum.el (double-column): Remove unused variable `cnt'.
5650
5651 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
5652 (ido-ignore-item-temp-list): Declare.
5653
5654 * mouse-drag.el (mouse-drag-throw): Remove unused variables
5655 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
5656 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
5657 (mouse-drag-drag): Remove unused variables `mouse-delta' and
5658 `mouse-col-delta'.
5659
5660 * mouse-sel.el (mouse-extend-internal):
5661 Remove unused variable `orig-window-frame'.
5662
5663 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
5664 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
5665 Move declarations before first use.
5666 (pcomplete-opt): Mark unused parameters; doc fix.
5667
5668 * proced.el (proced-revert): Mark unused parameter.
5669 (proced-send-signal): Remove unused variable `err'.
5670
5671 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
5672 Rename parameter PREFIX-ARG to ARG.
5673 (ps-basic-plot-string, ps-basic-plot-whitespace):
5674 Mark unused parameters.
5675
5676 * replace.el (replace-count): Define.
5677 (occur-revert-function): Mark unused parameters.
5678 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
5679 (isearch-case-fold-search, isearch-string): Declare.
5680 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
5681 bind `case-fold-search'. Remove unused variables `beg' and `end',
5682 and simplify.
5683 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
5684 COUNT and bind `replace-count'.
5685 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
5686 to COUNT.
5687
5688 * savehist.el (print-readably, print-string-length): Declare.
5689
5690 * shadowfile.el (shadow-expand-cluster-in-file-name):
5691 Remove unused variable `cluster'.
5692 (shadow-copy-file): Remove unused variable `i'.
5693 (shadow-noquery, shadow-clusters, shadow-site-cluster)
5694 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
5695 (shadow-define-literal-group, shadow-define-regexp-group)
5696 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
5697
5698 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
5699 (shell): Use `called-interactively-p'.
5700 (shell-directory-tracker): Remove unused variable `chdir-failure'.
5701
5702 * simple.el (compilation-context-lines, comint-file-name-quote-list)
5703 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
5704 (delete-backward-char): Remove unused variable `ocol'.
5705 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
5706 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
5707 (event-apply-hyper-modifier, event-apply-shift-modifier)
5708 (event-apply-control-modifier, event-apply-meta-modifier):
5709 Mark unused parameters.
5710 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
5711 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
5712
5713 * speedbar.el (speedbar-ignored-directory-expressions)
5714 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
5715 (speedbar-find-file, speedbar-dir-follow)
5716 (speedbar-directory-buttons-follow, speedbar-tag-find)
5717 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5718 (speedbar-buffers-line-directory, speedbar-buffer-click):
5719 Mark unused parameters.
5720 (speedbar-tag-file): Remove unused variable `mode'.
5721 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
5722
5723 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
5724
5725 * talk.el (talk): Remove unused variable `display'.
5726
5727 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
5728 (tar-write-region-annotate): Mark unused parameter.
5729
5730 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
5731 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
5732 Declare them, wrapped in `with-no-warnings' to avoid replacing one
5733 warning by another.
5734
5735 * time-stamp.el (time-stamp-string-preprocess):
5736 Remove unused variable `require-padding'.
5737
5738 * tree-widget.el (widget-glyph-enable): Declare.
5739 (tree-widget-action): Mark unused parameter.
5740
5741 * w32-fns.el (x-get-selection): Mark unused parameter.
5742 (autoload-make-program, generated-autoload-file): Declare.
5743
5744 * wdired.el (wdired-revert): Mark unused parameters.
5745 (wdired-xcase-word): Remove unused variable `err'.
5746
5747 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
5748 (whitespace-help-scroll): Remove unused variable `data-help'.
5749
5750 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
5751 (widget-image-insert, widget-after-change, default)
5752 (widget-default-format-handler, widget-default-notify)
5753 (widget-default-prompt-value, widget-info-link-action)
5754 (widget-url-link-action, widget-function-link-action)
5755 (widget-variable-link-action, widget-file-link-action)
5756 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
5757 (widget-field-prompt-internal, widget-field-action, widget-field-match)
5758 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
5759 (widget-insert-button-action, widget-delete-button-action, visibility)
5760 (widget-documentation-link-action, widget-documentation-string-action)
5761 (widget-const-prompt-value, widget-regexp-match, symbol)
5762 (widget-coding-system-prompt-value)
5763 (widget-key-sequence-value-to-external, sexp)
5764 (widget-sexp-value-to-internal, character, vector, cons)
5765 (widget-choice-prompt-value, widget-boolean-prompt-value)
5766 (widget-color--choose-action): Mark unused parameters.
5767 (widget-item-match-inline, widget-choice-match-inline)
5768 (widget-checklist-match, widget-checklist-match-inline)
5769 (widget-group-match): Rename parameter VALUES to VALS.
5770 (widget-field-value-set): Remove unused variable `size'.
5771 (widget-color-action): Remove unused variables `value' and `start'.
5772
5773 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
5774 variable `dir'. Doc fix.
5775 (windmove-find-other-window): Don't pass it.
5776
5777 * window.el (count-windows): Mark unused parameter.
5778 (bw-adjust-window): Remove unused variable `err'.
5779
5780 * woman.el (woman-file-name): Remove unused variable `default'.
5781 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5782 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5783 (global-font-lock-mode): Declare.
5784 (woman-decode-region): Mark unused parameter.
5785 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5786
5787 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5788 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5789 (x-dnd-handle-moz-url): Remove unused variable `title'.
5790 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5791
5792 * xml.el (xml-parse-tag, xml-parse-attlist):
5793 Remove unused variable `pos'.
5794
5795 2011-04-19 Glenn Morris <rgm@gnu.org>
5796
5797 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5798 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5799 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5800 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5801 * calendar/cal-html.el (cal-html-insert-minical):
5802 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5803 (calendar-mark-date-pattern):
5804 Prefix "unused" locals.
5805
5806 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5807 optional argument `style'.
5808
5809 * calendar/appt.el (appt-make-list):
5810 * calendar/cal-china.el (calendar-chinese-date-string):
5811 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5812 (diary-hebrew-yahrzeit):
5813 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5814 * calendar/calendar.el (calendar-generate-window):
5815 * calendar/time-date.el (time-to-days):
5816 Remove unused local variables.
5817
5818 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
5819
5820 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5821 glyphless-char-display table.
5822 (tabulated-list-glyphless-char-display): New var.
5823
5824 2011-04-18 Sam Steingold <sds@gnu.org>
5825
5826 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5827 to acknowledgments.
5828
5829 2011-04-17 Glenn Morris <rgm@gnu.org>
5830
5831 * calendar/diary-lib.el (diary-sexp-entry):
5832 * calendar/holidays.el (holiday-sexp):
5833 Set debug-on-error rather than the removed stack-trace-on-error.
5834
5835 2011-04-16 Glenn Morris <rgm@gnu.org>
5836
5837 * progmodes/f90.el: Use lexical-binding.
5838 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5839
5840 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5843 (mail-mode): Setup mailalias completion here instead.
5844 * mail/mailalias.el: Use lexical-binding.
5845 (pattern, mailalias-done): Declare dynamic.
5846 (mail-completion-at-point-function): New function, from mail-complete.
5847 (mail-complete): Use it.
5848 (mail-completion-expand): New function.
5849 (mail-get-names): Use it.
5850 (mail-directory, mail-directory-process, mail-directory-stream):
5851 Don't use `pattern' for lexically bound arg.
5852
5853 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5854
5855 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5856 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5857 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5858
5859 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5860 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5861 (byte-interactive-p): Define them again, for use when inlining
5862 old code.
5863
5864 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
5865
5866 * loadup.el: Use `string-to-number', not `string-to-int'.
5867
5868 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5871 gud-gdb-complete-command.
5872 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5873 (gud-gdb-completion-at-point): New function.
5874 (gud-gdb-completions): Remove.
5875
5876 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
5877
5878 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5879 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5880 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5881 whether `executable-find' is bound.
5882
5883 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5884
5885 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * minibuffer.el (completion-in-region-mode-predicate)
5888 (completion-in-region-mode--predicate): New vars.
5889 (completion-in-region, completion-in-region--postch)
5890 (completion-in-region-mode): Use them.
5891 (completion--capf-wrapper): Also return the hook function.
5892 (completion-at-point, completion-help-at-point):
5893 Adjust and provide a predicate.
5894
5895 Preserve arg names for advice of subr and lexical functions (bug#8457).
5896 * help-fns.el (help-function-arglist): Consolidate the subr and
5897 new-byte-code cases. Add argument `preserve-names' to extract names
5898 from the docstring when needed.
5899 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5900 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5901 (ad-arglist): Use help-function-arglist's new arg.
5902 (ad-definition-type): Use cond.
5903
5904 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
5905
5906 * autorevert.el (auto-revert-handler):
5907 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5908 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5909 Don't quote lambda.
5910
5911 * image-mode.el (image-transform-set-scale):
5912 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5913
5914 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915
5916 * net/network-stream.el (network-stream-open-starttls): Only do
5917 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5918 Upgrades via gnutls-cli are too slow to be done opportunistically.
5919
5920 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
5921
5922 * dframe.el (dframe-current-frame): Remove spurious quote.
5923
5924 2011-04-12 Glenn Morris <rgm@gnu.org>
5925
5926 * calendar/cal-tex.el (cal-tex-end-document):
5927 Try to automatically use latin1 input if needed.
5928
5929 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5930 Don't try to cons a mark onto an empty element.
5931
5932 2011-04-11 Leo Liu <sdl.web@gmail.com>
5933
5934 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5935 buffers.
5936 (ido-kill-buffer-at-head): Support killing virtual buffers.
5937
5938 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
5939
5940 * minibuffer.el (completion-show-inline-help): New var.
5941 (completion--do-completion, minibuffer-complete)
5942 (minibuffer-force-complete, minibuffer-complete-word):
5943 Inhibit minibuffer messages if completion-show-inline-help is nil.
5944
5945 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5946 to avoid interference from inline help (Bug#5849).
5947
5948 2011-04-10 Leo Liu <sdl.web@gmail.com>
5949
5950 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5951 Fix typo.
5952
5953 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
5954
5955 * image-mode.el (image-toggle-display-image): Signal an error if
5956 not in Image mode.
5957 (image-transform-mode, image-transform-resize)
5958 (image-transform-set-rotation): Doc fix.
5959 (image-transform-set-resize): Delete.
5960 (image-transform-set-scale, image-transform-fit-to-height)
5961 (image-transform-fit-to-width): Handle image-toggle-display-image
5962 and image-transform-resize directly.
5963
5964 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
5965
5966 * doc-view.el (doc-view-fit-width-to-window)
5967 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5968 New functions for fitting the shown image to the Emacs window size.
5969 (doc-view-mode-map): Add bindings for the new functions.
5970
5971 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5974 Fix typo in docstring.
5975
5976 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5977
5978 * files.el (file-size-human-readable): Produce one digit after
5979 decimal, like "ls -lh" does.
5980
5981 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5982 the file size representation.
5983
5984 * simple.el (list-processes): If async subprocesses are not
5985 available, error out with a clear error message.
5986
5987 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
5988
5989 * help.el (help-form-show): New function, to be called from C.
5990 Put help-form output in a buffer named differently than *Help*.
5991
5992 2011-04-08 Eli Zaretskii <eliz@gnu.org>
5993
5994 * files.el (file-size-human-readable): New function.
5995
5996 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5997 computing the representation inline. Don't require `cl'.
5998
5999 2011-04-08 Glenn Morris <rgm@gnu.org>
6000
6001 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
6002
6003 * net/browse-url.el (browse-url-firefox):
6004 Test system-type, not system-configuration.
6005
6006 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
6007 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
6008 Use log-edit-empty-buffer-p. (Bug#7598)
6009
6010 * net/rlogin.el (rlogin-process-connection-type): Simplify.
6011 (rlogin-mode-map): Initialize in the defvar.
6012 (rlogin): Use ignore-errors.
6013
6014 * replace.el (occur-mode-map): Some fixes for menu items.
6015
6016 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6017
6018 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
6019
6020 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
6021
6022 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
6023 issuing unused warnings.
6024
6025 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
6026 macro directly.
6027
6028 * simple.el: Lisp reimplement of list-processes. Based on an
6029 earlier reimplementation by Leo Liu, but using tabulated-list.el.
6030 (process-menu-mode): New major mode.
6031 (list-processes--refresh, list-processes):
6032 (process-menu-visit-buffer): New functions.
6033
6034 * files.el (save-buffers-kill-emacs): Don't assume any return
6035 value of list-processes, which is undocumented anyway.
6036
6037 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
6038
6039 * emacs-lisp/tabulated-list.el: New file.
6040
6041 * emacs-lisp/package.el: Use Tabulated List mode.
6042 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
6043 (package-menu-mode): Derive from tabulated-list-mode. Set up the
6044 table format using Tabulated List mode variables.
6045 (package--push): New macro, replacing package-list-maybe-add.
6046 (package-menu--generate): Use package--push. Renamed from
6047 package--generate-package-list.
6048 (package-menu-refresh, list-packages): Use it.
6049 (package-menu--print-info): Rename from package-print-package.
6050 Return insertion data instead of inserting it directly.
6051 (package-menu-describe-package, package-menu-execute):
6052 Use tabulated-list-get-id.
6053 (package-menu-mark-delete, package-menu-mark-install)
6054 (package-menu-mark-unmark, package-menu-backup-unmark)
6055 (package-menu-mark-obsolete-for-deletion):
6056 Use tabulated-list-put-tag.
6057 (package--list-packages, package-menu-revert)
6058 (package-menu-get-package, package-menu-get-version)
6059 (package-menu-sort-by-column): Functions deleted.
6060 (package-menu-package-list, package-menu-sort-key): Vars deleted.
6061 (package-menu--status-predicate, package-menu--version-predicate)
6062 (package-menu--name-predicate)
6063 (package-menu--description-predicate): Handle arguments in the
6064 Tabulated List format.
6065 (package-list-packages-no-fetch): Call list-packages.
6066
6067 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * files.el (after-find-file-from-revert-buffer): Remove variable.
6070 (after-find-file): Don't bind it.
6071 (revert-buffer-in-progress-p): New variable.
6072 (revert-buffer): Bind it.
6073 Pass nil for `after-find-file-from-revert-buffer'.
6074
6075 * saveplace.el (save-place-find-file-hook): Use new variable
6076 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
6077
6078 2011-04-06 Glenn Morris <rgm@gnu.org>
6079
6080 * Makefile.in (AUTOGEN_VCS): New variable.
6081 (autoloads): Use $AUTOGEN_VCS.
6082
6083 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
6084 * calendar/calendar.el (calendar-mode-map):
6085 Check for toolkit scroll bars. (Bug#8305)
6086
6087 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
6088
6089 * minibuffer.el (completion-in-region--postch)
6090 (completion-in-region-mode): Remove unnecessary messages.
6091
6092 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
6093
6094 * font-lock.el (font-lock-refresh-defaults):
6095 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
6096 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
6097
6098 * info.el (Info-directory-list, Info-read-node-name-2)
6099 (Info-split-parameter-string): Doc fixes.
6100 (Info-virtual-nodes): Reflow docstring.
6101 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
6102 (Info-apropos-toc-nodes, info-finder, Info-get-token)
6103 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
6104 Fix typos in docstrings.
6105 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
6106 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
6107 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
6108 (Info-restore-desktop-buffer): Mark unused parameters.
6109 (Info-directory-find-file, Info-directory-find-node)
6110 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
6111 (Info-virtual-index-find-node, Info-apropos-find-file)
6112 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
6113 Mark unused parameters; fix typos in docstrings.
6114 (Info-virtual-index): Remove unused local variable `nodename'.
6115
6116 2011-04-05 Deniz Dogan <deniz@dogan.se>
6117
6118 * net/rcirc.el: Update my e-mail address.
6119 (rcirc-mode-map): Remove M-o binding.
6120
6121 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
6122
6123 * startup.el (command-line): Save the cursor's theme-face
6124 directly, instead of using face-override-spec.
6125
6126 * custom.el (load-theme): Minor optimization in assigning faces.
6127
6128 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * help-fns.el (describe-variable): Complete all variables having
6131 documentation, including keywords.
6132 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
6133
6134 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
6135
6136 Convert to lexical-binding.
6137
6138 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
6139 (bs--get-marked-string, bs--get-modified-string)
6140 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
6141 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
6142 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
6143
6144 * ehelp.el (electric-help-execute-extended)
6145 (electric-help-ctrl-x-prefix):
6146 * hexl.el (hexl-revert-buffer-function):
6147 * linum.el (linum-after-change, linum-after-scroll):
6148 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
6149
6150 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
6151
6152 2011-04-04 Daiki Ueno <ueno@unixuser.org>
6153
6154 * epa-dired.el:
6155 * epa-mail.el:
6156 * epa-hook.el:
6157 * epa-file.el:
6158 * epa.el:
6159 * epg.el: Use lexical binding.
6160
6161 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
6162
6163 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
6164
6165 * textmodes/flyspell.el (flyspell-word): Recognize default
6166 dictionary case for flyspell-mark-duplications-exceptions.
6167 Use regexp matching for languages.
6168 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
6169 default dictionary (Bug#7926).
6170
6171 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
6172
6173 * emacs-lisp/package.el (package--with-work-buffer):
6174 Recognize https URLs.
6175
6176 * net/network-stream.el: Move from gnus/proto-stream.el.
6177 Change prefix to network-stream throughout.
6178 (open-protocol-stream): Merge into open-network-stream, leaving
6179 open-protocol-stream as an alias. Handle nil BUFFER args.
6180
6181 * subr.el (open-network-stream): Move to net/network-stream.el.
6182
6183 2011-04-02 Glenn Morris <rgm@gnu.org>
6184
6185 * find-dired.el (find-exec-terminator): New option.
6186 (find-ls-option): Test for -ls support.
6187 (find-ls-subdir-switches): Test for -b in find-ls-option.
6188 (find-dired, find-grep-dired): Doc fixes.
6189 (find-dired): Use find-exec-terminator.
6190
6191 * find-dired.el (find-ls-option, find-ls-subdir-switches)
6192 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
6193 (find-name-arg): Remove purecopy.
6194
6195 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
6196 (grep-compute-defaults): Check for `-exec COMMAND +' support.
6197 Set grep-find-use-xargs, grep-find-command, and grep-find-template
6198 accordingly. Don't add the null-device if not needed.
6199
6200 * files.el (save-some-buffers): Doc fix.
6201
6202 2011-04-02 Eli Zaretskii <eliz@gnu.org>
6203
6204 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
6205
6206 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
6207
6208 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
6209 Use `dolist' rather than `mapcar'.
6210
6211 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
6212
6213 Add lexical binding.
6214
6215 * subr.el (apply-partially): Use new closures rather than CL.
6216 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
6217 (dolist, dotimes): Use slightly different expansion for lexical code.
6218 (functionp): Move to C.
6219 (letrec): New macro.
6220 (with-wrapper-hook): Use it and apply-partially instead of CL.
6221 (eval-after-load): Preserve lexical-binding.
6222 (save-window-excursion, with-output-to-temp-buffer): Turn them
6223 into macros.
6224
6225 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
6226
6227 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
6228 than the arglist.
6229 (help-add-fundoc-usage): Don't add `Not documented'.
6230 (help-function-arglist): Handle closures, subroutines, and new
6231 byte-code-functions.
6232 (help-make-usage): Remove leading underscores.
6233 (describe-function-1): Handle closures.
6234 (describe-variable): Use special-variable-p for completion.
6235
6236 * files.el (lexical-binding): Declare safe.
6237
6238 * emacs-lisp/pcase.el: Don't use destructuring-bind.
6239 (pcase--memoize): Rename from pcase-memoize. Change weakness.
6240 (pcase): Add `let' pattern.
6241 Change memoization so it actually works.
6242 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
6243 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
6244 <let>: New case.
6245
6246 * emacs-lisp/macroexp.el: Use lexical binding.
6247 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
6248 Don't convert ' to #' without checking that it's indeed quoting
6249 a lambda.
6250
6251 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
6252 Use eval-sexp-add-defvars.
6253 (eval-sexp-add-defvars): New fun.
6254
6255 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6256
6257 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6258 Don't autoload.
6259 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6260 than the internal `byte-compile-lambda'.
6261 (defmethod): Don't hide code under quotes.
6262 (eieio-defmethod): New `code' argument.
6263
6264 * emacs-lisp/eieio-comp.el: Remove.
6265
6266 * emacs-lisp/edebug.el (edebug-eval-defun)
6267 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6268 (edebug-toggle): Avoid `eval'.
6269
6270 * emacs-lisp/disass.el (disassemble-internal): Handle new
6271 `closure' objects.
6272 (disassemble-1): Handle new byte codes.
6273
6274 * emacs-lisp/cl.el (pushnew): Silence warning.
6275
6276 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6277 (cl-byte-compile-throw): Remove.
6278 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6279
6280 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6281 closures.
6282
6283 * emacs-lisp/cconv.el: New file.
6284
6285 * emacs-lisp/bytecomp.el: Use lexical binding instead of
6286 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
6287 (byte-compile-initial-macro-environment):
6288 Handle declare-function here.
6289 (byte-compile--lexical-environment): New var.
6290 (byte-stack-ref, byte-stack-set, byte-discardN)
6291 (byte-discardN-preserve-tos): New lap codes.
6292 (byte-interactive-p): Don't use any more.
6293 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6294 New macros.
6295 (byte-compile-lapcode): Use them and handle new lap codes.
6296 (byte-compile-obsolete): Remove.
6297 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6298 (byte-compile-arglist-warn): Check late def of inlinable funs.
6299 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6300 since they should have been expanded by now.
6301 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6302 (byte-compile-from-buffer): Remove unused second arg.
6303 (byte-compile-preprocess): New function.
6304 (byte-compile-toplevel-file-form): New function to distinguish
6305 file-form calls from outside from file-form calls from hunk-handlers.
6306 (byte-compile-file-form): Simplify.
6307 (byte-compile-file-form-defsubst): Remove.
6308 (byte-compile-file-form-defmumble): Simplify now that
6309 byte-compile-lambda always returns a byte-code-function.
6310 (byte-compile): Preprocess.
6311 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6312 Remove, not used any more.
6313 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6314 (byte-compile-make-args-desc): New funs.
6315 (byte-compile-lambda): Handle lexical functions. Always return
6316 a byte-code-function.
6317 (byte-compile-reserved-constants): New var, to make up room for
6318 closed-over variables.
6319 (byte-compile-constants-vector): Obey it.
6320 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6321 (byte-compile-macroexpand-declare-function): New function.
6322 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6323 byte-code-functions.
6324 (byte-compile-form): Check obsolescence here.
6325 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6326 (byte-compile-variable-ref): Remove.
6327 (byte-compile-dynamic-variable-op): New fun.
6328 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6329 (byte-compile-variable-set): New funs.
6330 (byte-compile-discard): Add 2 args.
6331 (byte-compile-stack-ref, byte-compile-stack-set)
6332 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6333 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6334 macroexpand-all instead.
6335 (byte-compile-quote-form): Remove.
6336 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6337 (byte-compile-bind, byte-compile-unbind): New funs.
6338 (byte-compile-let): Handle let* and lexical binding.
6339 (byte-compile-let*): Remove.
6340 (byte-compile-catch, byte-compile-unwind-protect)
6341 (byte-compile-track-mouse, byte-compile-condition-case):
6342 Handle a new :fun-body form, used for lexical scoping.
6343 (byte-compile-save-window-excursion)
6344 (byte-compile-with-output-to-temp-buffer): Remove.
6345 (byte-compile-defun): Simplify.
6346 (byte-compile-stack-adjustment): New fun.
6347 (byte-compile-out): Use it.
6348 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6349
6350 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6351 handler any more.
6352
6353 * emacs-lisp/byte-opt.el: Use lexical binding.
6354 (byte-inline-lapcode): Remove (to bytecomp).
6355 (byte-compile-inline-expand): Pay attention to inlining to/from
6356 lexically bound code.
6357 (byte-compile-unfold-lambda): Don't handle byte-code-functions
6358 any more.
6359 (byte-optimize-form-code-walker): Don't handle save-window-excursion
6360 any more and don't call compiler-macros.
6361 (byte-compile-splice-in-already-compiled-code): Remove.
6362 (byte-code): Don't inline any more.
6363 (disassemble-offset): Receive `bytes' as argument rather than via
6364 dynamic scoping.
6365 (byte-compile-tag-number): Declare before first use.
6366 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6367 `return' even if make-spliceable.
6368 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6369 obsolete interactive-p.
6370 (byte-optimize-lapcode): Optimize new lap-codes.
6371 Don't trip up on new form of `byte-constant' lap code.
6372
6373 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6374
6375 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
6376
6377 * custom.el (custom-initialize-default, custom-declare-variable):
6378 Use `defvar'.
6379
6380 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
6381 New variables.
6382 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
6383 (COMPILE_FIRST): Add macroexp and cconv.
6384 * makefile.w32-in: Mirror changes in Makefile.in.
6385
6386 * vc/cvs-status.el:
6387 * vc/diff-mode.el:
6388 * vc/log-edit.el:
6389 * vc/log-view.el:
6390 * vc/smerge-mode.el:
6391 * textmodes/bibtex-style.el:
6392 * textmodes/css.el:
6393 * startup.el:
6394 * uniquify.el:
6395 * minibuffer.el:
6396 * newcomment.el:
6397 * reveal.el:
6398 * server.el:
6399 * mpc.el:
6400 * emacs-lisp/smie.el:
6401 * doc-view.el:
6402 * dired.el:
6403 * abbrev.el: Use lexical binding.
6404
6405 2011-04-01 Eli Zaretskii <eliz@gnu.org>
6406
6407 * info.el (info-display-manual): New function.
6408
6409 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6410
6411 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
6412
6413 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
6414
6415 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
6416 an entry for that server in rcirc-authinfo. (Bug#8385)
6417
6418 2011-03-31 Glenn Morris <rgm@gnu.org>
6419
6420 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
6421
6422 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
6423
6424 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
6425
6426 * progmodes/python.el (python-default-interpreter)
6427 (python-python-command-args, python-jython-command-args)
6428 (python-which-shell, python-which-args, python-which-bufname)
6429 (python-file-queue, python-comint-output-filter-function)
6430 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
6431 variables and functions.
6432
6433 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6434
6435 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
6436 (completion-in-region-mode): New minor mode.
6437 (completion-in-region): Use it.
6438 (completion-in-region--data, completion-in-region-mode-map): New vars.
6439 (completion-in-region--postch): New function.
6440 (completion--capf-misbehave-funs, completion--capf-safe-funs):
6441 New vars.
6442 (completion--capf-wrapper): New function.
6443 (completion-at-point): Use it to track well-behavedness of
6444 hook functions.
6445 (completion-help-at-point): New command.
6446
6447 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
6448
6449 * vc/add-log.el (add-change-log-entry): Don't use whitespace
6450 syntax class to search for whitespace on a single line
6451 (Message-ID: <4D938140.4030905@redhat.com>).
6452
6453 2011-03-30 Leo Liu <sdl.web@gmail.com>
6454
6455 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
6456 New commands.
6457 (edit-abbrevs-map): Bind them here.
6458 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
6459
6460 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
6461
6462 * allout.el (allout-hide-by-annotation, allout-flag-region):
6463 Reduce possibility of overlay leakage by making them volatile.
6464
6465 * allout-widgets.el (allout-widgets-tally): Define as nil so the
6466 hash is not shared between buffers. Mode initialization is
6467 responsible for giving it a useful starting value.
6468 (allout-item-span): Reduce possibility of overlay leakage by
6469 making them volatile.
6470 (allout-widgets-count-buttons-in-region): Add diagnostic function
6471 for tracking down button overlay leaks.
6472
6473 2011-03-29 Leo Liu <sdl.web@gmail.com>
6474
6475 * ido.el (ido-read-internal): Use the default history var
6476 minibuffer-history if no HISTORY is specified.
6477
6478 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
6479
6480 * net/imap.el (imap-shell-open, imap-process-connection-type):
6481 Use imap-process-connection-type for 'shell' streams as well as
6482 Kerberos, SSL, other subprocesses.
6483
6484 2011-03-28 Leo Liu <sdl.web@gmail.com>
6485
6486 * abbrev.el (abbrev-table-empty-p): New function.
6487 (prepare-abbrev-list-buffer): Place empty abbrev tables after
6488 nonempty ones. (Bug#5937)
6489
6490 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
6491
6492 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
6493
6494 2011-03-27 Leo Liu <sdl.web@gmail.com>
6495
6496 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
6497 for foreground and background colors.
6498 (ansi-color-make-color-map): Adapt.
6499
6500 2011-03-25 Leo Liu <sdl.web@gmail.com>
6501
6502 * midnight.el (midnight-time-float): Remove. Note it calculates
6503 the microsecond component incorrectly and seconds-to-time does the
6504 same job.
6505 Remove redundant (require 'timer).
6506
6507 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
6508 (ido-completions): Remove unused arguments. (Bug#8329)
6509
6510 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6511
6512 * minibuffer.el (completion--flush-all-sorted-completions):
6513 Remove itself from hook.
6514 (completion-at-point): Let the functions perform the completion
6515 immediately and return nil or t.
6516 * comint.el (comint-dynamic-complete-functions): Now identical to
6517 completion-at-point-functions.
6518 (comint-dynamic-list-input-ring): Remove unused var `index'.
6519 (comint--match-partial-filename, comint--unquote&expand-filename):
6520 New funs, split from comint-match-partial-filename.
6521 (comint-dynamic-complete): Use completion-at-point.
6522 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
6523
6524 2011-03-24 Drew Adams <drew.adams@oracle.com>
6525
6526 * thingatpt.el: Support `defun'.
6527
6528 2011-03-23 Leo Liu <sdl.web@gmail.com>
6529
6530 * abbrevlist.el: Move to obsolete/abbrevlist.el.
6531
6532 * help-mode.el (help-mode-finish): Tweak regexp.
6533
6534 2011-03-23 Glenn Morris <rgm@gnu.org>
6535
6536 * eshell/esh-opt.el (eshell-eval-using-options):
6537 Do not bind unused local variable `eshell-option-stub'.
6538
6539 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
6540
6541 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
6544 keymap variable in `with-no-warnings' to avoid a warning when the
6545 keymap has been already `defconst'ed.
6546
6547 2011-03-22 Leo Liu <sdl.web@gmail.com>
6548
6549 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
6550 encode all chars in abbrevs; otherwise use emacs-mule or
6551 utf-8-emacs. (Bug#8308)
6552
6553 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
6554
6555 * simple.el (backward-delete-char-untabify):
6556 Avoid warning about using `delete-backward-char'.
6557
6558 * image.el (image-type-file-name-regexps): Make it variable.
6559 `imagemagick-register-types' modifies it, and the user may want
6560 to add new extensions for known image types.
6561 (imagemagick-register-types): Throw error if not using ImageMagick.
6562
6563 2011-03-22 Leo Liu <sdl.web@gmail.com>
6564
6565 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
6566 located before rcirc-prompt-end-marker.
6567 (rcirc-complete): Error if point is not after rcirc prompt.
6568 Handle the case when table is nil.
6569 (rcirc-user-authenticated): Define to fix compiler warning.
6570
6571 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
6572
6573 * custom.el (custom--inhibit-theme-enable): Make it affect only
6574 custom-theme-set-variables and custom-theme-set-faces.
6575 (provide-theme): Ignore custom--inhibit-theme-enable.
6576 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
6577 (custom-enabling-themes): Delete variable.
6578 (enable-theme): Accept only loaded themes as arguments.
6579 Ignore the special custom-enabled-themes variable.
6580 (custom-enabled-themes): Forbid themes from setting this.
6581 Eliminate use of custom-enabling-themes.
6582 (custom-push-theme): Quote "changed" custom var entry.
6583
6584 2011-03-21 Leo Liu <sdl.web@gmail.com>
6585
6586 * ido.el (ido-read-internal): Add ido-selected to history instead
6587 of user input.
6588
6589 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6590
6591 * subr.el (deferred-action-list, deferred-action-function):
6592 Mark obsolete.
6593
6594 2011-03-21 Leo Liu <sdl.web@gmail.com>
6595
6596 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
6597 change on 2011-02-13 (bug#8309).
6598
6599 * minibuffer.el (read-file-name-function): Change default value.
6600 (read-file-name--defaults): Rename from read-file-name-defaults.
6601 (read-file-name-default): Rename from read-file-name.
6602 (read-file-name): Call read-file-name-function.
6603
6604 2011-03-21 Glenn Morris <rgm@gnu.org>
6605
6606 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
6607 Doc fixes.
6608
6609 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
6610
6611 * cus-theme.el: Add missing provide statement.
6612 (customize-create-theme): Extract theme value correctly.
6613 (custom-theme-visit-theme): Autoload.
6614 (customize-create-theme): Prompt before inserting default faces.
6615
6616 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
6617
6618 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
6619 units and musical notes.
6620
6621 2011-03-20 Leo <sdl.web@gmail.com>
6622
6623 * ido.el (ido-read-internal): Use completing-read-default.
6624 (ido-completing-read): Fix compatibility with completing-read.
6625
6626 2011-03-20 Christian Ohler <ohler@gnu.org>
6627
6628 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
6629 (ert-delete-all-tests): Use `called-interactively-p' rather than
6630 `interactive-p'.
6631 (ert--make-xrefs-region): Respect END.
6632
6633 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
6634
6635 * dired-aux.el (dired-create-directory): Signal an error if the
6636 directory already exists (Bug#8246).
6637
6638 * facemenu.el (list-colors-display): Call list-faces-display
6639 inside with-help-window.
6640 (list-colors-print): Use display property to align the final
6641 column, instead of checking window-width.
6642
6643 2011-03-19 Eli Zaretskii <eliz@gnu.org>
6644
6645 * emerge.el (emerge-metachars): Separate value for ms-dos and
6646 windows-nt systems.
6647 (emerge-protect-metachars): Quote correctly for ms-dos and
6648 windows-nt systems.
6649
6650 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
6651
6652 * info.el (info-initialize): Replace all uses of `:' with
6653 path-separator for compatibility with non-Unix systems.
6654 Cache quoting of path-separator. (Bug#8258)
6655
6656 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
6657
6658 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
6659 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
6660 (mouse-avoidance-mode): Fix typos in docstrings.
6661
6662 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
6663
6664 * startup.el (package-subdirectory-regexp): Move from package.el.
6665 Omit \\` and \\', and let callers add them.
6666
6667 * emacs-lisp/package.el (package-strip-version)
6668 (package-load-all-descriptors): Add \\` and \\' to
6669 package-subdirectory-regexp before using it.
6670 (package-untar-buffer): New arg DIR; ensure that file untars only
6671 into this expected directory. Remove superfluous delete-region.
6672 (package-unpack): Caller changed.
6673 (package-tar-file-info): Use package-subdirectory-regexp.
6674
6675 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
6676
6677 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
6678 diff-mode-shared-map (bug#8284).
6679 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
6680
6681 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6682
6683 * calendar/time-date.el (format-seconds): Use assoc instead of
6684 assoc-string, since assoc-string doesn't exist in XEmacs.
6685
6686 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
6687
6688 * custom.el (custom-known-themes): Reflow docstring.
6689 (custom-theme-load-path): Fix typo in docstring.
6690 (load-theme): Fix typo in error message.
6691 (custom-available-themes, custom-variable-theme-value):
6692 Use `let', not `let*'.
6693
6694 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6695
6696 * calc/README: Mention inclusion of musical notes.
6697
6698 * calc/calc-units.el (calc-lu-quant): Rename from
6699 `calc-logunits-quantity'.
6700 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
6701 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
6702 (calc-db): Rename from `calc-dblevel'.
6703 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
6704 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
6705 (calc-np): Rename from `calc-nplevel'.
6706 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
6707 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
6708 (calc-lu-plus): Rename from `calc-logunits-add'.
6709 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
6710 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
6711 (calc-lu-minus): Rename from `calc-logunits-sub'.
6712 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
6713 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
6714 (calc-lu-times): Rename from `calc-logunits-mul'.
6715 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
6716 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
6717 (calc-lu-divide): Rename from `calc-logunits-div'.
6718 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
6719 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
6720
6721 * calc/calc-ext.el (calc-init-extensions): Update the names of the
6722 functions being autoloaded.
6723
6724 * calc/calc.el (calc-lu-power-reference): Rename from
6725 `calc-logunits-power-reference'.
6726 (calc-lu-field-reference): Rename from
6727 `calc-logunits-field-reference'.
6728
6729 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
6730
6731 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6732
6733 * minibuffer.el (completion-all-sorted-completions):
6734 Use :completion-cycle-penalty text property if present.
6735
6736 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
6737
6738 * allout.el (allout-yank-processing): Adjust for new rebulleting
6739 regime so bullet being yanked is used without prompting the user
6740 for a choice.
6741
6742 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
6743
6744 * startup.el (command-line): Warn the user that _emacs is deprecated.
6745
6746 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
6747
6748 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
6749 (delphi-verbose, delphi-comment-face, delphi-string-face)
6750 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
6751 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
6752 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
6753 (delphi-new-comment-line, delphi-font-lock-defaults)
6754 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
6755 Fix typos in docstrings.
6756
6757 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
6758
6759 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
6760 Invert the roles of character and string values for INSTEAD, so a
6761 string is used for the more common case of a defaulting prompt.
6762
6763 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * progmodes/ruby-mode.el (ruby-backward-sexp):
6766 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
6767 * play/gamegrid.el (gamegrid-make-face):
6768 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6769 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6770 * notifications.el (notifications-notify):
6771 * net/xesam.el (xesam-search-engines):
6772 * net/quickurl.el (quickurl-list-insert):
6773 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6774
6775 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
6776
6777 * startup.el (command-line): Update package subdirectory regexp.
6778
6779 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6780
6781 * allout.el (allout-abbreviate-flattened-numbering)
6782 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6783
6784 * subr.el (read-char-choice): Only show the cursor after the prompt,
6785 not after the answer.
6786
6787 2011-03-15 Kevin Ryde <user42@zip.com.au>
6788
6789 * help-fns.el (variable-at-point): Skip leading quotes, if any
6790 (bug#8253).
6791
6792 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6793
6794 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6795 warning message.
6796
6797 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
6798
6799 * shell.el (shell): When called interactively, offer to change the
6800 shell file name on remote hosts.
6801
6802 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6803
6804 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6805 integration for LDAP parameters. The host, base, user or binddn,
6806 and secret tokens can be specified in a netrc file, for instance.
6807 This is optional because an `auth-source' parameter must be
6808 specified in the search attributes.
6809
6810 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
6811
6812 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6813
6814 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6817 into declaration. Remove redundant and harmful binding.
6818
6819 2011-03-12 Eli Zaretskii <eliz@gnu.org>
6820
6821 * files.el (file-ownership-preserved-p): Pass `integer' as an
6822 explicit 2nd argument to `file-attributes'. If the file's owner
6823 is the Administrators group on Windows, and the current user is
6824 Administrator, consider that a match.
6825
6826 * server.el (server-ensure-safe-dir): Consider server directory
6827 safe on MS-Windows if its owner is the Administrators group while
6828 the current Emacs user is Administrator. Use `=' to compare
6829 numerical UIDs, since they could be integers or floats.
6830
6831 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
6832
6833 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6834
6835 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
6836
6837 Sync with Tramp 2.2.1.
6838
6839 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6840
6841 * net/trampver.el: Update release number.
6842
6843 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * progmodes/compile.el (compilation--previous-directory): Fix up
6846 various nil/dead-marker mismatches (bug#8014).
6847 (compilation-directory-properties, compilation-error-properties):
6848 Don't call it at a position past the one we're about to change.
6849
6850 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6851 Disable obsolescence warnings in the file that declares it.
6852
6853 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6854
6855 * allout-widgets.el (allout-widgets-tally):
6856 Initialize allout-widgets-tally as a hash table rather than nil to
6857 prevent mode-line redisplay warnings. Also, clarify the module
6858 description and fix a comment typo.
6859
6860 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
6861
6862 * help-fns.el (describe-variable): Don't complete keywords.
6863 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6864
6865 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
6866
6867 * emacs-lisp/package.el (package-version-join): Impose a standard
6868 string representation for pre/alpha/beta version lists.
6869 (package-unpack-single): Standardize the directory name by passing
6870 it through package-version-join.
6871 (package-strip-rcs-id): Accept any version string that does not
6872 signal an error in version-to-list.
6873
6874 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
6875
6876 * simple.el (delete-trailing-whitespace): Return nil for the
6877 benefit of `write-file-functions'.
6878
6879 2011-03-10 Glenn Morris <rgm@gnu.org>
6880
6881 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6882
6883 * vc/vc-git.el (vc-git-program): New option.
6884 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6885 (vc-git--call): Use it.
6886
6887 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6888
6889 * cus-edit.el (Custom-newline): If no button at point, look
6890 for a subgroup button at start-of-line. (Bug#2298)
6891
6892 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6893
6894 2011-03-10 Julien Danjou <julien@danjou.info>
6895
6896 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6897 `cursor-type' is nil.
6898
6899 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6900
6901 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6902
6903 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6904
6905 * allout.el Summary: Change so yank of distinctive-bullet items
6906 preserves the existing header prefix, rebulleting it if necessary,
6907 rather than replacing it. This is necessary for proper operation
6908 of cooperative addons like allout-widgets.
6909 (allout-make-topic-prefix, allout-rebullet-heading): Change
6910 SOLICIT arg to INSTEAD, and interpret additionally a string value
6911 as alternate bullet to be used, instead of prompting the user for
6912 a bullet character.
6913
6914 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
6915
6916 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6917 Do not use `tramp-file-name-port', because this returns also
6918 `tramp-default-port'.
6919
6920 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6921
6922 * net/rcirc.el (rcirc-handler-001): Remove useless
6923 with-rcirc-process-buffer.
6924 (rcirc-check-auth-status): Swap arguments to string-match.
6925
6926 2011-03-09 Glenn Morris <rgm@gnu.org>
6927
6928 * shell.el (shell-mode):
6929 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6930
6931 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6932 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6933
6934 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
6935
6936 * emacs-lisp/package.el (package-refresh-contents)
6937 (package-menu-execute): Use condition-case-no-debug.
6938
6939 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
6940
6941 * simple.el (shell-command-to-string): Use `process-file'.
6942
6943 * emacs-lisp/package.el (package-tar-file-info): Handle also
6944 remote files.
6945
6946 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6947 Use `equal' for upload base check.
6948
6949 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6950
6951 * textmodes/texinfo.el (texinfo-environments):
6952 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6953
6954 2011-03-08 Glenn Morris <rgm@gnu.org>
6955
6956 * cus-start.el (cursor-in-non-selected-windows):
6957 Fix :set quoting oddness. (Bug#8192)
6958
6959 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6960 in some setf expressions. (Bug#2159)
6961
6962 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
6963
6964 * custom.el (custom-available-themes): Return themes in
6965 alphabetical order.
6966
6967 See ChangeLog.15 for earlier changes.
6968
6969 ;; Local Variables:
6970 ;; coding: utf-8
6971 ;; End:
6972
6973 Copyright (C) 2011 Free Software Foundation, Inc.
6974
6975 This file is part of GNU Emacs.
6976
6977 GNU Emacs is free software: you can redistribute it and/or modify
6978 it under the terms of the GNU General Public License as published by
6979 the Free Software Foundation, either version 3 of the License, or
6980 (at your option) any later version.
6981
6982 GNU Emacs is distributed in the hope that it will be useful,
6983 but WITHOUT ANY WARRANTY; without even the implied warranty of
6984 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6985 GNU General Public License for more details.
6986
6987 You should have received a copy of the GNU General Public License
6988 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.