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