* lisp/emacs-lisp/find-func.el (find-function-C-source): Only set
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
77694924
SM
12011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/find-func.el (find-function-C-source): Only set
4 find-function-C-source-directory after checking that we found a source
5 file there (bug#9440).
6
d809b8eb
AM
72011-09-06 Alan Mackenzie <acm@muc.de>
8
9 * isearch.el (isearch-other-meta-char): Wherever a key list is
10 unread, "unread" the prefix arg, too. This fixes bug #8901.
11
453de99f
OG
122011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
13
14 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15
90439906
JL
162011-09-05 Juri Linkov <juri@jurta.org>
17
18 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19
f62bd846
JL
202011-09-05 Juri Linkov <juri@jurta.org>
21
22 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
23 keeping point where processing of grep matches begins, and
24 continue to delete remaining escape sequences from the same point.
25 (grep-filter): Make leading zero optional in "0?1;31m" because
26 git-grep emits "\033[1;31m" escape sequences unlike expected
27 "\033[01;31m" as GNU Grep does (bug#9408).
28 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
29
045820ec
JL
302011-09-05 Juri Linkov <juri@jurta.org>
31
32 * subr.el (y-or-n-p): Capitalize "yes".
33
f5e29b9b
MA
342011-09-04 Michael Albinus <michael.albinus@gmx.de>
35
36 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
37 `tramp-cache-unload-hook' where appropriate.
38 (tramp-methods): Rename `tramp-remote-sh' to
39 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
40 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
41
42 * net/tramp-sh.el (top): Don't require 'shell.
43 (tramp-methods): Add `tramp-remote-shell' and
44 `tramp-remote-shell-args' entries.
45 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
46 (tramp-sh-handle-shell-command): Remove.
47 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
48 Use `tramp-remote-shell'.
49
2784c434
CY
502011-09-03 Chong Yidong <cyd@stupidchicken.com>
51
52 * mail/sendmail.el (sendmail-query-once-function): Deleted.
53 (sendmail-query-once): Save directly to send-mail-function.
54 Update message-send-mail-function too.
55
56 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
57
464cdf56
CS
582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
59
60 * progmodes/python.el (python-mode-map): Use correct function to
61 start python interpreter from menu-bar (as reported by Geert
62 Kloosterman).
63 (inferior-python-mode-map): Fix typo.
64 (python-shell-map): Removed.
65
d37e5c87
DD
662011-09-03 Deniz Dogan <deniz@dogan.se>
67
68 * net/rcirc.el (rcirc-print): Simplify code for
69 rcirc-scroll-show-maximum-output. There is no need to walk
70 through all windows to find the right one.
71
f3ada0ee
CS
722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
73
74 * help.el (help-return-method): Doc fix.
75
1f3c99ca
MR
762011-09-03 Martin Rudalics <rudalics@gmx.at>
77
78 * window.el (window-deletable-p): Don't return a non-nil value
79 when there's a buffer that was shown in the window before.
80 (Bug#9419)
81 (display-buffer-pop-up-frame, display-buffer-pop-up-window): Set
82 window's previous buffers to nil.
83
a3cf097f
EZ
842011-09-03 Eli Zaretskii <eliz@gnu.org>
85
86 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
87 newline before and after the tag line, so it doesn't interfere
88 with determining the paragraph direction of bidirectional text.
89
3d03de90
LL
902011-09-03 Leo Liu <sdl.web@gmail.com>
91
92 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
93
c3313451
CY
942011-09-02 Chong Yidong <cyd@stupidchicken.com>
95
96 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted.
97 (pop-to-buffer): Change interactive spec. Pass second argument
98 directly to display-buffer.
99 (display-buffer): Fix interactive spec. Use functionp to
100 distinguish between a function and a list of functions.
101
102 * abbrev.el (edit-abbrevs):
103 * arc-mode.el (archive-extract):
104 * autoinsert.el (auto-insert):
105 * bookmark.el (bookmark-bmenu-list):
106 * files.el (find-file):
107 * view.el (view-buffer):
108 * progmodes/compile.el (compilation-goto-locus):
109 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
110
89894cd8
CY
1112011-09-02 Chong Yidong <cyd@stupidchicken.com>
112
113 * window.el (display-buffer-alist): Doc fix.
114 (display-buffer): Add docstring. Don't treat
115 display-buffer-default specially.
116 (display-buffer-reuse-selected-window)
117 (display-buffer-same-window, display-buffer-maybe-same-window)
118 (display-buffer-reuse-window, display-buffer-pop-up-frame)
119 (display-buffer-pop-up-window)
120 (display-buffer-reuse-or-pop-window)
121 (display-buffer-use-some-window): New functions.
122 (display-buffer-default-action): Use them.
123 (display-buffer-default): Deleted.
124 (pop-to-buffer-1): Fix choice of actions.
125
ae0bc9fb
SM
1262011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
127
128 * minibuffer.el (completion--insert-strings): Don't get confused by
129 completion entries that end with an LF char.
130
e9d90883
EZ
1312011-09-01 Eli Zaretskii <eliz@gnu.org>
132
133 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
134
437014c8
CY
1352011-09-01 Chong Yidong <cyd@stupidchicken.com>
136
137 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
138 (display-buffer-same-window, display-buffer-other-window):
139 New functions.
437014c8
CY
140 (pop-to-buffer-1): New function. Use the above.
141 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 142 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
143
144 * view.el (view-buffer-other-window, view-buffer-other-frame):
145 Just use pop-to-buffer.
146
a5e063d5
TV
1472011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
148
149 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
150
793d32bb
WH
1512011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
152
153 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
154
d65e4c15
RS
1552011-08-31 Richard Stallman <rms@gnu.org>
156
157 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
158 of the separation of rmail-view-buffer from rmail-buffer.
159 If you say no to "replace original", the decrypt is in the
160 view buffer. If you say yes, the decrypt goes into the
161 rmail buffer also.
162
f818cd2a
MR
1632011-08-31 Martin Rudalics <rudalics@gmx.at>
164
165 * window.el (display-buffer-window): Rewrite doc-string.
166 (display-buffer-record-window): New function.
167 (display-buffer-macro-specifiers)
168 (display-buffer-even-window-sizes, display-buffer-set-height)
169 (display-buffer-set-width, display-buffer-in-window)
170 (display-buffer-reuse-window, display-buffer-split-specifiers)
171 (display-buffer-side-specifiers, display-buffer-split-window-1)
172 (display-buffer-split-window, display-buffer-split-atom-window)
173 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
174 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
175 (display-buffer-other-window-means-other-frame)
176 (display-buffer-normalize-special)
177 (display-buffer-normalize-default)
178 (display-buffer-normalize-argument)
179 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
180 (display-buffer-normalize-specifiers, display-buffer-frame)
181 (display-buffer-same-window, display-buffer-same-frame)
182 (display-buffer-other-window)
183 (display-buffer-same-frame-other-window)
184 (display-buffer-other-frame, pop-to-buffer-same-window)
185 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
186 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
187 (switch-to-buffer-same-frame)
188 (switch-to-buffer-other-window-same-frame)
189 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
190 (display-buffer-alist-set-1, display-buffer-alist-set-2)
191 (display-buffer-alist-set): Remove.
192 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
193 (special-display-regexps, special-display-function):
194 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
195 parameter.
196 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
197 (special-display-frame-alist, special-display-popup-frame)
198 (same-window-buffer-names, same-window-regexps, same-window-p)
199 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
200 (split-window-preferred-function, split-height-threshold)
201 (split-width-threshold, window-splittable-p)
202 (split-window-sensibly, window--try-to-split-window)
203 (window--frame-usable-p, even-window-heights)
204 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
205 (window--display-buffer-2, display-buffer-other-frame):
206 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
207 (display-buffer-default, display-buffer-assq-regexp): New functions.
208 (display-buffer-alist): Rewrite doc-string.
209 (display-buffer-default-action)
210 (display-buffer-overriding-action): New variables.
211 (display-buffer, switch-to-buffer): Rewrite.
212 (pop-to-buffer): Restore Emacs 23 behavior but use
213 window-normalize-buffer-to-display.
214 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
215 Restore Emacs 23 behavior but use
216 window-normalize-buffer-to-switch-to.
217 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
218 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
219 Rewrite using Emacs 23 options.
f818cd2a 220
5bc3b51d
MA
2212011-08-31 Michael Albinus <michael.albinus@gmx.de>
222
223 * net/tramp.el (tramp-root-regexp): Remove.
224 (tramp-completion-file-name-regexp-unified)
225 (tramp-completion-file-name-regexp-separate)
226 (tramp-completion-file-name-regexp-url): Don't use leading volume
227 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
228 (tramp-drop-volume-letter): Simplify definition.
229 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 230
b1a4f8e1
SM
2312011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
234 (bug#9356).
235
5664fa7b
RT
2362011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
237
b1a4f8e1 238 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 239
9a45d6c3
JL
2402011-08-29 Juri Linkov <juri@jurta.org>
241
242 * isearch.el (isearch-done): Don't display message "Mark saved"
243 when arg `edit' is non-nil to prevent its flicker in the echo area.
244
fb87e0fb
CY
2452011-08-28 Chong Yidong <cyd@stupidchicken.com>
246
247 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
248 obsolete packages for deletion.
249
09ac1c2a
CS
2502011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
251
252 * help-mode.el (help-mode-map): Add special-mode-map to parent.
253 (help-mode): Derive help-mode from special-mode. Don't invoke
254 view-mode from help-mode.
255 (help-xref-override-view-map): Remove.
256 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
257 view-mode is not used anymore.
258
7a1ff57f
CY
2592011-08-28 Chong Yidong <cyd@stupidchicken.com>
260
261 * server.el (server-port): Doc fix.
262
b9696605
CY
263 * cus-theme.el (custom-theme-choose-mode): Inherit from
264 special-mode (Bug#9124).
265 (custom-theme-choose-mode-map): Add special-mode to parent.
266
ef8cdf8c
AM
2672011-08-28 Alan Mackenzie <acm@muc.de>
268
269 * progmodes/cc-fonts.el
270 (c-make-font-lock-BO-decl-search-function): New function.
271 (c-basic-matchers-after - "Fontify the clauses after various
272 keywords"): Extract the three keyword lists for the 3 erroneous
273 constructs from the list of four, and use the new function above
274 in place of an old one.
275
27de4e20
DD
2762011-08-28 Deniz Dogan <deniz@dogan.se>
277
278 * net/rcirc.el (rcirc-insert-prev-input)
279 (rcirc-insert-next-input): Remove unused argument.
280
356a3681
SM
2812011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
282
283 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
284
3fc9b218
AM
2852011-08-27 Alan Mackenzie <acm@muc.de>
286
287 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
288 handle function pointer parameters properly.
289
538a061c
MR
2902011-08-27 Martin Rudalics <rudalics@gmx.at>
291
292 * window.el (display-buffer-reuse-window): Fix case where
293 selected window was reused with non-nil OTHER-WINDOW argument.
294 (Bug#9381)
295
35b1c40c
DD
2962011-08-27 Deniz Dogan <deniz@dogan.se>
297
298 * net/rcirc.el (rcirc-check-auth-status): Adding support for
299 oftc's NickServ messages.
300
2f6a3e79
GM
3012011-08-27 Glenn Morris <rgm@gnu.org>
302
303 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
304
7254299e
CY
3052011-08-26 Chong Yidong <cyd@stupidchicken.com>
306
307 * emacs-lisp/package.el (package-install): Call package-initialize
308 if called interactively.
309
f8ccf167
LL
3102011-08-26 Leo Liu <sdl.web@gmail.com>
311
312 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
313
3e8cd5ce
JL
3142011-08-25 Juri Linkov <juri@jurta.org>
315
316 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
317 `search-whitespace-regexp' (bug#9364).
318
93eb7113
JL
3192011-08-25 Juri Linkov <juri@jurta.org>
320
321 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
322 `regexp-search-ring' to their global values to protect from
323 updating by `read-from-minibuffer' (bug#9185).
324
f65d1611
JL
3252011-08-25 Juri Linkov <juri@jurta.org>
326
327 * textmodes/ispell.el (ispell-command-loop): Add newline
328 at the end of the "Use option `i'..." line.
329
f1cf7a31
JL
3302011-08-25 Juri Linkov <juri@jurta.org>
331
332 * battery.el (display-battery-mode): If `battery-status-function'
333 or `battery-mode-line-format' is nil, display the message and set
334 `display-battery-mode' to nil (bug#9363).
335
0c95fcf7
EZ
3362011-08-25 Eli Zaretskii <eliz@gnu.org>
337
338 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
339 bidi-string-mark-left-to-right; they are unnecessary now.
340
a2ebe600
DD
3412011-08-25 Deniz Dogan <deniz@dogan.se>
342
343 * net/quickurl.el: Documentation typo fixes.
344
e4ed06f1
CY
3452011-08-25 Chong Yidong <cyd@stupidchicken.com>
346
347 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
348
e5f1c99e
GM
3492011-08-25 Glenn Morris <rgm@gnu.org>
350
b2948976
GM
351 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
352
e5f1c99e
GM
353 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
354 (smtpmail-via-smtp): Handle nil response from smtp.
355
f22f4808
JL
3562011-08-24 Juri Linkov <juri@jurta.org>
357
358 * proced.el (proced-marked): Inherit from `error' instead of
359 `font-lock-warning-face'.
360
361 * ibuffer.el (ibuffer-marked-face): Change default face from
362 `font-lock-warning-face' to `warning'.
363 (ibuffer-deletion-face): Change default face from
364 `font-lock-type-face' to `error'.
365
366 * battery.el (battery-update): Use the face `error' instead of
367 `font-lock-warning-face' (bug#6117).
368
6a93965e
JL
3692011-08-24 Juri Linkov <juri@jurta.org>
370
371 * faces.el (success): Change face color from "Green3" to
372 "ForestGreen" on light background (bug#9353).
373
1ed43b09
CY
3742011-08-24 Chong Yidong <cyd@stupidchicken.com>
375
5664fa7b
RT
376 * window.el (quit-window): Rename from quit-restore-window.
377 Use same arglist as old quit-window.
1ed43b09
CY
378 (frame-auto-delete): Doc fix.
379
380 * view.el (view-mode-exit): Use quit-window.
381
11dcdbb2
JL
3822011-08-24 Juri Linkov <juri@jurta.org>
383
384 * isearch.el (isearch-ring-adjust1): Start visiting previous
385 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
386 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
387 for empty search string (when the last search string is reused
388 automatically) to adjust the isearch ring to the last element and
389 prepare the correct index for further M-p commands (bug#9185).
390
de62b4df
KH
3912011-08-24 Kenichi Handa <handa@m17n.org>
392
393 * international/ucs-normalize.el: If decomposition property of
394 CHAR is the default one (i.e. a list of CHAR itself), treat it as
395 nil.
396 (nfd, nfkd): Likewise.
397
963b492b
SM
3982011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
399
400 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
401 from process filters aren't reliably transmitted to the surrounding
402 accept-process-output.
403 (mpc-proc-check): New function.
404 (mpc-proc-sync): Use it (bug#8293)
405
93b6b5e1
SM
4062011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
407
408 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
409 Add compatibility functions (bug#9313).
410
bca633fb
EZ
4112011-08-23 Eli Zaretskii <eliz@gnu.org>
412
b177498a
EZ
413 * cus-start.el (all): Add entry for bidi-paragraph-direction.
414
bca633fb
EZ
415 * international/uni-bidi.el: Regenerated.
416
0902a04e
KH
4172011-08-23 Kenichi Handa <handa@m17n.org>
418
419 * international/charprop.el:
420 * international/uni-bidi.el:
421 * international/uni-category.el:
422 * international/uni-combining.el:
423 * international/uni-comment.el:
424 * international/uni-decimal.el:
425 * international/uni-decomposition.el:
426 * international/uni-digit.el:
427 * international/uni-lowercase.el:
428 * international/uni-mirrored.el:
429 * international/uni-name.el:
430 * international/uni-numeric.el:
431 * international/uni-old-name.el:
432 * international/uni-titlecase.el:
433 * international/uni-uppercase.el: Regenerate.
434
3bbf23bc
MR
4352011-08-23 Martin Rudalics <rudalics@gmx.at>
436
437 * help.el (help-window-setup): Fix message displayed when other
438 window is reused. (Bug#9341)
439
b3fd59bd
SM
4402011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
441
1802e444
SM
442 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
443 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
444
b3fd59bd
SM
445 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
446 Mark obsolete.
447 * shell.el (shell-parse-pcomplete-arguments): New function.
448 (shell-completion-vars): Use it instead (bug#9160).
449
4eb61348
SM
4502011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
451
867cab74
SM
452 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
453 strings and comments (bug#9333).
454
4eb61348
SM
455 * emacs-lisp/debug.el (debug-arglist): New function.
456 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
457 (debug-on-entry-1): Handle interpreted closures (bug#9120).
458
262a1439
JL
4592011-08-22 Juri Linkov <juri@jurta.org>
460
56ee679c
JL
461 * progmodes/compile.el (compilation-mode-font-lock-keywords):
462 Revert regexp that highlights output switches to its old
463 pre-2010-10-28 value and remove one `?' from it (bug#9319).
464
262a1439
JL
465 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
466 to check for empty output (bug#9226).
467
f13f86fb
CY
4682011-08-22 Chong Yidong <cyd@stupidchicken.com>
469
470 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
471 symbol-constituent as the default, as that stops font-lock from
472 working properly (Bug#8843).
473
c65c9622
LMI
4742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
475
476 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
477 `coding-system-for-*' around the process open call to avoid
478 auth-source side effects.
e7f2c178 479 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
480 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
481 probe hangs.
c65c9622 482
23a8a5ab
CY
4832011-08-21 Chong Yidong <cyd@stupidchicken.com>
484
ff98b2dd
CY
485 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
486
23a8a5ab
CY
487 * emacs-lisp/find-func.el (find-function-noselect): New arg
488 lisp-only.
489
490 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
491 signal an error for built-in functions (Bug#6664).
492
f5e3c598
LMI
4932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
494
495 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
496 (smtpmail-try-auth-methods): Use it.
497
a3f2468a
CY
4982011-08-21 Chong Yidong <cyd@stupidchicken.com>
499
2c34e8da
CY
500 * font-lock.el (font-lock-fontify-region)
501 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
502 (font-lock-default-unfontify-buffer)
503 (font-lock-default-fontify-region)
504 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
505
b3fd59bd
SM
506 * progmodes/compile.el (compilation-error-properties):
507 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
508 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
509 `ant' regexp.
ee31aabc 510
a3f2468a
CY
511 * net/browse-url.el (browse-url-firefox): Don't call
512 browse-url-firefox-sentinel unless using -remote (Bug#9328).
513
8e999f70
GM
5142011-08-20 Glenn Morris <rgm@gnu.org>
515
c21a496a
GM
516 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
517
59ee0542
GM
518 * tutorial.el (tutorial--default-keys): Update some default bindings.
519
8e999f70
GM
520 * files.el (hack-local-variables): Fully ignore case for "mode:".
521
e3715033
AM
5222011-08-20 Alan Mackenzie <acm@muc.de>
523
524 Resolve invalid use of a regexp in regexp-opt.
525
526 * cc-fonts.el (c-complex-decl-matchers): Add in special detection
527 for a java annotation.
528
529 * cc-engine.el (c-forward-decl-or-cast-1): Add in special
530 detection for a java annotation.
531
532 * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling
533 for java.
534 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
535
04ed2e9c
CY
5362011-08-20 Chong Yidong <cyd@stupidchicken.com>
537
538 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
539 (Bug#9274).
540
826cee64
AM
5412011-08-20 Alan Mackenzie <acm@muc.de>
542
543 * Fontify CPP expressions correctly when starting in the middle of
544 such a construct. Mainly for when jit-lock etc. starts a chunk
545 here.
546
547 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
548 variable.
549 (c-make-font-lock-search-form): new function, extracted from
550 c-make-font-lock-search-function.
551 (c-make-font-lock-search-function): Use the above function.
552 (c-make-font-lock-context-search-function): New function.
553 (c-cpp-matchers): Enhance the preprocessor expression case with
554 the above function
555 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
556 which takes an expression.
557
558 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
559
13009bd8
MR
5602011-08-20 Martin Rudalics <rudalics@gmx.at>
561
562 * window.el (display-buffer-reuse-window)
563 (display-buffer-pop-up-window): Don't reuse or split a side
564 window.
565
9234ff7f
GM
5662011-08-19 Glenn Morris <rgm@gnu.org>
567
568 * files.el (hack-local-variables-prop-line, hack-local-variables):
569 Downcase "Mode:". (Bug#9331)
570
f635daa1
CY
5712011-08-18 Chong Yidong <cyd@stupidchicken.com>
572
573 * international/characters.el: Add L and R categories.
574
575 * subr.el (bidi-string-mark-left-to-right): Rename from
576 string-mark-left-to-right. Use category search.
577
578 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
579
bc987f8b
JL
5802011-08-18 Juri Linkov <juri@jurta.org>
581
582 * faces.el (error, warning, success): New faces with definitions
583 copied from old default values of `font-lock-warning-face',
584 `compilation-warning', `compilation-info' (bug#6117).
585
586 * font-lock.el (font-lock-warning-face): Inherit from `error'.
587
588 * progmodes/compile.el (compilation-error): Inherit from `error'.
589 (compilation-warning): Inherit from `warning'.
590 (compilation-info): Inherit from `success'.
591
592 * dired.el (dired-marked): Inherit from `warning'.
593 (dired-flagged): Inherit from `error'.
594
57173b96
LMI
5952011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
596
3e79eb87
LMI
597 * mail/smtpmail.el (auth-source): Require to avoid problems with
598 binding variables (bug#9298). Also clean up some unused
599 autoloads.
600
b3fd59bd
SM
601 * net/network-stream.el (network-stream-open-starttls):
602 Support using starttls.el without using gnutls-cli.
57173b96 603
02b404de
JL
6042011-08-17 Juri Linkov <juri@jurta.org>
605
606 * progmodes/grep.el (rgrep): Handle the case when
607 `grep-find-command' is a cons cell (bug#9278).
608
8c9177f2
MR
6092011-08-17 Martin Rudalics <rudalics@gmx.at>
610
611 * window.el (display-buffer-pop-up-frame): Run frame creation
612 function with BUFFER current (as special-display-popup-frame
613 does). Reported by Drew Adams.
614
3644a0ab
DU
6152011-08-17 Daiki Ueno <ueno@unixuser.org>
616
617 * epa-mail.el: Simplify GnuPG group expansion using
618 epg-expand-group.
619 (epa-mail-group-alist, epa-mail-group-modtime)
620 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
621 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
622 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
623 Remove.
624
7c643369
FL
6252011-08-16 Feng Li <fengli@gmail.com> (tiny change)
626
627 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
628
9c4aeabf
AM
6292011-08-16 Alan Mackenzie <acm@muc.de>
630
631 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
632 Correct, to avoid the inside of macros.
633
3a99bf64
RS
6342011-08-16 Richard Stallman <rms@gnu.org>
635
04963aa8
RS
636 * epa-mail.el: Handle GnuPG group definitions.
637 (epa-mail-group-alist, epa-mail-group-modtime)
638 (epa-mail-gnupg-conf-file): New variables.
639 (epa-mail-parse-groups, epa-mail-sync-groups)
640 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
641 (epa-mail-expand-recipients): New functions.
642 (epa-mail-encrypt): Call epa-mail-expand-recipients.
643
177549d0
RS
644 * mail/rmail.el (rmail-epa-decrypt): New command.
645
fe38beef
RS
646 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
647 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
648 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
649 (epa-decrypt-armor-in-region): Make error message clearer.
650
934eacb9
SM
6512011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
652
653 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
654 and "a2b" to "ab" for `prefix'.
655
d024fb4e
CY
6562011-08-14 Chong Yidong <cyd@stupidchicken.com>
657
658 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
659 filter groups.
de148fee
CY
660 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
661 Fourquet (Bug#8804).
d024fb4e 662
62f1ca49
JB
6632011-08-12 Juanma Barranquero <lekktu@gmail.com>
664
665 * startup.el (argi): Declare as global variable (bug#9275).
666
9ccaaa4b
CY
6672011-08-12 Chong Yidong <cyd@stupidchicken.com>
668
669 * subr.el (string-mark-left-to-right): Search the entire string
670 for RTL script, not just the terminating character. Doc fix.
671
a3dae87a
SM
6722011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
673
6cd18349
SM
674 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
675 New function.
676 (js--regexp-literal, js-syntax-propertize-function): Remove.
677 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
678 (js-mode-map): Don't rebind electric keys.
679 (js-insert-and-indent): Remove.
680 (js-mode): Setup electric-layout and electric-indent instead.
681
a3dae87a
SM
682 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
683
9d5cb631
DU
6842011-08-12 Daiki Ueno <ueno@unixuser.org>
685
686 * epa.el (epa-progress-callback-function): Fix the logic of
687 displaying progress.
688 * epa-file.el (epa-file-insert-file-contents): Make progress
689 display more user-friendly.
690 (epa-file-write-region): Ditto.
691
3e26a4a2
CY
6922011-08-10 Chong Yidong <cyd@stupidchicken.com>
693
694 * subr.el (string-mark-left-to-right): New function.
695
696 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
697 Use string-mark-left-to-right.
698 (list-buffers-noselect): Caller changed.
699
a3dae87a
SM
700 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
701 Use string-mark-left-to-right.
3e26a4a2
CY
702 (tabulated-list-print): Recenter after moving point.
703
ac8cf6e6
JL
7042011-08-10 Juri Linkov <juri@jurta.org>
705
706 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
707 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
708 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
709
8d96c9a4
CY
7102011-08-09 Chong Yidong <cyd@stupidchicken.com>
711
712 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
713 (Bug#7554).
714
7be1c708 7152011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
716
717 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
718 character. (Bug#6594)
719
37e11a63
CY
7202011-08-08 Chong Yidong <cyd@stupidchicken.com>
721
839dde57
CY
722 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
723 (image-dired--with-db-file): New macro.
724 (image-dired-write-tags, image-dired-remove-tag)
725 (image-dired-create-gallery-lists, image-dired-write-comments)
726 (image-dired-get-comment, image-dired-mark-tagged-files)
727 (image-dired-list-tags, image-dired-gallery-generate): Use it.
728 (image-dired-gallery-generate): Use insert-file-contents.
729
37e11a63
CY
730 * time.el (display-time-world-list, display-time-world-display):
731 * time-stamp.el (time-stamp-string):
732 * vc/add-log.el (add-change-log-entry): Use setenv instead of
733 set-time-zone-rule (Bug#7337).
734
0b4946c4
DU
7352011-08-08 Daiki Ueno <ueno@unixuser.org>
736
737 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
738 (epg-error-to-string, epg-errors-to-string): New function.
739 (epg-wait-for-completion): Reverse errors list.
740 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
741 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
742 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
743 (epg-sign-keys, epg-generate-key-from-file)
744 (epg-generate-key-from-string): Format errors by using
745 epg-errors-to-string (bug#9255).
746 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
747
75bfc667
JL
7482011-08-07 Juri Linkov <juri@jurta.org>
749
750 * faces.el (list-faces-display): Remove extra angle bracket
751 from `help-mode-map'.
752
753 * info.el (Info-history-toc-nodes): Doc fix.
754
755 * longlines.el (longlines-mode): Doc fix.
756
673e08bb
SM
7572011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
758
4640dd88
SM
759 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
760 of statements and in a few more cases (bug#9183).
761
673e08bb
SM
762 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
763 New functions.
764 (cl-transform-lambda): Use them (bug#9239).
765
89b3f019
MR
7662011-08-05 Martin Rudalics <rudalics@gmx.at>
767
768 * window.el (display-buffer-same-window)
769 (display-buffer-same-frame, display-buffer-other-window)
770 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
771 (pop-to-buffer-other-window)
772 (pop-to-buffer-same-frame-other-window)
773 (pop-to-buffer-other-frame): Make them defuns.
774 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
775
640c8776
SM
7762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * subr.el (make-composed-keymap): Move from C. Change calling
779 convention, and improve docstring to bring attention to a subtle point.
780 * minibuffer.el (completing-read-default): Adjust accordingly.
781
63648a95
MA
7822011-08-03 Michael Albinus <michael.albinus@gmx.de>
783
784 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
785 (tramp-open-shell): Use `tramp-shell-quote-argument'.
786
787 * net/trampver.el: Update release number.
788
b796c9b7
SM
7892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
792 "in" (bug#9190).
793
2239d7d5
LMI
7942011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
795
e07dd7c3
LMI
796 * mail/sendmail.el (sendmail-query-once): Restore the current
797 buffer after querying (bug#9074).
798
0e6a2bd7
LMI
799 * dired.el (dired-flagged): Use different faces for marked and
800 flagged files (bug#6117).
801
ce887515
LMI
802 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
803 (bug#4433).
804
92f2affc
LMI
805 * ido.el (ido-mode): Switch off the message if called
806 non-interactively.
807
57d5aff0
LMI
808 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
809 before 587, since it appears that that's more likely to work for
810 more people.
811
98cd6c18
LMI
812 * cus-edit.el (custom-file): When running under emacs -q, always
813 refuse to save the customisations, even if the .emacs file doesn't
814 exist.
815
b96dec83
LMI
816 * info.el: Remove the `Info-beginning-of-buffer' function
817 (bug#8325).
818
b796c9b7
SM
819 * net/network-stream.el (network-stream-open-starttls):
820 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 821
d90e2ea0
MR
8222011-08-01 Martin Rudalics <rudalics@gmx.at>
823
824 * window.el (display-buffer-in-window): Don't set dedicated status
825 of window here (Bug#9215).
826 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
827 (display-buffer-pop-up-side-window)
b796c9b7 828 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 829
cca09170
SM
8302011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
831
832 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
833 before binding generated-autoload-file.
834
027b979c
DD
8352011-08-01 Deniz Dogan <deniz@dogan.se>
836
837 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
838
3c7ee4f3
MA
8392011-07-30 Michael Albinus <michael.albinus@gmx.de>
840
841 Sync with Tramp 2.2.2.
842
843 * net/trampver.el: Update release number.
844
2cc8e51a
JL
8452011-07-30 Juri Linkov <juri@jurta.org>
846
847 * dired-aux.el (dired-touch-initial): Remove function.
848 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
849 current time, and `default' to the last modification time of the
850 current marked file (bug#6887).
851
a514d856
JM
8522011-07-28 Jose E. Marchesi <jemarch@gnu.org>
853
854 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 855 numeric argument to read-number (bug#9163).
a514d856 856
8a7eddd7
MA
8572011-07-27 Michael Albinus <michael.albinus@gmx.de>
858
859 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
860 connection process, it could be nil.
861
1ddd96f5
LL
8622011-07-27 Leo Liu <sdl.web@gmail.com>
863
864 Simplify url handling in rcirc-mode.
865
866 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
867 (rcirc-browse-url-at-mouse): Remove.
868 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
869
b248a85d
AM
8702011-07-26 Alan Mackenzie <acm@muc.de>
871
872 Fontify bitfield declarations properly.
873
874 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
875 (c-symbol-chars): Now exported as a lang variable.
876 (c-not-primitive-type-keywords): New lang variable.
877
878 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
879 QT keyword "more" to prevent "more slots: ...." being spuriously
880 parsed as a bitfield declaraion.
881
b796c9b7
SM
882 * progmodes/cc-engine.el (c-beginning-of-statement-1):
883 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
884 (c-punctuation-in): New function.
885 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
886 declarations properly.
887
68575ab0
UJ
8882011-07-26 Ulf Jasper <ulf.jasper@web.de>
889
890 * calendar/icalendar.el (icalendar--all-events): Take care of
891 multiple vcalendars in a single file.
b796c9b7 892 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 893
0f0a88b9
DD
8942011-07-25 Deniz Dogan <deniz@dogan.se>
895
896 * image.el (insert-image): Clarifying docstring.
897
0b3f36df
MA
8982011-07-24 Michael Albinus <michael.albinus@gmx.de>
899
900 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
901 `tramp-send-command-and-check' if there is no error.
902 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
903
a9901f61
AM
9042011-07-22 Alan Mackenzie <acm@muc.de>
905
906 Prevent cc-langs.elc being loaded at run time.
907
908 * progmodes/cc-mode.el: Remove two autoload forms which loaded
909 cc-langs.
910
911 * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
912 "(require 'cc-langs)". Quote a form so it will evaluate at
913 (cc-mode's) compilation time.
914
11d074b2
MA
9152011-07-22 Michael Albinus <michael.albinus@gmx.de>
916
917 * net/tramp.el (tramp-file-name-handler): Avoid recursive
918 loading. (Bug#9114)
919
938b94c8
MR
9202011-07-21 Martin Rudalics <rudalics@gmx.at>
921
922 * window.el (display-buffer-pop-up-window)
923 (display-buffer-pop-up-side-window)
924 (display-buffer-in-side-window): Call display-buffer-set-height
925 and display-buffer-set-width after setting the new window's
b796c9b7 926 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 927
bfa4f190
SS
9282011-07-20 Sam Steingold <sds@gnu.org>
929
930 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
931 (etags-tags-included-tables): Call `convert-standard-filename' on
932 the file names contained in TAGS so that windows Emacs can handle
933 TAGS files created by cygwin ctags.
934
8ca42262
LMI
9352011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
936
937 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
938 which apparently didn't work.
939
5db2afd2 9402011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 941
5db2afd2
RW
942 * proced.el (proced-send-signal): For *Marked Processes* buffer
943 put point at beginning of buffer.
944
92e15d10
SB
9452011-07-19 Stephen Berman <stephen.berman@gmx.net>
946
947 * proced.el (proced-format): Make header lines align with the text
948 (bug#1779).
949
1bfd59e5
LMI
9502011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
951
952 * view.el (view-buffer): Allow running in `special' modes if we're
953 visiting a file (bug#8615).
954
f5aae37c
MR
9552011-07-19 Martin Rudalics <rudalics@gmx.at>
956
957 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
958 (display-buffer-alist-set-1, display-buffer-alist-set-2):
959 New functions.
f5aae37c
MR
960 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
961 more accurately.
962
bf2c1571
AM
9632011-07-18 Alan Mackenzie <acm@muc.de>
964
965 Fontify declarators properly when, e.g., a jit-lock chunk begins
966 inside a declaration.
967
968 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
969
b796c9b7
SM
970 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
971 New function.
bf2c1571
AM
972 (c-complex-decl-matchers): Insert reference to
973 c-font-lock-enclosing-decls.
974
975 * progmodes/cc-engine.el (c-backward-single-comment):
976 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
977 to nil around calls to (forward-comment -1).
978
4e190b80
LMI
9792011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
980
12dc863d
LMI
981 * image.el (put-image): Doc typo fix.
982
a762e966
LMI
983 * progmodes/etags.el (tags-search): Doc typo fix.
984
4e190b80
LMI
985 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
986 password if we get errors 550 to 554.
987
f019fb21
LMI
9882011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
989
b796c9b7 990 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 991
81746738
LMI
992 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
993 indentation character (bug#6380).
994
3ee3a1b5
LMI
995 * files.el (buffer-offer-save): Made permanently local (bug#6241).
996
c82f64de
LMI
997 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
998 to clarify what the problem is (bug#4291).
999
f019fb21
LMI
1000 * simple.el (current-kill): Clarify what
1001 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
1002 (auto-fill-mode): Document `auto-fill-function' in relation to
1003 `auto-fill-mode' (bug#2470).
f019fb21 1004
0794775d
LM
10052011-07-16 Lawrence Mitchell <wence@gmx.li>
1006
1007 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
1008 method if slot is read-only (bug#9035).
1009
be39b8cc
MR
10102011-07-16 Martin Rudalics <rudalics@gmx.at>
1011
b796c9b7 1012 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 1013 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
1014 selected before, see discussion of (Bug#8615), (Bug#6954).
1015 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 1016
6ccf7859
GM
10172011-07-15 Glenn Morris <rgm@gnu.org>
1018
1019 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 1020 Respect help-form.
6ccf7859 1021
87e86684
LM
10222011-07-09 Lawrence Mitchell <wence@gmx.li>
1023
1024 * net/gnutls.el (gnutls-min-prime-bits): New variable.
1025 (gnutls-negotiate): Use it.
1026
d6066239
LMI
10272011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1028
b796c9b7
SM
1029 * net/gnutls.el (gnutls-negotiate):
1030 Upcase `gnutls-algorithm-priority'.
d6066239 1031
bd23ebc0
GM
10322011-07-15 Glenn Morris <rgm@gnu.org>
1033
c65bca65
GM
1034 * jka-compr.el (jka-compr-verbose): Move from here...
1035 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
1036 Add missing :version tag.
1037 * info.el: No need to require jka-compr when compiling.
bd23ebc0 1038
478615cc
LMI
10392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1040
7b41decb
LMI
1041 * net/gnutls.el (gnutls-algorithm-priority): New variable.
1042 (gnutls-negotiate): Use it.
1043
dbc44fcd
LMI
1044 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
1045
06789f97
LMI
1046 * info.el (Info-beginning-of-buffer): New command.
1047 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
1048 announcing `b' as the key (bug#8325).
ab896c37 1049 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 1050
c39da690
LMI
1051 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
1052
3aa5f34b
LMI
1053 * international/mule-cmds.el
1054 (describe-specified-language-support): Make the error message
1055 clearer (bug#8905).
1056
4bf0979f
LMI
1057 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
1058
478615cc
LMI
1059 * isearch.el (isearch-barrier): Add a doc string, since it's
1060 mentioned in a function doc string (bug#8678).
1061
75c68aa1
MR
10622011-07-15 Martin Rudalics <rudalics@gmx.at>
1063
1064 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
1065 buffer argument (Bug#9083) and self-identifying label argument.
1066
a7c33da2
GM
10672011-07-15 Glenn Morris <rgm@gnu.org>
1068
1069 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
1070
2f5c6024
LMI
10712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1072
1073 * man.el (Man-fontify-manpage): Fix message when formatting the
1074 man page (bug#7929).
1075
0bb23927 10762011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
1077
1078 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
1079 argument LRM; if non-nil, append an invisible LRM character to the
1080 buffer name.
1081 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
1082 last argument non-nil, when formatting buffer names.
0bb23927
EZ
1083 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
1084 paragraph direction.
cce4b0a7 1085
621ef9ab
LMI
10862011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1087
d1583c48
LMI
1088 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
1089 the man page name (bug#7929).
1090
6a57fb5f
LMI
1091 * image.el (put-image): Mention the `put-image' overlay property
1092 (bug#7834).
1093
d7956b14
LMI
1094 * scroll-bar.el (set-scroll-bar-mode): Mention that
1095 `scroll-bar-mode' lists the values (bug#7772).
1096
5b2d4a66
LMI
1097 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
1098 command (bug#7729).
1099
7509a874
LMI
1100 * rect.el (apply-on-rectangle): Return the point after the last
1101 operation.
1102 (string-rectangle): Go to the point after the last operation
1103 (bug#7522).
1104
4fe74b19
LMI
1105 * printing.el (pr-toggle-region): Clarify the documentation
1106 slightly (bug#7493).
1107
b796c9b7
SM
1108 * time.el (display-time-update):
1109 Allow `display-time-mail-function' to return nil (bug#7158).
1110 Fix suggested by Detlev Zundel.
ab283561 1111
fc233c9d
LMI
1112 * vc/diff.el (diff): Clarify the order the file names are read
1113 (bug#7111).
1114
43f5740b
LMI
1115 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
1116 the doc string (bug#7015).
1117
f2182a76
LMI
1118 * font-lock.el (font-lock-maximum-decoration): Mention what
1119 numeric levels mean (bug#6935).
1120
621ef9ab
LMI
1121 * startup.el (initial-buffer-choice): Don't mention the `none'
1122 selection, which is against policy.
1123
adc47434
MR
11242011-07-14 Martin Rudalics <rudalics@gmx.at>
1125
b796c9b7
SM
1126 * window.el (display-buffer-normalize-special):
1127 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 1128
7e5bfb8f
EZ
11292011-07-14 Eli Zaretskii <eliz@gnu.org>
1130
1131 * subr.el (version<, version<=, version=): Mention "-CVS" and
1132 "-12345" alpha version numbers.
1133
27fa387a
CY
11342011-07-14 Chong Yidong <cyd@stupidchicken.com>
1135
1136 * bindings.el: Add advertised binding for set-mark-command
1137 (Bug#5772).
1138
8bdfa064
CY
11392011-07-14 Chong Yidong <cyd@stupidchicken.com>
1140
1141 * bindings.el (mode-line-other-buffer):
1142 * bookmark.el (bookmark-bmenu-2-window):
1143 * bs.el (bs-cycle-next, bs-cycle-previous):
1144 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
1145 switch-to-buffer.
1146
1147 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 1148 Delete.
8bdfa064 1149
5eba16a3
JB
11502011-07-14 Juanma Barranquero <lekktu@gmail.com>
1151
1152 * follow.el (follow-debug-message, follow-redisplay):
1153 * jka-cmpr-hook.el (with-auto-compression-mode):
1154 Fix typos in docstrings.
1155
15853710
LMI
11562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1157
a28e4607
LMI
1158 * subr.el (with-silent-modifications): Clarify somewhat what the
1159 macro inhibits (bug#6525).
1160
15853710
LMI
1161 * simple.el (eval-expression): Note what it does if called
1162 interactively (bug#6495).
1163
bee0fcef
CY
11642011-07-13 Chong Yidong <cyd@stupidchicken.com>
1165
b796c9b7
SM
1166 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
1167 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
1168
1169 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1170 Remove switch-to-buffer.
1171
58274504
LMI
11722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1173
bd2fcc8d
LMI
1174 * files.el (make-directory): Clarify that an error will be raised
1175 if there's an error (bug#6397).
1176
0f04b32c
LMI
1177 * startup.el (initial-buffer-choice): Add `none' as a choice
1178 (bug#6234).
1179
465c5fc8
LMI
1180 * subr.el (add-hook): Clarify section about buffer-local hooks
1181 (bug#6218).
1182
58274504
LMI
1183 * dired.el (dired-flagged): Clarify doc string (bug#6117).
1184
bead9a43
JB
11852011-07-13 Juanma Barranquero <lekktu@gmail.com>
1186
1187 * tabify.el (untabify): Preserve the current column so that point
1188 doesn't move (bug#6032).
1189
3af98a7b
LMI
11902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1191
b796c9b7
SM
1192 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
1193 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 1194
6240145a
GM
11952011-07-13 Glenn Morris <rgm@gnu.org>
1196
1197 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
1198 (dired-insert-directory): Give a message the first time
1199 if ls is found not to support --dired.
1200
1d8c2ccc
LMI
12012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1202
1203 * simple.el (toggle-truncate-lines): Clarify what is toggled
1204 (bug#5580). Text by Drew Adams.
1205
5fc4038e
CY
12062011-07-13 Chong Yidong <cyd@stupidchicken.com>
1207
1208 * simple.el (blink-matching-open): Make the error message from the
1209 last change less verbose.
1210
bf6012e5
DN
12112011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
1212
1213 * font-lock.el (font-lock-comment-face): Use the high contrast
1214 "yellow" color for font-lock-comment-face on low color terminals
1215 using a dark background color (bug#4221).
1216
343c3b5a
LMI
12172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1218
7e9505c5
LMI
1219 * dired.el (dired-insert-set-properties): Make the doc string
1220 reflect what it does now (bug#5325).
1221
c26fdcf5
LMI
1222 * simple.el (blink-matching-open): Say that we were unable to find
1223 the match within the limit, if we're limited (bug#5122).
1224
bb388cc5
LMI
1225 * international/mule-cmds.el (prefer-coding-system): Add an
1226 example (bug#4869).
1227
343c3b5a
LMI
1228 * progmodes/etags.el (tags-search): Document `file-list-form'
1229 (bug#4731).
1230
2a517d45
LM
12312011-07-13 Lawrence Mitchell <wence@gmx.li>
1232
1233 * net/browse-url.el (browse-url-default-browser)
1234 (browse-url-browser-function): Make the default browser choice a
1235 bit more logical (bug#4300). Also clean up the doc string.
1236
b6c78ef2
JB
12372011-07-13 Juanma Barranquero <lekktu@gmail.com>
1238
1239 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
1240 binary endings (bug#4440).
1241
1c4dd947
LMI
12422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
1243
a2014063
LMI
1244 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
1245 which can be pretty annoying (bug#8971).
1246
9c9c2d88
LMI
1247 * jka-compr.el (jka-compr-verbose): New variable, and use
1248 throughout (bug#8971).
1249
1c4dd947
LMI
1250 * info.el (Info-find-file): Fall back on the installation
1251 directory if we can't find the info node anywhere else.
1252
a1c9f41b
SO
12532011-07-13 Sergei Organov <osv@javad.com> (tiny change)
1254
1255 * vc/vc.el (vc-revert-file):
1256 Don't set file time-stamp in the past. (Bug#5181)
1257
536f3d36
LMI
12582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1259
7152b011
LMI
1260 * files.el (after-find-file): Give a better error message when
1261 trying to find a symlink that points to a file that doesn't exist
1262 (bug#4398).
1263
536f3d36
LMI
1264 * progmodes/cc-vars.el: Remove (probably) misleading comment
1265 (bug#4396).
1266
460c0fba
JB
12672011-07-12 Johan Bockgård <bojohan@gnu.org>
1268
1269 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
1270
7a6bda45
CY
12712011-07-12 Chong Yidong <cyd@stupidchicken.com>
1272
1273 * mouse-sel.el: Hack restoring functionality, while keeping
1274 compatibility with 2010-07-03 changes to mouse selection.
1275 (mouse-sel-primary-overlay): New var.
1276 (mouse-sel-selection-alist): Use it.
1277 (mouse-sel-mode): Doc fix; remove points that are default features
1278 of mouse.el.
1279
c79598ef
JB
12802011-07-12 Johan Bockgård <bojohan@gnu.org>
1281
1282 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1283 Fix previous fix (bug#2490).
1284
ff8be6ef
RW
12852011-07-12 Roland Winkler <winkler@gnu.org>
1286
b796c9b7
SM
1287 * textmodes/bibtex.el (bibtex-initialize):
1288 Use pop-to-buffer-same-window.
ff8be6ef
RW
1289 (bibtex-search-entries): Fix interactive call.
1290
296ba3ee
LMI
12912011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
1292
f5242a02 1293 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
1294 Fontise bytecomp Error lines more correctly (bug#2490).
1295 Fix suggested by Johan Bockgård.
f5242a02 1296
296ba3ee
LMI
1297 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
1298
1299 * dired-x.el (dired-guess-default): Use `delete-dups'.
1300
f69fd0d2
CY
13012011-07-12 Chong Yidong <cyd@stupidchicken.com>
1302
1303 * dired.el (dired-mark-prompt):
1304 * dired-aux.el (dired-read-shell-command): Doc fix.
1305
eab5dc07
LMI
13062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1307
b796c9b7
SM
1308 * mail/sendmail.el (sendmail-query-once):
1309 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
1310 emacs -Q.
1311
1312 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1313
eab5dc07
LMI
1314 * cus-edit.el (custom-file): Take an optional no-error variable.
1315 (customize-save-variable): Set the variable, and give a warning if
1316 running under "emacs -q".
1317
a1e65d42
JB
13182011-07-11 Juanma Barranquero <lekktu@gmail.com>
1319
1320 * loadhist.el (unload-feature-special-hooks):
1321 Add `auto-coding-functions', `fill-nobreak-predicate' and
1322 `find-directory-functions' (bug#5327).
1323
1d52da10
LMI
13242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1325
be958f1d
LMI
1326 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
1327
5bedb26c
LMI
1328 * cus-edit.el (custom-guess-name-alist): -alist variables should
1329 use the `alist' type (bug#3120). Suggested by Drew Adams.
1330
1d52da10
LMI
1331 * printing.el: Add documentation to all the `pr-toggle-' commands.
1332
481a51b6
LL
13332011-07-11 Leo <sdl.web@gmail.com> (tiny change)
1334
1335 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
1336 backends where it makes sense (bug#2623).
1337
dcc88d8a
LMI
13382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1339
c3de9feb
LMI
1340 * dired-x.el (dired-guess-default): Remove duplicate shell command
1341 entries (bug#2028).
8a93078b 1342 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 1343 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 1344
dcc88d8a
LMI
1345 * subr.el (remove-duplicates): New conveniency function.
1346
505e3645
LMI
13472011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
1348
1349 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
1350 (bug#1526).
1351
13522011-07-10 Martin Rudalics <rudalics@gmx.at>
1353
1354 * window.el (display-buffer-normalize-default): Don't invert
1355 meaning of even-window-heights. Reported by Eli Zaretskii
1356 <eliz@gnu.org>.
1357
455e4fa1
BR
13582011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
1359
1360 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
1361
8e0bc3e9
CY
13622011-07-10 Chong Yidong <cyd@stupidchicken.com>
1363
1364 * window.el (display-buffer): Fix arguments to
1365 display-buffer-reuse-window in last change.
1366
fa7c3228
CY
1367 * faces.el (link): Use a less saturated blue on light backgrounds.
1368
1369 * startup.el (fancy-startup-text, fancy-about-text)
1370 (fancy-startup-tail): Use font-lock faces, for background safety.
1371
c0a7f300
BN
13722011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
1373
b796c9b7
SM
1374 * emulation/viper-cmd.el (viper-change-state-to-vi):
1375 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 1376
4dc2a129
MR
13772011-07-09 Martin Rudalics <rudalics@gmx.at>
1378
1379 * window.el (display-buffer-default-specifiers): Remove.
1380 (display-buffer-macro-specifiers): Remove default specifiers.
1381 (display-buffer-alist): Default to nil.
b796c9b7 1382 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
1383 (display-buffer-pop-up-window): Allow splitting internal
1384 windows. Check whether a live window was created.
1385 (display-buffer-other-window-means-other-frame)
1386 (display-buffer-normalize-arguments): Rename to
1387 display-buffer-normalize-argument and rewrite. Set the
1388 other-window specifier.
1389 (display-buffer-normalize-special): New function.
1390 (display-buffer-normalize-options): Rename to
1391 display-buffer-normalize-default and rewrite.
1392 (display-buffer-normalize-options-inhibit): Remove.
1393 (display-buffer-normalize-specifiers): Rewrite.
1394 (display-buffer): Process other-window specifier and call
1395 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
1396 more faithfully.
b796c9b7 1397 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 1398 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
1399 (display-buffer-in-window, display-buffer-alist-set):
1400 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
1401 <tassilo@member.fsf.org>.
1402
2d43b8c9
LL
14032011-07-09 Leo Liu <sdl.web@gmail.com>
1404
1405 * register.el (insert-register): Restore accidental change on
1406 2011-06-26. (Bug#9028)
1407
7f9b7c53
GM
14082011-07-09 Glenn Morris <rgm@gnu.org>
1409
1410 * subr.el (remq): Handle the empty list. (Bug#9024)
1411
f042cfd8
AS
14122011-07-08 Andreas Schwab <schwab@linux-m68k.org>
1413
1414 * mail/sendmail.el (send-mail-function): No longer delay custom
1415 initialization.
1416 * custom.el (custom-initialize-delay): Doc fix.
1417
856b2f11
SM
14182011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1419
1420 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
1421
afae1d68
MA
14222011-07-08 Michael Albinus <michael.albinus@gmx.de>
1423
1424 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
1425 human-friendly prompt.
1426
0757af94
SM
14272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
1428
1429 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
1430 provided by a particular plugin.
1431
d760b731
LMI
14322011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
1433
1434 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
1435 save customizations (with "emacs -Q"), just set the variable
1436 instead of erroring out.
1437
1438 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
1439
cd79ce90
JL
14402011-07-08 Juri Linkov <juri@jurta.org>
1441
1442 * arc-mode.el (archive-zip-expunge, archive-zip-update)
1443 (archive-zip-update-case): Use 7z if found by `executable-find'.
1444 The order of searching the available programs is the same as in
1445 `archive-zip-extract' (bug#8968).
1446
14cc04aa
CY
14472011-07-07 Chong Yidong <cyd@stupidchicken.com>
1448
1449 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
1450 (menu-bar-options-menu): Tweak descriptions.
1451
0a1848ec
LMI
14522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1453
1454 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
1455 menu items into verb phrases (bug#1421). Also refill to fit under
1456 80 columns.
1457
f5bd0689
CY
14582011-07-07 Chong Yidong <cyd@stupidchicken.com>
1459
538e85c6
CY
1460 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
1461 (Info-read-node-name): Doc fix (Bug#1084).
1462
f5bd0689
CY
1463 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
1464 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
1465 (end-of-sexp, beginning-of-sexp)
1466 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
1467 (forward-symbol, forward-same-syntax, word-at-point)
1468 (sentence-at-point): Doc fix (Bug#1144).
1469
56ec5115
LMI
14702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
1471
f3f8e37f
LMI
1472 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
1473 should cover it (bug#1281).
1474
0757af94 1475 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 1476
12b9eb35
LMI
1477 * net/network-stream.el (network-stream-open-starttls): If gnutls
1478 negotiation fails, then possibly try again with a non-encrypted
1479 connection (bug#9017).
1480
56ec5115
LMI
1481 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
1482 be used.
1483
c2f9aec8
RS
14842011-07-07 Richard Stallman <rms@gnu.org>
1485
1486 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
1487 property, and handle its changed format.
1488 Look for the correct line number.
1489 Use file's line contents (but not past first =) to find
1490 correct line in message.
1491
ef7b981d 14922011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
1493
1494 * international/characters.el (build-unicode-category-table):
1495 Delete it.
0757af94 1496 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 1497
0757af94 1498 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
1499 to src/chartab.c.
1500 (get-char-code-property): Call unicode-property-table-internal to
1501 load a file. Call get-unicode-property-internal where necessary.
1502 (put-char-code-property): Call unicode-property-table-internal to
1503 load a file. Call put-unicode-property-internal where necessary.
1504 put-unicode-property-internal where necessary.
0757af94
SM
1505 (char-code-property-description):
1506 Call unicode-property-table-internal to load a file.
c805dec0
KH
1507
1508 * international/charprop.el:
1509 * international/uni-bidi.el:
1510 * international/uni-category.el:
1511 * international/uni-combining.el:
1512 * international/uni-comment.el:
1513 * international/uni-decimal.el:
1514 * international/uni-decomposition.el:
1515 * international/uni-digit.el:
1516 * international/uni-lowercase.el:
1517 * international/uni-mirrored.el:
1518 * international/uni-name.el:
1519 * international/uni-numeric.el:
1520 * international/uni-old-name.el:
1521 * international/uni-titlecase.el:
1522 * international/uni-uppercase.el: Regenerate.
1523
1524 * loadup.el: Load international/charprop.el before
1525 international/characters.
1526
e14b388a
CY
15272011-07-07 Chong Yidong <cyd@stupidchicken.com>
1528
1529 * window.el (next-buffer, previous-buffer): Signal an error if
1530 called from a minibuffer window.
1531
1532 * bindings.el: Revert 2011-07-04 change.
1533
354cf0ba
RS
15342011-07-06 Richard Stallman <rms@gnu.org>
1535
1536 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
1537 (rmail-mime-insert-bulk, rmail-mime-insert-text):
1538 Treat markers like ints.
1539 (rmail-mime-entity): Doc fix.
1540
a48868a7
LMI
15412011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1542
4906cd3d
LMI
1543 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
1544 defcustom again for backwards compatibility.
1545
e0457abe
LMI
1546 * simple.el (shell-command-on-region): Fill.
1547
d67f7e1f
LMI
1548 * dired-aux.el (dired-kill-line): Add a doc string.
1549
fe204702
LMI
1550 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
1551 to "\\sw\\|\\s_" (bug#358).
1552
a48868a7
LMI
1553 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
1554 (dired-unmark-backward): Ditto.
1555 (dired-flag-backup-files): Ditto.
1556
1557 * dired-x.el (dired-mark-sexp): Ditto.
1558
aa8a705c
RS
15592011-07-06 Richard Stallman <rms@gnu.org>
1560
1561 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
1562 (rmail-mime-entity): New arg TRUNCATED.
1563 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
1564 New functions.
1565 (rmail-mime-save): Warn if entity is truncated.
1566 (rmail-mime-toggle-hidden): Likewise, for showing.
1567 (rmail-mime-process-multipart): Record when an entity is truncated.
1568
a9a936b9
RS
1569 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
1570 if ENTITY is a string.
1571
1f2b92cb
LMI
15722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
1573
f4f73198 1574 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
1575 of faces when `M-C-x'-ing their definitions (bug#8378).
1576 Also clean up the code slightly.
f4f73198 1577
12b16734
LMI
1578 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
1579 because that makes the colours go away.
1580
f0691d22
LMI
1581 * mail/sendmail.el (send-mail-function): Change the default to
1582 `sendmail-query-once'.
9e87df06 1583 (sendmail-query-once): Add an autoload cookie.
f0691d22 1584
1f2b92cb
LMI
1585 * net/network-stream.el (network-stream-open-starttls): Try using
1586 a plain connection even if the server offered STARTTLS, and we
1587 kinda wanted to use it, if Emacs doesn't have any STARTTLS
1588 capability. This should make smtpmail.el work in slightly more
1589 configurations.
1590
1cdd2a1b
MA
15912011-07-06 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
1594 New defun.
1595 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
1596
fbcc67e2
MM
15972011-07-06 Michael R. Mauger <mmaug@yahoo.com>
1598
1599 * progmodes/sql.el: Version 3.0
0757af94 1600 (sql-product-alist): Add product :completion-object,
fbcc67e2 1601 :completion-column, and :statement attributes.
0757af94 1602 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 1603 (sql-mode-syntax-table): Mark all punctuation.
0757af94 1604 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
1605 ansi keywords.
1606 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 1607 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
1608 (sql-oracle-show-reserved-words): New function for development.
1609 (sql-product-font-lock): Simplify for source code buffers.
1610 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
1611 New functions.
1612 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
1613 (sql-mode-map): Add statement movement functions.
1614 (sql-ansi-statement-starters, sql-oracle-statement-starters):
1615 New variable.
fbcc67e2
MM
1616 (sql-statement-regexp, sql-beginning-of-statement)
1617 (sql-end-of-statement, sql-signum): New functions.
0757af94 1618 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
1619 (sql-show-sqli-buffer): Bug fix.
1620 (sql-interactive-mode): Store connection data as buffer local.
0757af94 1621 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
1622 with sql-interactive-mode.
1623 (sql-save-connection): Save buffer local settings.
0757af94 1624 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
1625 (sql-product-interactive): Bug fix.
1626 (sql-preoutput-hold): New variable.
1627 (sql-interactive-remove-continuation-prompt): Bug fixes.
1628 (sql-debug-redirect): New variable.
1629 (sql-str-literal): New function.
1630 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 1631 Redesign.
fbcc67e2
MM
1632 (sql-oracle-save-settings, sql-oracle-restore-settings)
1633 (sql-oracle-list-all, sql-oracle-list-table): New functions.
1634 (sql-completion-object, sql-completion-column)
1635 (sql-completion-sqlbuf): New variables.
1636 (sql-build-completions-1, sql-build-completions)
1637 (sql-try-completion): New functions.
1638 (sql-read-table-name): Use them.
1639 (sql-contains-names): New buffer local variable.
1640 (sql-list-all, sql-list-table): Use it.
1641 (sql-oracle-completion-types): New variable.
1642 (sql-oracle-completion-object, sql-sqlite-completion-object)
1643 (sql-postgres-completion-object): New functions.
1644
d4eaeab1
GM
16452011-07-06 Glenn Morris <rgm@gnu.org>
1646
1647 * window.el (pop-to-buffer): Doc fix.
1648
322b7dab 16492011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
1650
1651 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
1652
322b7dab 16532011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 1654
322b7dab 1655 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 1656
322b7dab 1657 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 1658
605dd5bf
CY
16592011-07-05 Chong Yidong <cyd@stupidchicken.com>
1660
1661 * button.el (button): Inherit from link face. Suggested by Dan
1662 Nicolaescu.
1663
7dbfa719
SM
16642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1665
3db614b0
SM
1666 * progmodes/gdb-mi.el: Fit in 80 columns.
1667 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
1668 switch-to-buffer.
1669
7dbfa719
SM
1670 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
1671 if imenu is simply not configured (bug#8941).
1672
919d884a
KM
16732011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
1674
1675 * allout.el (allout-post-undo-hook): New allout outline-change
1676 event hook to signal undo activity.
1677 (allout-post-command-business): Run allout-post-undo-hook if an
1678 undo just occurred.
7dbfa719
SM
1679 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
1680 * allout-widgets.el (allout-widgets-after-undo-function):
1681 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
1682 in the vicinity of an undo.
1683 (allout-widgets-mode): Include allout-widgets-after-undo-function
1684 on the new allout-post-undo-hook.
1685
450a0f09
SM
16862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1687
1688 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
1689 Let define-derived-mode define it.
1690 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
1691 cycles of abbrev-table inheritance (bug#8998).
1692
2de69e00
RW
16932011-07-05 Roland Winkler <winkler@gnu.org>
1694
1695 * textmodes/bibtex.el: Add support for biblatex.
1696 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
1697 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
1698 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
1699 (bibtex-entry-alist, bibtex-field-alist): New variables.
1700 (bibtex-entry-field-alist): Obsolete alias for
1701 bibtex-BibTeX-entry-alist.
1702 (bibtex-entry-alist, bibtex-field-alist): New widgets.
1703 (bibtex-set-dialect): New command.
1704 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
1705 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
1706 Bind via bibtex-set-dialect.
2de69e00
RW
1707 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
1708 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
1709 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
1710 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
1711 Define via bibtex-set-dialect.
450a0f09
SM
1712 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
1713 Obey bibtex-no-opt-remove-re.
2de69e00
RW
1714 (bibtex-vec-push, bibtex-vec-incr): New functions.
1715 (bibtex-format-entry, bibtex-field-list)
1716 (bibtex-print-help-message, bibtex-validate)
1717 (bibtex-search-entries): Use new format of bibtex-entry-alist.
1718
2dcdbdd9
SM
17192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * progmodes/compile.el (compilation-goto-locus):
1722 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1723 * bs.el (bs-cycle-next, bs-cycle-previous):
1724 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
1725 * bindings.el (mode-line-other-buffer):
1726 * autoinsert.el (auto-insert):
1727 * arc-mode.el (archive-extract):
1728 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
1729
b27640fe
JB
17302011-07-05 Juanma Barranquero <lekktu@gmail.com>
1731
1732 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
1733 Fix check of `emacs-lock-unlockable-modes'.
1734 Coerce true values of `emacs-lock--try-unlocking' to t.
1735
53bbe3ad
JB
17362011-07-05 Juanma Barranquero <lekktu@gmail.com>
1737
1738 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
1739 * emacs-lock.el: New file.
1740
1d3cdbc7
JD
17412011-07-05 Julien Danjou <julien@danjou.info>
1742
1743 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
1744 than `boundp' to check if face is set.
1745
9173deec
JB
17462011-07-05 Juanma Barranquero <lekktu@gmail.com>
1747
1748 * register.el (registerv-make):
1749 * window.el (window-min-height): Fix typos in docstrings.
1750
869795d6
JD
17512011-07-05 Jan Djärv <jan.h.d@swipnet.se>
1752
9173deec 1753 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
1754 Update doc string.
1755
b768cdcd
JB
17562011-07-04 Juanma Barranquero <lekktu@gmail.com>
1757
1758 * server.el (server-execute): Catch quit and call
1759 `server-return-error' to pass the error back to emacsclient and
1760 close the connection (bug#8942).
1761
13aa217b
KM
17622011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
1763
1764 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
1765 insecure exception for current topic. Also note that auto-saves
1766 are handled differently.
1767
1768 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
1769 State variables for tracking auto-save inhibition situation.
1770
1771 (allout-write-contents-hook-handler): Rename from
1772 'allout-write-file-hook-handler', and describe how it depends on
1773 write-contents-functions sensitivity to non-nil value to prevent
1774 file write.
1775
1776 (allout-auto-save-hook-handler): Remove. auto-save does not check
1777 this in individual buffers, only in the starting buffer, so this
1778 is not the right way for us to inhibit auto-save in a buffer
1779 according to its condition.
1780
1781 (allout-mode): Use new allout-write-contents-hook-handler, and
1782 only with write-contents-functions. Remove auto-save provisions -
1783 they're implemented elsewhere.
1784
1785 (allout-before-change-handler): If undo is in progress, note that
1786 for attention of allout-post-command-business.
1787
1788 (allout-post-command-business): If the command we're following was
1789 an undo, check for change in the status of encrypted items and
1790 adjust auto-save inhibitions accordingly.
1791
1792 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
1793 according to whether there are or aren't any plain-text topics
1794 pending encryption.
1795
2dcdbdd9
SM
1796 (allout-inhibit-auto-save-info-for-decryption):
1797 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
1798 there are plain-text topics pending encryption.
1799
1800 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
1801 buffer-saved-size and some allout state to not inhibit auto-saves
1802 if there are no longer any plain-text topics pending encryption.
1803
0757af94
SM
1804 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
1805 No longer provide for exemption of the current topic.
13aa217b 1806
ac89b32c
JL
18072011-07-04 Juri Linkov <juri@jurta.org>
1808
1809 Add 7z operations to delete and save changed members (bug#8968).
1810 * arc-mode.el (archive-7z-expunge, archive-7z-update):
1811 New defcustoms.
1812 (archive-7z-write-file-member): New function.
1813 (archive-7z-summarize): Fix the number of dashes in the
1814 listing output.
1815
8fa39615
SM
18162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
1819 (bug#8958).
1820
2f11b3f1
CY
18212011-07-04 Chong Yidong <cyd@stupidchicken.com>
1822
d66fef2b
CY
1823 * bindings.el: Ignore next-buffer and previous-buffer in
1824 minibuffer-local-map.
1825
2f11b3f1
CY
1826 * font-lock.el (font-lock-builtin-face): Change light background
1827 color to dark slate blue (Bug#6693).
1828
f932a347
WD
18292011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
1830
1831 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
1832
c8af70e1
SM
18332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
1836 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1837 Add switch-to-buffer.
1838
f158badc
LMI
18392011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1840
1841 * isearch.el (isearch-search-fun-function): Clarify further the
1842 meaning of the function returned.
1843
6d95bd46
MA
18442011-07-04 Michael Albinus <michael.albinus@gmx.de>
1845
1846 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
1847
1848 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
1849 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
1850 Use it.
1851 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
1852 `tramp-default-remote-path' does not exist.
1853 (tramp-send-command-and-read): New optional argument NOERROR.
1854 (tramp-open-connection-setup-interactive-shell)
1855 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
1856 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
1857 (tramp-process-sentinel): Flush also process' connection property.
1858 (tramp-sh-handle-start-file-process): Do not set process
1859 sentinel. It is done now ...
1860 (tramp-maybe-open-connection): ... here. (Bug#8929)
1861
909e6b67
MK
18622011-07-04 MON KEY <monkey@sandpframing.com>
1863
1864 * play/animate.el (animate-string): Doc fixes and allow changing
1865 the buffer name (bug#5417).
1866
18672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868
c8af70e1 1869 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 1870
f34755dc
PE
18712011-07-04 Paul Eggert <eggert@cs.ucla.edu>
1872
396cec72
PE
1873 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
1874 This is simpler and helps future-proof the code.
1875 (timer-until): Use time-subtract and float-time.
08235028 1876 (timer--time-less-p): Use time-less-p.
f34755dc 1877
56e6cc31
JB
18782011-07-04 Juanma Barranquero <lekktu@gmail.com>
1879
3abb79e5
JB
1880 * type-break.el (timep): Use the value of `float-time' to avoid a
1881 byte-compiler warning.
1882
56e6cc31
JB
1883 * server.el (server-eval-and-print): Return any result, even nil.
1884
7b9430b4
PE
18852011-07-03 Paul Eggert <eggert@cs.ucla.edu>
1886
1887 * type-break.el: Accept time formats that the builtins accept.
1888 (timep, type-break-time-difference): Accept any format that
1889 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
1890 This is simpler and helps future-proof the code.
1891 (type-break-time-difference): Round rather than ignoring
1892 subseconds components.
1893
3034e9e7
LMI
18942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1895
1896 * info.el (Info-apropos-matches): Make non-interactive, since it
1897 doesn't seem to do anything useful as a command (bug#8829).
1898
1485f4c0
CY
18992011-07-03 Chong Yidong <cyd@stupidchicken.com>
1900
1901 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 1902 Move from faces.el.
1485f4c0
CY
1903 (frame-default-terminal-background): New function.
1904
1905 * custom.el (custom-push-theme): Don't record faces in `changed'
1906 theme; this doesn't work correctly for per-frame face settings.
1907 (disable-theme): Use face-set-after-frame-default to reset faces.
1908 (custom--frame-color-default): New function.
1909
9fa3dd45
LMI
19102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1911
c8af70e1 1912 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
1913 (bug#8769).
1914
6cbbc20c
KR
19152011-03-29 Kevin Ryde <user42@zip.com.au>
1916
1917 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1918 `perl-Test2' extend to match possible "fail #N" rep count
1919 (bug#8377).
1920
c7f98048
LMI
19212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1922
65676592
LMI
1923 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
1924 `smtpmail-via-smtp' now returns the error instead of nil.
1925
c7f98048
LMI
1926 * isearch.el (isearch-search-fun-function): Clarify the doc string
1927 (bug#8101).
1928
56e6cc31 19292011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
1930
1931 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
1932 unnecessary spaces (bug#8987).
1933
2b216704
LMI
19342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1935
1936 * net/network-stream.el (open-network-stream): Use the
1937 :end-of-capability command thoughout.
1938
19392011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
1940
1941 * net/network-stream.el (open-network-stream): Add the
1942 :end-of-capability command parameter, used by pop3.el.
1943
36adf6ce
LMI
19442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
1945
1ca0da0e
LMI
1946 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
1947
fc00f69c
LMI
1948 * fringe.el (fringe-query-style): Remove redundant text " (type ?
1949 for list)" (bug#6475).
1950
28fd8759
LMI
1951 * files.el (file-expand-wildcards): Ignore non-readable
1952 sub-directories while trying to find matches instead of signalling
1953 an error (bug#6297).
1954
0dd8b6da
LMI
1955 * man.el (Man-reference-regexp): Allow matching possible
1956 word-wrapped references (bug#6289).
1957
ce1438d6
LMI
1958 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
1959 for consistency with the other vc buffers (bug#6197).
1960 (vc-checkin): Ditto.
1961
1962 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
1963
36adf6ce
LMI
1964 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
1965
e83cc1f7
LMI
19662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1967
8a20ca4c
LMI
1968 * custom.el (defcustom): Clarify that :set is only used in the
1969 Customize user interface (bug#6089).
1970
83319045
LMI
1971 * progmodes/flymake.el (flymake-mode): If the buffer isn't
1972 associated with a file, refuse to run instead of erroring out
1973 (bug#6084).
1974
a8392169
LMI
1975 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
1976 the doc string, since it appears that using `fill-column' always
1977 controls the width (bug#7845).
1978
e83cc1f7
LMI
1979 * simple.el (shell-command-on-region): Say where the error output
1980 went if `shell-command-default-error-buffer' is set (bug#6857).
1981
e47ca23b
KM
19822011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
1983
1984 * allout.el (allout-yank-processing): Adjust cursor position for
1985 backwards-deleted space.
1986
1987 (allout-rebullet-heading): Register changes with
1988 allout-exposure-changed-hook, so the modified topic is properly
1989 decorated.
1990
5cf56143
LMI
19912011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
1992
08549772
LMI
1993 * minibuffer.el (completion-in-region): Document PREDICATE
1994 (bug#7136).
1995
48e96771
LMI
1996 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
1997 of keyword/argument pairs (bug#6904).
1998
c8af70e1
SM
1999 * replace.el (multi-occur):
2000 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 2001
e17d05e2
LMI
20022011-07-02 Drew Adams <drew.adams@oracle.com>
2003
2004 * dired.el (dired-mark-if): Make the message about whether it's
2005 marking or unmarking clearer (bug#8523).
2006
063b0e45
LMI
20072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2008
2009 * disp-table.el (display-table-print-array): New function.
2010 (describe-display-table): Use it to print the vectors more pretty
2011 (Bug#8859).
2012
28545e04
MR
20132011-07-02 Martin Rudalics <rudalics@gmx.at>
2014
2015 * window.el (window-state-get-1): Don't assign clone numbers.
2016 Add clone-of item to list of window parameters.
2017 (window-state-put-2): Don't process clone numbers.
2018 (display-buffer-alist): Fix doc-string.
2019
3349e122
SM
20202011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * subr.el (remq): Don't allocate if it's not needed.
2023 (keymap--menu-item-binding, keymap--menu-item-with-binding)
2024 (keymap--merge-bindings): New functions.
2025 (keymap-canonicalize): Use them to refine the canonicalization.
2026 * minibuffer.el (minibuffer-local-completion-map)
2027 (minibuffer-local-must-match-map): Move initialization from C.
2028 (minibuffer-local-filename-completion-map): Move initialization from C;
2029 don't inherit from anything here.
2030 (minibuffer-local-filename-must-match-map): Make obsolete.
2031 (completing-read-default): Use make-composed-keymap to combine
2032 minibuffer-local-filename-completion-map with either
2033 minibuffer-local-must-match-map or
2034 minibuffer-local-filename-completion-map.
2035
d224ac83
GM
20362011-07-01 Glenn Morris <rgm@gnu.org>
2037
3de63bf8
GM
2038 * type-break.el (type-break-time-sum): Use dolist.
2039
d224ac83
GM
2040 * textmodes/flyspell.el (flyspell-word-search-backward):
2041 Replace CL function.
2042
1a1e3f32
SM
20432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2044
fe3f64d5
SM
2045 * mouse.el (mouse--strip-first-event): New function.
2046 (function-key-map): Use it to map fringe clicks to normal clicks
2047 by default.
2048
eb604e34
SM
2049 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
2050 (vc-bzr-revision-completion-table): Add support for annotate and date.
2051
1a1e3f32
SM
2052 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
2053 inherit from parent.
2054
5bd35902
LMI
20552011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2056
ace6c69c 2057 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 2058 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 2059
191e2bed
LMI
2060 * dired.el (dired-mode): Fix up the doc string as suggested by
2061 Drew Adams (bug#8817).
2062
5bd35902
LMI
2063 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
2064 cookie, since the manual says that it should be possible to add
2065 this function to `find-file-hook' (bug#8709).
2066
eee8207a
TZ
20672011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2068
2069 * progmodes/cfengine.el: Moved all cfengine3.el functionality
2070 here. Noted Ted Zlatanov as the maintainer.
2071 (cfengine-common-settings, cfengine-common-syntax): New functions
2072 to set up common things between `cfengine-mode' and
2073 `cfengine3-mode'.
2074 (cfengine3-mode): New mode.
2075 (cfengine3-defuns cfengine3-defuns-regex
2076 (cfengine3-class-selector-regex cfengine3-category-regex)
2077 (cfengine3-vartypes cfengine3-font-lock-keywords)
2078 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 2079 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 2080
36b148cf
MA
20812011-07-01 Michael Albinus <michael.albinus@gmx.de>
2082
2083 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
2084
2085 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2086
0bf4ba9a
MR
20872011-07-01 Martin Rudalics <rudalics@gmx.at>
2088
2089 * window.el (same-window-buffer-names, same-window-regexps)
2090 (same-window-p, special-display-frame-alist)
2091 (special-display-popup-frame, special-display-function)
2092 (special-display-buffer-names, special-display-regexps)
2093 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
2094 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
2095 (split-window-preferred-function, split-height-threshold)
2096 (split-width-threshold, even-window-heights)
2097 (display-buffer-mark-dedicated, window-splittable-p)
2098 (split-window-sensibly, window-safely-shrinkable-p):
2099 Un-obsolete.
2100 (display-buffer): Don't spread args with function specifier
2101 because special-display-popup-frame won't like it.
2102
35837f51
PE
21032011-07-01 Paul Eggert <eggert@cs.ucla.edu>
2104
d0672f86
PE
2105 Time-stamp simplifications and fixes.
2106 These improve accuracy slightly, and future-proof the code
2107 against some potential changes to current-time format.
2108
b9444d97
PE
2109 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
2110 by using time-since and float-time.
2111
0ef923dc
PE
2112 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
2113 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
2114 + NNN microseconds".
2115
2f81380d
PE
2116 * type-break.el (type-break-time-sum): Rewrite using time-add.
2117
845b5c3e
PE
2118 * play/hanoi.el (hanoi-current-time-float): Remove.
2119 All uses replaced by float-time.
2120
ee6f1be0
PE
2121 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
2122 This yields a more-accurate answer.
2123 (rng-time-to-float): Remove; no longer needed.
2124
fe955043
PE
2125 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
2126
5777162a
PE
2127 * calendar/timeclock.el (timeclock-seconds-to-time):
2128 Defalias to seconds-to-time, since they're the same thing.
2129
3103f8b6 2130 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 2131 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
2132 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
2133
0e61a35f
SM
21342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2135
2136 * window.el (bury-buffer): Don't iconify the only frame.
2137 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
2138 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
2139
ddd63a1e
CY
21402011-07-01 Chong Yidong <cyd@stupidchicken.com>
2141
0e61a35f
SM
2142 * eshell/em-smart.el (eshell-smart-display-navigate-list):
2143 Add mouse-yank-primary.
ddd63a1e 2144
055f4923
TZ
21452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
2146
2147 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
2148
6a2fb145
SM
21492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
2150
2151 * emacs-lisp/find-func.el (find-library--load-name): New fun.
2152 (find-library-name): Use it to find relative load names when provided
2153 absolute file name (bug#8803).
2154
fd4983f2
LMI
21552011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2156
887d14ad
LMI
2157 * textmodes/flyspell.el (flyspell-word): Consider words that
2158 differ only in case as potential doublons (bug#5687).
2159
c53dc7fc
LMI
2160 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
2161 Remove two rather uninteresting debugging-like messages to make
2162 debbugs.el more silent.
2163
fd4983f2
LMI
2164 * comint.el (comint-password-prompt-regexp): Accept "Response" as
2165 a password-like phrase.
2166
b14c0c55
AM
21672011-06-30 Mastake YAMATO <yamato@redhat.com>
2168
2169 * progmodes/cc-guess.el: New file.
2170
6a2fb145 2171 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
2172
2173 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
2174 derived from `c-basic-common-init'.
2175
2176 * progmodes/cc-mode.el (top-level): Require cc-guess.
2177 (c-basic-common-init): Use `cc-choose-style-for-mode'.
2178
1fa280a3
LM
21792011-06-30 Lawrence Mitchell <wence@gmx.li>
2180
2181 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
2182
e6597158
AM
21832011-06-30 Alan Mackenzie <acm@muc.de>
2184
1fa280a3
LM
2185 * progmodes/cc-engine.el (c-guess-continued-construct):
2186 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
2187 lock is disabled. Name this case as "CASE G".
2188
68ba37fb
KM
21892011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
2190
2191 * allout.el (allout-yank-processing): Fix injection of extra space
2192 between bullet and non-whitespace character in first topic when
2193 pasting, ensuring that the actual spacing in the pasted topic
2194 following the bullet char is preserved. This extra space was
2195 causing pasted encrypted topics to get a decrypted status even
2196 when the content was actually still encrypted. Now the decryption
2197 status from before the paste is preserved.
2198
2199 (allout-flag-region): Set all allout overlays so they evaporate
2200 when reduced to zero length (evanescent), to prevent overlay
2201 leakage.
2202
887a0b34
GM
22032011-06-30 Glenn Morris <rgm@gnu.org>
2204
94b9acce
GM
2205 * w32-fns.el (w32-charset-info-alist): Declare.
2206
1d9b46d4
GM
2207 * find-dired.el (find-grep-options): Simplify.
2208
cc232200
GM
2209 * term/ns-win.el (ns-set-resource): Declare.
2210
28e77c46
GM
2211 * ses.el (row, col): Declare dynamic variables honestly.
2212
887a0b34
GM
2213 * textmodes/reftex-parse.el (index-tags): Declare.
2214
658d8eb8
CY
22152011-06-30 Chong Yidong <cyd@stupidchicken.com>
2216
2217 * cus-edit.el (customize-push-and-save): New function.
2218
2219 * files.el (hack-local-variables-confirm): Use it.
2220
1fa280a3
LM
2221 * custom.el (load-theme): New arg NO-CONFIRM.
2222 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
2223 (custom-enabled-themes): Doc fix.
2224
2225 * cus-theme.el (customize-create-theme)
2226 (custom-theme-merge-theme): Callers to load-theme changed.
2227
bb617717
LMI
22282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
2229
d61bdd5d
LMI
2230 * thingatpt.el (thing-at-point-short-url-regexp): Require that
2231 short URLs have at least one dot in them (bug #7614).
2232
bb617717
LMI
2233 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
2234 nil, because using a pty is apparently too slow (bug #895).
2235
2f31f37a
LMI
22362011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2237
2238 * mail/sendmail.el (sendmail-query-once): New function.
2239 (sendmail-query-once-function): New variable.
2240
3076b24e
GM
22412011-06-29 Glenn Morris <rgm@gnu.org>
2242
faf2a174
GM
2243 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
2244
3076b24e
GM
2245 * ses.el (top-level): Require cl when compiling.
2246 (ses-set-localvars): Fix error statement.
2247 Call it at compile time to silence a storm of warnings.
2248
5386012d
MR
22492011-06-29 Martin Rudalics <rudalics@gmx.at>
2250
2251 * window.el (normalize-live-buffer): Rename to
2252 window-normalize-buffer.
2253 (normalize-live-frame): Rename to window-normalize-frame.
2254 (normalize-any-window): Rename to window-normalize-any-window.
2255 (normalize-live-window): Rename to window-normalize-live-window.
2256 (make-window-atom): Rename to window-make-atom.
2257 (window-resize-reset): Rename to window--resize-reset.
2258 (window-resize-reset-1): Rename to window--resize-reset-1.
2259 (resize-mini-window): Rename to window--resize-mini-window.
2260 (resize-subwindows-skip-p): Rename to
2261 window--resize-subwindows-skip-p.
2262 (resize-subwindows-normal): Rename to
2263 window--resize-subwindows-normal.
2264 (resize-subwindows): Rename to window--resize-subwindows.
2265 (resize-other-windows): Rename to window--resize-siblings.
2266 (resize-this-window): Rename to window--resize-this-window.
2267 (resize-root-window): Rename to window--resize-root-window.
2268 (resize-root-window-vertically): Rename to
2269 window--resize-root-window-vertically.
2270 (normalize-buffer-to-display): Rename to
2271 window-normalize-buffer-to-display.
2272 (normalize-buffer-to-switch-to): Rename to
2273 window-normalize-buffer-to-switch-to.
2274 Correspondingly update all callers of the functions listed
2275 above.
2276 (display-buffer-alist, display-buffer-normalize-arguments)
2277 (display-buffer-normalize-options, display-buffer)
2278 (display-buffer-alist-set): Use "function" instead of
2279 "fun-with-args".
2280
1176868d
CY
22812011-06-28 Chong Yidong <cyd@stupidchicken.com>
2282
2283 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
2284 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
2285 debbugs.gnu.org. Mention acknowledgment email.
2286
20a7a65f
LMI
22872011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
2288
2289 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
2290 buffer multibyteness, since it shouldn't matter.
2291
5f45cca5
MR
22922011-06-28 Martin Rudalics <rudalics@gmx.at>
2293
2294 * window.el (display-buffer-in-side-window): Handle dedicated
2295 windows as in display-buffer-reuse-window.
2296 (display-buffer-normalize-alist): Use value of override
2297 specifier.
2298 (display-buffer-normalize-specifiers): Use value of
2299 other-window-means-other-frame specifier.
2300 (display-buffer-alist): Rewrite some texts in widgets.
2301 (display-buffer): Spread arguments when calling function
2302 specified by fun-with-args.
2303
ad85fe1f
DD
23042011-06-28 Deniz Dogan <deniz@dogan.se>
2305
1fa280a3
LM
2306 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2307 Unnest `let'.
da68c4c8 2308
ad85fe1f
DD
2309 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
2310 selectors (Bug#5732).
ec49bd31 2311 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 2312
a08cc025
JA
23132011-06-27 Jari Aalto <jari.aalto@cante.net>
2314
2315 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
2316 (eshell-ls-date-format): New defcustom.
2317 (eshell-ls-file): Use it.
2318
e2b551c5
SM
23192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * help-fns.el (describe-variable): Fix message for terminal-local vars.
2322
8982b231
KY
23232011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
2324
2325 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
2326 (ange-ftp-make-tmp-name): New arg.
2327 (ange-ftp-file-local-copy): Use it.
2328
36c9fa27
J
23292011-06-27 Jambunathan K <kjambunathan@gmail.com>
2330
2331 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
2332 no-conversion (Bug#8870).
2333
d68443dc
MR
23342011-06-27 Martin Rudalics <rudalics@gmx.at>
2335
2336 * window.el (window-right, window-left, window-child)
2337 (window-child-count, window-last-child)
2338 (window-iso-combination-p, walk-window-tree-1)
2339 (window-atom-check-1, window-tree-1, delete-window)
2340 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
2341 new naming conventions - window-vchild, window-hchild,
2342 window-next and window-prev are now called window-top-child,
2343 window-left-child, window-next-sibling and window-prev-sibling
2344 respectively.
d615d6d2
MR
2345 (resize-window-reset): Rename to window-resize-reset.
2346 (resize-window-reset-1): Rename to window-resize-reset-1.
2347 (resize-window): Rename to window-resize.
2348 (window-min-height, window-min-width)
2349 (resize-mini-window, resize-this-window, resize-root-window)
2350 (resize-root-window-vertically, adjust-window-trailing-edge)
2351 (enlarge-window, shrink-window, maximize-window)
2352 (minimize-window, delete-window, quit-restore-window)
2353 (split-window, balance-windows, balance-windows-area-adjust)
2354 (balance-windows-area, window-state-put-2)
2355 (display-buffer-even-window-sizes, display-buffer-set-height)
2356 (display-buffer-set-width, set-window-text-height)
2357 (fit-window-to-buffer): Rename all "resize-window" prefixed
2358 calls to use the "window-resize" prefix convention.
2359 (display-buffer-alist): Fix symbol for label specifier.
2360 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
2361 corresponding specifier.
2362 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 2363
b6458526
VB
23642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2365
2366 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
2367 convention.
2368 (ses-call-printer): Does not pass an empty string to formatter when the
2369 cell is empty to keep from barking printer Calc math-format-value.
2370
d31fd9ac
RS
23712011-06-27 Richard Stallman <rms@gnu.org>
2372
43d5bf84
RS
2373 * battery.el (battery-mode-line-limit): New variable.
2374 (battery-update): Handle it.
2375
d31fd9ac
RS
2376 * mail/rmailmm.el (rmail-mime-process-multipart):
2377 Handle truncated messages.
2378
819a6054
GM
23792011-06-27 Glenn Morris <rgm@gnu.org>
2380
2381 * progmodes/flymake.el (flymake-err-line-patterns):
2382 Allow for column numbers in the ant/javac pattern. (Bug#8866)
2383
cedc73f2
VB
23842011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
2385
819a6054 2386 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
2387 (ses--clean-!, ses--clean-_): New functions.
2388 (ses-range): Add configurability of readout order, and conversion
2389 to Calc vector.
2390
5e5d49b6
VB
2391 * ses.el (ses-repair-cell-reference-all): New function.
2392 (ses-cell-symbol): Set macro as safe, so that it can be used in
2393 formulas.
2394
56e6cc31 2395 * ses.el: Update cycle detection algorithm.
90ca8b49 2396 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 2397 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
2398 (ses-set-localvars): New function.
2399 (ses-make-cell): Add property-list as a cell element.
2400 (ses-cell-property-get-fun, ses-cell-property-get)
2401 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
2402 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
2403 New functions.
90ca8b49
VB
2404 (ses-cell-property-set, ses-cell-property-pop)
2405 (ses-cell-property-get-handle): New macro.
2406 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
2407 New aliases, used for code readability.
2408 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
2409 cycle detection.
2410 (ses-self-reference-early-detection): New defcustom.
2411 (ses-formula-references): Robustify against self-refering cells.
2412 (ses-mode): Use ses-set-localvars.
2413 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
2414 before lauching the update processing.
2415 (ses-initialize-Dijkstra-attempt): New function.
2416 (ses-recalculate-cell): Update for cycle detection based on
2417 Dijkstra algorithm.
2418
2bb63e81
VB
2419 * ses.el: Fix commenting and indenting convention.
2420
c9d29fb8
SM
24212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * bs.el (bs-cycle-next): Complete last change.
2424
d8e4b68b
JB
24252011-06-27 Drew Adams <drew.adams@oracle.com>
2426
2427 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
2428
40098786
LMI
24292011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
2430
c9d29fb8
SM
2431 * net/network-stream.el (network-stream-open-starttls):
2432 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
2433 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
2434
40098786
LMI
2435 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
2436 to binary to possibly avoid line encoding issues on Windows (among
2437 other things).
2438
468d09d4
LMI
24392011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2440
2441 * net/network-stream.el (open-network-stream): Return an :error
2442 saying what the problem was, if possible.
2443
2444 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
2445 server.
2446
2447 * net/network-stream.el (network-stream-open-starttls): If we
2448 wanted to use STARTTLS, and the server offered it, but we weren't
2449 able to because we had no STARTTLS support, then close the connection.
2450 (open-network-stream): Return an :error element, if present.
2451
16f07dd7
CY
24522011-06-26 Chong Yidong <cyd@stupidchicken.com>
2453
88821ca0
CY
2454 * hl-line.el (hl-line-sticky-flag): Doc fix.
2455 (global-hl-line-sticky-flag): New option (Bug#8323).
2456 (global-hl-line-highlight): Obey it.
2457
16f07dd7
CY
2458 * vc/vc.el (vc-revert-show-diff): Default to t.
2459
6b5ccddf
KM
24602011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
2461
c9d29fb8
SM
2462 * allout-widgets.el (allout-widgets-post-command-business):
2463 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
2464 undecorated when an isearch is continued past, and isearch
2465 automatically collapses them. This leads to "widget leaks", where
2466 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
2467 hidden widgets can slow down cursor travel, substantially.
2468 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
2469 so we're doing without this nicety.
2470
2471 (allout-widgets-tally-string): Don't try to do a hash-table-count
2472 of allout-widgets-tally when it's nil. This eliminates spurious "Error
2473 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
2474 *Messages* when allout-widgets-maintain-tally is t.
2475
355f2e07
MR
24762011-06-26 Martin Rudalics <rudalics@gmx.at>
2477
2478 * window.el (display-buffer-normalize-argument): Rename to
2479 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
2480 LABEL argument. Respect special-display-function when popping up
2481 a new frame. Fix code searching for a window showing the buffer
2482 on another frame.
c9d29fb8
SM
2483 (display-buffer-normalize-specifiers):
2484 Call display-buffer-normalize-arguments.
355f2e07
MR
2485 (display-buffer-in-window): Don't undedicate the window if its
2486 buffer remains the same.
2487 Reported by Drew Adams <drew.adams@oracle.com>.
2488 (display-buffer-alist): Add choice for same-window macro
2489 specfier.
2490 (display-buffer): Mention special meaning of LABEL argument in
2491 doc-string. Fix quoting. Don't pop up a new frame even as
2492 fallback.
2493
7ca8fc42
JB
24942011-06-26 Juanma Barranquero <lekktu@gmail.com>
2495
2496 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
2497 avoid deleting the current window in some cases (bug#8911).
2498
bc312254
AS
24992011-06-26 Andreas Schwab <schwab@linux-m68k.org>
2500
2501 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
2502 (Bug#8934)
2503
2db18f3f
LMI
25042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
2505
c9d29fb8
SM
2506 * net/network-stream.el (network-stream-open-starttls):
2507 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
2508 (network-stream-open-tls): Ditto.
2509
6302e0d3
LL
25102011-06-26 Leo Liu <sdl.web@gmail.com>
2511
2512 * register.el (registerv): New struct.
2513 (registerv-make): New function.
c9d29fb8
SM
2514 (jump-to-register, describe-register-1, insert-register):
2515 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
2516 struct. (Bug#8415)
2517
5fdd4046
CY
25182011-06-26 Chong Yidong <cyd@stupidchicken.com>
2519
2afef60a
CY
2520 * vc/vc.el (vc-revert-show-diff): New defcustom.
2521 (vc-diff-internal): New arg specifying diff buffer.
2522 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
2523 reuse an existing *vc-diff* buffer (Bug#8927).
2524
5fdd4046
CY
2525 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
2526
e93db24a
GM
25272011-06-26 Glenn Morris <rgm@gnu.org>
2528
2529 * progmodes/f90.el (f90-critical-indent): New option.
2530 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
2531 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
2532 (f90-mode): Doc fix.
2533 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
2534 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
2535 (f90-beginning-of-block, f90-next-block, f90-indent-region)
2536 (f90-match-end): Handle block, critical.
2537
eefff499
GM
25382011-06-25 Glenn Morris <rgm@gnu.org>
2539
f6ba4cc9
GM
2540 * calendar/diary-lib.el (diary-included-files): Doc fix.
2541 (diary-include-files): New function, extracted from
2542 diary-include-other-diary-files and diary-mark-included-diary-files.
2543 (diary-include-other-diary-files, diary-mark-included-diary-files):
2544 Just call diary-include-files.
2545 (diary-mark-entries): Reset diary-included-files on first call.
2546
16712304
GM
2547 * calendar/diary-lib.el (diary-mark-entries)
2548 (diary-mark-included-diary-files):
2549 Visit included diary-files in temp buffers.
2550
5d8e0d43
GM
2551 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
2552 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
2553 (f90-start-block-re, f90-imenu-generic-expression)
2554 (f90-looking-at-program-block-start, f90-no-block-limit):
2555 Add support for submodules.
2556
ccf7a5d5
GM
2557 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
2558 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 2559
11fdef7d 25602011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
2561
2562 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
2563 buffer-file-type before setting its value, to avoid disastrous
eefff499 2564 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 2565
74f53697
JB
25662011-06-25 Juanma Barranquero <lekktu@gmail.com>
2567
2568 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
2569
2570 * ses.el (ses-unload-function):
2571 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
2572
2573 * proced.el (proced-unload-function):
2574 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
2575
18a4ce5e
AR
25762011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
2577
2578 * server.el (server-create-window-system-frame): Add parameters arg.
2579 (server-process-filter): Doc fix. Handle frame-parameters.
2580
519d22cc
JB
25812011-06-25 Juanma Barranquero <lekktu@gmail.com>
2582
2583 Fix bug#8730, bug#8781.
2584
2585 * loadhist.el (unload--set-major-mode): New function.
2586 (unload-feature): Use it.
2587
2588 * progmodes/python.el (python-after-info-look): Add autoload cookie.
2589 (python-unload-function): New function.
2590
c206f5b0
SM
25912011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
2592
2593 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
2594
f9ad64f3
GS
25952011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
2596
2597 * net/browse-url.el (browse-url-firefox-program): Add icecat to
2598 the candidates list.
2599
7d0da90e
JB
26002011-06-24 Juanma Barranquero <lekktu@gmail.com>
2601
2602 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
2603
14b4e83d
RS
26042011-06-23 Richard Stallman <rms@gnu.org>
2605
2606 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
2607 (rmail-variables): Set next-error-move-function.
2608 (rmail-what-message): Take argument POS.
2609 (rmail-next-error-move): New function.
2610
273d2baf
SM
26112011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
2612
2613 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
2614 messages for adjacent non-terminals.
2615
56c2cc9a
RS
26162011-06-23 Richard Stallman <rms@gnu.org>
2617
2618 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 2619 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
2620 (rmail-start-mail): Don't specify use of rmail-mail-return;
2621 that's done by mail-bury now.
2622 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 2623
d59eb518
MA
26242011-06-23 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
2627 SIZE is a number.
2628
02cfc6d6
MR
26292011-06-23 Martin Rudalics <rudalics@gmx.at>
2630
2631 * window.el (get-lru-window, get-mru-window)
2632 (get-largest-window): Never return a minibuffer window.
2633 (display-buffer-pop-up-window): Fix a bug that could lead to
2634 reusing the minibuffer window.
2635 (display-buffer): Pass original specifier argument to
2636 display-buffer-function instead of the normalized one.
2637 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2638
4e323265
LL
26392011-06-22 Leo Liu <sdl.web@gmail.com>
2640
2641 * minibuffer.el (completing-read-function)
2642 (completing-read-default): Move from minibuf.c
2643
7a70468f
RS
26442011-06-22 Richard Stallman <rms@gnu.org>
2645
50718fc2
RS
2646 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
2647 to Rmail even if not started by a special Rmail command.
2648
7a70468f
RS
2649 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2650 Copy the buffer currently showing just one message.
2651
297dde5a
RW
26522011-06-22 Roland Winkler <winkler@gnu.org>
2653
2654 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
2655 (bibtex-clean-entry): First delete the old key so that a
2656 customized algorithm for generating the new key does not get
2657 confused by the old key.
2658 (bibtex-url): Obey regexp of first step.
2659 (bibtex-search-entries): Do not use add-to-list with local
2660 list-var.
2661
97bb1093
LMI
26622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2663
2664 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
2665 stored a user name, then query for the password first, instead of
2666 waiting for SMTP to give an error message and the trying again.
2667
1c0f1a19
JD
26682011-06-22 Lawrence Mitchell <wence@gmx.li>
2669
2670 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
2671 BUFFER in call-process.
2672
396f7c9d
LMI
26732011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2674
2675 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
2676 QUIT twice.
ddb7ffee
LMI
2677 (smtpmail-try-auth-methods): Require user name and password from
2678 auth-source.
396f7c9d 2679
8998d1b3
MR
26802011-06-22 Martin Rudalics <rudalics@gmx.at>
2681
2682 * window.el (display-buffer-default-specifiers)
2683 (display-buffer-alist): Remove entries for pop-up-frame-alist.
2684 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 2685 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
2686
2687 * frame.el (pop-up-frame-alist, pop-up-frame-function)
2688 (special-display-frame-alist, special-display-popup-frame):
2689 Remove duplicate declarations. These are now in window.el.
2690
4ea31e07
LMI
26912011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2692
c9d29fb8
SM
2693 * mail/smtpmail.el (smtpmail-via-smtp):
2694 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
2695 server supports it. SMTP servers that support STARTTLS commonly
2696 require it.
2697
2698 * net/network-stream.el (network-stream-open-starttls): Support
2699 upgrading to STARTTLS always, even if we don't have built-in support.
2700 (open-network-stream): Add the :always-query-capabilies keyword.
2701
95f41d9a
LMI
2702 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
2703 upgrades with `open-network-stream', and rely solely on
2704 auth-source for all credentials. Big changes throughout the file,
2705 but in particular:
c9d29fb8
SM
2706 (smtpmail-auth-credentials): Remove.
2707 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
2708 (smtpmail-via-smtp): Check for servers saying they want AUTH after
2709 MAIL FROM, too.
95f41d9a 2710
c9d29fb8
SM
2711 * net/network-stream.el (network-stream-open-starttls):
2712 Provide support for client certificates both for external and built-in
4ea31e07
LMI
2713 STARTTLS.
2714 (auth-source): Require.
2715 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
2716 (network-stream-certificate): Change cert-cert to cert and
2717 cert-key to key.
4ea31e07 2718
065ec2c7
MA
27192011-06-21 Michael Albinus <michael.albinus@gmx.de>
2720
2721 * net/tramp-cache.el (top): Don't load the persistency file when
2722 "emacs -Q" has been called.
2723
cd93b359
DR
27242011-06-21 Tim Harper <timcharper@gmail.com>
2725
d8e4b68b
JB
2726 * term/ns-win.el (ns-initialize-window-system):
2727 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
2728 resource to NO as it is not yet supported by the NS port.
2729
ae9c0411
JB
27302011-06-21 Juanma Barranquero <lekktu@gmail.com>
2731
2732 * misc.el (list-dynamic-libraries--refresh): Compute header here...
2733 (list-dynamic-libraries): ...not here.
2734
7f3f739f
LL
27352011-06-21 Leo Liu <sdl.web@gmail.com>
2736
2737 * subr.el (sha1): Implement sha1 using secure-hash.
2738
327c8fb1
MR
27392011-06-21 Martin Rudalics <rudalics@gmx.at>
2740
2741 * window.el (display-buffer-alist): In default value do not
2742 enforce searching a window on any but the selected frame.
2743 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
2744 (display-buffer-select-window): Remove function.
2745 (display-buffer-in-window): When a window on another frame gets
2746 reused, do not select it any more but just raise its frame if
2747 necessary (Bug#8851) and (Bug#8856).
2748 (display-buffer-normalize-options): Handle pop-up-frames related
2749 options more faithfully.
2750 (pop-to-buffer): Don't rely on `display-buffer' selecting the
2751 window if it is on another frame.
c9d29fb8
SM
2752 (display-buffer-alist, display-buffer-default-specifiers):
2753 Don't make new frame unsplittable by default.
9e9de014
MR
2754 (display-buffer-normalize-argument): Fix doc-string typo and use
2755 'same-frame-other-window instead of 'other-window when associating
2756 with display-buffer-macro-specifiers.
327c8fb1 2757
7cf3f556
VB
27582011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
2759
2760 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
2761 New functions.
2762 (5x5-mode-map, 5x5-mode-menu): Bind them.
2763 (5x5-draw-grid): Tweak the solver's rendering.
2764
60a406cf
SM
27652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2766
2767 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
2768 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
2769
d8e4b68b 27702011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
2771
2772 * menu-bar.el: Use function variable instead of switch-to-buffer.
2773 (menu-bar-select-buffer-function): New variable.
60a406cf 2774 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 2775
478d6f95
SM
27762011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2777
2778 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
2779 variable's status.
2780
ca530739
JD
27812011-06-20 Jan Djärv <jan.h.d@swipnet.se>
2782
2783 * x-dnd.el (x-dnd-version-from-flags)
2784 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
2785 and long as number (Bug#8899).
2786 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
2787
bcd70d97
SM
27882011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
2789
60a406cf 2790 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
2791 (completion-try-completion, completion-all-completions): Compute the
2792 metadata argument if it's missing; make it optional (bug#8795).
2793
60a406cf 2794 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
2795 (widget-complete): Use new :completion-function property.
2796 (widget-completions-at-point): New function.
2797 (default): Use :completion-function instead of :complete.
60a406cf
SM
2798 (widget-default-completions): Rename from widget-default-complete;
2799 Rewrite.
bcd70d97
SM
2800 (widget-string-complete, widget-file-complete, widget-color-complete):
2801 Remove functions.
2802 (file, symbol, function, variable, coding-system, color):
2803 * international/mule-cmds.el (default-input-method, charset)
2804 (language-info-custom-alist):
2805 * cus-edit.el (face): Use new property :completions.
2806
2807 * progmodes/pascal.el (pascal-completions-at-point): New function.
2808 (pascal-mode): Use it.
2809 (pascal-mode-map): Use completion-at-point.
2810 (pascal-toggle-completions): Make obsolete.
2811 (pascal-complete-word, pascal-show-completions):
2812 * progmodes/octave-mod.el (octave-complete-symbol):
2813 Redefine as obsolete alias.
2814 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
2815 Signal absence of completion info for old Octave,
2816 (inferior-octave-complete): Redefine as obsolete alias.
2817 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
2818 (meta-completions-at-point): Rename from meta-complete-symbol and
2819 adapt it for use on completion-at-point-functions.
2820 (meta-common-mode): Use it.
2821 (meta-looking-at-backward, meta-match-buffer): Remove.
2822 (meta-complete-symbol): Redefine as obsolete alias.
2823 (meta-common-mode-map): Use completion-at-point.
2824 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
2825 (makefile-mode-map): Use completion-at-point.
2826 (makefile-completions-at-point): Rename from makefile-complete and
2827 adapt it for use on completion-at-point-functions.
2828 (makefile-mode): Use it.
2829 (makefile-complete): Redefine as obsolete alias.
2830
aebf69c8
DD
28312011-06-20 Deniz Dogan <deniz@dogan.se>
2832
2833 * net/rcirc.el: Delete trailing whitespaces once and for all.
2834
bfbbb27d
DC
28352011-06-20 Daniel Colascione <dan.colascione@gmail.com>
2836
2837 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
2838
d264a46b
CY
28392011-06-19 Chong Yidong <cyd@stupidchicken.com>
2840
4ca009e5
CY
2841 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
2842
d264a46b
CY
2843 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
2844
fbf5b3ce
MR
28452011-06-19 Martin Rudalics <rudalics@gmx.at>
2846
2847 * window.el (display-buffer-other-window-means-other-frame):
2848 Call display-buffer-normalize-alist.
2849 (display-buffer-normalize-specifiers-1): Rename to
2850 display-buffer-normalize-argument. New argument other-frame.
2851 Rewrite.
2852 (display-buffer-normalize-specifiers-2): Rename to
2853 display-buffer-normalize-options.
2854 (display-buffer-normalize-alist-1): New function.
2855 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
2856 display-buffer-normalize-alist.
2857 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
2858 (display-buffer-normalize-options-inhibit): New variable.
2859 (display-buffer-normalize-specifiers): Rewrite calling
2860 display-buffer-normalize-alist,
2861 display-buffer-normalize-argument, and
2862 display-buffer-normalize-options. Don't call the latter if
2863 display-buffer-normalize-options-inhibit is non-nil.
2864 (frame-auto-delete): New option.
2865 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
2866 (window-list-no-nils, window-state-ignored-parameters)
2867 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
2868 (window-state-put-1, window-state-put-2, window-state-put):
2869 New functions.
9a028c23
MR
2870 (display-buffer-normalize-options): Move special-display-p group
2871 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 2872
6d10d800
CY
28732011-06-18 Chong Yidong <cyd@stupidchicken.com>
2874
6420d28b
CY
2875 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
2876 groups (Bug#8776).
2877 (rx-submatch-n): New function.
2878 (rx): Document it.
2879
ddb8b596
CY
2880 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
2881 (Bug#8768).
2882
2883 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
2884
77080289
CY
2885 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
2886
61dfb316
CY
2887 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
2888 anytime existing face settings are present (Bug#8889).
2889
6d10d800
CY
2890 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
2891 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
2892 Remove unused argument.
2893
be3fb2b8
MR
28942011-06-18 Martin Rudalics <rudalics@gmx.at>
2895
bcd70d97
SM
2896 * window.el (display-buffer-default-specifiers):
2897 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
2898 pop-up-window-min-width, and another reuse-window specifier
2899 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
2900 (display-buffer-normalize-specifiers-2):
2901 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
2902 pop-up-windows is unset. Add a reuse-window specifier for the
2903 case popping up a new window fails.
2904 (special-display-popup-frame): Remove double quoting.
28dec25a 2905 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 2906
1c6d8c76
SM
29072011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
2908
2909 * shell.el (shell-completion-vars): Set pcomplete-termination-string
2910 according to comint-completion-addsuffix.
2911
2912 * pcomplete.el: Convert to lexical binding and fix bug#8819.
2913 (pcomplete-suffix-list): Mark as obsolete.
2914 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
2915 pcomplete-seen in the closure.
2916 (pcomplete-comint-setup): Setup completion-at-point as well.
2917 (pcomplete--entries): New function.
2918 (pcomplete--env-regexp): New var.
2919 (pcomplete-entries): Rewrite to work with partial-completion and
2920 without relying on pcomplete-suffix-list.
2921 (pcomplete-pare-list): Remove, unused.
2922
25aef8b8
MR
29232011-06-17 Martin Rudalics <rudalics@gmx.at>
2924
2925 * window.el (display-buffer-alist): Set pop-up-window-min-height
2926 and pop-up-window-min-width in default value. Reported by
2927 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
2928 other-window-means-other-frame.
2929 (display-buffer-macro-specifiers): Comment out entry for
2930 other-window specifier.
2931 (display-buffer-other-window-means-other-frame): New function.
2932 (display-buffer-normalize-specifiers-1): New arguments
2933 buffer-name and label. Treat other-window case specially.
2934 (display-buffer-normalize-specifiers-2): Treat other-window case
2935 specially.
2936 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
2937 (display-buffer-normalize-specifiers):
2938 Call display-buffer-normalize-specifiers-3.
25aef8b8 2939
dbad4f69
MR
29402011-06-17 Martin Rudalics <rudalics@gmx.at>
2941
2942 * window.el (same-window-p): Fix two typos introduced when
2943 adding with-no-warnings.
d1067961
MR
2944 (display-buffer-normalize-specifiers-1): Don't check
2945 pop-up-frames for 'unset initialization.
2946 (display-buffer-normalize-specifiers-2): Major rewrite using
2947 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
2948 (pop-up-frames, display-buffer-reuse-frames)
2949 (display-buffer-mark-dedicated): Don't initialize to 'unset.
2950 Suggested by David Engster <deng@randomsample.de>.
2951 (even-window-heights): Initialize to 'unset.
2952 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
2953 (display-buffer-macro-specifiers): Don't pop up a new frame in the
2954 other window case.
dbad4f69 2955
9b9c9e3a
MR
29562011-06-16 Martin Rudalics <rudalics@gmx.at>
2957
bcd70d97
SM
2958 * window.el (display-buffer-normalize-specifiers-1):
2959 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 2960 second argument of display-buffer (Bug#8865).
981d5c09
MR
2961 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
2962 (switch-to-buffer-other-window-same-frame)
2963 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
2964 Adams (Bug#8875).
9c2755e9
MR
2965 (display-buffer): Don't check noninteractive when calling
2966 display-buffer-pop-up-frame.
2967 (display-buffer-pop-up-frame): Never pop up a frame in
2968 noninteractive mode (Bug#8857).
67222e1d
MR
2969 (enlarge-window, shrink-window): Don't report an error when the
2970 window can't be resized as requested (Bug#8862).
9b9c9e3a 2971
2b75be67
SM
29722011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2973
9ffdd3ba
SM
2974 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
2975
cb581a67
SM
2976 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
2977
2b75be67
SM
2978 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
2979
8c0e3589
AM
29802011-06-15 Alan Mackenzie <acm@muc.de>
2981
cb581a67
SM
2982 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
2983 for declarators, disable knr checking to speed up for normal files.
2984 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 2985
b96e6cde
LMI
29862011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2987
4bba86e6
LMI
2988 * net/network-stream.el (open-network-stream): Add the keyword
2989 :always-query-capabilities for the case where you want to force a
2990 `plain' network connection, but the protocol still requires the
2991 capabilitiy command (i.e., SMTP and EHLO).
2992
2b75be67 2993 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
2994 consistency with other `-live-p' functions.
2995
efdcdbf8
SM
29962011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2997
2998 * window.el (same-window-buffer-names, same-window-regexps)
2999 (special-display-frame-alist, special-display-popup-frame)
3000 (special-display-function, special-display-buffer-names)
3001 (special-display-regexps, pop-up-frame-alist)
3002 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
3003 (pop-up-windows, split-window-preferred-function)
3004 (split-height-threshold, split-width-threshold, even-window-heights)
3005 (display-buffer-mark-dedicated): Don't encourage the use of
3006 display-buffer-alist from Elisp code.
3007
c5cde042
DN
30082011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
3009
3010 * progmodes/python.el (python-mode): Derive from prog-mode.
3011 * progmodes/ps-mode.el (ps-mode):
3012 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 3013 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
3014 * progmodes/ld-script.el (ld-script-mode): Likewise.
3015
baa1c9ab
MR
30162011-06-15 Martin Rudalics <rudalics@gmx.at>
3017
3018 * window.el (display-buffer-alist): Trim default value to avoid
3019 popping up a new frame (Bug#8857) or reusing an arbitrary window
3020 on another frame.
3021 (display-buffer): Do not fall back on popping up a new frame in
3022 batch mode (Bug#8857).
3023
c5dd5a51
CY
30242011-06-14 Chong Yidong <cyd@stupidchicken.com>
3025
3026 * cus-theme.el (describe-theme-1): Use custom-theme-p.
3027 (custom-theme-summary): New function.
3028 (customize-themes): Use it.
3029
d647b7c4
GM
30302011-06-13 Glenn Morris <rgm@gnu.org>
3031
3032 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
3033
9481c002
MR
30342011-06-13 Martin Rudalics <rudalics@gmx.at>
3035
357f93d2
MR
3036 * help.el (help-window): Remove variable.
3037 (help-window-point-marker, temp-buffer-max-height)
3038 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
3039 (help-print-return-message): Don't set help-window.
3040 (resize-temp-buffer-window): Rewrite cod eand doc-string.
3041 (help-window-setup-finish): Remove.
3042 (help-window-display-message, help-window-setup)
3043 (with-help-window): Major rewrite based on new
3044 display-buffer-window variable.
3045
3046 * help-mode.el (help-mode-finish): Remove help-window related
3047 code.
3048
3049 * view.el (view-exits-all-viewing-windows): Remove reference to
3050 view-return-to-alist in doc-string.
3051 (view-return-to-alist): Make obsolete.
3052 (view-buffer): Call pop-to-buffer-same-window and remove
3053 undo-window code.
3054 (view-buffer-other-window): Call pop-to-buffer-other-window and
3055 simplify code. Ignore second argument.
3056 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
3057 simplify code. Ignore second argument.
3058 (view-return-to-alist-update): Make obsolete.
3059 (view-mode-enter): Rename second argument to QUIT-RESTORE.
3060 Rewrite using quit-restore window parameters.
2b75be67
SM
3061 (view-mode-exit): Rename second argument to EXIT-ONLY.
3062 Rewrite using quit-restore-window.
357f93d2
MR
3063 (View-exit, View-exit-and-edit, View-leave, View-quit)
3064 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
3065 appropriate arguments.
3066 (view-end-message): Use quit-restore window parameter.
3067
9481c002
MR
3068 * window.el (display-buffer-function): Rewrite doc-string.
3069 (display-buffer-window, display-buffer-alist): New variables.
3070 (display-buffer-split-specifiers)
3071 (display-buffer-side-specifiers)
3072 (display-buffer-macro-specifiers): New constants.
3073 (display-buffer-even-window-sizes, display-buffer-set-height)
3074 (display-buffer-set-width, display-buffer-select-window)
3075 (display-buffer-in-window, display-buffer-reuse-window)
3076 (display-buffer-split-window-1, display-buffer-split-window)
3077 (display-buffer-split-atom-window, display-buffer-pop-up-window)
3078 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
3079 (display-buffer-in-side-window, normalize-buffer-to-display)
3080 (display-buffer-normalize-specifiers-1)
3081 (display-buffer-normalize-specifiers-2)
2b75be67
SM
3082 (display-buffer-normalize-specifiers, display-buffer-frame):
3083 New functions.
9481c002
MR
3084 (display-buffer): Major rewrite.
3085 (display-buffer-other-window, display-buffer-other-frame)
3086 (pop-to-buffer, switch-to-buffer-other-window)
3087 (switch-to-buffer-other-frame): Rewrite.
3088 (display-buffer-same-window, display-buffer-same-frame)
3089 (display-buffer-same-frame-other-window)
3090 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
3091 (pop-to-buffer-other-window)
3092 (pop-to-buffer-same-frame-other-window)
3093 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
3094 (switch-to-buffer-other-window-same-frame): New functions.
3095 (same-window-p, special-display-p): Rewrite disabling warnings.
3096 Make obsolete.
3097 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3098 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
3099 Make obsolete
3100 (same-window-buffer-names, same-window-regexps)
3101 (special-display-frame-alist, special-display-popup-frame)
3102 (special-display-function, special-display-buffer-names)
3103 (special-display-regexps, pop-up-frame-alist)
3104 (pop-up-frame-function, split-window-preferred-function)
3105 (split-height-threshold, split-width-threshold)
3106 (even-window-heights): Make obsolete.
3107
9db51aca
GM
31082011-06-12 Glenn Morris <rgm@gnu.org>
3109
3110 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 3111 Misc simplifications.
9db51aca 3112
39cffb44
MR
31132011-06-12 Martin Rudalics <rudalics@gmx.at>
3114
3115 * window.el (window-safely-shrinkable-p): Restore function which
3116 was inadvertently removed in change from 2011-06-11. Declare as
3117 obsolete.
3118
2b75be67
SM
3119 * calendar/calendar.el (calendar-generate-window):
3120 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
3121 window-safely-shrinkable-p.
3122
a8955be7
GM
31232011-06-12 Glenn Morris <rgm@gnu.org>
3124
3125 * progmodes/fortran.el (fortran-mode-syntax-table):
3126 * progmodes/f90.el (f90-mode-syntax-table):
3127 Set % to punctuation. (Bug#8820)
3128 (f90-find-tag-default): Remove, no longer needed.
3129
f0d4059d
DC
31302011-06-12 Daniel Colascione <dan.colascione@gmail.com>
3131
3132 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
3133
1100a63c
CY
31342011-06-11 Chong Yidong <cyd@stupidchicken.com>
3135
3136 * image.el (image-animated-p): Return animation delay in seconds.
3137 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
3138 (image-animate-timeout): Remove DELAY argument. Don't assume
3139 every subimage has the same delay; get it from image-animated-p.
3140 (image-animate): Caller changed.
3141
def722bf
MA
31422011-06-11 Michael Albinus <michael.albinus@gmx.de>
3143
3144 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
3145 to ignored backtrace functions.
3146
0a2bb1a9
GM
31472011-06-11 Glenn Morris <rgm@gnu.org>
3148
3149 * calendar/appt.el (appt-disp-window-function): Doc fix.
3150 (appt-check): Handle overlapping appointments. (Bug#8337)
3151
6198ccd0
MR
31522011-06-11 Martin Rudalics <rudalics@gmx.at>
3153
3154 * window.el (window-tree-1, window-tree): New functions, moving
3155 the latter to window.el.
3156 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
3157 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
3158 (bw-refresh-edges): Remove.
3159 (balance-windows-1, balance-windows-2): New functions.
3160 (balance-windows): Rewrite in terms of window tree functions,
3161 balance-windows-1 and balance-windows-2.
3162 (bw-adjust-window): Remove.
3163 (balance-windows-area-adjust): New function with functionality of
3164 bw-adjust-window but using resize-window.
2b75be67
SM
3165 (set-window-text-height): Rewrite doc-string.
3166 Use normalize-live-window and resize-window.
3167 (enlarge-window-horizontally, shrink-window-horizontally):
3168 Rename argument to DELTA.
6198ccd0
MR
3169 (window-buffer-height): New function.
3170 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
3171 Rewrite using new window resize routines.
2b75be67
SM
3172 (kill-buffer-and-window, mouse-autoselect-window-select):
3173 Use ignore-errors instead of condition-case.
6198ccd0
MR
3174 (quit-window): Call delete-frame instead of delete-windows-on
3175 for the only buffer on frame.
3176
9397e56f
MR
31772011-06-10 Martin Rudalics <rudalics@gmx.at>
3178
3179 * loadup.el (top-level): Load window before files for the sake
3180 of replace-buffer-in-windows.
3181
3182 * files.el (read-buffer-to-switch)
3183 (switch-to-buffer-other-window)
2b75be67
SM
3184 (switch-to-buffer-other-frame, display-buffer-other-frame):
3185 Move to window.el.
9397e56f
MR
3186
3187 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
3188 (previous-buffer): Move to window.el.
3189
3190 * bindings.el (unbury-buffer): Move to window.el.
3191
3192 * window.el (delete-other-windows-vertically): Move after
3193 definition of delete-other-windows.
3194 (other-window, delete-windows-on, replace-buffer-in-windows):
3195 Move here from window.c.
3196 (record-window-buffer, unrecord-window-buffer)
3197 (set-window-buffer-start-and-point, switch-to-prev-buffer)
3198 (switch-to-next-buffer): New functions.
3199 (get-next-valid-buffer, last-buffer, next-buffer): Move here
3200 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
3201 (previous-buffer): Move here from simple.el.
3202 Call switch-to-prev-buffer.
9397e56f
MR
3203 (bury-buffer): Move here from buffer.c. Switch to previous
3204 buffer when window cannot be deleted.
3205 (unbury-buffer): Move here from bindings.el.
3206 (ctl-x-map): Move binding for other-window from window.c to
3207 here.
3208 (read-buffer-to-switch, switch-to-buffer-other-window)
3209 (switch-to-buffer-other-frame): Move here from files.el.
3210 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
3211 (switch-to-buffer): Move here from buffer.c.
3212 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 3213
562dd5e9
MR
32142011-06-10 Martin Rudalics <rudalics@gmx.at>
3215
3216 * window.el (window-min-height, window-min-width): Move here
3217 from window.c. Add defcustoms and rewrite doc-strings.
3218 (resize-mini-window, resize-window): New functions.
3219 (adjust-window-trailing-edge, enlarge-window, shrink-window):
3220 Move here from window.c.
3221 (maximize-window, minimize-window): New functions.
3222 (delete-window, delete-other-windows, split-window): Move here
3223 from window.c.
3224 (window-split-min-size): New function.
3225 (split-window-keep-point): Mention split-window-above-each-other
3226 instead of split-window-vertically.
2b75be67
SM
3227 (split-window-above-each-other, split-window-vertically):
3228 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
3229 provide defalias for old definition.
3230 (split-window-side-by-side, split-window-horizontally): Rename
3231 split-window-horizontally to split-window-side-by-side and provide
3232 defalias for the old definition.
3233 (ctl-x-map): Move bindings for delete-window,
3234 delete-other-windows and enlarge-window here from window.c.
3235 Replace bindings for split-window-vertically and
3236 split-window-horizontally by bindings for
3237 split-window-above-each-other and split-window-side-by-side.
3238
3239 * cus-start.el (all): Remove entries for window-min-height and
3240 window-min-width. Add entries for window-splits and
3241 window-nest.
3242
f0da764a
GM
32432011-06-09 Glenn Morris <rgm@gnu.org>
3244
80675c21
GM
3245 * calendar/appt.el (appt-mode-line): New function.
3246 (appt-check, appt-disp-window): Use it.
3247
f0da764a
GM
3248 * files.el (hack-one-local-variable-eval-safep):
3249 Allow minor-modes with explicit +/-1 arguments.
3250
59f623b7
TZ
32512011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
3252
3253 * term/xterm.el (xterm): Add defgroup.
3254 (xterm-extra-capabilities): Add defcustom to supply known xterm
3255 capabilities, skip querying them, or query them (default).
3256 (terminal-init-xterm): Use it.
3257 (terminal-init-xterm-modify-other-keys): New function to set up
3258 modifyOtherKeys support to simplify `terminal-init-xterm'.
3259
9aab8e0d
MR
32602011-06-09 Martin Rudalics <rudalics@gmx.at>
3261
3262 * window.el (resize-window-reset, resize-window-reset-1)
3263 (resize-subwindows-skip-p, resize-subwindows-normal)
3264 (resize-subwindows, resize-other-windows, resize-this-window)
3265 (resize-root-window, resize-root-window-vertically)
3266 (window-deletable-p, window-or-subwindow-p)
3267 (frame-root-window-p): New functions.
3268
e8b08aee
GM
32692011-06-09 Glenn Morris <rgm@gnu.org>
3270
3271 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
3272 (ange-ftp-get-files): Use it.
3273
254c37a5
AK
32742011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
3275
3276 * mail/sendmail.el (mail-recover-1, mail-recover):
3277 * files.el (recover-file, recover-session):
3278 Handle dired-listing-switches not being just a single short option.
3279
35d7dbd3
GM
32802011-06-09 Glenn Morris <rgm@gnu.org>
3281
3282 * calendar/appt.el (appt-display-message, appt-disp-window):
3283 Handle lists of appointments.
3284
387522b2
MR
32852011-06-08 Martin Rudalics <rudalics@gmx.at>
3286
2b75be67
SM
3287 * window.el (one-window-p): Move down in code.
3288 Rewrite doc-string.
3289 (window-current-scroll-bars): Rewrite doc-string.
3290 Normalize live window argument.
387522b2
MR
3291 (walk-windows, get-window-with-predicate, count-windows):
3292 Rewrite doc-string. Use window-list-1.
3293 (window-in-direction-2, window-in-direction, get-mru-window):
3294 New functions.
3295
d8e4b68b 32962011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
3297
3298 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
3299 Doc fix (Bug#8713).
3300
33012011-06-08 Chong Yidong <cyd@stupidchicken.com>
3302
3303 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
3304
33052011-06-08 Juanma Barranquero <lekktu@gmail.com>
3306
3307 * loadhist.el (unload-feature-special-hooks):
3308 Add `comint-output-filter-functions'.
3309
0de12c52
IK
33102011-06-08 Ivan Kanis <gnu@kanis.fr>
3311
3312 * calendar/appt.el (appt-check): Move some initializations into the let.
3313
f3d1777e
MR
33142011-06-08 Martin Rudalics <rudalics@gmx.at>
3315
3316 * window.el (window-height): Defalias to window-total-height.
3317 (window-width): Defalias to window-body-width.
3318
18af70d0
CY
33192011-06-07 Chong Yidong <cyd@stupidchicken.com>
3320
3321 * image-mode.el (image-toggle-animation): New command.
3322 (image-mode-map): Bind it to RET.
3323 (image-mode): Update message.
3324 (image-toggle-display-image): Avoid a spurious cache flush.
3325 (image-transform-rotation): Doc fix.
3326 (image-transform-properties): Return quickly in the normal case.
3327 (image-animate-loop): Rename from image-animate-max-time.
3328
2b75be67 3329 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
3330 (create-animated-image): Remove unnecessary function.
3331 (image-animate): Rename from image-animate-start. New arg.
2b75be67 3332 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
3333 (image-animate-timer): Use car-safe.
3334 (image-animate-timeout): Rename argument.
3335
190b47e6
MR
33362011-06-07 Martin Rudalics <rudalics@gmx.at>
3337
3338 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
3339 window.c. Rename first argument to ALL-FRAMES.
3340 Rephrase doc-strings.
3341 (get-buffer-window-list): Rewrite using window-list-1.
3342 Rephrase doc-string.
a1511caf
MR
3343 (window-safe-min-height, window-safe-min-width): New constants.
3344 (window-size-ignore, window-min-size, window-min-size-1)
3345 (window-sizable, window-sizable-p, window-size-fixed-1)
3346 (window-size-fixed-p, window-min-delta-1, window-min-delta)
3347 (window-max-delta-1, window-max-delta, window-resizable)
3348 (window-resizable-p, window-total-height, window-total-width)
3349 (window-body-width): New functions.
3350 (window-full-height-p, window-full-width-p): Rewrite using
3351 window-total-size.
3352 (window-body-height): Rewrite using window-body-size.
190b47e6 3353
85cc1f11
MR
33542011-06-06 Martin Rudalics <rudalics@gmx.at>
3355
3356 * window.el (window-right, window-left, window-child)
3357 (window-child-count, window-last-child, window-any-p)
3358 (normalize-live-buffer, normalize-live-frame)
3359 (normalize-any-window, normalize-live-window)
3360 (window-iso-combination-p, window-iso-combined-p)
3361 (window-iso-combinations)
3362 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
3363 (windows-with-parameter, window-with-parameter)
3364 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
3365 (window-atom-check, window-side-check, window-check):
3366 New functions.
85cc1f11
MR
3367 (ignore-window-parameters, window-sides, window-sides-vertical)
3368 (window-sides-slots): New variables.
3369 (window-size-fixed): Move down in code. Minor doc-string fix.
3370
e7156492
AS
33712011-06-05 Andreas Schwab <schwab@linux-m68k.org>
3372
3373 * comint.el (comint-dynamic-complete-as-filename)
3374 (comint-dynamic-complete-filename): Correctly call
3375 completion-in-region.
3376
7e821d0d
DD
33772011-06-05 Deniz Dogan <deniz@dogan.se>
3378
3379 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
3380 in last change.
3381
ac09b8a1
DD
33822011-06-05 Deniz Dogan <deniz@dogan.se>
3383
3384 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
3385 (rcirc): Use it to prompt for encryption.
3386
34699b85
RW
33872011-06-05 Roland Winkler <winkler@gnu.org>
3388
3389 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
3390 (bibtex-search-entries): New command bound to C-c C-a.
3391 (bibtex-display-entries): New function.
3392
004dedd3
RW
33932011-06-05 Roland Winkler <winkler@gnu.org>
3394
3395 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
3396 (bibtex-insert-kill): After yanking insert newline if necessary.
3397 (bibtex-initialize): Call bibtex-string-files-init only once.
3398 (bibtex-mode): Do not call easy-menu-add.
3399 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
3400 (bibtex-yank): Set arg properly if nil.
3401
022fe7ce
RW
34022011-06-05 Roland Winkler <winkler@gnu.org>
3403
2b75be67
SM
3404 * textmodes/bibtex.el (bibtex-search-entry-globally):
3405 New variable.
022fe7ce
RW
3406 (bibtex-search-entry): Use it.
3407
b7c3692a
RW
34082011-06-05 Roland Winkler <winkler@gnu.org>
3409
3410 * textmodes/bibtex.el (bibtex-entry-format): New option
3411 sort-fields.
3412 (bibtex-format-entry, bibtex-reformat): Honor this option.
3413 (bibtex-parse-entry): Return fields in proper order.
3414
8eda563d
JB
34152011-06-05 Juanma Barranquero <lekktu@gmail.com>
3416
3417 * doc-view.el (doc-view-remove-if): Move computation of result out
3418 of `dolist' to silence misleading lexical-binding warning.
3419
7dbe3dbc
CY
34202011-06-04 Chong Yidong <cyd@stupidchicken.com>
3421
3422 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
3423 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
3424
0c33dd17
MA
34252011-06-04 Michael Albinus <michael.albinus@gmx.de>
3426
3427 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
3428 "SunOS 5.10".
3429
f8f91c2b
MA
34302011-06-04 Michael Albinus <michael.albinus@gmx.de>
3431
3432 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
3433 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
3434 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
3435 (tramp-parse-putty):
3436 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
3437 (tramp-completion-function-alist-ssh)
3438 (tramp-completion-function-alist-telnet)
3439 (tramp-completion-function-alist-su)
3440 (tramp-completion-function-alist-putty): Set `tramp-autoload'
3441 cookie.
3442
3443 * net/tramp-ftp.el:
3444 * net/tramp-sh.el:
3445 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
3446 load "tramp.el" `tramp-set-completion-function'.
3447
e17d9003
SM
34482011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3449
3450 * shell.el: Require and use pcomplete.
3451 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
3452 (shell-completion-vars): Set pcomplete-default-completion-function.
3453
6c4cab03
DD
34542011-06-04 Deniz Dogan <deniz@dogan.se>
3455
3456 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
3457 `memq' (Bug#8799).
3458
ea9fafe0
SM
34592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3460
3461 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
3462
b3e945d3
JB
34632011-06-02 Juanma Barranquero <lekktu@gmail.com>
3464
3465 * bs.el (bs--mark-unmark, bs--nth-wrapper):
3466 * mpc.el (mpc-select-extend, mpc-songpointer-context):
3467 * vc/log-view.el (log-view-beginning-of-defun):
3468 * vc/smerge-mode.el (smerge-apply-resolution-patch)
3469 (smerge-refine-forward, smerge-refine-chopup-region):
3470 Silence warning for unused `dotimes' counter variables.
3471
7d520089
SM
34722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3473
3474 * net/tramp.el (tramp-with-progress-reporter): Rename from
3475 with-progress-reporter. Use `declare'.
3476 * net/tramp-smb.el:
3477 * net/tramp-sh.el:
3478 * net/tramp-gvfs.el: Update all uses.
3479
a1c2400f
JB
34802011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
3481
3482 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
3483 buffer isn't killed before making it current.
3484
2403c841
SM
34852011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 Silence various byte-compiler warnings.
3488 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
3489 `access-type' and new obsolescence format.
3490 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
3491 new format.
3492 (byte-compile-check-variable): New `access-type' argument.
3493 Only warn if the access-type is obsolete.
3494 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
3495 (byte-compile-variable-set): Adjust callers.
3496 * help-fns.el (describe-variable): Adjust to new obsolescence format.
3497 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
3498 setting it as obsolete.
3499 * simple.el (minibuffer-completing-symbol):
3500 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
3501 access as obsolete.
3502 * minibuffer.el (minibuffer-completing-file-name): Don't make it
3503 obsolete yet.
3504 * international/quail.el (quail-mouse-choose-completion): Remove unused
3505 code referring to obsolete var.
3506 (quail-choose-completion-string): Remove.
3507 * server.el (server-clients-with, server-kill-buffer-query-function)
3508 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
3509 * proced.el (proced-send-signal):
3510 * emacs-lisp/lisp.el (lisp-complete-symbol):
3511 Replace completion-annotate-function with completion-extra-properties.
3512
2462470b
SM
35132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3514
fb5b2591
SM
3515 * simple.el (goto-line): Use read-number.
3516 (overriding-map-is-bound): Remove.
3517 (saved-overriding-map): Change default.
3518 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
3519 Take the map as argument.
3520 (universal-argument, negative-argument, digit-argument): Use it.
3521 (restore-overriding-map): Adjust.
3522 (do-auto-fill): Use fill-forward-paragraph.
3523 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
3524
fd6fa53f
SM
3525 * minibuffer.el (minibuffer-inactive-mode-map): New var.
3526 (minibuffer-inactive-mode): New major mode.
3527 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
3528 the *Messages* buffer" hack.
3529 (mouse-popup-menubar): Don't burp if the event is a normal key.
3530
2462470b
SM
3531 Miscellaneous tweaks.
3532 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
3533 lexical scoping as in subr.el's dolist and dotimes.
3534 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
3535 Silence compiler warning.
3536 * thingatpt.el (forward-whitespace): Trivial coding style fix.
3537 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
3538 * international/ccl.el (ccl-compile): Trivial simplification.
3539 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
3540 * emacs-lisp/testcover.el (testcover-end): Remove spurious
3541 `printflag' argument.
3542 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3543 Purecopy the whole obsolescence data.
3544
108bf785
LL
35452011-06-01 Leo Liu <sdl.web@gmail.com>
3546
3547 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
3548 improve doc-string as suggested by Marco Pessotto
3549 <melmothx@gmail.com>.
3550 (rcirc-print): Fix last change.
3551
30a23501
SM
35522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3553
3554 * minibuffer.el (complete-with-action): Return nil for the metadata and
3555 boundaries of non-functional tables.
3556 (completion-table-dynamic): Return nil for the metadata.
3557 (completion-table-with-terminator): Add default case, using
3558 complete-with-action.
3559 (completion--metadata): New function.
3560 (completion-all-sorted-completions, minibuffer-completion-help): Use it
3561 to try and avoid pathological performance problems.
3562 (completion--embedded-envvar-table): Return `category' metadata.
3563
bcd54f83
LMI
35642011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
3565
3566 * subr.el (process-alive-p): New tiny convenience function.
3567
e227544d
SM
35682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3569
3570 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
3571 content but also its previous major mode.
3572
e8296fdc
HE
35732011-05-31 Helmut Eller <eller.helmut@gmail.com>
3574
3575 * debug.el (debug): Restore the previous content of the
3576 *Backtrace* buffer when we exit with C-M-c.
3577
620c53a6
SM
35782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3579
3580 * minibuffer.el: Add metadata method to completion tables.
3581 (completion-category-overrides): New defcustom.
3582 (completion-metadata, completion--field-metadata)
3583 (completion-metadata-get, completion--styles)
3584 (completion--cycle-threshold): New functions.
3585 (completion-try-completion, completion-all-completions):
3586 Add `metadata' argument to choose completion-styles.
3587 (completion--do-completion): Use metadata to choose cycling.
3588 (completion-all-sorted-completions): Use metadata for sorting.
3589 Remove :completion-cycle-penalty which is not needed any more.
3590 (completion--try-word-completion): Add `metadata' argument.
3591 (minibuffer-completion-help): Check metadata for annotation function
3592 and sorting.
3593 (completion-file-name-table): Return `category' metadata.
3594 (minibuffer-completing-file-name): Make obsolete.
3595 * simple.el (minibuffer-completing-symbol): Make obsolete.
3596 * icomplete.el (icomplete-completions): Pass new `metadata' param to
3597 completion-try-completion.
3598
1257e755
SM
35992011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3600
3601 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
3602
3767e706
LL
36032011-05-30 Leo Liu <sdl.web@gmail.com>
3604
3605 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
3606 (rcirc-print): Decode all incoming messages (bug#8744).
3607 (rcirc-decode-coding-system): Allow value nil for automatic coding
3608 system detection.
3767e706 3609
d1a5d56a
GM
36102011-06-01 Glenn Morris <rgm@gnu.org>
3611
3612 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
3613
e8cbec34
CY
36142011-05-29 Chong Yidong <cyd@stupidchicken.com>
3615
3616 * image.el (image-animate-max-time): Allow nil and t values.
3617 Default to nil.
3618 (create-animated-image): Doc fix.
3619 (image-animate-start): Remove second arg; just use
3620 image-animate-max-time.
3621 (image-animate-timeout): Doc fix. Args changed.
3622
3623 * image-mode.el (image-toggle-display-image): Ensure that the
3624 image spec passed to the animate timer is the same object as in
3625 the the buffer's display property (Bug#6981).
3626 (image-transform-properties): Doc fix.
3627
3628 * image.el (image-animate-max-time): Default to nil.
3629
159daf87
MR
36302011-05-29 Martin Rudalics <rudalics@gmx.at>
3631
3632 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
3633 entire buffer list (Bug#8184).
3634
d66c4c7c
CY
36352011-05-29 Chong Yidong <cyd@stupidchicken.com>
3636
3637 * image.el (imagemagick-types-inhibit)
3638 (imagemagick-register-types): Doc fix.
3639
80aec780
DD
36402011-05-29 Deniz Dogan <deniz@dogan.se>
3641
3642 * net/rcirc.el (rcirc): Use the user's stored encryption method by
3643 default.
3644
1dd3c2d9
CY
36452011-05-29 Chong Yidong <cyd@stupidchicken.com>
3646
3647 * select.el: Don't perform clipboard-manager saving in hooks;
3648 leave the hooks empty.
3649
60e56523
LL
36502011-05-28 Leo Liu <sdl.web@gmail.com>
3651
3652 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
3653 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
3654 (occur-edit-mode): New major mode (Bug#8463).
3655 (occur-after-change-function): New function.
3656 (occur-engine): Give Occur tags a read-only property.
3657
2b1e1a22
KR
36582011-05-28 Kevin Ryde <user42@zip.com.au>
3659
3660 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
3661
5d344e88
CY
36622011-05-28 Chong Yidong <cyd@stupidchicken.com>
3663
8e6ca83d
CY
3664 * bindings.el (help-echo): Make the initial non-indicator dash
3665 empty on graphical terminals (Bug#7295).
3666
5d344e88
CY
3667 * files.el (auto-mode-alist): Move config rule after the
3668 in-stripping one (Bug#8547).
3669
bfbbace7
CY
3670 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
3671
fbeba6e2
CY
3672 * startup.el (normal-splash-screen): Remove gratuitous mode-line
3673 setting (Bug#8740).
3674
60ed8c72
AA
36752011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
3676
4ac619f0
AA
3677 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
3678 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
3679 (Bug#8539).
60ed8c72 3680
23db196e
CY
36812011-05-28 Chong Yidong <cyd@stupidchicken.com>
3682
3683 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
3684
5012f24c
DK
36852011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
3686
3687 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
3688 (hs-hide-block-at-point, hs-find-block-beginning)
3689 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
3690 (Bug#8279).
3691
6a639b16
GM
36922011-05-28 Glenn Morris <rgm@gnu.org>
3693
3694 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
3695
d43eaf2c
CY
36962011-05-28 Chong Yidong <cyd@stupidchicken.com>
3697
5199bde1
CY
3698 * help-fns.el (describe-function-1): If the function is a derived
3699 major mode, print the parent mode.
3700
d43eaf2c
CY
3701 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
3702 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
3703
423428a8
SM
37042011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3705
0ff8e1ba
SM
3706 * minibuffer.el (completion--capf-wrapper): Check applicability before
3707 retuning non-nil for non-exclusive completion data.
3708 * progmodes/etags.el (tags-completion-at-point-function):
3709 * info-look.el (info-lookup-completions-at-point): Mark as
3710 non-exclusive.
3711 (info-complete): Adjust accordingly.
3712
423428a8
SM
3713 * info-look.el: Convert to lexical-binding and completion-at-point.
3714 (info-lookup-completions-at-point): New function.
3715 (info-complete): Use it and completion-in-region.
3716
b74aa22b
DA
37172011-05-28 Drew Adams <drew.adams@oracle.com>
3718
3719 * isearch.el: Let M-e start with point at the first mismatched char.
3720 (isearch-fail-pos): New function.
3721 (isearch-edit-string): Use it.
3722
66e2e71d
DK
37232011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3724
3725 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3726
eb95d01d
TC
37272009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3728
3729 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
3730 traversal functions for avl-trees.
3731 (avl-tree--stack): New struct.
3732 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
3733 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
3734 (avl-tree--do-enter): Add optional `updatefun' arg.
3735 Change return value.
eb95d01d 3736 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
3737 (avl-tree--do-delete): Add `test' and `nilflag' args.
3738 Change return value.
eb95d01d
TC
3739 (avl-tree-member): Add optional `nilflag'
3740 (avl-tree-member-p): New function.
3741 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
3742 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
3743 (avl-tree-stack-empty-p): New functions.
3744
3769ddcf
TC
37452009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
3746
3747 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
3748 avl-tree--del-balance1 and make it work both ways.
3749 (avl-tree--del-balance2): Remove.
3750 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
3751 make it work both ways.
3752 (avl-tree--enter-balance2): Remove.
3753 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
3754 New macros.
3755 (avl-tree--mapc, avl-tree-map): Add direction argument.
3756
eb95d01d 37572011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
3758
3759 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
3760
a9f737ee
CY
37612011-05-27 Chong Yidong <cyd@stupidchicken.com>
3762
3763 * select.el: Support clipboard managers with built-in function
3764 x-clipboard-manager-save, via delete-frame-functions and
3765 kill-emacs-hook.
3766 (xselect-convert-to-targets): Add MULTIPLE target to list.
3767 (xselect-convert-to-save-targets): New function.
3768
c92a1e54
KH
37692011-05-27 Kenichi Handa <handa@m17n.org>
3770
3771 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
3772 let-binding rfc2047-encode-encoded-words to nil.
3773
e145f188
GM
37742011-05-27 Glenn Morris <rgm@gnu.org>
3775
5ec8a862
GM
3776 * mail/emacsbug.el: Don't require url-util.
3777
4b29d9fb
GM
3778 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
3779
e145f188
GM
3780 * files.el (set-auto-mode):
3781 Also respect mode: entries at the end of the file. (Bug#8586)
3782
7d15102b
GM
37832011-05-26 Glenn Morris <rgm@gnu.org>
3784
98f593b8
GM
3785 * files.el (hack-local-variables-prop-line, hack-local-variables):
3786 Downcase mode names, as seems to be traditional.
27b48e63 3787 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 3788
7d15102b
GM
3789 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
3790 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
3791
51d5b4ec
JD
37922011-05-25 Julien Danjou <julien@danjou.info>
3793
3794 * textmodes/rst.el (rst-define-level-faces): Do not define face
3795 symbol if it is already defined.
3796
91513f63
VB
37972011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3798
3799 * play/5x5.el (5x5-new-game, 5x5-randomize):
3800 Reset 5x5-solver-output to nil when a new grid is cast.
3801 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
3802 these debugging traces, as defmacro breaks the compiled code.
3803
4d90d6d0
DK
38042011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
3805
3806 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
3807
e1b90ef6
LL
38082011-05-24 Leo Liu <sdl.web@gmail.com>
3809
3810 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
3811 (vc-bzr-sha1): Adapt.
3812
d8e4b68b 3813 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
3814
3815 * bindings.el: Provide sha1 feature.
3816
db0406bb 38172011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
3818
3819 * mail/sendmail.el: Require `rfc2047'.
3820 (mail-insert-from-field): Do not perform RFC2047 encoding.
3821 (mail-encode-header): New function.
3822 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
3823 buffer to the return value of select-message-coding-system.
3824 Call mail-encode-header.
b8d747b9
KH
3825
3826 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
3827
db0406bb 38282011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 3829
4d90d6d0
DK
3830 * mail/supercite.el (sc-default-cite-frame):
3831 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 3832
eb8a5e9b
GM
38332011-05-24 Glenn Morris <rgm@gnu.org>
3834
f8630703
GM
3835 * progmodes/python.el (brm-menu): Declare.
3836
8831bbed
GM
3837 * emulation/viper.el (viper-set-hooks): Declare.
3838
eb8a5e9b
GM
3839 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
3840 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
3841 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
3842 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
3843 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
3844 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
3845
a2a25d24
SM
38462011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 Add an :exit-function for completion-at-point.
3849
3850 * minibuffer.el (completion--done): New fun.
3851 (completion--do-completion): Use it. New arg `expect-exact'.
3852 (minibuffer-complete, minibuffer-complete-word): Don't output message,
3853 since completion--do-completion does it for us now.
3854 (minibuffer-force-complete): Use completion--done and
3855 completion--replace. Handle sole-completion case with more care.
3856 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
3857 (completion-extra-properties): New var.
3858 (completion-annotate-function): Make obsolete.
3859 (minibuffer-completion-help): Adjust accordingly.
3860 Use completion-list-insert-choice-function.
3861 (completion-at-point, completion-help-at-point):
3862 Bind completion-extra-properties.
3863 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
3864 * simple.el (completion-list-insert-choice-function): New var.
3865 (completion-setup-function): Preserve it.
3866 (choose-completion): Pay attention to it, shuffle the code a bit.
3867 (choose-completion-string): New arg `insert-function'.
3868
3869 * textmodes/bibtex.el: Convert to lexical binding.
3870 (bibtex-mode-map): Use completion-at-point.
3871 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
3872 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
3873 (bibtex-complete): Define as obsolete alias.
3874 (bibtex-complete-internal): Remove.
3875 (bibtex-format-entry): Remove unused sub-group in regexp.
3876 * shell.el (shell--command-completion-data)
3877 (shell-environment-variable-completion):
3878 * pcomplete.el (pcomplete-completions-at-point):
3879 * comint.el (comint--complete-file-name-data): Use :exit-function
3880 instead of completion-table-with-terminator so it also works for
3881 choose-completion.
3882
e44e373d
SM
38832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3884
4f91a816
SM
3885 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
3886
782fc819
SM
3887 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
3888 (bug#8710).
3889
e44e373d
SM
3890 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
3891
381987c3
KM
38922011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
3893
3894 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
3895 customization variable and implement: If non-nil, auto-fill will
3896 be inhibited while on topic's header line.
3897
b776bc70
VB
38982011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
3899
3900 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 3901 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
3902 always have a solution in grid size = 5 cases.
3903 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
3904 (5x5-solver-output, 5x5-log-buffer): New vars.
3905 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
3906 Make these variables buffer local to achieve 5x5 multi-session-ness.
3907 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
3908 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
3909 (5x5-solve-suggest): New funs.
3910 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
3911 randomize a grid so that we ensure that there is always a solution.
3912 (5x5-make-random-grid): Allow other movement than flipping.
3913
7de88b6e
KR
39142011-05-23 Kevin Ryde <user42@zip.com.au>
3915
3916 * emacs-lisp/advice.el (ad-read-advised-function):
3917 Use `function-called-at-point' as the default default, if it has
3918 advice and passes PREDICATE.
3919
b1ef1257
SM
39202011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
3921
bbca48fe
SM
3922 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
3923 byte-compile-lambda if it's actually a lambda.
3924
b1ef1257
SM
3925 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
3926 Fix function quoting. Use backquote better.
3927
92a9cc65
YS
39282011-05-22 Yuanle Song <sylecn@gmail.com>
3929
3930 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
3931 matching (Bug#8516).
3932
f0fb8059
JA
39332011-01-22 Jari Aalto <jari.aalto@cante.net>
3934
3935 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
3936 different face (Bug#8178).
3937
d5b44c93
CY
39382011-05-22 Chong Yidong <cyd@stupidchicken.com>
3939
3940 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
3941 defface (Bug#8144).
3942
79106a44
SM
39432011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
3944
9c848d8a
SM
3945 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
3946 funcall as well (bug#8712). Warn when performing those conversions.
3947 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
3948
79106a44
SM
3949 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
3950
88dfa756
GM
39512011-05-22 Glenn Morris <rgm@gnu.org>
3952
3953 * files.el (hack-local-variables-prop-line): Small simplifications.
3954 (hack-local-variables, hack-local-variables-prop-line):
3955 If MODE-ONLY, return the mode, rather than just `t'.
3956
b7cf2c79
SM
39572011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3958
3959 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
3960
3f1a8558
GM
39612011-05-21 Glenn Morris <rgm@gnu.org>
3962
7e4ccca3
GM
3963 * files.el (hack-local-variables-prop-line, hack-local-variables):
3964 If only interested in the mode, don't bother doing the other stuff.
3965
637d46ca
GM
3966 * image-mode.el (image-after-revert-hook):
3967 Redraw all frames on which the image is visible. (Bug#8567)
3968
973d955b
GM
3969 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
3970
3f1a8558
GM
3971 * wid-edit.el (widget-checklist-match-inline):
3972 Fix 2011-04-19 change. (Bug#8649)
3973
96479927
SM
39742011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
3975
1dcf791f
SM
3976 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
3977 Also allow singlespace after single-letter capitals followed by a dot.
3978
96479927
SM
3979 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
3980 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
3981
35fd0881
N
39822011-05-20 Nix <nix@esperi.org.uk>
3983
3984 * files.el (basic-save-buffer-2):
3985 Fix handling of break-hardlink-on-save with non-existent files.
3986
82745640
DD
39872011-05-19 Deniz Dogan <deniz@dogan.se>
3988
3989 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 3990 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 3991
4a720484
GM
39922011-05-19 Glenn Morris <rgm@gnu.org>
3993
d1f21341
GM
3994 * progmodes/f90.el (f90-type-def-re):
3995 Handle "type, bind(c)". (Bug#8691)
3996
4a720484
GM
3997 * emacs-lisp/autoload.el (batch-update-autoloads):
3998 Set autoload-excludes by parsing loadup.el rather than Makefiles.
3999
2fb0a219
MA
40002011-05-18 Michael Albinus <michael.albinus@gmx.de>
4001
4002 * net/tramp.el (tramp-process-actions): Set "first-password-request"
4003 property for the correct connection in case of multihops.
4004
e565dd37
GM
40052011-05-18 Glenn Morris <rgm@gnu.org>
4006
c2571358 4007 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
4008 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
4009
e565dd37
GM
4010 Rationalize calendar handling of day and month abbrev-arrays.
4011 * calendar/calendar.el (calendar-customized-p): New function.
4012 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
4013 (calendar-day-name-array, calendar-month-name-array): Doc fix.
4014 Add :set function.
4015 (calendar-abbrev-length, calendar-day-abbrev-array)
4016 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
4017 (calendar-day-abbrev-array, calendar-month-abbrev-array):
4018 Elements may no longer be nil.
4019 (calendar-day-name, calendar-month-name):
4020 Update for changed nature of abbrev arrays.
4021 * calendar/diary-lib.el (diary-name-pattern):
4022 Update for changed nature of abbrev arrays.
4023 (diary-mark-entries-1): Update calendar-make-alist calls.
4024 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
4025 * calendar/cal-html.el (cal-html-day-abbrev-array):
4026 Simply inherit from calendar-day-abbrev-array.
4027
1d99a745
SM
40282011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * progmodes/grep.el (grep-mode): Disable default
4031 compilation-directory-matcher setting (bug#8684).
4032
7c1d9aa0
MA
40332011-05-17 Michael Albinus <michael.albinus@gmx.de>
4034
4035 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
4036 instead of "head" and "tail". There were problems with SunOS 5.9,
4037 and it performs better.
4038
3952e9d8
GM
40392011-05-17 Glenn Morris <rgm@gnu.org>
4040
2dd12e7f
GM
4041 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
4042
e4157b9c
GM
4043 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
4044 Replace obsolete function.
4045
8e249bbd
GM
4046 * shell.el (pcomplete-parse-arguments-function): Declare.
4047
3952e9d8
GM
4048 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
4049 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
4050 (appt-check): Doc fixes.
4051 (appt-disp-window-function, appt-delete-window-function):
4052 Remove needless special case in custom :type.
4053 (appt-display-count): Default to 0, not nil.
4054 (appt-check): Reset appt-display-count to 0, not nil.
4055
c71a0d48 40562011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 4057
c71a0d48
GM
4058 * progmodes/python.el (python-font-lock-keywords):
4059 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 4060
31d55be9
SM
40612011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4062
4063 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
4064
3bfacb2f
KR
40652011-05-16 Kevin Ryde <user42@zip.com.au>
4066
4067 * info-look.el (makefile-automake-mode): New setups, looking in
4068 automake manual, then makefile-mode.
4069 (makefile-mode): Remove automake manual, have it just in
4070 makefile-automake-mode since there's various things different or
4071 not relevant to plain make.
4072 (makefile-mode): Remove "other-modes" non-existent automake-mode,
4073 believe a hypothetical automake-mode would go to makefile-mode,
4074 not the other way around.
4075
c8e83751
CY
40762011-05-15 Chong Yidong <cyd@stupidchicken.com>
4077
5e9e35cd
CY
4078 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
4079 hunk-end tags (Bug#8672).
4080
c8e83751
CY
4081 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
4082 vc-annotate-show-diff-revision-at-line (Bug#8671).
4083
50b23e5a
GM
40842011-05-14 Glenn Morris <rgm@gnu.org>
4085
7210a739
GM
4086 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
4087 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
4088 (change-log-font-lock-keywords): Also handle multiple author lines
4089 with leading tabs. (Bug#8644)
7210a739 4090
4691905a
GM
4091 * calendar/appt.el (appt-check): Rename some local variables.
4092 Some simplification/reordering.
4093
50b23e5a
GM
4094 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
4095 (feedmail-sendmail-f-doesnt-sell-me-out)
4096 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4097 (feedmail-debug-sit-for, feedmail-queue-express-hook)
4098 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
4099 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
4100 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
4101 (feedmail-binmail-gnulinuxish-template):
4102 Rename from feedmail-binmail-linuxish-template.
4103 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
4104 Use insert-buffer-substring.
4105
215cda7c
BC
41062011-05-14 Bill Carpenter <bill@carpenter.org>
4107
4108 * mail/feedmail.el (feedmail-patch-level): Increase.
4109 (feedmail-debug): New custom group.
4110 (feedmail-confirm-outgoing-timeout)
4111 (feedmail-sendmail-f-doesnt-sell-me-out)
4112 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
4113 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
4114 (feedmail-sender-line, feedmail-from-line)
4115 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 4116 (feedmail-spray-this-address)
215cda7c
BC
4117 (feedmail-spray-address-fiddle-plex-list)
4118 (feedmail-queue-use-send-time-for-date)
4119 (feedmail-queue-use-send-time-for-message-id)
4120 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
4121 (feedmail-buffer-eating-function):
4122 Doc fixes.
4123 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
4124 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
4125 (feedmail-message-action-scroll-down): New functions.
4126 (feedmail-queue-directory, feedmail-queue-draft-directory):
4127 Use expand-file-name.
4128 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
4129 Remove C-v help entry.
4130 (feedmail-queue-buffer-file-name): New variable.
4131 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
4132 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
4133 (feedmail-message-action-send-strong, feedmail-message-action-edit)
4134 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
4135 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
4136 (feedmail-message-action-toggle-spray)
4137 (feedmail-run-the-queue-no-prompts)
4138 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
4139 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
4140 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
4141 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
4142 (feedmail-envelope-deducer, feedmail-fiddle-from)
4143 (feedmail-fiddle-sender, feedmail-default-date-generator)
4144 (feedmail-fiddle-date, feedmail-fiddle-message-id)
4145 (feedmail-fiddle-spray-address)
4146 (feedmail-fiddle-list-of-spray-fiddle-plexes)
4147 (feedmail-fiddle-list-of-fiddle-plexes)
4148 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
4149 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
4150 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
4151 Change default. Doc fix.
4152 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
4153 (feedmail-binmail-linuxish-template): New constant.
4154 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
4155 Respect feedmail-sendmail-f-doesnt-sell-me-out.
4156 (feedmail-send-it): Add debug call.
4157 Use feedmail-queue-buffer-file-name, and
4158 feedmail-send-it-immediately-wrapper.
4159 (feedmail-message-action-send): Add debug call.
4160 Use feedmail-send-it-immediately-wrapper.
4161 (feedmail-queue-express-to-queue): Add debug call.
4162 Run feedmail-queue-express-hook.
4163 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
4164 (feedmail-message-action-help-blat):
4165 Rename from feedmail-queue-send-edit-prompt-help-first.
4166 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
4167 Check line-endings. Handle errors better.
4168 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
4169 Doc fix. Add debug call.
4170 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
4171 Use feedmail-queue-send-edit-prompt-inner.
4172 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
4173 (feedmail-queue-send-edit-prompt-inner): New function, extracted
4174 from feedmail-queue-send-edit-prompt.
4175 (feedmail-queue-send-edit-prompt-help)
4176 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
4177 (feedmail-tidy-up-slug): Add debug call.
4178 Respect feedmail-queue-slug-suspect-regexp.
4179 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
4180 (feedmail-dump-message-to-queue): Add debug call.
4181 Expand queue-directory.
4182 (feedmail-dump-message-to-queue): Change message slightly.
4183 Use feedmail-say-chatter.
4184 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
4185 (feedmail-send-it-immediately-wrapper): New function.
4186 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
4187 Insert empty string rather than newline. Handle full-frame case.
4188 Use catch/throw. Use feedmail-say-chatter.
4189 (feedmail-fiddle-from): Try mail-host-address.
4190 (feedmail-default-message-id-generator): Doc fix.
4191 Bind system-time-locale. Handle missing end.
4192 (feedmail-fiddle-x-mailer): Add debug call.
4193 Handle feedmail-x-mailer-line being nil.
4194 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
4195 Add debug call. Use buffer-substring-no-properties.
4196 (feedmail-say-debug, feedmail-say-chatter): New functions.
4197 (feedmail-find-eoh): Give an explicit error.
4198
42c7e61e
UJ
41992011-05-13 Ulf Jasper <ulf.jasper@web.de>
4200
c2571358 4201 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 4202 family from helvetica to sans.
c2571358 4203 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4204 etc/images/newsticker.
4205
c2571358 4206 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
4207 family from helvetica to sans.
4208
4209 * net/newst-plainview.el (newsticker-new-item-face)
4210 (newsticker-old-item-face, newsticker-immortal-item-face)
4211 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 4212 (newsticker-statistics-face): Change default family from
42c7e61e 4213 helvetica to sans.
c2571358 4214 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
4215 etc/images/newsticker.
4216
4217 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
4218 (newsticker--process-auto-mark-filter-match): : Tell user about
4219 auto-marking.
4220
8497a297
DV
42212011-05-13 Didier Verna <didier@xemacs.org>
4222
4223 Common Lisp indentation improvements on defmethod and lambda-lists.
4224 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
4225 (lisp-lambda-list-keyword-parameter-indentation)
4226 (lisp-lambda-list-keyword-parameter-alignment)
4227 (lisp-lambda-list-keyword-alignment): New customizable user options.
4228 (lisp-indent-defun-method): Improve docstring.
4229 (extended-loop-p): Fix comment.
4230 (lisp-indent-lambda-list-keywords-regexp): New variable.
4231 (lisp-indent-lambda-list): New function.
4232 (lisp-indent-259): Use it.
4233 (lisp-indent-defmethod): Support for more than one
4234 method qualifier and properly indent methods lambda-lists.
4235 (defgeneric): Provide a missing common-lisp-indent-function property.
4236
f278f87f
SM
42372011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
4238
4239 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
4240 bounds for the empty string (bug#8667).
4241
5233edd7
GM
42422011-05-13 Glenn Morris <rgm@gnu.org>
4243
5237a44f
GM
4244 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
4245
8340026c 4246 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 4247 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 4248
5233edd7 4249 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 4250 (appt-time-msg-list): Doc fix.
a5464014 4251 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 4252
92d10796
AS
42532011-05-12 Andreas Schwab <schwab@linux-m68k.org>
4254
4255 * progmodes/ld-script.el (ld-script-keywords)
4256 (ld-script-builtins): Update keywords list.
4257
914a0ae1
SM
42582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4259
c89be45f
SM
4260 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
4261
914a0ae1
SM
4262 * shell.el (shell-completion-vars): New function.
4263 (shell-mode):
4264 * simple.el (read-shell-command): Use it.
4265 (blink-matching-open): No need for " [...]" in minibuffer-message.
4266
98dc3df3
GM
42672011-05-12 Glenn Morris <rgm@gnu.org>
4268
4269 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
4270 (appt-check): Simplify.
4271
d2fc7e3d 42722011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
4273
4274 * smerge-mode.el (smerge-resolve): Use null-device rather than a
4275 literal "/dev/null".
4276
d2fc7e3d 42772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
4278
4279 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
4280 Fix typo.
4281
d2fc7e3d 42822011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 4283
3f254caa
SM
4284 * progmodes/which-func.el (which-function):
4285 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
4286 which might not be defined (Bug#8260).
4287
d45885f7
GM
42882011-05-12 Glenn Morris <rgm@gnu.org>
4289
4290 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
4291 Let byte-compile-initial-macro-environment always take precedence.
4292
488086f4
SM
42932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * net/rcirc.el: Add support for SSL/TLS connections.
4296 (rcirc-server-alist): New field `encryption'.
4297 (rcirc): Check `encryption' settings.
4298 (rcirc-connect): New arg `encryption'. Use open-network-stream.
4299 Merge make-local-variable into `set'.
4300 (rcirc--connection-open-p): New function.
4301 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
4302 the process is not a network process (e.g. running gnutls-cli).
4303 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
4304 Make rcirc-(en|de)code-coding-system local here.
4305 (rcirc-mode): Merge make-local-variable into `set'.
4306 (rcirc-parent-buffer): Make permanent buffer-local.
4307 (rcirc-multiline-minor-mode): Don't do it here.
4308 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
4309 there's no server buffer.
4310
7d3b9d44
GM
43112011-05-11 Glenn Morris <rgm@gnu.org>
4312
f64049c6
GM
4313 * newcomment.el (comment-kill): Prefix "unused" local.
4314
93c9df73
GM
4315 * term/w32console.el (get-screen-color): Declare.
4316
7d3b9d44
GM
4317 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4318 Handle symbol elements of byte-compile-initial-macro-environment.
4319
9e2dd53f
LL
43202011-05-10 Leo Liu <sdl.web@gmail.com>
4321
488086f4
SM
4322 * bookmark.el (bookmark-bmenu-mode-map):
4323 Bind bookmark-bmenu-search to `/'.
8b340240 4324
9e2dd53f 4325 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
4326 (footnote-unicode-string, footnote-unicode-regexp): New variable.
4327 (Footnote-unicode): New function.
4328 (footnote-style-alist): Add unicode style to the list.
4329 (footnote-style): Doc fix.
9e2dd53f 4330
79b70037
GM
43312011-05-10 Jim Meyering <meyering@redhat.com>
4332
4333 Fix doubled-word typos.
4334 * international/quail.el (quail-insert-kbd-layout): and and -> and
4335 * kermit.el: and and -> and
4336 * net/ldap.el (ldap-search-internal): to to -> to
4337 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
4338 * progmodes/js.el (js-mode): and and -> and
4339 * textmodes/artist.el (artist-move-to-xy): at at -> at
4340 (artist-draw-region-trim-line-endings): if if -> if
4341 And Safetyc -> Safety.
4342 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
4343
b8f82dc1 43442011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 4345 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
4346
4347 * files.el (hack-one-local-variable-eval-safep):
4348 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
4349
4f99f44b
GM
43502011-05-10 Glenn Morris <rgm@gnu.org>
4351
4352 * calendar/diary-lib.el (diary-list-entries-hook)
4353 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
4354 (diary-nongregorian-marking-hook, diary-list-entries)
4355 (diary-include-other-diary-files, diary-mark-entries)
4356 (diary-mark-included-diary-files): Doc fixes.
4357
84f29e6b
JB
43582011-05-09 Juanma Barranquero <lekktu@gmail.com>
4359
4360 * misc.el: Require tabulated-list.el during compilation.
4361
9bedd73a
CY
43622011-05-09 Chong Yidong <cyd@stupidchicken.com>
4363
488086f4
SM
4364 * progmodes/compile.el (compilation-start):
4365 Run compilation-filter-hook for the async case too.
9bedd73a
CY
4366 (compilation-filter-hook): Doc fix.
4367
797c735c
DD
43682011-05-09 Deniz Dogan <deniz@dogan.se>
4369
4370 * wdired.el: Remove outdated installation comment. Fix usage
4371 comment.
4372
5f4b1dfe
JB
43732011-05-09 Juanma Barranquero <lekktu@gmail.com>
4374
4375 * misc.el: Implement new command `list-dynamic-libraries'.
4376 (list-dynamic-libraries--loaded-only-p): New variable.
4377 (list-dynamic-libraries--refresh): New function.
4378 (list-dynamic-libraries): New command.
4379
4c44026c
CY
43802011-05-09 Chong Yidong <cyd@stupidchicken.com>
4381
488086f4
SM
4382 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4383 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
4384 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
4385 higher priority to avoid clobbering by gnu.
4386
027f966d
CY
43872011-05-08 Chong Yidong <cyd@stupidchicken.com>
4388
4389 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
4390 if the face has existing theme settings (Bug#8454).
4391
085f5d7d
CY
43922011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
4393
488086f4
SM
4394 * progmodes/perl-mode.el (perl-imenu-generic-expression):
4395 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 4396
2a86a00c
RS
4397 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
4398 special file names `.' and `..' (Bug#8259).
4399
d9c54a06
CY
44002011-05-08 Chong Yidong <cyd@stupidchicken.com>
4401
488086f4
SM
4402 * progmodes/grep.el (grep-mode-font-lock-keywords):
4403 Remove buffer-changing entries.
d9c54a06
CY
4404 (grep-filter): New function.
4405 (grep-mode): Add it to compilation-filter-hook.
4406
4407 * progmodes/compile.el (compilation-filter-hook)
4408 (compilation-filter-start): New defvars.
4409 (compilation-filter): Call compilation-filter-hook prior to
4410 updating the process mark.
4411
c4662635
SM
44122011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
4415
b0512a1d
EZ
44162011-05-07 Eli Zaretskii <eliz@gnu.org>
4417
605c9376
EZ
4418 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
4419 mailclient-send-it even if window-system is nil. (Bug#8595)
4420
c4662635
SM
4421 * term/w32console.el (terminal-init-w32console):
4422 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
4423 background-mode. (Bug#8597)
4424
d1dc2cc2
SM
44252011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 Make bytecomp.el understand that defmethod defines funs (bug#8631).
4428 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
4429 New functions.
4430 (defgeneric, eieio--defmethod): Use them.
4431 (eieio-defgeneric): Remove.
4432 (defmethod): Call defgeneric in a way visible to the byte-compiler.
4433
915d1300
GM
44342011-05-07 Glenn Morris <rgm@gnu.org>
4435
a3961c3e
GM
4436 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
4437 Use let rather than let*.
4438 (timeclock-find-discrep): Remove unused local.
4439
314347b9
GM
4440 * calendar/diary-lib.el (diary-comment-start): Doc fix.
4441
915d1300
GM
4442 * calendar/appt.el (appt-time-msg-list): Doc fix.
4443
275b59b0
NF
44442011-05-06 Noah Friedman <friedman@splode.com>
4445
4446 * apropos.el (apropos-print-doc): Only use
4447 emacs-lisp-docstring-fill-column when it is bound to an integer,
4448 per that variable's documentation.
4449
6c19f744
SM
44502011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
4451
4452 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 4453 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 4454
60f884b2
GM
44552011-05-06 Glenn Morris <rgm@gnu.org>
4456
5006e634
GM
4457 * calendar/appt.el (appt-message-warning-time): Doc fix.
4458 (appt-warning-time-regexp): New option.
4459 (appt-make-list): Respect appt-message-warning-time.
4460
548d0a63
GM
4461 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
4462 New options.
4463 (diary-add-to-list): Strip comments from the displayed string.
4464 (diary-mode): Set comment-start and comment-end.
4465
60f884b2
GM
4466 * vc/diff-mode.el (smerge-refine-subst): Declare.
4467 (diff-refine-hunk): Don't require smerge-mode when compiling.
4468
989681bb
JB
44692011-05-06 Juanma Barranquero <lekktu@gmail.com>
4470
4471 * simple.el (list-processes): Return nil as the docstring says.
4472
a6bc05e1
MA
44732011-05-05 Michael Albinus <michael.albinus@gmx.de>
4474
4475 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
4476 to "".
4477 (ange-ftp-write-region, ange-ftp-insert-file-contents)
4478 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
4479 determining of binary transfer. (Bug#7383)
4480
23c22e9a
MA
44812011-05-05 Michael Albinus <michael.albinus@gmx.de>
4482
c4662635
SM
4483 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4484 Fix port computation bug. (Bug#8618)
23c22e9a 4485
0bff894f
GM
44862011-05-05 Glenn Morris <rgm@gnu.org>
4487
b8296902
GM
4488 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
4489
1f522ce8
GM
4490 * simple.el (shell-dynamic-complete-functions)
4491 (comint-dynamic-complete-functions): Declare.
4492
cf5bee67
GM
4493 * net/network-stream.el (gnutls-negotiate):
4494 * simple.el (tabulated-list-print): Fix declarations.
4495
4496 * progmodes/gud.el (syntax-symbol, syntax-point):
4497 Remove unnecessary and incorrect declarations.
4498
0bff894f
GM
4499 * emacs-lisp/check-declare.el (check-declare-scan):
4500 Handle byte-compile-initial-macro-environment in bytecomp.el
4501
9869b3ae
SM
45022011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4503
4504 Fix earlier half-done eieio-defmethod change (bug#8338).
4505 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
4506 Streamline and change calling convention.
4507 (defmethod): Adjust accordingly and simplify.
4508 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
4509 new eieio--defmethod.
4510 (slot-boundp): Minor CSE simplification.
4511
9c1d5ac5
MZ
45122011-05-05 Milan Zamazal <pdm@zamazal.org>
4513
4514 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
4515 (glasses-make-readable): Use glasses-separate-capital-groups.
4516
455c834e
JB
45172011-05-05 Juanma Barranquero <lekktu@gmail.com>
4518
4519 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
4520 (warning-series): Doc fix.
4521 (display-warning): Don't try to create the buffer if we just found it.
4522
9ed7c8cb
CY
45232011-05-04 Chong Yidong <cyd@stupidchicken.com>
4524
4525 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
4526 (autoload-find-generated-file): New function.
4527 (generate-file-autoloads): Bind generated-autoload-file to
4528 buffer-file-name.
9869b3ae
SM
4529 (update-file-autoloads, update-directory-autoloads):
4530 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
4531 output file (Bug#7989).
4532 (batch-update-autoloads): Doc fix.
4533
0898ca10
JB
45342011-05-04 Juanma Barranquero <lekktu@gmail.com>
4535
4536 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
4537
31dfb76c
GM
45382011-05-04 Glenn Morris <rgm@gnu.org>
4539
f330b642
GM
4540 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
4541 function, so it follows changes in calendar-date-style.
4542 (diary-fancy-date-matcher): New function.
4543 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
4544 (diary-fancy-font-lock-fontify-region-function):
4545 Use diary-fancy-date-pattern as a function.
4546
31dfb76c
GM
4547 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
4548 non-numbers for `year' etc pseudo-variables. (Bug#8583)
4549
48e79d6a
TZ
45502011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
4551
4552 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
4553 instead of positional arguments. Allow :keylist and :crlfiles
4554 arguments.
4555 (open-gnutls-stream): Call it.
4556
4557 * net/network-stream.el (network-stream-open-starttls): Adjust to
4558 call `gnutls-negotiate' with :process and :hostname arguments.
4559
dd5a5ee0
SM
45602011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4561
ef80fc09
SM
4562 * minibuffer.el (completion--message): New function.
4563 (completion--do-completion, minibuffer-complete)
4564 (minibuffer-force-complete, minibuffer-complete-word): Use it.
4565 (completion--do-completion): Don't ignore completion-auto-help when in
4566 icomplete-mode.
4567
dd5a5ee0
SM
4568 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
4569 internal encoding (e.g. tibetan zero is not whitespace).
4570 (global-whitespace-mode): Prefer save-current-buffer.
4571 (whitespace-trailing-regexp): Remove useless save-match-data.
4572 (whitespace-empty-at-bob-regexp): Minor simplification.
4573
b7d22a83
CY
45742011-05-03 Chong Yidong <cyd@stupidchicken.com>
4575
4576 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
4577
5192af46
AM
45782011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4579
4580 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 4581 Use `concat' to create string for insertion.
5192af46 4582
5767d190
SM
45832011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4584
4585 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
4586 Avoid open-line which runs post-self-insert-hook.
4587 (bibtex-fill-entry): Remove unused `end' var.
4588
bf242939
AM
45892011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
4590
5767d190
SM
4591 * textmodes/ispell.el (ispell-add-per-file-word-list):
4592 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 4593
25666126
LL
45942011-05-03 Leo Liu <sdl.web@gmail.com>
4595
4596 * isearch.el (isearch-yank-pop): New command.
5767d190 4597 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
4598 (isearch-forward): Mention it.
4599
52d3c2d0
SM
46002011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4601
1bcace58
SM
4602 * simple.el (minibuffer-complete-shell-command): Remove.
4603 (minibuffer-local-shell-command-map): Use completion-at-point.
4604 (read-shell-command): Setup completion vars here instead.
4605 (read-expression-map): Bind TAB to symbol completion.
4606
52d3c2d0
SM
4607 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
4608 error directly rather via storing it into `results'.
4609
35813471
LL
46102011-05-02 Leo Liu <sdl.web@gmail.com>
4611
4612 * vc/diff.el: Fix description.
4613
e793a940
LMI
46142011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
4615
4616 * server.el (server-eval-at): New function.
4617
8de66e05
LMI
46182011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
4619
4620 * net/network-stream.el (open-network-stream): Take a :nowait
4621 parameter and pass it on to `make-network-process'.
4622 (network-stream-open-plain): Ditto.
4623
dcb79f20
AS
46242011-04-30 Andreas Schwab <schwab@linux-m68k.org>
4625
4626 * faces.el (face-spec-set-match-display): Don't match toolkit
4627 options on terminal frames.
4628
14a7fbd8
SM
46292011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
4630
7eabc1be
SM
4631 * progmodes/pascal.el: Use lexical binding.
4632 (pascal-mode-map): Remove author preferences.
4633
14a7fbd8
SM
4634 * pcomplete.el (pcomplete-std-complete): Don't abuse
4635 completion-at-point.
4636
50f84510
JB
46372011-04-28 Juanma Barranquero <lekktu@gmail.com>
4638
6e087a44
JB
4639 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
4640 removing code that has been dead since 1991 or so.
4641
50f84510
JB
4642 * startup.el (command-line): When warning about "_emacs", use a
4643 delayed warning to allow the user to filter it out.
4644
0ba690bd
DD
46452011-04-28 Deniz Dogan <deniz@dogan.se>
4646
4647 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
4648 user has not joined.
4649
08abfaad
SM
46502011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4651
4652 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
4653 aren't any completions at point.
4654
638f053a
JB
46552011-04-28 Juanma Barranquero <lekktu@gmail.com>
4656
4657 * subr.el (display-delayed-warnings): New function.
4658 (delayed-warnings-hook): New variable.
4659
8fff8daa
SM
46602011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4661
08abfaad
SM
4662 * minibuffer.el (completion-at-point, completion-help-at-point):
4663 Don't presume that a given completion-at-point-function will always
4664 use the same calling convention.
4665
8fff8daa
SM
4666 * pcomplete.el (pcomplete-completions-at-point):
4667 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
4668 pcomplete-seen is non-nil.
4669 (pcomplete-comint-setup): Also recognize the new comint/shell
4670 completion functions.
4671 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
4672 pcomplete-seen is non-nil.
4673
841a1577 46742011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 4675
841a1577 4676 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 4677 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 4678 the first character in the entry. This allows for code to add its
211ec907
UJ
4679 own uid to the entry.
4680 (icalendar--convert-float-to-ical): Add export of
4681 `diary-float'-entries save for those with the optional DAY
4682 argument.
4683
2a782793
DC
46842011-04-27 Daniel Colascione <dan.colascione@gmail.com>
4685
4686 * subr.el (shell-quote-argument): Use alternate escaping strategy
4687 when we spot a variable reference in a string.
4688
0438ce91
DC
46892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
4690
4691 * cus-start.el (all): Define customization for debug-on-event.
4692
841a1577 46932011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
4694
4695 * subr.el (shell-quote-argument): Escape correctly under Windows.
4696
d090ed6c
SM
46972011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4698
4699 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
4700
bfd31217
MA
47012011-04-25 Michael Albinus <michael.albinus@gmx.de>
4702
d090ed6c
SM
4703 * net/tramp.el (tramp-process-actions): Add POS argument.
4704 Delete region between POS and (pos).
bfd31217 4705
d090ed6c
SM
4706 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4707 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
4708 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
4709
4710 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
4711 position in `tramp-process-actions' call.
4712
4713 * net/trampver.el: Update release number.
4714
e92f3bd3
SM
47152011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4716
850256b5
SM
4717 * custom.el (defcustom): Obey lexical-binding.
4718
e92f3bd3
SM
4719 Fix octave-inf completion problems reported by Alexander Klimov.
4720 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
4721 Inherit from octave-mode-syntax-table.
4722 (inferior-octave-mode): Set info-lookup-mode.
4723 (inferior-octave-completion-at-point): New function.
4724 (inferior-octave-complete): Use it and completion-in-region.
4725 (inferior-octave-dynamic-complete-functions): Use it as well, and use
4726 comint-filename-completion.
4727 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
4728 symbol elements which shouldn't be word elements.
4729 (octave-font-lock-keywords, octave-beginning-of-defun)
4730 (octave-function-header-regexp): Adjust regexps accordingly.
4731 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
4732
cd22b309
JB
47332011-04-25 Juanma Barranquero <lekktu@gmail.com>
4734
4735 * net/gnutls.el (gnutls-errorp): Declare before first use.
4736
8b492194
TZ
47372011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
4738
4739 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
4740 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
4741 default trustfile exists before going to use it. Add missing
4742 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
4743 Reported by Claudio Bley <claudio.bley@gmail.com>.
4744 (open-gnutls-stream): Add usage example.
4745
4746 * net/network-stream.el (network-stream-open-starttls): Give host
4747 parameter to `gnutls-negotiate'.
4748 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 4749 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 4750
841a1577 47512011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 4752
cd22b309
JB
4753 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
4754 Use correct match group (bug#8438).
05842630 4755
3ba7869c
CY
47562011-04-24 Chong Yidong <cyd@stupidchicken.com>
4757
512e3ae1
CY
4758 * emacs-lisp/package.el (package-built-in-p): Fix typo.
4759 (package-menu--generate): New arg specifying packages to show.
4760 (package-menu-refresh, package-menu-execute, list-packages):
4761 Callers changed.
4762 (package-show-package-list): New function, replacing deleted
4763 package--list-packages (renamed because it is non-internal).
4764
4765 * finder.el (finder-list-matches): Use package-show-package-list
4766 instead of deleted package--list-packages.
4767
e92f3bd3
SM
4768 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
4769 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
4770 (vc-annotate-mode-map): Bind it to RET.
4771
7031be6d
UR
47722011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
4773
4774 * progmodes/etags.el (next-file): Don't use set-buffer to change
4775 buffers (Bug#8478).
4776
4ef177aa
CY
47772011-04-24 Chong Yidong <cyd@stupidchicken.com>
4778
c8d173eb
CY
4779 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
4780
4ef177aa
CY
4781 * apropos.el (apropos-label-face): Avoid variable-pitch face.
4782 (apropos-accumulator): Doc fix.
4783 (apropos-function, apropos-macro, apropos-command)
4784 (apropos-variable, apropos-face, apropos-group, apropos-widget)
4785 (apropos-plist): Add face property.
4786 (apropos-symbols-internal): Fix indentation.
4787 (apropos-print): Simplify help, and recognize apropos-multi-type.
4788 (apropos-print-doc): Use button-type-get to extract the button's
4789 face property. Fill docstring (Bug#8352).
4790
4ffd0d6b 47912011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
4792
4793 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
4794
c6c32125 4795 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 4796 (mpuz-mode-map): Use mapc.
c6c32125
JB
4797 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
4798 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
4799 Fix typos in docstrings.
4800
58d468b4
JB
4801 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
4802 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
4803
6470c3c6
JB
4804 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
4805
4ffd0d6b 48062011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
4807
4808 * minibuffer.el (completion--do-completion): Avoid the "Next char
4809 not unique" prompt if icomplete-mode is enabled (Bug#5849).
4810
3ad8bad0
CY
4811 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
4812 mouse-2 into unread-command-events, it is interpreted correctly.
4813
71d73c9c 4814 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 4815 (image-toggle-display): Doc fix.
71d73c9c 4816
841a1577 48172011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 4818
4ffd0d6b
GM
4819 * textmodes/page.el (what-page): Use line-number-at-pos to
4820 calculate line number (Bug#6825).
6e1dbaa9 4821
c2fb1b60
JB
48222011-04-22 Juanma Barranquero <lekktu@gmail.com>
4823
4824 * eshell/esh-mode.el (find-tag-interactive): Declare function.
4825 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
4826 Pass argument NO-DEFAULT to `find-tag-interactive'.
4827
e02f48d7
JB
48282011-04-22 Juanma Barranquero <lekktu@gmail.com>
4829
4830 Lexical-binding cleanup.
4831
4832 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
4833 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
4834 * progmodes/ada-prj.el (ada-prj-initialize-values)
4835 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
4836 (ada-prj-show-value):
4837 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
4838 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
4839 (antlr-invalidate-context-cache, antlr-options-menu-filter)
4840 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
4841 * progmodes/bug-reference.el (bug-reference-push-button):
4842 * progmodes/fortran.el (fortran-line-length):
4843 * progmodes/glasses.el (glasses-change):
4844 * progmodes/octave-mod.el (octave-fill-paragraph):
4845 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
4846 (python-pdbtrack-grub-for-buffer, python-sentinel):
4847 * progmodes/sql.el (sql-save-connection):
4848 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
4849 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
4850 Mark unused parameters.
4851
4852 * progmodes/compile.el (compilation--flush-directory-cache)
4853 (compilation--flush-parse, compile-internal): Mark unused parameters.
4854 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
4855 (compilation-next-error-function): Remove unused variable `timestamp'.
4856
4857 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
4858 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
4859
4860 * progmodes/dcl-mode.el (dcl-end-of-command):
4861 Remove unused variable `start'.
4862 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
4863 (dcl-option-value-basic, dcl-option-value-offset)
4864 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
4865 Mark unused parameters.
4866 (dcl-save-local-variable): Remove unused variable `val'.
4867 (mode): Declare.
4868
4869 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
4870 Mark unused parameters.
4871 (delphi-ignore-changes): Move before first use.
4872 (delphi-charset-token-at): Remove unused variable `start'.
4873 (delphi-else-start): Remove unused variable `if-count'.
4874 (delphi-comment-block-start, delphi-comment-block-end):
4875 Remove unused variable `kind'.
4876 (delphi-indent-line): Remove unused variable `new-point'.
4877
4878 * progmodes/ebrowse.el (ebrowse-files-list)
4879 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
4880 Mark unused parameters. Don't quote `lambda'.
4881 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
4882 Don't quote `lambda'.
4883 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
4884 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
4885 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
4886 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
4887 Use `ignore-errors'.
4888 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
4889 (ebrowse-view/find-file-and-search-pattern)
4890 (ebrowse-view/find-member-declaration/definition):
4891 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
4892 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
4893 Rename parameter PREFIX-ARG to PREFIX.
4894 (ebrowse-tags-read-name): Remove unused variables `start' and
4895 `member-info'.
4896 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
4897 to `tags-file'.
4898
4899 * progmodes/etags.el (local-find-tag-hook): Declare.
4900 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
4901 Mark unused parameters.
4902
4903 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
4904 (executable-interpret): Mark unused parameter.
4905
4906 * progmodes/flymake.el (flymake-process-sentinel)
4907 (flymake-after-change-function)
4908 (flymake-create-temp-with-folder-structure)
4909 (flymake-get-include-dirs-dot): Mark unused parameters.
4910 (flymake-safe-delete-directory): Remove unused variable `err'.
4911
4912 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
4913 (speedbar-timer-fn, speedbar-line-text)
4914 (speedbar-change-expand-button-char, speedbar-delete-subblock)
4915 (speedbar-center-buffer-smartly): Declare functions.
4916 (gdb-find-watch-expression): Remove unused variable `array'.
4917 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
4918 (gdb-starting): Mark unused parameters.
4919 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
4920 (gdb-table-string): Remove unused variable `res'.
4921 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
4922 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
4923 (gdb-display-buffer): Remove unused variable `cur-size'.
4924
4925 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
4926 allow lexical-binding compilation.
4927 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
4928 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
4929 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
4930 Mark unused parameters.
4931 (gud-gdb-marker-filter): Remove unused variable `match'.
4932 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
4933 lambda expressions and funcall them, instead of using `fset'.
4934
4935 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
4936 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
4937
4938 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
4939 variable `header-beg'; use `let'.
4940
4941 * progmodes/icon.el (indent-icon-exp): Remove unused variables
4942 `restart', `last-sexp' and `at-do'.
4943
4944 * progmodes/js.el (js--debug): Mark unused parameter.
4945 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
4946 (js--splice-into-items): Remove unused variable `item'.
4947 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
4948
4949 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
4950 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
4951 (makefile-complete): Remove unused variable `try'.
4952 (makefile-fill-paragraph, makefile-match-function-end):
4953 Mark unused parameters.
4954
4955 * progmodes/octave-inf.el (inferior-octave-complete):
4956 Remove unused variable `proc'.
4957 (inferior-octave-output-digest): Mark unused parameter.
4958
4959 * progmodes/perl-mode.el (perl-calculate-indent):
4960 Remove unused variable `err'.
4961
4962 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
4963 (prolog-indent-line): Mark unused parameters.
4964 (prolog-indent-line): Remove unused variable `beg'.
4965
4966 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
4967 (reporter-dont-compact-list): Declare.
4968
4969 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
4970 Remove unused variable `char'.
4971 (sh-debug): Mark unused parameter.
4972 (sh-get-indent-info): Remove unused variable `start'.
4973 (sh-calculate-indent): Remove unused variable `var'.
4974
4975 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
4976 (simula-electric-keyword): Remove unused variable `null'.
4977 (simula-search-backward, simula-search-forward): Remove unused
4978 variables `begin' and `end'.
4979
4980 * progmodes/vera-mode.el (vera-guess-basic-syntax):
4981 Remove unused variable `pos'.
4982 (vera-electric-tab, vera-comment-uncomment-region):
4983 Mark unused parameters.
4984 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
4985
7ede3b65
CY
49862011-04-22 Chong Yidong <cyd@stupidchicken.com>
4987
4988 * emacs-lisp/package.el (package--builtins, package-alist)
4989 (package-load-descriptor, package-built-in-p, package-activate)
4990 (define-package, package-installed-p)
4991 (package-compute-transaction, package-buffer-info)
4992 (package--push): Doc fix. Distinguish more clearly between
4993 version strings and version lists.
4994
121656e9
JB
49952011-04-21 Juanma Barranquero <lekktu@gmail.com>
4996
4997 Lexical-binding cleanup.
4998
4999 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
5000 (5x5-make-mutate-best):
5001 * play/fortune.el (fortune-in-buffer):
5002 * play/gomoku.el (gomoku-init-display):
5003 * play/solitaire.el (solitaire, solitaire-do-check):
5004 * play/tetris.el (tetris-default-update-speed-function):
5005 Mark unused parameters.
5006
5007 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
5008 (bubbles--shift): Remove unused variable `char-org'.
5009 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
5010 (bubbles--show-images): Remove unused variable `char'.
5011
5012 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
5013 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
5014 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
5015 (decipher-analyze-buffer): Use ?\s.
5016 (decipher-make-checkpoint): Remove unused variable `mapping'.
5017
5018 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
5019
5020 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
5021 Remove unused variable `result'; use `let'.
5022
5023 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
5024 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
5025 (gametree-children-shown-p, gametree-compute-reduced-score):
5026 Use `ignore-errors'.
5027
5028 * play/handwrite.el (ps-lpr-switches): Declare.
5029 (handwrite): Remove unused variables `pmin' and `lastp'.
5030
5031 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
5032
5033 * play/landmark.el (landmark-init-display)
5034 (landmark-update-naught-weights): Mark unused parameters.
5035 (landmark-y): Remove unused variable `noise'. Simplify.
5036 (landmark-human-plays): Remove unused variable `score'.
5037
5038 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
5039 (mpuz-try-proposal): Remove unused variable `game'.
5040
5041 * play/zone.el (life-patterns): Declare.
5042
80f499c7
JB
50432011-04-20 Juanma Barranquero <lekktu@gmail.com>
5044
5045 * vc/vc.el (ediff-vc-internal): Declare function.
5046
024ff170
SM
50472011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5048
c0a193ea
SM
5049 * shell.el: Use lexical-binding and std completion UI.
5050 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
5051 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
5052 comint-preoutput-filter-functions rather than on
5053 comint-output-filter-functions.
5054 (shell-command-completion, shell--command-completion-data)
5055 (shell-filename-completion, shell-environment-variable-completion)
5056 (shell-c-a-p-replace-by-expanded-directory): New functions.
5057 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
5058 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
5059 (shell-dynamic-complete-environment-variable): Use them.
5060 (shell-dynamic-complete-as-environment-variable)
5061 (shell-dynamic-complete-as-command): Remove.
5062 (shell-match-partial-variable): Match past point.
5063 * comint.el: Clean up use of completion-at-point-functions.
5064 (comint-completion-at-point): New function.
5065 (comint-mode): Use it completion-at-point-functions.
5066 (comint-dynamic-complete): Make it obsolete.
5067 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
5068 (comint-c-a-p-replace-by-expanded-history): New function.
5069 (comint-dynamic-complete-functions)
5070 (comint-replace-by-expanded-history): Use it.
5071 * minibuffer.el (completion-table-with-terminator): Allow dynamic
5072 termination strings. Try harder to avoid second try-completion.
5073 (completion-in-region-mode-map): Disable bindings that don't work yet.
5074
2dbaa080
SM
5075 * comint.el: Use lexical-binding. Require CL.
5076 (comint-dynamic-complete-functions): Use comint-filename-completion.
5077 (comint-completion-addsuffix): Tweak custom type.
5078 (comint-filename-completion, comint--common-suffix)
5079 (comint--common-quoted-suffix, comint--table-subvert)
5080 (comint--complete-file-name-data): New functions.
5081 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
5082 (comint-dynamic-list-filename-completions): Use them.
5083 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 5084
2dbaa080
SM
5085 * minibuffer.el (completion-in-region-mode):
5086 Keep completion-in-region-mode--predicate global.
5087 (completion-in-region--postch):
5088 Assume completion-in-region-mode--predicate is not null.
5089
c79a6f38
SM
5090 * progmodes/flymake.el (flymake-start-syntax-check-process):
5091 Obey `dir'. Simplify.
5092
024ff170
SM
5093 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
5094 we're in VC after all.
5095
1c6c854e
CS
50962011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
5097
5098 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 5099 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
5100 (vc-version-diff): Use vc-diff-build-argument-list-internal.
5101
bed7f140
SM
51022011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
5103
332e62ab
SM
5104 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
5105 add sanity check.
5106
bed7f140
SM
5107 * obsolete/erc-hecomplete.el: Make obsolete.
5108 * obsolete/: Standardize obsolescence info in the header.
5109
f195c582
GM
51102011-04-20 Glenn Morris <rgm@gnu.org>
5111
5112 * calendar/solar.el (solar-horizontal-coordinates):
5113 Use the longitude argument rather than `calendar-longitude'.
5114 (solar-date-next-longitude): Remove unused locals.
5115
cb79b8c0
VJL
51162011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5117
5118 * whitespace.el: New version 13.2.1.
5119
51202011-04-20 felix <EmacsWiki> (tiny change)
5121
d8e4b68b 5122 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
5123 switching between major modes on a file.
5124
602ea69d
SM
51252011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5126
5127 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
5128 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
5129 multi-line comments as well.
5130
06b60517
JB
51312011-04-19 Juanma Barranquero <lekktu@gmail.com>
5132
5133 Lexical-binding cleanup.
5134
5135 * arc-mode.el (archive-mode-revert):
5136 * cmuscheme.el (scheme-interactively-start-process):
5137 * custom.el (custom-initialize-delay):
5138 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
5139 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
5140 * emacs-lock.el (emacs-lock-clear-sentinel):
5141 * ezimage.el (defezimage):
5142 * follow.el (follow-avoid-tail-recenter):
5143 * fringe.el (set-fringe-mode-1):
5144 * generic-x.el (bat-generic-mode-compile):
5145 * help-mode.el (help-info-variable, help-do-xref)
5146 (help-mode-revert-buffer):
5147 * help.el (view-emacs-todo):
5148 * iswitchb.el (iswitchb-completion-help):
5149 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
5150 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
5151 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
5152 * locate.el (locate-update):
5153 * longlines.el (longlines-encode-region)
5154 (longlines-after-change-function):
5155 * outline.el (outline-isearch-open-invisible):
5156 * ps-def.el (declare-function, charset-dimension, char-width)
5157 (encode-char):
5158 * ps-mule.el (ps-mule-plot-string):
5159 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
5160 (recentf-edit-list-select, recentf-edit-list-validate)
5161 (recentf-open-files-action):
5162 * rect.el (delete-whitespace-rectangle-line)
5163 (rectangle-number-line-callback):
5164 * register.el (window-configuration-to-register)
5165 (frame-configuration-to-register):
5166 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
5167 * select.el (xselect-convert-to-string, xselect-convert-to-length)
5168 (xselect-convert-to-targets, xselect-convert-to-delete)
5169 (xselect-convert-to-filename, xselect-convert-to-charpos)
5170 (xselect-convert-to-lineno, xselect-convert-to-colno)
5171 (xselect-convert-to-os, xselect-convert-to-host)
5172 (xselect-convert-to-user, xselect-convert-to-class)
5173 (xselect-convert-to-name, xselect-convert-to-integer)
5174 (xselect-convert-to-atom, xselect-convert-to-identity):
5175 * subr.el (declare, ignore, process-kill-without-query)
5176 (text-clone-maintain):
5177 * terminal.el (te-get-char, te-tic-sentinel):
5178 * tool-bar.el (tool-bar-make-keymap):
5179 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
5180 * type-break.el (type-break-mode, type-break-noninteractive-query):
5181 * view.el (View-back-to-mark):
5182 * wid-browse.el (widget-browse-action, widget-browse-widget)
5183 (widget-browse-widgets, widget-browse-sexp):
5184 * widget.el (define-widget-keywords):
5185 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
5186 Mark unused parameters.
5187
5188 * align.el (align-adjust-col-for-rule): Mark unused parameter.
5189 (align-areas): Remove unused variable `look'.
5190 (align-region): Remove unused variables `real-end' and `pos-list'.
5191
5192 * apropos.el (apropos-score-doc): Remove unused variable `i'.
5193
5194 * bindings.el (mode-line-modified, mode-line-remote):
5195 Mark unused parameters.
5196 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
5197
5198 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
5199 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
5200
5201 * comint.el (comint-history-isearch-pop-state)
5202 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
5203 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
5204 (comint-substitute-in-file-name): Doc fix.
5205
5206 * completion.el (cmpl-statistics-block): Mark unused parameter.
5207 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
5208 (save-completions-to-file, load-completions-from-file):
5209 Remove unused local variable `e'.
5210
5211 * composite.el (compose-chars): Remove unused variable `len'.
5212 (lgstring-insert-glyph): Remove unused variable `g'.
5213 (compose-glyph-string): Remove unused variables `ascent',
5214 `descent', `lbearing' and `rbearing'.
5215 (compose-glyph-string-relative): Remove unused variables
5216 `lbearing', `rbearing' and `wadjust'.
5217 (compose-gstring-for-graphic): Remove unused variables `header',
5218 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
5219 (compose-gstring-for-terminal): Remove unused variables `header'
5220 and `nchars'. Use `let', not `let*'.
5221
5222 * cus-edit.el (Custom-set, Custom-save, custom-reset)
5223 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
5224 (Custom-buffer-done, custom-buffer-create-internal)
5225 (custom-browse-visibility-action, custom-browse-group-tag-action)
5226 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
5227 (widget-magic-mouse-down-action, custom-toggle-parent)
5228 (custom-add-parent-links, custom-toggle-hide-variable)
5229 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
5230 (custom-toggle-hide-face, face, hook, custom-group-link-action)
5231 (custom-face-menu-create, custom-variable-menu-create, get)
5232 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
5233 (custom-reset-standard-save-and-update): Remove unused variable `value'.
5234 (customize-apropos): Remove unused variable `tests'.
5235 (custom-group-value-create): Remove unused variable `hidden-p'.
5236 (sort-fold-case): Declare.
5237
5238 * cus-theme.el (custom-reset-standard-faces-list)
5239 (custom-reset-standard-variables-list): Declare.
5240 (customize-create-theme, custom-theme-revert, custom-theme-write)
5241 (custom-theme-choose-mode, customize-themes, custom-theme-save):
5242 Mark unused parameters.
5243
5244 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
5245
5246 * delim-col.el (delimit-columns-max): Move defvar before first use.
5247
5248 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 5249 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
5250
5251 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
5252 (auto-insert): Declare.
5253 (desktop-restore-file-buffer): Rename desktop-* parameters;
5254 mark unused ones.
5255 (desktop-create-buffer): Rename desktop-* parameters and bind them.
5256 (desktop-buffer): Rename desktop-* parameters.
5257
5258 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5259 (dframe-reposition-frame-xemacs, dframe-help-echo)
5260 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
5261 Mark unused parameters.
5262
5263 * dired-aux.el (backup-extract-version-start, overwrite-query)
5264 (overwrite-backup-query, rename-regexp-query)
5265 (rename-non-directory-query): Declare.
5266 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
5267 (dired-add-entry): Remove unused variable `orig-file-name'.
5268 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
5269 Use parameter PRESERVE-TIME instead of accessing dynamic variable
5270 `dired-copy-preserve-time' directly.
5271 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
5272 (dired-insert-subdir-newpos): Rename unused variable `pos'.
5273
5274 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
5275 (dired-virtual-revert, dired-make-relative-symlink):
5276 Mark unused parameters.
5277 (manual-program): Declare.
5278 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
5279 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
5280 wrapped in `with-no-warnings' to avoid replacing one warning by another.
5281
5282 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
5283
5284 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
5285
5286 * echistory.el (electric-history-in-progress, Helper-return-blurb):
5287 Declare.
5288
5289 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
5290
5291 * electric.el (Electric-command-loop): Rename parameter
5292 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
5293
5294 * expand.el (expand-in-literal): Remove unused variable `here'.
5295
5296 * facemenu.el (facemenu-add-new-color):
5297 Remove unused variable `docstring'.
5298
5299 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
5300 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
5301 (face-attr-construct): Mark unused parameter. Doc fix.
5302 (read-color): Remove unused variable `hex-string'.
5303
5304 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
5305 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
5306 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
5307 (display-buffer-other-frame): Remove unused variable `old-window'.
5308 (kill-buffer-hook): Declare.
5309 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
5310 Mark unused parameters.
5311 (after-find-file): Pass 1 to `auto-save-mode', not t.
5312
5313 * files-x.el (auto-insert): Declare.
5314 (modify-file-local-variable-prop-line): Remove unused variable `val'.
5315
5316 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 5317 variable `buf'. Mark unused parameter.
06b60517
JB
5318 (find-lisp-insert-directory): Mark unused parameter.
5319
5320 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
5321 (format-encode-region): Remove unused variables `cur-buf' and `result'.
5322 (format-common-tail): Remove, unused.
5323 (format-deannotate-region): Remove unused variable `loc'.
5324 (format-annotate-region): Remove unused variable `p'.
5325 (format-annotate-single-property-change): Remove unused variables
5326 `default' and `tail'.
5327
5328 * forms.el (read-file-filter): Declare.
5329 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
5330
5331 * frame.el (frame-creation-function-alist): Mark unused parameter.
5332 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
5333
5334 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
5335 Remove unused parameters.
5336 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
5337 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
5338
5339 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
5340 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
5341 (hfy-prepare-tag-map): Mark unused parameters.
5342 (htmlfontify-buffer): Use `called-interactively-p'.
5343
5344 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
5345 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
5346 (ibuffer-do-occur): Mark unused parameters.
5347 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
5348 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
5349
5350 * ibuffer.el: Don't quote `lambda'.
5351 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
5352 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
5353 Mark unused parameters.
5354
5355 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
5356 (ido-completing-read): Mark unused parameters.
5357 (ido-copy-current-word): Mark unused parameters;
5358 remove unused variable `name'.
5359 (ido-sort-merged-list): Remove unused parameter `dirs'.
5360
5361 * ielm.el (ielm-input-sender): Mark unused parameter.
5362 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
5363 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
5364 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
5365 `ielm-string' as a dynamic variable accessible from the IELM prompt.
5366 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
5367
5368 * image-dired.el (image-dired-display-thumbs): Remove unused
5369 variables `curr-file' and `count'.
5370 (image-dired-remove-tag): Remove unused variable `start'.
5371 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
5372 variable `curr-file'
5373 (image-dired-rotate-original): Remove unused variable `temp-file'.
5374 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
5375 Remove unused variable `file'.
5376 (image-dired-gallery-generate): Remove unused variable `curr'.
5377 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
5378
5379 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
5380
5381 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
5382
5383 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
5384
5385 * isearch.el (minibuffer-history-symbol): Declare.
5386 (isearch-edit-string): Remove unused variable `err'.
5387 (isearch-message-prefix, isearch-message-suffix):
5388 Mark unused parameters.
5389
5390 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
5391
5392 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
5393
5394 * makesum.el (double-column): Remove unused variable `cnt'.
5395
5396 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
5397 (ido-ignore-item-temp-list): Declare.
5398
5399 * mouse-drag.el (mouse-drag-throw): Remove unused variables
5400 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
5401 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
5402 (mouse-drag-drag): Remove unused variables `mouse-delta' and
5403 `mouse-col-delta'.
5404
5405 * mouse-sel.el (mouse-extend-internal):
5406 Remove unused variable `orig-window-frame'.
5407
5408 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
5409 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
5410 Move declarations before first use.
5411 (pcomplete-opt): Mark unused parameters; doc fix.
5412
5413 * proced.el (proced-revert): Mark unused parameter.
5414 (proced-send-signal): Remove unused variable `err'.
5415
5416 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
5417 Rename parameter PREFIX-ARG to ARG.
5418 (ps-basic-plot-string, ps-basic-plot-whitespace):
5419 Mark unused parameters.
5420
5421 * replace.el (replace-count): Define.
5422 (occur-revert-function): Mark unused parameters.
5423 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
5424 (isearch-case-fold-search, isearch-string): Declare.
5425 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
5426 bind `case-fold-search'. Remove unused variables `beg' and `end',
5427 and simplify.
5428 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
5429 COUNT and bind `replace-count'.
5430 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
5431 to COUNT.
5432
5433 * savehist.el (print-readably, print-string-length): Declare.
5434
5435 * shadowfile.el (shadow-expand-cluster-in-file-name):
5436 Remove unused variable `cluster'.
5437 (shadow-copy-file): Remove unused variable `i'.
5438 (shadow-noquery, shadow-clusters, shadow-site-cluster)
5439 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
5440 (shadow-define-literal-group, shadow-define-regexp-group)
5441 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
5442
5443 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
5444 (shell): Use `called-interactively-p'.
5445 (shell-directory-tracker): Remove unused variable `chdir-failure'.
5446
5447 * simple.el (compilation-context-lines, comint-file-name-quote-list)
5448 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
5449 (delete-backward-char): Remove unused variable `ocol'.
5450 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
5451 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
5452 (event-apply-hyper-modifier, event-apply-shift-modifier)
5453 (event-apply-control-modifier, event-apply-meta-modifier):
5454 Mark unused parameters.
5455 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
5456 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
5457
5458 * speedbar.el (speedbar-ignored-directory-expressions)
5459 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
5460 (speedbar-find-file, speedbar-dir-follow)
5461 (speedbar-directory-buttons-follow, speedbar-tag-find)
5462 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
5463 (speedbar-buffers-line-directory, speedbar-buffer-click):
5464 Mark unused parameters.
5465 (speedbar-tag-file): Remove unused variable `mode'.
5466 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
5467
5468 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
5469
5470 * talk.el (talk): Remove unused variable `display'.
5471
5472 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
5473 (tar-write-region-annotate): Mark unused parameter.
5474
5475 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
5476 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
5477 Declare them, wrapped in `with-no-warnings' to avoid replacing one
5478 warning by another.
5479
5480 * time-stamp.el (time-stamp-string-preprocess):
5481 Remove unused variable `require-padding'.
5482
5483 * tree-widget.el (widget-glyph-enable): Declare.
5484 (tree-widget-action): Mark unused parameter.
5485
5486 * w32-fns.el (x-get-selection): Mark unused parameter.
5487 (autoload-make-program, generated-autoload-file): Declare.
5488
5489 * wdired.el (wdired-revert): Mark unused parameters.
5490 (wdired-xcase-word): Remove unused variable `err'.
5491
5492 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
5493 (whitespace-help-scroll): Remove unused variable `data-help'.
5494
5495 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
5496 (widget-image-insert, widget-after-change, default)
5497 (widget-default-format-handler, widget-default-notify)
5498 (widget-default-prompt-value, widget-info-link-action)
5499 (widget-url-link-action, widget-function-link-action)
5500 (widget-variable-link-action, widget-file-link-action)
5501 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
5502 (widget-field-prompt-internal, widget-field-action, widget-field-match)
5503 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
5504 (widget-insert-button-action, widget-delete-button-action, visibility)
5505 (widget-documentation-link-action, widget-documentation-string-action)
5506 (widget-const-prompt-value, widget-regexp-match, symbol)
5507 (widget-coding-system-prompt-value)
5508 (widget-key-sequence-value-to-external, sexp)
5509 (widget-sexp-value-to-internal, character, vector, cons)
5510 (widget-choice-prompt-value, widget-boolean-prompt-value)
5511 (widget-color--choose-action): Mark unused parameters.
5512 (widget-item-match-inline, widget-choice-match-inline)
5513 (widget-checklist-match, widget-checklist-match-inline)
5514 (widget-group-match): Rename parameter VALUES to VALS.
5515 (widget-field-value-set): Remove unused variable `size'.
5516 (widget-color-action): Remove unused variables `value' and `start'.
5517
5518 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 5519 variable `dir'. Doc fix.
06b60517
JB
5520 (windmove-find-other-window): Don't pass it.
5521
5522 * window.el (count-windows): Mark unused parameter.
5523 (bw-adjust-window): Remove unused variable `err'.
5524
5525 * woman.el (woman-file-name): Remove unused variable `default'.
5526 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
5527 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
5528 (global-font-lock-mode): Declare.
5529 (woman-decode-region): Mark unused parameter.
5530 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
5531
5532 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
5533 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
5534 (x-dnd-handle-moz-url): Remove unused variable `title'.
5535 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
5536
5537 * xml.el (xml-parse-tag, xml-parse-attlist):
5538 Remove unused variable `pos'.
5539
bc4f7f3d
GM
55402011-04-19 Glenn Morris <rgm@gnu.org>
5541
5542 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
5543 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5544 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5545 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
5546 * calendar/cal-html.el (cal-html-insert-minical):
5547 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
5548 (calendar-mark-date-pattern):
5549 Prefix "unused" locals.
5550
5551 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
5552 optional argument `style'.
5553
5554 * calendar/appt.el (appt-make-list):
5555 * calendar/cal-china.el (calendar-chinese-date-string):
5556 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
5557 (diary-hebrew-yahrzeit):
5558 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
5559 * calendar/calendar.el (calendar-generate-window):
5560 * calendar/time-date.el (time-to-days):
5561 Remove unused local variables.
5562
16a43933
CY
55632011-04-18 Chong Yidong <cyd@stupidchicken.com>
5564
5565 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
5566 glyphless-char-display table.
5567 (tabulated-list-glyphless-char-display): New var.
5568
7eed1860
SS
55692011-04-18 Sam Steingold <sds@gnu.org>
5570
5571 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
5572 to acknowledgments.
5573
4d2d1ccd
GM
55742011-04-17 Glenn Morris <rgm@gnu.org>
5575
5576 * calendar/diary-lib.el (diary-sexp-entry):
5577 * calendar/holidays.el (holiday-sexp):
5578 Set debug-on-error rather than the removed stack-trace-on-error.
5579
239da61d
GM
55802011-04-16 Glenn Morris <rgm@gnu.org>
5581
5582 * progmodes/f90.el: Use lexical-binding.
5583 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
5584
8b05752a
SM
55852011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5586
daca8ba5
SM
5587 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
5588 (mail-mode): Setup mailalias completion here instead.
5589 * mail/mailalias.el: Use lexical-binding.
5590 (pattern, mailalias-done): Declare dynamic.
5591 (mail-completion-at-point-function): New function, from mail-complete.
5592 (mail-complete): Use it.
5593 (mail-completion-expand): New function.
5594 (mail-get-names): Use it.
5595 (mail-directory, mail-directory-process, mail-directory-stream):
5596 Don't use `pattern' for lexically bound arg.
5597
6f542485
SM
5598 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
5599
037e7c3f
SM
5600 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
5601 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
5602 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
5603
8b05752a
SM
5604 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
5605 (byte-save-window-excursion, byte-temp-output-buffer-setup)
5606 (byte-interactive-p): Define them again, for use when inlining
5607 old code.
5608
49093f60
JB
56092011-04-15 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * loadup.el: Use `string-to-number', not `string-to-int'.
5612
b5b8e7de
SM
56132011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
5616 gud-gdb-complete-command.
5617 (gud-gdb-completions): New function, from gud-gdb-complete-command.
5618 (gud-gdb-completion-at-point): New function.
5619 (gud-gdb-completions): Remove.
5620
f42efeb5
MA
56212011-04-14 Michael Albinus <michael.albinus@gmx.de>
5622
49093f60
JB
5623 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
5624 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
5625 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
5626 whether `executable-find' is bound.
f42efeb5
MA
5627
5628 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
5629
e240cc21
SM
56302011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5631
5632 * minibuffer.el (completion-in-region-mode-predicate)
5633 (completion-in-region-mode--predicate): New vars.
5634 (completion-in-region, completion-in-region--postch)
5635 (completion-in-region-mode): Use them.
5636 (completion--capf-wrapper): Also return the hook function.
5637 (completion-at-point, completion-help-at-point):
5638 Adjust and provide a predicate.
c2bd2ab0
SM
5639
5640 Preserve arg names for advice of subr and lexical functions (bug#8457).
5641 * help-fns.el (help-function-arglist): Consolidate the subr and
5642 new-byte-code cases. Add argument `preserve-names' to extract names
5643 from the docstring when needed.
5644 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
5645 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
5646 (ad-arglist): Use help-function-arglist's new arg.
5647 (ad-definition-type): Use cond.
5648
c183f693
JB
56492011-04-13 Juanma Barranquero <lekktu@gmail.com>
5650
06641a47
JB
5651 * autorevert.el (auto-revert-handler):
5652 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
5653 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
5654 Don't quote lambda.
5655
c183f693
JB
5656 * image-mode.el (image-transform-set-scale):
5657 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
5658
1e3b6001
G
56592011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
5660
5661 * net/network-stream.el (network-stream-open-starttls): Only do
5662 opportunistic STARTTLS upgrades if we have built-in gnutls support.
5663 Upgrades via gnutls-cli are too slow to be done opportunistically.
5664
2d6af8dd
JB
56652011-04-12 Juanma Barranquero <lekktu@gmail.com>
5666
5667 * dframe.el (dframe-current-frame): Remove spurious quote.
5668
c0749a51
GM
56692011-04-12 Glenn Morris <rgm@gnu.org>
5670
088d0d61
GM
5671 * calendar/cal-tex.el (cal-tex-end-document):
5672 Try to automatically use latin1 input if needed.
5673
c0749a51
GM
5674 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
5675 Don't try to cons a mark onto an empty element.
5676
5c90fde0
LL
56772011-04-11 Leo Liu <sdl.web@gmail.com>
5678
5679 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
5680 buffers.
5681 (ido-kill-buffer-at-head): Support killing virtual buffers.
5682
369e974d
CY
56832011-04-10 Chong Yidong <cyd@stupidchicken.com>
5684
5685 * minibuffer.el (completion-show-inline-help): New var.
5686 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
5687 (minibuffer-force-complete, minibuffer-complete-word):
5688 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
5689
5690 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
5691 to avoid interference from inline help (Bug#5849).
5692
37f1c930
LL
56932011-04-10 Leo Liu <sdl.web@gmail.com>
5694
099c39a4
JB
5695 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5696 Fix typo.
37f1c930 5697
a32d4040
CY
56982011-04-09 Chong Yidong <cyd@stupidchicken.com>
5699
5700 * image-mode.el (image-toggle-display-image): Signal an error if
5701 not in Image mode.
5702 (image-transform-mode, image-transform-resize)
5703 (image-transform-set-rotation): Doc fix.
daca8ba5 5704 (image-transform-set-resize): Delete.
a32d4040
CY
5705 (image-transform-set-scale, image-transform-fit-to-height)
5706 (image-transform-fit-to-width): Handle image-toggle-display-image
5707 and image-transform-resize directly.
5708
099c39a4 57092011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
5710
5711 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
5712 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
5713 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
5714 (doc-view-mode-map): Add bindings for the new functions.
5715
099c39a4 57162011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
5717
5718 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
5719 Fix typo in docstring.
5720
3726838a
EZ
57212011-04-08 Eli Zaretskii <eliz@gnu.org>
5722
04f33f1e
EZ
5723 * files.el (file-size-human-readable): Produce one digit after
5724 decimal, like "ls -lh" does.
5725
5726 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
5727 the file size representation.
5728
3726838a
EZ
5729 * simple.el (list-processes): If async subprocesses are not
5730 available, error out with a clear error message.
5731
cbb59342
CY
57322011-04-08 Chong Yidong <cyd@stupidchicken.com>
5733
5734 * help.el (help-form-show): New function, to be called from C.
5735 Put help-form output in a buffer named differently than *Help*.
5736
e3971c44
EZ
57372011-04-08 Eli Zaretskii <eliz@gnu.org>
5738
5739 * files.el (file-size-human-readable): New function.
5740
5741 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
5742 computing the representation inline. Don't require `cl'.
5743
12544bbe
GM
57442011-04-08 Glenn Morris <rgm@gnu.org>
5745
a1de6c6a
GM
5746 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
5747
3c4671f4
GM
5748 * net/browse-url.el (browse-url-firefox):
5749 Test system-type, not system-configuration.
5750
b605679c
GM
5751 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
5752 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
5753 Use log-edit-empty-buffer-p. (Bug#7598)
5754
56442f0c
GM
5755 * net/rlogin.el (rlogin-process-connection-type): Simplify.
5756 (rlogin-mode-map): Initialize in the defvar.
5757 (rlogin): Use ignore-errors.
5758
12544bbe
GM
5759 * replace.el (occur-mode-map): Some fixes for menu items.
5760
eb237b0f
AH
57612011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5762
5763 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
5764
7d668f2c
CY
57652011-04-06 Chong Yidong <cyd@stupidchicken.com>
5766
e67a13ab
CY
5767 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
5768 issuing unused warnings.
5769
5770 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
5771 macro directly.
5772
7d668f2c
CY
5773 * simple.el: Lisp reimplement of list-processes. Based on an
5774 earlier reimplementation by Leo Liu, but using tabulated-list.el.
5775 (process-menu-mode): New major mode.
5776 (list-processes--refresh, list-processes):
5777 (process-menu-visit-buffer): New functions.
5778
5779 * files.el (save-buffers-kill-emacs): Don't assume any return
5780 value of list-processes, which is undocumented anyway.
5781
a83ec3c9
CY
57822011-04-06 Chong Yidong <cyd@stupidchicken.com>
5783
5784 * emacs-lisp/tabulated-list.el: New file.
5785
e91a96fe
CY
5786 * emacs-lisp/package.el: Use Tabulated List mode.
5787 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
5788 (package-menu-mode): Derive from tabulated-list-mode. Set up the
5789 table format using Tabulated List mode variables.
5790 (package--push): New macro, replacing package-list-maybe-add.
5791 (package-menu--generate): Use package--push. Renamed from
5792 package--generate-package-list.
5793 (package-menu-refresh, list-packages): Use it.
daca8ba5 5794 (package-menu--print-info): Rename from package-print-package.
e91a96fe 5795 Return insertion data instead of inserting it directly.
099c39a4
JB
5796 (package-menu-describe-package, package-menu-execute):
5797 Use tabulated-list-get-id.
e91a96fe
CY
5798 (package-menu-mark-delete, package-menu-mark-install)
5799 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
5800 (package-menu-mark-obsolete-for-deletion):
5801 Use tabulated-list-put-tag.
e91a96fe
CY
5802 (package--list-packages, package-menu-revert)
5803 (package-menu-get-package, package-menu-get-version)
5804 (package-menu-sort-by-column): Functions deleted.
5805 (package-menu-package-list, package-menu-sort-key): Vars deleted.
5806 (package-menu--status-predicate, package-menu--version-predicate)
5807 (package-menu--name-predicate)
5808 (package-menu--description-predicate): Handle arguments in the
5809 Tabulated List format.
5810 (package-list-packages-no-fetch): Call list-packages.
5811
3e214b50
JB
58122011-04-06 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 5815 (after-find-file): Don't bind it.
3e214b50
JB
5816 (revert-buffer-in-progress-p): New variable.
5817 (revert-buffer): Bind it.
5818 Pass nil for `after-find-file-from-revert-buffer'.
5819
5820 * saveplace.el (save-place-find-file-hook): Use new variable
5821 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
5822
3f0f1700
GM
58232011-04-06 Glenn Morris <rgm@gnu.org>
5824
c0274801
GM
5825 * Makefile.in (AUTOGEN_VCS): New variable.
5826 (autoloads): Use $AUTOGEN_VCS.
5827
3f0f1700
GM
5828 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
5829 * calendar/calendar.el (calendar-mode-map):
5830 Check for toolkit scroll bars. (Bug#8305)
5831
41ea9e48
CY
58322011-04-05 Chong Yidong <cyd@stupidchicken.com>
5833
5834 * minibuffer.el (completion-in-region--postch)
5835 (completion-in-region-mode): Remove unnecessary messages.
5836
6194c800
JB
58372011-04-05 Juanma Barranquero <lekktu@gmail.com>
5838
33256f14
JB
5839 * font-lock.el (font-lock-refresh-defaults):
5840 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
5841 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
5842
6194c800
JB
5843 * info.el (Info-directory-list, Info-read-node-name-2)
5844 (Info-split-parameter-string): Doc fixes.
5845 (Info-virtual-nodes): Reflow docstring.
5846 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
5847 (Info-apropos-toc-nodes, info-finder, Info-get-token)
5848 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
5849 Fix typos in docstrings.
5850 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
5851 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
5852 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
5853 (Info-restore-desktop-buffer): Mark unused parameters.
5854 (Info-directory-find-file, Info-directory-find-node)
5855 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
5856 (Info-virtual-index-find-node, Info-apropos-find-file)
5857 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 5858 Mark unused parameters; fix typos in docstrings.
6194c800
JB
5859 (Info-virtual-index): Remove unused local variable `nodename'.
5860
b87a8200 58612011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 5862
b87a8200
DD
5863 * net/rcirc.el: Update my e-mail address.
5864 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 5865
3b2ff876
CY
58662011-04-05 Chong Yidong <cyd@stupidchicken.com>
5867
5868 * startup.el (command-line): Save the cursor's theme-face
5869 directly, instead of using face-override-spec.
5870
5871 * custom.el (load-theme): Minor optimization in assigning faces.
5872
8d17e7ca
JB
58732011-04-04 Juanma Barranquero <lekktu@gmail.com>
5874
5875 * help-fns.el (describe-variable): Complete all variables having
5876 documentation, including keywords.
5877 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
5878
2fbc1934
JB
58792011-04-04 Juanma Barranquero <lekktu@gmail.com>
5880
5881 Convert to lexical-binding.
5882
5883 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
5884 (bs--get-marked-string, bs--get-modified-string)
5885 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
5886 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
5887 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
5888
5889 * ehelp.el (electric-help-execute-extended)
5890 (electric-help-ctrl-x-prefix):
5891 * hexl.el (hexl-revert-buffer-function):
5892 * linum.el (linum-after-change, linum-after-scroll):
5893 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
5894
5895 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
5896
74f50695
DU
58972011-04-04 Daiki Ueno <ueno@unixuser.org>
5898
5899 * epa-dired.el:
5900 * epa-mail.el:
5901 * epa-hook.el:
5902 * epa-file.el:
5903 * epa.el:
5904 * epg.el: Use lexical binding.
5905
c11325f7
CY
59062011-04-03 Chong Yidong <cyd@stupidchicken.com>
5907
0d9e9a12
CY
5908 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
5909
c11325f7 5910 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
5911 dictionary case for flyspell-mark-duplications-exceptions.
5912 Use regexp matching for languages.
c11325f7
CY
5913 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
5914 default dictionary (Bug#7926).
5915
da91b5f2
CY
59162011-04-02 Chong Yidong <cyd@stupidchicken.com>
5917
099c39a4
JB
5918 * emacs-lisp/package.el (package--with-work-buffer):
5919 Recognize https URLs.
da91b5f2 5920
099c39a4
JB
5921 * net/network-stream.el: Move from gnus/proto-stream.el.
5922 Change prefix to network-stream throughout.
da91b5f2
CY
5923 (open-protocol-stream): Merge into open-network-stream, leaving
5924 open-protocol-stream as an alias. Handle nil BUFFER args.
5925
5926 * subr.el (open-network-stream): Move to net/network-stream.el.
5927
afa8e9f6
GM
59282011-04-02 Glenn Morris <rgm@gnu.org>
5929
1d2e369d
GM
5930 * find-dired.el (find-exec-terminator): New option.
5931 (find-ls-option): Test for -ls support.
5932 (find-ls-subdir-switches): Test for -b in find-ls-option.
5933 (find-dired, find-grep-dired): Doc fixes.
5934 (find-dired): Use find-exec-terminator.
5935
8abb7da8 5936 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
5937 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
5938 (find-name-arg): Remove purecopy.
8abb7da8 5939
f3ca7378
GM
5940 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
5941 (grep-compute-defaults): Check for `-exec COMMAND +' support.
5942 Set grep-find-use-xargs, grep-find-command, and grep-find-template
5943 accordingly. Don't add the null-device if not needed.
5944
afa8e9f6
GM
5945 * files.el (save-some-buffers): Doc fix.
5946
35eae264
EZ
59472011-04-02 Eli Zaretskii <eliz@gnu.org>
5948
5949 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
5950
26b51db5
JB
59512011-04-01 Juanma Barranquero <lekktu@gmail.com>
5952
5953 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
5954 Use `dolist' rather than `mapcar'.
5955
7200d79c
SM
59562011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
5957
03408648 5958 Add lexical binding.
7200d79c 5959
03408648
SM
5960 * subr.el (apply-partially): Use new closures rather than CL.
5961 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
5962 (dolist, dotimes): Use slightly different expansion for lexical code.
5963 (functionp): Move to C.
5964 (letrec): New macro.
5965 (with-wrapper-hook): Use it and apply-partially instead of CL.
5966 (eval-after-load): Preserve lexical-binding.
5967 (save-window-excursion, with-output-to-temp-buffer): Turn them
5968 into macros.
7200d79c 5969
03408648
SM
5970 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
5971
5972 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
5973 than the arglist.
5974 (help-add-fundoc-usage): Don't add `Not documented'.
5975 (help-function-arglist): Handle closures, subroutines, and new
5976 byte-code-functions.
5977 (help-make-usage): Remove leading underscores.
5978 (describe-function-1): Handle closures.
5979 (describe-variable): Use special-variable-p for completion.
5980
5981 * files.el (lexical-binding): Declare safe.
f488fb65 5982
03408648
SM
5983 * emacs-lisp/pcase.el: Don't use destructuring-bind.
5984 (pcase--memoize): Rename from pcase-memoize. Change weakness.
5985 (pcase): Add `let' pattern.
5986 Change memoization so it actually works.
5987 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
5988 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
5989 <let>: New case.
f488fb65 5990
03408648
SM
5991 * emacs-lisp/macroexp.el: Use lexical binding.
5992 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
5993 Don't convert ' to #' without checking that it's indeed quoting
5994 a lambda.
5995
5996 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 5997 Use eval-sexp-add-defvars.
03408648
SM
5998 (eval-sexp-add-defvars): New fun.
5999
6000 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
6001
6002 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
6003 Don't autoload.
6004 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
6005 than the internal `byte-compile-lambda'.
6006 (defmethod): Don't hide code under quotes.
6007 (eieio-defmethod): New `code' argument.
6008
6009 * emacs-lisp/eieio-comp.el: Remove.
6010
6011 * emacs-lisp/edebug.el (edebug-eval-defun)
6012 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
6013 (edebug-toggle): Avoid `eval'.
6014
6015 * emacs-lisp/disass.el (disassemble-internal): Handle new
6016 `closure' objects.
6017 (disassemble-1): Handle new byte codes.
6018
6019 * emacs-lisp/cl.el (pushnew): Silence warning.
6020
6021 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
6022 (cl-byte-compile-throw): Remove.
6023 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
6024
6025 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
6026 closures.
6027
6028 * emacs-lisp/cconv.el: New file.
6029
6030 * emacs-lisp/bytecomp.el: Use lexical binding instead of
6031 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
6032 (byte-compile-initial-macro-environment):
6033 Handle declare-function here.
6034 (byte-compile--lexical-environment): New var.
6035 (byte-stack-ref, byte-stack-set, byte-discardN)
6036 (byte-discardN-preserve-tos): New lap codes.
6037 (byte-interactive-p): Don't use any more.
6038 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
6039 New macros.
6040 (byte-compile-lapcode): Use them and handle new lap codes.
6041 (byte-compile-obsolete): Remove.
6042 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
6043 (byte-compile-arglist-warn): Check late def of inlinable funs.
6044 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
6045 since they should have been expanded by now.
6046 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
6047 (byte-compile-from-buffer): Remove unused second arg.
6048 (byte-compile-preprocess): New function.
6049 (byte-compile-toplevel-file-form): New function to distinguish
6050 file-form calls from outside from file-form calls from hunk-handlers.
6051 (byte-compile-file-form): Simplify.
6052 (byte-compile-file-form-defsubst): Remove.
6053 (byte-compile-file-form-defmumble): Simplify now that
6054 byte-compile-lambda always returns a byte-code-function.
6055 (byte-compile): Preprocess.
6056 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
6057 Remove, not used any more.
6058 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
6059 (byte-compile-make-args-desc): New funs.
6060 (byte-compile-lambda): Handle lexical functions. Always return
6061 a byte-code-function.
6062 (byte-compile-reserved-constants): New var, to make up room for
6063 closed-over variables.
6064 (byte-compile-constants-vector): Obey it.
6065 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
6066 (byte-compile-macroexpand-declare-function): New function.
6067 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
6068 byte-code-functions.
6069 (byte-compile-form): Check obsolescence here.
6070 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
6071 (byte-compile-variable-ref): Remove.
6072 (byte-compile-dynamic-variable-op): New fun.
6073 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
6074 (byte-compile-variable-set): New funs.
6075 (byte-compile-discard): Add 2 args.
6076 (byte-compile-stack-ref, byte-compile-stack-set)
6077 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
6078 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
6079 macroexpand-all instead.
6080 (byte-compile-quote-form): Remove.
6081 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
6082 (byte-compile-bind, byte-compile-unbind): New funs.
6083 (byte-compile-let): Handle let* and lexical binding.
6084 (byte-compile-let*): Remove.
6085 (byte-compile-catch, byte-compile-unwind-protect)
6086 (byte-compile-track-mouse, byte-compile-condition-case):
6087 Handle a new :fun-body form, used for lexical scoping.
6088 (byte-compile-save-window-excursion)
6089 (byte-compile-with-output-to-temp-buffer): Remove.
6090 (byte-compile-defun): Simplify.
6091 (byte-compile-stack-adjustment): New fun.
6092 (byte-compile-out): Use it.
6093 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
6094
6095 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
6096 handler any more.
6097
6098 * emacs-lisp/byte-opt.el: Use lexical binding.
6099 (byte-inline-lapcode): Remove (to bytecomp).
6100 (byte-compile-inline-expand): Pay attention to inlining to/from
6101 lexically bound code.
6102 (byte-compile-unfold-lambda): Don't handle byte-code-functions
6103 any more.
6104 (byte-optimize-form-code-walker): Don't handle save-window-excursion
6105 any more and don't call compiler-macros.
6106 (byte-compile-splice-in-already-compiled-code): Remove.
6107 (byte-code): Don't inline any more.
6108 (disassemble-offset): Receive `bytes' as argument rather than via
6109 dynamic scoping.
6110 (byte-compile-tag-number): Declare before first use.
6111 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
6112 `return' even if make-spliceable.
6113 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
6114 obsolete interactive-p.
6115 (byte-optimize-lapcode): Optimize new lap-codes.
6116 Don't trip up on new form of `byte-constant' lap code.
6117
6118 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
6119
6120 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
6121
6122 * custom.el (custom-initialize-default, custom-declare-variable):
6123 Use `defvar'.
6124
6125 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
6126 New variables.
6127 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
6128 (COMPILE_FIRST): Add macroexp and cconv.
6129 * makefile.w32-in: Mirror changes in Makefile.in.
6130
6131 * vc/cvs-status.el:
6132 * vc/diff-mode.el:
6133 * vc/log-edit.el:
6134 * vc/log-view.el:
6135 * vc/smerge-mode.el:
6136 * textmodes/bibtex-style.el:
6137 * textmodes/css.el:
6138 * startup.el:
6139 * uniquify.el:
da91b5f2
CY
6140 * minibuffer.el:
6141 * newcomment.el:
6142 * reveal.el:
6143 * server.el:
6144 * mpc.el:
6145 * emacs-lisp/smie.el:
6146 * doc-view.el:
6147 * dired.el:
03408648
SM
6148 * abbrev.el: Use lexical binding.
6149
0f0c1f27
EZ
61502011-04-01 Eli Zaretskii <eliz@gnu.org>
6151
6152 * info.el (info-display-manual): New function.
6153
c82b2579
SM
61542011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
6157
221ddf68
TH
61582011-03-31 Tassilo Horn <tassilo@member.fsf.org>
6159
6160 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 6161 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 6162
cba6e77e
GM
61632011-03-31 Glenn Morris <rgm@gnu.org>
6164
e040639f
GM
6165 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
6166
cba6e77e
GM
6167 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
6168
6d0f1c9e
CS
61692011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
6170
6171 * progmodes/python.el (python-default-interpreter)
6172 (python-python-command-args, python-jython-command-args)
6173 (python-which-shell, python-which-args, python-which-bufname)
6174 (python-file-queue, python-comint-output-filter-function)
6175 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
6176 variables and functions.
6177
3e2d70fd
SM
61782011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
6179
6180 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
6181 (completion-in-region-mode): New minor mode.
6182 (completion-in-region): Use it.
6183 (completion-in-region--data, completion-in-region-mode-map): New vars.
6184 (completion-in-region--postch): New function.
6185 (completion--capf-misbehave-funs, completion--capf-safe-funs):
6186 New vars.
6187 (completion--capf-wrapper): New function.
6188 (completion-at-point): Use it to track well-behavedness of
6189 hook functions.
6190 (completion-help-at-point): New command.
6191
f3e4086c
JM
61922011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
6193
6194 * vc/add-log.el (add-change-log-entry): Don't use whitespace
6195 syntax class to search for whitespace on a single line
6196 (Message-ID: <4D938140.4030905@redhat.com>).
6197
eb7ffc14
LL
61982011-03-30 Leo Liu <sdl.web@gmail.com>
6199
6200 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
6201 New commands.
6202 (edit-abbrevs-map): Bind them here.
6203 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
6204
d806ab68
KM
62052011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
6206
6207 * allout.el (allout-hide-by-annotation, allout-flag-region):
6208 Reduce possibility of overlay leakage by making them volatile.
6209
6210 * allout-widgets.el (allout-widgets-tally): Define as nil so the
6211 hash is not shared between buffers. Mode initialization is
6212 responsible for giving it a useful starting value.
6213 (allout-item-span): Reduce possibility of overlay leakage by
6214 making them volatile.
6215 (allout-widgets-count-buttons-in-region): Add diagnostic function
6216 for tracking down button overlay leaks.
6217
ea622834
LL
62182011-03-29 Leo Liu <sdl.web@gmail.com>
6219
6220 * ido.el (ido-read-internal): Use the default history var
6221 minibuffer-history if no HISTORY is specified.
6222
b62f8267
G
62232011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
6224
03408648
SM
6225 * net/imap.el (imap-shell-open, imap-process-connection-type):
6226 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
6227 Kerberos, SSL, other subprocesses.
6228
947b6566
LL
62292011-03-28 Leo Liu <sdl.web@gmail.com>
6230
6231 * abbrev.el (abbrev-table-empty-p): New function.
6232 (prepare-abbrev-list-buffer): Place empty abbrev tables after
6233 nonempty ones. (Bug#5937)
6234
5ffb62aa
JD
62352011-03-27 Jan Djärv <jan.h.d@swipnet.se>
6236
6237 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
6238
7a097943
LL
62392011-03-27 Leo Liu <sdl.web@gmail.com>
6240
6241 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
6242 for foreground and background colors.
6243 (ansi-color-make-color-map): Adapt.
6244
c5b40130
LL
62452011-03-25 Leo Liu <sdl.web@gmail.com>
6246
1f48f7d2
LL
6247 * midnight.el (midnight-time-float): Remove. Note it calculates
6248 the microsecond component incorrectly and seconds-to-time does the
6249 same job.
625897ec 6250 Remove redundant (require 'timer).
1f48f7d2 6251
c5b40130
LL
6252 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
6253 (ido-completions): Remove unused arguments. (Bug#8329)
6254
d86d2721
SM
62552011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
6256
6257 * minibuffer.el (completion--flush-all-sorted-completions):
6258 Remove itself from hook.
6259 (completion-at-point): Let the functions perform the completion
6260 immediately and return nil or t.
6261 * comint.el (comint-dynamic-complete-functions): Now identical to
6262 completion-at-point-functions.
6263 (comint-dynamic-list-input-ring): Remove unused var `index'.
6264 (comint--match-partial-filename, comint--unquote&expand-filename):
6265 New funs, split from comint-match-partial-filename.
6266 (comint-dynamic-complete): Use completion-at-point.
6267 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
6268
e8974c48
DA
62692011-03-24 Drew Adams <drew.adams@oracle.com>
6270
6271 * thingatpt.el: Support `defun'.
6272
def71b5e
LL
62732011-03-23 Leo Liu <sdl.web@gmail.com>
6274
cb5af48e
LL
6275 * abbrevlist.el: Move to obsolete/abbrevlist.el.
6276
def71b5e
LL
6277 * help-mode.el (help-mode-finish): Tweak regexp.
6278
927c53e7
GM
62792011-03-23 Glenn Morris <rgm@gnu.org>
6280
18d05bed
GM
6281 * eshell/esh-opt.el (eshell-eval-using-options):
6282 Do not bind unused local variable `eshell-option-stub'.
6283
927c53e7
GM
6284 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
6285
9d0da923
JB
62862011-03-22 Juanma Barranquero <lekktu@gmail.com>
6287
6288 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
6289 keymap variable in `with-no-warnings' to avoid a warning when the
6290 keymap has been already `defconst'ed.
6291
4b978a67
LL
62922011-03-22 Leo Liu <sdl.web@gmail.com>
6293
6294 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
6295 encode all chars in abbrevs; otherwise use emacs-mule or
6296 utf-8-emacs. (Bug#8308)
6297
5fd62452
JB
62982011-03-22 Juanma Barranquero <lekktu@gmail.com>
6299
0b1596c6
JB
6300 * simple.el (backward-delete-char-untabify):
6301 Avoid warning about using `delete-backward-char'.
6302
5fd62452
JB
6303 * image.el (image-type-file-name-regexps): Make it variable.
6304 `imagemagick-register-types' modifies it, and the user may want
6305 to add new extensions for known image types.
6306 (imagemagick-register-types): Throw error if not using ImageMagick.
6307
0b4e93f1
LL
63082011-03-22 Leo Liu <sdl.web@gmail.com>
6309
6310 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
6311 located before rcirc-prompt-end-marker.
6312 (rcirc-complete): Error if point is not after rcirc prompt.
6313 Handle the case when table is nil.
9882e214 6314 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 6315
fccee4ab
CY
63162011-03-22 Chong Yidong <cyd@stupidchicken.com>
6317
6318 * custom.el (custom--inhibit-theme-enable): Make it affect only
6319 custom-theme-set-variables and custom-theme-set-faces.
6320 (provide-theme): Ignore custom--inhibit-theme-enable.
6321 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
6322 (custom-enabling-themes): Delete variable.
d86d2721
SM
6323 (enable-theme): Accept only loaded themes as arguments.
6324 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
6325 (custom-enabled-themes): Forbid themes from setting this.
6326 Eliminate use of custom-enabling-themes.
6327 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 6328
af896da6
LL
63292011-03-21 Leo Liu <sdl.web@gmail.com>
6330
6331 * ido.el (ido-read-internal): Add ido-selected to history instead
6332 of user input.
6333
78f64af0
SM
63342011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
6335
6336 * subr.el (deferred-action-list, deferred-action-function):
6337 Mark obsolete.
6338
b16ac1ec
LL
63392011-03-21 Leo Liu <sdl.web@gmail.com>
6340
810f7698
LL
6341 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
6342 change on 2011-02-13 (bug#8309).
6343
b16ac1ec
LL
6344 * minibuffer.el (read-file-name-function): Change default value.
6345 (read-file-name--defaults): Rename from read-file-name-defaults.
6346 (read-file-name-default): Rename from read-file-name.
6347 (read-file-name): Call read-file-name-function.
6348
4e05e67e
GM
63492011-03-21 Glenn Morris <rgm@gnu.org>
6350
6351 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
6352 Doc fixes.
6353
4359915b
CY
63542011-03-21 Chong Yidong <cyd@stupidchicken.com>
6355
6356 * cus-theme.el: Add missing provide statement.
6357 (customize-create-theme): Extract theme value correctly.
6358 (custom-theme-visit-theme): Autoload.
6359 (customize-create-theme): Prompt before inserting default faces.
6360
1fe275ee
JB
63612011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
6362
6363 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
6364 units and musical notes.
6365
3ec03f7e
LL
63662011-03-20 Leo <sdl.web@gmail.com>
6367
6368 * ido.el (ido-read-internal): Use completing-read-default.
6369 (ido-completing-read): Fix compatibility with completing-read.
6370
7d476bde
CO
63712011-03-20 Christian Ohler <ohler@gnu.org>
6372
6373 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
6374 (ert-delete-all-tests): Use `called-interactively-p' rather than
6375 `interactive-p'.
6376 (ert--make-xrefs-region): Respect END.
6377
fe0fb33e
CY
63782011-03-19 Chong Yidong <cyd@stupidchicken.com>
6379
ff854b0b
CY
6380 * dired-aux.el (dired-create-directory): Signal an error if the
6381 directory already exists (Bug#8246).
6382
fe0fb33e
CY
6383 * facemenu.el (list-colors-display): Call list-faces-display
6384 inside with-help-window.
6385 (list-colors-print): Use display property to align the final
6386 column, instead of checking window-width.
6387
576bce32
EZ
63882011-03-19 Eli Zaretskii <eliz@gnu.org>
6389
6390 * emerge.el (emerge-metachars): Separate value for ms-dos and
6391 windows-nt systems.
6392 (emerge-protect-metachars): Quote correctly for ms-dos and
6393 windows-nt systems.
6394
89c41d68 63952011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
6396
6397 * info.el (info-initialize): Replace all uses of `:' with
6398 path-separator for compatibility with non-Unix systems.
6399 Cache quoting of path-separator. (Bug#8258)
6400
b14e3e21 64012011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
6402
6403 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
6404 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
6405 (mouse-avoidance-mode): Fix typos in docstrings.
6406
4525ce3e
CY
64072011-03-19 Chong Yidong <cyd@stupidchicken.com>
6408
6409 * startup.el (package-subdirectory-regexp): Move from package.el.
6410 Omit \\` and \\', and let callers add them.
6411
6412 * emacs-lisp/package.el (package-strip-version)
6413 (package-load-all-descriptors): Add \\` and \\' to
6414 package-subdirectory-regexp before using it.
6415 (package-untar-buffer): New arg DIR; ensure that file untars only
6416 into this expected directory. Remove superfluous delete-region.
6417 (package-unpack): Caller changed.
6418 (package-tar-file-info): Use package-subdirectory-regexp.
6419
a904a09a 64202011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 6421
a904a09a
SM
6422 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
6423 diff-mode-shared-map (bug#8284).
6424 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
6425
64262011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6427
6428 * calendar/time-date.el (format-seconds): Use assoc instead of
6429 assoc-string, since assoc-string doesn't exist in XEmacs.
6430
171fc304
JB
64312011-03-17 Juanma Barranquero <lekktu@gmail.com>
6432
6433 * custom.el (custom-known-themes): Reflow docstring.
6434 (custom-theme-load-path): Fix typo in docstring.
6435 (load-theme): Fix typo in error message.
6436 (custom-available-themes, custom-variable-theme-value):
6437 Use `let', not `let*'.
6438
d71990a1
JB
64392011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
6440
6441 * calc/README: Mention inclusion of musical notes.
6442
6443 * calc/calc-units.el (calc-lu-quant): Rename from
6444 `calc-logunits-quantity'.
6445 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
6446 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
6447 (calc-db): Rename from `calc-dblevel'.
6448 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
6449 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
6450 (calc-np): Rename from `calc-nplevel'.
6451 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
6452 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
6453 (calc-lu-plus): Rename from `calc-logunits-add'.
6454 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
6455 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
6456 (calc-lu-minus): Rename from `calc-logunits-sub'.
6457 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
6458 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
6459 (calc-lu-times): Rename from `calc-logunits-mul'.
6460 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
6461 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
6462 (calc-lu-divide): Rename from `calc-logunits-div'.
6463 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
6464 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
6465
6466 * calc/calc-ext.el (calc-init-extensions): Update the names of the
6467 functions being autoloaded.
6468
6469 * calc/calc.el (calc-lu-power-reference): Rename from
6470 `calc-logunits-power-reference'.
6471 (calc-lu-field-reference): Rename from
6472 `calc-logunits-field-reference'.
6473
6474 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
6475
40c2934b
SM
64762011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
6477
6478 * minibuffer.el (completion-all-sorted-completions):
6479 Use :completion-cycle-penalty text property if present.
6480
b0911414
KM
64812011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
6482
6483 * allout.el (allout-yank-processing): Adjust for new rebulleting
6484 regime so bullet being yanked is used without prompting the user
6485 for a choice.
6486
8a05b668
JB
64872011-03-16 Juanma Barranquero <lekktu@gmail.com>
6488
6489 * startup.el (command-line): Warn the user that _emacs is deprecated.
6490
5ba5fb81
JB
64912011-03-16 Juanma Barranquero <lekktu@gmail.com>
6492
6493 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
6494 (delphi-verbose, delphi-comment-face, delphi-string-face)
6495 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
6496 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
6497 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
6498 (delphi-new-comment-line, delphi-font-lock-defaults)
6499 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
6500 Fix typos in docstrings.
6501
2dab465b
KM
65022011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
6503
5ba5fb81 6504 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
6505 Invert the roles of character and string values for INSTEAD, so a
6506 string is used for the more common case of a defaulting prompt.
6507
0adf5618
SM
65082011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * progmodes/ruby-mode.el (ruby-backward-sexp):
6511 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
6512 * play/gamegrid.el (gamegrid-make-face):
6513 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
6514 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
6515 * notifications.el (notifications-notify):
6516 * net/xesam.el (xesam-search-engines):
6517 * net/quickurl.el (quickurl-list-insert):
6518 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
6519
d72700e5
CY
65202011-03-15 Chong Yidong <cyd@stupidchicken.com>
6521
6522 * startup.el (command-line): Update package subdirectory regexp.
6523
49c5410a
SM
65242011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6525
c6eee9aa
SM
6526 * allout.el (allout-abbreviate-flattened-numbering)
6527 (allout-mode-deactivate-hook): Fix up obsolescence "date".
6528
49c5410a
SM
6529 * subr.el (read-char-choice): Only show the cursor after the prompt,
6530 not after the answer.
6531
047b2bb9
KR
65322011-03-15 Kevin Ryde <user42@zip.com.au>
6533
6534 * help-fns.el (variable-at-point): Skip leading quotes, if any
6535 (bug#8253).
6536
0a57d256
SM
65372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6538
6539 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
6540 warning message.
6541
77c992bc
MA
65422011-03-14 Michael Albinus <michael.albinus@gmx.de>
6543
6544 * shell.el (shell): When called interactively, offer to change the
6545 shell file name on remote hosts.
6546
eebc475d
TZ
65472011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
6548
6549 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
6550 integration for LDAP parameters. The host, base, user or binddn,
6551 and secret tokens can be specified in a netrc file, for instance.
6552 This is optional because an `auth-source' parameter must be
6553 specified in the search attributes.
6554
9d05d1ba
JB
65552011-03-13 Juanma Barranquero <lekktu@gmail.com>
6556
6557 * help.el (describe-mode): Link to the mode's definition (bug#8185).
6558
09d9db2c
GM
65592011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6560
6561 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
6562 into declaration. Remove redundant and harmful binding.
6563
65642011-03-12 Eli Zaretskii <eliz@gnu.org>
6565
6566 * files.el (file-ownership-preserved-p): Pass `integer' as an
6567 explicit 2nd argument to `file-attributes'. If the file's owner
6568 is the Administrators group on Windows, and the current user is
6569 Administrator, consider that a match.
6570
6571 * server.el (server-ensure-safe-dir): Consider server directory
6572 safe on MS-Windows if its owner is the Administrators group while
6573 the current Emacs user is Administrator. Use `=' to compare
6574 numerical UIDs, since they could be integers or floats.
6575
219bd536
JB
65762011-03-12 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
6579
f3afd36b
MA
65802011-03-12 Michael Albinus <michael.albinus@gmx.de>
6581
6582 Sync with Tramp 2.2.1.
6583
6584 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
6585
6586 * net/trampver.el: Update release number.
6587
3aaaa6f1
SM
65882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6589
94642599
SM
6590 * progmodes/compile.el (compilation--previous-directory): Fix up
6591 various nil/dead-marker mismatches (bug#8014).
6592 (compilation-directory-properties, compilation-error-properties):
6593 Don't call it at a position past the one we're about to change.
6594
3aaaa6f1
SM
6595 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
6596 Disable obsolescence warnings in the file that declares it.
6597
14239447
KM
65982011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
6599
099c39a4
JB
6600 * allout-widgets.el (allout-widgets-tally):
6601 Initialize allout-widgets-tally as a hash table rather than nil to
6602 prevent mode-line redisplay warnings. Also, clarify the module
6603 description and fix a comment typo.
14239447 6604
135e287c
JB
66052011-03-11 Juanma Barranquero <lekktu@gmail.com>
6606
6607 * help-fns.el (describe-variable): Don't complete keywords.
6608 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
6609
ffbf300e
CY
66102011-03-10 Chong Yidong <cyd@stupidchicken.com>
6611
ba08b241
CY
6612 * emacs-lisp/package.el (package-version-join): Impose a standard
6613 string representation for pre/alpha/beta version lists.
6614 (package-unpack-single): Standardize the directory name by passing
6615 it through package-version-join.
6616 (package-strip-rcs-id): Accept any version string that does not
6617 signal an error in version-to-list.
ffbf300e 6618
f346fd6b
MA
66192011-03-10 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * simple.el (delete-trailing-whitespace): Return nil for the
6622 benefit of `write-file-functions'.
6623
ccb55d27
GM
66242011-03-10 Glenn Morris <rgm@gnu.org>
6625
5ceaac0c
GM
6626 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
6627
02da65ff
GM
6628 * vc/vc-git.el (vc-git-program): New option.
6629 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
6630 (vc-git--call): Use it.
6631
b2f603cc
GM
6632 * eshell/esh-util.el (eshell-condition-case): Doc fix.
6633
5772caab
GM
6634 * cus-edit.el (Custom-newline): If no button at point, look
6635 for a subgroup button at start-of-line. (Bug#2298)
6636
ccb55d27
GM
6637 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
6638
ec6ecaed
JD
66392011-03-10 Julien Danjou <julien@danjou.info>
6640
6641 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
6642 `cursor-type' is nil.
6643
9d5aa01d
JB
66442011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
6645
6646 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
6647
b6a5875b
KM
66482011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
6649
6650 * allout.el Summary: Change so yank of distinctive-bullet items
6651 preserves the existing header prefix, rebulleting it if necessary,
6652 rather than replacing it. This is necessary for proper operation
6653 of cooperative addons like allout-widgets.
219bd536 6654 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
6655 SOLICIT arg to INSTEAD, and interpret additionally a string value
6656 as alternate bullet to be used, instead of prompting the user for
6657 a bullet character.
6658
ee545c35
MA
66592011-03-09 Michael Albinus <michael.albinus@gmx.de>
6660
d86d2721
SM
6661 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6662 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
6663 `tramp-default-port'.
6664
c47971d7
DD
66652011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6666
6667 * net/rcirc.el (rcirc-handler-001): Remove useless
6668 with-rcirc-process-buffer.
6669 (rcirc-check-auth-status): Swap arguments to string-match.
6670
13522cb4
GM
66712011-03-09 Glenn Morris <rgm@gnu.org>
6672
0be6f4f1
GM
6673 * shell.el (shell-mode):
6674 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
6675
13522cb4
GM
6676 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
6677 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
6678
515de2e3
CY
66792011-03-08 Chong Yidong <cyd@stupidchicken.com>
6680
6681 * emacs-lisp/package.el (package-refresh-contents)
6682 (package-menu-execute): Use condition-case-no-debug.
6683
b511b994
MA
66842011-03-08 Michael Albinus <michael.albinus@gmx.de>
6685
6686 * simple.el (shell-command-to-string): Use `process-file'.
6687
6688 * emacs-lisp/package.el (package-tar-file-info): Handle also
6689 remote files.
6690
d86d2721
SM
6691 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6692 Use `equal' for upload base check.
b511b994 6693
25bbfb31
AM
66942011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
6695
6696 * textmodes/texinfo.el (texinfo-environments):
6697 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
6698
be996521
GM
66992011-03-08 Glenn Morris <rgm@gnu.org>
6700
e9c8529f
GM
6701 * cus-start.el (cursor-in-non-selected-windows):
6702 Fix :set quoting oddness. (Bug#8192)
6703
be996521
GM
6704 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
6705 in some setf expressions. (Bug#2159)
6706
2bb5649e
CY
67072011-03-08 Chong Yidong <cyd@stupidchicken.com>
6708
6709 * custom.el (custom-available-themes): Return themes in
6710 alphabetical order.
6711
33383987 6712See ChangeLog.15 for earlier changes.
e3d51b27
MR
6713
6714;; Local Variables:
6715;; coding: utf-8
e3d51b27
MR
6716;; End:
6717
33383987 6718 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
6719
6720 This file is part of GNU Emacs.
6721
6722 GNU Emacs is free software: you can redistribute it and/or modify
6723 it under the terms of the GNU General Public License as published by
6724 the Free Software Foundation, either version 3 of the License, or
6725 (at your option) any later version.
6726
6727 GNU Emacs is distributed in the hope that it will be useful,
6728 but WITHOUT ANY WARRANTY; without even the implied warranty of
6729 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6730 GNU General Public License for more details.
6731
6732 You should have received a copy of the GNU General Public License
6733 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.