* lisp/progmodes/which-func.el (which-func-ff-hook): Don't output a message
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7dbfa719
SM
12011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
4 if imenu is simply not configured (bug#8941).
5
919d884a
KM
62011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
7
8 * allout.el (allout-post-undo-hook): New allout outline-change
9 event hook to signal undo activity.
10 (allout-post-command-business): Run allout-post-undo-hook if an
11 undo just occurred.
7dbfa719
SM
12 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13 * allout-widgets.el (allout-widgets-after-undo-function):
14 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15 in the vicinity of an undo.
16 (allout-widgets-mode): Include allout-widgets-after-undo-function
17 on the new allout-post-undo-hook.
18
19
450a0f09
SM
202011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21
22 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
23 Let define-derived-mode define it.
24 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
25 cycles of abbrev-table inheritance (bug#8998).
26
2de69e00
RW
272011-07-05 Roland Winkler <winkler@gnu.org>
28
29 * textmodes/bibtex.el: Add support for biblatex.
30 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
31 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
32 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
33 (bibtex-entry-alist, bibtex-field-alist): New variables.
34 (bibtex-entry-field-alist): Obsolete alias for
35 bibtex-BibTeX-entry-alist.
36 (bibtex-entry-alist, bibtex-field-alist): New widgets.
37 (bibtex-set-dialect): New command.
38 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
39 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
40 Bind via bibtex-set-dialect.
2de69e00
RW
41 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
42 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
43 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
44 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
45 Define via bibtex-set-dialect.
450a0f09
SM
46 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
47 Obey bibtex-no-opt-remove-re.
2de69e00
RW
48 (bibtex-vec-push, bibtex-vec-incr): New functions.
49 (bibtex-format-entry, bibtex-field-list)
50 (bibtex-print-help-message, bibtex-validate)
51 (bibtex-search-entries): Use new format of bibtex-entry-alist.
52
2dcdbdd9
SM
532011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * progmodes/compile.el (compilation-goto-locus):
56 * net/tramp-cmds.el (tramp-append-tramp-buffers):
57 * bs.el (bs-cycle-next, bs-cycle-previous):
58 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
59 * bindings.el (mode-line-other-buffer):
60 * autoinsert.el (auto-insert):
61 * arc-mode.el (archive-extract):
62 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
63
b27640fe
JB
642011-07-05 Juanma Barranquero <lekktu@gmail.com>
65
66 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
67 Fix check of `emacs-lock-unlockable-modes'.
68 Coerce true values of `emacs-lock--try-unlocking' to t.
69
53bbe3ad
JB
702011-07-05 Juanma Barranquero <lekktu@gmail.com>
71
72 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
73 * emacs-lock.el: New file.
74
1d3cdbc7
JD
752011-07-05 Julien Danjou <julien@danjou.info>
76
77 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
78 than `boundp' to check if face is set.
79
9173deec
JB
802011-07-05 Juanma Barranquero <lekktu@gmail.com>
81
82 * register.el (registerv-make):
83 * window.el (window-min-height): Fix typos in docstrings.
84
869795d6
JD
852011-07-05 Jan Djärv <jan.h.d@swipnet.se>
86
9173deec 87 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
88 Update doc string.
89
b768cdcd
JB
902011-07-04 Juanma Barranquero <lekktu@gmail.com>
91
92 * server.el (server-execute): Catch quit and call
93 `server-return-error' to pass the error back to emacsclient and
94 close the connection (bug#8942).
95
13aa217b
KM
962011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
97
98 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
99 insecure exception for current topic. Also note that auto-saves
100 are handled differently.
101
102 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
103 State variables for tracking auto-save inhibition situation.
104
105 (allout-write-contents-hook-handler): Rename from
106 'allout-write-file-hook-handler', and describe how it depends on
107 write-contents-functions sensitivity to non-nil value to prevent
108 file write.
109
110 (allout-auto-save-hook-handler): Remove. auto-save does not check
111 this in individual buffers, only in the starting buffer, so this
112 is not the right way for us to inhibit auto-save in a buffer
113 according to its condition.
114
115 (allout-mode): Use new allout-write-contents-hook-handler, and
116 only with write-contents-functions. Remove auto-save provisions -
117 they're implemented elsewhere.
118
119 (allout-before-change-handler): If undo is in progress, note that
120 for attention of allout-post-command-business.
121
122 (allout-post-command-business): If the command we're following was
123 an undo, check for change in the status of encrypted items and
124 adjust auto-save inhibitions accordingly.
125
126 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
127 according to whether there are or aren't any plain-text topics
128 pending encryption.
129
2dcdbdd9
SM
130 (allout-inhibit-auto-save-info-for-decryption):
131 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
132 there are plain-text topics pending encryption.
133
134 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
135 buffer-saved-size and some allout state to not inhibit auto-saves
136 if there are no longer any plain-text topics pending encryption.
137
138 (allout-next-topic-pending-encryption),
139 (allout-encrypt-decrypted): No longer provide for exemption of the
140 current topic.
141
ac89b32c
JL
1422011-07-04 Juri Linkov <juri@jurta.org>
143
144 Add 7z operations to delete and save changed members (bug#8968).
145 * arc-mode.el (archive-7z-expunge, archive-7z-update):
146 New defcustoms.
147 (archive-7z-write-file-member): New function.
148 (archive-7z-summarize): Fix the number of dashes in the
149 listing output.
150
8fa39615
SM
1512011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
152
153 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
154 (bug#8958).
155
2f11b3f1
CY
1562011-07-04 Chong Yidong <cyd@stupidchicken.com>
157
d66fef2b
CY
158 * bindings.el: Ignore next-buffer and previous-buffer in
159 minibuffer-local-map.
160
2f11b3f1
CY
161 * font-lock.el (font-lock-builtin-face): Change light background
162 color to dark slate blue (Bug#6693).
163
f932a347
WD
1642011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
165
166 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
167
c8af70e1
SM
1682011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
171 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
172 Add switch-to-buffer.
173
f158badc
LMI
1742011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
175
176 * isearch.el (isearch-search-fun-function): Clarify further the
177 meaning of the function returned.
178
6d95bd46
MA
1792011-07-04 Michael Albinus <michael.albinus@gmx.de>
180
181 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
182
183 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
184 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
185 Use it.
186 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
187 `tramp-default-remote-path' does not exist.
188 (tramp-send-command-and-read): New optional argument NOERROR.
189 (tramp-open-connection-setup-interactive-shell)
190 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
191 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
192 (tramp-process-sentinel): Flush also process' connection property.
193 (tramp-sh-handle-start-file-process): Do not set process
194 sentinel. It is done now ...
195 (tramp-maybe-open-connection): ... here. (Bug#8929)
196
909e6b67
MK
1972011-07-04 MON KEY <monkey@sandpframing.com>
198
199 * play/animate.el (animate-string): Doc fixes and allow changing
200 the buffer name (bug#5417).
201
2022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
203
c8af70e1 204 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 205
f34755dc
PE
2062011-07-04 Paul Eggert <eggert@cs.ucla.edu>
207
396cec72
PE
208 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
209 This is simpler and helps future-proof the code.
210 (timer-until): Use time-subtract and float-time.
08235028 211 (timer--time-less-p): Use time-less-p.
f34755dc 212
56e6cc31
JB
2132011-07-04 Juanma Barranquero <lekktu@gmail.com>
214
3abb79e5
JB
215 * type-break.el (timep): Use the value of `float-time' to avoid a
216 byte-compiler warning.
217
56e6cc31
JB
218 * server.el (server-eval-and-print): Return any result, even nil.
219
7b9430b4
PE
2202011-07-03 Paul Eggert <eggert@cs.ucla.edu>
221
222 * type-break.el: Accept time formats that the builtins accept.
223 (timep, type-break-time-difference): Accept any format that
224 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
225 This is simpler and helps future-proof the code.
226 (type-break-time-difference): Round rather than ignoring
227 subseconds components.
228
3034e9e7
LMI
2292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
230
231 * info.el (Info-apropos-matches): Make non-interactive, since it
232 doesn't seem to do anything useful as a command (bug#8829).
233
1485f4c0
CY
2342011-07-03 Chong Yidong <cyd@stupidchicken.com>
235
236 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 237 Move from faces.el.
1485f4c0
CY
238 (frame-default-terminal-background): New function.
239
240 * custom.el (custom-push-theme): Don't record faces in `changed'
241 theme; this doesn't work correctly for per-frame face settings.
242 (disable-theme): Use face-set-after-frame-default to reset faces.
243 (custom--frame-color-default): New function.
244
9fa3dd45
LMI
2452011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
246
c8af70e1 247 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
248 (bug#8769).
249
6cbbc20c
KR
2502011-03-29 Kevin Ryde <user42@zip.com.au>
251
252 * progmodes/compile.el (compilation-error-regexp-alist-alist):
253 `perl-Test2' extend to match possible "fail #N" rep count
254 (bug#8377).
255
c7f98048
LMI
2562011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
257
65676592
LMI
258 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
259 `smtpmail-via-smtp' now returns the error instead of nil.
260
c7f98048
LMI
261 * isearch.el (isearch-search-fun-function): Clarify the doc string
262 (bug#8101).
263
56e6cc31 2642011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
265
266 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
267 unnecessary spaces (bug#8987).
268
2b216704
LMI
2692011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
270
271 * net/network-stream.el (open-network-stream): Use the
272 :end-of-capability command thoughout.
273
2742011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
275
276 * net/network-stream.el (open-network-stream): Add the
277 :end-of-capability command parameter, used by pop3.el.
278
36adf6ce
LMI
2792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
280
1ca0da0e
LMI
281 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
282
fc00f69c
LMI
283 * fringe.el (fringe-query-style): Remove redundant text " (type ?
284 for list)" (bug#6475).
285
28fd8759
LMI
286 * files.el (file-expand-wildcards): Ignore non-readable
287 sub-directories while trying to find matches instead of signalling
288 an error (bug#6297).
289
0dd8b6da
LMI
290 * man.el (Man-reference-regexp): Allow matching possible
291 word-wrapped references (bug#6289).
292
ce1438d6
LMI
293 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
294 for consistency with the other vc buffers (bug#6197).
295 (vc-checkin): Ditto.
296
297 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
298
36adf6ce
LMI
299 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
300
e83cc1f7
LMI
3012011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
302
8a20ca4c
LMI
303 * custom.el (defcustom): Clarify that :set is only used in the
304 Customize user interface (bug#6089).
305
83319045
LMI
306 * progmodes/flymake.el (flymake-mode): If the buffer isn't
307 associated with a file, refuse to run instead of erroring out
308 (bug#6084).
309
a8392169
LMI
310 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
311 the doc string, since it appears that using `fill-column' always
312 controls the width (bug#7845).
313
e83cc1f7
LMI
314 * simple.el (shell-command-on-region): Say where the error output
315 went if `shell-command-default-error-buffer' is set (bug#6857).
316
e47ca23b
KM
3172011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
318
319 * allout.el (allout-yank-processing): Adjust cursor position for
320 backwards-deleted space.
321
322 (allout-rebullet-heading): Register changes with
323 allout-exposure-changed-hook, so the modified topic is properly
324 decorated.
325
5cf56143
LMI
3262011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
327
08549772
LMI
328 * minibuffer.el (completion-in-region): Document PREDICATE
329 (bug#7136).
330
48e96771
LMI
331 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
332 of keyword/argument pairs (bug#6904).
333
c8af70e1
SM
334 * replace.el (multi-occur):
335 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 336
e17d05e2
LMI
3372011-07-02 Drew Adams <drew.adams@oracle.com>
338
339 * dired.el (dired-mark-if): Make the message about whether it's
340 marking or unmarking clearer (bug#8523).
341
063b0e45
LMI
3422011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
343
344 * disp-table.el (display-table-print-array): New function.
345 (describe-display-table): Use it to print the vectors more pretty
346 (Bug#8859).
347
28545e04
MR
3482011-07-02 Martin Rudalics <rudalics@gmx.at>
349
350 * window.el (window-state-get-1): Don't assign clone numbers.
351 Add clone-of item to list of window parameters.
352 (window-state-put-2): Don't process clone numbers.
353 (display-buffer-alist): Fix doc-string.
354
3349e122
SM
3552011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
356
357 * subr.el (remq): Don't allocate if it's not needed.
358 (keymap--menu-item-binding, keymap--menu-item-with-binding)
359 (keymap--merge-bindings): New functions.
360 (keymap-canonicalize): Use them to refine the canonicalization.
361 * minibuffer.el (minibuffer-local-completion-map)
362 (minibuffer-local-must-match-map): Move initialization from C.
363 (minibuffer-local-filename-completion-map): Move initialization from C;
364 don't inherit from anything here.
365 (minibuffer-local-filename-must-match-map): Make obsolete.
366 (completing-read-default): Use make-composed-keymap to combine
367 minibuffer-local-filename-completion-map with either
368 minibuffer-local-must-match-map or
369 minibuffer-local-filename-completion-map.
370
d224ac83
GM
3712011-07-01 Glenn Morris <rgm@gnu.org>
372
3de63bf8
GM
373 * type-break.el (type-break-time-sum): Use dolist.
374
d224ac83
GM
375 * textmodes/flyspell.el (flyspell-word-search-backward):
376 Replace CL function.
377
1a1e3f32
SM
3782011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
379
fe3f64d5
SM
380 * mouse.el (mouse--strip-first-event): New function.
381 (function-key-map): Use it to map fringe clicks to normal clicks
382 by default.
383
eb604e34
SM
384 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
385 (vc-bzr-revision-completion-table): Add support for annotate and date.
386
1a1e3f32
SM
387 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
388 inherit from parent.
389
5bd35902
LMI
3902011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
391
ace6c69c 392 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 393 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 394
191e2bed
LMI
395 * dired.el (dired-mode): Fix up the doc string as suggested by
396 Drew Adams (bug#8817).
397
5bd35902
LMI
398 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
399 cookie, since the manual says that it should be possible to add
400 this function to `find-file-hook' (bug#8709).
401
eee8207a
TZ
4022011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
403
404 * progmodes/cfengine.el: Moved all cfengine3.el functionality
405 here. Noted Ted Zlatanov as the maintainer.
406 (cfengine-common-settings, cfengine-common-syntax): New functions
407 to set up common things between `cfengine-mode' and
408 `cfengine3-mode'.
409 (cfengine3-mode): New mode.
410 (cfengine3-defuns cfengine3-defuns-regex
411 (cfengine3-class-selector-regex cfengine3-category-regex)
412 (cfengine3-vartypes cfengine3-font-lock-keywords)
413 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 414 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 415
36b148cf
MA
4162011-07-01 Michael Albinus <michael.albinus@gmx.de>
417
418 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
419
420 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
421
0bf4ba9a
MR
4222011-07-01 Martin Rudalics <rudalics@gmx.at>
423
424 * window.el (same-window-buffer-names, same-window-regexps)
425 (same-window-p, special-display-frame-alist)
426 (special-display-popup-frame, special-display-function)
427 (special-display-buffer-names, special-display-regexps)
428 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
429 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
430 (split-window-preferred-function, split-height-threshold)
431 (split-width-threshold, even-window-heights)
432 (display-buffer-mark-dedicated, window-splittable-p)
433 (split-window-sensibly, window-safely-shrinkable-p):
434 Un-obsolete.
435 (display-buffer): Don't spread args with function specifier
436 because special-display-popup-frame won't like it.
437
35837f51
PE
4382011-07-01 Paul Eggert <eggert@cs.ucla.edu>
439
d0672f86
PE
440 Time-stamp simplifications and fixes.
441 These improve accuracy slightly, and future-proof the code
442 against some potential changes to current-time format.
443
b9444d97
PE
444 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
445 by using time-since and float-time.
446
0ef923dc
PE
447 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
448 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
449 + NNN microseconds".
450
2f81380d
PE
451 * type-break.el (type-break-time-sum): Rewrite using time-add.
452
845b5c3e
PE
453 * play/hanoi.el (hanoi-current-time-float): Remove.
454 All uses replaced by float-time.
455
ee6f1be0
PE
456 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
457 This yields a more-accurate answer.
458 (rng-time-to-float): Remove; no longer needed.
459
fe955043
PE
460 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
461
5777162a
PE
462 * calendar/timeclock.el (timeclock-seconds-to-time):
463 Defalias to seconds-to-time, since they're the same thing.
464
3103f8b6 465 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 466 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
467 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
468
0e61a35f
SM
4692011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * window.el (bury-buffer): Don't iconify the only frame.
472 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
473 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
474
ddd63a1e
CY
4752011-07-01 Chong Yidong <cyd@stupidchicken.com>
476
0e61a35f
SM
477 * eshell/em-smart.el (eshell-smart-display-navigate-list):
478 Add mouse-yank-primary.
ddd63a1e 479
055f4923
TZ
4802011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
481
482 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
483
6a2fb145
SM
4842011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/find-func.el (find-library--load-name): New fun.
487 (find-library-name): Use it to find relative load names when provided
488 absolute file name (bug#8803).
489
fd4983f2
LMI
4902011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
491
887d14ad
LMI
492 * textmodes/flyspell.el (flyspell-word): Consider words that
493 differ only in case as potential doublons (bug#5687).
494
c53dc7fc
LMI
495 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
496 Remove two rather uninteresting debugging-like messages to make
497 debbugs.el more silent.
498
fd4983f2
LMI
499 * comint.el (comint-password-prompt-regexp): Accept "Response" as
500 a password-like phrase.
501
b14c0c55
AM
5022011-06-30 Mastake YAMATO <yamato@redhat.com>
503
504 * progmodes/cc-guess.el: New file.
505
6a2fb145 506 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
507
508 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
509 derived from `c-basic-common-init'.
510
511 * progmodes/cc-mode.el (top-level): Require cc-guess.
512 (c-basic-common-init): Use `cc-choose-style-for-mode'.
513
1fa280a3
LM
5142011-06-30 Lawrence Mitchell <wence@gmx.li>
515
516 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
517
e6597158
AM
5182011-06-30 Alan Mackenzie <acm@muc.de>
519
1fa280a3
LM
520 * progmodes/cc-engine.el (c-guess-continued-construct):
521 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
522 lock is disabled. Name this case as "CASE G".
523
68ba37fb
KM
5242011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
525
526 * allout.el (allout-yank-processing): Fix injection of extra space
527 between bullet and non-whitespace character in first topic when
528 pasting, ensuring that the actual spacing in the pasted topic
529 following the bullet char is preserved. This extra space was
530 causing pasted encrypted topics to get a decrypted status even
531 when the content was actually still encrypted. Now the decryption
532 status from before the paste is preserved.
533
534 (allout-flag-region): Set all allout overlays so they evaporate
535 when reduced to zero length (evanescent), to prevent overlay
536 leakage.
537
887a0b34
GM
5382011-06-30 Glenn Morris <rgm@gnu.org>
539
94b9acce
GM
540 * w32-fns.el (w32-charset-info-alist): Declare.
541
1d9b46d4
GM
542 * find-dired.el (find-grep-options): Simplify.
543
cc232200
GM
544 * term/ns-win.el (ns-set-resource): Declare.
545
28e77c46
GM
546 * ses.el (row, col): Declare dynamic variables honestly.
547
887a0b34
GM
548 * textmodes/reftex-parse.el (index-tags): Declare.
549
658d8eb8
CY
5502011-06-30 Chong Yidong <cyd@stupidchicken.com>
551
552 * cus-edit.el (customize-push-and-save): New function.
553
554 * files.el (hack-local-variables-confirm): Use it.
555
1fa280a3
LM
556 * custom.el (load-theme): New arg NO-CONFIRM.
557 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
558 (custom-enabled-themes): Doc fix.
559
560 * cus-theme.el (customize-create-theme)
561 (custom-theme-merge-theme): Callers to load-theme changed.
562
bb617717
LMI
5632011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
564
d61bdd5d
LMI
565 * thingatpt.el (thing-at-point-short-url-regexp): Require that
566 short URLs have at least one dot in them (bug #7614).
567
bb617717
LMI
568 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
569 nil, because using a pty is apparently too slow (bug #895).
570
2f31f37a
LMI
5712011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
572
573 * mail/sendmail.el (sendmail-query-once): New function.
574 (sendmail-query-once-function): New variable.
575
3076b24e
GM
5762011-06-29 Glenn Morris <rgm@gnu.org>
577
faf2a174
GM
578 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
579
3076b24e
GM
580 * ses.el (top-level): Require cl when compiling.
581 (ses-set-localvars): Fix error statement.
582 Call it at compile time to silence a storm of warnings.
583
5386012d
MR
5842011-06-29 Martin Rudalics <rudalics@gmx.at>
585
586 * window.el (normalize-live-buffer): Rename to
587 window-normalize-buffer.
588 (normalize-live-frame): Rename to window-normalize-frame.
589 (normalize-any-window): Rename to window-normalize-any-window.
590 (normalize-live-window): Rename to window-normalize-live-window.
591 (make-window-atom): Rename to window-make-atom.
592 (window-resize-reset): Rename to window--resize-reset.
593 (window-resize-reset-1): Rename to window--resize-reset-1.
594 (resize-mini-window): Rename to window--resize-mini-window.
595 (resize-subwindows-skip-p): Rename to
596 window--resize-subwindows-skip-p.
597 (resize-subwindows-normal): Rename to
598 window--resize-subwindows-normal.
599 (resize-subwindows): Rename to window--resize-subwindows.
600 (resize-other-windows): Rename to window--resize-siblings.
601 (resize-this-window): Rename to window--resize-this-window.
602 (resize-root-window): Rename to window--resize-root-window.
603 (resize-root-window-vertically): Rename to
604 window--resize-root-window-vertically.
605 (normalize-buffer-to-display): Rename to
606 window-normalize-buffer-to-display.
607 (normalize-buffer-to-switch-to): Rename to
608 window-normalize-buffer-to-switch-to.
609 Correspondingly update all callers of the functions listed
610 above.
611 (display-buffer-alist, display-buffer-normalize-arguments)
612 (display-buffer-normalize-options, display-buffer)
613 (display-buffer-alist-set): Use "function" instead of
614 "fun-with-args".
615
1176868d
CY
6162011-06-28 Chong Yidong <cyd@stupidchicken.com>
617
618 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
619 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
620 debbugs.gnu.org. Mention acknowledgment email.
621
20a7a65f
LMI
6222011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
623
624 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
625 buffer multibyteness, since it shouldn't matter.
626
5f45cca5
MR
6272011-06-28 Martin Rudalics <rudalics@gmx.at>
628
629 * window.el (display-buffer-in-side-window): Handle dedicated
630 windows as in display-buffer-reuse-window.
631 (display-buffer-normalize-alist): Use value of override
632 specifier.
633 (display-buffer-normalize-specifiers): Use value of
634 other-window-means-other-frame specifier.
635 (display-buffer-alist): Rewrite some texts in widgets.
636 (display-buffer): Spread arguments when calling function
637 specified by fun-with-args.
638
ad85fe1f
DD
6392011-06-28 Deniz Dogan <deniz@dogan.se>
640
1fa280a3
LM
641 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
642 Unnest `let'.
da68c4c8 643
ad85fe1f
DD
644 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
645 selectors (Bug#5732).
ec49bd31 646 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 647
a08cc025
JA
6482011-06-27 Jari Aalto <jari.aalto@cante.net>
649
650 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
651 (eshell-ls-date-format): New defcustom.
652 (eshell-ls-file): Use it.
653
e2b551c5
SM
6542011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * help-fns.el (describe-variable): Fix message for terminal-local vars.
657
8982b231
KY
6582011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
659
660 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
661 (ange-ftp-make-tmp-name): New arg.
662 (ange-ftp-file-local-copy): Use it.
663
36c9fa27
J
6642011-06-27 Jambunathan K <kjambunathan@gmail.com>
665
666 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
667 no-conversion (Bug#8870).
668
d68443dc
MR
6692011-06-27 Martin Rudalics <rudalics@gmx.at>
670
671 * window.el (window-right, window-left, window-child)
672 (window-child-count, window-last-child)
673 (window-iso-combination-p, walk-window-tree-1)
674 (window-atom-check-1, window-tree-1, delete-window)
675 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
676 new naming conventions - window-vchild, window-hchild,
677 window-next and window-prev are now called window-top-child,
678 window-left-child, window-next-sibling and window-prev-sibling
679 respectively.
d615d6d2
MR
680 (resize-window-reset): Rename to window-resize-reset.
681 (resize-window-reset-1): Rename to window-resize-reset-1.
682 (resize-window): Rename to window-resize.
683 (window-min-height, window-min-width)
684 (resize-mini-window, resize-this-window, resize-root-window)
685 (resize-root-window-vertically, adjust-window-trailing-edge)
686 (enlarge-window, shrink-window, maximize-window)
687 (minimize-window, delete-window, quit-restore-window)
688 (split-window, balance-windows, balance-windows-area-adjust)
689 (balance-windows-area, window-state-put-2)
690 (display-buffer-even-window-sizes, display-buffer-set-height)
691 (display-buffer-set-width, set-window-text-height)
692 (fit-window-to-buffer): Rename all "resize-window" prefixed
693 calls to use the "window-resize" prefix convention.
694 (display-buffer-alist): Fix symbol for label specifier.
695 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
696 corresponding specifier.
697 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 698
b6458526
VB
6992011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
700
701 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
702 convention.
703 (ses-call-printer): Does not pass an empty string to formatter when the
704 cell is empty to keep from barking printer Calc math-format-value.
705
d31fd9ac
RS
7062011-06-27 Richard Stallman <rms@gnu.org>
707
43d5bf84
RS
708 * battery.el (battery-mode-line-limit): New variable.
709 (battery-update): Handle it.
710
d31fd9ac
RS
711 * mail/rmailmm.el (rmail-mime-process-multipart):
712 Handle truncated messages.
713
819a6054
GM
7142011-06-27 Glenn Morris <rgm@gnu.org>
715
716 * progmodes/flymake.el (flymake-err-line-patterns):
717 Allow for column numbers in the ant/javac pattern. (Bug#8866)
718
cedc73f2
VB
7192011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
720
819a6054 721 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
722 (ses--clean-!, ses--clean-_): New functions.
723 (ses-range): Add configurability of readout order, and conversion
724 to Calc vector.
725
5e5d49b6
VB
726 * ses.el (ses-repair-cell-reference-all): New function.
727 (ses-cell-symbol): Set macro as safe, so that it can be used in
728 formulas.
729
56e6cc31 730 * ses.el: Update cycle detection algorithm.
90ca8b49 731 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 732 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
733 (ses-set-localvars): New function.
734 (ses-make-cell): Add property-list as a cell element.
735 (ses-cell-property-get-fun, ses-cell-property-get)
736 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
737 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
738 New functions.
90ca8b49
VB
739 (ses-cell-property-set, ses-cell-property-pop)
740 (ses-cell-property-get-handle): New macro.
741 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
742 New aliases, used for code readability.
743 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
744 cycle detection.
745 (ses-self-reference-early-detection): New defcustom.
746 (ses-formula-references): Robustify against self-refering cells.
747 (ses-mode): Use ses-set-localvars.
748 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
749 before lauching the update processing.
750 (ses-initialize-Dijkstra-attempt): New function.
751 (ses-recalculate-cell): Update for cycle detection based on
752 Dijkstra algorithm.
753
2bb63e81
VB
754 * ses.el: Fix commenting and indenting convention.
755
c9d29fb8
SM
7562011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
757
758 * bs.el (bs-cycle-next): Complete last change.
759
d8e4b68b
JB
7602011-06-27 Drew Adams <drew.adams@oracle.com>
761
762 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
763
40098786
LMI
7642011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
765
c9d29fb8
SM
766 * net/network-stream.el (network-stream-open-starttls):
767 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
768 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
769
40098786
LMI
770 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
771 to binary to possibly avoid line encoding issues on Windows (among
772 other things).
773
468d09d4
LMI
7742011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
775
776 * net/network-stream.el (open-network-stream): Return an :error
777 saying what the problem was, if possible.
778
779 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
780 server.
781
782 * net/network-stream.el (network-stream-open-starttls): If we
783 wanted to use STARTTLS, and the server offered it, but we weren't
784 able to because we had no STARTTLS support, then close the connection.
785 (open-network-stream): Return an :error element, if present.
786
16f07dd7
CY
7872011-06-26 Chong Yidong <cyd@stupidchicken.com>
788
88821ca0
CY
789 * hl-line.el (hl-line-sticky-flag): Doc fix.
790 (global-hl-line-sticky-flag): New option (Bug#8323).
791 (global-hl-line-highlight): Obey it.
792
16f07dd7
CY
793 * vc/vc.el (vc-revert-show-diff): Default to t.
794
6b5ccddf
KM
7952011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
796
c9d29fb8
SM
797 * allout-widgets.el (allout-widgets-post-command-business):
798 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
799 undecorated when an isearch is continued past, and isearch
800 automatically collapses them. This leads to "widget leaks", where
801 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
802 hidden widgets can slow down cursor travel, substantially.
803 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
804 so we're doing without this nicety.
805
806 (allout-widgets-tally-string): Don't try to do a hash-table-count
807 of allout-widgets-tally when it's nil. This eliminates spurious "Error
808 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
809 *Messages* when allout-widgets-maintain-tally is t.
810
355f2e07
MR
8112011-06-26 Martin Rudalics <rudalics@gmx.at>
812
813 * window.el (display-buffer-normalize-argument): Rename to
814 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
815 LABEL argument. Respect special-display-function when popping up
816 a new frame. Fix code searching for a window showing the buffer
817 on another frame.
c9d29fb8
SM
818 (display-buffer-normalize-specifiers):
819 Call display-buffer-normalize-arguments.
355f2e07
MR
820 (display-buffer-in-window): Don't undedicate the window if its
821 buffer remains the same.
822 Reported by Drew Adams <drew.adams@oracle.com>.
823 (display-buffer-alist): Add choice for same-window macro
824 specfier.
825 (display-buffer): Mention special meaning of LABEL argument in
826 doc-string. Fix quoting. Don't pop up a new frame even as
827 fallback.
828
7ca8fc42
JB
8292011-06-26 Juanma Barranquero <lekktu@gmail.com>
830
831 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
832 avoid deleting the current window in some cases (bug#8911).
833
bc312254
AS
8342011-06-26 Andreas Schwab <schwab@linux-m68k.org>
835
836 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
837 (Bug#8934)
838
2db18f3f
LMI
8392011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
840
c9d29fb8
SM
841 * net/network-stream.el (network-stream-open-starttls):
842 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
843 (network-stream-open-tls): Ditto.
844
6302e0d3
LL
8452011-06-26 Leo Liu <sdl.web@gmail.com>
846
847 * register.el (registerv): New struct.
848 (registerv-make): New function.
c9d29fb8
SM
849 (jump-to-register, describe-register-1, insert-register):
850 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
851 struct. (Bug#8415)
852
5fdd4046
CY
8532011-06-26 Chong Yidong <cyd@stupidchicken.com>
854
2afef60a
CY
855 * vc/vc.el (vc-revert-show-diff): New defcustom.
856 (vc-diff-internal): New arg specifying diff buffer.
857 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
858 reuse an existing *vc-diff* buffer (Bug#8927).
859
5fdd4046
CY
860 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
861
e93db24a
GM
8622011-06-26 Glenn Morris <rgm@gnu.org>
863
864 * progmodes/f90.el (f90-critical-indent): New option.
865 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
866 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
867 (f90-mode): Doc fix.
868 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
869 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
870 (f90-beginning-of-block, f90-next-block, f90-indent-region)
871 (f90-match-end): Handle block, critical.
872
eefff499
GM
8732011-06-25 Glenn Morris <rgm@gnu.org>
874
f6ba4cc9
GM
875 * calendar/diary-lib.el (diary-included-files): Doc fix.
876 (diary-include-files): New function, extracted from
877 diary-include-other-diary-files and diary-mark-included-diary-files.
878 (diary-include-other-diary-files, diary-mark-included-diary-files):
879 Just call diary-include-files.
880 (diary-mark-entries): Reset diary-included-files on first call.
881
16712304
GM
882 * calendar/diary-lib.el (diary-mark-entries)
883 (diary-mark-included-diary-files):
884 Visit included diary-files in temp buffers.
885
5d8e0d43
GM
886 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
887 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
888 (f90-start-block-re, f90-imenu-generic-expression)
889 (f90-looking-at-program-block-start, f90-no-block-limit):
890 Add support for submodules.
891
ccf7a5d5
GM
892 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
893 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 894
11fdef7d 8952011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
896
897 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
898 buffer-file-type before setting its value, to avoid disastrous
eefff499 899 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 900
74f53697
JB
9012011-06-25 Juanma Barranquero <lekktu@gmail.com>
902
903 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
904
905 * ses.el (ses-unload-function):
906 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
907
908 * proced.el (proced-unload-function):
909 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
910
18a4ce5e
AR
9112011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
912
913 * server.el (server-create-window-system-frame): Add parameters arg.
914 (server-process-filter): Doc fix. Handle frame-parameters.
915
519d22cc
JB
9162011-06-25 Juanma Barranquero <lekktu@gmail.com>
917
918 Fix bug#8730, bug#8781.
919
920 * loadhist.el (unload--set-major-mode): New function.
921 (unload-feature): Use it.
922
923 * progmodes/python.el (python-after-info-look): Add autoload cookie.
924 (python-unload-function): New function.
925
c206f5b0
SM
9262011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
927
928 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
929
f9ad64f3
GS
9302011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
931
932 * net/browse-url.el (browse-url-firefox-program): Add icecat to
933 the candidates list.
934
7d0da90e
JB
9352011-06-24 Juanma Barranquero <lekktu@gmail.com>
936
937 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
938
14b4e83d
RS
9392011-06-23 Richard Stallman <rms@gnu.org>
940
941 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
942 (rmail-variables): Set next-error-move-function.
943 (rmail-what-message): Take argument POS.
944 (rmail-next-error-move): New function.
945
273d2baf
SM
9462011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
947
948 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
949 messages for adjacent non-terminals.
950
56c2cc9a
RS
9512011-06-23 Richard Stallman <rms@gnu.org>
952
953 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 954 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
955 (rmail-start-mail): Don't specify use of rmail-mail-return;
956 that's done by mail-bury now.
957 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 958
d59eb518
MA
9592011-06-23 Michael Albinus <michael.albinus@gmx.de>
960
961 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
962 SIZE is a number.
963
02cfc6d6
MR
9642011-06-23 Martin Rudalics <rudalics@gmx.at>
965
966 * window.el (get-lru-window, get-mru-window)
967 (get-largest-window): Never return a minibuffer window.
968 (display-buffer-pop-up-window): Fix a bug that could lead to
969 reusing the minibuffer window.
970 (display-buffer): Pass original specifier argument to
971 display-buffer-function instead of the normalized one.
972 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
973
4e323265
LL
9742011-06-22 Leo Liu <sdl.web@gmail.com>
975
976 * minibuffer.el (completing-read-function)
977 (completing-read-default): Move from minibuf.c
978
7a70468f
RS
9792011-06-22 Richard Stallman <rms@gnu.org>
980
50718fc2
RS
981 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
982 to Rmail even if not started by a special Rmail command.
983
7a70468f
RS
984 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
985 Copy the buffer currently showing just one message.
986
297dde5a
RW
9872011-06-22 Roland Winkler <winkler@gnu.org>
988
989 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
990 (bibtex-clean-entry): First delete the old key so that a
991 customized algorithm for generating the new key does not get
992 confused by the old key.
993 (bibtex-url): Obey regexp of first step.
994 (bibtex-search-entries): Do not use add-to-list with local
995 list-var.
996
97bb1093
LMI
9972011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
998
999 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
1000 stored a user name, then query for the password first, instead of
1001 waiting for SMTP to give an error message and the trying again.
1002
1c0f1a19
JD
10032011-06-22 Lawrence Mitchell <wence@gmx.li>
1004
1005 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
1006 BUFFER in call-process.
1007
396f7c9d
LMI
10082011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
1009
1010 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
1011 QUIT twice.
ddb7ffee
LMI
1012 (smtpmail-try-auth-methods): Require user name and password from
1013 auth-source.
396f7c9d 1014
8998d1b3
MR
10152011-06-22 Martin Rudalics <rudalics@gmx.at>
1016
1017 * window.el (display-buffer-default-specifiers)
1018 (display-buffer-alist): Remove entries for pop-up-frame-alist.
1019 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 1020 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
1021
1022 * frame.el (pop-up-frame-alist, pop-up-frame-function)
1023 (special-display-frame-alist, special-display-popup-frame):
1024 Remove duplicate declarations. These are now in window.el.
1025
4ea31e07
LMI
10262011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1027
c9d29fb8
SM
1028 * mail/smtpmail.el (smtpmail-via-smtp):
1029 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
1030 server supports it. SMTP servers that support STARTTLS commonly
1031 require it.
1032
1033 * net/network-stream.el (network-stream-open-starttls): Support
1034 upgrading to STARTTLS always, even if we don't have built-in support.
1035 (open-network-stream): Add the :always-query-capabilies keyword.
1036
95f41d9a
LMI
1037 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
1038 upgrades with `open-network-stream', and rely solely on
1039 auth-source for all credentials. Big changes throughout the file,
1040 but in particular:
c9d29fb8
SM
1041 (smtpmail-auth-credentials): Remove.
1042 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
1043 (smtpmail-via-smtp): Check for servers saying they want AUTH after
1044 MAIL FROM, too.
95f41d9a 1045
c9d29fb8
SM
1046 * net/network-stream.el (network-stream-open-starttls):
1047 Provide support for client certificates both for external and built-in
4ea31e07
LMI
1048 STARTTLS.
1049 (auth-source): Require.
1050 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
1051 (network-stream-certificate): Change cert-cert to cert and
1052 cert-key to key.
4ea31e07 1053
065ec2c7
MA
10542011-06-21 Michael Albinus <michael.albinus@gmx.de>
1055
1056 * net/tramp-cache.el (top): Don't load the persistency file when
1057 "emacs -Q" has been called.
1058
cd93b359
DR
10592011-06-21 Tim Harper <timcharper@gmail.com>
1060
d8e4b68b
JB
1061 * term/ns-win.el (ns-initialize-window-system):
1062 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
1063 resource to NO as it is not yet supported by the NS port.
1064
ae9c0411
JB
10652011-06-21 Juanma Barranquero <lekktu@gmail.com>
1066
1067 * misc.el (list-dynamic-libraries--refresh): Compute header here...
1068 (list-dynamic-libraries): ...not here.
1069
7f3f739f
LL
10702011-06-21 Leo Liu <sdl.web@gmail.com>
1071
1072 * subr.el (sha1): Implement sha1 using secure-hash.
1073
327c8fb1
MR
10742011-06-21 Martin Rudalics <rudalics@gmx.at>
1075
1076 * window.el (display-buffer-alist): In default value do not
1077 enforce searching a window on any but the selected frame.
1078 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
1079 (display-buffer-select-window): Remove function.
1080 (display-buffer-in-window): When a window on another frame gets
1081 reused, do not select it any more but just raise its frame if
1082 necessary (Bug#8851) and (Bug#8856).
1083 (display-buffer-normalize-options): Handle pop-up-frames related
1084 options more faithfully.
1085 (pop-to-buffer): Don't rely on `display-buffer' selecting the
1086 window if it is on another frame.
c9d29fb8
SM
1087 (display-buffer-alist, display-buffer-default-specifiers):
1088 Don't make new frame unsplittable by default.
9e9de014
MR
1089 (display-buffer-normalize-argument): Fix doc-string typo and use
1090 'same-frame-other-window instead of 'other-window when associating
1091 with display-buffer-macro-specifiers.
327c8fb1 1092
7cf3f556
VB
10932011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
1094
1095 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
1096 New functions.
1097 (5x5-mode-map, 5x5-mode-menu): Bind them.
1098 (5x5-draw-grid): Tweak the solver's rendering.
1099
60a406cf
SM
11002011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1101
1102 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
1103 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
1104
d8e4b68b 11052011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
1106
1107 * menu-bar.el: Use function variable instead of switch-to-buffer.
1108 (menu-bar-select-buffer-function): New variable.
60a406cf 1109 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 1110
478d6f95
SM
11112011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
1114 variable's status.
1115
ca530739
JD
11162011-06-20 Jan Djärv <jan.h.d@swipnet.se>
1117
1118 * x-dnd.el (x-dnd-version-from-flags)
1119 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
1120 and long as number (Bug#8899).
1121 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
1122
bcd70d97
SM
11232011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
1124
60a406cf 1125 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
1126 (completion-try-completion, completion-all-completions): Compute the
1127 metadata argument if it's missing; make it optional (bug#8795).
1128
60a406cf 1129 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
1130 (widget-complete): Use new :completion-function property.
1131 (widget-completions-at-point): New function.
1132 (default): Use :completion-function instead of :complete.
60a406cf
SM
1133 (widget-default-completions): Rename from widget-default-complete;
1134 Rewrite.
bcd70d97
SM
1135 (widget-string-complete, widget-file-complete, widget-color-complete):
1136 Remove functions.
1137 (file, symbol, function, variable, coding-system, color):
1138 * international/mule-cmds.el (default-input-method, charset)
1139 (language-info-custom-alist):
1140 * cus-edit.el (face): Use new property :completions.
1141
1142 * progmodes/pascal.el (pascal-completions-at-point): New function.
1143 (pascal-mode): Use it.
1144 (pascal-mode-map): Use completion-at-point.
1145 (pascal-toggle-completions): Make obsolete.
1146 (pascal-complete-word, pascal-show-completions):
1147 * progmodes/octave-mod.el (octave-complete-symbol):
1148 Redefine as obsolete alias.
1149 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
1150 Signal absence of completion info for old Octave,
1151 (inferior-octave-complete): Redefine as obsolete alias.
1152 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
1153 (meta-completions-at-point): Rename from meta-complete-symbol and
1154 adapt it for use on completion-at-point-functions.
1155 (meta-common-mode): Use it.
1156 (meta-looking-at-backward, meta-match-buffer): Remove.
1157 (meta-complete-symbol): Redefine as obsolete alias.
1158 (meta-common-mode-map): Use completion-at-point.
1159 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
1160 (makefile-mode-map): Use completion-at-point.
1161 (makefile-completions-at-point): Rename from makefile-complete and
1162 adapt it for use on completion-at-point-functions.
1163 (makefile-mode): Use it.
1164 (makefile-complete): Redefine as obsolete alias.
1165
aebf69c8
DD
11662011-06-20 Deniz Dogan <deniz@dogan.se>
1167
1168 * net/rcirc.el: Delete trailing whitespaces once and for all.
1169
bfbbb27d
DC
11702011-06-20 Daniel Colascione <dan.colascione@gmail.com>
1171
1172 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
1173
d264a46b
CY
11742011-06-19 Chong Yidong <cyd@stupidchicken.com>
1175
4ca009e5
CY
1176 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
1177
d264a46b
CY
1178 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
1179
fbf5b3ce
MR
11802011-06-19 Martin Rudalics <rudalics@gmx.at>
1181
1182 * window.el (display-buffer-other-window-means-other-frame):
1183 Call display-buffer-normalize-alist.
1184 (display-buffer-normalize-specifiers-1): Rename to
1185 display-buffer-normalize-argument. New argument other-frame.
1186 Rewrite.
1187 (display-buffer-normalize-specifiers-2): Rename to
1188 display-buffer-normalize-options.
1189 (display-buffer-normalize-alist-1): New function.
1190 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
1191 display-buffer-normalize-alist.
1192 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
1193 (display-buffer-normalize-options-inhibit): New variable.
1194 (display-buffer-normalize-specifiers): Rewrite calling
1195 display-buffer-normalize-alist,
1196 display-buffer-normalize-argument, and
1197 display-buffer-normalize-options. Don't call the latter if
1198 display-buffer-normalize-options-inhibit is non-nil.
1199 (frame-auto-delete): New option.
1200 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
1201 (window-list-no-nils, window-state-ignored-parameters)
1202 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
1203 (window-state-put-1, window-state-put-2, window-state-put):
1204 New functions.
9a028c23
MR
1205 (display-buffer-normalize-options): Move special-display-p group
1206 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 1207
6d10d800
CY
12082011-06-18 Chong Yidong <cyd@stupidchicken.com>
1209
6420d28b
CY
1210 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
1211 groups (Bug#8776).
1212 (rx-submatch-n): New function.
1213 (rx): Document it.
1214
ddb8b596
CY
1215 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
1216 (Bug#8768).
1217
1218 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
1219
77080289
CY
1220 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
1221
61dfb316
CY
1222 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
1223 anytime existing face settings are present (Bug#8889).
1224
6d10d800
CY
1225 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
1226 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
1227 Remove unused argument.
1228
be3fb2b8
MR
12292011-06-18 Martin Rudalics <rudalics@gmx.at>
1230
bcd70d97
SM
1231 * window.el (display-buffer-default-specifiers):
1232 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
1233 pop-up-window-min-width, and another reuse-window specifier
1234 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
1235 (display-buffer-normalize-specifiers-2):
1236 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
1237 pop-up-windows is unset. Add a reuse-window specifier for the
1238 case popping up a new window fails.
1239 (special-display-popup-frame): Remove double quoting.
28dec25a 1240 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 1241
1c6d8c76
SM
12422011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * shell.el (shell-completion-vars): Set pcomplete-termination-string
1245 according to comint-completion-addsuffix.
1246
1247 * pcomplete.el: Convert to lexical binding and fix bug#8819.
1248 (pcomplete-suffix-list): Mark as obsolete.
1249 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
1250 pcomplete-seen in the closure.
1251 (pcomplete-comint-setup): Setup completion-at-point as well.
1252 (pcomplete--entries): New function.
1253 (pcomplete--env-regexp): New var.
1254 (pcomplete-entries): Rewrite to work with partial-completion and
1255 without relying on pcomplete-suffix-list.
1256 (pcomplete-pare-list): Remove, unused.
1257
25aef8b8
MR
12582011-06-17 Martin Rudalics <rudalics@gmx.at>
1259
1260 * window.el (display-buffer-alist): Set pop-up-window-min-height
1261 and pop-up-window-min-width in default value. Reported by
1262 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
1263 other-window-means-other-frame.
1264 (display-buffer-macro-specifiers): Comment out entry for
1265 other-window specifier.
1266 (display-buffer-other-window-means-other-frame): New function.
1267 (display-buffer-normalize-specifiers-1): New arguments
1268 buffer-name and label. Treat other-window case specially.
1269 (display-buffer-normalize-specifiers-2): Treat other-window case
1270 specially.
1271 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
1272 (display-buffer-normalize-specifiers):
1273 Call display-buffer-normalize-specifiers-3.
25aef8b8 1274
dbad4f69
MR
12752011-06-17 Martin Rudalics <rudalics@gmx.at>
1276
1277 * window.el (same-window-p): Fix two typos introduced when
1278 adding with-no-warnings.
d1067961
MR
1279 (display-buffer-normalize-specifiers-1): Don't check
1280 pop-up-frames for 'unset initialization.
1281 (display-buffer-normalize-specifiers-2): Major rewrite using
1282 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
1283 (pop-up-frames, display-buffer-reuse-frames)
1284 (display-buffer-mark-dedicated): Don't initialize to 'unset.
1285 Suggested by David Engster <deng@randomsample.de>.
1286 (even-window-heights): Initialize to 'unset.
1287 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
1288 (display-buffer-macro-specifiers): Don't pop up a new frame in the
1289 other window case.
dbad4f69 1290
9b9c9e3a
MR
12912011-06-16 Martin Rudalics <rudalics@gmx.at>
1292
bcd70d97
SM
1293 * window.el (display-buffer-normalize-specifiers-1):
1294 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 1295 second argument of display-buffer (Bug#8865).
981d5c09
MR
1296 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
1297 (switch-to-buffer-other-window-same-frame)
1298 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
1299 Adams (Bug#8875).
9c2755e9
MR
1300 (display-buffer): Don't check noninteractive when calling
1301 display-buffer-pop-up-frame.
1302 (display-buffer-pop-up-frame): Never pop up a frame in
1303 noninteractive mode (Bug#8857).
67222e1d
MR
1304 (enlarge-window, shrink-window): Don't report an error when the
1305 window can't be resized as requested (Bug#8862).
9b9c9e3a 1306
2b75be67
SM
13072011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1308
9ffdd3ba
SM
1309 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
1310
cb581a67
SM
1311 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
1312
2b75be67
SM
1313 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
1314
8c0e3589
AM
13152011-06-15 Alan Mackenzie <acm@muc.de>
1316
cb581a67
SM
1317 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
1318 for declarators, disable knr checking to speed up for normal files.
1319 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 1320
b96e6cde
LMI
13212011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
1322
4bba86e6
LMI
1323 * net/network-stream.el (open-network-stream): Add the keyword
1324 :always-query-capabilities for the case where you want to force a
1325 `plain' network connection, but the protocol still requires the
1326 capabilitiy command (i.e., SMTP and EHLO).
1327
2b75be67 1328 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
1329 consistency with other `-live-p' functions.
1330
efdcdbf8
SM
13312011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1332
1333 * window.el (same-window-buffer-names, same-window-regexps)
1334 (special-display-frame-alist, special-display-popup-frame)
1335 (special-display-function, special-display-buffer-names)
1336 (special-display-regexps, pop-up-frame-alist)
1337 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
1338 (pop-up-windows, split-window-preferred-function)
1339 (split-height-threshold, split-width-threshold, even-window-heights)
1340 (display-buffer-mark-dedicated): Don't encourage the use of
1341 display-buffer-alist from Elisp code.
1342
c5cde042
DN
13432011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
1344
1345 * progmodes/python.el (python-mode): Derive from prog-mode.
1346 * progmodes/ps-mode.el (ps-mode):
1347 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 1348 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
1349 * progmodes/ld-script.el (ld-script-mode): Likewise.
1350
baa1c9ab
MR
13512011-06-15 Martin Rudalics <rudalics@gmx.at>
1352
1353 * window.el (display-buffer-alist): Trim default value to avoid
1354 popping up a new frame (Bug#8857) or reusing an arbitrary window
1355 on another frame.
1356 (display-buffer): Do not fall back on popping up a new frame in
1357 batch mode (Bug#8857).
1358
c5dd5a51
CY
13592011-06-14 Chong Yidong <cyd@stupidchicken.com>
1360
1361 * cus-theme.el (describe-theme-1): Use custom-theme-p.
1362 (custom-theme-summary): New function.
1363 (customize-themes): Use it.
1364
d647b7c4
GM
13652011-06-13 Glenn Morris <rgm@gnu.org>
1366
1367 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
1368
9481c002
MR
13692011-06-13 Martin Rudalics <rudalics@gmx.at>
1370
357f93d2
MR
1371 * help.el (help-window): Remove variable.
1372 (help-window-point-marker, temp-buffer-max-height)
1373 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
1374 (help-print-return-message): Don't set help-window.
1375 (resize-temp-buffer-window): Rewrite cod eand doc-string.
1376 (help-window-setup-finish): Remove.
1377 (help-window-display-message, help-window-setup)
1378 (with-help-window): Major rewrite based on new
1379 display-buffer-window variable.
1380
1381 * help-mode.el (help-mode-finish): Remove help-window related
1382 code.
1383
1384 * view.el (view-exits-all-viewing-windows): Remove reference to
1385 view-return-to-alist in doc-string.
1386 (view-return-to-alist): Make obsolete.
1387 (view-buffer): Call pop-to-buffer-same-window and remove
1388 undo-window code.
1389 (view-buffer-other-window): Call pop-to-buffer-other-window and
1390 simplify code. Ignore second argument.
1391 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
1392 simplify code. Ignore second argument.
1393 (view-return-to-alist-update): Make obsolete.
1394 (view-mode-enter): Rename second argument to QUIT-RESTORE.
1395 Rewrite using quit-restore window parameters.
2b75be67
SM
1396 (view-mode-exit): Rename second argument to EXIT-ONLY.
1397 Rewrite using quit-restore-window.
357f93d2
MR
1398 (View-exit, View-exit-and-edit, View-leave, View-quit)
1399 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
1400 appropriate arguments.
1401 (view-end-message): Use quit-restore window parameter.
1402
9481c002
MR
1403 * window.el (display-buffer-function): Rewrite doc-string.
1404 (display-buffer-window, display-buffer-alist): New variables.
1405 (display-buffer-split-specifiers)
1406 (display-buffer-side-specifiers)
1407 (display-buffer-macro-specifiers): New constants.
1408 (display-buffer-even-window-sizes, display-buffer-set-height)
1409 (display-buffer-set-width, display-buffer-select-window)
1410 (display-buffer-in-window, display-buffer-reuse-window)
1411 (display-buffer-split-window-1, display-buffer-split-window)
1412 (display-buffer-split-atom-window, display-buffer-pop-up-window)
1413 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
1414 (display-buffer-in-side-window, normalize-buffer-to-display)
1415 (display-buffer-normalize-specifiers-1)
1416 (display-buffer-normalize-specifiers-2)
2b75be67
SM
1417 (display-buffer-normalize-specifiers, display-buffer-frame):
1418 New functions.
9481c002
MR
1419 (display-buffer): Major rewrite.
1420 (display-buffer-other-window, display-buffer-other-frame)
1421 (pop-to-buffer, switch-to-buffer-other-window)
1422 (switch-to-buffer-other-frame): Rewrite.
1423 (display-buffer-same-window, display-buffer-same-frame)
1424 (display-buffer-same-frame-other-window)
1425 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
1426 (pop-to-buffer-other-window)
1427 (pop-to-buffer-same-frame-other-window)
1428 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
1429 (switch-to-buffer-other-window-same-frame): New functions.
1430 (same-window-p, special-display-p): Rewrite disabling warnings.
1431 Make obsolete.
1432 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1433 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
1434 Make obsolete
1435 (same-window-buffer-names, same-window-regexps)
1436 (special-display-frame-alist, special-display-popup-frame)
1437 (special-display-function, special-display-buffer-names)
1438 (special-display-regexps, pop-up-frame-alist)
1439 (pop-up-frame-function, split-window-preferred-function)
1440 (split-height-threshold, split-width-threshold)
1441 (even-window-heights): Make obsolete.
1442
9db51aca
GM
14432011-06-12 Glenn Morris <rgm@gnu.org>
1444
1445 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 1446 Misc simplifications.
9db51aca 1447
39cffb44
MR
14482011-06-12 Martin Rudalics <rudalics@gmx.at>
1449
1450 * window.el (window-safely-shrinkable-p): Restore function which
1451 was inadvertently removed in change from 2011-06-11. Declare as
1452 obsolete.
1453
2b75be67
SM
1454 * calendar/calendar.el (calendar-generate-window):
1455 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
1456 window-safely-shrinkable-p.
1457
a8955be7
GM
14582011-06-12 Glenn Morris <rgm@gnu.org>
1459
1460 * progmodes/fortran.el (fortran-mode-syntax-table):
1461 * progmodes/f90.el (f90-mode-syntax-table):
1462 Set % to punctuation. (Bug#8820)
1463 (f90-find-tag-default): Remove, no longer needed.
1464
f0d4059d
DC
14652011-06-12 Daniel Colascione <dan.colascione@gmail.com>
1466
1467 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
1468
1100a63c
CY
14692011-06-11 Chong Yidong <cyd@stupidchicken.com>
1470
1471 * image.el (image-animated-p): Return animation delay in seconds.
1472 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
1473 (image-animate-timeout): Remove DELAY argument. Don't assume
1474 every subimage has the same delay; get it from image-animated-p.
1475 (image-animate): Caller changed.
1476
def722bf
MA
14772011-06-11 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
1480 to ignored backtrace functions.
1481
0a2bb1a9
GM
14822011-06-11 Glenn Morris <rgm@gnu.org>
1483
1484 * calendar/appt.el (appt-disp-window-function): Doc fix.
1485 (appt-check): Handle overlapping appointments. (Bug#8337)
1486
6198ccd0
MR
14872011-06-11 Martin Rudalics <rudalics@gmx.at>
1488
1489 * window.el (window-tree-1, window-tree): New functions, moving
1490 the latter to window.el.
1491 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
1492 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
1493 (bw-refresh-edges): Remove.
1494 (balance-windows-1, balance-windows-2): New functions.
1495 (balance-windows): Rewrite in terms of window tree functions,
1496 balance-windows-1 and balance-windows-2.
1497 (bw-adjust-window): Remove.
1498 (balance-windows-area-adjust): New function with functionality of
1499 bw-adjust-window but using resize-window.
2b75be67
SM
1500 (set-window-text-height): Rewrite doc-string.
1501 Use normalize-live-window and resize-window.
1502 (enlarge-window-horizontally, shrink-window-horizontally):
1503 Rename argument to DELTA.
6198ccd0
MR
1504 (window-buffer-height): New function.
1505 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
1506 Rewrite using new window resize routines.
2b75be67
SM
1507 (kill-buffer-and-window, mouse-autoselect-window-select):
1508 Use ignore-errors instead of condition-case.
6198ccd0
MR
1509 (quit-window): Call delete-frame instead of delete-windows-on
1510 for the only buffer on frame.
1511
9397e56f
MR
15122011-06-10 Martin Rudalics <rudalics@gmx.at>
1513
1514 * loadup.el (top-level): Load window before files for the sake
1515 of replace-buffer-in-windows.
1516
1517 * files.el (read-buffer-to-switch)
1518 (switch-to-buffer-other-window)
2b75be67
SM
1519 (switch-to-buffer-other-frame, display-buffer-other-frame):
1520 Move to window.el.
9397e56f
MR
1521
1522 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
1523 (previous-buffer): Move to window.el.
1524
1525 * bindings.el (unbury-buffer): Move to window.el.
1526
1527 * window.el (delete-other-windows-vertically): Move after
1528 definition of delete-other-windows.
1529 (other-window, delete-windows-on, replace-buffer-in-windows):
1530 Move here from window.c.
1531 (record-window-buffer, unrecord-window-buffer)
1532 (set-window-buffer-start-and-point, switch-to-prev-buffer)
1533 (switch-to-next-buffer): New functions.
1534 (get-next-valid-buffer, last-buffer, next-buffer): Move here
1535 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
1536 (previous-buffer): Move here from simple.el.
1537 Call switch-to-prev-buffer.
9397e56f
MR
1538 (bury-buffer): Move here from buffer.c. Switch to previous
1539 buffer when window cannot be deleted.
1540 (unbury-buffer): Move here from bindings.el.
1541 (ctl-x-map): Move binding for other-window from window.c to
1542 here.
1543 (read-buffer-to-switch, switch-to-buffer-other-window)
1544 (switch-to-buffer-other-frame): Move here from files.el.
1545 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
1546 (switch-to-buffer): Move here from buffer.c.
1547 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 1548
562dd5e9
MR
15492011-06-10 Martin Rudalics <rudalics@gmx.at>
1550
1551 * window.el (window-min-height, window-min-width): Move here
1552 from window.c. Add defcustoms and rewrite doc-strings.
1553 (resize-mini-window, resize-window): New functions.
1554 (adjust-window-trailing-edge, enlarge-window, shrink-window):
1555 Move here from window.c.
1556 (maximize-window, minimize-window): New functions.
1557 (delete-window, delete-other-windows, split-window): Move here
1558 from window.c.
1559 (window-split-min-size): New function.
1560 (split-window-keep-point): Mention split-window-above-each-other
1561 instead of split-window-vertically.
2b75be67
SM
1562 (split-window-above-each-other, split-window-vertically):
1563 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
1564 provide defalias for old definition.
1565 (split-window-side-by-side, split-window-horizontally): Rename
1566 split-window-horizontally to split-window-side-by-side and provide
1567 defalias for the old definition.
1568 (ctl-x-map): Move bindings for delete-window,
1569 delete-other-windows and enlarge-window here from window.c.
1570 Replace bindings for split-window-vertically and
1571 split-window-horizontally by bindings for
1572 split-window-above-each-other and split-window-side-by-side.
1573
1574 * cus-start.el (all): Remove entries for window-min-height and
1575 window-min-width. Add entries for window-splits and
1576 window-nest.
1577
f0da764a
GM
15782011-06-09 Glenn Morris <rgm@gnu.org>
1579
80675c21
GM
1580 * calendar/appt.el (appt-mode-line): New function.
1581 (appt-check, appt-disp-window): Use it.
1582
f0da764a
GM
1583 * files.el (hack-one-local-variable-eval-safep):
1584 Allow minor-modes with explicit +/-1 arguments.
1585
59f623b7
TZ
15862011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
1587
1588 * term/xterm.el (xterm): Add defgroup.
1589 (xterm-extra-capabilities): Add defcustom to supply known xterm
1590 capabilities, skip querying them, or query them (default).
1591 (terminal-init-xterm): Use it.
1592 (terminal-init-xterm-modify-other-keys): New function to set up
1593 modifyOtherKeys support to simplify `terminal-init-xterm'.
1594
9aab8e0d
MR
15952011-06-09 Martin Rudalics <rudalics@gmx.at>
1596
1597 * window.el (resize-window-reset, resize-window-reset-1)
1598 (resize-subwindows-skip-p, resize-subwindows-normal)
1599 (resize-subwindows, resize-other-windows, resize-this-window)
1600 (resize-root-window, resize-root-window-vertically)
1601 (window-deletable-p, window-or-subwindow-p)
1602 (frame-root-window-p): New functions.
1603
e8b08aee
GM
16042011-06-09 Glenn Morris <rgm@gnu.org>
1605
1606 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
1607 (ange-ftp-get-files): Use it.
1608
254c37a5
AK
16092011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
1610
1611 * mail/sendmail.el (mail-recover-1, mail-recover):
1612 * files.el (recover-file, recover-session):
1613 Handle dired-listing-switches not being just a single short option.
1614
35d7dbd3
GM
16152011-06-09 Glenn Morris <rgm@gnu.org>
1616
1617 * calendar/appt.el (appt-display-message, appt-disp-window):
1618 Handle lists of appointments.
1619
387522b2
MR
16202011-06-08 Martin Rudalics <rudalics@gmx.at>
1621
2b75be67
SM
1622 * window.el (one-window-p): Move down in code.
1623 Rewrite doc-string.
1624 (window-current-scroll-bars): Rewrite doc-string.
1625 Normalize live window argument.
387522b2
MR
1626 (walk-windows, get-window-with-predicate, count-windows):
1627 Rewrite doc-string. Use window-list-1.
1628 (window-in-direction-2, window-in-direction, get-mru-window):
1629 New functions.
1630
d8e4b68b 16312011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
1632
1633 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
1634 Doc fix (Bug#8713).
1635
16362011-06-08 Chong Yidong <cyd@stupidchicken.com>
1637
1638 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
1639
16402011-06-08 Juanma Barranquero <lekktu@gmail.com>
1641
1642 * loadhist.el (unload-feature-special-hooks):
1643 Add `comint-output-filter-functions'.
1644
0de12c52
IK
16452011-06-08 Ivan Kanis <gnu@kanis.fr>
1646
1647 * calendar/appt.el (appt-check): Move some initializations into the let.
1648
f3d1777e
MR
16492011-06-08 Martin Rudalics <rudalics@gmx.at>
1650
1651 * window.el (window-height): Defalias to window-total-height.
1652 (window-width): Defalias to window-body-width.
1653
18af70d0
CY
16542011-06-07 Chong Yidong <cyd@stupidchicken.com>
1655
1656 * image-mode.el (image-toggle-animation): New command.
1657 (image-mode-map): Bind it to RET.
1658 (image-mode): Update message.
1659 (image-toggle-display-image): Avoid a spurious cache flush.
1660 (image-transform-rotation): Doc fix.
1661 (image-transform-properties): Return quickly in the normal case.
1662 (image-animate-loop): Rename from image-animate-max-time.
1663
2b75be67 1664 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
1665 (create-animated-image): Remove unnecessary function.
1666 (image-animate): Rename from image-animate-start. New arg.
2b75be67 1667 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
1668 (image-animate-timer): Use car-safe.
1669 (image-animate-timeout): Rename argument.
1670
190b47e6
MR
16712011-06-07 Martin Rudalics <rudalics@gmx.at>
1672
1673 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
1674 window.c. Rename first argument to ALL-FRAMES.
1675 Rephrase doc-strings.
1676 (get-buffer-window-list): Rewrite using window-list-1.
1677 Rephrase doc-string.
a1511caf
MR
1678 (window-safe-min-height, window-safe-min-width): New constants.
1679 (window-size-ignore, window-min-size, window-min-size-1)
1680 (window-sizable, window-sizable-p, window-size-fixed-1)
1681 (window-size-fixed-p, window-min-delta-1, window-min-delta)
1682 (window-max-delta-1, window-max-delta, window-resizable)
1683 (window-resizable-p, window-total-height, window-total-width)
1684 (window-body-width): New functions.
1685 (window-full-height-p, window-full-width-p): Rewrite using
1686 window-total-size.
1687 (window-body-height): Rewrite using window-body-size.
190b47e6 1688
85cc1f11
MR
16892011-06-06 Martin Rudalics <rudalics@gmx.at>
1690
1691 * window.el (window-right, window-left, window-child)
1692 (window-child-count, window-last-child, window-any-p)
1693 (normalize-live-buffer, normalize-live-frame)
1694 (normalize-any-window, normalize-live-window)
1695 (window-iso-combination-p, window-iso-combined-p)
1696 (window-iso-combinations)
1697 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
1698 (windows-with-parameter, window-with-parameter)
1699 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
1700 (window-atom-check, window-side-check, window-check):
1701 New functions.
85cc1f11
MR
1702 (ignore-window-parameters, window-sides, window-sides-vertical)
1703 (window-sides-slots): New variables.
1704 (window-size-fixed): Move down in code. Minor doc-string fix.
1705
e7156492
AS
17062011-06-05 Andreas Schwab <schwab@linux-m68k.org>
1707
1708 * comint.el (comint-dynamic-complete-as-filename)
1709 (comint-dynamic-complete-filename): Correctly call
1710 completion-in-region.
1711
7e821d0d
DD
17122011-06-05 Deniz Dogan <deniz@dogan.se>
1713
1714 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
1715 in last change.
1716
ac09b8a1
DD
17172011-06-05 Deniz Dogan <deniz@dogan.se>
1718
1719 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
1720 (rcirc): Use it to prompt for encryption.
1721
34699b85
RW
17222011-06-05 Roland Winkler <winkler@gnu.org>
1723
1724 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
1725 (bibtex-search-entries): New command bound to C-c C-a.
1726 (bibtex-display-entries): New function.
1727
004dedd3
RW
17282011-06-05 Roland Winkler <winkler@gnu.org>
1729
1730 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
1731 (bibtex-insert-kill): After yanking insert newline if necessary.
1732 (bibtex-initialize): Call bibtex-string-files-init only once.
1733 (bibtex-mode): Do not call easy-menu-add.
1734 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
1735 (bibtex-yank): Set arg properly if nil.
1736
022fe7ce
RW
17372011-06-05 Roland Winkler <winkler@gnu.org>
1738
2b75be67
SM
1739 * textmodes/bibtex.el (bibtex-search-entry-globally):
1740 New variable.
022fe7ce
RW
1741 (bibtex-search-entry): Use it.
1742
b7c3692a
RW
17432011-06-05 Roland Winkler <winkler@gnu.org>
1744
1745 * textmodes/bibtex.el (bibtex-entry-format): New option
1746 sort-fields.
1747 (bibtex-format-entry, bibtex-reformat): Honor this option.
1748 (bibtex-parse-entry): Return fields in proper order.
1749
8eda563d
JB
17502011-06-05 Juanma Barranquero <lekktu@gmail.com>
1751
1752 * doc-view.el (doc-view-remove-if): Move computation of result out
1753 of `dolist' to silence misleading lexical-binding warning.
1754
7dbe3dbc
CY
17552011-06-04 Chong Yidong <cyd@stupidchicken.com>
1756
1757 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
1758 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
1759
0c33dd17
MA
17602011-06-04 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
1763 "SunOS 5.10".
1764
f8f91c2b
MA
17652011-06-04 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
1768 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
1769 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
1770 (tramp-parse-putty):
1771 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
1772 (tramp-completion-function-alist-ssh)
1773 (tramp-completion-function-alist-telnet)
1774 (tramp-completion-function-alist-su)
1775 (tramp-completion-function-alist-putty): Set `tramp-autoload'
1776 cookie.
1777
1778 * net/tramp-ftp.el:
1779 * net/tramp-sh.el:
1780 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
1781 load "tramp.el" `tramp-set-completion-function'.
1782
e17d9003
SM
17832011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * shell.el: Require and use pcomplete.
1786 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
1787 (shell-completion-vars): Set pcomplete-default-completion-function.
1788
6c4cab03
DD
17892011-06-04 Deniz Dogan <deniz@dogan.se>
1790
1791 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
1792 `memq' (Bug#8799).
1793
ea9fafe0
SM
17942011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1795
1796 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
1797
b3e945d3
JB
17982011-06-02 Juanma Barranquero <lekktu@gmail.com>
1799
1800 * bs.el (bs--mark-unmark, bs--nth-wrapper):
1801 * mpc.el (mpc-select-extend, mpc-songpointer-context):
1802 * vc/log-view.el (log-view-beginning-of-defun):
1803 * vc/smerge-mode.el (smerge-apply-resolution-patch)
1804 (smerge-refine-forward, smerge-refine-chopup-region):
1805 Silence warning for unused `dotimes' counter variables.
1806
7d520089
SM
18072011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * net/tramp.el (tramp-with-progress-reporter): Rename from
1810 with-progress-reporter. Use `declare'.
1811 * net/tramp-smb.el:
1812 * net/tramp-sh.el:
1813 * net/tramp-gvfs.el: Update all uses.
1814
a1c2400f
JB
18152011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
1816
1817 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
1818 buffer isn't killed before making it current.
1819
2403c841
SM
18202011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 Silence various byte-compiler warnings.
1823 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
1824 `access-type' and new obsolescence format.
1825 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
1826 new format.
1827 (byte-compile-check-variable): New `access-type' argument.
1828 Only warn if the access-type is obsolete.
1829 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
1830 (byte-compile-variable-set): Adjust callers.
1831 * help-fns.el (describe-variable): Adjust to new obsolescence format.
1832 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
1833 setting it as obsolete.
1834 * simple.el (minibuffer-completing-symbol):
1835 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
1836 access as obsolete.
1837 * minibuffer.el (minibuffer-completing-file-name): Don't make it
1838 obsolete yet.
1839 * international/quail.el (quail-mouse-choose-completion): Remove unused
1840 code referring to obsolete var.
1841 (quail-choose-completion-string): Remove.
1842 * server.el (server-clients-with, server-kill-buffer-query-function)
1843 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
1844 * proced.el (proced-send-signal):
1845 * emacs-lisp/lisp.el (lisp-complete-symbol):
1846 Replace completion-annotate-function with completion-extra-properties.
1847
2462470b
SM
18482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1849
fb5b2591
SM
1850 * simple.el (goto-line): Use read-number.
1851 (overriding-map-is-bound): Remove.
1852 (saved-overriding-map): Change default.
1853 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
1854 Take the map as argument.
1855 (universal-argument, negative-argument, digit-argument): Use it.
1856 (restore-overriding-map): Adjust.
1857 (do-auto-fill): Use fill-forward-paragraph.
1858 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
1859
fd6fa53f
SM
1860 * minibuffer.el (minibuffer-inactive-mode-map): New var.
1861 (minibuffer-inactive-mode): New major mode.
1862 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
1863 the *Messages* buffer" hack.
1864 (mouse-popup-menubar): Don't burp if the event is a normal key.
1865
2462470b
SM
1866 Miscellaneous tweaks.
1867 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
1868 lexical scoping as in subr.el's dolist and dotimes.
1869 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
1870 Silence compiler warning.
1871 * thingatpt.el (forward-whitespace): Trivial coding style fix.
1872 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
1873 * international/ccl.el (ccl-compile): Trivial simplification.
1874 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
1875 * emacs-lisp/testcover.el (testcover-end): Remove spurious
1876 `printflag' argument.
1877 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
1878 Purecopy the whole obsolescence data.
1879
108bf785
LL
18802011-06-01 Leo Liu <sdl.web@gmail.com>
1881
1882 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
1883 improve doc-string as suggested by Marco Pessotto
1884 <melmothx@gmail.com>.
1885 (rcirc-print): Fix last change.
1886
30a23501
SM
18872011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * minibuffer.el (complete-with-action): Return nil for the metadata and
1890 boundaries of non-functional tables.
1891 (completion-table-dynamic): Return nil for the metadata.
1892 (completion-table-with-terminator): Add default case, using
1893 complete-with-action.
1894 (completion--metadata): New function.
1895 (completion-all-sorted-completions, minibuffer-completion-help): Use it
1896 to try and avoid pathological performance problems.
1897 (completion--embedded-envvar-table): Return `category' metadata.
1898
bcd54f83
LMI
18992011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
1900
1901 * subr.el (process-alive-p): New tiny convenience function.
1902
e227544d
SM
19032011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1904
1905 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
1906 content but also its previous major mode.
1907
e8296fdc
HE
19082011-05-31 Helmut Eller <eller.helmut@gmail.com>
1909
1910 * debug.el (debug): Restore the previous content of the
1911 *Backtrace* buffer when we exit with C-M-c.
1912
620c53a6
SM
19132011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1914
1915 * minibuffer.el: Add metadata method to completion tables.
1916 (completion-category-overrides): New defcustom.
1917 (completion-metadata, completion--field-metadata)
1918 (completion-metadata-get, completion--styles)
1919 (completion--cycle-threshold): New functions.
1920 (completion-try-completion, completion-all-completions):
1921 Add `metadata' argument to choose completion-styles.
1922 (completion--do-completion): Use metadata to choose cycling.
1923 (completion-all-sorted-completions): Use metadata for sorting.
1924 Remove :completion-cycle-penalty which is not needed any more.
1925 (completion--try-word-completion): Add `metadata' argument.
1926 (minibuffer-completion-help): Check metadata for annotation function
1927 and sorting.
1928 (completion-file-name-table): Return `category' metadata.
1929 (minibuffer-completing-file-name): Make obsolete.
1930 * simple.el (minibuffer-completing-symbol): Make obsolete.
1931 * icomplete.el (icomplete-completions): Pass new `metadata' param to
1932 completion-try-completion.
1933
1257e755
SM
19342011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
1935
1936 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
1937
3767e706
LL
19382011-05-30 Leo Liu <sdl.web@gmail.com>
1939
1940 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
1941 (rcirc-print): Decode all incoming messages (bug#8744).
1942 (rcirc-decode-coding-system): Allow value nil for automatic coding
1943 system detection.
3767e706 1944
d1a5d56a
GM
19452011-06-01 Glenn Morris <rgm@gnu.org>
1946
1947 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
1948
e8cbec34
CY
19492011-05-29 Chong Yidong <cyd@stupidchicken.com>
1950
1951 * image.el (image-animate-max-time): Allow nil and t values.
1952 Default to nil.
1953 (create-animated-image): Doc fix.
1954 (image-animate-start): Remove second arg; just use
1955 image-animate-max-time.
1956 (image-animate-timeout): Doc fix. Args changed.
1957
1958 * image-mode.el (image-toggle-display-image): Ensure that the
1959 image spec passed to the animate timer is the same object as in
1960 the the buffer's display property (Bug#6981).
1961 (image-transform-properties): Doc fix.
1962
1963 * image.el (image-animate-max-time): Default to nil.
1964
159daf87
MR
19652011-05-29 Martin Rudalics <rudalics@gmx.at>
1966
1967 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
1968 entire buffer list (Bug#8184).
1969
d66c4c7c
CY
19702011-05-29 Chong Yidong <cyd@stupidchicken.com>
1971
1972 * image.el (imagemagick-types-inhibit)
1973 (imagemagick-register-types): Doc fix.
1974
80aec780
DD
19752011-05-29 Deniz Dogan <deniz@dogan.se>
1976
1977 * net/rcirc.el (rcirc): Use the user's stored encryption method by
1978 default.
1979
1dd3c2d9
CY
19802011-05-29 Chong Yidong <cyd@stupidchicken.com>
1981
1982 * select.el: Don't perform clipboard-manager saving in hooks;
1983 leave the hooks empty.
1984
60e56523
LL
19852011-05-28 Leo Liu <sdl.web@gmail.com>
1986
1987 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
1988 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
1989 (occur-edit-mode): New major mode (Bug#8463).
1990 (occur-after-change-function): New function.
1991 (occur-engine): Give Occur tags a read-only property.
1992
2b1e1a22
KR
19932011-05-28 Kevin Ryde <user42@zip.com.au>
1994
1995 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
1996
5d344e88
CY
19972011-05-28 Chong Yidong <cyd@stupidchicken.com>
1998
8e6ca83d
CY
1999 * bindings.el (help-echo): Make the initial non-indicator dash
2000 empty on graphical terminals (Bug#7295).
2001
5d344e88
CY
2002 * files.el (auto-mode-alist): Move config rule after the
2003 in-stripping one (Bug#8547).
2004
bfbbace7
CY
2005 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
2006
fbeba6e2
CY
2007 * startup.el (normal-splash-screen): Remove gratuitous mode-line
2008 setting (Bug#8740).
2009
60ed8c72
AA
20102011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
2011
4ac619f0
AA
2012 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
2013 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
2014 (Bug#8539).
60ed8c72 2015
23db196e
CY
20162011-05-28 Chong Yidong <cyd@stupidchicken.com>
2017
2018 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
2019
5012f24c
DK
20202011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
2021
2022 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
2023 (hs-hide-block-at-point, hs-find-block-beginning)
2024 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
2025 (Bug#8279).
2026
6a639b16
GM
20272011-05-28 Glenn Morris <rgm@gnu.org>
2028
2029 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
2030
d43eaf2c
CY
20312011-05-28 Chong Yidong <cyd@stupidchicken.com>
2032
5199bde1
CY
2033 * help-fns.el (describe-function-1): If the function is a derived
2034 major mode, print the parent mode.
2035
d43eaf2c
CY
2036 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
2037 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
2038
423428a8
SM
20392011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
2040
0ff8e1ba
SM
2041 * minibuffer.el (completion--capf-wrapper): Check applicability before
2042 retuning non-nil for non-exclusive completion data.
2043 * progmodes/etags.el (tags-completion-at-point-function):
2044 * info-look.el (info-lookup-completions-at-point): Mark as
2045 non-exclusive.
2046 (info-complete): Adjust accordingly.
2047
423428a8
SM
2048 * info-look.el: Convert to lexical-binding and completion-at-point.
2049 (info-lookup-completions-at-point): New function.
2050 (info-complete): Use it and completion-in-region.
2051
b74aa22b
DA
20522011-05-28 Drew Adams <drew.adams@oracle.com>
2053
2054 * isearch.el: Let M-e start with point at the first mismatched char.
2055 (isearch-fail-pos): New function.
2056 (isearch-edit-string): Use it.
2057
66e2e71d
DK
20582011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2059
2060 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2061
eb95d01d
TC
20622009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2063
2064 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
2065 traversal functions for avl-trees.
2066 (avl-tree--stack): New struct.
2067 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
2068 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
2069 (avl-tree--do-enter): Add optional `updatefun' arg.
2070 Change return value.
eb95d01d 2071 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
2072 (avl-tree--do-delete): Add `test' and `nilflag' args.
2073 Change return value.
eb95d01d
TC
2074 (avl-tree-member): Add optional `nilflag'
2075 (avl-tree-member-p): New function.
2076 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
2077 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
2078 (avl-tree-stack-empty-p): New functions.
2079
3769ddcf
TC
20802009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
2081
2082 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
2083 avl-tree--del-balance1 and make it work both ways.
2084 (avl-tree--del-balance2): Remove.
2085 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
2086 make it work both ways.
2087 (avl-tree--enter-balance2): Remove.
2088 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
2089 New macros.
2090 (avl-tree--mapc, avl-tree-map): Add direction argument.
2091
eb95d01d 20922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
2093
2094 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
2095
a9f737ee
CY
20962011-05-27 Chong Yidong <cyd@stupidchicken.com>
2097
2098 * select.el: Support clipboard managers with built-in function
2099 x-clipboard-manager-save, via delete-frame-functions and
2100 kill-emacs-hook.
2101 (xselect-convert-to-targets): Add MULTIPLE target to list.
2102 (xselect-convert-to-save-targets): New function.
2103
c92a1e54
KH
21042011-05-27 Kenichi Handa <handa@m17n.org>
2105
2106 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
2107 let-binding rfc2047-encode-encoded-words to nil.
2108
e145f188
GM
21092011-05-27 Glenn Morris <rgm@gnu.org>
2110
5ec8a862
GM
2111 * mail/emacsbug.el: Don't require url-util.
2112
4b29d9fb
GM
2113 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
2114
e145f188
GM
2115 * files.el (set-auto-mode):
2116 Also respect mode: entries at the end of the file. (Bug#8586)
2117
7d15102b
GM
21182011-05-26 Glenn Morris <rgm@gnu.org>
2119
98f593b8
GM
2120 * files.el (hack-local-variables-prop-line, hack-local-variables):
2121 Downcase mode names, as seems to be traditional.
27b48e63 2122 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 2123
7d15102b
GM
2124 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
2125 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
2126
51d5b4ec
JD
21272011-05-25 Julien Danjou <julien@danjou.info>
2128
2129 * textmodes/rst.el (rst-define-level-faces): Do not define face
2130 symbol if it is already defined.
2131
91513f63
VB
21322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2133
2134 * play/5x5.el (5x5-new-game, 5x5-randomize):
2135 Reset 5x5-solver-output to nil when a new grid is cast.
2136 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
2137 these debugging traces, as defmacro breaks the compiled code.
2138
4d90d6d0
DK
21392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
2140
2141 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
2142
e1b90ef6
LL
21432011-05-24 Leo Liu <sdl.web@gmail.com>
2144
2145 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
2146 (vc-bzr-sha1): Adapt.
2147
d8e4b68b 2148 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
2149
2150 * bindings.el: Provide sha1 feature.
2151
db0406bb 21522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
2153
2154 * mail/sendmail.el: Require `rfc2047'.
2155 (mail-insert-from-field): Do not perform RFC2047 encoding.
2156 (mail-encode-header): New function.
2157 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
2158 buffer to the return value of select-message-coding-system.
2159 Call mail-encode-header.
b8d747b9
KH
2160
2161 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
2162
db0406bb 21632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 2164
4d90d6d0
DK
2165 * mail/supercite.el (sc-default-cite-frame):
2166 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 2167
eb8a5e9b
GM
21682011-05-24 Glenn Morris <rgm@gnu.org>
2169
f8630703
GM
2170 * progmodes/python.el (brm-menu): Declare.
2171
8831bbed
GM
2172 * emulation/viper.el (viper-set-hooks): Declare.
2173
eb8a5e9b
GM
2174 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
2175 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
2176 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
2177 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
2178 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
2179 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
2180
a2a25d24
SM
21812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 Add an :exit-function for completion-at-point.
2184
2185 * minibuffer.el (completion--done): New fun.
2186 (completion--do-completion): Use it. New arg `expect-exact'.
2187 (minibuffer-complete, minibuffer-complete-word): Don't output message,
2188 since completion--do-completion does it for us now.
2189 (minibuffer-force-complete): Use completion--done and
2190 completion--replace. Handle sole-completion case with more care.
2191 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
2192 (completion-extra-properties): New var.
2193 (completion-annotate-function): Make obsolete.
2194 (minibuffer-completion-help): Adjust accordingly.
2195 Use completion-list-insert-choice-function.
2196 (completion-at-point, completion-help-at-point):
2197 Bind completion-extra-properties.
2198 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
2199 * simple.el (completion-list-insert-choice-function): New var.
2200 (completion-setup-function): Preserve it.
2201 (choose-completion): Pay attention to it, shuffle the code a bit.
2202 (choose-completion-string): New arg `insert-function'.
2203
2204 * textmodes/bibtex.el: Convert to lexical binding.
2205 (bibtex-mode-map): Use completion-at-point.
2206 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
2207 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
2208 (bibtex-complete): Define as obsolete alias.
2209 (bibtex-complete-internal): Remove.
2210 (bibtex-format-entry): Remove unused sub-group in regexp.
2211 * shell.el (shell--command-completion-data)
2212 (shell-environment-variable-completion):
2213 * pcomplete.el (pcomplete-completions-at-point):
2214 * comint.el (comint--complete-file-name-data): Use :exit-function
2215 instead of completion-table-with-terminator so it also works for
2216 choose-completion.
2217
e44e373d
SM
22182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2219
4f91a816
SM
2220 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
2221
782fc819
SM
2222 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
2223 (bug#8710).
2224
e44e373d
SM
2225 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
2226
381987c3
KM
22272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
2228
2229 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
2230 customization variable and implement: If non-nil, auto-fill will
2231 be inhibited while on topic's header line.
2232
b776bc70
VB
22332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
2234
2235 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 2236 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
2237 always have a solution in grid size = 5 cases.
2238 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
2239 (5x5-solver-output, 5x5-log-buffer): New vars.
2240 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
2241 Make these variables buffer local to achieve 5x5 multi-session-ness.
2242 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
2243 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
2244 (5x5-solve-suggest): New funs.
2245 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
2246 randomize a grid so that we ensure that there is always a solution.
2247 (5x5-make-random-grid): Allow other movement than flipping.
2248
7de88b6e
KR
22492011-05-23 Kevin Ryde <user42@zip.com.au>
2250
2251 * emacs-lisp/advice.el (ad-read-advised-function):
2252 Use `function-called-at-point' as the default default, if it has
2253 advice and passes PREDICATE.
2254
b1ef1257
SM
22552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
2256
bbca48fe
SM
2257 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
2258 byte-compile-lambda if it's actually a lambda.
2259
b1ef1257
SM
2260 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
2261 Fix function quoting. Use backquote better.
2262
92a9cc65
YS
22632011-05-22 Yuanle Song <sylecn@gmail.com>
2264
2265 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
2266 matching (Bug#8516).
2267
f0fb8059
JA
22682011-01-22 Jari Aalto <jari.aalto@cante.net>
2269
2270 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
2271 different face (Bug#8178).
2272
d5b44c93
CY
22732011-05-22 Chong Yidong <cyd@stupidchicken.com>
2274
2275 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
2276 defface (Bug#8144).
2277
79106a44
SM
22782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
2279
9c848d8a
SM
2280 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
2281 funcall as well (bug#8712). Warn when performing those conversions.
2282 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
2283
79106a44
SM
2284 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
2285
88dfa756
GM
22862011-05-22 Glenn Morris <rgm@gnu.org>
2287
2288 * files.el (hack-local-variables-prop-line): Small simplifications.
2289 (hack-local-variables, hack-local-variables-prop-line):
2290 If MODE-ONLY, return the mode, rather than just `t'.
2291
b7cf2c79
SM
22922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
2295
3f1a8558
GM
22962011-05-21 Glenn Morris <rgm@gnu.org>
2297
7e4ccca3
GM
2298 * files.el (hack-local-variables-prop-line, hack-local-variables):
2299 If only interested in the mode, don't bother doing the other stuff.
2300
637d46ca
GM
2301 * image-mode.el (image-after-revert-hook):
2302 Redraw all frames on which the image is visible. (Bug#8567)
2303
973d955b
GM
2304 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
2305
3f1a8558
GM
2306 * wid-edit.el (widget-checklist-match-inline):
2307 Fix 2011-04-19 change. (Bug#8649)
2308
96479927
SM
23092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
2310
1dcf791f
SM
2311 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
2312 Also allow singlespace after single-letter capitals followed by a dot.
2313
96479927
SM
2314 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
2315 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
2316
35fd0881
N
23172011-05-20 Nix <nix@esperi.org.uk>
2318
2319 * files.el (basic-save-buffer-2):
2320 Fix handling of break-hardlink-on-save with non-existent files.
2321
82745640
DD
23222011-05-19 Deniz Dogan <deniz@dogan.se>
2323
2324 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 2325 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 2326
4a720484
GM
23272011-05-19 Glenn Morris <rgm@gnu.org>
2328
d1f21341
GM
2329 * progmodes/f90.el (f90-type-def-re):
2330 Handle "type, bind(c)". (Bug#8691)
2331
4a720484
GM
2332 * emacs-lisp/autoload.el (batch-update-autoloads):
2333 Set autoload-excludes by parsing loadup.el rather than Makefiles.
2334
2fb0a219
MA
23352011-05-18 Michael Albinus <michael.albinus@gmx.de>
2336
2337 * net/tramp.el (tramp-process-actions): Set "first-password-request"
2338 property for the correct connection in case of multihops.
2339
e565dd37
GM
23402011-05-18 Glenn Morris <rgm@gnu.org>
2341
c2571358 2342 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
2343 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
2344
e565dd37
GM
2345 Rationalize calendar handling of day and month abbrev-arrays.
2346 * calendar/calendar.el (calendar-customized-p): New function.
2347 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
2348 (calendar-day-name-array, calendar-month-name-array): Doc fix.
2349 Add :set function.
2350 (calendar-abbrev-length, calendar-day-abbrev-array)
2351 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
2352 (calendar-day-abbrev-array, calendar-month-abbrev-array):
2353 Elements may no longer be nil.
2354 (calendar-day-name, calendar-month-name):
2355 Update for changed nature of abbrev arrays.
2356 * calendar/diary-lib.el (diary-name-pattern):
2357 Update for changed nature of abbrev arrays.
2358 (diary-mark-entries-1): Update calendar-make-alist calls.
2359 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
2360 * calendar/cal-html.el (cal-html-day-abbrev-array):
2361 Simply inherit from calendar-day-abbrev-array.
2362
1d99a745
SM
23632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
2364
2365 * progmodes/grep.el (grep-mode): Disable default
2366 compilation-directory-matcher setting (bug#8684).
2367
7c1d9aa0
MA
23682011-05-17 Michael Albinus <michael.albinus@gmx.de>
2369
2370 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
2371 instead of "head" and "tail". There were problems with SunOS 5.9,
2372 and it performs better.
2373
3952e9d8
GM
23742011-05-17 Glenn Morris <rgm@gnu.org>
2375
2dd12e7f
GM
2376 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
2377
e4157b9c
GM
2378 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2379 Replace obsolete function.
2380
8e249bbd
GM
2381 * shell.el (pcomplete-parse-arguments-function): Declare.
2382
3952e9d8
GM
2383 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
2384 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
2385 (appt-check): Doc fixes.
2386 (appt-disp-window-function, appt-delete-window-function):
2387 Remove needless special case in custom :type.
2388 (appt-display-count): Default to 0, not nil.
2389 (appt-check): Reset appt-display-count to 0, not nil.
2390
c71a0d48 23912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 2392
c71a0d48
GM
2393 * progmodes/python.el (python-font-lock-keywords):
2394 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 2395
31d55be9
SM
23962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
2399
3bfacb2f
KR
24002011-05-16 Kevin Ryde <user42@zip.com.au>
2401
2402 * info-look.el (makefile-automake-mode): New setups, looking in
2403 automake manual, then makefile-mode.
2404 (makefile-mode): Remove automake manual, have it just in
2405 makefile-automake-mode since there's various things different or
2406 not relevant to plain make.
2407 (makefile-mode): Remove "other-modes" non-existent automake-mode,
2408 believe a hypothetical automake-mode would go to makefile-mode,
2409 not the other way around.
2410
c8e83751
CY
24112011-05-15 Chong Yidong <cyd@stupidchicken.com>
2412
5e9e35cd
CY
2413 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
2414 hunk-end tags (Bug#8672).
2415
c8e83751
CY
2416 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
2417 vc-annotate-show-diff-revision-at-line (Bug#8671).
2418
50b23e5a
GM
24192011-05-14 Glenn Morris <rgm@gnu.org>
2420
7210a739
GM
2421 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
2422 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
2423 (change-log-font-lock-keywords): Also handle multiple author lines
2424 with leading tabs. (Bug#8644)
7210a739 2425
4691905a
GM
2426 * calendar/appt.el (appt-check): Rename some local variables.
2427 Some simplification/reordering.
2428
50b23e5a
GM
2429 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
2430 (feedmail-sendmail-f-doesnt-sell-me-out)
2431 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2432 (feedmail-debug-sit-for, feedmail-queue-express-hook)
2433 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
2434 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
2435 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
2436 (feedmail-binmail-gnulinuxish-template):
2437 Rename from feedmail-binmail-linuxish-template.
2438 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
2439 Use insert-buffer-substring.
2440
215cda7c
BC
24412011-05-14 Bill Carpenter <bill@carpenter.org>
2442
2443 * mail/feedmail.el (feedmail-patch-level): Increase.
2444 (feedmail-debug): New custom group.
2445 (feedmail-confirm-outgoing-timeout)
2446 (feedmail-sendmail-f-doesnt-sell-me-out)
2447 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
2448 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
2449 (feedmail-sender-line, feedmail-from-line)
2450 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 2451 (feedmail-spray-this-address)
215cda7c
BC
2452 (feedmail-spray-address-fiddle-plex-list)
2453 (feedmail-queue-use-send-time-for-date)
2454 (feedmail-queue-use-send-time-for-message-id)
2455 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
2456 (feedmail-buffer-eating-function):
2457 Doc fixes.
2458 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
2459 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
2460 (feedmail-message-action-scroll-down): New functions.
2461 (feedmail-queue-directory, feedmail-queue-draft-directory):
2462 Use expand-file-name.
2463 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
2464 Remove C-v help entry.
2465 (feedmail-queue-buffer-file-name): New variable.
2466 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
2467 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
2468 (feedmail-message-action-send-strong, feedmail-message-action-edit)
2469 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
2470 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
2471 (feedmail-message-action-toggle-spray)
2472 (feedmail-run-the-queue-no-prompts)
2473 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
2474 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
2475 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
2476 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
2477 (feedmail-envelope-deducer, feedmail-fiddle-from)
2478 (feedmail-fiddle-sender, feedmail-default-date-generator)
2479 (feedmail-fiddle-date, feedmail-fiddle-message-id)
2480 (feedmail-fiddle-spray-address)
2481 (feedmail-fiddle-list-of-spray-fiddle-plexes)
2482 (feedmail-fiddle-list-of-fiddle-plexes)
2483 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
2484 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
2485 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
2486 Change default. Doc fix.
2487 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
2488 (feedmail-binmail-linuxish-template): New constant.
2489 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
2490 Respect feedmail-sendmail-f-doesnt-sell-me-out.
2491 (feedmail-send-it): Add debug call.
2492 Use feedmail-queue-buffer-file-name, and
2493 feedmail-send-it-immediately-wrapper.
2494 (feedmail-message-action-send): Add debug call.
2495 Use feedmail-send-it-immediately-wrapper.
2496 (feedmail-queue-express-to-queue): Add debug call.
2497 Run feedmail-queue-express-hook.
2498 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
2499 (feedmail-message-action-help-blat):
2500 Rename from feedmail-queue-send-edit-prompt-help-first.
2501 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
2502 Check line-endings. Handle errors better.
2503 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
2504 Doc fix. Add debug call.
2505 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
2506 Use feedmail-queue-send-edit-prompt-inner.
2507 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
2508 (feedmail-queue-send-edit-prompt-inner): New function, extracted
2509 from feedmail-queue-send-edit-prompt.
2510 (feedmail-queue-send-edit-prompt-help)
2511 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
2512 (feedmail-tidy-up-slug): Add debug call.
2513 Respect feedmail-queue-slug-suspect-regexp.
2514 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
2515 (feedmail-dump-message-to-queue): Add debug call.
2516 Expand queue-directory.
2517 (feedmail-dump-message-to-queue): Change message slightly.
2518 Use feedmail-say-chatter.
2519 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
2520 (feedmail-send-it-immediately-wrapper): New function.
2521 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
2522 Insert empty string rather than newline. Handle full-frame case.
2523 Use catch/throw. Use feedmail-say-chatter.
2524 (feedmail-fiddle-from): Try mail-host-address.
2525 (feedmail-default-message-id-generator): Doc fix.
2526 Bind system-time-locale. Handle missing end.
2527 (feedmail-fiddle-x-mailer): Add debug call.
2528 Handle feedmail-x-mailer-line being nil.
2529 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
2530 Add debug call. Use buffer-substring-no-properties.
2531 (feedmail-say-debug, feedmail-say-chatter): New functions.
2532 (feedmail-find-eoh): Give an explicit error.
2533
42c7e61e
UJ
25342011-05-13 Ulf Jasper <ulf.jasper@web.de>
2535
c2571358 2536 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 2537 family from helvetica to sans.
c2571358 2538 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
2539 etc/images/newsticker.
2540
c2571358 2541 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
2542 family from helvetica to sans.
2543
2544 * net/newst-plainview.el (newsticker-new-item-face)
2545 (newsticker-old-item-face, newsticker-immortal-item-face)
2546 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 2547 (newsticker-statistics-face): Change default family from
42c7e61e 2548 helvetica to sans.
c2571358 2549 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
2550 etc/images/newsticker.
2551
2552 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
2553 (newsticker--process-auto-mark-filter-match): : Tell user about
2554 auto-marking.
2555
8497a297
DV
25562011-05-13 Didier Verna <didier@xemacs.org>
2557
2558 Common Lisp indentation improvements on defmethod and lambda-lists.
2559 * cl-indent.el: Advertise the changes and remove obsolete TODO entries.
2560 (lisp-lambda-list-keyword-parameter-indentation)
2561 (lisp-lambda-list-keyword-parameter-alignment)
2562 (lisp-lambda-list-keyword-alignment): New customizable user options.
2563 (lisp-indent-defun-method): Improve docstring.
2564 (extended-loop-p): Fix comment.
2565 (lisp-indent-lambda-list-keywords-regexp): New variable.
2566 (lisp-indent-lambda-list): New function.
2567 (lisp-indent-259): Use it.
2568 (lisp-indent-defmethod): Support for more than one
2569 method qualifier and properly indent methods lambda-lists.
2570 (defgeneric): Provide a missing common-lisp-indent-function property.
2571
f278f87f
SM
25722011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
2573
2574 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
2575 bounds for the empty string (bug#8667).
2576
5233edd7
GM
25772011-05-13 Glenn Morris <rgm@gnu.org>
2578
5237a44f
GM
2579 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
2580
8340026c 2581 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 2582 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 2583
5233edd7 2584 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 2585 (appt-time-msg-list): Doc fix.
a5464014 2586 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 2587
92d10796
AS
25882011-05-12 Andreas Schwab <schwab@linux-m68k.org>
2589
2590 * progmodes/ld-script.el (ld-script-keywords)
2591 (ld-script-builtins): Update keywords list.
2592
914a0ae1
SM
25932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2594
c89be45f
SM
2595 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
2596
914a0ae1
SM
2597 * shell.el (shell-completion-vars): New function.
2598 (shell-mode):
2599 * simple.el (read-shell-command): Use it.
2600 (blink-matching-open): No need for " [...]" in minibuffer-message.
2601
98dc3df3
GM
26022011-05-12 Glenn Morris <rgm@gnu.org>
2603
2604 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
2605 (appt-check): Simplify.
2606
d2fc7e3d 26072011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21
EZ
2608
2609 * smerge-mode.el (smerge-resolve): Use null-device rather than a
2610 literal "/dev/null".
2611
d2fc7e3d 26122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
2613
2614 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
2615 Fix typo.
2616
d2fc7e3d 26172011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 2618
3f254caa
SM
2619 * progmodes/which-func.el (which-function):
2620 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
2621 which might not be defined (Bug#8260).
2622
d45885f7
GM
26232011-05-12 Glenn Morris <rgm@gnu.org>
2624
2625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
2626 Let byte-compile-initial-macro-environment always take precedence.
2627
488086f4
SM
26282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
2629
2630 * net/rcirc.el: Add support for SSL/TLS connections.
2631 (rcirc-server-alist): New field `encryption'.
2632 (rcirc): Check `encryption' settings.
2633 (rcirc-connect): New arg `encryption'. Use open-network-stream.
2634 Merge make-local-variable into `set'.
2635 (rcirc--connection-open-p): New function.
2636 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
2637 the process is not a network process (e.g. running gnutls-cli).
2638 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
2639 Make rcirc-(en|de)code-coding-system local here.
2640 (rcirc-mode): Merge make-local-variable into `set'.
2641 (rcirc-parent-buffer): Make permanent buffer-local.
2642 (rcirc-multiline-minor-mode): Don't do it here.
2643 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
2644 there's no server buffer.
2645
7d3b9d44
GM
26462011-05-11 Glenn Morris <rgm@gnu.org>
2647
f64049c6
GM
2648 * newcomment.el (comment-kill): Prefix "unused" local.
2649
93c9df73
GM
2650 * term/w32console.el (get-screen-color): Declare.
2651
7d3b9d44
GM
2652 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2653 Handle symbol elements of byte-compile-initial-macro-environment.
2654
9e2dd53f
LL
26552011-05-10 Leo Liu <sdl.web@gmail.com>
2656
488086f4
SM
2657 * bookmark.el (bookmark-bmenu-mode-map):
2658 Bind bookmark-bmenu-search to `/'.
8b340240 2659
9e2dd53f 2660 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
2661 (footnote-unicode-string, footnote-unicode-regexp): New variable.
2662 (Footnote-unicode): New function.
2663 (footnote-style-alist): Add unicode style to the list.
2664 (footnote-style): Doc fix.
9e2dd53f 2665
79b70037
GM
26662011-05-10 Jim Meyering <meyering@redhat.com>
2667
2668 Fix doubled-word typos.
2669 * international/quail.el (quail-insert-kbd-layout): and and -> and
2670 * kermit.el: and and -> and
2671 * net/ldap.el (ldap-search-internal): to to -> to
2672 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
2673 * progmodes/js.el (js-mode): and and -> and
2674 * textmodes/artist.el (artist-move-to-xy): at at -> at
2675 (artist-draw-region-trim-line-endings): if if -> if
2676 And Safetyc -> Safety.
2677 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
2678
b8f82dc1 26792011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 2680 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
2681
2682 * files.el (hack-one-local-variable-eval-safep):
2683 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
2684
4f99f44b
GM
26852011-05-10 Glenn Morris <rgm@gnu.org>
2686
2687 * calendar/diary-lib.el (diary-list-entries-hook)
2688 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
2689 (diary-nongregorian-marking-hook, diary-list-entries)
2690 (diary-include-other-diary-files, diary-mark-entries)
2691 (diary-mark-included-diary-files): Doc fixes.
2692
84f29e6b
JB
26932011-05-09 Juanma Barranquero <lekktu@gmail.com>
2694
2695 * misc.el: Require tabulated-list.el during compilation.
2696
9bedd73a
CY
26972011-05-09 Chong Yidong <cyd@stupidchicken.com>
2698
488086f4
SM
2699 * progmodes/compile.el (compilation-start):
2700 Run compilation-filter-hook for the async case too.
9bedd73a
CY
2701 (compilation-filter-hook): Doc fix.
2702
797c735c
DD
27032011-05-09 Deniz Dogan <deniz@dogan.se>
2704
2705 * wdired.el: Remove outdated installation comment. Fix usage
2706 comment.
2707
5f4b1dfe
JB
27082011-05-09 Juanma Barranquero <lekktu@gmail.com>
2709
2710 * misc.el: Implement new command `list-dynamic-libraries'.
2711 (list-dynamic-libraries--loaded-only-p): New variable.
2712 (list-dynamic-libraries--refresh): New function.
2713 (list-dynamic-libraries): New command.
2714
4c44026c
CY
27152011-05-09 Chong Yidong <cyd@stupidchicken.com>
2716
488086f4
SM
2717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2718 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
2719 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
2720 higher priority to avoid clobbering by gnu.
2721
027f966d
CY
27222011-05-08 Chong Yidong <cyd@stupidchicken.com>
2723
2724 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
2725 if the face has existing theme settings (Bug#8454).
2726
085f5d7d
CY
27272011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
2728
488086f4
SM
2729 * progmodes/perl-mode.el (perl-imenu-generic-expression):
2730 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 2731
2a86a00c
RS
2732 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
2733 special file names `.' and `..' (Bug#8259).
2734
d9c54a06
CY
27352011-05-08 Chong Yidong <cyd@stupidchicken.com>
2736
488086f4
SM
2737 * progmodes/grep.el (grep-mode-font-lock-keywords):
2738 Remove buffer-changing entries.
d9c54a06
CY
2739 (grep-filter): New function.
2740 (grep-mode): Add it to compilation-filter-hook.
2741
2742 * progmodes/compile.el (compilation-filter-hook)
2743 (compilation-filter-start): New defvars.
2744 (compilation-filter): Call compilation-filter-hook prior to
2745 updating the process mark.
2746
c4662635
SM
27472011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2748
2749 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
2750
b0512a1d
EZ
27512011-05-07 Eli Zaretskii <eliz@gnu.org>
2752
605c9376
EZ
2753 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
2754 mailclient-send-it even if window-system is nil. (Bug#8595)
2755
c4662635
SM
2756 * term/w32console.el (terminal-init-w32console):
2757 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
2758 background-mode. (Bug#8597)
2759
d1dc2cc2
SM
27602011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
2761
2762 Make bytecomp.el understand that defmethod defines funs (bug#8631).
2763 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
2764 New functions.
2765 (defgeneric, eieio--defmethod): Use them.
2766 (eieio-defgeneric): Remove.
2767 (defmethod): Call defgeneric in a way visible to the byte-compiler.
2768
915d1300
GM
27692011-05-07 Glenn Morris <rgm@gnu.org>
2770
a3961c3e
GM
2771 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
2772 Use let rather than let*.
2773 (timeclock-find-discrep): Remove unused local.
2774
314347b9
GM
2775 * calendar/diary-lib.el (diary-comment-start): Doc fix.
2776
915d1300
GM
2777 * calendar/appt.el (appt-time-msg-list): Doc fix.
2778
275b59b0
NF
27792011-05-06 Noah Friedman <friedman@splode.com>
2780
2781 * apropos.el (apropos-print-doc): Only use
2782 emacs-lisp-docstring-fill-column when it is bound to an integer,
2783 per that variable's documentation.
2784
6c19f744
SM
27852011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 2788 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 2789
60f884b2
GM
27902011-05-06 Glenn Morris <rgm@gnu.org>
2791
5006e634
GM
2792 * calendar/appt.el (appt-message-warning-time): Doc fix.
2793 (appt-warning-time-regexp): New option.
2794 (appt-make-list): Respect appt-message-warning-time.
2795
548d0a63
GM
2796 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
2797 New options.
2798 (diary-add-to-list): Strip comments from the displayed string.
2799 (diary-mode): Set comment-start and comment-end.
2800
60f884b2
GM
2801 * vc/diff-mode.el (smerge-refine-subst): Declare.
2802 (diff-refine-hunk): Don't require smerge-mode when compiling.
2803
989681bb
JB
28042011-05-06 Juanma Barranquero <lekktu@gmail.com>
2805
2806 * simple.el (list-processes): Return nil as the docstring says.
2807
a6bc05e1
MA
28082011-05-05 Michael Albinus <michael.albinus@gmx.de>
2809
2810 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
2811 to "".
2812 (ange-ftp-write-region, ange-ftp-insert-file-contents)
2813 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
2814 determining of binary transfer. (Bug#7383)
2815
23c22e9a
MA
28162011-05-05 Michael Albinus <michael.albinus@gmx.de>
2817
c4662635
SM
2818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2819 Fix port computation bug. (Bug#8618)
23c22e9a 2820
0bff894f
GM
28212011-05-05 Glenn Morris <rgm@gnu.org>
2822
b8296902
GM
2823 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
2824
1f522ce8
GM
2825 * simple.el (shell-dynamic-complete-functions)
2826 (comint-dynamic-complete-functions): Declare.
2827
cf5bee67
GM
2828 * net/network-stream.el (gnutls-negotiate):
2829 * simple.el (tabulated-list-print): Fix declarations.
2830
2831 * progmodes/gud.el (syntax-symbol, syntax-point):
2832 Remove unnecessary and incorrect declarations.
2833
0bff894f
GM
2834 * emacs-lisp/check-declare.el (check-declare-scan):
2835 Handle byte-compile-initial-macro-environment in bytecomp.el
2836
9869b3ae
SM
28372011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2838
2839 Fix earlier half-done eieio-defmethod change (bug#8338).
2840 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
2841 Streamline and change calling convention.
2842 (defmethod): Adjust accordingly and simplify.
2843 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
2844 new eieio--defmethod.
2845 (slot-boundp): Minor CSE simplification.
2846
9c1d5ac5
MZ
28472011-05-05 Milan Zamazal <pdm@zamazal.org>
2848
2849 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
2850 (glasses-make-readable): Use glasses-separate-capital-groups.
2851
455c834e
JB
28522011-05-05 Juanma Barranquero <lekktu@gmail.com>
2853
2854 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
2855 (warning-series): Doc fix.
2856 (display-warning): Don't try to create the buffer if we just found it.
2857
9ed7c8cb
CY
28582011-05-04 Chong Yidong <cyd@stupidchicken.com>
2859
2860 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
2861 (autoload-find-generated-file): New function.
2862 (generate-file-autoloads): Bind generated-autoload-file to
2863 buffer-file-name.
9869b3ae
SM
2864 (update-file-autoloads, update-directory-autoloads):
2865 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
2866 output file (Bug#7989).
2867 (batch-update-autoloads): Doc fix.
2868
0898ca10
JB
28692011-05-04 Juanma Barranquero <lekktu@gmail.com>
2870
2871 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
2872
31dfb76c
GM
28732011-05-04 Glenn Morris <rgm@gnu.org>
2874
f330b642
GM
2875 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
2876 function, so it follows changes in calendar-date-style.
2877 (diary-fancy-date-matcher): New function.
2878 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
2879 (diary-fancy-font-lock-fontify-region-function):
2880 Use diary-fancy-date-pattern as a function.
2881
31dfb76c
GM
2882 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
2883 non-numbers for `year' etc pseudo-variables. (Bug#8583)
2884
48e79d6a
TZ
28852011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
2886
2887 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
2888 instead of positional arguments. Allow :keylist and :crlfiles
2889 arguments.
2890 (open-gnutls-stream): Call it.
2891
2892 * net/network-stream.el (network-stream-open-starttls): Adjust to
2893 call `gnutls-negotiate' with :process and :hostname arguments.
2894
dd5a5ee0
SM
28952011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2896
ef80fc09
SM
2897 * minibuffer.el (completion--message): New function.
2898 (completion--do-completion, minibuffer-complete)
2899 (minibuffer-force-complete, minibuffer-complete-word): Use it.
2900 (completion--do-completion): Don't ignore completion-auto-help when in
2901 icomplete-mode.
2902
dd5a5ee0
SM
2903 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
2904 internal encoding (e.g. tibetan zero is not whitespace).
2905 (global-whitespace-mode): Prefer save-current-buffer.
2906 (whitespace-trailing-regexp): Remove useless save-match-data.
2907 (whitespace-empty-at-bob-regexp): Minor simplification.
2908
b7d22a83
CY
29092011-05-03 Chong Yidong <cyd@stupidchicken.com>
2910
2911 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
2912
5192af46
AM
29132011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2914
2915 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 2916 Use `concat' to create string for insertion.
5192af46 2917
5767d190
SM
29182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2919
2920 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
2921 Avoid open-line which runs post-self-insert-hook.
2922 (bibtex-fill-entry): Remove unused `end' var.
2923
bf242939
AM
29242011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
2925
5767d190
SM
2926 * textmodes/ispell.el (ispell-add-per-file-word-list):
2927 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 2928
25666126
LL
29292011-05-03 Leo Liu <sdl.web@gmail.com>
2930
2931 * isearch.el (isearch-yank-pop): New command.
5767d190 2932 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
2933 (isearch-forward): Mention it.
2934
52d3c2d0
SM
29352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2936
1bcace58
SM
2937 * simple.el (minibuffer-complete-shell-command): Remove.
2938 (minibuffer-local-shell-command-map): Use completion-at-point.
2939 (read-shell-command): Setup completion vars here instead.
2940 (read-expression-map): Bind TAB to symbol completion.
2941
52d3c2d0
SM
2942 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
2943 error directly rather via storing it into `results'.
2944
35813471
LL
29452011-05-02 Leo Liu <sdl.web@gmail.com>
2946
2947 * vc/diff.el: Fix description.
2948
e793a940
LMI
29492011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2950
2951 * server.el (server-eval-at): New function.
2952
8de66e05
LMI
29532011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2954
2955 * net/network-stream.el (open-network-stream): Take a :nowait
2956 parameter and pass it on to `make-network-process'.
2957 (network-stream-open-plain): Ditto.
2958
dcb79f20
AS
29592011-04-30 Andreas Schwab <schwab@linux-m68k.org>
2960
2961 * faces.el (face-spec-set-match-display): Don't match toolkit
2962 options on terminal frames.
2963
14a7fbd8
SM
29642011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
2965
7eabc1be
SM
2966 * progmodes/pascal.el: Use lexical binding.
2967 (pascal-mode-map): Remove author preferences.
2968
14a7fbd8
SM
2969 * pcomplete.el (pcomplete-std-complete): Don't abuse
2970 completion-at-point.
2971
50f84510
JB
29722011-04-28 Juanma Barranquero <lekktu@gmail.com>
2973
6e087a44
JB
2974 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
2975 removing code that has been dead since 1991 or so.
2976
50f84510
JB
2977 * startup.el (command-line): When warning about "_emacs", use a
2978 delayed warning to allow the user to filter it out.
2979
0ba690bd
DD
29802011-04-28 Deniz Dogan <deniz@dogan.se>
2981
2982 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
2983 user has not joined.
2984
08abfaad
SM
29852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
2988 aren't any completions at point.
2989
638f053a
JB
29902011-04-28 Juanma Barranquero <lekktu@gmail.com>
2991
2992 * subr.el (display-delayed-warnings): New function.
2993 (delayed-warnings-hook): New variable.
2994
8fff8daa
SM
29952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2996
08abfaad
SM
2997 * minibuffer.el (completion-at-point, completion-help-at-point):
2998 Don't presume that a given completion-at-point-function will always
2999 use the same calling convention.
3000
8fff8daa
SM
3001 * pcomplete.el (pcomplete-completions-at-point):
3002 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
3003 pcomplete-seen is non-nil.
3004 (pcomplete-comint-setup): Also recognize the new comint/shell
3005 completion functions.
3006 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
3007 pcomplete-seen is non-nil.
3008
841a1577 30092011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 3010
841a1577 3011 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 3012 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 3013 the first character in the entry. This allows for code to add its
211ec907
UJ
3014 own uid to the entry.
3015 (icalendar--convert-float-to-ical): Add export of
3016 `diary-float'-entries save for those with the optional DAY
3017 argument.
3018
2a782793
DC
30192011-04-27 Daniel Colascione <dan.colascione@gmail.com>
3020
3021 * subr.el (shell-quote-argument): Use alternate escaping strategy
3022 when we spot a variable reference in a string.
3023
0438ce91
DC
30242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
3025
3026 * cus-start.el (all): Define customization for debug-on-event.
3027
841a1577 30282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
3029
3030 * subr.el (shell-quote-argument): Escape correctly under Windows.
3031
d090ed6c
SM
30322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3033
3034 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
3035
bfd31217
MA
30362011-04-25 Michael Albinus <michael.albinus@gmx.de>
3037
d090ed6c
SM
3038 * net/tramp.el (tramp-process-actions): Add POS argument.
3039 Delete region between POS and (pos).
bfd31217 3040
d090ed6c
SM
3041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3042 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
3043 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
3044
3045 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
3046 position in `tramp-process-actions' call.
3047
3048 * net/trampver.el: Update release number.
3049
e92f3bd3
SM
30502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
3051
850256b5
SM
3052 * custom.el (defcustom): Obey lexical-binding.
3053
e92f3bd3
SM
3054 Fix octave-inf completion problems reported by Alexander Klimov.
3055 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
3056 Inherit from octave-mode-syntax-table.
3057 (inferior-octave-mode): Set info-lookup-mode.
3058 (inferior-octave-completion-at-point): New function.
3059 (inferior-octave-complete): Use it and completion-in-region.
3060 (inferior-octave-dynamic-complete-functions): Use it as well, and use
3061 comint-filename-completion.
3062 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
3063 symbol elements which shouldn't be word elements.
3064 (octave-font-lock-keywords, octave-beginning-of-defun)
3065 (octave-function-header-regexp): Adjust regexps accordingly.
3066 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
3067
cd22b309
JB
30682011-04-25 Juanma Barranquero <lekktu@gmail.com>
3069
3070 * net/gnutls.el (gnutls-errorp): Declare before first use.
3071
8b492194
TZ
30722011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
3073
3074 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
3075 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
3076 default trustfile exists before going to use it. Add missing
3077 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
3078 Reported by Claudio Bley <claudio.bley@gmail.com>.
3079 (open-gnutls-stream): Add usage example.
3080
3081 * net/network-stream.el (network-stream-open-starttls): Give host
3082 parameter to `gnutls-negotiate'.
3083 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 3084 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 3085
841a1577 30862011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 3087
cd22b309
JB
3088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
3089 Use correct match group (bug#8438).
05842630 3090
3ba7869c
CY
30912011-04-24 Chong Yidong <cyd@stupidchicken.com>
3092
512e3ae1
CY
3093 * emacs-lisp/package.el (package-built-in-p): Fix typo.
3094 (package-menu--generate): New arg specifying packages to show.
3095 (package-menu-refresh, package-menu-execute, list-packages):
3096 Callers changed.
3097 (package-show-package-list): New function, replacing deleted
3098 package--list-packages (renamed because it is non-internal).
3099
3100 * finder.el (finder-list-matches): Use package-show-package-list
3101 instead of deleted package--list-packages.
3102
e92f3bd3
SM
3103 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
3104 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
3105 (vc-annotate-mode-map): Bind it to RET.
3106
7031be6d
UR
31072011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
3108
3109 * progmodes/etags.el (next-file): Don't use set-buffer to change
3110 buffers (Bug#8478).
3111
4ef177aa
CY
31122011-04-24 Chong Yidong <cyd@stupidchicken.com>
3113
c8d173eb
CY
3114 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
3115
4ef177aa
CY
3116 * apropos.el (apropos-label-face): Avoid variable-pitch face.
3117 (apropos-accumulator): Doc fix.
3118 (apropos-function, apropos-macro, apropos-command)
3119 (apropos-variable, apropos-face, apropos-group, apropos-widget)
3120 (apropos-plist): Add face property.
3121 (apropos-symbols-internal): Fix indentation.
3122 (apropos-print): Simplify help, and recognize apropos-multi-type.
3123 (apropos-print-doc): Use button-type-get to extract the button's
3124 face property. Fill docstring (Bug#8352).
3125
4ffd0d6b 31262011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
3127
3128 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
3129
c6c32125 3130 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 3131 (mpuz-mode-map): Use mapc.
c6c32125
JB
3132 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
3133 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
3134 Fix typos in docstrings.
3135
58d468b4
JB
3136 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
3137 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
3138
6470c3c6
JB
3139 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
3140
4ffd0d6b 31412011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
3142
3143 * minibuffer.el (completion--do-completion): Avoid the "Next char
3144 not unique" prompt if icomplete-mode is enabled (Bug#5849).
3145
3ad8bad0
CY
3146 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
3147 mouse-2 into unread-command-events, it is interpreted correctly.
3148
71d73c9c 3149 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 3150 (image-toggle-display): Doc fix.
71d73c9c 3151
841a1577 31522011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 3153
4ffd0d6b
GM
3154 * textmodes/page.el (what-page): Use line-number-at-pos to
3155 calculate line number (Bug#6825).
6e1dbaa9 3156
c2fb1b60
JB
31572011-04-22 Juanma Barranquero <lekktu@gmail.com>
3158
3159 * eshell/esh-mode.el (find-tag-interactive): Declare function.
3160 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
3161 Pass argument NO-DEFAULT to `find-tag-interactive'.
3162
e02f48d7
JB
31632011-04-22 Juanma Barranquero <lekktu@gmail.com>
3164
3165 Lexical-binding cleanup.
3166
3167 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
3168 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
3169 * progmodes/ada-prj.el (ada-prj-initialize-values)
3170 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
3171 (ada-prj-show-value):
3172 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
3173 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
3174 (antlr-invalidate-context-cache, antlr-options-menu-filter)
3175 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
3176 * progmodes/bug-reference.el (bug-reference-push-button):
3177 * progmodes/fortran.el (fortran-line-length):
3178 * progmodes/glasses.el (glasses-change):
3179 * progmodes/octave-mod.el (octave-fill-paragraph):
3180 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
3181 (python-pdbtrack-grub-for-buffer, python-sentinel):
3182 * progmodes/sql.el (sql-save-connection):
3183 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
3184 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
3185 Mark unused parameters.
3186
3187 * progmodes/compile.el (compilation--flush-directory-cache)
3188 (compilation--flush-parse, compile-internal): Mark unused parameters.
3189 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
3190 (compilation-next-error-function): Remove unused variable `timestamp'.
3191
3192 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
3193 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
3194
3195 * progmodes/dcl-mode.el (dcl-end-of-command):
3196 Remove unused variable `start'.
3197 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
3198 (dcl-option-value-basic, dcl-option-value-offset)
3199 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
3200 Mark unused parameters.
3201 (dcl-save-local-variable): Remove unused variable `val'.
3202 (mode): Declare.
3203
3204 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
3205 Mark unused parameters.
3206 (delphi-ignore-changes): Move before first use.
3207 (delphi-charset-token-at): Remove unused variable `start'.
3208 (delphi-else-start): Remove unused variable `if-count'.
3209 (delphi-comment-block-start, delphi-comment-block-end):
3210 Remove unused variable `kind'.
3211 (delphi-indent-line): Remove unused variable `new-point'.
3212
3213 * progmodes/ebrowse.el (ebrowse-files-list)
3214 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
3215 Mark unused parameters. Don't quote `lambda'.
3216 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
3217 Don't quote `lambda'.
3218 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
3219 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
3220 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
3221 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
3222 Use `ignore-errors'.
3223 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
3224 (ebrowse-view/find-file-and-search-pattern)
3225 (ebrowse-view/find-member-declaration/definition):
3226 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
3227 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
3228 Rename parameter PREFIX-ARG to PREFIX.
3229 (ebrowse-tags-read-name): Remove unused variables `start' and
3230 `member-info'.
3231 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
3232 to `tags-file'.
3233
3234 * progmodes/etags.el (local-find-tag-hook): Declare.
3235 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
3236 Mark unused parameters.
3237
3238 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
3239 (executable-interpret): Mark unused parameter.
3240
3241 * progmodes/flymake.el (flymake-process-sentinel)
3242 (flymake-after-change-function)
3243 (flymake-create-temp-with-folder-structure)
3244 (flymake-get-include-dirs-dot): Mark unused parameters.
3245 (flymake-safe-delete-directory): Remove unused variable `err'.
3246
3247 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
3248 (speedbar-timer-fn, speedbar-line-text)
3249 (speedbar-change-expand-button-char, speedbar-delete-subblock)
3250 (speedbar-center-buffer-smartly): Declare functions.
3251 (gdb-find-watch-expression): Remove unused variable `array'.
3252 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
3253 (gdb-starting): Mark unused parameters.
3254 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
3255 (gdb-table-string): Remove unused variable `res'.
3256 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
3257 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
3258 (gdb-display-buffer): Remove unused variable `cur-size'.
3259
3260 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
3261 allow lexical-binding compilation.
3262 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
3263 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
3264 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
3265 Mark unused parameters.
3266 (gud-gdb-marker-filter): Remove unused variable `match'.
3267 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
3268 lambda expressions and funcall them, instead of using `fset'.
3269
3270 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
3271 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
3272
3273 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
3274 variable `header-beg'; use `let'.
3275
3276 * progmodes/icon.el (indent-icon-exp): Remove unused variables
3277 `restart', `last-sexp' and `at-do'.
3278
3279 * progmodes/js.el (js--debug): Mark unused parameter.
3280 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
3281 (js--splice-into-items): Remove unused variable `item'.
3282 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
3283
3284 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
3285 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
3286 (makefile-complete): Remove unused variable `try'.
3287 (makefile-fill-paragraph, makefile-match-function-end):
3288 Mark unused parameters.
3289
3290 * progmodes/octave-inf.el (inferior-octave-complete):
3291 Remove unused variable `proc'.
3292 (inferior-octave-output-digest): Mark unused parameter.
3293
3294 * progmodes/perl-mode.el (perl-calculate-indent):
3295 Remove unused variable `err'.
3296
3297 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
3298 (prolog-indent-line): Mark unused parameters.
3299 (prolog-indent-line): Remove unused variable `beg'.
3300
3301 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
3302 (reporter-dont-compact-list): Declare.
3303
3304 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
3305 Remove unused variable `char'.
3306 (sh-debug): Mark unused parameter.
3307 (sh-get-indent-info): Remove unused variable `start'.
3308 (sh-calculate-indent): Remove unused variable `var'.
3309
3310 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
3311 (simula-electric-keyword): Remove unused variable `null'.
3312 (simula-search-backward, simula-search-forward): Remove unused
3313 variables `begin' and `end'.
3314
3315 * progmodes/vera-mode.el (vera-guess-basic-syntax):
3316 Remove unused variable `pos'.
3317 (vera-electric-tab, vera-comment-uncomment-region):
3318 Mark unused parameters.
3319 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
3320
7ede3b65
CY
33212011-04-22 Chong Yidong <cyd@stupidchicken.com>
3322
3323 * emacs-lisp/package.el (package--builtins, package-alist)
3324 (package-load-descriptor, package-built-in-p, package-activate)
3325 (define-package, package-installed-p)
3326 (package-compute-transaction, package-buffer-info)
3327 (package--push): Doc fix. Distinguish more clearly between
3328 version strings and version lists.
3329
121656e9
JB
33302011-04-21 Juanma Barranquero <lekktu@gmail.com>
3331
3332 Lexical-binding cleanup.
3333
3334 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
3335 (5x5-make-mutate-best):
3336 * play/fortune.el (fortune-in-buffer):
3337 * play/gomoku.el (gomoku-init-display):
3338 * play/solitaire.el (solitaire, solitaire-do-check):
3339 * play/tetris.el (tetris-default-update-speed-function):
3340 Mark unused parameters.
3341
3342 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
3343 (bubbles--shift): Remove unused variable `char-org'.
3344 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
3345 (bubbles--show-images): Remove unused variable `char'.
3346
3347 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
3348 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
3349 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
3350 (decipher-analyze-buffer): Use ?\s.
3351 (decipher-make-checkpoint): Remove unused variable `mapping'.
3352
3353 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
3354
3355 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
3356 Remove unused variable `result'; use `let'.
3357
3358 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
3359 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
3360 (gametree-children-shown-p, gametree-compute-reduced-score):
3361 Use `ignore-errors'.
3362
3363 * play/handwrite.el (ps-lpr-switches): Declare.
3364 (handwrite): Remove unused variables `pmin' and `lastp'.
3365
3366 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
3367
3368 * play/landmark.el (landmark-init-display)
3369 (landmark-update-naught-weights): Mark unused parameters.
3370 (landmark-y): Remove unused variable `noise'. Simplify.
3371 (landmark-human-plays): Remove unused variable `score'.
3372
3373 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
3374 (mpuz-try-proposal): Remove unused variable `game'.
3375
3376 * play/zone.el (life-patterns): Declare.
3377
80f499c7
JB
33782011-04-20 Juanma Barranquero <lekktu@gmail.com>
3379
3380 * vc/vc.el (ediff-vc-internal): Declare function.
3381
024ff170
SM
33822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3383
c0a193ea
SM
3384 * shell.el: Use lexical-binding and std completion UI.
3385 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
3386 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
3387 comint-preoutput-filter-functions rather than on
3388 comint-output-filter-functions.
3389 (shell-command-completion, shell--command-completion-data)
3390 (shell-filename-completion, shell-environment-variable-completion)
3391 (shell-c-a-p-replace-by-expanded-directory): New functions.
3392 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
3393 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
3394 (shell-dynamic-complete-environment-variable): Use them.
3395 (shell-dynamic-complete-as-environment-variable)
3396 (shell-dynamic-complete-as-command): Remove.
3397 (shell-match-partial-variable): Match past point.
3398 * comint.el: Clean up use of completion-at-point-functions.
3399 (comint-completion-at-point): New function.
3400 (comint-mode): Use it completion-at-point-functions.
3401 (comint-dynamic-complete): Make it obsolete.
3402 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
3403 (comint-c-a-p-replace-by-expanded-history): New function.
3404 (comint-dynamic-complete-functions)
3405 (comint-replace-by-expanded-history): Use it.
3406 * minibuffer.el (completion-table-with-terminator): Allow dynamic
3407 termination strings. Try harder to avoid second try-completion.
3408 (completion-in-region-mode-map): Disable bindings that don't work yet.
3409
2dbaa080
SM
3410 * comint.el: Use lexical-binding. Require CL.
3411 (comint-dynamic-complete-functions): Use comint-filename-completion.
3412 (comint-completion-addsuffix): Tweak custom type.
3413 (comint-filename-completion, comint--common-suffix)
3414 (comint--common-quoted-suffix, comint--table-subvert)
3415 (comint--complete-file-name-data): New functions.
3416 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
3417 (comint-dynamic-list-filename-completions): Use them.
3418 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 3419
2dbaa080
SM
3420 * minibuffer.el (completion-in-region-mode):
3421 Keep completion-in-region-mode--predicate global.
3422 (completion-in-region--postch):
3423 Assume completion-in-region-mode--predicate is not null.
3424
c79a6f38
SM
3425 * progmodes/flymake.el (flymake-start-syntax-check-process):
3426 Obey `dir'. Simplify.
3427
024ff170
SM
3428 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
3429 we're in VC after all.
3430
1c6c854e
CS
34312011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
3432
3433 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 3434 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
3435 (vc-version-diff): Use vc-diff-build-argument-list-internal.
3436
bed7f140
SM
34372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
3438
332e62ab
SM
3439 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
3440 add sanity check.
3441
bed7f140
SM
3442 * obsolete/erc-hecomplete.el: Make obsolete.
3443 * obsolete/: Standardize obsolescence info in the header.
3444
f195c582
GM
34452011-04-20 Glenn Morris <rgm@gnu.org>
3446
3447 * calendar/solar.el (solar-horizontal-coordinates):
3448 Use the longitude argument rather than `calendar-longitude'.
3449 (solar-date-next-longitude): Remove unused locals.
3450
cb79b8c0
VJL
34512011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3452
3453 * whitespace.el: New version 13.2.1.
3454
34552011-04-20 felix <EmacsWiki> (tiny change)
3456
d8e4b68b 3457 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
3458 switching between major modes on a file.
3459
602ea69d
SM
34602011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
3461
3462 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
3463 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
3464 multi-line comments as well.
3465
06b60517
JB
34662011-04-19 Juanma Barranquero <lekktu@gmail.com>
3467
3468 Lexical-binding cleanup.
3469
3470 * arc-mode.el (archive-mode-revert):
3471 * cmuscheme.el (scheme-interactively-start-process):
3472 * custom.el (custom-initialize-delay):
3473 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
3474 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
3475 * emacs-lock.el (emacs-lock-clear-sentinel):
3476 * ezimage.el (defezimage):
3477 * follow.el (follow-avoid-tail-recenter):
3478 * fringe.el (set-fringe-mode-1):
3479 * generic-x.el (bat-generic-mode-compile):
3480 * help-mode.el (help-info-variable, help-do-xref)
3481 (help-mode-revert-buffer):
3482 * help.el (view-emacs-todo):
3483 * iswitchb.el (iswitchb-completion-help):
3484 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
3485 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
3486 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
3487 * locate.el (locate-update):
3488 * longlines.el (longlines-encode-region)
3489 (longlines-after-change-function):
3490 * outline.el (outline-isearch-open-invisible):
3491 * ps-def.el (declare-function, charset-dimension, char-width)
3492 (encode-char):
3493 * ps-mule.el (ps-mule-plot-string):
3494 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
3495 (recentf-edit-list-select, recentf-edit-list-validate)
3496 (recentf-open-files-action):
3497 * rect.el (delete-whitespace-rectangle-line)
3498 (rectangle-number-line-callback):
3499 * register.el (window-configuration-to-register)
3500 (frame-configuration-to-register):
3501 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
3502 * select.el (xselect-convert-to-string, xselect-convert-to-length)
3503 (xselect-convert-to-targets, xselect-convert-to-delete)
3504 (xselect-convert-to-filename, xselect-convert-to-charpos)
3505 (xselect-convert-to-lineno, xselect-convert-to-colno)
3506 (xselect-convert-to-os, xselect-convert-to-host)
3507 (xselect-convert-to-user, xselect-convert-to-class)
3508 (xselect-convert-to-name, xselect-convert-to-integer)
3509 (xselect-convert-to-atom, xselect-convert-to-identity):
3510 * subr.el (declare, ignore, process-kill-without-query)
3511 (text-clone-maintain):
3512 * terminal.el (te-get-char, te-tic-sentinel):
3513 * tool-bar.el (tool-bar-make-keymap):
3514 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
3515 * type-break.el (type-break-mode, type-break-noninteractive-query):
3516 * view.el (View-back-to-mark):
3517 * wid-browse.el (widget-browse-action, widget-browse-widget)
3518 (widget-browse-widgets, widget-browse-sexp):
3519 * widget.el (define-widget-keywords):
3520 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
3521 Mark unused parameters.
3522
3523 * align.el (align-adjust-col-for-rule): Mark unused parameter.
3524 (align-areas): Remove unused variable `look'.
3525 (align-region): Remove unused variables `real-end' and `pos-list'.
3526
3527 * apropos.el (apropos-score-doc): Remove unused variable `i'.
3528
3529 * bindings.el (mode-line-modified, mode-line-remote):
3530 Mark unused parameters.
3531 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
3532
3533 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
3534 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
3535
3536 * comint.el (comint-history-isearch-pop-state)
3537 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
3538 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
3539 (comint-substitute-in-file-name): Doc fix.
3540
3541 * completion.el (cmpl-statistics-block): Mark unused parameter.
3542 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
3543 (save-completions-to-file, load-completions-from-file):
3544 Remove unused local variable `e'.
3545
3546 * composite.el (compose-chars): Remove unused variable `len'.
3547 (lgstring-insert-glyph): Remove unused variable `g'.
3548 (compose-glyph-string): Remove unused variables `ascent',
3549 `descent', `lbearing' and `rbearing'.
3550 (compose-glyph-string-relative): Remove unused variables
3551 `lbearing', `rbearing' and `wadjust'.
3552 (compose-gstring-for-graphic): Remove unused variables `header',
3553 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
3554 (compose-gstring-for-terminal): Remove unused variables `header'
3555 and `nchars'. Use `let', not `let*'.
3556
3557 * cus-edit.el (Custom-set, Custom-save, custom-reset)
3558 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
3559 (Custom-buffer-done, custom-buffer-create-internal)
3560 (custom-browse-visibility-action, custom-browse-group-tag-action)
3561 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
3562 (widget-magic-mouse-down-action, custom-toggle-parent)
3563 (custom-add-parent-links, custom-toggle-hide-variable)
3564 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
3565 (custom-toggle-hide-face, face, hook, custom-group-link-action)
3566 (custom-face-menu-create, custom-variable-menu-create, get)
3567 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
3568 (custom-reset-standard-save-and-update): Remove unused variable `value'.
3569 (customize-apropos): Remove unused variable `tests'.
3570 (custom-group-value-create): Remove unused variable `hidden-p'.
3571 (sort-fold-case): Declare.
3572
3573 * cus-theme.el (custom-reset-standard-faces-list)
3574 (custom-reset-standard-variables-list): Declare.
3575 (customize-create-theme, custom-theme-revert, custom-theme-write)
3576 (custom-theme-choose-mode, customize-themes, custom-theme-save):
3577 Mark unused parameters.
3578
3579 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
3580
3581 * delim-col.el (delimit-columns-max): Move defvar before first use.
3582
3583 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 3584 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
3585
3586 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
3587 (auto-insert): Declare.
3588 (desktop-restore-file-buffer): Rename desktop-* parameters;
3589 mark unused ones.
3590 (desktop-create-buffer): Rename desktop-* parameters and bind them.
3591 (desktop-buffer): Rename desktop-* parameters.
3592
3593 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
3594 (dframe-reposition-frame-xemacs, dframe-help-echo)
3595 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
3596 Mark unused parameters.
3597
3598 * dired-aux.el (backup-extract-version-start, overwrite-query)
3599 (overwrite-backup-query, rename-regexp-query)
3600 (rename-non-directory-query): Declare.
3601 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
3602 (dired-add-entry): Remove unused variable `orig-file-name'.
3603 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
3604 Use parameter PRESERVE-TIME instead of accessing dynamic variable
3605 `dired-copy-preserve-time' directly.
3606 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
3607 (dired-insert-subdir-newpos): Rename unused variable `pos'.
3608
3609 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
3610 (dired-virtual-revert, dired-make-relative-symlink):
3611 Mark unused parameters.
3612 (manual-program): Declare.
3613 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
3614 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
3615 wrapped in `with-no-warnings' to avoid replacing one warning by another.
3616
3617 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
3618
3619 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
3620
3621 * echistory.el (electric-history-in-progress, Helper-return-blurb):
3622 Declare.
3623
3624 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
3625
3626 * electric.el (Electric-command-loop): Rename parameter
3627 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
3628
3629 * expand.el (expand-in-literal): Remove unused variable `here'.
3630
3631 * facemenu.el (facemenu-add-new-color):
3632 Remove unused variable `docstring'.
3633
3634 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
3635 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
3636 (face-attr-construct): Mark unused parameter. Doc fix.
3637 (read-color): Remove unused variable `hex-string'.
3638
3639 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
3640 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
3641 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
3642 (display-buffer-other-frame): Remove unused variable `old-window'.
3643 (kill-buffer-hook): Declare.
3644 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
3645 Mark unused parameters.
3646 (after-find-file): Pass 1 to `auto-save-mode', not t.
3647
3648 * files-x.el (auto-insert): Declare.
3649 (modify-file-local-variable-prop-line): Remove unused variable `val'.
3650
3651 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 3652 variable `buf'. Mark unused parameter.
06b60517
JB
3653 (find-lisp-insert-directory): Mark unused parameter.
3654
3655 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
3656 (format-encode-region): Remove unused variables `cur-buf' and `result'.
3657 (format-common-tail): Remove, unused.
3658 (format-deannotate-region): Remove unused variable `loc'.
3659 (format-annotate-region): Remove unused variable `p'.
3660 (format-annotate-single-property-change): Remove unused variables
3661 `default' and `tail'.
3662
3663 * forms.el (read-file-filter): Declare.
3664 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
3665
3666 * frame.el (frame-creation-function-alist): Mark unused parameter.
3667 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
3668
3669 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
3670 Remove unused parameters.
3671 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
3672 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
3673
3674 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
3675 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
3676 (hfy-prepare-tag-map): Mark unused parameters.
3677 (htmlfontify-buffer): Use `called-interactively-p'.
3678
3679 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
3680 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
3681 (ibuffer-do-occur): Mark unused parameters.
3682 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
3683 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
3684
3685 * ibuffer.el: Don't quote `lambda'.
3686 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
3687 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
3688 Mark unused parameters.
3689
3690 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
3691 (ido-completing-read): Mark unused parameters.
3692 (ido-copy-current-word): Mark unused parameters;
3693 remove unused variable `name'.
3694 (ido-sort-merged-list): Remove unused parameter `dirs'.
3695
3696 * ielm.el (ielm-input-sender): Mark unused parameter.
3697 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
3698 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
3699 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
3700 `ielm-string' as a dynamic variable accessible from the IELM prompt.
3701 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
3702
3703 * image-dired.el (image-dired-display-thumbs): Remove unused
3704 variables `curr-file' and `count'.
3705 (image-dired-remove-tag): Remove unused variable `start'.
3706 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
3707 variable `curr-file'
3708 (image-dired-rotate-original): Remove unused variable `temp-file'.
3709 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
3710 Remove unused variable `file'.
3711 (image-dired-gallery-generate): Remove unused variable `curr'.
3712 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
3713
3714 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
3715
3716 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
3717
3718 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
3719
3720 * isearch.el (minibuffer-history-symbol): Declare.
3721 (isearch-edit-string): Remove unused variable `err'.
3722 (isearch-message-prefix, isearch-message-suffix):
3723 Mark unused parameters.
3724
3725 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
3726
3727 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
3728
3729 * makesum.el (double-column): Remove unused variable `cnt'.
3730
3731 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
3732 (ido-ignore-item-temp-list): Declare.
3733
3734 * mouse-drag.el (mouse-drag-throw): Remove unused variables
3735 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
3736 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
3737 (mouse-drag-drag): Remove unused variables `mouse-delta' and
3738 `mouse-col-delta'.
3739
3740 * mouse-sel.el (mouse-extend-internal):
3741 Remove unused variable `orig-window-frame'.
3742
3743 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
3744 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
3745 Move declarations before first use.
3746 (pcomplete-opt): Mark unused parameters; doc fix.
3747
3748 * proced.el (proced-revert): Mark unused parameter.
3749 (proced-send-signal): Remove unused variable `err'.
3750
3751 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
3752 Rename parameter PREFIX-ARG to ARG.
3753 (ps-basic-plot-string, ps-basic-plot-whitespace):
3754 Mark unused parameters.
3755
3756 * replace.el (replace-count): Define.
3757 (occur-revert-function): Mark unused parameters.
3758 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
3759 (isearch-case-fold-search, isearch-string): Declare.
3760 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
3761 bind `case-fold-search'. Remove unused variables `beg' and `end',
3762 and simplify.
3763 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
3764 COUNT and bind `replace-count'.
3765 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
3766 to COUNT.
3767
3768 * savehist.el (print-readably, print-string-length): Declare.
3769
3770 * shadowfile.el (shadow-expand-cluster-in-file-name):
3771 Remove unused variable `cluster'.
3772 (shadow-copy-file): Remove unused variable `i'.
3773 (shadow-noquery, shadow-clusters, shadow-site-cluster)
3774 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
3775 (shadow-define-literal-group, shadow-define-regexp-group)
3776 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
3777
3778 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
3779 (shell): Use `called-interactively-p'.
3780 (shell-directory-tracker): Remove unused variable `chdir-failure'.
3781
3782 * simple.el (compilation-context-lines, comint-file-name-quote-list)
3783 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
3784 (delete-backward-char): Remove unused variable `ocol'.
3785 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
3786 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
3787 (event-apply-hyper-modifier, event-apply-shift-modifier)
3788 (event-apply-control-modifier, event-apply-meta-modifier):
3789 Mark unused parameters.
3790 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
3791 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
3792
3793 * speedbar.el (speedbar-ignored-directory-expressions)
3794 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
3795 (speedbar-find-file, speedbar-dir-follow)
3796 (speedbar-directory-buttons-follow, speedbar-tag-find)
3797 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
3798 (speedbar-buffers-line-directory, speedbar-buffer-click):
3799 Mark unused parameters.
3800 (speedbar-tag-file): Remove unused variable `mode'.
3801 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
3802
3803 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
3804
3805 * talk.el (talk): Remove unused variable `display'.
3806
3807 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
3808 (tar-write-region-annotate): Mark unused parameter.
3809
3810 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
3811 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
3812 Declare them, wrapped in `with-no-warnings' to avoid replacing one
3813 warning by another.
3814
3815 * time-stamp.el (time-stamp-string-preprocess):
3816 Remove unused variable `require-padding'.
3817
3818 * tree-widget.el (widget-glyph-enable): Declare.
3819 (tree-widget-action): Mark unused parameter.
3820
3821 * w32-fns.el (x-get-selection): Mark unused parameter.
3822 (autoload-make-program, generated-autoload-file): Declare.
3823
3824 * wdired.el (wdired-revert): Mark unused parameters.
3825 (wdired-xcase-word): Remove unused variable `err'.
3826
3827 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
3828 (whitespace-help-scroll): Remove unused variable `data-help'.
3829
3830 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
3831 (widget-image-insert, widget-after-change, default)
3832 (widget-default-format-handler, widget-default-notify)
3833 (widget-default-prompt-value, widget-info-link-action)
3834 (widget-url-link-action, widget-function-link-action)
3835 (widget-variable-link-action, widget-file-link-action)
3836 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
3837 (widget-field-prompt-internal, widget-field-action, widget-field-match)
3838 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
3839 (widget-insert-button-action, widget-delete-button-action, visibility)
3840 (widget-documentation-link-action, widget-documentation-string-action)
3841 (widget-const-prompt-value, widget-regexp-match, symbol)
3842 (widget-coding-system-prompt-value)
3843 (widget-key-sequence-value-to-external, sexp)
3844 (widget-sexp-value-to-internal, character, vector, cons)
3845 (widget-choice-prompt-value, widget-boolean-prompt-value)
3846 (widget-color--choose-action): Mark unused parameters.
3847 (widget-item-match-inline, widget-choice-match-inline)
3848 (widget-checklist-match, widget-checklist-match-inline)
3849 (widget-group-match): Rename parameter VALUES to VALS.
3850 (widget-field-value-set): Remove unused variable `size'.
3851 (widget-color-action): Remove unused variables `value' and `start'.
3852
3853 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 3854 variable `dir'. Doc fix.
06b60517
JB
3855 (windmove-find-other-window): Don't pass it.
3856
3857 * window.el (count-windows): Mark unused parameter.
3858 (bw-adjust-window): Remove unused variable `err'.
3859
3860 * woman.el (woman-file-name): Remove unused variable `default'.
3861 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
3862 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
3863 (global-font-lock-mode): Declare.
3864 (woman-decode-region): Mark unused parameter.
3865 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
3866
3867 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
3868 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
3869 (x-dnd-handle-moz-url): Remove unused variable `title'.
3870 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
3871
3872 * xml.el (xml-parse-tag, xml-parse-attlist):
3873 Remove unused variable `pos'.
3874
bc4f7f3d
GM
38752011-04-19 Glenn Morris <rgm@gnu.org>
3876
3877 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
3878 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
3879 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3880 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
3881 * calendar/cal-html.el (cal-html-insert-minical):
3882 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
3883 (calendar-mark-date-pattern):
3884 Prefix "unused" locals.
3885
3886 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
3887 optional argument `style'.
3888
3889 * calendar/appt.el (appt-make-list):
3890 * calendar/cal-china.el (calendar-chinese-date-string):
3891 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
3892 (diary-hebrew-yahrzeit):
3893 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
3894 * calendar/calendar.el (calendar-generate-window):
3895 * calendar/time-date.el (time-to-days):
3896 Remove unused local variables.
3897
16a43933
CY
38982011-04-18 Chong Yidong <cyd@stupidchicken.com>
3899
3900 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
3901 glyphless-char-display table.
3902 (tabulated-list-glyphless-char-display): New var.
3903
7eed1860
SS
39042011-04-18 Sam Steingold <sds@gnu.org>
3905
3906 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
3907 to acknowledgments.
3908
4d2d1ccd
GM
39092011-04-17 Glenn Morris <rgm@gnu.org>
3910
3911 * calendar/diary-lib.el (diary-sexp-entry):
3912 * calendar/holidays.el (holiday-sexp):
3913 Set debug-on-error rather than the removed stack-trace-on-error.
3914
239da61d
GM
39152011-04-16 Glenn Morris <rgm@gnu.org>
3916
3917 * progmodes/f90.el: Use lexical-binding.
3918 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
3919
8b05752a
SM
39202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3921
daca8ba5
SM
3922 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
3923 (mail-mode): Setup mailalias completion here instead.
3924 * mail/mailalias.el: Use lexical-binding.
3925 (pattern, mailalias-done): Declare dynamic.
3926 (mail-completion-at-point-function): New function, from mail-complete.
3927 (mail-complete): Use it.
3928 (mail-completion-expand): New function.
3929 (mail-get-names): Use it.
3930 (mail-directory, mail-directory-process, mail-directory-stream):
3931 Don't use `pattern' for lexically bound arg.
3932
6f542485
SM
3933 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
3934
037e7c3f
SM
3935 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
3936 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
3937 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
3938
8b05752a
SM
3939 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
3940 (byte-save-window-excursion, byte-temp-output-buffer-setup)
3941 (byte-interactive-p): Define them again, for use when inlining
3942 old code.
3943
49093f60
JB
39442011-04-15 Juanma Barranquero <lekktu@gmail.com>
3945
3946 * loadup.el: Use `string-to-number', not `string-to-int'.
3947
b5b8e7de
SM
39482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3949
3950 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
3951 gud-gdb-complete-command.
3952 (gud-gdb-completions): New function, from gud-gdb-complete-command.
3953 (gud-gdb-completion-at-point): New function.
3954 (gud-gdb-completions): Remove.
3955
f42efeb5
MA
39562011-04-14 Michael Albinus <michael.albinus@gmx.de>
3957
49093f60
JB
3958 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
3959 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
3960 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
3961 whether `executable-find' is bound.
f42efeb5
MA
3962
3963 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
3964
e240cc21
SM
39652011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3966
3967 * minibuffer.el (completion-in-region-mode-predicate)
3968 (completion-in-region-mode--predicate): New vars.
3969 (completion-in-region, completion-in-region--postch)
3970 (completion-in-region-mode): Use them.
3971 (completion--capf-wrapper): Also return the hook function.
3972 (completion-at-point, completion-help-at-point):
3973 Adjust and provide a predicate.
c2bd2ab0
SM
3974
3975 Preserve arg names for advice of subr and lexical functions (bug#8457).
3976 * help-fns.el (help-function-arglist): Consolidate the subr and
3977 new-byte-code cases. Add argument `preserve-names' to extract names
3978 from the docstring when needed.
3979 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
3980 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
3981 (ad-arglist): Use help-function-arglist's new arg.
3982 (ad-definition-type): Use cond.
3983
c183f693
JB
39842011-04-13 Juanma Barranquero <lekktu@gmail.com>
3985
06641a47
JB
3986 * autorevert.el (auto-revert-handler):
3987 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
3988 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
3989 Don't quote lambda.
3990
c183f693
JB
3991 * image-mode.el (image-transform-set-scale):
3992 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
3993
1e3b6001
G
39942011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
3995
3996 * net/network-stream.el (network-stream-open-starttls): Only do
3997 opportunistic STARTTLS upgrades if we have built-in gnutls support.
3998 Upgrades via gnutls-cli are too slow to be done opportunistically.
3999
2d6af8dd
JB
40002011-04-12 Juanma Barranquero <lekktu@gmail.com>
4001
4002 * dframe.el (dframe-current-frame): Remove spurious quote.
4003
c0749a51
GM
40042011-04-12 Glenn Morris <rgm@gnu.org>
4005
088d0d61
GM
4006 * calendar/cal-tex.el (cal-tex-end-document):
4007 Try to automatically use latin1 input if needed.
4008
c0749a51
GM
4009 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
4010 Don't try to cons a mark onto an empty element.
4011
5c90fde0
LL
40122011-04-11 Leo Liu <sdl.web@gmail.com>
4013
4014 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
4015 buffers.
4016 (ido-kill-buffer-at-head): Support killing virtual buffers.
4017
369e974d
CY
40182011-04-10 Chong Yidong <cyd@stupidchicken.com>
4019
4020 * minibuffer.el (completion-show-inline-help): New var.
4021 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
4022 (minibuffer-force-complete, minibuffer-complete-word):
4023 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
4024
4025 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
4026 to avoid interference from inline help (Bug#5849).
4027
37f1c930
LL
40282011-04-10 Leo Liu <sdl.web@gmail.com>
4029
099c39a4
JB
4030 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
4031 Fix typo.
37f1c930 4032
a32d4040
CY
40332011-04-09 Chong Yidong <cyd@stupidchicken.com>
4034
4035 * image-mode.el (image-toggle-display-image): Signal an error if
4036 not in Image mode.
4037 (image-transform-mode, image-transform-resize)
4038 (image-transform-set-rotation): Doc fix.
daca8ba5 4039 (image-transform-set-resize): Delete.
a32d4040
CY
4040 (image-transform-set-scale, image-transform-fit-to-height)
4041 (image-transform-fit-to-width): Handle image-toggle-display-image
4042 and image-transform-resize directly.
4043
099c39a4 40442011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
4045
4046 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
4047 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
4048 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
4049 (doc-view-mode-map): Add bindings for the new functions.
4050
099c39a4 40512011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb
JB
4052
4053 * vc-annotate.el (vc-annotate-show-log-revision-at-line):
4054 Fix typo in docstring.
4055
3726838a
EZ
40562011-04-08 Eli Zaretskii <eliz@gnu.org>
4057
04f33f1e
EZ
4058 * files.el (file-size-human-readable): Produce one digit after
4059 decimal, like "ls -lh" does.
4060
4061 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
4062 the file size representation.
4063
3726838a
EZ
4064 * simple.el (list-processes): If async subprocesses are not
4065 available, error out with a clear error message.
4066
cbb59342
CY
40672011-04-08 Chong Yidong <cyd@stupidchicken.com>
4068
4069 * help.el (help-form-show): New function, to be called from C.
4070 Put help-form output in a buffer named differently than *Help*.
4071
e3971c44
EZ
40722011-04-08 Eli Zaretskii <eliz@gnu.org>
4073
4074 * files.el (file-size-human-readable): New function.
4075
4076 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
4077 computing the representation inline. Don't require `cl'.
4078
12544bbe
GM
40792011-04-08 Glenn Morris <rgm@gnu.org>
4080
a1de6c6a
GM
4081 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
4082
3c4671f4
GM
4083 * net/browse-url.el (browse-url-firefox):
4084 Test system-type, not system-configuration.
4085
b605679c
GM
4086 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
4087 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
4088 Use log-edit-empty-buffer-p. (Bug#7598)
4089
56442f0c
GM
4090 * net/rlogin.el (rlogin-process-connection-type): Simplify.
4091 (rlogin-mode-map): Initialize in the defvar.
4092 (rlogin): Use ignore-errors.
4093
12544bbe
GM
4094 * replace.el (occur-mode-map): Some fixes for menu items.
4095
eb237b0f
AH
40962011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4097
4098 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
4099
7d668f2c
CY
41002011-04-06 Chong Yidong <cyd@stupidchicken.com>
4101
e67a13ab
CY
4102 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
4103 issuing unused warnings.
4104
4105 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
4106 macro directly.
4107
7d668f2c
CY
4108 * simple.el: Lisp reimplement of list-processes. Based on an
4109 earlier reimplementation by Leo Liu, but using tabulated-list.el.
4110 (process-menu-mode): New major mode.
4111 (list-processes--refresh, list-processes):
4112 (process-menu-visit-buffer): New functions.
4113
4114 * files.el (save-buffers-kill-emacs): Don't assume any return
4115 value of list-processes, which is undocumented anyway.
4116
a83ec3c9
CY
41172011-04-06 Chong Yidong <cyd@stupidchicken.com>
4118
4119 * emacs-lisp/tabulated-list.el: New file.
4120
e91a96fe
CY
4121 * emacs-lisp/package.el: Use Tabulated List mode.
4122 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
4123 (package-menu-mode): Derive from tabulated-list-mode. Set up the
4124 table format using Tabulated List mode variables.
4125 (package--push): New macro, replacing package-list-maybe-add.
4126 (package-menu--generate): Use package--push. Renamed from
4127 package--generate-package-list.
4128 (package-menu-refresh, list-packages): Use it.
daca8ba5 4129 (package-menu--print-info): Rename from package-print-package.
e91a96fe 4130 Return insertion data instead of inserting it directly.
099c39a4
JB
4131 (package-menu-describe-package, package-menu-execute):
4132 Use tabulated-list-get-id.
e91a96fe
CY
4133 (package-menu-mark-delete, package-menu-mark-install)
4134 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
4135 (package-menu-mark-obsolete-for-deletion):
4136 Use tabulated-list-put-tag.
e91a96fe
CY
4137 (package--list-packages, package-menu-revert)
4138 (package-menu-get-package, package-menu-get-version)
4139 (package-menu-sort-by-column): Functions deleted.
4140 (package-menu-package-list, package-menu-sort-key): Vars deleted.
4141 (package-menu--status-predicate, package-menu--version-predicate)
4142 (package-menu--name-predicate)
4143 (package-menu--description-predicate): Handle arguments in the
4144 Tabulated List format.
4145 (package-list-packages-no-fetch): Call list-packages.
4146
3e214b50
JB
41472011-04-06 Juanma Barranquero <lekktu@gmail.com>
4148
4149 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 4150 (after-find-file): Don't bind it.
3e214b50
JB
4151 (revert-buffer-in-progress-p): New variable.
4152 (revert-buffer): Bind it.
4153 Pass nil for `after-find-file-from-revert-buffer'.
4154
4155 * saveplace.el (save-place-find-file-hook): Use new variable
4156 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
4157
3f0f1700
GM
41582011-04-06 Glenn Morris <rgm@gnu.org>
4159
c0274801
GM
4160 * Makefile.in (AUTOGEN_VCS): New variable.
4161 (autoloads): Use $AUTOGEN_VCS.
4162
3f0f1700
GM
4163 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
4164 * calendar/calendar.el (calendar-mode-map):
4165 Check for toolkit scroll bars. (Bug#8305)
4166
41ea9e48
CY
41672011-04-05 Chong Yidong <cyd@stupidchicken.com>
4168
4169 * minibuffer.el (completion-in-region--postch)
4170 (completion-in-region-mode): Remove unnecessary messages.
4171
6194c800
JB
41722011-04-05 Juanma Barranquero <lekktu@gmail.com>
4173
33256f14
JB
4174 * font-lock.el (font-lock-refresh-defaults):
4175 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
4176 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
4177
6194c800
JB
4178 * info.el (Info-directory-list, Info-read-node-name-2)
4179 (Info-split-parameter-string): Doc fixes.
4180 (Info-virtual-nodes): Reflow docstring.
4181 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
4182 (Info-apropos-toc-nodes, info-finder, Info-get-token)
4183 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
4184 Fix typos in docstrings.
4185 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
4186 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
4187 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
4188 (Info-restore-desktop-buffer): Mark unused parameters.
4189 (Info-directory-find-file, Info-directory-find-node)
4190 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
4191 (Info-virtual-index-find-node, Info-apropos-find-file)
4192 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 4193 Mark unused parameters; fix typos in docstrings.
6194c800
JB
4194 (Info-virtual-index): Remove unused local variable `nodename'.
4195
b87a8200 41962011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 4197
b87a8200
DD
4198 * net/rcirc.el: Update my e-mail address.
4199 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 4200
3b2ff876
CY
42012011-04-05 Chong Yidong <cyd@stupidchicken.com>
4202
4203 * startup.el (command-line): Save the cursor's theme-face
4204 directly, instead of using face-override-spec.
4205
4206 * custom.el (load-theme): Minor optimization in assigning faces.
4207
8d17e7ca
JB
42082011-04-04 Juanma Barranquero <lekktu@gmail.com>
4209
4210 * help-fns.el (describe-variable): Complete all variables having
4211 documentation, including keywords.
4212 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
4213
2fbc1934
JB
42142011-04-04 Juanma Barranquero <lekktu@gmail.com>
4215
4216 Convert to lexical-binding.
4217
4218 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
4219 (bs--get-marked-string, bs--get-modified-string)
4220 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
4221 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
4222 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
4223
4224 * ehelp.el (electric-help-execute-extended)
4225 (electric-help-ctrl-x-prefix):
4226 * hexl.el (hexl-revert-buffer-function):
4227 * linum.el (linum-after-change, linum-after-scroll):
4228 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
4229
4230 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
4231
74f50695
DU
42322011-04-04 Daiki Ueno <ueno@unixuser.org>
4233
4234 * epa-dired.el:
4235 * epa-mail.el:
4236 * epa-hook.el:
4237 * epa-file.el:
4238 * epa.el:
4239 * epg.el: Use lexical binding.
4240
c11325f7
CY
42412011-04-03 Chong Yidong <cyd@stupidchicken.com>
4242
0d9e9a12
CY
4243 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
4244
c11325f7 4245 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
4246 dictionary case for flyspell-mark-duplications-exceptions.
4247 Use regexp matching for languages.
c11325f7
CY
4248 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
4249 default dictionary (Bug#7926).
4250
da91b5f2
CY
42512011-04-02 Chong Yidong <cyd@stupidchicken.com>
4252
099c39a4
JB
4253 * emacs-lisp/package.el (package--with-work-buffer):
4254 Recognize https URLs.
da91b5f2 4255
099c39a4
JB
4256 * net/network-stream.el: Move from gnus/proto-stream.el.
4257 Change prefix to network-stream throughout.
da91b5f2
CY
4258 (open-protocol-stream): Merge into open-network-stream, leaving
4259 open-protocol-stream as an alias. Handle nil BUFFER args.
4260
4261 * subr.el (open-network-stream): Move to net/network-stream.el.
4262
afa8e9f6
GM
42632011-04-02 Glenn Morris <rgm@gnu.org>
4264
1d2e369d
GM
4265 * find-dired.el (find-exec-terminator): New option.
4266 (find-ls-option): Test for -ls support.
4267 (find-ls-subdir-switches): Test for -b in find-ls-option.
4268 (find-dired, find-grep-dired): Doc fixes.
4269 (find-dired): Use find-exec-terminator.
4270
8abb7da8 4271 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
4272 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
4273 (find-name-arg): Remove purecopy.
8abb7da8 4274
f3ca7378
GM
4275 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
4276 (grep-compute-defaults): Check for `-exec COMMAND +' support.
4277 Set grep-find-use-xargs, grep-find-command, and grep-find-template
4278 accordingly. Don't add the null-device if not needed.
4279
afa8e9f6
GM
4280 * files.el (save-some-buffers): Doc fix.
4281
35eae264
EZ
42822011-04-02 Eli Zaretskii <eliz@gnu.org>
4283
4284 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
4285
26b51db5
JB
42862011-04-01 Juanma Barranquero <lekktu@gmail.com>
4287
4288 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
4289 Use `dolist' rather than `mapcar'.
4290
7200d79c
SM
42912011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
4292
03408648 4293 Add lexical binding.
7200d79c 4294
03408648
SM
4295 * subr.el (apply-partially): Use new closures rather than CL.
4296 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
4297 (dolist, dotimes): Use slightly different expansion for lexical code.
4298 (functionp): Move to C.
4299 (letrec): New macro.
4300 (with-wrapper-hook): Use it and apply-partially instead of CL.
4301 (eval-after-load): Preserve lexical-binding.
4302 (save-window-excursion, with-output-to-temp-buffer): Turn them
4303 into macros.
7200d79c 4304
03408648
SM
4305 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
4306
4307 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
4308 than the arglist.
4309 (help-add-fundoc-usage): Don't add `Not documented'.
4310 (help-function-arglist): Handle closures, subroutines, and new
4311 byte-code-functions.
4312 (help-make-usage): Remove leading underscores.
4313 (describe-function-1): Handle closures.
4314 (describe-variable): Use special-variable-p for completion.
4315
4316 * files.el (lexical-binding): Declare safe.
f488fb65 4317
03408648
SM
4318 * emacs-lisp/pcase.el: Don't use destructuring-bind.
4319 (pcase--memoize): Rename from pcase-memoize. Change weakness.
4320 (pcase): Add `let' pattern.
4321 Change memoization so it actually works.
4322 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
4323 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
4324 <let>: New case.
f488fb65 4325
03408648
SM
4326 * emacs-lisp/macroexp.el: Use lexical binding.
4327 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
4328 Don't convert ' to #' without checking that it's indeed quoting
4329 a lambda.
4330
4331 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 4332 Use eval-sexp-add-defvars.
03408648
SM
4333 (eval-sexp-add-defvars): New fun.
4334
4335 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
4336
4337 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
4338 Don't autoload.
4339 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
4340 than the internal `byte-compile-lambda'.
4341 (defmethod): Don't hide code under quotes.
4342 (eieio-defmethod): New `code' argument.
4343
4344 * emacs-lisp/eieio-comp.el: Remove.
4345
4346 * emacs-lisp/edebug.el (edebug-eval-defun)
4347 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
4348 (edebug-toggle): Avoid `eval'.
4349
4350 * emacs-lisp/disass.el (disassemble-internal): Handle new
4351 `closure' objects.
4352 (disassemble-1): Handle new byte codes.
4353
4354 * emacs-lisp/cl.el (pushnew): Silence warning.
4355
4356 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
4357 (cl-byte-compile-throw): Remove.
4358 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
4359
4360 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
4361 closures.
4362
4363 * emacs-lisp/cconv.el: New file.
4364
4365 * emacs-lisp/bytecomp.el: Use lexical binding instead of
4366 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
4367 (byte-compile-initial-macro-environment):
4368 Handle declare-function here.
4369 (byte-compile--lexical-environment): New var.
4370 (byte-stack-ref, byte-stack-set, byte-discardN)
4371 (byte-discardN-preserve-tos): New lap codes.
4372 (byte-interactive-p): Don't use any more.
4373 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
4374 New macros.
4375 (byte-compile-lapcode): Use them and handle new lap codes.
4376 (byte-compile-obsolete): Remove.
4377 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
4378 (byte-compile-arglist-warn): Check late def of inlinable funs.
4379 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
4380 since they should have been expanded by now.
4381 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
4382 (byte-compile-from-buffer): Remove unused second arg.
4383 (byte-compile-preprocess): New function.
4384 (byte-compile-toplevel-file-form): New function to distinguish
4385 file-form calls from outside from file-form calls from hunk-handlers.
4386 (byte-compile-file-form): Simplify.
4387 (byte-compile-file-form-defsubst): Remove.
4388 (byte-compile-file-form-defmumble): Simplify now that
4389 byte-compile-lambda always returns a byte-code-function.
4390 (byte-compile): Preprocess.
4391 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
4392 Remove, not used any more.
4393 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
4394 (byte-compile-make-args-desc): New funs.
4395 (byte-compile-lambda): Handle lexical functions. Always return
4396 a byte-code-function.
4397 (byte-compile-reserved-constants): New var, to make up room for
4398 closed-over variables.
4399 (byte-compile-constants-vector): Obey it.
4400 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
4401 (byte-compile-macroexpand-declare-function): New function.
4402 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
4403 byte-code-functions.
4404 (byte-compile-form): Check obsolescence here.
4405 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
4406 (byte-compile-variable-ref): Remove.
4407 (byte-compile-dynamic-variable-op): New fun.
4408 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
4409 (byte-compile-variable-set): New funs.
4410 (byte-compile-discard): Add 2 args.
4411 (byte-compile-stack-ref, byte-compile-stack-set)
4412 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
4413 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
4414 macroexpand-all instead.
4415 (byte-compile-quote-form): Remove.
4416 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
4417 (byte-compile-bind, byte-compile-unbind): New funs.
4418 (byte-compile-let): Handle let* and lexical binding.
4419 (byte-compile-let*): Remove.
4420 (byte-compile-catch, byte-compile-unwind-protect)
4421 (byte-compile-track-mouse, byte-compile-condition-case):
4422 Handle a new :fun-body form, used for lexical scoping.
4423 (byte-compile-save-window-excursion)
4424 (byte-compile-with-output-to-temp-buffer): Remove.
4425 (byte-compile-defun): Simplify.
4426 (byte-compile-stack-adjustment): New fun.
4427 (byte-compile-out): Use it.
4428 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
4429
4430 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
4431 handler any more.
4432
4433 * emacs-lisp/byte-opt.el: Use lexical binding.
4434 (byte-inline-lapcode): Remove (to bytecomp).
4435 (byte-compile-inline-expand): Pay attention to inlining to/from
4436 lexically bound code.
4437 (byte-compile-unfold-lambda): Don't handle byte-code-functions
4438 any more.
4439 (byte-optimize-form-code-walker): Don't handle save-window-excursion
4440 any more and don't call compiler-macros.
4441 (byte-compile-splice-in-already-compiled-code): Remove.
4442 (byte-code): Don't inline any more.
4443 (disassemble-offset): Receive `bytes' as argument rather than via
4444 dynamic scoping.
4445 (byte-compile-tag-number): Declare before first use.
4446 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
4447 `return' even if make-spliceable.
4448 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
4449 obsolete interactive-p.
4450 (byte-optimize-lapcode): Optimize new lap-codes.
4451 Don't trip up on new form of `byte-constant' lap code.
4452
4453 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
4454
4455 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
4456
4457 * custom.el (custom-initialize-default, custom-declare-variable):
4458 Use `defvar'.
4459
4460 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
4461 New variables.
4462 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
4463 (COMPILE_FIRST): Add macroexp and cconv.
4464 * makefile.w32-in: Mirror changes in Makefile.in.
4465
4466 * vc/cvs-status.el:
4467 * vc/diff-mode.el:
4468 * vc/log-edit.el:
4469 * vc/log-view.el:
4470 * vc/smerge-mode.el:
4471 * textmodes/bibtex-style.el:
4472 * textmodes/css.el:
4473 * startup.el:
4474 * uniquify.el:
da91b5f2
CY
4475 * minibuffer.el:
4476 * newcomment.el:
4477 * reveal.el:
4478 * server.el:
4479 * mpc.el:
4480 * emacs-lisp/smie.el:
4481 * doc-view.el:
4482 * dired.el:
03408648
SM
4483 * abbrev.el: Use lexical binding.
4484
0f0c1f27
EZ
44852011-04-01 Eli Zaretskii <eliz@gnu.org>
4486
4487 * info.el (info-display-manual): New function.
4488
c82b2579
SM
44892011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
4492
221ddf68
TH
44932011-03-31 Tassilo Horn <tassilo@member.fsf.org>
4494
4495 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 4496 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 4497
cba6e77e
GM
44982011-03-31 Glenn Morris <rgm@gnu.org>
4499
e040639f
GM
4500 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
4501
cba6e77e
GM
4502 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
4503
6d0f1c9e
CS
45042011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
4505
4506 * progmodes/python.el (python-default-interpreter)
4507 (python-python-command-args, python-jython-command-args)
4508 (python-which-shell, python-which-args, python-which-bufname)
4509 (python-file-queue, python-comint-output-filter-function)
4510 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
4511 variables and functions.
4512
3e2d70fd
SM
45132011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
4514
4515 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
4516 (completion-in-region-mode): New minor mode.
4517 (completion-in-region): Use it.
4518 (completion-in-region--data, completion-in-region-mode-map): New vars.
4519 (completion-in-region--postch): New function.
4520 (completion--capf-misbehave-funs, completion--capf-safe-funs):
4521 New vars.
4522 (completion--capf-wrapper): New function.
4523 (completion-at-point): Use it to track well-behavedness of
4524 hook functions.
4525 (completion-help-at-point): New command.
4526
f3e4086c
JM
45272011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
4528
4529 * vc/add-log.el (add-change-log-entry): Don't use whitespace
4530 syntax class to search for whitespace on a single line
4531 (Message-ID: <4D938140.4030905@redhat.com>).
4532
eb7ffc14
LL
45332011-03-30 Leo Liu <sdl.web@gmail.com>
4534
4535 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
4536 New commands.
4537 (edit-abbrevs-map): Bind them here.
4538 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
4539
d806ab68
KM
45402011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
4541
4542 * allout.el (allout-hide-by-annotation, allout-flag-region):
4543 Reduce possibility of overlay leakage by making them volatile.
4544
4545 * allout-widgets.el (allout-widgets-tally): Define as nil so the
4546 hash is not shared between buffers. Mode initialization is
4547 responsible for giving it a useful starting value.
4548 (allout-item-span): Reduce possibility of overlay leakage by
4549 making them volatile.
4550 (allout-widgets-count-buttons-in-region): Add diagnostic function
4551 for tracking down button overlay leaks.
4552
ea622834
LL
45532011-03-29 Leo Liu <sdl.web@gmail.com>
4554
4555 * ido.el (ido-read-internal): Use the default history var
4556 minibuffer-history if no HISTORY is specified.
4557
b62f8267
G
45582011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
4559
03408648
SM
4560 * net/imap.el (imap-shell-open, imap-process-connection-type):
4561 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
4562 Kerberos, SSL, other subprocesses.
4563
947b6566
LL
45642011-03-28 Leo Liu <sdl.web@gmail.com>
4565
4566 * abbrev.el (abbrev-table-empty-p): New function.
4567 (prepare-abbrev-list-buffer): Place empty abbrev tables after
4568 nonempty ones. (Bug#5937)
4569
5ffb62aa
JD
45702011-03-27 Jan Djärv <jan.h.d@swipnet.se>
4571
4572 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
4573
7a097943
LL
45742011-03-27 Leo Liu <sdl.web@gmail.com>
4575
4576 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
4577 for foreground and background colors.
4578 (ansi-color-make-color-map): Adapt.
4579
c5b40130
LL
45802011-03-25 Leo Liu <sdl.web@gmail.com>
4581
1f48f7d2
LL
4582 * midnight.el (midnight-time-float): Remove. Note it calculates
4583 the microsecond component incorrectly and seconds-to-time does the
4584 same job.
625897ec 4585 Remove redundant (require 'timer).
1f48f7d2 4586
c5b40130
LL
4587 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
4588 (ido-completions): Remove unused arguments. (Bug#8329)
4589
d86d2721
SM
45902011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
4591
4592 * minibuffer.el (completion--flush-all-sorted-completions):
4593 Remove itself from hook.
4594 (completion-at-point): Let the functions perform the completion
4595 immediately and return nil or t.
4596 * comint.el (comint-dynamic-complete-functions): Now identical to
4597 completion-at-point-functions.
4598 (comint-dynamic-list-input-ring): Remove unused var `index'.
4599 (comint--match-partial-filename, comint--unquote&expand-filename):
4600 New funs, split from comint-match-partial-filename.
4601 (comint-dynamic-complete): Use completion-at-point.
4602 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
4603
e8974c48
DA
46042011-03-24 Drew Adams <drew.adams@oracle.com>
4605
4606 * thingatpt.el: Support `defun'.
4607
def71b5e
LL
46082011-03-23 Leo Liu <sdl.web@gmail.com>
4609
cb5af48e
LL
4610 * abbrevlist.el: Move to obsolete/abbrevlist.el.
4611
def71b5e
LL
4612 * help-mode.el (help-mode-finish): Tweak regexp.
4613
927c53e7
GM
46142011-03-23 Glenn Morris <rgm@gnu.org>
4615
18d05bed
GM
4616 * eshell/esh-opt.el (eshell-eval-using-options):
4617 Do not bind unused local variable `eshell-option-stub'.
4618
927c53e7
GM
4619 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
4620
9d0da923
JB
46212011-03-22 Juanma Barranquero <lekktu@gmail.com>
4622
4623 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
4624 keymap variable in `with-no-warnings' to avoid a warning when the
4625 keymap has been already `defconst'ed.
4626
4b978a67
LL
46272011-03-22 Leo Liu <sdl.web@gmail.com>
4628
4629 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
4630 encode all chars in abbrevs; otherwise use emacs-mule or
4631 utf-8-emacs. (Bug#8308)
4632
5fd62452
JB
46332011-03-22 Juanma Barranquero <lekktu@gmail.com>
4634
0b1596c6
JB
4635 * simple.el (backward-delete-char-untabify):
4636 Avoid warning about using `delete-backward-char'.
4637
5fd62452
JB
4638 * image.el (image-type-file-name-regexps): Make it variable.
4639 `imagemagick-register-types' modifies it, and the user may want
4640 to add new extensions for known image types.
4641 (imagemagick-register-types): Throw error if not using ImageMagick.
4642
0b4e93f1
LL
46432011-03-22 Leo Liu <sdl.web@gmail.com>
4644
4645 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
4646 located before rcirc-prompt-end-marker.
4647 (rcirc-complete): Error if point is not after rcirc prompt.
4648 Handle the case when table is nil.
9882e214 4649 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 4650
fccee4ab
CY
46512011-03-22 Chong Yidong <cyd@stupidchicken.com>
4652
4653 * custom.el (custom--inhibit-theme-enable): Make it affect only
4654 custom-theme-set-variables and custom-theme-set-faces.
4655 (provide-theme): Ignore custom--inhibit-theme-enable.
4656 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
4657 (custom-enabling-themes): Delete variable.
d86d2721
SM
4658 (enable-theme): Accept only loaded themes as arguments.
4659 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
4660 (custom-enabled-themes): Forbid themes from setting this.
4661 Eliminate use of custom-enabling-themes.
4662 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 4663
af896da6
LL
46642011-03-21 Leo Liu <sdl.web@gmail.com>
4665
4666 * ido.el (ido-read-internal): Add ido-selected to history instead
4667 of user input.
4668
78f64af0
SM
46692011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * subr.el (deferred-action-list, deferred-action-function):
4672 Mark obsolete.
4673
b16ac1ec
LL
46742011-03-21 Leo Liu <sdl.web@gmail.com>
4675
810f7698
LL
4676 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
4677 change on 2011-02-13 (bug#8309).
4678
b16ac1ec
LL
4679 * minibuffer.el (read-file-name-function): Change default value.
4680 (read-file-name--defaults): Rename from read-file-name-defaults.
4681 (read-file-name-default): Rename from read-file-name.
4682 (read-file-name): Call read-file-name-function.
4683
4e05e67e
GM
46842011-03-21 Glenn Morris <rgm@gnu.org>
4685
4686 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
4687 Doc fixes.
4688
4359915b
CY
46892011-03-21 Chong Yidong <cyd@stupidchicken.com>
4690
4691 * cus-theme.el: Add missing provide statement.
4692 (customize-create-theme): Extract theme value correctly.
4693 (custom-theme-visit-theme): Autoload.
4694 (customize-create-theme): Prompt before inserting default faces.
4695
1fe275ee
JB
46962011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
4697
4698 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
4699 units and musical notes.
4700
3ec03f7e
LL
47012011-03-20 Leo <sdl.web@gmail.com>
4702
4703 * ido.el (ido-read-internal): Use completing-read-default.
4704 (ido-completing-read): Fix compatibility with completing-read.
4705
7d476bde
CO
47062011-03-20 Christian Ohler <ohler@gnu.org>
4707
4708 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
4709 (ert-delete-all-tests): Use `called-interactively-p' rather than
4710 `interactive-p'.
4711 (ert--make-xrefs-region): Respect END.
4712
fe0fb33e
CY
47132011-03-19 Chong Yidong <cyd@stupidchicken.com>
4714
ff854b0b
CY
4715 * dired-aux.el (dired-create-directory): Signal an error if the
4716 directory already exists (Bug#8246).
4717
fe0fb33e
CY
4718 * facemenu.el (list-colors-display): Call list-faces-display
4719 inside with-help-window.
4720 (list-colors-print): Use display property to align the final
4721 column, instead of checking window-width.
4722
576bce32
EZ
47232011-03-19 Eli Zaretskii <eliz@gnu.org>
4724
4725 * emerge.el (emerge-metachars): Separate value for ms-dos and
4726 windows-nt systems.
4727 (emerge-protect-metachars): Quote correctly for ms-dos and
4728 windows-nt systems.
4729
89c41d68 47302011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
4731
4732 * info.el (info-initialize): Replace all uses of `:' with
4733 path-separator for compatibility with non-Unix systems.
4734 Cache quoting of path-separator. (Bug#8258)
4735
b14e3e21 47362011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
4737
4738 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
4739 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
4740 (mouse-avoidance-mode): Fix typos in docstrings.
4741
4525ce3e
CY
47422011-03-19 Chong Yidong <cyd@stupidchicken.com>
4743
4744 * startup.el (package-subdirectory-regexp): Move from package.el.
4745 Omit \\` and \\', and let callers add them.
4746
4747 * emacs-lisp/package.el (package-strip-version)
4748 (package-load-all-descriptors): Add \\` and \\' to
4749 package-subdirectory-regexp before using it.
4750 (package-untar-buffer): New arg DIR; ensure that file untars only
4751 into this expected directory. Remove superfluous delete-region.
4752 (package-unpack): Caller changed.
4753 (package-tar-file-info): Use package-subdirectory-regexp.
4754
a904a09a 47552011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 4756
a904a09a
SM
4757 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
4758 diff-mode-shared-map (bug#8284).
4759 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
4760
47612011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
4762
4763 * calendar/time-date.el (format-seconds): Use assoc instead of
4764 assoc-string, since assoc-string doesn't exist in XEmacs.
4765
171fc304
JB
47662011-03-17 Juanma Barranquero <lekktu@gmail.com>
4767
4768 * custom.el (custom-known-themes): Reflow docstring.
4769 (custom-theme-load-path): Fix typo in docstring.
4770 (load-theme): Fix typo in error message.
4771 (custom-available-themes, custom-variable-theme-value):
4772 Use `let', not `let*'.
4773
d71990a1
JB
47742011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
4775
4776 * calc/README: Mention inclusion of musical notes.
4777
4778 * calc/calc-units.el (calc-lu-quant): Rename from
4779 `calc-logunits-quantity'.
4780 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
4781 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
4782 (calc-db): Rename from `calc-dblevel'.
4783 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
4784 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
4785 (calc-np): Rename from `calc-nplevel'.
4786 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
4787 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
4788 (calc-lu-plus): Rename from `calc-logunits-add'.
4789 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
4790 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
4791 (calc-lu-minus): Rename from `calc-logunits-sub'.
4792 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
4793 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
4794 (calc-lu-times): Rename from `calc-logunits-mul'.
4795 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
4796 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
4797 (calc-lu-divide): Rename from `calc-logunits-div'.
4798 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
4799 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
4800
4801 * calc/calc-ext.el (calc-init-extensions): Update the names of the
4802 functions being autoloaded.
4803
4804 * calc/calc.el (calc-lu-power-reference): Rename from
4805 `calc-logunits-power-reference'.
4806 (calc-lu-field-reference): Rename from
4807 `calc-logunits-field-reference'.
4808
4809 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
4810
40c2934b
SM
48112011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
4812
4813 * minibuffer.el (completion-all-sorted-completions):
4814 Use :completion-cycle-penalty text property if present.
4815
b0911414
KM
48162011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
4817
4818 * allout.el (allout-yank-processing): Adjust for new rebulleting
4819 regime so bullet being yanked is used without prompting the user
4820 for a choice.
4821
8a05b668
JB
48222011-03-16 Juanma Barranquero <lekktu@gmail.com>
4823
4824 * startup.el (command-line): Warn the user that _emacs is deprecated.
4825
5ba5fb81
JB
48262011-03-16 Juanma Barranquero <lekktu@gmail.com>
4827
4828 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
4829 (delphi-verbose, delphi-comment-face, delphi-string-face)
4830 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
4831 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
4832 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
4833 (delphi-new-comment-line, delphi-font-lock-defaults)
4834 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
4835 Fix typos in docstrings.
4836
2dab465b
KM
48372011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
4838
5ba5fb81 4839 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
4840 Invert the roles of character and string values for INSTEAD, so a
4841 string is used for the more common case of a defaulting prompt.
4842
0adf5618
SM
48432011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4844
4845 * progmodes/ruby-mode.el (ruby-backward-sexp):
4846 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
4847 * play/gamegrid.el (gamegrid-make-face):
4848 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
4849 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
4850 * notifications.el (notifications-notify):
4851 * net/xesam.el (xesam-search-engines):
4852 * net/quickurl.el (quickurl-list-insert):
4853 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
4854
d72700e5
CY
48552011-03-15 Chong Yidong <cyd@stupidchicken.com>
4856
4857 * startup.el (command-line): Update package subdirectory regexp.
4858
49c5410a
SM
48592011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4860
c6eee9aa
SM
4861 * allout.el (allout-abbreviate-flattened-numbering)
4862 (allout-mode-deactivate-hook): Fix up obsolescence "date".
4863
49c5410a
SM
4864 * subr.el (read-char-choice): Only show the cursor after the prompt,
4865 not after the answer.
4866
047b2bb9
KR
48672011-03-15 Kevin Ryde <user42@zip.com.au>
4868
4869 * help-fns.el (variable-at-point): Skip leading quotes, if any
4870 (bug#8253).
4871
0a57d256
SM
48722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
4873
4874 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
4875 warning message.
4876
77c992bc
MA
48772011-03-14 Michael Albinus <michael.albinus@gmx.de>
4878
4879 * shell.el (shell): When called interactively, offer to change the
4880 shell file name on remote hosts.
4881
eebc475d
TZ
48822011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
4883
4884 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
4885 integration for LDAP parameters. The host, base, user or binddn,
4886 and secret tokens can be specified in a netrc file, for instance.
4887 This is optional because an `auth-source' parameter must be
4888 specified in the search attributes.
4889
9d05d1ba
JB
48902011-03-13 Juanma Barranquero <lekktu@gmail.com>
4891
4892 * help.el (describe-mode): Link to the mode's definition (bug#8185).
4893
09d9db2c
GM
48942011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
4897 into declaration. Remove redundant and harmful binding.
4898
48992011-03-12 Eli Zaretskii <eliz@gnu.org>
4900
4901 * files.el (file-ownership-preserved-p): Pass `integer' as an
4902 explicit 2nd argument to `file-attributes'. If the file's owner
4903 is the Administrators group on Windows, and the current user is
4904 Administrator, consider that a match.
4905
4906 * server.el (server-ensure-safe-dir): Consider server directory
4907 safe on MS-Windows if its owner is the Administrators group while
4908 the current Emacs user is Administrator. Use `=' to compare
4909 numerical UIDs, since they could be integers or floats.
4910
219bd536
JB
49112011-03-12 Juanma Barranquero <lekktu@gmail.com>
4912
4913 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
4914
f3afd36b
MA
49152011-03-12 Michael Albinus <michael.albinus@gmx.de>
4916
4917 Sync with Tramp 2.2.1.
4918
4919 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
4920
4921 * net/trampver.el: Update release number.
4922
3aaaa6f1
SM
49232011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4924
94642599
SM
4925 * progmodes/compile.el (compilation--previous-directory): Fix up
4926 various nil/dead-marker mismatches (bug#8014).
4927 (compilation-directory-properties, compilation-error-properties):
4928 Don't call it at a position past the one we're about to change.
4929
3aaaa6f1
SM
4930 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
4931 Disable obsolescence warnings in the file that declares it.
4932
14239447
KM
49332011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
4934
099c39a4
JB
4935 * allout-widgets.el (allout-widgets-tally):
4936 Initialize allout-widgets-tally as a hash table rather than nil to
4937 prevent mode-line redisplay warnings. Also, clarify the module
4938 description and fix a comment typo.
14239447 4939
135e287c
JB
49402011-03-11 Juanma Barranquero <lekktu@gmail.com>
4941
4942 * help-fns.el (describe-variable): Don't complete keywords.
4943 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
4944
ffbf300e
CY
49452011-03-10 Chong Yidong <cyd@stupidchicken.com>
4946
ba08b241
CY
4947 * emacs-lisp/package.el (package-version-join): Impose a standard
4948 string representation for pre/alpha/beta version lists.
4949 (package-unpack-single): Standardize the directory name by passing
4950 it through package-version-join.
4951 (package-strip-rcs-id): Accept any version string that does not
4952 signal an error in version-to-list.
ffbf300e 4953
f346fd6b
MA
49542011-03-10 Michael Albinus <michael.albinus@gmx.de>
4955
4956 * simple.el (delete-trailing-whitespace): Return nil for the
4957 benefit of `write-file-functions'.
4958
ccb55d27
GM
49592011-03-10 Glenn Morris <rgm@gnu.org>
4960
5ceaac0c
GM
4961 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
4962
02da65ff
GM
4963 * vc/vc-git.el (vc-git-program): New option.
4964 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
4965 (vc-git--call): Use it.
4966
b2f603cc
GM
4967 * eshell/esh-util.el (eshell-condition-case): Doc fix.
4968
5772caab
GM
4969 * cus-edit.el (Custom-newline): If no button at point, look
4970 for a subgroup button at start-of-line. (Bug#2298)
4971
ccb55d27
GM
4972 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
4973
ec6ecaed
JD
49742011-03-10 Julien Danjou <julien@danjou.info>
4975
4976 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
4977 `cursor-type' is nil.
4978
9d5aa01d
JB
49792011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
4980
4981 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
4982
b6a5875b
KM
49832011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
4984
4985 * allout.el Summary: Change so yank of distinctive-bullet items
4986 preserves the existing header prefix, rebulleting it if necessary,
4987 rather than replacing it. This is necessary for proper operation
4988 of cooperative addons like allout-widgets.
219bd536 4989 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
4990 SOLICIT arg to INSTEAD, and interpret additionally a string value
4991 as alternate bullet to be used, instead of prompting the user for
4992 a bullet character.
4993
ee545c35
MA
49942011-03-09 Michael Albinus <michael.albinus@gmx.de>
4995
d86d2721
SM
4996 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4997 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
4998 `tramp-default-port'.
4999
c47971d7
DD
50002011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5001
5002 * net/rcirc.el (rcirc-handler-001): Remove useless
5003 with-rcirc-process-buffer.
5004 (rcirc-check-auth-status): Swap arguments to string-match.
5005
13522cb4
GM
50062011-03-09 Glenn Morris <rgm@gnu.org>
5007
0be6f4f1
GM
5008 * shell.el (shell-mode):
5009 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
5010
13522cb4
GM
5011 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
5012 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
5013
515de2e3
CY
50142011-03-08 Chong Yidong <cyd@stupidchicken.com>
5015
5016 * emacs-lisp/package.el (package-refresh-contents)
5017 (package-menu-execute): Use condition-case-no-debug.
5018
b511b994
MA
50192011-03-08 Michael Albinus <michael.albinus@gmx.de>
5020
5021 * simple.el (shell-command-to-string): Use `process-file'.
5022
5023 * emacs-lisp/package.el (package-tar-file-info): Handle also
5024 remote files.
5025
d86d2721
SM
5026 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5027 Use `equal' for upload base check.
b511b994 5028
25bbfb31
AM
50292011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
5030
5031 * textmodes/texinfo.el (texinfo-environments):
5032 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
5033
be996521
GM
50342011-03-08 Glenn Morris <rgm@gnu.org>
5035
e9c8529f
GM
5036 * cus-start.el (cursor-in-non-selected-windows):
5037 Fix :set quoting oddness. (Bug#8192)
5038
be996521
GM
5039 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
5040 in some setf expressions. (Bug#2159)
5041
2bb5649e
CY
50422011-03-08 Chong Yidong <cyd@stupidchicken.com>
5043
5044 * custom.el (custom-available-themes): Return themes in
5045 alphabetical order.
5046
33383987 5047See ChangeLog.15 for earlier changes.
e3d51b27
MR
5048
5049;; Local Variables:
5050;; coding: utf-8
e3d51b27
MR
5051;; End:
5052
33383987 5053 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
5054
5055 This file is part of GNU Emacs.
5056
5057 GNU Emacs is free software: you can redistribute it and/or modify
5058 it under the terms of the GNU General Public License as published by
5059 the Free Software Foundation, either version 3 of the License, or
5060 (at your option) any later version.
5061
5062 GNU Emacs is distributed in the hope that it will be useful,
5063 but WITHOUT ANY WARRANTY; without even the implied warranty of
5064 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5065 GNU General Public License for more details.
5066
5067 You should have received a copy of the GNU General Public License
5068 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.