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