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