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