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