* lisp/eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1bc4c3ae
SM
12011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
4 in place (bug#9907).
5 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7 (eshell-structure-basic-command, eshell-rewrite-while-command)
8 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
11 (eshell-do-pipelines-synchronously, eshell-eval-command):
12 Use backquotes and prefer setq to set.
13 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14 (eshell-macrop): Use functionp.
15
30b65d9c
CY
162011-10-30 Chong Yidong <cyd@gnu.org>
17
18 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
19 instead of set-mark (Bug#9810).
20
2d197ffb
CY
212011-10-30 Chong Yidong <cyd@gnu.org>
22
23 * window.el (split-window-below, split-window-right): Rename from
24 split-window-above-each-other and split-window-side-by-side
25 respectively. All callers changed.
26 (split-window-sensibly, split-window-sensibly): Use them.
27 (split-window-keep-point): Doc fix.
28
29 * isearch.el: Add isearch-scroll property to split-window-below
30 and split-window-right.
31
32 * follow.el (follow-mode):
33 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
34 * progmodes/ada-xref.el (ada-gdb-application):
35 * emulation/vip.el (vip-buffer-in-two-windows):
36 * image-dired.el (image-dired-dired-with-window-configuration):
37 * dired-x.el (dired-do-find-marked-files):
38 * dired.el (dired-pop-to-buffer):
39 * bs.el (bs--show-with-configuration):
40 * vc/emerge.el (emerge-setup-windows):
41 * textmodes/two-column.el (2C-two-columns):
42 * textmodes/reftex-toc.el (reftex-toc):
43 * progmodes/gdb-mi.el (gdb-setup-windows):
44 * progmodes/fortran.el (fortran-window-create):
45 * net/newst-treeview.el (newsticker--treeview-window-init):
46 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
47 * emulation/tpu-edt.el (tpu-gold-map):
48 * emulation/crisp.el (crisp-mode-map):
49 * calendar/calendar.el (calendar-basic-setup): Callers changed.
50
38bb2ca8
CY
512011-10-29 Chong Yidong <cyd@gnu.org>
52
aa4de341
CY
53 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
54
e1eb5385
CY
55 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
56
5d2ece3c
CY
57 * textmodes/flyspell.el (flyspell-word): Fix char offset for
58 forged Ispell output (Bug#7904).
59
38bb2ca8
CY
60 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
61
d0af9f77
SM
622011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
63
64 * doc-view.el: Avoid ugly errors about not finding nil.
65 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
66 (doc-view-dvipdf-program, doc-view-unoconv-program)
67 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
68 Avoid nil or absolute file name as default value.
69 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
70
52bedd34
AM
712011-10-28 Alan Mackenzie <acm@muc.de>
72
73 * progmodes/cc-defs.el (c-version). -> 5.32.2.
74
7e43cfa5
AM
752011-10-28 Alan Mackenzie <acm@muc.de>
76
77 Amend the handling of c-beginning/end-of-defun in nested declaration
78 scopes.
79
52bedd34
AM
80 * progmodes/cc-vars.el (c-defun-tactic): Move here from
81 cc-langs.el. Change it to a defcustom.
7e43cfa5 82
52bedd34
AM
83 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
84 cc-vars.el.
7e43cfa5
AM
85 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
86
d0af9f77
SM
87 * progmodes/cc-engine.el (c-beginning-of-statement-1):
88 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 89
52bedd34
AM
90 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
91 Add parameter `inclusive' (to include enclosing braces in the
92 region).
7e43cfa5
AM
93 (c-widen-to-enclosing-decl-scope): New function.
94 (c-while-widening-to-decl-block): New macro.
95 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
96 outward for defun boundaries, and correspondingly change symbol
97 `respect-enclosure' to `go-outward'.
98 (c-declaration-limits): Change algorithm to report only the "innermost"
99 defun's boundaries.
100
1a2ce9ee
DD
1012011-10-28 Deniz Dogan <deniz@dogan.se>
102
103 * net/rcirc.el (rcirc-mode): Use hard newlines.
104
bc97a826
AM
1052011-10-28 Alan Mackenzie <acm@muc.de>
106
107 Amend to indent and fontify macros "which include their own semicolon"
108 correctly, using the "virtual semicolon" mechanism.
109
52bedd34 110 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 111
d0af9f77
SM
112 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
113 Recoded to scan one line at at time rather than having \n and \r
52bedd34 114 explicitly in c-stmt-delim-chars
bc97a826
AM
115 (for some modes, e.g. AWK).
116 (c-forward-label): Amend for virtual semicolons.
117 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
118
52bedd34
AM
119 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
120 of the new C macros.
bc97a826 121
52bedd34
AM
122 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
123 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
bc97a826
AM
124 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
125 (c-opt-cpp-macro-define): Make into a full language variable.
126 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
127 AWK Mode (including \n, \r) removed, no longer needed.
128
d0af9f77
SM
129 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
130 Invoke c-make-macro-with-semi-re.
bc97a826 131
52bedd34
AM
132 * progmodes/cc-vars.el (c-macro-with-semi-re):
133 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
134 (c-make-macro-with-semi-re): New function
135
7a6c0941
SM
1362011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * vc/log-edit.el: Fill empty field rather than adding new one.
139 (log-edit-add-field): New function.
140 (log-edit-insert-changelog): Use it.
141
b0c4cdcf
ML
1422011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
143
144 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
145
ee1f1da9
SM
1462011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
149 (gdb--check-interpreter): New function.
150 (gdb): Use it.
151
51bc5f8b
GM
1522011-10-27 Glenn Morris <rgm@gnu.org>
153
416a2c45
GM
154 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
155 (least-positive-float, least-negative-float)
156 (least-positive-normalized-float, least-negative-normalized-float)
157 (float-epsilon, float-negative-epsilon):
158 Remove unnecessary declarations.
159
160 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
161 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
162 (least-positive-float, least-negative-float)
163 (least-positive-normalized-float, least-negative-normalized-float)
164 (float-epsilon, float-negative-epsilon): Add doc-strings,
165 based on those in cl.texi.
166
51bc5f8b
GM
167 * files.el (set-visited-file-name): If the major-mode changed,
168 reload the local variables. (Bug#9796)
169
15de15c6
CY
1702011-10-27 Chong Yidong <cyd@gnu.org>
171
172 * subr.el (change-major-mode-after-body-hook): New hook.
173 (run-mode-hooks): Run it.
174
ee1f1da9
SM
175 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
176 Use change-major-mode-before-body-hook.
15de15c6
CY
177
178 * simple.el (fundamental-mode):
179 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
180 change introducing fundamental-mode-hook.
181
5430d399
JB
1822011-10-26 Juanma Barranquero <lekktu@gmail.com>
183
a7ef684b 184 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 185
ad74a69e
MA
1862011-10-26 Michael Albinus <michael.albinus@gmx.de>
187
188 * ido.el (ido-file-name-all-completions-1): Do not require
189 tramp.el explicitely. (Bug#7583)
190
71d4c2a5
SM
1912011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * progmodes/octave-mod.el:
194 * progmodes/octave-inf.el: Update maintainer.
195
b1f6fa26
CY
1962011-10-26 Chong Yidong <cyd@gnu.org>
197
198 * subr.el (with-wrapper-hook): Rewrite doc.
199
3f04efd6
MA
2002011-10-25 Michael Albinus <michael.albinus@gmx.de>
201
202 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 203 filenames "/method:foo:". (Bug#9793)
3f04efd6 204
410488d3
SM
2052011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
208 (bug#9865).
209
c1ebb47e
GM
2102011-10-24 Glenn Morris <rgm@gnu.org>
211
212 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
213
7f5c46c7
MA
2142011-10-24 Michael Albinus <michael.albinus@gmx.de>
215
216 * notifications.el: Add the requirement of a running D-Bus session
217 bus to the Commentary.
218
db2440b6
JL
2192011-10-24 Juri Linkov <juri@jurta.org>
220
221 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
222 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
223 (Bug#9364)
224
feecf435
JL
2252011-10-24 Juri Linkov <juri@jurta.org>
226
227 * info.el (Info-following-node-name-re): Add newline to the list
228 of allowed characters for leading space. (Bug#9824)
229
a3839de2
SM
2302011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
233 * progmodes/octave-mod.el (octave-help): Remove.
234
09388e76
MA
2352011-10-23 Michael Albinus <michael.albinus@gmx.de>
236
237 Sync with Tramp 2.2.3.
238
239 * net/tramp-cache.el (top): Pacify byte-compiler using
240 `init-file-user' and `site-run-file'.
241
242 * net/trampver.el: Update release number.
243
86c60681
CY
2442011-10-23 Chong Yidong <cyd@gnu.org>
245
246 * files.el (toggle-read-only): Remove obsolete comment about
247 version control.
248
249 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
250 for toggle-read-only. Note that this hasn't called vc-next-action
251 since 2008-05-02, though it wasn't documented at the time.
252
a3839de2
SM
253 * vc/ediff-init.el (ediff-toggle-read-only-function):
254 Use toggle-read-only.
86c60681 255
cd5495ff
AM
2562011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
257
258 Fix bug #9560, sporadic wrong indentation; improve instrumentation
259 of c-parse-state.
260
a3839de2
SM
261 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
262 correct faulty logical expression.
cd5495ff
AM
263 (c-parse-state-state, c-record-parse-state-state):
264 (c-replay-parse-state-state): New defvar/defuns.
265 (c-debug-parse-state): Use new functions.
266
42ee24ed
MR
2672011-10-22 Martin Rudalics <rudalics@gmx.at>
268
269 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 270 last fix. Use window-in-direction correctly.
42ee24ed 271
a7dee7e7
CY
2722011-10-21 Chong Yidong <cyd@gnu.org>
273
274 * progmodes/idlwave.el (idlwave-mode):
275 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
276 require-final-newline; that's done in prog-mode.
277 Suggested by Stefan Monnier.
a7dee7e7 278
e07b9a6d
MR
2792011-10-21 Martin Rudalics <rudalics@gmx.at>
280
281 * mouse.el (mouse-drag-window-above)
282 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
283 (mouse-drag-mode-line-1, mouse-drag-header-line)
284 (mouse-drag-vertical-line-rightward-window): Remove.
285 (mouse-drag-line): New function.
286 (mouse-drag-mode-line, mouse-drag-header-line)
287 (mouse-drag-vertical-line): Call mouse-drag-line.
288 * window.el (window-at-side-p, windows-at-side): New functions.
289
7e1361d9
UM
2902011-10-21 Ulrich Mueller <ulm@gentoo.org>
291
292 * tar-mode.el (tar-grind-file-mode):
293 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
294
30fcaf3a
CY
2952011-10-21 Chong Yidong <cyd@gnu.org>
296
297 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
298 * progmodes/vera-mode.el (vera-mode):
299 Use mode-require-final-newline.
30fcaf3a 300
516eddb0
GM
3012011-10-20 Glenn Morris <rgm@gnu.org>
302
303 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
304
10d5f513
CS
3052011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
306
307 * emulation/cua-base.el (cua-set-mark): Fix case of string.
308
ac6c8639
CY
3092011-10-20 Chong Yidong <cyd@gnu.org>
310
311 * emulation/cua-base.el (cua-mode):
312 * mail/footnote.el (footnote-mode):
313 * mail/mailabbrev.el (mail-abbrevs-mode):
314 * net/xesam.el (xesam-minor-mode):
315 * progmodes/bug-reference.el (bug-reference-mode):
316 * progmodes/cap-words.el (capitalized-words-mode):
317 * progmodes/compile.el (compilation-minor-mode)
318 (compilation-shell-minor-mode):
319 * progmodes/gud.el (gud-tooltip-mode):
320 * progmodes/hideif.el (hide-ifdef-mode):
321 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
322 * progmodes/subword.el (subword-mode):
323 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
324 * progmodes/which-func.el (which-function-mode):
325 * term/tvi970.el (tvi970-set-keypad-mode):
326 * term/vt100.el (vt100-wide-mode):
327 * textmodes/flyspell.el (flyspell-mode):
328 * textmodes/ispell.el (ispell-minor-mode):
329 * textmodes/nroff-mode.el (nroff-electric-mode):
330 * textmodes/paragraphs.el (use-hard-newlines):
331 * textmodes/refill.el (refill-mode):
332 * textmodes/reftex.el (reftex-mode):
333 * textmodes/rst.el (rst-minor-mode):
334 * textmodes/sgml-mode.el (html-autoview-mode)
335 (sgml-electric-tag-pair-mode):
336 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
337 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
338 * emulation/crisp.el (crisp-mode):
339 * emacs-lisp/eldoc.el (eldoc-mode):
340 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
341 minor mode behavior.
342
aa42ab43
JL
3432011-10-19 Juri Linkov <juri@jurta.org>
344
345 * descr-text.el (describe-char): Add #x2010 and #x2011 to
346 the list of hard-coded chars with escape-glyph face.
347
89400f1d
SM
3482011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
349
350 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
351
305c07f6
MA
3522011-10-19 Michael Albinus <michael.albinus@gmx.de>
353
354 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
355 running process.
356
13754b54
GM
3572011-10-19 Glenn Morris <rgm@gnu.org>
358
359 * vc/vc-bzr.el (vc-bzr-after-dir-status):
360 Ignore ignored files. (Bug#9726)
361
06e21633
CY
3622011-10-19 Chong Yidong <cyd@gnu.org>
363
364 Doc fix for minor modes, stating that an omitted argument enables
365 the mode unconditionally when called from Lisp.
366
367 * abbrev.el (abbrev-mode):
368 * allout.el (allout-mode):
369 * autoinsert.el (auto-insert-mode):
370 * autoarg.el (autoarg-mode, autoarg-kp-mode):
371 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
372 (global-auto-revert-mode):
373 * battery.el (display-battery-mode):
374 * composite.el (global-auto-composition-mode)
375 (auto-composition-mode):
376 * delsel.el (delete-selection-mode):
377 * desktop.el (desktop-save-mode):
378 * dired-x.el (dired-omit-mode):
379 * dirtrack.el (dirtrack-mode):
380 * doc-view.el (doc-view-minor-mode):
381 * double.el (double-mode):
382 * electric.el (electric-indent-mode, electric-pair-mode):
383 * emacs-lock.el (emacs-lock-mode):
384 * epa-hook.el (auto-encryption-mode):
385 * follow.el (follow-mode):
386 * font-core.el (font-lock-mode):
387 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
388 * help.el (temp-buffer-resize-mode):
389 * hilit-chg.el (highlight-changes-mode)
390 (highlight-changes-visible-mode):
391 * hi-lock.el (hi-lock-mode):
392 * hl-line.el (hl-line-mode, global-hl-line-mode):
393 * icomplete.el (icomplete-mode):
394 * ido.el (ido-everywhere):
395 * image-file.el (auto-image-file-mode):
396 * image-mode.el (image-minor-mode):
397 * iswitchb.el (iswitchb-mode):
398 * jka-cmpr-hook.el (auto-compression-mode):
399 * linum.el (linum-mode):
400 * longlines.el (longlines-mode):
401 * master.el (master-mode):
402 * mb-depth.el (minibuffer-depth-indicate-mode):
403 * menu-bar.el (menu-bar-mode):
404 * minibuf-eldef.el (minibuffer-electric-default-mode):
405 * mouse-sel.el (mouse-sel-mode):
406 * msb.el (msb-mode):
407 * mwheel.el (mouse-wheel-mode):
408 * outline.el (outline-minor-mode):
409 * paren.el (show-paren-mode):
410 * recentf.el (recentf-mode):
411 * reveal.el (reveal-mode, global-reveal-mode):
412 * rfn-eshadow.el (file-name-shadow-mode):
413 * ruler-mode.el (ruler-mode):
414 * savehist.el (savehist-mode):
415 * scroll-all.el (scroll-all-mode):
416 * scroll-bar.el (scroll-bar-mode):
417 * server.el (server-mode):
418 * shell.el (shell-dirtrack-mode):
419 * simple.el (auto-fill-mode, transient-mark-mode)
420 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
421 (line-number-mode, column-number-mode, size-indication-mode)
422 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
423 * strokes.el (strokes-mode):
424 * time.el (display-time-mode):
425 * t-mouse.el (gpm-mouse-mode):
426 * tool-bar.el (tool-bar-mode):
427 * tooltip.el (tooltip-mode):
428 * type-break.el (type-break-mode-line-message-mode)
429 (type-break-query-mode):
430 * view.el (view-mode):
431 * whitespace.el (whitespace-mode, whitespace-newline-mode)
432 (global-whitespace-mode, global-whitespace-newline-mode):
433 * xt-mouse.el (xterm-mouse-mode): Doc fix.
434
a3839de2
SM
435 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
436 Fix autogenerated docstring.
06e21633 437
5214e501
JL
4382011-10-19 Juri Linkov <juri@jurta.org>
439
440 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
441 by checking environment variables "DESKTOP_SESSION" and
442 "XDG_CURRENT_DESKTOP". (Bug#9779)
443
195f8db9
JL
4442011-10-19 Juri Linkov <juri@jurta.org>
445
446 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
447 (browse-url-chromium-program, browse-url-chromium-arguments):
448 New defcustoms.
449 (browse-url-default-browser): Check for `browse-url-chromium' and
450 call `browse-url-chromium-program'.
451 (browse-url-chromium): New command. (Bug#9779)
452
343a34ff
JB
4532011-10-18 Juanma Barranquero <lekktu@gmail.com>
454
455 * facemenu.el (list-colors-duplicates): On Windows, detect more
456 duplicates by assuming that only colors matching "^System" are
457 special "system colors". (Bug#9722)
458
6978a151
SM
4592011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
462 to distinguish the author from the committer.
463
6a80b297
MA
4642011-10-18 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
467
b31a5677
JK
4682011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
469
470 * international/mule.el (sgml-html-meta-auto-coding-function):
471 Add support for detecting encoding in HTML5 specified only as
472 <meta charset="UTF-8">. Implementation just makes http-equiv and
473 content-type parts from HTML4 encoding string optional. (Bug#9716)
474
80c6d77f
GM
4752011-10-18 Glenn Morris <rgm@gnu.org>
476
477 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
478
08b0fee8
CY
4792011-10-18 Chong Yidong <cyd@gnu.org>
480
481 * faces.el (cursor): Doc fix.
482
67e729a5
CY
4832011-10-17 Chong Yidong <cyd@gnu.org>
484
485 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
486
343a34ff 4872011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
488
489 * dirtrack.el (dirtrack): Support shell buffers with path
490 prefixes, e.g. tramp-based remote shells. (Bug#9647)
491
0bc06380
TZ
4922011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
493
494 * json.el: Bump version to 1.3 and note change in History.
495 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
496
8b79f3e0
SM
4972011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
498
5a7c536b
SM
499 * comint.el (comint-insert-input, comint-send-input)
500 (comint-get-old-input-default, comint-backward-matching-input)
501 (comint-next-prompt): Use nil instead of `input' for field property of
502 past user input (bug#114).
503
96a8a0df
SM
504 * minibuffer.el (completion--replace): Inherit surrounding properties
505 (bug#114).
506 (minibuffer-complete-and-exit): Use it.
507
8b79f3e0
SM
508 * comint.el (comint--table-subvert): Quote the all-completions output
509 (bug#9160).
510
b8f7ff0d
MR
5112011-10-17 Martin Rudalics <rudalics@gmx.at>
512
8b79f3e0 513 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 514
b8f7ff0d 515 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 516 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
517 entries and separate them from frame entries.
518
c235b555
GM
5192011-10-15 Glenn Morris <rgm@gnu.org>
520
521 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
522 Doc fixes.
523
6bbfa6e1
CY
5242011-10-15 Chong Yidong <cyd@stupidchicken.com>
525
8b79f3e0
SM
526 * net/network-stream.el (network-stream-open-starttls):
527 Improve detection of failure due to lack of TLS support.
ec5c990d 528
6bbfa6e1
CY
529 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
530 putting the input text in front and in bold.
531
98488977
SM
5322011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
533
3d1337be
SM
534 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
535
ee0b45e4
SM
536 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
537 empty buffer.
538
98488977
SM
539 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
540 unread-command-events rather than pushing yet-another event.
541
186f4720
EZ
5422011-10-14 Eli Zaretskii <eliz@gnu.org>
543
544 * mail/sendmail.el (sendmail-query-once): Improve the wording of
545 the explanation of the possible choices. Make the options passed
546 to completing-read shorter.
547
8b7a997c
AM
5482011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
549
550 * textmodes/flyspell.el (flyspell-large-region): Make sure
551 extended character mode is used if defined (Bug#1339).
552
12587bbb
EZ
5532011-10-13 Eli Zaretskii <eliz@gnu.org>
554
555 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
556 character info for LRE, LRO, RLE, and RLO characters by appending
557 an invisible PDF.
12587bbb 558
bad41229
SM
5592011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
560
561 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
562 even in case of error; add debug spec; simplify data flow.
563 (with-timeout-handler): Remove.
564
28dbc92f
MA
5652011-10-12 Michael Albinus <michael.albinus@gmx.de>
566
567 Fix Bug#6019, Bug#9315.
568
569 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
570 complete `buffer-file-name', the local file name part could look
571 remotely (for example on VMS).
572
573 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
574 `tramp-run-real-handler'.
575 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
576 already quoted by '"'.
577
578 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
579 Let `file-name-handler-alist' be nil, the local file name part
580 could look remotely (for example on VMS).
581
e1b0b23a
SM
5822011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
583
584 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
585 from here...
586 (flyspell-post-command-hook): ...to here.
587
a120bde9
SM
5882011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
591 if not needed.
592 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
593 using completion. Protect against "slow" callers.
594 Remove the "message hack".
595
7ce7717b
JL
5962011-10-11 Juri Linkov <juri@jurta.org>
597
598 * isearch.el (isearch-lazy-highlight-word): New variable.
599 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
600 Use it. (Bug#9727)
601
c02ee9d6
GM
6022011-10-11 Glenn Morris <rgm@gnu.org>
603
604 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
605 like f90-previous-statement does.
606
93e616fd 6072011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
608
1f190e73 609 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
610 only in interactive use, to avoid error.
611
af7b6078
SM
6122011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
613
614 * minibuffer.el (completion-file-name-table): Fix last change,
615 i.e. ignore normal errors but not the other ones.
616
0563dae9
MR
6172011-10-10 Martin Rudalics <rudalics@gmx.at>
618
619 * window.el (special-display-buffer-names)
620 (special-display-regexps): Remove some remnants of earlier
621 changes from doc-strings.
366ca7f3
MR
622 (quit-windows-on): New function.
623
624 * vc/vc.el (vc-revert, vc-rollback):
625 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
626 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 627 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 628
49677495
MR
6292011-10-09 Martin Rudalics <rudalics@gmx.at>
630
631 * window.el (frame-auto-hide-function): Add version tag.
632 (Bug#9699)
633
56f2d1e1
MA
6342011-10-09 Michael Albinus <michael.albinus@gmx.de>
635
636 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
637 condition.
638
112a6592
LL
6392011-10-09 Leo Liu <sdl.web@gmail.com>
640
641 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
642 (Bug#9701)
643
0812589b
GM
6442011-10-08 Glenn Morris <rgm@gnu.org>
645
646 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
647 before the first code statement zero indent. (Bug#9690)
648
b2b0776e
CY
6492011-10-08 Chong Yidong <cyd@stupidchicken.com>
650
651 * simple.el (count-words-region): Always count in the region.
652 Report the number of lines and characters too.
653 (count-words): New command, which counts in the buffer if the
654 region is inactive, as count-words-region used to.
655 (count-words--message): New function. Handle plurals.
656 (count-lines-region): Make it an alias for count-words-region.
657
658 * bindings.el (esc-map): Replace count-lines-region with
659 count-words-region.
660
c557cd6b
MR
6612011-10-08 Martin Rudalics <rudalics@gmx.at>
662
663 * window.el (window--delete): Delete dedicated frame
664 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 665 (switch-to-buffer): Fix doc-string typo.
c557cd6b 666
61a57ef4 6672011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
668
669 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
670
c3833279
CY
6712011-10-07 Chong Yidong <cyd@stupidchicken.com>
672
673 * bindings.el ([M-left],[M-right]): Bind to left-word and
674 right-word respectively.
675
21ce8245
GM
6762011-10-07 Glenn Morris <rgm@gnu.org>
677
678 * cus-start.el (debug-on-quit): Fix custom type.
679
6d823bb2
LMI
6802011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
681
0181e193
LMI
682 * subr.el (define-key-after): Clarify that the function is not
683 useful for non-menu keymaps.
684
6d823bb2
LMI
685 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
686
8e3459ce 6872011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
688
21ce8245 689 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 690 in current minibuffer (Fix bug with recursive minibuffers).
691
a1c2d21e
CY
6922011-10-06 Chong Yidong <cyd@stupidchicken.com>
693
694 * progmodes/gdb-mi.el (gdb): Doc fix.
695
5a4cf282
MR
6962011-10-05 Martin Rudalics <rudalics@gmx.at>
697
698 * window.el (frame-auto-hide-function): New option replacing
699 frame-auto-delete. Suggested by Stefan Monnier.
700 (window--delete): Call frame-auto-hide-function instead of
701 investigating frame-auto-delete.
c96111ea
MR
702 (window-point-1, set-window-point-1): New functions.
703 (window-in-direction, record-window-buffer, window-state-get-1)
704 (display-buffer-record-window): Use window-point-1 instead of
705 window-point.
706 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 707
9854542e
SM
7082011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
709
710 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
711
8943cfb0
GM
7122011-10-05 Glenn Morris <rgm@gnu.org>
713
714 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
715 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
716
647ab967
LL
7172011-10-05 Leo Liu <sdl.web@gmail.com>
718
719 * subr.el (read-char-choice): Fix argument to buffer-live-p which
720 works with buffer object.
721
3ddfbced
SM
7222011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * mpc.el (mpc-tool-bar-map): Add labels.
725
bdfa5dd2
GM
7262011-10-04 Glenn Morris <rgm@gnu.org>
727
728 * calendar/holidays.el (calendar-check-holidays): Doc fix.
729
0e2070b5
MR
7302011-10-04 Martin Rudalics <rudalics@gmx.at>
731
732 * window.el (window--delete): New function.
733 (frame-auto-delete): Resuscitate option.
734 (bury-buffer, replace-buffer-in-windows)
735 (quit-window): Rewrite using window--delete.
736 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
737 Pass display-buffer-mark-dedicated to window--display-buffer-2
738 (Bug#9639).
739
3dc61a09
SM
7402011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
741
915a9b64
SM
742 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
743 returns a list (bug#9554). Add remote file name completion.
744 * comint.el (comint--table-subvert): Curry and get quote&unquote
745 functions as arguments.
746 (comint--complete-file-name-data): Adjust call accordingly.
747 * pcomplete.el (pcomplete--table-subvert): Remove.
748 (pcomplete-completions-at-point): Use comint--table-subvert instead.
749
3dc61a09
SM
750 * minibuffer.el (completion-table-case-fold): Use currying.
751 (completion--styles-type, completion--cycling-threshold-type):
752 New constants.
753 (completion-styles, completion-category-overrides)
754 (completion-cycle-threshold): Use them.
755 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
756 completion-table-case-fold.
757
8ea0a993
SB
7582011-10-03 Stephen Berman <stephen.berman@gmx.net>
759
760 * minibuffer.el (completion-category-overrides): Fix type of styles
761 and add more user friendly tags (bug#9660).
762
8c24b7f6
SM
7632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
764
765 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
766 (mule-input-method-string): New widget.
767 (default-input-method, language-info-custom-alist): Use it.
768
428fe61a
SM
7692011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
770
32c1fffd
SM
771 * pcomplete.el: Require comint.
772 (pcomplete--common-suffix): Remove.
773 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
774 (pcomplete--table-subvert): Sync with comint--table-subvert.
775 (pcomplete--entries): Use comint-completion-file-name-table.
776 * comint.el (comint-unquote-filename): Simplify.
777 (comint-completion-file-name-table): New function (bug#9616).
778 (comint--complete-file-name-data): Use it.
779
428fe61a
SM
780 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
781 (pcmpl-gnu-tar-buffer): Remove.
782 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
783 around. Make sure pcomplete-suffix-list is only changed temporarily.
784 Don't look inside the tar's file if it's too large.
428fe61a 785
04c52e2f
CY
7862011-10-01 Chong Yidong <cyd@stupidchicken.com>
787
ce3cefcc
CY
788 * cus-edit.el (custom-mode-map):
789 * epa.el (epa-key-list-mode-map):
790 * man.el (Man-mode-map):
791 * startup.el (splash-screen-keymap):
792 * simple.el (special-mode-map): Use scroll-up-command and
793 scroll-down-command.
794
795 * progmodes/idlw-help.el (idlwave-help-mode-map):
796 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
797 * net/newst-plainview.el (newsticker-mode-map):
798 * emulation/ws-mode.el (wordstar-mode-map):
799 * emulation/vi.el (vi-com-map):
800 * calc/calc-graph.el (calc-graph-show-dumb):
801 * term/sun.el (terminal-init-sun):
802 * term/ns-win.el (global-map):
803 * progmodes/grep.el (grep-mode-map):
804 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
805 * mail/rmail.el (rmail-mode-map):
806 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
807
04c52e2f
CY
808 * custom.el (custom-safe-themes, load-theme): Treat value of t for
809 custom-safe-themes as special.
810
79adf8c8
JD
8112011-10-01 Julien Danjou <julien@danjou.info>
812
813 * notifications.el (notifications-notify): Fix docstring.
814
63bd50d3
PS
8152011-10-01 Per Starbäck <per@starback.se>
816
817 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
818
199e4c7e
MR
8192011-09-30 Martin Rudalics <rudalics@gmx.at>
820
821 * startup.el (command-line-1): Fix last fix by inserting
822 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 823 (Bug#9605) and (Bug#9636)
199e4c7e 824
fe5f08dd
EZ
8252011-09-29 Eli Zaretskii <eliz@gnu.org>
826
827 * simple.el (line-move): If auto-hscroll-mode is disabled and the
828 window is hscrolled, move by logical lines. (Bug#9607)
829 (line-move-visual): Update the doc string to the above effect.
830
b5516bbd
MR
8312011-09-29 Martin Rudalics <rudalics@gmx.at>
832
ccee00c0
MR
833 * window.el (display-buffer-record-window): When WINDOW is the
834 selected window use `point' instead of `window-point'. (Bug#9626)
835
b5516bbd
MR
836 * startup.el (command-line-1): Use insert-before-markers when
837 inserting initial-scratch-message. (Bug#9605)
ccee00c0 838
b5516bbd
MR
839 * help.el (help-window): Remove variable.
840
52aa0014
GM
8412011-09-29 Glenn Morris <rgm@gnu.org>
842
843 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
844
df9a7357
JB
8452011-09-29 Juanma Barranquero <lekktu@gmail.com>
846
847 * descr-text.el (describe-char-categories): Accept category
848 descriptions more than one line long.
849
a8406c20
SM
8502011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
851
88d9610c
SM
852 * simple.el (delete-trailing-whitespace): Fix last change.
853
a5daf810
SM
854 * progmodes/perl-mode.el (perl-syntax-propertize-function):
855 Don't confuse "y => 3" as the beginning of a `y' operation.
856
a8406c20
SM
857 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
858 object has more than 4 slots (bug#9613).
859
a239d4e9
JB
8602011-09-28 Juanma Barranquero <lekktu@gmail.com>
861
862 * subr.el (with-output-to-temp-buffer):
863 * net/quickurl.el (quickurl, quickurl-browse-url):
864 Fix typos in docstrings.
865
693fbdb6
EZ
8662011-09-27 Eli Zaretskii <eliz@gnu.org>
867
868 * minibuffer.el (completion-styles)
869 (completion-category-overrides): Cross reference each other in doc
870 strings.
871
8b457e28
GM
8722011-09-27 Glenn Morris <rgm@gnu.org>
873
874 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
875 to split-string. (Bug#9606)
876
85a16208
LMI
8772011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
878
879 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
880 (bug#9615).
881
502f9ebd
CY
8822011-09-27 Chong Yidong <cyd@stupidchicken.com>
883
884 * emacs-lisp/package.el (list-packages): Fix echo area message.
885
7690bdea
LL
8862011-09-27 Leo Liu <sdl.web@gmail.com>
887
888 * ido.el (ido-read-internal): Accept cons cell HIST arg.
889
e2ee6f30
MA
8902011-09-25 Michael Albinus <michael.albinus@gmx.de>
891
892 * net/dbus.el (dbus-unregister-object): Don't release services for
893 registered signals. (Bug#9581)
894
f3f98342
TZ
8952011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
896
897 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
898 function that picks between cfengine 2 and 3 support
899 automatically. Update docs accordingly.
900
dd7aa8dd
KH
9012011-09-22 Kenichi Handa <handa@m17n.org>
902
903 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
904 ZERO.
905 (indian-itrans-v5-table-for-tamil): New variable.
906 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
907
3f2b07f8
KM
9082011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
909
910 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
911 that's true if the current command involved collapsing of text.
912 It's reset to false at the beginning of the next command.
913 (allout-post-command-business): Move the cursor to the beginning
914 of entry if the cursor is hidden and collapsing activity just
915 happened.
916
371d6a61
CY
9172011-09-24 Chong Yidong <cyd@stupidchicken.com>
918
919 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
920 tracking (Bug#9541).
921
2ac2721a
UJ
9222011-09-24 Ulf Jasper <ulf.jasper@web.de>
923
924 * net/newst-reader.el (newsticker-html-renderer)
925 (newsticker-show-news): Automatically
343a34ff
JB
926 load html rendering package if newsticker-html-renderer is set.
927 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
928 let-bound" and the error "Symbol's value as variable is void:
929 w3m-fill-column".
930
fac7ae53
MA
9312011-09-24 Michael Albinus <michael.albinus@gmx.de>
932
933 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
934 Release services only if they are defined. (Bug#9581)
935
e08b633b
RS
9362011-09-23 Richard Stallman <rms@gnu.org>
937
e488d29c
RS
938 * textmodes/paragraphs.el (forward-sentence): For backwards case,
939 distinguish start of paragraph from start of its text.
940
19c38752
RS
941 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
942
e08b633b
RS
943 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
944 (rmail-generate-viewer-buffer): Put that hook on view buffer.
945 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
946
0a39f27e
AS
9472011-09-23 Andreas Schwab <schwab@linux-m68k.org>
948
949 * international/mule-diag.el (mule-diag): Insert a newline after
950 each fontset description.
951
db4e950d
SM
9522011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * simple.el (delete-trailing-whitespace):
955 Document last change; simplify.
956
eca3f3ea
PW
9572011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
958
d68e189a
PW
959 * simple.el (delete-trailing-whitespace): Also delete
960 extra newlines at the end of the buffer.
961
eca3f3ea
PW
962 * textmodes/picture.el: Make motion commands obey shift-select-mode.
963 (picture-newline): Use forward-line so as to ignore fields.
964
01c157cc
SM
9652011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * subr.el (with-wrapper-hook): Fix edebug spec.
968
022de23e
LMI
9692011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
970
971 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
972 (bug#4538).
973
91683089
MA
9742011-09-23 Michael Albinus <michael.albinus@gmx.de>
975
eca3f3ea
PW
976 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
977 Fix nasty bug using wrong cached values.
91683089 978
5bdd6fa4
AM
9792011-09-23 Alan Mackenzie <acm@muc.de>
980
981 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
982
97adfb97
CY
9832011-09-23 Chong Yidong <cyd@stupidchicken.com>
984
985 * window.el (pop-to-buffer): Ensure right window is selected if we
986 chose another frame.
987
d4ef2b50
EZ
9882011-09-22 Eli Zaretskii <eliz@gnu.org>
989
990 * simple.el (what-cursor-position): Use get-char-property-change
991 and next-single-char-property-change, to be able to show display
992 properties that come from overlays as well as text properties.
993
72258fe5
CY
9942011-09-22 Chong Yidong <cyd@stupidchicken.com>
995
996 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
997
998 * cmuscheme.el (run-scheme, switch-to-scheme):
999 * cus-edit.el (customize-group, custom-buffer-create)
1000 (customize-browse):
1001 * info.el (info):
1002 * shell.el (shell):
1003 * mail/sendmail.el (mail):
1004 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
1005
8f098516
RS
10062011-09-22 Richard Stallman <rms@gnu.org>
1007
1008 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
1009 move back only to line beg, don't move back over blank lines.
1010
e74f1bb6
MA
10112011-09-22 Michael Albinus <michael.albinus@gmx.de>
1012
1013 * files.el (copy-directory): Set directory attributes only in case
1014 they could be retrieved from the source directory. (Bug#9565)
1015
bfeef8b6
DK
10162011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
1017
1018 * progmodes/hideshow.el (hs-looking-at-block-start-p)
1019 (hs-find-block-beginning, hs-hide-level-recursive):
1020 Ignore strings as well as comments. (Bug#9502)
1021
7e423bb8
AS
10222011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
1023
1024 * progmodes/sql.el (sql-comint-postgres):
1025 Convert port number to a string. (Bug#9566)
1026
b4d72fcf
MR
10272011-09-22 Martin Rudalics <rudalics@gmx.at>
1028
1029 * window.el (quit-window): Undedicate window when switching to
1030 previous buffer. Reported by Thierry Volpiatto
1031 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
1032 (special-display-popup-frame): When popping up a new frame reset
1033 its previous buffers to nil. Simplify code.
b4d72fcf 1034
a7b88dc6
MA
10352011-09-21 Michael Albinus <michael.albinus@gmx.de>
1036
1037 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
1038 and process filter, as done also in `shell-command'.
1039
cf4eacfd
MR
10402011-09-21 Martin Rudalics <rudalics@gmx.at>
1041
eca3f3ea
PW
1042 * window.el (set-window-buffer-start-and-point):
1043 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
1044 Volpiatto <thierry.volpiatto@gmail.com>.
1045 (quit-window): Reword doc-string. Handle new format of
1046 quit-restore parameter. Don't delete window if it has a
1047 previous buffer we can show instead of the present one.
1048 (display-buffer-record-window): Rewrite using a new format for
1049 the quit-restore window parameter
1050 (special-display-popup-frame, display-buffer-same-window)
1051 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1052 (display-buffer-pop-up-window, display-buffer-use-some-window):
1053 Adapt symbol passed to display-buffer-record-window.
1054 * help.el (help-window-setup): Handle new format of quit-restore
1055 parameter.
1056
8d28cb95
SM
10572011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1058
94ab793f
SM
1059 * faces.el (face-list): Fix docstring (bug#9564).
1060
8d28cb95
SM
1061 * window.el (display-buffer--action-function-custom-type):
1062 Don't include internal functions in the Custom interface.
1063
3820edeb
JL
10642011-09-20 Juri Linkov <juri@jurta.org>
1065
1066 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1067 (Info-forward-node, Info-backward-node, Info-next-preorder)
1068 (Info-last-preorder): Use it. (Bug#9528)
1069
5147931d
JL
10702011-09-20 Juri Linkov <juri@jurta.org>
1071
1072 * info.el (Info-last-preorder): Visit last menu item only when
1073 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1074
cf499a1a
JD
10752011-09-20 Julien Danjou <julien@danjou.info>
1076
1077 * password-cache.el (password-cache-remove): Remove entries even if the
1078 value is nil, so that password with a nil value (negative caching) is
1079 possible to invalidate.
1080
f84e2fe2
LM
10812011-09-20 Lawrence Mitchell <wence@gmx.li>
1082
1083 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1084 all whitespace around breakpoint. (Bug#9553)
1085 (f90-find-breakpoint): Only break at whitespace inside a comment.
1086
78054a46
SM
10872011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * minibuffer.el (completion-file-name-table): Keep track of errors.
1090 (completion-table-with-predicate): Handle the case where pred1 is nil.
1091 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1092
345083b2
SM
10932011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1094
e24e27be
SM
1095 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1096 (debugger-return-value): Signal an error if the debugging context does
1097 not await any return value.
1098
345083b2
SM
1099 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1100 * image-mode.el (image-toggle-display-text)
1101 (image-toggle-display-image): Stay away from evil `intangible'.
1102
08d355e3
LL
11032011-09-19 Leo Liu <sdl.web@gmail.com>
1104
1105 * replace.el (occur-revert-arguments): Make it permanent-local.
1106 (occur-mode): Don't call font-lock-defontify.
1107
f01da43f
CY
11082011-09-19 Chong Yidong <cyd@stupidchicken.com>
1109
1110 * net/ldap.el (ldap-search-internal): Don't push empty search
1111 result (Bug#9508).
1112
b6072fa6
SM
11132011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1116
443d6696
MA
11172011-09-19 Michael Albinus <michael.albinus@gmx.de>
1118
1119 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1120 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1121
7cc6e154
JL
11222011-09-18 Juri Linkov <juri@jurta.org>
1123
1124 * buff-menu.el (Buffer-menu-mode-map):
1125 * dired.el (dired-mode-map):
1126 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1127 (lisp-interaction-mode-map):
1128 * emacs-lisp/package.el (package-menu-mode-map):
1129 * epa.el (epa-key-list-mode-map):
1130 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1131 (menu-bar-options-menu):
1132 * outline.el (outline-mode-menu-bar-map):
1133 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1134 * vc/vc-dir.el (vc-dir-menu-map):
1135 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1136 Capitalize non-function content words in menu item strings.
1137
1138 * dired.el (dired-mode-map): Add menu item for
1139 `image-dired-dired-toggle-marked-thumbs'.
1140
80302a81
JL
11412011-09-18 Juri Linkov <juri@jurta.org>
1142
1143 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1144 to `isearch-case-fold-search' and restore its original value
1145 after the `isearch-mode' call.
1146
46c5cf66
JL
11472011-09-18 Juri Linkov <juri@jurta.org>
1148
1149 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1150 because `zgrep' returns 1 for successful matches (bug#9226).
1151
d18b513b
JL
11522011-09-18 Juri Linkov <juri@jurta.org>
1153
1154 * info.el (Info-extract-menu-node-name): Check the second match
1155 for empty string (second test-case of bug#9528).
1156 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1157 intermediate nodes to the history (first test-case of bug#9528).
1158
72753f87
JL
11592011-09-18 Juri Linkov <juri@jurta.org>
1160
1161 * info.el (Info-mode-syntax-table): New variable.
1162 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1163
c9384295
JL
11642011-09-18 Juri Linkov <juri@jurta.org>
1165
1166 * info.el (Info-file-supports-index-cookies): Increment
1167 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1168 one more line for long file names (bug#4142).
1169
d473dce8
CY
11702011-09-18 Chong Yidong <cyd@stupidchicken.com>
1171
1172 * newcomment.el (comment-normalize-vars): If prompting for
1173 comment-start, set comment-start-skip too (Bug#8424).
1174
2176854d
JB
11752011-09-18 Johan Bockgård <bojohan@gnu.org>
1176
1177 * icomplete.el: Fix previous fix of Bug#5849.
1178 (icomplete-mode): Don't set completion-show-inline-help.
1179 (icomplete-minibuffer-setup): Set completion-show-inline-help
1180 locally during icompletion.
1181
3aace4e4
CY
11822011-09-18 Chong Yidong <cyd@stupidchicken.com>
1183
c940224f
CY
1184 * woman.el (woman2-process-escapes): Don't delete unrecognized
1185 escapes (Bug#7843).
1186
3aace4e4
CY
1187 * files.el (inhibit-first-line-modes-regexps): Add image files.
1188 (hack-local-variables-prop-line): Return nil for malformed
1189 prop-lines (Bug#9044).
1190
710dec63
MA
11912011-09-18 Michael Albinus <michael.albinus@gmx.de>
1192
1193 * net/tramp.el (top): Don't require 'shell.
1194 (tramp-methods): Fix docstring.
1195 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1196 Return complete remote file name. Handle "smb" case.
1197 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1198 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1199
1200 * net/tramp-compat.el (top): Require 'shell.
1201
1202 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1203 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1204 `tramp-current-host'.
1205 (tramp-get-remote-tmpdir): Remove.
1206
1207 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1208 `tramp-tmpdir' entries.
1209 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1210 (tramp-smb-handle-file-attributes): Ignore errors.
1211 (tramp-smb-wait-for-output): Check also for process end.
1212
5d5ac8ec
LMI
12132011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1214
1215 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1216 when sending QUIT (bug#9312).
1217
8c0f49f0
CY
12182011-09-17 Chong Yidong <cyd@stupidchicken.com>
1219
1220 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1221 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1222 occur-mode-display-occurrence.
1223 (occur-edit-mode): Add usage message.
1224 (occur-cease-edit): New command.
1225 (occur-after-change-function): Use text properties to find the
1226 position of the prefix text.
1227 (occur-engine): Set stickiness of prefix text properties.
1228
8f1383f7
GM
12292011-09-17 Glenn Morris <rgm@gnu.org>
1230
1231 * progmodes/etags.el (complete-tag):
1232 Fix call to completion-in-region. (Bug#9526)
1233
744ba0e3
JL
12342011-09-17 Juri Linkov <juri@jurta.org>
1235
1236 * textmodes/ispell.el (ispell-word): Add to the error message
1237 the word, ispell program name and current dictionary (bug#9121).
1238 (ispell-tex-arg-end): Capitalize "error" in the error message.
1239
d9bbf400
AS
12402011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1241
1242 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1243 check. (Bug#4251)
1244
8da11505
JL
12452011-09-17 Juri Linkov <juri@jurta.org>
1246
1247 * window.el (window-safe-min-height, window-safe-min-width):
1248 Fix typos (followup to bug#9522).
1249
a91adc7e
SJ
12502011-09-17 Sven Joachim <svenjoac@gmx.de>
1251
1252 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1253
064f328a
EZ
12542011-09-16 Eli Zaretskii <eliz@gnu.org>
1255
1256 * simple.el (line-move): If goal-column is set, move by logical
1257 lines, not by display lines. (Bug#971)
1258 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1259 to reflect the above change.
1260
e69df516
SM
12612011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1262
1263 * image.el (imagemagick-register-types): Use regexp-opt.
1264
cbb0f9ab
CY
12652011-09-15 Chong Yidong <cyd@stupidchicken.com>
1266
1267 * window.el (display-buffer-base-action): Rename from
1268 display-buffer-default-action. Make default value empty.
1269 (display-buffer-overriding-action): Convert to defvar.
1270 (display-buffer-fallback-action): New var.
1271
25322144
CY
12722011-09-15 Chong Yidong <cyd@stupidchicken.com>
1273
1274 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1275 declaration.
1276 (package--add-to-archive-contents): If there is a duplicate entry
1277 with an older version, remove it.
1278 (package-menu-mark-delete, package-menu-mark-install)
1279 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1280 (package-menu-mark-obsolete-for-deletion):
1281 Use package-menu-get-status instead of a regexp search.
25322144
CY
1282 (package-menu-get-status): Use tabulated-list-entry.
1283 (package-menu-mark-upgrades): New command.
d770725a 1284 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1285 (package-menu-execute): Do installation before deletion.
1286 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1287 instead of checking major-mode.
1288 (package-menu--find-upgrades): New function.
1289
7520339c
LMI
12902011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1291
1292 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1293 passwords in the log buffer.
65a046c4
LMI
1294 (smtpmail-process-filter): Update the process marker so that the
1295 "broken by peer" status message is inserted in the right place.
7520339c 1296
d3c30954
SM
12972011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1298
3fe48822
SM
1299 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1300 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1301 bibtex-completion-at-point-function.
1302 (bibtex-completion-at-point-function): Use them.
1303
1b8b3954
SM
1304 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1305
d3c30954
SM
1306 * mpc.el (mpc-constraints-tag-lookup): New function.
1307 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1308 also to browser "album|playlist".
1309
72779976
JL
13102011-09-14 Juri Linkov <juri@jurta.org>
1311
1312 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1313 (isearch-edit-string): Use length of `isearch-string' when
1314 `isearch-fail-pos' returns nil.
1315 (isearch-message): Remove duplicate code and call
1316 `isearch-fail-pos' with arg `t'.
1317
a0bf2bcd
CY
13182011-09-14 Chong Yidong <cyd@stupidchicken.com>
1319
17bb0a2d
CY
1320 * replace.el (occur-mode-goto-occurrence): Don't force using other
1321 window (Bug#9499).
1322
a0bf2bcd
CY
1323 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1324
f678e0b6
MR
13252011-09-14 Martin Rudalics <rudalics@gmx.at>
1326
1327 * window.el (display-buffer-window): Remove.
1328 (display-buffer-record-window): Use help-setup window parameter
1329 instead of variable display-buffer-window.
1330 (display-buffer-function, special-display-buffer-names)
1331 (special-display-function): Mention help-setup parameter instead
1332 of display-buffer-window in doc-string.
d3c30954
SM
1333 * help.el (help-window-setup): New argument help-window.
1334 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1335 Reword some messages.
1336 (with-help-window): Pass window used for displaying the buffer
1337 to help-window-setup. Don't set display-buffer-window.
1338
8e39b2e8
GM
13392011-09-13 Glenn Morris <rgm@gnu.org>
1340
1341 * emacs-lisp/debug.el (debugger-make-xrefs):
1342 Preserve point. (Bug#9462)
1343
85e9c04b
CY
13442011-09-13 Chong Yidong <cyd@stupidchicken.com>
1345
1346 * window.el (window-deletable-p): Use next-frame.
1347
1b36ed6a
MR
13482011-09-13 Martin Rudalics <rudalics@gmx.at>
1349
1350 * window.el (window-auto-delete): Remove.
1351 (window-deletable-p): Remove argument FORCE. Don't deal with
1352 dedicatedness and previous buffers.
1353 (switch-to-prev-buffer): Don't delete window.
1354 (delete-windows-on): Delete a window's frame if and only if the
1355 window is dedicated.
1356 (replace-buffer-in-windows): Delete buffer's window or frame if
1357 and only if window is dedicated.
1358 (quit-window): Handle quit-restore as before last change.
4d61f28d 1359 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1360
ef8ef9fb
CY
13612011-09-13 Chong Yidong <cyd@stupidchicken.com>
1362
1363 * window.el (window-deletable-p): Never delete the last frame on a
1364 given terminal.
1365
b2cba41e
GM
13662011-09-13 Glenn Morris <rgm@gnu.org>
1367
1368 * help.el (describe-key-briefly): Copy previous standard-output change.
1369
51553db6 13702011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1371
1372 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1373
b7556719
GM
13742011-09-13 Glenn Morris <rgm@gnu.org>
1375
1376 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1377 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1378
64b51947
CY
13792011-09-12 Chong Yidong <cyd@stupidchicken.com>
1380
1381 * dired-aux.el (dired-mark-read-string): Don't return default
1382 value on empty input (Bug#9361).
1383 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1384 Omit initial minibuffer contents.
1385 (dired-do-chmod): Signal an error on empty input.
1386 (dired-mark-read-string): Don't return default on empty input.
1387
1388 * files.el (file-modes-symbolic-to-number): Doc fix.
1389
393a301e
SM
13902011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * international/mule-cmds.el (ucs-completions): Remove.
1393 (read-char-by-name): Use complete-with-action instead; add metadata.
1394
fa5660f9
CY
13952011-09-11 Chong Yidong <cyd@stupidchicken.com>
1396
1397 * window.el (display-buffer--action-function-custom-type)
1398 (display-buffer--action-custom-type): New vars.
1399 (display-buffer-alist, display-buffer-default-action)
1400 (display-buffer-overriding-action): Add defcustom types.
1401
4a592f66
CY
1402 * frame.el (delete-other-frames): Doc fix (Bug#276).
1403
73d56dbd
LMI
14042011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1405
1406 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1407
37ac18a3
CY
14082011-09-11 Chong Yidong <cyd@stupidchicken.com>
1409
1410 Change modes that used same-window-* vars to use switch-to-buffer.
1411
1412 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1413 Use switch-to-buffer.
1414
1415 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1416 (customize-browse, custom-buffer-create-other-window):
1417 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1418
1419 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1420 (Info-prev, Info-up, Info-speedbar-goto-node)
1421 (info-display-manual): Use switch-to-buffer.
1422 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1423
1424 * mail/sendmail.el (mail): Use switch-to-buffer.
1425 (mail-recover): Use switch-to-buffer-other-window.
1426
1427 * cmuscheme.el (run-scheme, switch-to-scheme):
1428 * ielm.el (ielm):
1429 * shell.el (shell):
1430 * net/rlogin.el (rlogin):
1431 * net/telnet.el (telnet, rsh):
1432 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1433
10195bd6
AS
14342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1435
1436 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1437
b322f63a
LMI
14382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1439
39d7fed6
LMI
1440 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1441 so don't mention it (bug#9301).
ba5a81f1 1442 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1443
ee0e9f11
LMI
1444 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1445 match `x', `w32' and `ns', like the manual says (bug#9029).
1446
0b1c89c1 1447 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1448 (process-kill-buffer-query-function): Mention the buffer name in
1449 the query.
0b1c89c1 1450
77549ea8
LMI
1451 * image-mode.el (image-next-line): The line parameter is mandatory
1452 (bug#9258).
1453
803ef892
LMI
1454 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1455 which can be useful (bug#9301).
1456
12980837
LMI
1457 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1458
91054f8f
LMI
1459 * subr.el (match-string): Mention that the current buffer should
1460 be the same as the search was done in (bug#9282).
1461
b322f63a
LMI
1462 * facemenu.el: Disable the remove-* commands if the mark isn't
1463 active (bug#9162).
1464
3199b96f
CY
14652011-09-10 Chong Yidong <cyd@stupidchicken.com>
1466
1467 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1468 of display-buffer.
1469 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1470
1471 * replace.el (occur-mode-goto-occurrence)
1472 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1473 and display-buffer.
1474
1475 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1476 display-buffer.
1477
1478 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1479 special-display and same-window variables.
1480 (mail-other-window): Use switch-to-buffer-other-window.
1481 (mail-other-frame): USe switch-to-buffer-other-frame.
1482
393a301e
SM
1483 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1484 Use display-buffer-other-frame.
3199b96f
CY
1485 (gdb-display-gdb-buffer): Use pop-to-buffer.
1486
1487 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1488
1489 * progmodes/python.el: Don't set same-window-buffer-names.
1490
1491 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1492
1493 * window.el (display-buffer-alist): Add *Python*.
1494
8319e0bf
CY
14952011-09-10 Chong Yidong <cyd@stupidchicken.com>
1496
1497 * window.el (display-buffer-alist): Add entry for buffers
1498 previously handled same-window-*.
1499 (display-buffer-alist, display-buffer-default-action)
1500 (display-buffer-overriding-action): Mark as risky.
1501 (display-buffer-alist): Document action function changes.
1502 (display-buffer--same-window-action)
1503 (display-buffer--other-frame-action): New variables.
1504 (switch-to-buffer, display-buffer-other-frame): Use them.
1505 (display-buffer): Rename reuse-frame entry to reusable-frames.
1506 (display-buffer-reuse-selected-window): Function deleted.
1507 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1508 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1509 (display-buffer-special): New function.
1510 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1511 display-buffer-reuse-or-pop-window. Split off special-display
1512 part into display-buffer-special.
1513 (display-buffer-use-some-window): Don't perform any special
1514 pop-up-frames handling.
1515 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1516 (display-buffer--maybe-same-window): Rename from
0d3ff375 1517 display-buffer-maybe-same-window.
8319e0bf 1518
919a69aa
CY
1519 * info.el: Don't set same-window-regexps.
1520 (info-setup): New function.
1521 (info-other-window, info): Call it.
1522
1523 * cus-edit.el: Don't set same-window-regexps.
1524 (customize-group): New argument.
1525 (customize-group-other-window): Use it.
1526 (customize-face, customize-face-other-window): Likewise.
1527 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1528
8319e0bf
CY
1529 * net/rlogin.el:
1530 * net/telnet.el:
1531 * progmodes/gud.el: Don't set same-window-regexps.
1532
1533 * cmuscheme.el:
1534 * ielm.el:
1535 * shell.el:
1536 * mail/sendmail.el:
1537 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1538
25173000
JL
15392011-09-10 Juri Linkov <juri@jurta.org>
1540
1541 * isearch.el (isearch-edit-string): Remove obsolete mention of
1542 `C-w' (`isearch-yank-word-or-char') from docstring.
1543 (isearch-query-replace): Fix typo in docstring (bug#9466).
1544
056e44ef
JL
15452011-09-10 Juri Linkov <juri@jurta.org>
1546
1547 * paren.el (show-paren-function): Don't show escaped parens.
1548 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1549
c3760c17
EZ
15502011-09-10 Eli Zaretskii <eliz@gnu.org>
1551
1552 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1553 (mm-default-file-encoding): Remove autoload forms, they are
1554 replaced with autoload cookies in mml.el and mm-encode.el.
1555 (mail-add-attachment): New command.
1556 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1557 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1558 the doc string.
1559 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1560
fece895e
RT
15612011-09-10 Reuben Thomas <rrt@sc3d.org>
1562
e69df516
SM
1563 * simple.el (count-words-region): Use buffer if there's no region
1564 (bug#9429).
fece895e 1565
5e68ce4a
JL
15662011-09-09 Juri Linkov <juri@jurta.org>
1567
1568 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1569 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1570 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1571
0a6b9622
AM
15722011-09-09 Alan Mackenzie <acm@muc.de>
1573
1574 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1575 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1576
14a29deb
EZ
15772011-09-09 Eli Zaretskii <eliz@gnu.org>
1578
1579 Fix for Savannah bug#9392.
1580 * simple.el (mail-encode-mml): New defvar.
1581
1582 * mail/rmail.el (mail-encode-mml): Add a defvar.
1583 (rmail-enable-mime-composing): Default to t.
1584 (rmail-forward): Use MIME method of forwarding only if both
1585 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1586 Set mail-encode-mml non-nil if the MIME method was used.
1587
1588 * mail/sendmail.el (mml-to-mime): Add autoload form.
1589 (mail-encode-mml): Add a defvar.
1590 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1591 to nil.
1592 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1593 message through mml-to-mime, and reset mail-encode-mml to nil.
1594
28c45130
GM
15952011-09-09 Glenn Morris <rgm@gnu.org>
1596
1597 * woman.el (woman-if-body): When processing an .el block,
1598 do not delete the next .el block as well. (Bug#9447)
69f4b618 1599 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1600
9b1c252e
MR
16012011-09-08 Martin Rudalics <rudalics@gmx.at>
1602
1603 * window.el (window-deletable-p): Make sure window is live before
1604 invoking window-prev-buffers.
1605
567457e3
LL
16062011-09-08 Leo Liu <sdl.web@gmail.com>
1607
1608 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1609
97f05794
JL
16102011-09-08 Juri Linkov <juri@jurta.org>
1611
1612 * progmodes/compile.el (compilation-environment): Make it
1613 a defcustom (bug#8340).
1614
8b0874b5
MR
16152011-09-08 Martin Rudalics <rudalics@gmx.at>
1616
1617 * window.el (frame-auto-delete): Rename to window-auto-delete.
1618 Make it control auto-deletion of windows and/or frames.
1619 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1620 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1621 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1622 Rewrite handling of case when window/frame can be deleted.
1623 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1624 argument t. (Bug#9456)
8b0874b5 1625
4feb6e73
CY
16262011-09-07 Chong Yidong <cyd@stupidchicken.com>
1627
1628 * help-mode.el (help-mode): Restore autoload.
1629
91ab9c13
JL
16302011-09-07 Juri Linkov <juri@jurta.org>
1631
1632 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1633 `compilation-environment'. Set buffer-local
1634 `compilation-environment' to `thisenv' later after (funcall mode).
1635 (Bug#8340)
1636
1637 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1638 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1639 instead of replacing its value. (Bug#8340)
1640
0527e251
JL
16412011-09-07 Juri Linkov <juri@jurta.org>
1642
1643 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1644 based on text properties put by `grep-filter' instead of matching
1645 escape sequences.
1646 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1647 to the value of `grep-error-screen-columns' (bug#9438).
1648
249f792c
JL
16492011-09-07 Juri Linkov <juri@jurta.org>
1650
1651 * simple.el (next-error-highlight, next-error-highlight-no-select):
1652 Doc fix (bug#9432).
1653
ff7271b9
OT
16542011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1655
1656 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1657 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1658
183fc730
LL
16592011-09-07 Leo Liu <sdl.web@gmail.com>
1660
1661 * net/rcirc.el (rcirc-mode): Conditionally initialize
1662 rcirc-input-ring.
1663
77694924
SM
16642011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1665
1666 * emacs-lisp/find-func.el (find-function-C-source): Only set
1667 find-function-C-source-directory after checking that we found a source
1668 file there (bug#9440).
1669
d809b8eb
AM
16702011-09-06 Alan Mackenzie <acm@muc.de>
1671
1672 * isearch.el (isearch-other-meta-char): Wherever a key list is
1673 unread, "unread" the prefix arg, too. This fixes bug #8901.
1674
453de99f
OG
16752011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1676
1677 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1678
90439906
JL
16792011-09-05 Juri Linkov <juri@jurta.org>
1680
1681 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1682
f62bd846
JL
16832011-09-05 Juri Linkov <juri@jurta.org>
1684
1685 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1686 keeping point where processing of grep matches begins, and
1687 continue to delete remaining escape sequences from the same point.
1688 (grep-filter): Make leading zero optional in "0?1;31m" because
1689 git-grep emits "\033[1;31m" escape sequences unlike expected
1690 "\033[01;31m" as GNU Grep does (bug#9408).
1691 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1692
045820ec
JL
16932011-09-05 Juri Linkov <juri@jurta.org>
1694
1695 * subr.el (y-or-n-p): Capitalize "yes".
1696
f5e29b9b
MA
16972011-09-04 Michael Albinus <michael.albinus@gmx.de>
1698
1699 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1700 `tramp-cache-unload-hook' where appropriate.
1701 (tramp-methods): Rename `tramp-remote-sh' to
1702 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1703 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1704
1705 * net/tramp-sh.el (top): Don't require 'shell.
1706 (tramp-methods): Add `tramp-remote-shell' and
1707 `tramp-remote-shell-args' entries.
1708 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1709 (tramp-sh-handle-shell-command): Remove.
1710 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1711 Use `tramp-remote-shell'.
1712
2784c434
CY
17132011-09-03 Chong Yidong <cyd@stupidchicken.com>
1714
393a301e 1715 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1716 (sendmail-query-once): Save directly to send-mail-function.
1717 Update message-send-mail-function too.
1718
1719 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1720
464cdf56
CS
17212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1722
1723 * progmodes/python.el (python-mode-map): Use correct function to
1724 start python interpreter from menu-bar (as reported by Geert
1725 Kloosterman).
1726 (inferior-python-mode-map): Fix typo.
393a301e 1727 (python-shell-map): Remove.
464cdf56 1728
d37e5c87
DD
17292011-09-03 Deniz Dogan <deniz@dogan.se>
1730
1731 * net/rcirc.el (rcirc-print): Simplify code for
1732 rcirc-scroll-show-maximum-output. There is no need to walk
1733 through all windows to find the right one.
1734
f3ada0ee
CS
17352011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1736
1737 * help.el (help-return-method): Doc fix.
1738
1f3c99ca
MR
17392011-09-03 Martin Rudalics <rudalics@gmx.at>
1740
1741 * window.el (window-deletable-p): Don't return a non-nil value
1742 when there's a buffer that was shown in the window before.
1743 (Bug#9419)
393a301e
SM
1744 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1745 Set window's previous buffers to nil.
1f3c99ca 1746
a3cf097f
EZ
17472011-09-03 Eli Zaretskii <eliz@gnu.org>
1748
1749 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1750 newline before and after the tag line, so it doesn't interfere
1751 with determining the paragraph direction of bidirectional text.
1752
3d03de90
LL
17532011-09-03 Leo Liu <sdl.web@gmail.com>
1754
1755 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1756
c3313451
CY
17572011-09-02 Chong Yidong <cyd@stupidchicken.com>
1758
393a301e 1759 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1760 (pop-to-buffer): Change interactive spec. Pass second argument
1761 directly to display-buffer.
1762 (display-buffer): Fix interactive spec. Use functionp to
1763 distinguish between a function and a list of functions.
1764
1765 * abbrev.el (edit-abbrevs):
1766 * arc-mode.el (archive-extract):
1767 * autoinsert.el (auto-insert):
1768 * bookmark.el (bookmark-bmenu-list):
1769 * files.el (find-file):
1770 * view.el (view-buffer):
1771 * progmodes/compile.el (compilation-goto-locus):
1772 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1773
89894cd8
CY
17742011-09-02 Chong Yidong <cyd@stupidchicken.com>
1775
1776 * window.el (display-buffer-alist): Doc fix.
1777 (display-buffer): Add docstring. Don't treat
1778 display-buffer-default specially.
1779 (display-buffer-reuse-selected-window)
1780 (display-buffer-same-window, display-buffer-maybe-same-window)
1781 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1782 (display-buffer-pop-up-window)
1783 (display-buffer-reuse-or-pop-window)
1784 (display-buffer-use-some-window): New functions.
1785 (display-buffer-default-action): Use them.
393a301e 1786 (display-buffer-default): Delete.
89894cd8
CY
1787 (pop-to-buffer-1): Fix choice of actions.
1788
ae0bc9fb
SM
17892011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * minibuffer.el (completion--insert-strings): Don't get confused by
1792 completion entries that end with an LF char.
1793
e9d90883
EZ
17942011-09-01 Eli Zaretskii <eliz@gnu.org>
1795
1796 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1797
437014c8
CY
17982011-09-01 Chong Yidong <cyd@stupidchicken.com>
1799
1800 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1801 (display-buffer-same-window, display-buffer-other-window):
1802 New functions.
437014c8
CY
1803 (pop-to-buffer-1): New function. Use the above.
1804 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1805 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1806
1807 * view.el (view-buffer-other-window, view-buffer-other-frame):
1808 Just use pop-to-buffer.
1809
a5e063d5
TV
18102011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1811
1812 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1813
793d32bb
WH
18142011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1815
1816 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1817
d65e4c15
RS
18182011-08-31 Richard Stallman <rms@gnu.org>
1819
1820 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1821 of the separation of rmail-view-buffer from rmail-buffer.
1822 If you say no to "replace original", the decrypt is in the
1823 view buffer. If you say yes, the decrypt goes into the
1824 rmail buffer also.
1825
f818cd2a
MR
18262011-08-31 Martin Rudalics <rudalics@gmx.at>
1827
1828 * window.el (display-buffer-window): Rewrite doc-string.
1829 (display-buffer-record-window): New function.
1830 (display-buffer-macro-specifiers)
1831 (display-buffer-even-window-sizes, display-buffer-set-height)
1832 (display-buffer-set-width, display-buffer-in-window)
1833 (display-buffer-reuse-window, display-buffer-split-specifiers)
1834 (display-buffer-side-specifiers, display-buffer-split-window-1)
1835 (display-buffer-split-window, display-buffer-split-atom-window)
1836 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1837 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1838 (display-buffer-other-window-means-other-frame)
1839 (display-buffer-normalize-special)
1840 (display-buffer-normalize-default)
1841 (display-buffer-normalize-argument)
1842 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1843 (display-buffer-normalize-specifiers, display-buffer-frame)
1844 (display-buffer-same-window, display-buffer-same-frame)
1845 (display-buffer-other-window)
1846 (display-buffer-same-frame-other-window)
1847 (display-buffer-other-frame, pop-to-buffer-same-window)
1848 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1849 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1850 (switch-to-buffer-same-frame)
1851 (switch-to-buffer-other-window-same-frame)
1852 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1853 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1854 (display-buffer-alist-set): Remove.
1855 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1856 (special-display-regexps, special-display-function):
1857 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1858 parameter.
1859 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1860 (special-display-frame-alist, special-display-popup-frame)
1861 (same-window-buffer-names, same-window-regexps, same-window-p)
1862 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1863 (split-window-preferred-function, split-height-threshold)
1864 (split-width-threshold, window-splittable-p)
1865 (split-window-sensibly, window--try-to-split-window)
1866 (window--frame-usable-p, even-window-heights)
1867 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1868 (window--display-buffer-2, display-buffer-other-frame):
1869 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1870 (display-buffer-default, display-buffer-assq-regexp): New functions.
1871 (display-buffer-alist): Rewrite doc-string.
1872 (display-buffer-default-action)
1873 (display-buffer-overriding-action): New variables.
1874 (display-buffer, switch-to-buffer): Rewrite.
1875 (pop-to-buffer): Restore Emacs 23 behavior but use
1876 window-normalize-buffer-to-display.
1877 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1878 Restore Emacs 23 behavior but use
1879 window-normalize-buffer-to-switch-to.
1880 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1881 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1882 Rewrite using Emacs 23 options.
f818cd2a 1883
5bc3b51d
MA
18842011-08-31 Michael Albinus <michael.albinus@gmx.de>
1885
1886 * net/tramp.el (tramp-root-regexp): Remove.
1887 (tramp-completion-file-name-regexp-unified)
1888 (tramp-completion-file-name-regexp-separate)
1889 (tramp-completion-file-name-regexp-url): Don't use leading volume
1890 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1891 (tramp-drop-volume-letter): Simplify definition.
1892 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1893
b1a4f8e1
SM
18942011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1897 (bug#9356).
1898
5664fa7b
RT
18992011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1900
b1a4f8e1 1901 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1902
9a45d6c3
JL
19032011-08-29 Juri Linkov <juri@jurta.org>
1904
1905 * isearch.el (isearch-done): Don't display message "Mark saved"
1906 when arg `edit' is non-nil to prevent its flicker in the echo area.
1907
fb87e0fb
CY
19082011-08-28 Chong Yidong <cyd@stupidchicken.com>
1909
1910 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1911 obsolete packages for deletion.
1912
09ac1c2a
CS
19132011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1914
1915 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1916 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1917 view-mode from help-mode.
1918 (help-xref-override-view-map): Remove.
1919 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1920 view-mode is not used anymore.
1921
7a1ff57f
CY
19222011-08-28 Chong Yidong <cyd@stupidchicken.com>
1923
1924 * server.el (server-port): Doc fix.
1925
b9696605
CY
1926 * cus-theme.el (custom-theme-choose-mode): Inherit from
1927 special-mode (Bug#9124).
1928 (custom-theme-choose-mode-map): Add special-mode to parent.
1929
ef8cdf8c
AM
19302011-08-28 Alan Mackenzie <acm@muc.de>
1931
1932 * progmodes/cc-fonts.el
1933 (c-make-font-lock-BO-decl-search-function): New function.
1934 (c-basic-matchers-after - "Fontify the clauses after various
1935 keywords"): Extract the three keyword lists for the 3 erroneous
1936 constructs from the list of four, and use the new function above
1937 in place of an old one.
1938
27de4e20
DD
19392011-08-28 Deniz Dogan <deniz@dogan.se>
1940
1941 * net/rcirc.el (rcirc-insert-prev-input)
1942 (rcirc-insert-next-input): Remove unused argument.
1943
356a3681
SM
19442011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1947
3fc9b218
AM
19482011-08-27 Alan Mackenzie <acm@muc.de>
1949
1950 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1951 handle function pointer parameters properly.
1952
538a061c
MR
19532011-08-27 Martin Rudalics <rudalics@gmx.at>
1954
1955 * window.el (display-buffer-reuse-window): Fix case where
1956 selected window was reused with non-nil OTHER-WINDOW argument.
1957 (Bug#9381)
1958
35b1c40c
DD
19592011-08-27 Deniz Dogan <deniz@dogan.se>
1960
1961 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1962 oftc's NickServ messages.
1963
2f6a3e79
GM
19642011-08-27 Glenn Morris <rgm@gnu.org>
1965
1966 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1967
7254299e
CY
19682011-08-26 Chong Yidong <cyd@stupidchicken.com>
1969
1970 * emacs-lisp/package.el (package-install): Call package-initialize
1971 if called interactively.
1972
f8ccf167
LL
19732011-08-26 Leo Liu <sdl.web@gmail.com>
1974
1975 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1976
3e8cd5ce
JL
19772011-08-25 Juri Linkov <juri@jurta.org>
1978
1979 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1980 `search-whitespace-regexp' (bug#9364).
1981
93eb7113
JL
19822011-08-25 Juri Linkov <juri@jurta.org>
1983
1984 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1985 `regexp-search-ring' to their global values to protect from
1986 updating by `read-from-minibuffer' (bug#9185).
1987
f65d1611
JL
19882011-08-25 Juri Linkov <juri@jurta.org>
1989
1990 * textmodes/ispell.el (ispell-command-loop): Add newline
1991 at the end of the "Use option `i'..." line.
1992
f1cf7a31
JL
19932011-08-25 Juri Linkov <juri@jurta.org>
1994
1995 * battery.el (display-battery-mode): If `battery-status-function'
1996 or `battery-mode-line-format' is nil, display the message and set
1997 `display-battery-mode' to nil (bug#9363).
1998
0c95fcf7
EZ
19992011-08-25 Eli Zaretskii <eliz@gnu.org>
2000
2001 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
2002 bidi-string-mark-left-to-right; they are unnecessary now.
2003
a2ebe600
DD
20042011-08-25 Deniz Dogan <deniz@dogan.se>
2005
2006 * net/quickurl.el: Documentation typo fixes.
2007
e4ed06f1
CY
20082011-08-25 Chong Yidong <cyd@stupidchicken.com>
2009
2010 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
2011
e5f1c99e
GM
20122011-08-25 Glenn Morris <rgm@gnu.org>
2013
b2948976
GM
2014 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
2015
e5f1c99e
GM
2016 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
2017 (smtpmail-via-smtp): Handle nil response from smtp.
2018
f22f4808
JL
20192011-08-24 Juri Linkov <juri@jurta.org>
2020
2021 * proced.el (proced-marked): Inherit from `error' instead of
2022 `font-lock-warning-face'.
2023
2024 * ibuffer.el (ibuffer-marked-face): Change default face from
2025 `font-lock-warning-face' to `warning'.
2026 (ibuffer-deletion-face): Change default face from
2027 `font-lock-type-face' to `error'.
2028
2029 * battery.el (battery-update): Use the face `error' instead of
2030 `font-lock-warning-face' (bug#6117).
2031
6a93965e
JL
20322011-08-24 Juri Linkov <juri@jurta.org>
2033
2034 * faces.el (success): Change face color from "Green3" to
2035 "ForestGreen" on light background (bug#9353).
2036
1ed43b09
CY
20372011-08-24 Chong Yidong <cyd@stupidchicken.com>
2038
5664fa7b
RT
2039 * window.el (quit-window): Rename from quit-restore-window.
2040 Use same arglist as old quit-window.
1ed43b09
CY
2041 (frame-auto-delete): Doc fix.
2042
2043 * view.el (view-mode-exit): Use quit-window.
2044
11dcdbb2
JL
20452011-08-24 Juri Linkov <juri@jurta.org>
2046
2047 * isearch.el (isearch-ring-adjust1): Start visiting previous
2048 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
2049 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2050 for empty search string (when the last search string is reused
2051 automatically) to adjust the isearch ring to the last element and
2052 prepare the correct index for further M-p commands (bug#9185).
2053
de62b4df
KH
20542011-08-24 Kenichi Handa <handa@m17n.org>
2055
2056 * international/ucs-normalize.el: If decomposition property of
2057 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2058 nil.
2059 (nfd, nfkd): Likewise.
2060
963b492b
SM
20612011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2062
2063 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2064 from process filters aren't reliably transmitted to the surrounding
2065 accept-process-output.
2066 (mpc-proc-check): New function.
2067 (mpc-proc-sync): Use it (bug#8293)
2068
93b6b5e1
SM
20692011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2070
2071 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2072 Add compatibility functions (bug#9313).
2073
bca633fb
EZ
20742011-08-23 Eli Zaretskii <eliz@gnu.org>
2075
b177498a
EZ
2076 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2077
bca633fb
EZ
2078 * international/uni-bidi.el: Regenerated.
2079
0902a04e
KH
20802011-08-23 Kenichi Handa <handa@m17n.org>
2081
2082 * international/charprop.el:
2083 * international/uni-bidi.el:
2084 * international/uni-category.el:
2085 * international/uni-combining.el:
2086 * international/uni-comment.el:
2087 * international/uni-decimal.el:
2088 * international/uni-decomposition.el:
2089 * international/uni-digit.el:
2090 * international/uni-lowercase.el:
2091 * international/uni-mirrored.el:
2092 * international/uni-name.el:
2093 * international/uni-numeric.el:
2094 * international/uni-old-name.el:
2095 * international/uni-titlecase.el:
2096 * international/uni-uppercase.el: Regenerate.
2097
3bbf23bc
MR
20982011-08-23 Martin Rudalics <rudalics@gmx.at>
2099
2100 * help.el (help-window-setup): Fix message displayed when other
2101 window is reused. (Bug#9341)
2102
b3fd59bd
SM
21032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2104
1802e444
SM
2105 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2106 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2107
b3fd59bd
SM
2108 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2109 Mark obsolete.
2110 * shell.el (shell-parse-pcomplete-arguments): New function.
2111 (shell-completion-vars): Use it instead (bug#9160).
2112
4eb61348
SM
21132011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2114
867cab74
SM
2115 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2116 strings and comments (bug#9333).
2117
4eb61348
SM
2118 * emacs-lisp/debug.el (debug-arglist): New function.
2119 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2120 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2121
262a1439
JL
21222011-08-22 Juri Linkov <juri@jurta.org>
2123
56ee679c
JL
2124 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2125 Revert regexp that highlights output switches to its old
2126 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2127
262a1439
JL
2128 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2129 to check for empty output (bug#9226).
2130
f13f86fb
CY
21312011-08-22 Chong Yidong <cyd@stupidchicken.com>
2132
2133 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2134 symbol-constituent as the default, as that stops font-lock from
2135 working properly (Bug#8843).
2136
c65c9622
LMI
21372011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2138
2139 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2140 `coding-system-for-*' around the process open call to avoid
2141 auth-source side effects.
e7f2c178 2142 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2143 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2144 probe hangs.
c65c9622 2145
23a8a5ab
CY
21462011-08-21 Chong Yidong <cyd@stupidchicken.com>
2147
ff98b2dd
CY
2148 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2149
23a8a5ab
CY
2150 * emacs-lisp/find-func.el (find-function-noselect): New arg
2151 lisp-only.
2152
2153 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2154 signal an error for built-in functions (Bug#6664).
2155
f5e3c598
LMI
21562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2157
2158 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2159 (smtpmail-try-auth-methods): Use it.
2160
a3f2468a
CY
21612011-08-21 Chong Yidong <cyd@stupidchicken.com>
2162
2c34e8da
CY
2163 * font-lock.el (font-lock-fontify-region)
2164 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2165 (font-lock-default-unfontify-buffer)
2166 (font-lock-default-fontify-region)
2167 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2168
b3fd59bd
SM
2169 * progmodes/compile.el (compilation-error-properties):
2170 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2171 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2172 `ant' regexp.
ee31aabc 2173
a3f2468a
CY
2174 * net/browse-url.el (browse-url-firefox): Don't call
2175 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2176
8e999f70
GM
21772011-08-20 Glenn Morris <rgm@gnu.org>
2178
c21a496a
GM
2179 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2180
59ee0542
GM
2181 * tutorial.el (tutorial--default-keys): Update some default bindings.
2182
8e999f70
GM
2183 * files.el (hack-local-variables): Fully ignore case for "mode:".
2184
e3715033
AM
21852011-08-20 Alan Mackenzie <acm@muc.de>
2186
2187 Resolve invalid use of a regexp in regexp-opt.
2188
4d61f28d
JB
2189 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2190 detection for a java annotation.
e3715033 2191
4d61f28d 2192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2193 detection for a java annotation.
2194
4d61f28d
JB
2195 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2196 handling for java.
e3715033
AM
2197 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2198
04ed2e9c
CY
21992011-08-20 Chong Yidong <cyd@stupidchicken.com>
2200
2201 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2202 (Bug#9274).
2203
826cee64
AM
22042011-08-20 Alan Mackenzie <acm@muc.de>
2205
2206 * Fontify CPP expressions correctly when starting in the middle of
2207 such a construct. Mainly for when jit-lock etc. starts a chunk
2208 here.
2209
2210 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2211 variable.
2212 (c-make-font-lock-search-form): new function, extracted from
2213 c-make-font-lock-search-function.
2214 (c-make-font-lock-search-function): Use the above function.
2215 (c-make-font-lock-context-search-function): New function.
2216 (c-cpp-matchers): Enhance the preprocessor expression case with
2217 the above function
2218 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2219 which takes an expression.
2220
2221 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2222
13009bd8
MR
22232011-08-20 Martin Rudalics <rudalics@gmx.at>
2224
2225 * window.el (display-buffer-reuse-window)
2226 (display-buffer-pop-up-window): Don't reuse or split a side
2227 window.
2228
9234ff7f
GM
22292011-08-19 Glenn Morris <rgm@gnu.org>
2230
2231 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2232 Downcase "Mode:". (Bug#9331)
9234ff7f 2233
f635daa1
CY
22342011-08-18 Chong Yidong <cyd@stupidchicken.com>
2235
2236 * international/characters.el: Add L and R categories.
2237
2238 * subr.el (bidi-string-mark-left-to-right): Rename from
2239 string-mark-left-to-right. Use category search.
2240
2241 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2242
bc987f8b
JL
22432011-08-18 Juri Linkov <juri@jurta.org>
2244
2245 * faces.el (error, warning, success): New faces with definitions
2246 copied from old default values of `font-lock-warning-face',
2247 `compilation-warning', `compilation-info' (bug#6117).
2248
2249 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2250
2251 * progmodes/compile.el (compilation-error): Inherit from `error'.
2252 (compilation-warning): Inherit from `warning'.
2253 (compilation-info): Inherit from `success'.
2254
2255 * dired.el (dired-marked): Inherit from `warning'.
2256 (dired-flagged): Inherit from `error'.
2257
57173b96
LMI
22582011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2259
3e79eb87
LMI
2260 * mail/smtpmail.el (auth-source): Require to avoid problems with
2261 binding variables (bug#9298). Also clean up some unused
2262 autoloads.
2263
b3fd59bd
SM
2264 * net/network-stream.el (network-stream-open-starttls):
2265 Support using starttls.el without using gnutls-cli.
57173b96 2266
02b404de
JL
22672011-08-17 Juri Linkov <juri@jurta.org>
2268
2269 * progmodes/grep.el (rgrep): Handle the case when
2270 `grep-find-command' is a cons cell (bug#9278).
2271
8c9177f2
MR
22722011-08-17 Martin Rudalics <rudalics@gmx.at>
2273
2274 * window.el (display-buffer-pop-up-frame): Run frame creation
2275 function with BUFFER current (as special-display-popup-frame
2276 does). Reported by Drew Adams.
2277
3644a0ab
DU
22782011-08-17 Daiki Ueno <ueno@unixuser.org>
2279
2280 * epa-mail.el: Simplify GnuPG group expansion using
2281 epg-expand-group.
2282 (epa-mail-group-alist, epa-mail-group-modtime)
2283 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2284 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2285 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2286 Remove.
2287
5e617bc2 22882011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2289
2290 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2291
9c4aeabf
AM
22922011-08-16 Alan Mackenzie <acm@muc.de>
2293
2294 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2295 Correct, to avoid the inside of macros.
2296
3a99bf64
RS
22972011-08-16 Richard Stallman <rms@gnu.org>
2298
04963aa8
RS
2299 * epa-mail.el: Handle GnuPG group definitions.
2300 (epa-mail-group-alist, epa-mail-group-modtime)
2301 (epa-mail-gnupg-conf-file): New variables.
2302 (epa-mail-parse-groups, epa-mail-sync-groups)
2303 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2304 (epa-mail-expand-recipients): New functions.
2305 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2306
177549d0
RS
2307 * mail/rmail.el (rmail-epa-decrypt): New command.
2308
fe38beef
RS
2309 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2310 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2311 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2312 (epa-decrypt-armor-in-region): Make error message clearer.
2313
934eacb9
SM
23142011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2315
2316 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2317 and "a2b" to "ab" for `prefix'.
2318
d024fb4e
CY
23192011-08-14 Chong Yidong <cyd@stupidchicken.com>
2320
2321 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2322 filter groups.
de148fee
CY
2323 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2324 Fourquet (Bug#8804).
d024fb4e 2325
62f1ca49
JB
23262011-08-12 Juanma Barranquero <lekktu@gmail.com>
2327
2328 * startup.el (argi): Declare as global variable (bug#9275).
2329
9ccaaa4b
CY
23302011-08-12 Chong Yidong <cyd@stupidchicken.com>
2331
2332 * subr.el (string-mark-left-to-right): Search the entire string
2333 for RTL script, not just the terminating character. Doc fix.
2334
a3dae87a
SM
23352011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2336
6cd18349
SM
2337 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2338 New function.
2339 (js--regexp-literal, js-syntax-propertize-function): Remove.
2340 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2341 (js-mode-map): Don't rebind electric keys.
2342 (js-insert-and-indent): Remove.
2343 (js-mode): Setup electric-layout and electric-indent instead.
2344
a3dae87a
SM
2345 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2346
9d5cb631
DU
23472011-08-12 Daiki Ueno <ueno@unixuser.org>
2348
2349 * epa.el (epa-progress-callback-function): Fix the logic of
2350 displaying progress.
2351 * epa-file.el (epa-file-insert-file-contents): Make progress
2352 display more user-friendly.
2353 (epa-file-write-region): Ditto.
2354
3e26a4a2
CY
23552011-08-10 Chong Yidong <cyd@stupidchicken.com>
2356
2357 * subr.el (string-mark-left-to-right): New function.
2358
2359 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2360 Use string-mark-left-to-right.
2361 (list-buffers-noselect): Caller changed.
2362
a3dae87a
SM
2363 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2364 Use string-mark-left-to-right.
3e26a4a2
CY
2365 (tabulated-list-print): Recenter after moving point.
2366
ac8cf6e6
JL
23672011-08-10 Juri Linkov <juri@jurta.org>
2368
2369 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2370 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2371 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2372
8d96c9a4
CY
23732011-08-09 Chong Yidong <cyd@stupidchicken.com>
2374
2375 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2376 (Bug#7554).
2377
7be1c708 23782011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2379
2380 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2381 character. (Bug#6594)
2382
37e11a63
CY
23832011-08-08 Chong Yidong <cyd@stupidchicken.com>
2384
839dde57
CY
2385 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2386 (image-dired--with-db-file): New macro.
2387 (image-dired-write-tags, image-dired-remove-tag)
2388 (image-dired-create-gallery-lists, image-dired-write-comments)
2389 (image-dired-get-comment, image-dired-mark-tagged-files)
2390 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2391 (image-dired-gallery-generate): Use insert-file-contents.
2392
37e11a63
CY
2393 * time.el (display-time-world-list, display-time-world-display):
2394 * time-stamp.el (time-stamp-string):
2395 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2396 set-time-zone-rule (Bug#7337).
2397
0b4946c4
DU
23982011-08-08 Daiki Ueno <ueno@unixuser.org>
2399
2400 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2401 (epg-error-to-string, epg-errors-to-string): New function.
2402 (epg-wait-for-completion): Reverse errors list.
2403 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2404 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2405 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2406 (epg-sign-keys, epg-generate-key-from-file)
2407 (epg-generate-key-from-string): Format errors by using
2408 epg-errors-to-string (bug#9255).
2409 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2410
75bfc667
JL
24112011-08-07 Juri Linkov <juri@jurta.org>
2412
2413 * faces.el (list-faces-display): Remove extra angle bracket
2414 from `help-mode-map'.
2415
2416 * info.el (Info-history-toc-nodes): Doc fix.
2417
2418 * longlines.el (longlines-mode): Doc fix.
2419
673e08bb
SM
24202011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2421
4640dd88
SM
2422 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2423 of statements and in a few more cases (bug#9183).
2424
673e08bb
SM
2425 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2426 New functions.
2427 (cl-transform-lambda): Use them (bug#9239).
2428
89b3f019
MR
24292011-08-05 Martin Rudalics <rudalics@gmx.at>
2430
2431 * window.el (display-buffer-same-window)
2432 (display-buffer-same-frame, display-buffer-other-window)
2433 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2434 (pop-to-buffer-other-window)
2435 (pop-to-buffer-same-frame-other-window)
2436 (pop-to-buffer-other-frame): Make them defuns.
2437 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2438
640c8776
SM
24392011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * subr.el (make-composed-keymap): Move from C. Change calling
2442 convention, and improve docstring to bring attention to a subtle point.
2443 * minibuffer.el (completing-read-default): Adjust accordingly.
2444
63648a95
MA
24452011-08-03 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2448 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2449
2450 * net/trampver.el: Update release number.
2451
b796c9b7
SM
24522011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2453
2454 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2455 "in" (bug#9190).
2456
2239d7d5
LMI
24572011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2458
e07dd7c3
LMI
2459 * mail/sendmail.el (sendmail-query-once): Restore the current
2460 buffer after querying (bug#9074).
2461
0e6a2bd7
LMI
2462 * dired.el (dired-flagged): Use different faces for marked and
2463 flagged files (bug#6117).
2464
ce887515
LMI
2465 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2466 (bug#4433).
2467
92f2affc
LMI
2468 * ido.el (ido-mode): Switch off the message if called
2469 non-interactively.
2470
57d5aff0
LMI
2471 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2472 before 587, since it appears that that's more likely to work for
2473 more people.
2474
98cd6c18
LMI
2475 * cus-edit.el (custom-file): When running under emacs -q, always
2476 refuse to save the customisations, even if the .emacs file doesn't
2477 exist.
2478
b96dec83
LMI
2479 * info.el: Remove the `Info-beginning-of-buffer' function
2480 (bug#8325).
2481
b796c9b7
SM
2482 * net/network-stream.el (network-stream-open-starttls):
2483 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2484
d90e2ea0
MR
24852011-08-01 Martin Rudalics <rudalics@gmx.at>
2486
2487 * window.el (display-buffer-in-window): Don't set dedicated status
2488 of window here (Bug#9215).
2489 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2490 (display-buffer-pop-up-side-window)
b796c9b7 2491 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2492
cca09170
SM
24932011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2496 before binding generated-autoload-file.
2497
027b979c
DD
24982011-08-01 Deniz Dogan <deniz@dogan.se>
2499
2500 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2501
3c7ee4f3
MA
25022011-07-30 Michael Albinus <michael.albinus@gmx.de>
2503
2504 Sync with Tramp 2.2.2.
2505
2506 * net/trampver.el: Update release number.
2507
2cc8e51a
JL
25082011-07-30 Juri Linkov <juri@jurta.org>
2509
2510 * dired-aux.el (dired-touch-initial): Remove function.
2511 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2512 current time, and `default' to the last modification time of the
2513 current marked file (bug#6887).
2514
a514d856
JM
25152011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2516
2517 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2518 numeric argument to read-number (bug#9163).
a514d856 2519
8a7eddd7
MA
25202011-07-27 Michael Albinus <michael.albinus@gmx.de>
2521
2522 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2523 connection process, it could be nil.
2524
1ddd96f5
LL
25252011-07-27 Leo Liu <sdl.web@gmail.com>
2526
2527 Simplify url handling in rcirc-mode.
2528
2529 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2530 (rcirc-browse-url-at-mouse): Remove.
2531 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2532
b248a85d
AM
25332011-07-26 Alan Mackenzie <acm@muc.de>
2534
2535 Fontify bitfield declarations properly.
2536
2537 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2538 (c-symbol-chars): Now exported as a lang variable.
2539 (c-not-primitive-type-keywords): New lang variable.
2540
2541 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2542 QT keyword "more" to prevent "more slots: ...." being spuriously
2543 parsed as a bitfield declaraion.
2544
b796c9b7
SM
2545 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2546 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2547 (c-punctuation-in): New function.
2548 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2549 declarations properly.
2550
68575ab0
UJ
25512011-07-26 Ulf Jasper <ulf.jasper@web.de>
2552
2553 * calendar/icalendar.el (icalendar--all-events): Take care of
2554 multiple vcalendars in a single file.
b796c9b7 2555 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2556
0f0a88b9
DD
25572011-07-25 Deniz Dogan <deniz@dogan.se>
2558
2559 * image.el (insert-image): Clarifying docstring.
2560
0b3f36df
MA
25612011-07-24 Michael Albinus <michael.albinus@gmx.de>
2562
2563 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2564 `tramp-send-command-and-check' if there is no error.
2565 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2566
a9901f61
AM
25672011-07-22 Alan Mackenzie <acm@muc.de>
2568
2569 Prevent cc-langs.elc being loaded at run time.
2570
2571 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2572 cc-langs.
2573
4d61f28d 2574 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2575 "(require 'cc-langs)". Quote a form so it will evaluate at
2576 (cc-mode's) compilation time.
2577
11d074b2
MA
25782011-07-22 Michael Albinus <michael.albinus@gmx.de>
2579
2580 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2581 loading. (Bug#9114)
2582
938b94c8
MR
25832011-07-21 Martin Rudalics <rudalics@gmx.at>
2584
2585 * window.el (display-buffer-pop-up-window)
2586 (display-buffer-pop-up-side-window)
2587 (display-buffer-in-side-window): Call display-buffer-set-height
2588 and display-buffer-set-width after setting the new window's
b796c9b7 2589 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2590
bfa4f190
SS
25912011-07-20 Sam Steingold <sds@gnu.org>
2592
2593 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2594 (etags-tags-included-tables): Call `convert-standard-filename' on
2595 the file names contained in TAGS so that windows Emacs can handle
2596 TAGS files created by cygwin ctags.
2597
8ca42262
LMI
25982011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2599
2600 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2601 which apparently didn't work.
2602
5db2afd2 26032011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2604
5db2afd2
RW
2605 * proced.el (proced-send-signal): For *Marked Processes* buffer
2606 put point at beginning of buffer.
2607
92e15d10
SB
26082011-07-19 Stephen Berman <stephen.berman@gmx.net>
2609
2610 * proced.el (proced-format): Make header lines align with the text
2611 (bug#1779).
2612
1bfd59e5
LMI
26132011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2614
2615 * view.el (view-buffer): Allow running in `special' modes if we're
2616 visiting a file (bug#8615).
2617
f5aae37c
MR
26182011-07-19 Martin Rudalics <rudalics@gmx.at>
2619
2620 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2621 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2622 New functions.
f5aae37c
MR
2623 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2624 more accurately.
2625
bf2c1571
AM
26262011-07-18 Alan Mackenzie <acm@muc.de>
2627
2628 Fontify declarators properly when, e.g., a jit-lock chunk begins
2629 inside a declaration.
2630
2631 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2632
b796c9b7
SM
2633 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2634 New function.
bf2c1571
AM
2635 (c-complex-decl-matchers): Insert reference to
2636 c-font-lock-enclosing-decls.
2637
2638 * progmodes/cc-engine.el (c-backward-single-comment):
2639 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2640 to nil around calls to (forward-comment -1).
2641
4e190b80
LMI
26422011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2643
12dc863d
LMI
2644 * image.el (put-image): Doc typo fix.
2645
a762e966
LMI
2646 * progmodes/etags.el (tags-search): Doc typo fix.
2647
4e190b80
LMI
2648 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2649 password if we get errors 550 to 554.
2650
f019fb21
LMI
26512011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2652
b796c9b7 2653 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2654
81746738
LMI
2655 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2656 indentation character (bug#6380).
2657
3ee3a1b5
LMI
2658 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2659
c82f64de
LMI
2660 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2661 to clarify what the problem is (bug#4291).
2662
f019fb21
LMI
2663 * simple.el (current-kill): Clarify what
2664 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2665 (auto-fill-mode): Document `auto-fill-function' in relation to
2666 `auto-fill-mode' (bug#2470).
f019fb21 2667
0794775d
LM
26682011-07-16 Lawrence Mitchell <wence@gmx.li>
2669
2670 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2671 method if slot is read-only (bug#9035).
2672
be39b8cc
MR
26732011-07-16 Martin Rudalics <rudalics@gmx.at>
2674
b796c9b7 2675 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2676 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2677 selected before, see discussion of (Bug#8615), (Bug#6954).
2678 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2679
6ccf7859
GM
26802011-07-15 Glenn Morris <rgm@gnu.org>
2681
2682 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2683 Respect help-form.
6ccf7859 2684
87e86684
LM
26852011-07-09 Lawrence Mitchell <wence@gmx.li>
2686
2687 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2688 (gnutls-negotiate): Use it.
2689
d6066239
LMI
26902011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2691
b796c9b7
SM
2692 * net/gnutls.el (gnutls-negotiate):
2693 Upcase `gnutls-algorithm-priority'.
d6066239 2694
bd23ebc0
GM
26952011-07-15 Glenn Morris <rgm@gnu.org>
2696
c65bca65
GM
2697 * jka-compr.el (jka-compr-verbose): Move from here...
2698 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2699 Add missing :version tag.
2700 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2701
478615cc
LMI
27022011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2703
7b41decb
LMI
2704 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2705 (gnutls-negotiate): Use it.
2706
dbc44fcd
LMI
2707 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2708
06789f97
LMI
2709 * info.el (Info-beginning-of-buffer): New command.
2710 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2711 announcing `b' as the key (bug#8325).
ab896c37 2712 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2713
c39da690
LMI
2714 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2715
3aa5f34b
LMI
2716 * international/mule-cmds.el
2717 (describe-specified-language-support): Make the error message
2718 clearer (bug#8905).
2719
4bf0979f
LMI
2720 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2721
478615cc
LMI
2722 * isearch.el (isearch-barrier): Add a doc string, since it's
2723 mentioned in a function doc string (bug#8678).
2724
75c68aa1
MR
27252011-07-15 Martin Rudalics <rudalics@gmx.at>
2726
2727 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2728 buffer argument (Bug#9083) and self-identifying label argument.
2729
a7c33da2
GM
27302011-07-15 Glenn Morris <rgm@gnu.org>
2731
2732 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2733
2f5c6024
LMI
27342011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2735
2736 * man.el (Man-fontify-manpage): Fix message when formatting the
2737 man page (bug#7929).
2738
0bb23927 27392011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2740
2741 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2742 argument LRM; if non-nil, append an invisible LRM character to the
2743 buffer name.
2744 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2745 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2746 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2747 paragraph direction.
cce4b0a7 2748
621ef9ab
LMI
27492011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750
d1583c48
LMI
2751 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2752 the man page name (bug#7929).
2753
6a57fb5f
LMI
2754 * image.el (put-image): Mention the `put-image' overlay property
2755 (bug#7834).
2756
d7956b14
LMI
2757 * scroll-bar.el (set-scroll-bar-mode): Mention that
2758 `scroll-bar-mode' lists the values (bug#7772).
2759
5b2d4a66
LMI
2760 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2761 command (bug#7729).
2762
7509a874
LMI
2763 * rect.el (apply-on-rectangle): Return the point after the last
2764 operation.
2765 (string-rectangle): Go to the point after the last operation
2766 (bug#7522).
2767
4fe74b19
LMI
2768 * printing.el (pr-toggle-region): Clarify the documentation
2769 slightly (bug#7493).
2770
b796c9b7
SM
2771 * time.el (display-time-update):
2772 Allow `display-time-mail-function' to return nil (bug#7158).
2773 Fix suggested by Detlev Zundel.
ab283561 2774
fc233c9d
LMI
2775 * vc/diff.el (diff): Clarify the order the file names are read
2776 (bug#7111).
2777
43f5740b
LMI
2778 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2779 the doc string (bug#7015).
2780
f2182a76
LMI
2781 * font-lock.el (font-lock-maximum-decoration): Mention what
2782 numeric levels mean (bug#6935).
2783
621ef9ab
LMI
2784 * startup.el (initial-buffer-choice): Don't mention the `none'
2785 selection, which is against policy.
2786
adc47434
MR
27872011-07-14 Martin Rudalics <rudalics@gmx.at>
2788
b796c9b7
SM
2789 * window.el (display-buffer-normalize-special):
2790 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2791
7e5bfb8f
EZ
27922011-07-14 Eli Zaretskii <eliz@gnu.org>
2793
2794 * subr.el (version<, version<=, version=): Mention "-CVS" and
2795 "-12345" alpha version numbers.
2796
27fa387a
CY
27972011-07-14 Chong Yidong <cyd@stupidchicken.com>
2798
2799 * bindings.el: Add advertised binding for set-mark-command
2800 (Bug#5772).
2801
8bdfa064
CY
28022011-07-14 Chong Yidong <cyd@stupidchicken.com>
2803
2804 * bindings.el (mode-line-other-buffer):
2805 * bookmark.el (bookmark-bmenu-2-window):
2806 * bs.el (bs-cycle-next, bs-cycle-previous):
2807 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2808 switch-to-buffer.
2809
2810 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2811 Delete.
8bdfa064 2812
5eba16a3
JB
28132011-07-14 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * follow.el (follow-debug-message, follow-redisplay):
2816 * jka-cmpr-hook.el (with-auto-compression-mode):
2817 Fix typos in docstrings.
2818
15853710
LMI
28192011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2820
a28e4607
LMI
2821 * subr.el (with-silent-modifications): Clarify somewhat what the
2822 macro inhibits (bug#6525).
2823
15853710
LMI
2824 * simple.el (eval-expression): Note what it does if called
2825 interactively (bug#6495).
2826
bee0fcef
CY
28272011-07-13 Chong Yidong <cyd@stupidchicken.com>
2828
b796c9b7
SM
2829 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2830 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2831
2832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2833 Remove switch-to-buffer.
2834
58274504
LMI
28352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836
bd2fcc8d
LMI
2837 * files.el (make-directory): Clarify that an error will be raised
2838 if there's an error (bug#6397).
2839
0f04b32c
LMI
2840 * startup.el (initial-buffer-choice): Add `none' as a choice
2841 (bug#6234).
2842
465c5fc8
LMI
2843 * subr.el (add-hook): Clarify section about buffer-local hooks
2844 (bug#6218).
2845
58274504
LMI
2846 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2847
bead9a43
JB
28482011-07-13 Juanma Barranquero <lekktu@gmail.com>
2849
2850 * tabify.el (untabify): Preserve the current column so that point
2851 doesn't move (bug#6032).
2852
3af98a7b
LMI
28532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2854
b796c9b7
SM
2855 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2856 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2857
6240145a
GM
28582011-07-13 Glenn Morris <rgm@gnu.org>
2859
2860 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2861 (dired-insert-directory): Give a message the first time
2862 if ls is found not to support --dired.
2863
1d8c2ccc
LMI
28642011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2865
2866 * simple.el (toggle-truncate-lines): Clarify what is toggled
2867 (bug#5580). Text by Drew Adams.
2868
5fc4038e
CY
28692011-07-13 Chong Yidong <cyd@stupidchicken.com>
2870
2871 * simple.el (blink-matching-open): Make the error message from the
2872 last change less verbose.
2873
bf6012e5
DN
28742011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2875
2876 * font-lock.el (font-lock-comment-face): Use the high contrast
2877 "yellow" color for font-lock-comment-face on low color terminals
2878 using a dark background color (bug#4221).
2879
343c3b5a
LMI
28802011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2881
7e9505c5
LMI
2882 * dired.el (dired-insert-set-properties): Make the doc string
2883 reflect what it does now (bug#5325).
2884
c26fdcf5
LMI
2885 * simple.el (blink-matching-open): Say that we were unable to find
2886 the match within the limit, if we're limited (bug#5122).
2887
bb388cc5
LMI
2888 * international/mule-cmds.el (prefer-coding-system): Add an
2889 example (bug#4869).
2890
343c3b5a
LMI
2891 * progmodes/etags.el (tags-search): Document `file-list-form'
2892 (bug#4731).
2893
2a517d45
LM
28942011-07-13 Lawrence Mitchell <wence@gmx.li>
2895
2896 * net/browse-url.el (browse-url-default-browser)
2897 (browse-url-browser-function): Make the default browser choice a
2898 bit more logical (bug#4300). Also clean up the doc string.
2899
b6c78ef2
JB
29002011-07-13 Juanma Barranquero <lekktu@gmail.com>
2901
2902 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2903 binary endings (bug#4440).
2904
1c4dd947
LMI
29052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2906
a2014063
LMI
2907 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2908 which can be pretty annoying (bug#8971).
2909
9c9c2d88
LMI
2910 * jka-compr.el (jka-compr-verbose): New variable, and use
2911 throughout (bug#8971).
2912
1c4dd947
LMI
2913 * info.el (Info-find-file): Fall back on the installation
2914 directory if we can't find the info node anywhere else.
2915
a1c9f41b
SO
29162011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2917
2918 * vc/vc.el (vc-revert-file):
2919 Don't set file time-stamp in the past. (Bug#5181)
2920
536f3d36
LMI
29212011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2922
7152b011
LMI
2923 * files.el (after-find-file): Give a better error message when
2924 trying to find a symlink that points to a file that doesn't exist
2925 (bug#4398).
2926
536f3d36
LMI
2927 * progmodes/cc-vars.el: Remove (probably) misleading comment
2928 (bug#4396).
2929
460c0fba
JB
29302011-07-12 Johan Bockgård <bojohan@gnu.org>
2931
2932 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2933
7a6bda45
CY
29342011-07-12 Chong Yidong <cyd@stupidchicken.com>
2935
2936 * mouse-sel.el: Hack restoring functionality, while keeping
2937 compatibility with 2010-07-03 changes to mouse selection.
2938 (mouse-sel-primary-overlay): New var.
2939 (mouse-sel-selection-alist): Use it.
2940 (mouse-sel-mode): Doc fix; remove points that are default features
2941 of mouse.el.
2942
c79598ef
JB
29432011-07-12 Johan Bockgård <bojohan@gnu.org>
2944
2945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2946 Fix previous fix (bug#2490).
2947
ff8be6ef
RW
29482011-07-12 Roland Winkler <winkler@gnu.org>
2949
b796c9b7
SM
2950 * textmodes/bibtex.el (bibtex-initialize):
2951 Use pop-to-buffer-same-window.
ff8be6ef
RW
2952 (bibtex-search-entries): Fix interactive call.
2953
296ba3ee
LMI
29542011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2955
f5242a02 2956 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2957 Fontise bytecomp Error lines more correctly (bug#2490).
2958 Fix suggested by Johan Bockgård.
f5242a02 2959
296ba3ee
LMI
2960 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2961
2962 * dired-x.el (dired-guess-default): Use `delete-dups'.
2963
f69fd0d2
CY
29642011-07-12 Chong Yidong <cyd@stupidchicken.com>
2965
2966 * dired.el (dired-mark-prompt):
2967 * dired-aux.el (dired-read-shell-command): Doc fix.
2968
eab5dc07
LMI
29692011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2970
b796c9b7
SM
2971 * mail/sendmail.el (sendmail-query-once):
2972 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2973 emacs -Q.
2974
2975 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2976
eab5dc07
LMI
2977 * cus-edit.el (custom-file): Take an optional no-error variable.
2978 (customize-save-variable): Set the variable, and give a warning if
2979 running under "emacs -q".
2980
a1e65d42
JB
29812011-07-11 Juanma Barranquero <lekktu@gmail.com>
2982
2983 * loadhist.el (unload-feature-special-hooks):
2984 Add `auto-coding-functions', `fill-nobreak-predicate' and
2985 `find-directory-functions' (bug#5327).
2986
1d52da10
LMI
29872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2988
be958f1d
LMI
2989 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2990
5bedb26c
LMI
2991 * cus-edit.el (custom-guess-name-alist): -alist variables should
2992 use the `alist' type (bug#3120). Suggested by Drew Adams.
2993
1d52da10
LMI
2994 * printing.el: Add documentation to all the `pr-toggle-' commands.
2995
481a51b6
LL
29962011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2997
2998 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2999 backends where it makes sense (bug#2623).
3000
dcc88d8a
LMI
30012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3002
c3de9feb
LMI
3003 * dired-x.el (dired-guess-default): Remove duplicate shell command
3004 entries (bug#2028).
8a93078b 3005 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 3006 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 3007
dcc88d8a
LMI
3008 * subr.el (remove-duplicates): New conveniency function.
3009
505e3645
LMI
30102011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3011
3012 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
3013 (bug#1526).
3014
30152011-07-10 Martin Rudalics <rudalics@gmx.at>
3016
3017 * window.el (display-buffer-normalize-default): Don't invert
3018 meaning of even-window-heights. Reported by Eli Zaretskii
3019 <eliz@gnu.org>.
3020
455e4fa1
BR
30212011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
3022
3023 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
3024
8e0bc3e9
CY
30252011-07-10 Chong Yidong <cyd@stupidchicken.com>
3026
3027 * window.el (display-buffer): Fix arguments to
3028 display-buffer-reuse-window in last change.
3029
fa7c3228
CY
3030 * faces.el (link): Use a less saturated blue on light backgrounds.
3031
3032 * startup.el (fancy-startup-text, fancy-about-text)
3033 (fancy-startup-tail): Use font-lock faces, for background safety.
3034
c0a7f300
BN
30352011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
3036
b796c9b7
SM
3037 * emulation/viper-cmd.el (viper-change-state-to-vi):
3038 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 3039
4dc2a129
MR
30402011-07-09 Martin Rudalics <rudalics@gmx.at>
3041
3042 * window.el (display-buffer-default-specifiers): Remove.
3043 (display-buffer-macro-specifiers): Remove default specifiers.
3044 (display-buffer-alist): Default to nil.
b796c9b7 3045 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
3046 (display-buffer-pop-up-window): Allow splitting internal
3047 windows. Check whether a live window was created.
3048 (display-buffer-other-window-means-other-frame)
3049 (display-buffer-normalize-arguments): Rename to
3050 display-buffer-normalize-argument and rewrite. Set the
3051 other-window specifier.
3052 (display-buffer-normalize-special): New function.
3053 (display-buffer-normalize-options): Rename to
3054 display-buffer-normalize-default and rewrite.
3055 (display-buffer-normalize-options-inhibit): Remove.
3056 (display-buffer-normalize-specifiers): Rewrite.
3057 (display-buffer): Process other-window specifier and call
3058 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3059 more faithfully.
b796c9b7 3060 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3061 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3062 (display-buffer-in-window, display-buffer-alist-set):
3063 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3064 <tassilo@member.fsf.org>.
3065
2d43b8c9
LL
30662011-07-09 Leo Liu <sdl.web@gmail.com>
3067
3068 * register.el (insert-register): Restore accidental change on
3069 2011-06-26. (Bug#9028)
3070
7f9b7c53
GM
30712011-07-09 Glenn Morris <rgm@gnu.org>
3072
3073 * subr.el (remq): Handle the empty list. (Bug#9024)
3074
f042cfd8
AS
30752011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3076
3077 * mail/sendmail.el (send-mail-function): No longer delay custom
3078 initialization.
3079 * custom.el (custom-initialize-delay): Doc fix.
3080
856b2f11
SM
30812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3082
3083 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3084
afae1d68
MA
30852011-07-08 Michael Albinus <michael.albinus@gmx.de>
3086
3087 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3088 human-friendly prompt.
3089
0757af94
SM
30902011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3093 provided by a particular plugin.
3094
d760b731
LMI
30952011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3096
3097 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3098 save customizations (with "emacs -Q"), just set the variable
3099 instead of erroring out.
3100
3101 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3102
cd79ce90
JL
31032011-07-08 Juri Linkov <juri@jurta.org>
3104
3105 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3106 (archive-zip-update-case): Use 7z if found by `executable-find'.
3107 The order of searching the available programs is the same as in
3108 `archive-zip-extract' (bug#8968).
3109
14cc04aa
CY
31102011-07-07 Chong Yidong <cyd@stupidchicken.com>
3111
3112 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3113 (menu-bar-options-menu): Tweak descriptions.
3114
0a1848ec
LMI
31152011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3116
3117 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3118 menu items into verb phrases (bug#1421). Also refill to fit under
3119 80 columns.
3120
f5bd0689
CY
31212011-07-07 Chong Yidong <cyd@stupidchicken.com>
3122
538e85c6
CY
3123 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3124 (Info-read-node-name): Doc fix (Bug#1084).
3125
f5bd0689
CY
3126 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3127 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3128 (end-of-sexp, beginning-of-sexp)
3129 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3130 (forward-symbol, forward-same-syntax, word-at-point)
3131 (sentence-at-point): Doc fix (Bug#1144).
3132
56ec5115
LMI
31332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3134
f3f8e37f
LMI
3135 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3136 should cover it (bug#1281).
3137
0757af94 3138 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3139
12b9eb35
LMI
3140 * net/network-stream.el (network-stream-open-starttls): If gnutls
3141 negotiation fails, then possibly try again with a non-encrypted
3142 connection (bug#9017).
3143
56ec5115
LMI
3144 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3145 be used.
3146
c2f9aec8
RS
31472011-07-07 Richard Stallman <rms@gnu.org>
3148
3149 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3150 property, and handle its changed format.
3151 Look for the correct line number.
3152 Use file's line contents (but not past first =) to find
3153 correct line in message.
3154
ef7b981d 31552011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3156
3157 * international/characters.el (build-unicode-category-table):
3158 Delete it.
0757af94 3159 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3160
0757af94 3161 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3162 to src/chartab.c.
3163 (get-char-code-property): Call unicode-property-table-internal to
3164 load a file. Call get-unicode-property-internal where necessary.
3165 (put-char-code-property): Call unicode-property-table-internal to
3166 load a file. Call put-unicode-property-internal where necessary.
3167 put-unicode-property-internal where necessary.
0757af94
SM
3168 (char-code-property-description):
3169 Call unicode-property-table-internal to load a file.
c805dec0
KH
3170
3171 * international/charprop.el:
3172 * international/uni-bidi.el:
3173 * international/uni-category.el:
3174 * international/uni-combining.el:
3175 * international/uni-comment.el:
3176 * international/uni-decimal.el:
3177 * international/uni-decomposition.el:
3178 * international/uni-digit.el:
3179 * international/uni-lowercase.el:
3180 * international/uni-mirrored.el:
3181 * international/uni-name.el:
3182 * international/uni-numeric.el:
3183 * international/uni-old-name.el:
3184 * international/uni-titlecase.el:
3185 * international/uni-uppercase.el: Regenerate.
3186
3187 * loadup.el: Load international/charprop.el before
3188 international/characters.
3189
e14b388a
CY
31902011-07-07 Chong Yidong <cyd@stupidchicken.com>
3191
3192 * window.el (next-buffer, previous-buffer): Signal an error if
3193 called from a minibuffer window.
3194
3195 * bindings.el: Revert 2011-07-04 change.
3196
354cf0ba
RS
31972011-07-06 Richard Stallman <rms@gnu.org>
3198
3199 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3200 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3201 Treat markers like ints.
3202 (rmail-mime-entity): Doc fix.
3203
a48868a7
LMI
32042011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3205
4906cd3d
LMI
3206 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3207 defcustom again for backwards compatibility.
3208
e0457abe
LMI
3209 * simple.el (shell-command-on-region): Fill.
3210
d67f7e1f
LMI
3211 * dired-aux.el (dired-kill-line): Add a doc string.
3212
fe204702
LMI
3213 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3214 to "\\sw\\|\\s_" (bug#358).
3215
a48868a7
LMI
3216 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3217 (dired-unmark-backward): Ditto.
3218 (dired-flag-backup-files): Ditto.
3219
3220 * dired-x.el (dired-mark-sexp): Ditto.
3221
aa8a705c
RS
32222011-07-06 Richard Stallman <rms@gnu.org>
3223
3224 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3225 (rmail-mime-entity): New arg TRUNCATED.
3226 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3227 New functions.
3228 (rmail-mime-save): Warn if entity is truncated.
3229 (rmail-mime-toggle-hidden): Likewise, for showing.
3230 (rmail-mime-process-multipart): Record when an entity is truncated.
3231
a9a936b9
RS
3232 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3233 if ENTITY is a string.
3234
1f2b92cb
LMI
32352011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3236
f4f73198 3237 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3238 of faces when `M-C-x'-ing their definitions (bug#8378).
3239 Also clean up the code slightly.
f4f73198 3240
12b16734
LMI
3241 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3242 because that makes the colours go away.
3243
f0691d22
LMI
3244 * mail/sendmail.el (send-mail-function): Change the default to
3245 `sendmail-query-once'.
9e87df06 3246 (sendmail-query-once): Add an autoload cookie.
f0691d22 3247
1f2b92cb
LMI
3248 * net/network-stream.el (network-stream-open-starttls): Try using
3249 a plain connection even if the server offered STARTTLS, and we
3250 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3251 capability. This should make smtpmail.el work in slightly more
3252 configurations.
3253
1cdd2a1b
MA
32542011-07-06 Michael Albinus <michael.albinus@gmx.de>
3255
3256 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3257 New defun.
3258 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3259
fbcc67e2
MM
32602011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3261
3262 * progmodes/sql.el: Version 3.0
0757af94 3263 (sql-product-alist): Add product :completion-object,
fbcc67e2 3264 :completion-column, and :statement attributes.
0757af94 3265 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3266 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3267 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3268 ansi keywords.
3269 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3270 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3271 (sql-oracle-show-reserved-words): New function for development.
3272 (sql-product-font-lock): Simplify for source code buffers.
3273 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3274 New functions.
3275 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3276 (sql-mode-map): Add statement movement functions.
3277 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3278 New variable.
fbcc67e2
MM
3279 (sql-statement-regexp, sql-beginning-of-statement)
3280 (sql-end-of-statement, sql-signum): New functions.
0757af94 3281 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3282 (sql-show-sqli-buffer): Bug fix.
3283 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3284 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3285 with sql-interactive-mode.
3286 (sql-save-connection): Save buffer local settings.
0757af94 3287 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3288 (sql-product-interactive): Bug fix.
3289 (sql-preoutput-hold): New variable.
3290 (sql-interactive-remove-continuation-prompt): Bug fixes.
3291 (sql-debug-redirect): New variable.
3292 (sql-str-literal): New function.
3293 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3294 Redesign.
fbcc67e2
MM
3295 (sql-oracle-save-settings, sql-oracle-restore-settings)
3296 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3297 (sql-completion-object, sql-completion-column)
3298 (sql-completion-sqlbuf): New variables.
3299 (sql-build-completions-1, sql-build-completions)
3300 (sql-try-completion): New functions.
3301 (sql-read-table-name): Use them.
3302 (sql-contains-names): New buffer local variable.
3303 (sql-list-all, sql-list-table): Use it.
3304 (sql-oracle-completion-types): New variable.
3305 (sql-oracle-completion-object, sql-sqlite-completion-object)
3306 (sql-postgres-completion-object): New functions.
3307
d4eaeab1
GM
33082011-07-06 Glenn Morris <rgm@gnu.org>
3309
3310 * window.el (pop-to-buffer): Doc fix.
3311
322b7dab 33122011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3313
3314 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3315
322b7dab 33162011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3317
322b7dab 3318 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3319
322b7dab 3320 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3321
605dd5bf
CY
33222011-07-05 Chong Yidong <cyd@stupidchicken.com>
3323
3324 * button.el (button): Inherit from link face. Suggested by Dan
3325 Nicolaescu.
3326
7dbfa719
SM
33272011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3db614b0
SM
3329 * progmodes/gdb-mi.el: Fit in 80 columns.
3330 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3331 switch-to-buffer.
3332
7dbfa719
SM
3333 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3334 if imenu is simply not configured (bug#8941).
3335
919d884a
KM
33362011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3337
3338 * allout.el (allout-post-undo-hook): New allout outline-change
3339 event hook to signal undo activity.
3340 (allout-post-command-business): Run allout-post-undo-hook if an
3341 undo just occurred.
7dbfa719
SM
3342 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3343 * allout-widgets.el (allout-widgets-after-undo-function):
3344 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3345 in the vicinity of an undo.
3346 (allout-widgets-mode): Include allout-widgets-after-undo-function
3347 on the new allout-post-undo-hook.
3348
450a0f09
SM
33492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3350
3351 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3352 Let define-derived-mode define it.
3353 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3354 cycles of abbrev-table inheritance (bug#8998).
3355
2de69e00
RW
33562011-07-05 Roland Winkler <winkler@gnu.org>
3357
3358 * textmodes/bibtex.el: Add support for biblatex.
3359 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3360 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3361 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3362 (bibtex-entry-alist, bibtex-field-alist): New variables.
3363 (bibtex-entry-field-alist): Obsolete alias for
3364 bibtex-BibTeX-entry-alist.
3365 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3366 (bibtex-set-dialect): New command.
3367 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3368 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3369 Bind via bibtex-set-dialect.
2de69e00
RW
3370 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3371 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3372 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3373 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3374 Define via bibtex-set-dialect.
450a0f09
SM
3375 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3376 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3377 (bibtex-vec-push, bibtex-vec-incr): New functions.
3378 (bibtex-format-entry, bibtex-field-list)
3379 (bibtex-print-help-message, bibtex-validate)
3380 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3381
2dcdbdd9
SM
33822011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3383
3384 * progmodes/compile.el (compilation-goto-locus):
3385 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3386 * bs.el (bs-cycle-next, bs-cycle-previous):
3387 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3388 * bindings.el (mode-line-other-buffer):
3389 * autoinsert.el (auto-insert):
3390 * arc-mode.el (archive-extract):
3391 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3392
b27640fe
JB
33932011-07-05 Juanma Barranquero <lekktu@gmail.com>
3394
3395 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3396 Fix check of `emacs-lock-unlockable-modes'.
3397 Coerce true values of `emacs-lock--try-unlocking' to t.
3398
53bbe3ad
JB
33992011-07-05 Juanma Barranquero <lekktu@gmail.com>
3400
3401 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3402 * emacs-lock.el: New file.
3403
1d3cdbc7
JD
34042011-07-05 Julien Danjou <julien@danjou.info>
3405
3406 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3407 than `boundp' to check if face is set.
3408
9173deec
JB
34092011-07-05 Juanma Barranquero <lekktu@gmail.com>
3410
3411 * register.el (registerv-make):
3412 * window.el (window-min-height): Fix typos in docstrings.
3413
869795d6
JD
34142011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3415
9173deec 3416 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3417 Update doc string.
3418
b768cdcd
JB
34192011-07-04 Juanma Barranquero <lekktu@gmail.com>
3420
3421 * server.el (server-execute): Catch quit and call
3422 `server-return-error' to pass the error back to emacsclient and
3423 close the connection (bug#8942).
3424
13aa217b
KM
34252011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3426
3427 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3428 insecure exception for current topic. Also note that auto-saves
3429 are handled differently.
3430
3431 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3432 State variables for tracking auto-save inhibition situation.
3433
3434 (allout-write-contents-hook-handler): Rename from
3435 'allout-write-file-hook-handler', and describe how it depends on
3436 write-contents-functions sensitivity to non-nil value to prevent
3437 file write.
3438
3439 (allout-auto-save-hook-handler): Remove. auto-save does not check
3440 this in individual buffers, only in the starting buffer, so this
3441 is not the right way for us to inhibit auto-save in a buffer
3442 according to its condition.
3443
3444 (allout-mode): Use new allout-write-contents-hook-handler, and
3445 only with write-contents-functions. Remove auto-save provisions -
3446 they're implemented elsewhere.
3447
3448 (allout-before-change-handler): If undo is in progress, note that
3449 for attention of allout-post-command-business.
3450
3451 (allout-post-command-business): If the command we're following was
3452 an undo, check for change in the status of encrypted items and
3453 adjust auto-save inhibitions accordingly.
3454
3455 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3456 according to whether there are or aren't any plain-text topics
3457 pending encryption.
3458
2dcdbdd9
SM
3459 (allout-inhibit-auto-save-info-for-decryption):
3460 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3461 there are plain-text topics pending encryption.
3462
3463 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3464 buffer-saved-size and some allout state to not inhibit auto-saves
3465 if there are no longer any plain-text topics pending encryption.
3466
0757af94
SM
3467 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3468 No longer provide for exemption of the current topic.
13aa217b 3469
ac89b32c
JL
34702011-07-04 Juri Linkov <juri@jurta.org>
3471
3472 Add 7z operations to delete and save changed members (bug#8968).
3473 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3474 New defcustoms.
3475 (archive-7z-write-file-member): New function.
3476 (archive-7z-summarize): Fix the number of dashes in the
3477 listing output.
3478
8fa39615
SM
34792011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3482 (bug#8958).
3483
2f11b3f1
CY
34842011-07-04 Chong Yidong <cyd@stupidchicken.com>
3485
d66fef2b
CY
3486 * bindings.el: Ignore next-buffer and previous-buffer in
3487 minibuffer-local-map.
3488
2f11b3f1
CY
3489 * font-lock.el (font-lock-builtin-face): Change light background
3490 color to dark slate blue (Bug#6693).
3491
f932a347
WD
34922011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3493
3494 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3495
c8af70e1
SM
34962011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3499 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3500 Add switch-to-buffer.
3501
f158badc
LMI
35022011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3503
3504 * isearch.el (isearch-search-fun-function): Clarify further the
3505 meaning of the function returned.
3506
6d95bd46
MA
35072011-07-04 Michael Albinus <michael.albinus@gmx.de>
3508
3509 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3510
3511 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3512 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3513 Use it.
3514 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3515 `tramp-default-remote-path' does not exist.
3516 (tramp-send-command-and-read): New optional argument NOERROR.
3517 (tramp-open-connection-setup-interactive-shell)
3518 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3519 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3520 (tramp-process-sentinel): Flush also process' connection property.
3521 (tramp-sh-handle-start-file-process): Do not set process
3522 sentinel. It is done now ...
3523 (tramp-maybe-open-connection): ... here. (Bug#8929)
3524
909e6b67
MK
35252011-07-04 MON KEY <monkey@sandpframing.com>
3526
3527 * play/animate.el (animate-string): Doc fixes and allow changing
3528 the buffer name (bug#5417).
3529
35302011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3531
c8af70e1 3532 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3533
f34755dc
PE
35342011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3535
396cec72
PE
3536 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3537 This is simpler and helps future-proof the code.
3538 (timer-until): Use time-subtract and float-time.
08235028 3539 (timer--time-less-p): Use time-less-p.
f34755dc 3540
56e6cc31
JB
35412011-07-04 Juanma Barranquero <lekktu@gmail.com>
3542
3abb79e5
JB
3543 * type-break.el (timep): Use the value of `float-time' to avoid a
3544 byte-compiler warning.
3545
56e6cc31
JB
3546 * server.el (server-eval-and-print): Return any result, even nil.
3547
7b9430b4
PE
35482011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3549
3550 * type-break.el: Accept time formats that the builtins accept.
3551 (timep, type-break-time-difference): Accept any format that
3552 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3553 This is simpler and helps future-proof the code.
3554 (type-break-time-difference): Round rather than ignoring
3555 subseconds components.
3556
3034e9e7
LMI
35572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
3559 * info.el (Info-apropos-matches): Make non-interactive, since it
3560 doesn't seem to do anything useful as a command (bug#8829).
3561
1485f4c0
CY
35622011-07-03 Chong Yidong <cyd@stupidchicken.com>
3563
3564 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3565 Move from faces.el.
1485f4c0
CY
3566 (frame-default-terminal-background): New function.
3567
3568 * custom.el (custom-push-theme): Don't record faces in `changed'
3569 theme; this doesn't work correctly for per-frame face settings.
3570 (disable-theme): Use face-set-after-frame-default to reset faces.
3571 (custom--frame-color-default): New function.
3572
9fa3dd45
LMI
35732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3574
c8af70e1 3575 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3576 (bug#8769).
3577
6cbbc20c
KR
35782011-03-29 Kevin Ryde <user42@zip.com.au>
3579
3580 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3581 `perl-Test2' extend to match possible "fail #N" rep count
3582 (bug#8377).
3583
c7f98048
LMI
35842011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
65676592
LMI
3586 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3587 `smtpmail-via-smtp' now returns the error instead of nil.
3588
c7f98048
LMI
3589 * isearch.el (isearch-search-fun-function): Clarify the doc string
3590 (bug#8101).
3591
56e6cc31 35922011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3593
3594 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3595 unnecessary spaces (bug#8987).
3596
2b216704
LMI
35972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3598
3599 * net/network-stream.el (open-network-stream): Use the
3600 :end-of-capability command thoughout.
3601
36022011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3603
3604 * net/network-stream.el (open-network-stream): Add the
3605 :end-of-capability command parameter, used by pop3.el.
3606
36adf6ce
LMI
36072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3608
1ca0da0e
LMI
3609 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3610
fc00f69c
LMI
3611 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3612 for list)" (bug#6475).
3613
28fd8759
LMI
3614 * files.el (file-expand-wildcards): Ignore non-readable
3615 sub-directories while trying to find matches instead of signalling
3616 an error (bug#6297).
3617
0dd8b6da
LMI
3618 * man.el (Man-reference-regexp): Allow matching possible
3619 word-wrapped references (bug#6289).
3620
ce1438d6
LMI
3621 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3622 for consistency with the other vc buffers (bug#6197).
3623 (vc-checkin): Ditto.
3624
3625 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3626
36adf6ce
LMI
3627 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3628
e83cc1f7
LMI
36292011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3630
8a20ca4c
LMI
3631 * custom.el (defcustom): Clarify that :set is only used in the
3632 Customize user interface (bug#6089).
3633
83319045
LMI
3634 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3635 associated with a file, refuse to run instead of erroring out
3636 (bug#6084).
3637
a8392169
LMI
3638 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3639 the doc string, since it appears that using `fill-column' always
3640 controls the width (bug#7845).
3641
e83cc1f7
LMI
3642 * simple.el (shell-command-on-region): Say where the error output
3643 went if `shell-command-default-error-buffer' is set (bug#6857).
3644
e47ca23b
KM
36452011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3646
3647 * allout.el (allout-yank-processing): Adjust cursor position for
3648 backwards-deleted space.
3649
3650 (allout-rebullet-heading): Register changes with
3651 allout-exposure-changed-hook, so the modified topic is properly
3652 decorated.
3653
5cf56143
LMI
36542011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3655
08549772
LMI
3656 * minibuffer.el (completion-in-region): Document PREDICATE
3657 (bug#7136).
3658
48e96771
LMI
3659 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3660 of keyword/argument pairs (bug#6904).
3661
c8af70e1
SM
3662 * replace.el (multi-occur):
3663 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3664
e17d05e2
LMI
36652011-07-02 Drew Adams <drew.adams@oracle.com>
3666
3667 * dired.el (dired-mark-if): Make the message about whether it's
3668 marking or unmarking clearer (bug#8523).
3669
063b0e45
LMI
36702011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3671
3672 * disp-table.el (display-table-print-array): New function.
3673 (describe-display-table): Use it to print the vectors more pretty
3674 (Bug#8859).
3675
28545e04
MR
36762011-07-02 Martin Rudalics <rudalics@gmx.at>
3677
3678 * window.el (window-state-get-1): Don't assign clone numbers.
3679 Add clone-of item to list of window parameters.
3680 (window-state-put-2): Don't process clone numbers.
3681 (display-buffer-alist): Fix doc-string.
3682
3349e122
SM
36832011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3684
3685 * subr.el (remq): Don't allocate if it's not needed.
3686 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3687 (keymap--merge-bindings): New functions.
3688 (keymap-canonicalize): Use them to refine the canonicalization.
3689 * minibuffer.el (minibuffer-local-completion-map)
3690 (minibuffer-local-must-match-map): Move initialization from C.
3691 (minibuffer-local-filename-completion-map): Move initialization from C;
3692 don't inherit from anything here.
3693 (minibuffer-local-filename-must-match-map): Make obsolete.
3694 (completing-read-default): Use make-composed-keymap to combine
3695 minibuffer-local-filename-completion-map with either
3696 minibuffer-local-must-match-map or
3697 minibuffer-local-filename-completion-map.
3698
d224ac83
GM
36992011-07-01 Glenn Morris <rgm@gnu.org>
3700
3de63bf8
GM
3701 * type-break.el (type-break-time-sum): Use dolist.
3702
d224ac83
GM
3703 * textmodes/flyspell.el (flyspell-word-search-backward):
3704 Replace CL function.
3705
1a1e3f32
SM
37062011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3707
fe3f64d5
SM
3708 * mouse.el (mouse--strip-first-event): New function.
3709 (function-key-map): Use it to map fringe clicks to normal clicks
3710 by default.
3711
eb604e34
SM
3712 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3713 (vc-bzr-revision-completion-table): Add support for annotate and date.
3714
1a1e3f32
SM
3715 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3716 inherit from parent.
3717
5bd35902
LMI
37182011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3719
ace6c69c 3720 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3721 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3722
191e2bed
LMI
3723 * dired.el (dired-mode): Fix up the doc string as suggested by
3724 Drew Adams (bug#8817).
3725
5bd35902
LMI
3726 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3727 cookie, since the manual says that it should be possible to add
3728 this function to `find-file-hook' (bug#8709).
3729
eee8207a
TZ
37302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3731
3732 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3733 here. Noted Ted Zlatanov as the maintainer.
3734 (cfengine-common-settings, cfengine-common-syntax): New functions
3735 to set up common things between `cfengine-mode' and
3736 `cfengine3-mode'.
3737 (cfengine3-mode): New mode.
3738 (cfengine3-defuns cfengine3-defuns-regex
3739 (cfengine3-class-selector-regex cfengine3-category-regex)
3740 (cfengine3-vartypes cfengine3-font-lock-keywords)
3741 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3742 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3743
36b148cf
MA
37442011-07-01 Michael Albinus <michael.albinus@gmx.de>
3745
3746 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3747
3748 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3749
0bf4ba9a
MR
37502011-07-01 Martin Rudalics <rudalics@gmx.at>
3751
3752 * window.el (same-window-buffer-names, same-window-regexps)
3753 (same-window-p, special-display-frame-alist)
3754 (special-display-popup-frame, special-display-function)
3755 (special-display-buffer-names, special-display-regexps)
3756 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3757 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3758 (split-window-preferred-function, split-height-threshold)
3759 (split-width-threshold, even-window-heights)
3760 (display-buffer-mark-dedicated, window-splittable-p)
3761 (split-window-sensibly, window-safely-shrinkable-p):
3762 Un-obsolete.
3763 (display-buffer): Don't spread args with function specifier
3764 because special-display-popup-frame won't like it.
3765
35837f51
PE
37662011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3767
d0672f86
PE
3768 Time-stamp simplifications and fixes.
3769 These improve accuracy slightly, and future-proof the code
3770 against some potential changes to current-time format.
3771
b9444d97
PE
3772 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3773 by using time-since and float-time.
3774
0ef923dc
PE
3775 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3776 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3777 + NNN microseconds".
3778
2f81380d
PE
3779 * type-break.el (type-break-time-sum): Rewrite using time-add.
3780
845b5c3e
PE
3781 * play/hanoi.el (hanoi-current-time-float): Remove.
3782 All uses replaced by float-time.
3783
ee6f1be0
PE
3784 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3785 This yields a more-accurate answer.
3786 (rng-time-to-float): Remove; no longer needed.
3787
fe955043
PE
3788 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3789
5777162a
PE
3790 * calendar/timeclock.el (timeclock-seconds-to-time):
3791 Defalias to seconds-to-time, since they're the same thing.
3792
3103f8b6 3793 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3794 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3795 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3796
0e61a35f
SM
37972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3798
3799 * window.el (bury-buffer): Don't iconify the only frame.
3800 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3801 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3802
ddd63a1e
CY
38032011-07-01 Chong Yidong <cyd@stupidchicken.com>
3804
0e61a35f
SM
3805 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3806 Add mouse-yank-primary.
ddd63a1e 3807
055f4923
TZ
38082011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3809
3810 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3811
6a2fb145
SM
38122011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3813
3814 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3815 (find-library-name): Use it to find relative load names when provided
3816 absolute file name (bug#8803).
3817
fd4983f2
LMI
38182011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3819
887d14ad
LMI
3820 * textmodes/flyspell.el (flyspell-word): Consider words that
3821 differ only in case as potential doublons (bug#5687).
3822
c53dc7fc
LMI
3823 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3824 Remove two rather uninteresting debugging-like messages to make
3825 debbugs.el more silent.
3826
fd4983f2
LMI
3827 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3828 a password-like phrase.
3829
b14c0c55
AM
38302011-06-30 Mastake YAMATO <yamato@redhat.com>
3831
3832 * progmodes/cc-guess.el: New file.
3833
6a2fb145 3834 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3835
3836 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3837 derived from `c-basic-common-init'.
3838
3839 * progmodes/cc-mode.el (top-level): Require cc-guess.
3840 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3841
1fa280a3
LM
38422011-06-30 Lawrence Mitchell <wence@gmx.li>
3843
3844 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3845
e6597158
AM
38462011-06-30 Alan Mackenzie <acm@muc.de>
3847
1fa280a3
LM
3848 * progmodes/cc-engine.el (c-guess-continued-construct):
3849 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3850 lock is disabled. Name this case as "CASE G".
3851
68ba37fb
KM
38522011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3853
3854 * allout.el (allout-yank-processing): Fix injection of extra space
3855 between bullet and non-whitespace character in first topic when
3856 pasting, ensuring that the actual spacing in the pasted topic
3857 following the bullet char is preserved. This extra space was
3858 causing pasted encrypted topics to get a decrypted status even
3859 when the content was actually still encrypted. Now the decryption
3860 status from before the paste is preserved.
3861
3862 (allout-flag-region): Set all allout overlays so they evaporate
3863 when reduced to zero length (evanescent), to prevent overlay
3864 leakage.
3865
887a0b34
GM
38662011-06-30 Glenn Morris <rgm@gnu.org>
3867
94b9acce
GM
3868 * w32-fns.el (w32-charset-info-alist): Declare.
3869
1d9b46d4
GM
3870 * find-dired.el (find-grep-options): Simplify.
3871
cc232200
GM
3872 * term/ns-win.el (ns-set-resource): Declare.
3873
28e77c46
GM
3874 * ses.el (row, col): Declare dynamic variables honestly.
3875
887a0b34
GM
3876 * textmodes/reftex-parse.el (index-tags): Declare.
3877
658d8eb8
CY
38782011-06-30 Chong Yidong <cyd@stupidchicken.com>
3879
3880 * cus-edit.el (customize-push-and-save): New function.
3881
3882 * files.el (hack-local-variables-confirm): Use it.
3883
1fa280a3
LM
3884 * custom.el (load-theme): New arg NO-CONFIRM.
3885 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3886 (custom-enabled-themes): Doc fix.
3887
3888 * cus-theme.el (customize-create-theme)
3889 (custom-theme-merge-theme): Callers to load-theme changed.
3890
bb617717
LMI
38912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3892
d61bdd5d
LMI
3893 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3894 short URLs have at least one dot in them (bug #7614).
3895
bb617717
LMI
3896 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3897 nil, because using a pty is apparently too slow (bug #895).
3898
2f31f37a
LMI
38992011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3900
3901 * mail/sendmail.el (sendmail-query-once): New function.
3902 (sendmail-query-once-function): New variable.
3903
3076b24e
GM
39042011-06-29 Glenn Morris <rgm@gnu.org>
3905
faf2a174
GM
3906 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3907
3076b24e
GM
3908 * ses.el (top-level): Require cl when compiling.
3909 (ses-set-localvars): Fix error statement.
3910 Call it at compile time to silence a storm of warnings.
3911
5386012d
MR
39122011-06-29 Martin Rudalics <rudalics@gmx.at>
3913
3914 * window.el (normalize-live-buffer): Rename to
3915 window-normalize-buffer.
3916 (normalize-live-frame): Rename to window-normalize-frame.
3917 (normalize-any-window): Rename to window-normalize-any-window.
3918 (normalize-live-window): Rename to window-normalize-live-window.
3919 (make-window-atom): Rename to window-make-atom.
3920 (window-resize-reset): Rename to window--resize-reset.
3921 (window-resize-reset-1): Rename to window--resize-reset-1.
3922 (resize-mini-window): Rename to window--resize-mini-window.
3923 (resize-subwindows-skip-p): Rename to
3924 window--resize-subwindows-skip-p.
3925 (resize-subwindows-normal): Rename to
3926 window--resize-subwindows-normal.
3927 (resize-subwindows): Rename to window--resize-subwindows.
3928 (resize-other-windows): Rename to window--resize-siblings.
3929 (resize-this-window): Rename to window--resize-this-window.
3930 (resize-root-window): Rename to window--resize-root-window.
3931 (resize-root-window-vertically): Rename to
3932 window--resize-root-window-vertically.
3933 (normalize-buffer-to-display): Rename to
3934 window-normalize-buffer-to-display.
3935 (normalize-buffer-to-switch-to): Rename to
3936 window-normalize-buffer-to-switch-to.
3937 Correspondingly update all callers of the functions listed
3938 above.
3939 (display-buffer-alist, display-buffer-normalize-arguments)
3940 (display-buffer-normalize-options, display-buffer)
3941 (display-buffer-alist-set): Use "function" instead of
3942 "fun-with-args".
3943
1176868d
CY
39442011-06-28 Chong Yidong <cyd@stupidchicken.com>
3945
3946 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3947 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3948 debbugs.gnu.org. Mention acknowledgment email.
3949
20a7a65f
LMI
39502011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3951
3952 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3953 buffer multibyteness, since it shouldn't matter.
3954
5f45cca5
MR
39552011-06-28 Martin Rudalics <rudalics@gmx.at>
3956
3957 * window.el (display-buffer-in-side-window): Handle dedicated
3958 windows as in display-buffer-reuse-window.
3959 (display-buffer-normalize-alist): Use value of override
3960 specifier.
3961 (display-buffer-normalize-specifiers): Use value of
3962 other-window-means-other-frame specifier.
3963 (display-buffer-alist): Rewrite some texts in widgets.
3964 (display-buffer): Spread arguments when calling function
3965 specified by fun-with-args.
3966
ad85fe1f
DD
39672011-06-28 Deniz Dogan <deniz@dogan.se>
3968
1fa280a3
LM
3969 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3970 Unnest `let'.
da68c4c8 3971
ad85fe1f
DD
3972 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3973 selectors (Bug#5732).
ec49bd31 3974 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3975
a08cc025
JA
39762011-06-27 Jari Aalto <jari.aalto@cante.net>
3977
3978 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3979 (eshell-ls-date-format): New defcustom.
3980 (eshell-ls-file): Use it.
3981
e2b551c5
SM
39822011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3985
8982b231
KY
39862011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3987
3988 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3989 (ange-ftp-make-tmp-name): New arg.
3990 (ange-ftp-file-local-copy): Use it.
3991
36c9fa27
J
39922011-06-27 Jambunathan K <kjambunathan@gmail.com>
3993
3994 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3995 no-conversion (Bug#8870).
3996
d68443dc
MR
39972011-06-27 Martin Rudalics <rudalics@gmx.at>
3998
3999 * window.el (window-right, window-left, window-child)
4000 (window-child-count, window-last-child)
4001 (window-iso-combination-p, walk-window-tree-1)
4002 (window-atom-check-1, window-tree-1, delete-window)
4003 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
4004 new naming conventions - window-vchild, window-hchild,
4005 window-next and window-prev are now called window-top-child,
4006 window-left-child, window-next-sibling and window-prev-sibling
4007 respectively.
d615d6d2
MR
4008 (resize-window-reset): Rename to window-resize-reset.
4009 (resize-window-reset-1): Rename to window-resize-reset-1.
4010 (resize-window): Rename to window-resize.
4011 (window-min-height, window-min-width)
4012 (resize-mini-window, resize-this-window, resize-root-window)
4013 (resize-root-window-vertically, adjust-window-trailing-edge)
4014 (enlarge-window, shrink-window, maximize-window)
4015 (minimize-window, delete-window, quit-restore-window)
4016 (split-window, balance-windows, balance-windows-area-adjust)
4017 (balance-windows-area, window-state-put-2)
4018 (display-buffer-even-window-sizes, display-buffer-set-height)
4019 (display-buffer-set-width, set-window-text-height)
4020 (fit-window-to-buffer): Rename all "resize-window" prefixed
4021 calls to use the "window-resize" prefix convention.
4022 (display-buffer-alist): Fix symbol for label specifier.
4023 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
4024 corresponding specifier.
4025 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 4026
b6458526
VB
40272011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4028
4029 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
4030 convention.
4031 (ses-call-printer): Does not pass an empty string to formatter when the
4032 cell is empty to keep from barking printer Calc math-format-value.
4033
d31fd9ac
RS
40342011-06-27 Richard Stallman <rms@gnu.org>
4035
43d5bf84
RS
4036 * battery.el (battery-mode-line-limit): New variable.
4037 (battery-update): Handle it.
4038
d31fd9ac
RS
4039 * mail/rmailmm.el (rmail-mime-process-multipart):
4040 Handle truncated messages.
4041
819a6054
GM
40422011-06-27 Glenn Morris <rgm@gnu.org>
4043
4044 * progmodes/flymake.el (flymake-err-line-patterns):
4045 Allow for column numbers in the ant/javac pattern. (Bug#8866)
4046
cedc73f2
VB
40472011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
4048
819a6054 4049 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4050 (ses--clean-!, ses--clean-_): New functions.
4051 (ses-range): Add configurability of readout order, and conversion
4052 to Calc vector.
4053
5e5d49b6
VB
4054 * ses.el (ses-repair-cell-reference-all): New function.
4055 (ses-cell-symbol): Set macro as safe, so that it can be used in
4056 formulas.
4057
56e6cc31 4058 * ses.el: Update cycle detection algorithm.
90ca8b49 4059 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4060 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4061 (ses-set-localvars): New function.
4062 (ses-make-cell): Add property-list as a cell element.
4063 (ses-cell-property-get-fun, ses-cell-property-get)
4064 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4065 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4066 New functions.
90ca8b49
VB
4067 (ses-cell-property-set, ses-cell-property-pop)
4068 (ses-cell-property-get-handle): New macro.
4069 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4070 New aliases, used for code readability.
4071 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4072 cycle detection.
4073 (ses-self-reference-early-detection): New defcustom.
4074 (ses-formula-references): Robustify against self-refering cells.
4075 (ses-mode): Use ses-set-localvars.
4076 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4077 before lauching the update processing.
4078 (ses-initialize-Dijkstra-attempt): New function.
4079 (ses-recalculate-cell): Update for cycle detection based on
4080 Dijkstra algorithm.
4081
2bb63e81
VB
4082 * ses.el: Fix commenting and indenting convention.
4083
c9d29fb8
SM
40842011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4085
4086 * bs.el (bs-cycle-next): Complete last change.
4087
d8e4b68b
JB
40882011-06-27 Drew Adams <drew.adams@oracle.com>
4089
4090 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4091
40098786
LMI
40922011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4093
c9d29fb8
SM
4094 * net/network-stream.el (network-stream-open-starttls):
4095 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4096 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4097
40098786
LMI
4098 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4099 to binary to possibly avoid line encoding issues on Windows (among
4100 other things).
4101
468d09d4
LMI
41022011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4103
4104 * net/network-stream.el (open-network-stream): Return an :error
4105 saying what the problem was, if possible.
4106
4107 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4108 server.
4109
4110 * net/network-stream.el (network-stream-open-starttls): If we
4111 wanted to use STARTTLS, and the server offered it, but we weren't
4112 able to because we had no STARTTLS support, then close the connection.
4113 (open-network-stream): Return an :error element, if present.
4114
16f07dd7
CY
41152011-06-26 Chong Yidong <cyd@stupidchicken.com>
4116
88821ca0
CY
4117 * hl-line.el (hl-line-sticky-flag): Doc fix.
4118 (global-hl-line-sticky-flag): New option (Bug#8323).
4119 (global-hl-line-highlight): Obey it.
4120
16f07dd7
CY
4121 * vc/vc.el (vc-revert-show-diff): Default to t.
4122
6b5ccddf
KM
41232011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4124
c9d29fb8
SM
4125 * allout-widgets.el (allout-widgets-post-command-business):
4126 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4127 undecorated when an isearch is continued past, and isearch
4128 automatically collapses them. This leads to "widget leaks", where
4129 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4130 hidden widgets can slow down cursor travel, substantially.
4131 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4132 so we're doing without this nicety.
4133
4134 (allout-widgets-tally-string): Don't try to do a hash-table-count
4135 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4136 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4137 *Messages* when allout-widgets-maintain-tally is t.
4138
355f2e07
MR
41392011-06-26 Martin Rudalics <rudalics@gmx.at>
4140
4141 * window.el (display-buffer-normalize-argument): Rename to
4142 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4143 LABEL argument. Respect special-display-function when popping up
4144 a new frame. Fix code searching for a window showing the buffer
4145 on another frame.
c9d29fb8
SM
4146 (display-buffer-normalize-specifiers):
4147 Call display-buffer-normalize-arguments.
355f2e07
MR
4148 (display-buffer-in-window): Don't undedicate the window if its
4149 buffer remains the same.
4150 Reported by Drew Adams <drew.adams@oracle.com>.
4151 (display-buffer-alist): Add choice for same-window macro
4152 specfier.
4153 (display-buffer): Mention special meaning of LABEL argument in
4154 doc-string. Fix quoting. Don't pop up a new frame even as
4155 fallback.
4156
7ca8fc42
JB
41572011-06-26 Juanma Barranquero <lekktu@gmail.com>
4158
4159 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4160 avoid deleting the current window in some cases (bug#8911).
4161
bc312254
AS
41622011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4163
4164 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4165 (Bug#8934)
4166
2db18f3f
LMI
41672011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4168
c9d29fb8
SM
4169 * net/network-stream.el (network-stream-open-starttls):
4170 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4171 (network-stream-open-tls): Ditto.
4172
6302e0d3
LL
41732011-06-26 Leo Liu <sdl.web@gmail.com>
4174
4175 * register.el (registerv): New struct.
4176 (registerv-make): New function.
c9d29fb8
SM
4177 (jump-to-register, describe-register-1, insert-register):
4178 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4179 struct. (Bug#8415)
4180
5fdd4046
CY
41812011-06-26 Chong Yidong <cyd@stupidchicken.com>
4182
2afef60a
CY
4183 * vc/vc.el (vc-revert-show-diff): New defcustom.
4184 (vc-diff-internal): New arg specifying diff buffer.
4185 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4186 reuse an existing *vc-diff* buffer (Bug#8927).
4187
5fdd4046
CY
4188 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4189
e93db24a
GM
41902011-06-26 Glenn Morris <rgm@gnu.org>
4191
4192 * progmodes/f90.el (f90-critical-indent): New option.
4193 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4194 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4195 (f90-mode): Doc fix.
4196 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4197 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4198 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4199 (f90-match-end): Handle block, critical.
4200
eefff499
GM
42012011-06-25 Glenn Morris <rgm@gnu.org>
4202
f6ba4cc9
GM
4203 * calendar/diary-lib.el (diary-included-files): Doc fix.
4204 (diary-include-files): New function, extracted from
4205 diary-include-other-diary-files and diary-mark-included-diary-files.
4206 (diary-include-other-diary-files, diary-mark-included-diary-files):
4207 Just call diary-include-files.
4208 (diary-mark-entries): Reset diary-included-files on first call.
4209
16712304
GM
4210 * calendar/diary-lib.el (diary-mark-entries)
4211 (diary-mark-included-diary-files):
4212 Visit included diary-files in temp buffers.
4213
5d8e0d43
GM
4214 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4215 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4216 (f90-start-block-re, f90-imenu-generic-expression)
4217 (f90-looking-at-program-block-start, f90-no-block-limit):
4218 Add support for submodules.
4219
ccf7a5d5
GM
4220 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4221 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4222
11fdef7d 42232011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4224
4225 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4226 buffer-file-type before setting its value, to avoid disastrous
eefff499 4227 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4228
74f53697
JB
42292011-06-25 Juanma Barranquero <lekktu@gmail.com>
4230
4231 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4232
4233 * ses.el (ses-unload-function):
4234 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4235
4236 * proced.el (proced-unload-function):
4237 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4238
18a4ce5e
AR
42392011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4240
4241 * server.el (server-create-window-system-frame): Add parameters arg.
4242 (server-process-filter): Doc fix. Handle frame-parameters.
4243
519d22cc
JB
42442011-06-25 Juanma Barranquero <lekktu@gmail.com>
4245
4246 Fix bug#8730, bug#8781.
4247
4248 * loadhist.el (unload--set-major-mode): New function.
4249 (unload-feature): Use it.
4250
4251 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4252 (python-unload-function): New function.
4253
c206f5b0
SM
42542011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4257
f9ad64f3
GS
42582011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4259
4260 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4261 the candidates list.
4262
7d0da90e
JB
42632011-06-24 Juanma Barranquero <lekktu@gmail.com>
4264
4265 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4266
14b4e83d
RS
42672011-06-23 Richard Stallman <rms@gnu.org>
4268
4269 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4270 (rmail-variables): Set next-error-move-function.
4271 (rmail-what-message): Take argument POS.
4272 (rmail-next-error-move): New function.
4273
273d2baf
SM
42742011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4275
4276 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4277 messages for adjacent non-terminals.
4278
56c2cc9a
RS
42792011-06-23 Richard Stallman <rms@gnu.org>
4280
4281 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4282 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4283 (rmail-start-mail): Don't specify use of rmail-mail-return;
4284 that's done by mail-bury now.
4285 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4286
d59eb518
MA
42872011-06-23 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4290 SIZE is a number.
4291
02cfc6d6
MR
42922011-06-23 Martin Rudalics <rudalics@gmx.at>
4293
4294 * window.el (get-lru-window, get-mru-window)
4295 (get-largest-window): Never return a minibuffer window.
4296 (display-buffer-pop-up-window): Fix a bug that could lead to
4297 reusing the minibuffer window.
4298 (display-buffer): Pass original specifier argument to
4299 display-buffer-function instead of the normalized one.
4300 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4301
4e323265
LL
43022011-06-22 Leo Liu <sdl.web@gmail.com>
4303
4304 * minibuffer.el (completing-read-function)
4305 (completing-read-default): Move from minibuf.c
4306
7a70468f
RS
43072011-06-22 Richard Stallman <rms@gnu.org>
4308
50718fc2
RS
4309 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4310 to Rmail even if not started by a special Rmail command.
4311
7a70468f
RS
4312 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4313 Copy the buffer currently showing just one message.
4314
297dde5a
RW
43152011-06-22 Roland Winkler <winkler@gnu.org>
4316
4317 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4318 (bibtex-clean-entry): First delete the old key so that a
4319 customized algorithm for generating the new key does not get
4320 confused by the old key.
4321 (bibtex-url): Obey regexp of first step.
4322 (bibtex-search-entries): Do not use add-to-list with local
4323 list-var.
4324
97bb1093
LMI
43252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4326
4327 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4328 stored a user name, then query for the password first, instead of
4329 waiting for SMTP to give an error message and the trying again.
4330
1c0f1a19
JD
43312011-06-22 Lawrence Mitchell <wence@gmx.li>
4332
4333 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4334 BUFFER in call-process.
4335
396f7c9d
LMI
43362011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4337
4338 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4339 QUIT twice.
ddb7ffee
LMI
4340 (smtpmail-try-auth-methods): Require user name and password from
4341 auth-source.
396f7c9d 4342
8998d1b3
MR
43432011-06-22 Martin Rudalics <rudalics@gmx.at>
4344
4345 * window.el (display-buffer-default-specifiers)
4346 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4347 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4348 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4349
4350 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4351 (special-display-frame-alist, special-display-popup-frame):
4352 Remove duplicate declarations. These are now in window.el.
4353
4ea31e07
LMI
43542011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4355
c9d29fb8
SM
4356 * mail/smtpmail.el (smtpmail-via-smtp):
4357 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4358 server supports it. SMTP servers that support STARTTLS commonly
4359 require it.
4360
4361 * net/network-stream.el (network-stream-open-starttls): Support
4362 upgrading to STARTTLS always, even if we don't have built-in support.
4363 (open-network-stream): Add the :always-query-capabilies keyword.
4364
95f41d9a
LMI
4365 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4366 upgrades with `open-network-stream', and rely solely on
4367 auth-source for all credentials. Big changes throughout the file,
4368 but in particular:
c9d29fb8
SM
4369 (smtpmail-auth-credentials): Remove.
4370 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4371 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4372 MAIL FROM, too.
95f41d9a 4373
c9d29fb8
SM
4374 * net/network-stream.el (network-stream-open-starttls):
4375 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4376 STARTTLS.
4377 (auth-source): Require.
4378 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4379 (network-stream-certificate): Change cert-cert to cert and
4380 cert-key to key.
4ea31e07 4381
065ec2c7
MA
43822011-06-21 Michael Albinus <michael.albinus@gmx.de>
4383
4384 * net/tramp-cache.el (top): Don't load the persistency file when
4385 "emacs -Q" has been called.
4386
cd93b359
DR
43872011-06-21 Tim Harper <timcharper@gmail.com>
4388
d8e4b68b
JB
4389 * term/ns-win.el (ns-initialize-window-system):
4390 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4391 resource to NO as it is not yet supported by the NS port.
4392
ae9c0411
JB
43932011-06-21 Juanma Barranquero <lekktu@gmail.com>
4394
4395 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4396 (list-dynamic-libraries): ...not here.
4397
7f3f739f
LL
43982011-06-21 Leo Liu <sdl.web@gmail.com>
4399
4400 * subr.el (sha1): Implement sha1 using secure-hash.
4401
327c8fb1
MR
44022011-06-21 Martin Rudalics <rudalics@gmx.at>
4403
4404 * window.el (display-buffer-alist): In default value do not
4405 enforce searching a window on any but the selected frame.
4406 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4407 (display-buffer-select-window): Remove function.
4408 (display-buffer-in-window): When a window on another frame gets
4409 reused, do not select it any more but just raise its frame if
4410 necessary (Bug#8851) and (Bug#8856).
4411 (display-buffer-normalize-options): Handle pop-up-frames related
4412 options more faithfully.
4413 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4414 window if it is on another frame.
c9d29fb8
SM
4415 (display-buffer-alist, display-buffer-default-specifiers):
4416 Don't make new frame unsplittable by default.
9e9de014
MR
4417 (display-buffer-normalize-argument): Fix doc-string typo and use
4418 'same-frame-other-window instead of 'other-window when associating
4419 with display-buffer-macro-specifiers.
327c8fb1 4420
7cf3f556
VB
44212011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4422
4423 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4424 New functions.
4425 (5x5-mode-map, 5x5-mode-menu): Bind them.
4426 (5x5-draw-grid): Tweak the solver's rendering.
4427
60a406cf
SM
44282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4429
4430 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4431 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4432
d8e4b68b 44332011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4434
4435 * menu-bar.el: Use function variable instead of switch-to-buffer.
4436 (menu-bar-select-buffer-function): New variable.
60a406cf 4437 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4438
478d6f95
SM
44392011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4440
4441 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4442 variable's status.
4443
ca530739
JD
44442011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4445
4446 * x-dnd.el (x-dnd-version-from-flags)
4447 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4448 and long as number (Bug#8899).
4449 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4450
bcd70d97
SM
44512011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4452
60a406cf 4453 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4454 (completion-try-completion, completion-all-completions): Compute the
4455 metadata argument if it's missing; make it optional (bug#8795).
4456
60a406cf 4457 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4458 (widget-complete): Use new :completion-function property.
4459 (widget-completions-at-point): New function.
4460 (default): Use :completion-function instead of :complete.
60a406cf
SM
4461 (widget-default-completions): Rename from widget-default-complete;
4462 Rewrite.
bcd70d97
SM
4463 (widget-string-complete, widget-file-complete, widget-color-complete):
4464 Remove functions.
4465 (file, symbol, function, variable, coding-system, color):
4466 * international/mule-cmds.el (default-input-method, charset)
4467 (language-info-custom-alist):
4468 * cus-edit.el (face): Use new property :completions.
4469
4470 * progmodes/pascal.el (pascal-completions-at-point): New function.
4471 (pascal-mode): Use it.
4472 (pascal-mode-map): Use completion-at-point.
4473 (pascal-toggle-completions): Make obsolete.
4474 (pascal-complete-word, pascal-show-completions):
4475 * progmodes/octave-mod.el (octave-complete-symbol):
4476 Redefine as obsolete alias.
4477 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4478 Signal absence of completion info for old Octave,
4479 (inferior-octave-complete): Redefine as obsolete alias.
4480 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4481 (meta-completions-at-point): Rename from meta-complete-symbol and
4482 adapt it for use on completion-at-point-functions.
4483 (meta-common-mode): Use it.
4484 (meta-looking-at-backward, meta-match-buffer): Remove.
4485 (meta-complete-symbol): Redefine as obsolete alias.
4486 (meta-common-mode-map): Use completion-at-point.
4487 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4488 (makefile-mode-map): Use completion-at-point.
4489 (makefile-completions-at-point): Rename from makefile-complete and
4490 adapt it for use on completion-at-point-functions.
4491 (makefile-mode): Use it.
4492 (makefile-complete): Redefine as obsolete alias.
4493
aebf69c8
DD
44942011-06-20 Deniz Dogan <deniz@dogan.se>
4495
4496 * net/rcirc.el: Delete trailing whitespaces once and for all.
4497
bfbbb27d
DC
44982011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4499
4500 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4501
d264a46b
CY
45022011-06-19 Chong Yidong <cyd@stupidchicken.com>
4503
4ca009e5
CY
4504 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4505
d264a46b
CY
4506 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4507
fbf5b3ce
MR
45082011-06-19 Martin Rudalics <rudalics@gmx.at>
4509
4510 * window.el (display-buffer-other-window-means-other-frame):
4511 Call display-buffer-normalize-alist.
4512 (display-buffer-normalize-specifiers-1): Rename to
4513 display-buffer-normalize-argument. New argument other-frame.
4514 Rewrite.
4515 (display-buffer-normalize-specifiers-2): Rename to
4516 display-buffer-normalize-options.
4517 (display-buffer-normalize-alist-1): New function.
4518 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4519 display-buffer-normalize-alist.
4520 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4521 (display-buffer-normalize-options-inhibit): New variable.
4522 (display-buffer-normalize-specifiers): Rewrite calling
4523 display-buffer-normalize-alist,
4524 display-buffer-normalize-argument, and
4525 display-buffer-normalize-options. Don't call the latter if
4526 display-buffer-normalize-options-inhibit is non-nil.
4527 (frame-auto-delete): New option.
4528 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4529 (window-list-no-nils, window-state-ignored-parameters)
4530 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4531 (window-state-put-1, window-state-put-2, window-state-put):
4532 New functions.
9a028c23
MR
4533 (display-buffer-normalize-options): Move special-display-p group
4534 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4535
6d10d800
CY
45362011-06-18 Chong Yidong <cyd@stupidchicken.com>
4537
6420d28b
CY
4538 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4539 groups (Bug#8776).
4540 (rx-submatch-n): New function.
4541 (rx): Document it.
4542
ddb8b596
CY
4543 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4544 (Bug#8768).
4545
4546 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4547
77080289
CY
4548 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4549
61dfb316
CY
4550 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4551 anytime existing face settings are present (Bug#8889).
4552
6d10d800
CY
4553 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4554 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4555 Remove unused argument.
4556
be3fb2b8
MR
45572011-06-18 Martin Rudalics <rudalics@gmx.at>
4558
bcd70d97
SM
4559 * window.el (display-buffer-default-specifiers):
4560 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4561 pop-up-window-min-width, and another reuse-window specifier
4562 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4563 (display-buffer-normalize-specifiers-2):
4564 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4565 pop-up-windows is unset. Add a reuse-window specifier for the
4566 case popping up a new window fails.
4567 (special-display-popup-frame): Remove double quoting.
28dec25a 4568 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4569
1c6d8c76
SM
45702011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4573 according to comint-completion-addsuffix.
4574
4575 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4576 (pcomplete-suffix-list): Mark as obsolete.
4577 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4578 pcomplete-seen in the closure.
4579 (pcomplete-comint-setup): Setup completion-at-point as well.
4580 (pcomplete--entries): New function.
4581 (pcomplete--env-regexp): New var.
4582 (pcomplete-entries): Rewrite to work with partial-completion and
4583 without relying on pcomplete-suffix-list.
4584 (pcomplete-pare-list): Remove, unused.
4585
25aef8b8
MR
45862011-06-17 Martin Rudalics <rudalics@gmx.at>
4587
4588 * window.el (display-buffer-alist): Set pop-up-window-min-height
4589 and pop-up-window-min-width in default value. Reported by
4590 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4591 other-window-means-other-frame.
4592 (display-buffer-macro-specifiers): Comment out entry for
4593 other-window specifier.
4594 (display-buffer-other-window-means-other-frame): New function.
4595 (display-buffer-normalize-specifiers-1): New arguments
4596 buffer-name and label. Treat other-window case specially.
4597 (display-buffer-normalize-specifiers-2): Treat other-window case
4598 specially.
4599 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4600 (display-buffer-normalize-specifiers):
4601 Call display-buffer-normalize-specifiers-3.
25aef8b8 4602
dbad4f69
MR
46032011-06-17 Martin Rudalics <rudalics@gmx.at>
4604
4605 * window.el (same-window-p): Fix two typos introduced when
4606 adding with-no-warnings.
d1067961
MR
4607 (display-buffer-normalize-specifiers-1): Don't check
4608 pop-up-frames for 'unset initialization.
4609 (display-buffer-normalize-specifiers-2): Major rewrite using
4610 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4611 (pop-up-frames, display-buffer-reuse-frames)
4612 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4613 Suggested by David Engster <deng@randomsample.de>.
4614 (even-window-heights): Initialize to 'unset.
4615 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4616 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4617 other window case.
dbad4f69 4618
9b9c9e3a
MR
46192011-06-16 Martin Rudalics <rudalics@gmx.at>
4620
bcd70d97
SM
4621 * window.el (display-buffer-normalize-specifiers-1):
4622 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4623 second argument of display-buffer (Bug#8865).
981d5c09
MR
4624 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4625 (switch-to-buffer-other-window-same-frame)
4626 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4627 Adams (Bug#8875).
9c2755e9
MR
4628 (display-buffer): Don't check noninteractive when calling
4629 display-buffer-pop-up-frame.
4630 (display-buffer-pop-up-frame): Never pop up a frame in
4631 noninteractive mode (Bug#8857).
67222e1d
MR
4632 (enlarge-window, shrink-window): Don't report an error when the
4633 window can't be resized as requested (Bug#8862).
9b9c9e3a 4634
2b75be67
SM
46352011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4636
9ffdd3ba
SM
4637 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4638
cb581a67
SM
4639 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4640
2b75be67
SM
4641 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4642
8c0e3589
AM
46432011-06-15 Alan Mackenzie <acm@muc.de>
4644
cb581a67
SM
4645 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4646 for declarators, disable knr checking to speed up for normal files.
4647 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4648
b96e6cde
LMI
46492011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4650
4bba86e6
LMI
4651 * net/network-stream.el (open-network-stream): Add the keyword
4652 :always-query-capabilities for the case where you want to force a
4653 `plain' network connection, but the protocol still requires the
4654 capabilitiy command (i.e., SMTP and EHLO).
4655
2b75be67 4656 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4657 consistency with other `-live-p' functions.
4658
efdcdbf8
SM
46592011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * window.el (same-window-buffer-names, same-window-regexps)
4662 (special-display-frame-alist, special-display-popup-frame)
4663 (special-display-function, special-display-buffer-names)
4664 (special-display-regexps, pop-up-frame-alist)
4665 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4666 (pop-up-windows, split-window-preferred-function)
4667 (split-height-threshold, split-width-threshold, even-window-heights)
4668 (display-buffer-mark-dedicated): Don't encourage the use of
4669 display-buffer-alist from Elisp code.
4670
c5cde042
DN
46712011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4672
4673 * progmodes/python.el (python-mode): Derive from prog-mode.
4674 * progmodes/ps-mode.el (ps-mode):
4675 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4676 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4677 * progmodes/ld-script.el (ld-script-mode): Likewise.
4678
baa1c9ab
MR
46792011-06-15 Martin Rudalics <rudalics@gmx.at>
4680
4681 * window.el (display-buffer-alist): Trim default value to avoid
4682 popping up a new frame (Bug#8857) or reusing an arbitrary window
4683 on another frame.
4684 (display-buffer): Do not fall back on popping up a new frame in
4685 batch mode (Bug#8857).
4686
c5dd5a51
CY
46872011-06-14 Chong Yidong <cyd@stupidchicken.com>
4688
4689 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4690 (custom-theme-summary): New function.
4691 (customize-themes): Use it.
4692
d647b7c4
GM
46932011-06-13 Glenn Morris <rgm@gnu.org>
4694
4695 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4696
9481c002
MR
46972011-06-13 Martin Rudalics <rudalics@gmx.at>
4698
357f93d2
MR
4699 * help.el (help-window): Remove variable.
4700 (help-window-point-marker, temp-buffer-max-height)
4701 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4702 (help-print-return-message): Don't set help-window.
4703 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4704 (help-window-setup-finish): Remove.
4705 (help-window-display-message, help-window-setup)
4706 (with-help-window): Major rewrite based on new
4707 display-buffer-window variable.
4708
4709 * help-mode.el (help-mode-finish): Remove help-window related
4710 code.
4711
4712 * view.el (view-exits-all-viewing-windows): Remove reference to
4713 view-return-to-alist in doc-string.
4714 (view-return-to-alist): Make obsolete.
4715 (view-buffer): Call pop-to-buffer-same-window and remove
4716 undo-window code.
4717 (view-buffer-other-window): Call pop-to-buffer-other-window and
4718 simplify code. Ignore second argument.
4719 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4720 simplify code. Ignore second argument.
4721 (view-return-to-alist-update): Make obsolete.
4722 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4723 Rewrite using quit-restore window parameters.
2b75be67
SM
4724 (view-mode-exit): Rename second argument to EXIT-ONLY.
4725 Rewrite using quit-restore-window.
357f93d2
MR
4726 (View-exit, View-exit-and-edit, View-leave, View-quit)
4727 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4728 appropriate arguments.
4729 (view-end-message): Use quit-restore window parameter.
4730
9481c002
MR
4731 * window.el (display-buffer-function): Rewrite doc-string.
4732 (display-buffer-window, display-buffer-alist): New variables.
4733 (display-buffer-split-specifiers)
4734 (display-buffer-side-specifiers)
4735 (display-buffer-macro-specifiers): New constants.
4736 (display-buffer-even-window-sizes, display-buffer-set-height)
4737 (display-buffer-set-width, display-buffer-select-window)
4738 (display-buffer-in-window, display-buffer-reuse-window)
4739 (display-buffer-split-window-1, display-buffer-split-window)
4740 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4741 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4742 (display-buffer-in-side-window, normalize-buffer-to-display)
4743 (display-buffer-normalize-specifiers-1)
4744 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4745 (display-buffer-normalize-specifiers, display-buffer-frame):
4746 New functions.
9481c002
MR
4747 (display-buffer): Major rewrite.
4748 (display-buffer-other-window, display-buffer-other-frame)
4749 (pop-to-buffer, switch-to-buffer-other-window)
4750 (switch-to-buffer-other-frame): Rewrite.
4751 (display-buffer-same-window, display-buffer-same-frame)
4752 (display-buffer-same-frame-other-window)
4753 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4754 (pop-to-buffer-other-window)
4755 (pop-to-buffer-same-frame-other-window)
4756 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4757 (switch-to-buffer-other-window-same-frame): New functions.
4758 (same-window-p, special-display-p): Rewrite disabling warnings.
4759 Make obsolete.
4760 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4761 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4762 Make obsolete
4763 (same-window-buffer-names, same-window-regexps)
4764 (special-display-frame-alist, special-display-popup-frame)
4765 (special-display-function, special-display-buffer-names)
4766 (special-display-regexps, pop-up-frame-alist)
4767 (pop-up-frame-function, split-window-preferred-function)
4768 (split-height-threshold, split-width-threshold)
4769 (even-window-heights): Make obsolete.
4770
9db51aca
GM
47712011-06-12 Glenn Morris <rgm@gnu.org>
4772
4773 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4774 Misc simplifications.
9db51aca 4775
39cffb44
MR
47762011-06-12 Martin Rudalics <rudalics@gmx.at>
4777
4778 * window.el (window-safely-shrinkable-p): Restore function which
4779 was inadvertently removed in change from 2011-06-11. Declare as
4780 obsolete.
4781
2b75be67
SM
4782 * calendar/calendar.el (calendar-generate-window):
4783 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4784 window-safely-shrinkable-p.
4785
a8955be7
GM
47862011-06-12 Glenn Morris <rgm@gnu.org>
4787
4788 * progmodes/fortran.el (fortran-mode-syntax-table):
4789 * progmodes/f90.el (f90-mode-syntax-table):
4790 Set % to punctuation. (Bug#8820)
4791 (f90-find-tag-default): Remove, no longer needed.
4792
f0d4059d
DC
47932011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4794
4795 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4796
1100a63c
CY
47972011-06-11 Chong Yidong <cyd@stupidchicken.com>
4798
4799 * image.el (image-animated-p): Return animation delay in seconds.
4800 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4801 (image-animate-timeout): Remove DELAY argument. Don't assume
4802 every subimage has the same delay; get it from image-animated-p.
4803 (image-animate): Caller changed.
4804
def722bf
MA
48052011-06-11 Michael Albinus <michael.albinus@gmx.de>
4806
4807 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4808 to ignored backtrace functions.
4809
0a2bb1a9
GM
48102011-06-11 Glenn Morris <rgm@gnu.org>
4811
4812 * calendar/appt.el (appt-disp-window-function): Doc fix.
4813 (appt-check): Handle overlapping appointments. (Bug#8337)
4814
6198ccd0
MR
48152011-06-11 Martin Rudalics <rudalics@gmx.at>
4816
4817 * window.el (window-tree-1, window-tree): New functions, moving
4818 the latter to window.el.
4819 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4820 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4821 (bw-refresh-edges): Remove.
4822 (balance-windows-1, balance-windows-2): New functions.
4823 (balance-windows): Rewrite in terms of window tree functions,
4824 balance-windows-1 and balance-windows-2.
4825 (bw-adjust-window): Remove.
4826 (balance-windows-area-adjust): New function with functionality of
4827 bw-adjust-window but using resize-window.
2b75be67
SM
4828 (set-window-text-height): Rewrite doc-string.
4829 Use normalize-live-window and resize-window.
4830 (enlarge-window-horizontally, shrink-window-horizontally):
4831 Rename argument to DELTA.
6198ccd0
MR
4832 (window-buffer-height): New function.
4833 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4834 Rewrite using new window resize routines.
2b75be67
SM
4835 (kill-buffer-and-window, mouse-autoselect-window-select):
4836 Use ignore-errors instead of condition-case.
6198ccd0
MR
4837 (quit-window): Call delete-frame instead of delete-windows-on
4838 for the only buffer on frame.
4839
9397e56f
MR
48402011-06-10 Martin Rudalics <rudalics@gmx.at>
4841
4842 * loadup.el (top-level): Load window before files for the sake
4843 of replace-buffer-in-windows.
4844
4845 * files.el (read-buffer-to-switch)
4846 (switch-to-buffer-other-window)
2b75be67
SM
4847 (switch-to-buffer-other-frame, display-buffer-other-frame):
4848 Move to window.el.
9397e56f
MR
4849
4850 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4851 (previous-buffer): Move to window.el.
4852
4853 * bindings.el (unbury-buffer): Move to window.el.
4854
4855 * window.el (delete-other-windows-vertically): Move after
4856 definition of delete-other-windows.
4857 (other-window, delete-windows-on, replace-buffer-in-windows):
4858 Move here from window.c.
4859 (record-window-buffer, unrecord-window-buffer)
4860 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4861 (switch-to-next-buffer): New functions.
4862 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4863 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4864 (previous-buffer): Move here from simple.el.
4865 Call switch-to-prev-buffer.
9397e56f
MR
4866 (bury-buffer): Move here from buffer.c. Switch to previous
4867 buffer when window cannot be deleted.
4868 (unbury-buffer): Move here from bindings.el.
4869 (ctl-x-map): Move binding for other-window from window.c to
4870 here.
4871 (read-buffer-to-switch, switch-to-buffer-other-window)
4872 (switch-to-buffer-other-frame): Move here from files.el.
4873 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4874 (switch-to-buffer): Move here from buffer.c.
4875 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4876
562dd5e9
MR
48772011-06-10 Martin Rudalics <rudalics@gmx.at>
4878
4879 * window.el (window-min-height, window-min-width): Move here
4880 from window.c. Add defcustoms and rewrite doc-strings.
4881 (resize-mini-window, resize-window): New functions.
4882 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4883 Move here from window.c.
4884 (maximize-window, minimize-window): New functions.
4885 (delete-window, delete-other-windows, split-window): Move here
4886 from window.c.
4887 (window-split-min-size): New function.
4888 (split-window-keep-point): Mention split-window-above-each-other
4889 instead of split-window-vertically.
2b75be67
SM
4890 (split-window-above-each-other, split-window-vertically):
4891 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4892 provide defalias for old definition.
4893 (split-window-side-by-side, split-window-horizontally): Rename
4894 split-window-horizontally to split-window-side-by-side and provide
4895 defalias for the old definition.
4896 (ctl-x-map): Move bindings for delete-window,
4897 delete-other-windows and enlarge-window here from window.c.
4898 Replace bindings for split-window-vertically and
4899 split-window-horizontally by bindings for
4900 split-window-above-each-other and split-window-side-by-side.
4901
4902 * cus-start.el (all): Remove entries for window-min-height and
4903 window-min-width. Add entries for window-splits and
4904 window-nest.
4905
f0da764a
GM
49062011-06-09 Glenn Morris <rgm@gnu.org>
4907
80675c21
GM
4908 * calendar/appt.el (appt-mode-line): New function.
4909 (appt-check, appt-disp-window): Use it.
4910
f0da764a
GM
4911 * files.el (hack-one-local-variable-eval-safep):
4912 Allow minor-modes with explicit +/-1 arguments.
4913
59f623b7
TZ
49142011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4915
4916 * term/xterm.el (xterm): Add defgroup.
4917 (xterm-extra-capabilities): Add defcustom to supply known xterm
4918 capabilities, skip querying them, or query them (default).
4919 (terminal-init-xterm): Use it.
4920 (terminal-init-xterm-modify-other-keys): New function to set up
4921 modifyOtherKeys support to simplify `terminal-init-xterm'.
4922
9aab8e0d
MR
49232011-06-09 Martin Rudalics <rudalics@gmx.at>
4924
4925 * window.el (resize-window-reset, resize-window-reset-1)
4926 (resize-subwindows-skip-p, resize-subwindows-normal)
4927 (resize-subwindows, resize-other-windows, resize-this-window)
4928 (resize-root-window, resize-root-window-vertically)
4929 (window-deletable-p, window-or-subwindow-p)
4930 (frame-root-window-p): New functions.
4931
e8b08aee
GM
49322011-06-09 Glenn Morris <rgm@gnu.org>
4933
4934 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4935 (ange-ftp-get-files): Use it.
4936
254c37a5
AK
49372011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4938
4939 * mail/sendmail.el (mail-recover-1, mail-recover):
4940 * files.el (recover-file, recover-session):
4941 Handle dired-listing-switches not being just a single short option.
4942
35d7dbd3
GM
49432011-06-09 Glenn Morris <rgm@gnu.org>
4944
4945 * calendar/appt.el (appt-display-message, appt-disp-window):
4946 Handle lists of appointments.
4947
387522b2
MR
49482011-06-08 Martin Rudalics <rudalics@gmx.at>
4949
2b75be67
SM
4950 * window.el (one-window-p): Move down in code.
4951 Rewrite doc-string.
4952 (window-current-scroll-bars): Rewrite doc-string.
4953 Normalize live window argument.
387522b2
MR
4954 (walk-windows, get-window-with-predicate, count-windows):
4955 Rewrite doc-string. Use window-list-1.
4956 (window-in-direction-2, window-in-direction, get-mru-window):
4957 New functions.
4958
d8e4b68b 49592011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4960
4961 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4962 Doc fix (Bug#8713).
4963
49642011-06-08 Chong Yidong <cyd@stupidchicken.com>
4965
4966 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4967
49682011-06-08 Juanma Barranquero <lekktu@gmail.com>
4969
4970 * loadhist.el (unload-feature-special-hooks):
4971 Add `comint-output-filter-functions'.
4972
0de12c52
IK
49732011-06-08 Ivan Kanis <gnu@kanis.fr>
4974
4975 * calendar/appt.el (appt-check): Move some initializations into the let.
4976
f3d1777e
MR
49772011-06-08 Martin Rudalics <rudalics@gmx.at>
4978
4979 * window.el (window-height): Defalias to window-total-height.
4980 (window-width): Defalias to window-body-width.
4981
18af70d0
CY
49822011-06-07 Chong Yidong <cyd@stupidchicken.com>
4983
4984 * image-mode.el (image-toggle-animation): New command.
4985 (image-mode-map): Bind it to RET.
4986 (image-mode): Update message.
4987 (image-toggle-display-image): Avoid a spurious cache flush.
4988 (image-transform-rotation): Doc fix.
4989 (image-transform-properties): Return quickly in the normal case.
4990 (image-animate-loop): Rename from image-animate-max-time.
4991
2b75be67 4992 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4993 (create-animated-image): Remove unnecessary function.
4994 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4995 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4996 (image-animate-timer): Use car-safe.
4997 (image-animate-timeout): Rename argument.
4998
190b47e6
MR
49992011-06-07 Martin Rudalics <rudalics@gmx.at>
5000
5001 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
5002 window.c. Rename first argument to ALL-FRAMES.
5003 Rephrase doc-strings.
5004 (get-buffer-window-list): Rewrite using window-list-1.
5005 Rephrase doc-string.
a1511caf
MR
5006 (window-safe-min-height, window-safe-min-width): New constants.
5007 (window-size-ignore, window-min-size, window-min-size-1)
5008 (window-sizable, window-sizable-p, window-size-fixed-1)
5009 (window-size-fixed-p, window-min-delta-1, window-min-delta)
5010 (window-max-delta-1, window-max-delta, window-resizable)
5011 (window-resizable-p, window-total-height, window-total-width)
5012 (window-body-width): New functions.
5013 (window-full-height-p, window-full-width-p): Rewrite using
5014 window-total-size.
5015 (window-body-height): Rewrite using window-body-size.
190b47e6 5016
85cc1f11
MR
50172011-06-06 Martin Rudalics <rudalics@gmx.at>
5018
5019 * window.el (window-right, window-left, window-child)
5020 (window-child-count, window-last-child, window-any-p)
5021 (normalize-live-buffer, normalize-live-frame)
5022 (normalize-any-window, normalize-live-window)
5023 (window-iso-combination-p, window-iso-combined-p)
5024 (window-iso-combinations)
5025 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
5026 (windows-with-parameter, window-with-parameter)
5027 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
5028 (window-atom-check, window-side-check, window-check):
5029 New functions.
85cc1f11
MR
5030 (ignore-window-parameters, window-sides, window-sides-vertical)
5031 (window-sides-slots): New variables.
5032 (window-size-fixed): Move down in code. Minor doc-string fix.
5033
e7156492
AS
50342011-06-05 Andreas Schwab <schwab@linux-m68k.org>
5035
5036 * comint.el (comint-dynamic-complete-as-filename)
5037 (comint-dynamic-complete-filename): Correctly call
5038 completion-in-region.
5039
7e821d0d
DD
50402011-06-05 Deniz Dogan <deniz@dogan.se>
5041
5042 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
5043 in last change.
5044
ac09b8a1
DD
50452011-06-05 Deniz Dogan <deniz@dogan.se>
5046
5047 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
5048 (rcirc): Use it to prompt for encryption.
5049
34699b85
RW
50502011-06-05 Roland Winkler <winkler@gnu.org>
5051
5052 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5053 (bibtex-search-entries): New command bound to C-c C-a.
5054 (bibtex-display-entries): New function.
5055
004dedd3
RW
50562011-06-05 Roland Winkler <winkler@gnu.org>
5057
5058 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5059 (bibtex-insert-kill): After yanking insert newline if necessary.
5060 (bibtex-initialize): Call bibtex-string-files-init only once.
5061 (bibtex-mode): Do not call easy-menu-add.
5062 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5063 (bibtex-yank): Set arg properly if nil.
5064
022fe7ce
RW
50652011-06-05 Roland Winkler <winkler@gnu.org>
5066
2b75be67
SM
5067 * textmodes/bibtex.el (bibtex-search-entry-globally):
5068 New variable.
022fe7ce
RW
5069 (bibtex-search-entry): Use it.
5070
b7c3692a
RW
50712011-06-05 Roland Winkler <winkler@gnu.org>
5072
5073 * textmodes/bibtex.el (bibtex-entry-format): New option
5074 sort-fields.
5075 (bibtex-format-entry, bibtex-reformat): Honor this option.
5076 (bibtex-parse-entry): Return fields in proper order.
5077
8eda563d
JB
50782011-06-05 Juanma Barranquero <lekktu@gmail.com>
5079
5080 * doc-view.el (doc-view-remove-if): Move computation of result out
5081 of `dolist' to silence misleading lexical-binding warning.
5082
7dbe3dbc
CY
50832011-06-04 Chong Yidong <cyd@stupidchicken.com>
5084
5085 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5086 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5087
0c33dd17
MA
50882011-06-04 Michael Albinus <michael.albinus@gmx.de>
5089
5090 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5091 "SunOS 5.10".
5092
f8f91c2b
MA
50932011-06-04 Michael Albinus <michael.albinus@gmx.de>
5094
5095 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5096 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5097 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5098 (tramp-parse-putty):
5099 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5100 (tramp-completion-function-alist-ssh)
5101 (tramp-completion-function-alist-telnet)
5102 (tramp-completion-function-alist-su)
5103 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5104 cookie.
5105
5106 * net/tramp-ftp.el:
5107 * net/tramp-sh.el:
5108 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5109 load "tramp.el" `tramp-set-completion-function'.
5110
e17d9003
SM
51112011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5112
5113 * shell.el: Require and use pcomplete.
5114 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5115 (shell-completion-vars): Set pcomplete-default-completion-function.
5116
6c4cab03
DD
51172011-06-04 Deniz Dogan <deniz@dogan.se>
5118
5119 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5120 `memq' (Bug#8799).
5121
ea9fafe0
SM
51222011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5123
5124 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5125
b3e945d3
JB
51262011-06-02 Juanma Barranquero <lekktu@gmail.com>
5127
5128 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5129 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5130 * vc/log-view.el (log-view-beginning-of-defun):
5131 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5132 (smerge-refine-forward, smerge-refine-chopup-region):
5133 Silence warning for unused `dotimes' counter variables.
5134
7d520089
SM
51352011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5136
5137 * net/tramp.el (tramp-with-progress-reporter): Rename from
5138 with-progress-reporter. Use `declare'.
5139 * net/tramp-smb.el:
5140 * net/tramp-sh.el:
5141 * net/tramp-gvfs.el: Update all uses.
5142
a1c2400f
JB
51432011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5144
5145 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5146 buffer isn't killed before making it current.
5147
2403c841
SM
51482011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5149
5150 Silence various byte-compiler warnings.
5151 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5152 `access-type' and new obsolescence format.
5153 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5154 new format.
5155 (byte-compile-check-variable): New `access-type' argument.
5156 Only warn if the access-type is obsolete.
5157 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5158 (byte-compile-variable-set): Adjust callers.
5159 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5160 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5161 setting it as obsolete.
5162 * simple.el (minibuffer-completing-symbol):
5163 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5164 access as obsolete.
5165 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5166 obsolete yet.
5167 * international/quail.el (quail-mouse-choose-completion): Remove unused
5168 code referring to obsolete var.
5169 (quail-choose-completion-string): Remove.
5170 * server.el (server-clients-with, server-kill-buffer-query-function)
5171 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5172 * proced.el (proced-send-signal):
5173 * emacs-lisp/lisp.el (lisp-complete-symbol):
5174 Replace completion-annotate-function with completion-extra-properties.
5175
2462470b
SM
51762011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5177
fb5b2591
SM
5178 * simple.el (goto-line): Use read-number.
5179 (overriding-map-is-bound): Remove.
5180 (saved-overriding-map): Change default.
5181 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5182 Take the map as argument.
5183 (universal-argument, negative-argument, digit-argument): Use it.
5184 (restore-overriding-map): Adjust.
5185 (do-auto-fill): Use fill-forward-paragraph.
5186 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5187
fd6fa53f
SM
5188 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5189 (minibuffer-inactive-mode): New major mode.
5190 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5191 the *Messages* buffer" hack.
5192 (mouse-popup-menubar): Don't burp if the event is a normal key.
5193
2462470b
SM
5194 Miscellaneous tweaks.
5195 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5196 lexical scoping as in subr.el's dolist and dotimes.
5197 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5198 Silence compiler warning.
5199 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5200 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5201 * international/ccl.el (ccl-compile): Trivial simplification.
5202 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5203 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5204 `printflag' argument.
5205 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5206 Purecopy the whole obsolescence data.
5207
108bf785
LL
52082011-06-01 Leo Liu <sdl.web@gmail.com>
5209
5210 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5211 improve doc-string as suggested by Marco Pessotto
5212 <melmothx@gmail.com>.
5213 (rcirc-print): Fix last change.
5214
30a23501
SM
52152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * minibuffer.el (complete-with-action): Return nil for the metadata and
5218 boundaries of non-functional tables.
5219 (completion-table-dynamic): Return nil for the metadata.
5220 (completion-table-with-terminator): Add default case, using
5221 complete-with-action.
5222 (completion--metadata): New function.
5223 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5224 to try and avoid pathological performance problems.
5225 (completion--embedded-envvar-table): Return `category' metadata.
5226
bcd54f83
LMI
52272011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5228
5229 * subr.el (process-alive-p): New tiny convenience function.
5230
e227544d
SM
52312011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5232
5233 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5234 content but also its previous major mode.
5235
e8296fdc
HE
52362011-05-31 Helmut Eller <eller.helmut@gmail.com>
5237
4d61f28d 5238 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5239 *Backtrace* buffer when we exit with C-M-c.
5240
620c53a6
SM
52412011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5242
5243 * minibuffer.el: Add metadata method to completion tables.
5244 (completion-category-overrides): New defcustom.
5245 (completion-metadata, completion--field-metadata)
5246 (completion-metadata-get, completion--styles)
5247 (completion--cycle-threshold): New functions.
5248 (completion-try-completion, completion-all-completions):
5249 Add `metadata' argument to choose completion-styles.
5250 (completion--do-completion): Use metadata to choose cycling.
5251 (completion-all-sorted-completions): Use metadata for sorting.
5252 Remove :completion-cycle-penalty which is not needed any more.
5253 (completion--try-word-completion): Add `metadata' argument.
5254 (minibuffer-completion-help): Check metadata for annotation function
5255 and sorting.
5256 (completion-file-name-table): Return `category' metadata.
5257 (minibuffer-completing-file-name): Make obsolete.
5258 * simple.el (minibuffer-completing-symbol): Make obsolete.
5259 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5260 completion-try-completion.
5261
1257e755
SM
52622011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5263
5264 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5265
3767e706
LL
52662011-05-30 Leo Liu <sdl.web@gmail.com>
5267
5268 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5269 (rcirc-print): Decode all incoming messages (bug#8744).
5270 (rcirc-decode-coding-system): Allow value nil for automatic coding
5271 system detection.
3767e706 5272
d1a5d56a
GM
52732011-06-01 Glenn Morris <rgm@gnu.org>
5274
5275 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5276
e8cbec34
CY
52772011-05-29 Chong Yidong <cyd@stupidchicken.com>
5278
5279 * image.el (image-animate-max-time): Allow nil and t values.
5280 Default to nil.
5281 (create-animated-image): Doc fix.
5282 (image-animate-start): Remove second arg; just use
5283 image-animate-max-time.
5284 (image-animate-timeout): Doc fix. Args changed.
5285
5286 * image-mode.el (image-toggle-display-image): Ensure that the
5287 image spec passed to the animate timer is the same object as in
5288 the the buffer's display property (Bug#6981).
5289 (image-transform-properties): Doc fix.
5290
5291 * image.el (image-animate-max-time): Default to nil.
5292
159daf87
MR
52932011-05-29 Martin Rudalics <rudalics@gmx.at>
5294
5295 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5296 entire buffer list (Bug#8184).
5297
d66c4c7c
CY
52982011-05-29 Chong Yidong <cyd@stupidchicken.com>
5299
5300 * image.el (imagemagick-types-inhibit)
5301 (imagemagick-register-types): Doc fix.
5302
80aec780
DD
53032011-05-29 Deniz Dogan <deniz@dogan.se>
5304
5305 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5306 default.
5307
1dd3c2d9
CY
53082011-05-29 Chong Yidong <cyd@stupidchicken.com>
5309
5310 * select.el: Don't perform clipboard-manager saving in hooks;
5311 leave the hooks empty.
5312
60e56523
LL
53132011-05-28 Leo Liu <sdl.web@gmail.com>
5314
5315 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5316 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5317 (occur-edit-mode): New major mode (Bug#8463).
5318 (occur-after-change-function): New function.
5319 (occur-engine): Give Occur tags a read-only property.
5320
2b1e1a22
KR
53212011-05-28 Kevin Ryde <user42@zip.com.au>
5322
5323 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5324
5d344e88
CY
53252011-05-28 Chong Yidong <cyd@stupidchicken.com>
5326
8e6ca83d
CY
5327 * bindings.el (help-echo): Make the initial non-indicator dash
5328 empty on graphical terminals (Bug#7295).
5329
5d344e88
CY
5330 * files.el (auto-mode-alist): Move config rule after the
5331 in-stripping one (Bug#8547).
5332
bfbbace7
CY
5333 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5334
fbeba6e2
CY
5335 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5336 setting (Bug#8740).
5337
60ed8c72
AA
53382011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5339
4ac619f0
AA
5340 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5341 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5342 (Bug#8539).
60ed8c72 5343
23db196e
CY
53442011-05-28 Chong Yidong <cyd@stupidchicken.com>
5345
5346 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5347
5012f24c
DK
53482011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5349
5350 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5351 (hs-hide-block-at-point, hs-find-block-beginning)
5352 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5353 (Bug#8279).
5354
6a639b16
GM
53552011-05-28 Glenn Morris <rgm@gnu.org>
5356
5357 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5358
d43eaf2c
CY
53592011-05-28 Chong Yidong <cyd@stupidchicken.com>
5360
5199bde1
CY
5361 * help-fns.el (describe-function-1): If the function is a derived
5362 major mode, print the parent mode.
5363
d43eaf2c
CY
5364 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5365 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5366
423428a8
SM
53672011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5368
0ff8e1ba
SM
5369 * minibuffer.el (completion--capf-wrapper): Check applicability before
5370 retuning non-nil for non-exclusive completion data.
5371 * progmodes/etags.el (tags-completion-at-point-function):
5372 * info-look.el (info-lookup-completions-at-point): Mark as
5373 non-exclusive.
5374 (info-complete): Adjust accordingly.
5375
423428a8
SM
5376 * info-look.el: Convert to lexical-binding and completion-at-point.
5377 (info-lookup-completions-at-point): New function.
5378 (info-complete): Use it and completion-in-region.
5379
b74aa22b
DA
53802011-05-28 Drew Adams <drew.adams@oracle.com>
5381
5382 * isearch.el: Let M-e start with point at the first mismatched char.
5383 (isearch-fail-pos): New function.
5384 (isearch-edit-string): Use it.
5385
66e2e71d
DK
53862011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5387
5388 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5389
eb95d01d
TC
53902009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5391
5392 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5393 traversal functions for avl-trees.
5394 (avl-tree--stack): New struct.
5395 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5396 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5397 (avl-tree--do-enter): Add optional `updatefun' arg.
5398 Change return value.
eb95d01d 5399 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5400 (avl-tree--do-delete): Add `test' and `nilflag' args.
5401 Change return value.
eb95d01d
TC
5402 (avl-tree-member): Add optional `nilflag'
5403 (avl-tree-member-p): New function.
5404 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5405 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5406 (avl-tree-stack-empty-p): New functions.
5407
3769ddcf
TC
54082009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5409
5410 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5411 avl-tree--del-balance1 and make it work both ways.
5412 (avl-tree--del-balance2): Remove.
5413 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5414 make it work both ways.
5415 (avl-tree--enter-balance2): Remove.
5416 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5417 New macros.
5418 (avl-tree--mapc, avl-tree-map): Add direction argument.
5419
eb95d01d 54202011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5421
5422 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5423
a9f737ee
CY
54242011-05-27 Chong Yidong <cyd@stupidchicken.com>
5425
5426 * select.el: Support clipboard managers with built-in function
5427 x-clipboard-manager-save, via delete-frame-functions and
5428 kill-emacs-hook.
5429 (xselect-convert-to-targets): Add MULTIPLE target to list.
5430 (xselect-convert-to-save-targets): New function.
5431
c92a1e54
KH
54322011-05-27 Kenichi Handa <handa@m17n.org>
5433
5434 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5435 let-binding rfc2047-encode-encoded-words to nil.
5436
e145f188
GM
54372011-05-27 Glenn Morris <rgm@gnu.org>
5438
5ec8a862
GM
5439 * mail/emacsbug.el: Don't require url-util.
5440
4b29d9fb
GM
5441 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5442
e145f188
GM
5443 * files.el (set-auto-mode):
5444 Also respect mode: entries at the end of the file. (Bug#8586)
5445
7d15102b
GM
54462011-05-26 Glenn Morris <rgm@gnu.org>
5447
98f593b8
GM
5448 * files.el (hack-local-variables-prop-line, hack-local-variables):
5449 Downcase mode names, as seems to be traditional.
27b48e63 5450 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5451
7d15102b
GM
5452 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5453 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5454
51d5b4ec
JD
54552011-05-25 Julien Danjou <julien@danjou.info>
5456
5457 * textmodes/rst.el (rst-define-level-faces): Do not define face
5458 symbol if it is already defined.
5459
91513f63
VB
54602011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5461
5462 * play/5x5.el (5x5-new-game, 5x5-randomize):
5463 Reset 5x5-solver-output to nil when a new grid is cast.
5464 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5465 these debugging traces, as defmacro breaks the compiled code.
5466
4d90d6d0
DK
54672011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5468
5469 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5470
e1b90ef6
LL
54712011-05-24 Leo Liu <sdl.web@gmail.com>
5472
5473 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5474 (vc-bzr-sha1): Adapt.
5475
d8e4b68b 5476 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5477
5478 * bindings.el: Provide sha1 feature.
5479
db0406bb 54802011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5481
5482 * mail/sendmail.el: Require `rfc2047'.
5483 (mail-insert-from-field): Do not perform RFC2047 encoding.
5484 (mail-encode-header): New function.
5485 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5486 buffer to the return value of select-message-coding-system.
5487 Call mail-encode-header.
b8d747b9
KH
5488
5489 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5490
db0406bb 54912011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5492
4d90d6d0
DK
5493 * mail/supercite.el (sc-default-cite-frame):
5494 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5495
eb8a5e9b
GM
54962011-05-24 Glenn Morris <rgm@gnu.org>
5497
f8630703
GM
5498 * progmodes/python.el (brm-menu): Declare.
5499
8831bbed
GM
5500 * emulation/viper.el (viper-set-hooks): Declare.
5501
eb8a5e9b
GM
5502 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5503 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5504 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5505 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5506 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5507 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5508
a2a25d24
SM
55092011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5510
5511 Add an :exit-function for completion-at-point.
5512
5513 * minibuffer.el (completion--done): New fun.
5514 (completion--do-completion): Use it. New arg `expect-exact'.
5515 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5516 since completion--do-completion does it for us now.
5517 (minibuffer-force-complete): Use completion--done and
5518 completion--replace. Handle sole-completion case with more care.
5519 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5520 (completion-extra-properties): New var.
5521 (completion-annotate-function): Make obsolete.
5522 (minibuffer-completion-help): Adjust accordingly.
5523 Use completion-list-insert-choice-function.
5524 (completion-at-point, completion-help-at-point):
5525 Bind completion-extra-properties.
5526 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5527 * simple.el (completion-list-insert-choice-function): New var.
5528 (completion-setup-function): Preserve it.
5529 (choose-completion): Pay attention to it, shuffle the code a bit.
5530 (choose-completion-string): New arg `insert-function'.
5531
5532 * textmodes/bibtex.el: Convert to lexical binding.
5533 (bibtex-mode-map): Use completion-at-point.
5534 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5535 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5536 (bibtex-complete): Define as obsolete alias.
5537 (bibtex-complete-internal): Remove.
5538 (bibtex-format-entry): Remove unused sub-group in regexp.
5539 * shell.el (shell--command-completion-data)
5540 (shell-environment-variable-completion):
5541 * pcomplete.el (pcomplete-completions-at-point):
5542 * comint.el (comint--complete-file-name-data): Use :exit-function
5543 instead of completion-table-with-terminator so it also works for
5544 choose-completion.
5545
e44e373d
SM
55462011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5547
4f91a816
SM
5548 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5549
782fc819
SM
5550 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5551 (bug#8710).
5552
e44e373d
SM
5553 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5554
381987c3
KM
55552011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5556
5557 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5558 customization variable and implement: If non-nil, auto-fill will
5559 be inhibited while on topic's header line.
5560
b776bc70
VB
55612011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5562
5563 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5564 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5565 always have a solution in grid size = 5 cases.
5566 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5567 (5x5-solver-output, 5x5-log-buffer): New vars.
5568 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5569 Make these variables buffer local to achieve 5x5 multi-session-ness.
5570 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5571 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5572 (5x5-solve-suggest): New funs.
5573 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5574 randomize a grid so that we ensure that there is always a solution.
5575 (5x5-make-random-grid): Allow other movement than flipping.
5576
7de88b6e
KR
55772011-05-23 Kevin Ryde <user42@zip.com.au>
5578
5579 * emacs-lisp/advice.el (ad-read-advised-function):
5580 Use `function-called-at-point' as the default default, if it has
5581 advice and passes PREDICATE.
5582
b1ef1257
SM
55832011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5584
bbca48fe
SM
5585 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5586 byte-compile-lambda if it's actually a lambda.
5587
b1ef1257
SM
5588 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5589 Fix function quoting. Use backquote better.
5590
92a9cc65
YS
55912011-05-22 Yuanle Song <sylecn@gmail.com>
5592
5593 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5594 matching (Bug#8516).
5595
f0fb8059
JA
55962011-01-22 Jari Aalto <jari.aalto@cante.net>
5597
5598 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5599 different face (Bug#8178).
5600
d5b44c93
CY
56012011-05-22 Chong Yidong <cyd@stupidchicken.com>
5602
5603 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5604 defface (Bug#8144).
5605
79106a44
SM
56062011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5607
9c848d8a
SM
5608 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5609 funcall as well (bug#8712). Warn when performing those conversions.
5610 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5611
79106a44
SM
5612 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5613
88dfa756
GM
56142011-05-22 Glenn Morris <rgm@gnu.org>
5615
5616 * files.el (hack-local-variables-prop-line): Small simplifications.
5617 (hack-local-variables, hack-local-variables-prop-line):
5618 If MODE-ONLY, return the mode, rather than just `t'.
5619
b7cf2c79
SM
56202011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5623
3f1a8558
GM
56242011-05-21 Glenn Morris <rgm@gnu.org>
5625
7e4ccca3
GM
5626 * files.el (hack-local-variables-prop-line, hack-local-variables):
5627 If only interested in the mode, don't bother doing the other stuff.
5628
637d46ca
GM
5629 * image-mode.el (image-after-revert-hook):
5630 Redraw all frames on which the image is visible. (Bug#8567)
5631
973d955b
GM
5632 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5633
3f1a8558
GM
5634 * wid-edit.el (widget-checklist-match-inline):
5635 Fix 2011-04-19 change. (Bug#8649)
5636
96479927
SM
56372011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5638
1dcf791f
SM
5639 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5640 Also allow singlespace after single-letter capitals followed by a dot.
5641
96479927
SM
5642 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5643 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5644
35fd0881
N
56452011-05-20 Nix <nix@esperi.org.uk>
5646
5647 * files.el (basic-save-buffer-2):
5648 Fix handling of break-hardlink-on-save with non-existent files.
5649
82745640
DD
56502011-05-19 Deniz Dogan <deniz@dogan.se>
5651
5652 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5653 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5654
4a720484
GM
56552011-05-19 Glenn Morris <rgm@gnu.org>
5656
d1f21341
GM
5657 * progmodes/f90.el (f90-type-def-re):
5658 Handle "type, bind(c)". (Bug#8691)
5659
4a720484
GM
5660 * emacs-lisp/autoload.el (batch-update-autoloads):
5661 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5662
2fb0a219
MA
56632011-05-18 Michael Albinus <michael.albinus@gmx.de>
5664
5665 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5666 property for the correct connection in case of multihops.
5667
e565dd37
GM
56682011-05-18 Glenn Morris <rgm@gnu.org>
5669
c2571358 5670 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5671 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5672
e565dd37
GM
5673 Rationalize calendar handling of day and month abbrev-arrays.
5674 * calendar/calendar.el (calendar-customized-p): New function.
5675 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5676 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5677 Add :set function.
5678 (calendar-abbrev-length, calendar-day-abbrev-array)
5679 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5680 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5681 Elements may no longer be nil.
5682 (calendar-day-name, calendar-month-name):
5683 Update for changed nature of abbrev arrays.
5684 * calendar/diary-lib.el (diary-name-pattern):
5685 Update for changed nature of abbrev arrays.
5686 (diary-mark-entries-1): Update calendar-make-alist calls.
5687 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5688 * calendar/cal-html.el (cal-html-day-abbrev-array):
5689 Simply inherit from calendar-day-abbrev-array.
5690
1d99a745
SM
56912011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5692
5693 * progmodes/grep.el (grep-mode): Disable default
5694 compilation-directory-matcher setting (bug#8684).
5695
7c1d9aa0
MA
56962011-05-17 Michael Albinus <michael.albinus@gmx.de>
5697
5698 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5699 instead of "head" and "tail". There were problems with SunOS 5.9,
5700 and it performs better.
5701
3952e9d8
GM
57022011-05-17 Glenn Morris <rgm@gnu.org>
5703
2dd12e7f
GM
5704 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5705
e4157b9c
GM
5706 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5707 Replace obsolete function.
5708
8e249bbd
GM
5709 * shell.el (pcomplete-parse-arguments-function): Declare.
5710
3952e9d8
GM
5711 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5712 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5713 (appt-check): Doc fixes.
5714 (appt-disp-window-function, appt-delete-window-function):
5715 Remove needless special case in custom :type.
5716 (appt-display-count): Default to 0, not nil.
5717 (appt-check): Reset appt-display-count to 0, not nil.
5718
c71a0d48 57192011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5720
c71a0d48
GM
5721 * progmodes/python.el (python-font-lock-keywords):
5722 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5723
31d55be9
SM
57242011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5727
3bfacb2f
KR
57282011-05-16 Kevin Ryde <user42@zip.com.au>
5729
5730 * info-look.el (makefile-automake-mode): New setups, looking in
5731 automake manual, then makefile-mode.
5732 (makefile-mode): Remove automake manual, have it just in
5733 makefile-automake-mode since there's various things different or
5734 not relevant to plain make.
5735 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5736 believe a hypothetical automake-mode would go to makefile-mode,
5737 not the other way around.
5738
c8e83751
CY
57392011-05-15 Chong Yidong <cyd@stupidchicken.com>
5740
5e9e35cd
CY
5741 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5742 hunk-end tags (Bug#8672).
5743
c8e83751
CY
5744 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5745 vc-annotate-show-diff-revision-at-line (Bug#8671).
5746
50b23e5a
GM
57472011-05-14 Glenn Morris <rgm@gnu.org>
5748
7210a739
GM
5749 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5750 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5751 (change-log-font-lock-keywords): Also handle multiple author lines
5752 with leading tabs. (Bug#8644)
7210a739 5753
4691905a
GM
5754 * calendar/appt.el (appt-check): Rename some local variables.
5755 Some simplification/reordering.
5756
50b23e5a
GM
5757 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5758 (feedmail-sendmail-f-doesnt-sell-me-out)
5759 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5760 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5761 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5762 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5763 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5764 (feedmail-binmail-gnulinuxish-template):
5765 Rename from feedmail-binmail-linuxish-template.
5766 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5767 Use insert-buffer-substring.
5768
215cda7c
BC
57692011-05-14 Bill Carpenter <bill@carpenter.org>
5770
5771 * mail/feedmail.el (feedmail-patch-level): Increase.
5772 (feedmail-debug): New custom group.
5773 (feedmail-confirm-outgoing-timeout)
5774 (feedmail-sendmail-f-doesnt-sell-me-out)
5775 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5776 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5777 (feedmail-sender-line, feedmail-from-line)
5778 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5779 (feedmail-spray-this-address)
215cda7c
BC
5780 (feedmail-spray-address-fiddle-plex-list)
5781 (feedmail-queue-use-send-time-for-date)
5782 (feedmail-queue-use-send-time-for-message-id)
5783 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5784 (feedmail-buffer-eating-function):
5785 Doc fixes.
5786 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5787 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5788 (feedmail-message-action-scroll-down): New functions.
5789 (feedmail-queue-directory, feedmail-queue-draft-directory):
5790 Use expand-file-name.
5791 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5792 Remove C-v help entry.
5793 (feedmail-queue-buffer-file-name): New variable.
5794 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5795 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5796 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5797 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5798 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5799 (feedmail-message-action-toggle-spray)
5800 (feedmail-run-the-queue-no-prompts)
5801 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5802 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5803 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5804 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5805 (feedmail-envelope-deducer, feedmail-fiddle-from)
5806 (feedmail-fiddle-sender, feedmail-default-date-generator)
5807 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5808 (feedmail-fiddle-spray-address)
5809 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5810 (feedmail-fiddle-list-of-fiddle-plexes)
5811 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5812 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5813 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5814 Change default. Doc fix.
5815 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5816 (feedmail-binmail-linuxish-template): New constant.
5817 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5818 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5819 (feedmail-send-it): Add debug call.
5820 Use feedmail-queue-buffer-file-name, and
5821 feedmail-send-it-immediately-wrapper.
5822 (feedmail-message-action-send): Add debug call.
5823 Use feedmail-send-it-immediately-wrapper.
5824 (feedmail-queue-express-to-queue): Add debug call.
5825 Run feedmail-queue-express-hook.
5826 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5827 (feedmail-message-action-help-blat):
5828 Rename from feedmail-queue-send-edit-prompt-help-first.
5829 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5830 Check line-endings. Handle errors better.
5831 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5832 Doc fix. Add debug call.
5833 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5834 Use feedmail-queue-send-edit-prompt-inner.
5835 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5836 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5837 from feedmail-queue-send-edit-prompt.
5838 (feedmail-queue-send-edit-prompt-help)
5839 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5840 (feedmail-tidy-up-slug): Add debug call.
5841 Respect feedmail-queue-slug-suspect-regexp.
5842 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5843 (feedmail-dump-message-to-queue): Add debug call.
5844 Expand queue-directory.
5845 (feedmail-dump-message-to-queue): Change message slightly.
5846 Use feedmail-say-chatter.
5847 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5848 (feedmail-send-it-immediately-wrapper): New function.
5849 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5850 Insert empty string rather than newline. Handle full-frame case.
5851 Use catch/throw. Use feedmail-say-chatter.
5852 (feedmail-fiddle-from): Try mail-host-address.
5853 (feedmail-default-message-id-generator): Doc fix.
5854 Bind system-time-locale. Handle missing end.
5855 (feedmail-fiddle-x-mailer): Add debug call.
5856 Handle feedmail-x-mailer-line being nil.
5857 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5858 Add debug call. Use buffer-substring-no-properties.
5859 (feedmail-say-debug, feedmail-say-chatter): New functions.
5860 (feedmail-find-eoh): Give an explicit error.
5861
42c7e61e
UJ
58622011-05-13 Ulf Jasper <ulf.jasper@web.de>
5863
c2571358 5864 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5865 family from helvetica to sans.
c2571358 5866 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5867 etc/images/newsticker.
5868
c2571358 5869 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5870 family from helvetica to sans.
5871
5872 * net/newst-plainview.el (newsticker-new-item-face)
5873 (newsticker-old-item-face, newsticker-immortal-item-face)
5874 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5875 (newsticker-statistics-face): Change default family from
42c7e61e 5876 helvetica to sans.
c2571358 5877 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5878 etc/images/newsticker.
5879
5880 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5881 (newsticker--process-auto-mark-filter-match): : Tell user about
5882 auto-marking.
5883
8497a297
DV
58842011-05-13 Didier Verna <didier@xemacs.org>
5885
5886 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5887 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5888 TODO entries.
8497a297
DV
5889 (lisp-lambda-list-keyword-parameter-indentation)
5890 (lisp-lambda-list-keyword-parameter-alignment)
5891 (lisp-lambda-list-keyword-alignment): New customizable user options.
5892 (lisp-indent-defun-method): Improve docstring.
5893 (extended-loop-p): Fix comment.
5894 (lisp-indent-lambda-list-keywords-regexp): New variable.
5895 (lisp-indent-lambda-list): New function.
5896 (lisp-indent-259): Use it.
5897 (lisp-indent-defmethod): Support for more than one
5898 method qualifier and properly indent methods lambda-lists.
5899 (defgeneric): Provide a missing common-lisp-indent-function property.
5900
f278f87f
SM
59012011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5902
5903 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5904 bounds for the empty string (bug#8667).
5905
5233edd7
GM
59062011-05-13 Glenn Morris <rgm@gnu.org>
5907
5237a44f
GM
5908 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5909
8340026c 5910 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5911 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5912
5233edd7 5913 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5914 (appt-time-msg-list): Doc fix.
a5464014 5915 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5916
92d10796
AS
59172011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5918
5919 * progmodes/ld-script.el (ld-script-keywords)
5920 (ld-script-builtins): Update keywords list.
5921
914a0ae1
SM
59222011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5923
c89be45f
SM
5924 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5925
914a0ae1
SM
5926 * shell.el (shell-completion-vars): New function.
5927 (shell-mode):
5928 * simple.el (read-shell-command): Use it.
5929 (blink-matching-open): No need for " [...]" in minibuffer-message.
5930
98dc3df3
GM
59312011-05-12 Glenn Morris <rgm@gnu.org>
5932
5933 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5934 (appt-check): Simplify.
5935
d2fc7e3d 59362011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5937
4d61f28d 5938 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5939 literal "/dev/null".
5940
d2fc7e3d 59412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5942
5943 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5944 Fix typo.
5945
d2fc7e3d 59462011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5947
3f254caa
SM
5948 * progmodes/which-func.el (which-function):
5949 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5950 which might not be defined (Bug#8260).
5951
d45885f7
GM
59522011-05-12 Glenn Morris <rgm@gnu.org>
5953
5954 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5955 Let byte-compile-initial-macro-environment always take precedence.
5956
488086f4
SM
59572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5958
5959 * net/rcirc.el: Add support for SSL/TLS connections.
5960 (rcirc-server-alist): New field `encryption'.
5961 (rcirc): Check `encryption' settings.
5962 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5963 Merge make-local-variable into `set'.
5964 (rcirc--connection-open-p): New function.
5965 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5966 the process is not a network process (e.g. running gnutls-cli).
5967 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5968 Make rcirc-(en|de)code-coding-system local here.
5969 (rcirc-mode): Merge make-local-variable into `set'.
5970 (rcirc-parent-buffer): Make permanent buffer-local.
5971 (rcirc-multiline-minor-mode): Don't do it here.
5972 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5973 there's no server buffer.
5974
7d3b9d44
GM
59752011-05-11 Glenn Morris <rgm@gnu.org>
5976
f64049c6
GM
5977 * newcomment.el (comment-kill): Prefix "unused" local.
5978
93c9df73
GM
5979 * term/w32console.el (get-screen-color): Declare.
5980
7d3b9d44
GM
5981 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5982 Handle symbol elements of byte-compile-initial-macro-environment.
5983
9e2dd53f
LL
59842011-05-10 Leo Liu <sdl.web@gmail.com>
5985
488086f4
SM
5986 * bookmark.el (bookmark-bmenu-mode-map):
5987 Bind bookmark-bmenu-search to `/'.
8b340240 5988
9e2dd53f 5989 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5990 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5991 (Footnote-unicode): New function.
5992 (footnote-style-alist): Add unicode style to the list.
5993 (footnote-style): Doc fix.
9e2dd53f 5994
79b70037
GM
59952011-05-10 Jim Meyering <meyering@redhat.com>
5996
5997 Fix doubled-word typos.
5998 * international/quail.el (quail-insert-kbd-layout): and and -> and
5999 * kermit.el: and and -> and
6000 * net/ldap.el (ldap-search-internal): to to -> to
6001 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
6002 * progmodes/js.el (js-mode): and and -> and
6003 * textmodes/artist.el (artist-move-to-xy): at at -> at
6004 (artist-draw-region-trim-line-endings): if if -> if
6005 And Safetyc -> Safety.
6006 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
6007
b8f82dc1 60082011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 6009 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
6010
6011 * files.el (hack-one-local-variable-eval-safep):
6012 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
6013
4f99f44b
GM
60142011-05-10 Glenn Morris <rgm@gnu.org>
6015
6016 * calendar/diary-lib.el (diary-list-entries-hook)
6017 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
6018 (diary-nongregorian-marking-hook, diary-list-entries)
6019 (diary-include-other-diary-files, diary-mark-entries)
6020 (diary-mark-included-diary-files): Doc fixes.
6021
84f29e6b
JB
60222011-05-09 Juanma Barranquero <lekktu@gmail.com>
6023
6024 * misc.el: Require tabulated-list.el during compilation.
6025
9bedd73a
CY
60262011-05-09 Chong Yidong <cyd@stupidchicken.com>
6027
488086f4
SM
6028 * progmodes/compile.el (compilation-start):
6029 Run compilation-filter-hook for the async case too.
9bedd73a
CY
6030 (compilation-filter-hook): Doc fix.
6031
797c735c
DD
60322011-05-09 Deniz Dogan <deniz@dogan.se>
6033
6034 * wdired.el: Remove outdated installation comment. Fix usage
6035 comment.
6036
5f4b1dfe
JB
60372011-05-09 Juanma Barranquero <lekktu@gmail.com>
6038
6039 * misc.el: Implement new command `list-dynamic-libraries'.
6040 (list-dynamic-libraries--loaded-only-p): New variable.
6041 (list-dynamic-libraries--refresh): New function.
6042 (list-dynamic-libraries): New command.
6043
4c44026c
CY
60442011-05-09 Chong Yidong <cyd@stupidchicken.com>
6045
488086f4
SM
6046 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6047 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
6048 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
6049 higher priority to avoid clobbering by gnu.
6050
027f966d
CY
60512011-05-08 Chong Yidong <cyd@stupidchicken.com>
6052
6053 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6054 if the face has existing theme settings (Bug#8454).
6055
085f5d7d
CY
60562011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6057
488086f4
SM
6058 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6059 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6060
2a86a00c
RS
6061 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6062 special file names `.' and `..' (Bug#8259).
6063
d9c54a06
CY
60642011-05-08 Chong Yidong <cyd@stupidchicken.com>
6065
488086f4
SM
6066 * progmodes/grep.el (grep-mode-font-lock-keywords):
6067 Remove buffer-changing entries.
d9c54a06
CY
6068 (grep-filter): New function.
6069 (grep-mode): Add it to compilation-filter-hook.
6070
6071 * progmodes/compile.el (compilation-filter-hook)
6072 (compilation-filter-start): New defvars.
6073 (compilation-filter): Call compilation-filter-hook prior to
6074 updating the process mark.
6075
c4662635
SM
60762011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6077
6078 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6079
b0512a1d
EZ
60802011-05-07 Eli Zaretskii <eliz@gnu.org>
6081
605c9376
EZ
6082 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6083 mailclient-send-it even if window-system is nil. (Bug#8595)
6084
c4662635
SM
6085 * term/w32console.el (terminal-init-w32console):
6086 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6087 background-mode. (Bug#8597)
6088
d1dc2cc2
SM
60892011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6090
6091 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6092 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6093 New functions.
6094 (defgeneric, eieio--defmethod): Use them.
6095 (eieio-defgeneric): Remove.
6096 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6097
915d1300
GM
60982011-05-07 Glenn Morris <rgm@gnu.org>
6099
a3961c3e
GM
6100 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6101 Use let rather than let*.
6102 (timeclock-find-discrep): Remove unused local.
6103
314347b9
GM
6104 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6105
915d1300
GM
6106 * calendar/appt.el (appt-time-msg-list): Doc fix.
6107
275b59b0
NF
61082011-05-06 Noah Friedman <friedman@splode.com>
6109
6110 * apropos.el (apropos-print-doc): Only use
6111 emacs-lisp-docstring-fill-column when it is bound to an integer,
6112 per that variable's documentation.
6113
6c19f744
SM
61142011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6115
6116 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6117 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6118
60f884b2
GM
61192011-05-06 Glenn Morris <rgm@gnu.org>
6120
5006e634
GM
6121 * calendar/appt.el (appt-message-warning-time): Doc fix.
6122 (appt-warning-time-regexp): New option.
6123 (appt-make-list): Respect appt-message-warning-time.
6124
548d0a63
GM
6125 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6126 New options.
6127 (diary-add-to-list): Strip comments from the displayed string.
6128 (diary-mode): Set comment-start and comment-end.
6129
60f884b2
GM
6130 * vc/diff-mode.el (smerge-refine-subst): Declare.
6131 (diff-refine-hunk): Don't require smerge-mode when compiling.
6132
989681bb
JB
61332011-05-06 Juanma Barranquero <lekktu@gmail.com>
6134
6135 * simple.el (list-processes): Return nil as the docstring says.
6136
a6bc05e1
MA
61372011-05-05 Michael Albinus <michael.albinus@gmx.de>
6138
6139 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6140 to "".
6141 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6142 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6143 determining of binary transfer. (Bug#7383)
6144
23c22e9a
MA
61452011-05-05 Michael Albinus <michael.albinus@gmx.de>
6146
c4662635
SM
6147 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6148 Fix port computation bug. (Bug#8618)
23c22e9a 6149
0bff894f
GM
61502011-05-05 Glenn Morris <rgm@gnu.org>
6151
b8296902
GM
6152 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6153
1f522ce8
GM
6154 * simple.el (shell-dynamic-complete-functions)
6155 (comint-dynamic-complete-functions): Declare.
6156
cf5bee67
GM
6157 * net/network-stream.el (gnutls-negotiate):
6158 * simple.el (tabulated-list-print): Fix declarations.
6159
6160 * progmodes/gud.el (syntax-symbol, syntax-point):
6161 Remove unnecessary and incorrect declarations.
6162
0bff894f
GM
6163 * emacs-lisp/check-declare.el (check-declare-scan):
6164 Handle byte-compile-initial-macro-environment in bytecomp.el
6165
9869b3ae
SM
61662011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 Fix earlier half-done eieio-defmethod change (bug#8338).
6169 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6170 Streamline and change calling convention.
6171 (defmethod): Adjust accordingly and simplify.
6172 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6173 new eieio--defmethod.
6174 (slot-boundp): Minor CSE simplification.
6175
9c1d5ac5
MZ
61762011-05-05 Milan Zamazal <pdm@zamazal.org>
6177
6178 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6179 (glasses-make-readable): Use glasses-separate-capital-groups.
6180
455c834e
JB
61812011-05-05 Juanma Barranquero <lekktu@gmail.com>
6182
6183 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6184 (warning-series): Doc fix.
6185 (display-warning): Don't try to create the buffer if we just found it.
6186
9ed7c8cb
CY
61872011-05-04 Chong Yidong <cyd@stupidchicken.com>
6188
6189 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6190 (autoload-find-generated-file): New function.
6191 (generate-file-autoloads): Bind generated-autoload-file to
6192 buffer-file-name.
9869b3ae
SM
6193 (update-file-autoloads, update-directory-autoloads):
6194 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6195 output file (Bug#7989).
6196 (batch-update-autoloads): Doc fix.
6197
0898ca10
JB
61982011-05-04 Juanma Barranquero <lekktu@gmail.com>
6199
6200 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6201
31dfb76c
GM
62022011-05-04 Glenn Morris <rgm@gnu.org>
6203
f330b642
GM
6204 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6205 function, so it follows changes in calendar-date-style.
6206 (diary-fancy-date-matcher): New function.
6207 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6208 (diary-fancy-font-lock-fontify-region-function):
6209 Use diary-fancy-date-pattern as a function.
6210
31dfb76c
GM
6211 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6212 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6213
48e79d6a
TZ
62142011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6215
6216 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6217 instead of positional arguments. Allow :keylist and :crlfiles
6218 arguments.
6219 (open-gnutls-stream): Call it.
6220
6221 * net/network-stream.el (network-stream-open-starttls): Adjust to
6222 call `gnutls-negotiate' with :process and :hostname arguments.
6223
dd5a5ee0
SM
62242011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6225
ef80fc09
SM
6226 * minibuffer.el (completion--message): New function.
6227 (completion--do-completion, minibuffer-complete)
6228 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6229 (completion--do-completion): Don't ignore completion-auto-help when in
6230 icomplete-mode.
6231
dd5a5ee0
SM
6232 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6233 internal encoding (e.g. tibetan zero is not whitespace).
6234 (global-whitespace-mode): Prefer save-current-buffer.
6235 (whitespace-trailing-regexp): Remove useless save-match-data.
6236 (whitespace-empty-at-bob-regexp): Minor simplification.
6237
b7d22a83
CY
62382011-05-03 Chong Yidong <cyd@stupidchicken.com>
6239
6240 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6241
5192af46
AM
62422011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6243
6244 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6245 Use `concat' to create string for insertion.
5192af46 6246
5767d190
SM
62472011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6248
6249 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6250 Avoid open-line which runs post-self-insert-hook.
6251 (bibtex-fill-entry): Remove unused `end' var.
6252
bf242939
AM
62532011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6254
5767d190
SM
6255 * textmodes/ispell.el (ispell-add-per-file-word-list):
6256 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6257
25666126
LL
62582011-05-03 Leo Liu <sdl.web@gmail.com>
6259
6260 * isearch.el (isearch-yank-pop): New command.
5767d190 6261 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6262 (isearch-forward): Mention it.
6263
52d3c2d0
SM
62642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6265
1bcace58
SM
6266 * simple.el (minibuffer-complete-shell-command): Remove.
6267 (minibuffer-local-shell-command-map): Use completion-at-point.
6268 (read-shell-command): Setup completion vars here instead.
6269 (read-expression-map): Bind TAB to symbol completion.
6270
52d3c2d0
SM
6271 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6272 error directly rather via storing it into `results'.
6273
35813471
LL
62742011-05-02 Leo Liu <sdl.web@gmail.com>
6275
6276 * vc/diff.el: Fix description.
6277
e793a940
LMI
62782011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6279
6280 * server.el (server-eval-at): New function.
6281
8de66e05
LMI
62822011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6283
6284 * net/network-stream.el (open-network-stream): Take a :nowait
6285 parameter and pass it on to `make-network-process'.
6286 (network-stream-open-plain): Ditto.
6287
dcb79f20
AS
62882011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6289
6290 * faces.el (face-spec-set-match-display): Don't match toolkit
6291 options on terminal frames.
6292
14a7fbd8
SM
62932011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6294
7eabc1be
SM
6295 * progmodes/pascal.el: Use lexical binding.
6296 (pascal-mode-map): Remove author preferences.
6297
14a7fbd8
SM
6298 * pcomplete.el (pcomplete-std-complete): Don't abuse
6299 completion-at-point.
6300
50f84510
JB
63012011-04-28 Juanma Barranquero <lekktu@gmail.com>
6302
6e087a44
JB
6303 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6304 removing code that has been dead since 1991 or so.
6305
50f84510
JB
6306 * startup.el (command-line): When warning about "_emacs", use a
6307 delayed warning to allow the user to filter it out.
6308
0ba690bd
DD
63092011-04-28 Deniz Dogan <deniz@dogan.se>
6310
6311 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6312 user has not joined.
6313
08abfaad
SM
63142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6317 aren't any completions at point.
6318
638f053a
JB
63192011-04-28 Juanma Barranquero <lekktu@gmail.com>
6320
6321 * subr.el (display-delayed-warnings): New function.
6322 (delayed-warnings-hook): New variable.
6323
8fff8daa
SM
63242011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6325
08abfaad
SM
6326 * minibuffer.el (completion-at-point, completion-help-at-point):
6327 Don't presume that a given completion-at-point-function will always
6328 use the same calling convention.
6329
8fff8daa
SM
6330 * pcomplete.el (pcomplete-completions-at-point):
6331 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6332 pcomplete-seen is non-nil.
6333 (pcomplete-comint-setup): Also recognize the new comint/shell
6334 completion functions.
6335 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6336 pcomplete-seen is non-nil.
6337
841a1577 63382011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6339
841a1577 6340 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6341 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6342 the first character in the entry. This allows for code to add its
211ec907
UJ
6343 own uid to the entry.
6344 (icalendar--convert-float-to-ical): Add export of
6345 `diary-float'-entries save for those with the optional DAY
6346 argument.
6347
2a782793
DC
63482011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6349
6350 * subr.el (shell-quote-argument): Use alternate escaping strategy
6351 when we spot a variable reference in a string.
6352
0438ce91
DC
63532011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6354
6355 * cus-start.el (all): Define customization for debug-on-event.
6356
841a1577 63572011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6358
6359 * subr.el (shell-quote-argument): Escape correctly under Windows.
6360
d090ed6c
SM
63612011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6362
6363 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6364
bfd31217
MA
63652011-04-25 Michael Albinus <michael.albinus@gmx.de>
6366
d090ed6c
SM
6367 * net/tramp.el (tramp-process-actions): Add POS argument.
6368 Delete region between POS and (pos).
bfd31217 6369
d090ed6c
SM
6370 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6371 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6372 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6373
6374 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6375 position in `tramp-process-actions' call.
6376
6377 * net/trampver.el: Update release number.
6378
e92f3bd3
SM
63792011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6380
850256b5
SM
6381 * custom.el (defcustom): Obey lexical-binding.
6382
e92f3bd3
SM
6383 Fix octave-inf completion problems reported by Alexander Klimov.
6384 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6385 Inherit from octave-mode-syntax-table.
6386 (inferior-octave-mode): Set info-lookup-mode.
6387 (inferior-octave-completion-at-point): New function.
6388 (inferior-octave-complete): Use it and completion-in-region.
6389 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6390 comint-filename-completion.
6391 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6392 symbol elements which shouldn't be word elements.
6393 (octave-font-lock-keywords, octave-beginning-of-defun)
6394 (octave-function-header-regexp): Adjust regexps accordingly.
6395 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6396
cd22b309
JB
63972011-04-25 Juanma Barranquero <lekktu@gmail.com>
6398
6399 * net/gnutls.el (gnutls-errorp): Declare before first use.
6400
8b492194
TZ
64012011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6402
6403 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6404 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6405 default trustfile exists before going to use it. Add missing
6406 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6407 Reported by Claudio Bley <claudio.bley@gmail.com>.
6408 (open-gnutls-stream): Add usage example.
6409
6410 * net/network-stream.el (network-stream-open-starttls): Give host
6411 parameter to `gnutls-negotiate'.
6412 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6413 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6414
841a1577 64152011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6416
cd22b309
JB
6417 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6418 Use correct match group (bug#8438).
05842630 6419
3ba7869c
CY
64202011-04-24 Chong Yidong <cyd@stupidchicken.com>
6421
512e3ae1
CY
6422 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6423 (package-menu--generate): New arg specifying packages to show.
6424 (package-menu-refresh, package-menu-execute, list-packages):
6425 Callers changed.
6426 (package-show-package-list): New function, replacing deleted
6427 package--list-packages (renamed because it is non-internal).
6428
6429 * finder.el (finder-list-matches): Use package-show-package-list
6430 instead of deleted package--list-packages.
6431
e92f3bd3
SM
6432 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6433 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6434 (vc-annotate-mode-map): Bind it to RET.
6435
7031be6d
UR
64362011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6437
6438 * progmodes/etags.el (next-file): Don't use set-buffer to change
6439 buffers (Bug#8478).
6440
4ef177aa
CY
64412011-04-24 Chong Yidong <cyd@stupidchicken.com>
6442
c8d173eb
CY
6443 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6444
4ef177aa
CY
6445 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6446 (apropos-accumulator): Doc fix.
6447 (apropos-function, apropos-macro, apropos-command)
6448 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6449 (apropos-plist): Add face property.
6450 (apropos-symbols-internal): Fix indentation.
6451 (apropos-print): Simplify help, and recognize apropos-multi-type.
6452 (apropos-print-doc): Use button-type-get to extract the button's
6453 face property. Fill docstring (Bug#8352).
6454
4ffd0d6b 64552011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6456
6457 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6458
c6c32125 6459 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6460 (mpuz-mode-map): Use mapc.
c6c32125
JB
6461 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6462 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6463 Fix typos in docstrings.
6464
58d468b4
JB
6465 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6466 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6467
6470c3c6
JB
6468 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6469
4ffd0d6b 64702011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6471
6472 * minibuffer.el (completion--do-completion): Avoid the "Next char
6473 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6474
3ad8bad0
CY
6475 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6476 mouse-2 into unread-command-events, it is interpreted correctly.
6477
71d73c9c 6478 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6479 (image-toggle-display): Doc fix.
71d73c9c 6480
841a1577 64812011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6482
4ffd0d6b
GM
6483 * textmodes/page.el (what-page): Use line-number-at-pos to
6484 calculate line number (Bug#6825).
6e1dbaa9 6485
c2fb1b60
JB
64862011-04-22 Juanma Barranquero <lekktu@gmail.com>
6487
6488 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6489 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6490 Pass argument NO-DEFAULT to `find-tag-interactive'.
6491
e02f48d7
JB
64922011-04-22 Juanma Barranquero <lekktu@gmail.com>
6493
6494 Lexical-binding cleanup.
6495
6496 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6497 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6498 * progmodes/ada-prj.el (ada-prj-initialize-values)
6499 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6500 (ada-prj-show-value):
6501 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6502 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6503 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6504 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6505 * progmodes/bug-reference.el (bug-reference-push-button):
6506 * progmodes/fortran.el (fortran-line-length):
6507 * progmodes/glasses.el (glasses-change):
6508 * progmodes/octave-mod.el (octave-fill-paragraph):
6509 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6510 (python-pdbtrack-grub-for-buffer, python-sentinel):
6511 * progmodes/sql.el (sql-save-connection):
6512 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6513 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6514 Mark unused parameters.
6515
6516 * progmodes/compile.el (compilation--flush-directory-cache)
6517 (compilation--flush-parse, compile-internal): Mark unused parameters.
6518 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6519 (compilation-next-error-function): Remove unused variable `timestamp'.
6520
6521 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6522 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6523
6524 * progmodes/dcl-mode.el (dcl-end-of-command):
6525 Remove unused variable `start'.
6526 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6527 (dcl-option-value-basic, dcl-option-value-offset)
6528 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6529 Mark unused parameters.
6530 (dcl-save-local-variable): Remove unused variable `val'.
6531 (mode): Declare.
6532
6533 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6534 Mark unused parameters.
6535 (delphi-ignore-changes): Move before first use.
6536 (delphi-charset-token-at): Remove unused variable `start'.
6537 (delphi-else-start): Remove unused variable `if-count'.
6538 (delphi-comment-block-start, delphi-comment-block-end):
6539 Remove unused variable `kind'.
6540 (delphi-indent-line): Remove unused variable `new-point'.
6541
6542 * progmodes/ebrowse.el (ebrowse-files-list)
6543 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6544 Mark unused parameters. Don't quote `lambda'.
6545 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6546 Don't quote `lambda'.
6547 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6548 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6549 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6550 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6551 Use `ignore-errors'.
6552 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6553 (ebrowse-view/find-file-and-search-pattern)
6554 (ebrowse-view/find-member-declaration/definition):
6555 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6556 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6557 Rename parameter PREFIX-ARG to PREFIX.
6558 (ebrowse-tags-read-name): Remove unused variables `start' and
6559 `member-info'.
6560 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6561 to `tags-file'.
6562
6563 * progmodes/etags.el (local-find-tag-hook): Declare.
6564 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6565 Mark unused parameters.
6566
6567 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6568 (executable-interpret): Mark unused parameter.
6569
6570 * progmodes/flymake.el (flymake-process-sentinel)
6571 (flymake-after-change-function)
6572 (flymake-create-temp-with-folder-structure)
6573 (flymake-get-include-dirs-dot): Mark unused parameters.
6574 (flymake-safe-delete-directory): Remove unused variable `err'.
6575
6576 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6577 (speedbar-timer-fn, speedbar-line-text)
6578 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6579 (speedbar-center-buffer-smartly): Declare functions.
6580 (gdb-find-watch-expression): Remove unused variable `array'.
6581 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6582 (gdb-starting): Mark unused parameters.
6583 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6584 (gdb-table-string): Remove unused variable `res'.
6585 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6586 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6587 (gdb-display-buffer): Remove unused variable `cur-size'.
6588
6589 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6590 allow lexical-binding compilation.
6591 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6592 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6593 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6594 Mark unused parameters.
6595 (gud-gdb-marker-filter): Remove unused variable `match'.
6596 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6597 lambda expressions and funcall them, instead of using `fset'.
6598
6599 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6600 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6601
6602 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6603 variable `header-beg'; use `let'.
6604
6605 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6606 `restart', `last-sexp' and `at-do'.
6607
6608 * progmodes/js.el (js--debug): Mark unused parameter.
6609 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6610 (js--splice-into-items): Remove unused variable `item'.
6611 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6612
6613 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6614 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6615 (makefile-complete): Remove unused variable `try'.
6616 (makefile-fill-paragraph, makefile-match-function-end):
6617 Mark unused parameters.
6618
6619 * progmodes/octave-inf.el (inferior-octave-complete):
6620 Remove unused variable `proc'.
6621 (inferior-octave-output-digest): Mark unused parameter.
6622
6623 * progmodes/perl-mode.el (perl-calculate-indent):
6624 Remove unused variable `err'.
6625
6626 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6627 (prolog-indent-line): Mark unused parameters.
6628 (prolog-indent-line): Remove unused variable `beg'.
6629
6630 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6631 (reporter-dont-compact-list): Declare.
6632
6633 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6634 Remove unused variable `char'.
6635 (sh-debug): Mark unused parameter.
6636 (sh-get-indent-info): Remove unused variable `start'.
6637 (sh-calculate-indent): Remove unused variable `var'.
6638
6639 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6640 (simula-electric-keyword): Remove unused variable `null'.
6641 (simula-search-backward, simula-search-forward): Remove unused
6642 variables `begin' and `end'.
6643
6644 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6645 Remove unused variable `pos'.
6646 (vera-electric-tab, vera-comment-uncomment-region):
6647 Mark unused parameters.
6648 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6649
7ede3b65
CY
66502011-04-22 Chong Yidong <cyd@stupidchicken.com>
6651
6652 * emacs-lisp/package.el (package--builtins, package-alist)
6653 (package-load-descriptor, package-built-in-p, package-activate)
6654 (define-package, package-installed-p)
6655 (package-compute-transaction, package-buffer-info)
6656 (package--push): Doc fix. Distinguish more clearly between
6657 version strings and version lists.
6658
121656e9
JB
66592011-04-21 Juanma Barranquero <lekktu@gmail.com>
6660
6661 Lexical-binding cleanup.
6662
6663 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6664 (5x5-make-mutate-best):
6665 * play/fortune.el (fortune-in-buffer):
6666 * play/gomoku.el (gomoku-init-display):
6667 * play/solitaire.el (solitaire, solitaire-do-check):
6668 * play/tetris.el (tetris-default-update-speed-function):
6669 Mark unused parameters.
6670
6671 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6672 (bubbles--shift): Remove unused variable `char-org'.
6673 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6674 (bubbles--show-images): Remove unused variable `char'.
6675
6676 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6677 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6678 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6679 (decipher-analyze-buffer): Use ?\s.
6680 (decipher-make-checkpoint): Remove unused variable `mapping'.
6681
6682 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6683
6684 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6685 Remove unused variable `result'; use `let'.
6686
6687 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6688 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6689 (gametree-children-shown-p, gametree-compute-reduced-score):
6690 Use `ignore-errors'.
6691
6692 * play/handwrite.el (ps-lpr-switches): Declare.
6693 (handwrite): Remove unused variables `pmin' and `lastp'.
6694
6695 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6696
6697 * play/landmark.el (landmark-init-display)
6698 (landmark-update-naught-weights): Mark unused parameters.
6699 (landmark-y): Remove unused variable `noise'. Simplify.
6700 (landmark-human-plays): Remove unused variable `score'.
6701
6702 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6703 (mpuz-try-proposal): Remove unused variable `game'.
6704
6705 * play/zone.el (life-patterns): Declare.
6706
80f499c7
JB
67072011-04-20 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * vc/vc.el (ediff-vc-internal): Declare function.
6710
024ff170
SM
67112011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6712
c0a193ea
SM
6713 * shell.el: Use lexical-binding and std completion UI.
6714 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6715 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6716 comint-preoutput-filter-functions rather than on
6717 comint-output-filter-functions.
6718 (shell-command-completion, shell--command-completion-data)
6719 (shell-filename-completion, shell-environment-variable-completion)
6720 (shell-c-a-p-replace-by-expanded-directory): New functions.
6721 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6722 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6723 (shell-dynamic-complete-environment-variable): Use them.
6724 (shell-dynamic-complete-as-environment-variable)
6725 (shell-dynamic-complete-as-command): Remove.
6726 (shell-match-partial-variable): Match past point.
6727 * comint.el: Clean up use of completion-at-point-functions.
6728 (comint-completion-at-point): New function.
6729 (comint-mode): Use it completion-at-point-functions.
6730 (comint-dynamic-complete): Make it obsolete.
6731 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6732 (comint-c-a-p-replace-by-expanded-history): New function.
6733 (comint-dynamic-complete-functions)
6734 (comint-replace-by-expanded-history): Use it.
6735 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6736 termination strings. Try harder to avoid second try-completion.
6737 (completion-in-region-mode-map): Disable bindings that don't work yet.
6738
2dbaa080
SM
6739 * comint.el: Use lexical-binding. Require CL.
6740 (comint-dynamic-complete-functions): Use comint-filename-completion.
6741 (comint-completion-addsuffix): Tweak custom type.
6742 (comint-filename-completion, comint--common-suffix)
6743 (comint--common-quoted-suffix, comint--table-subvert)
6744 (comint--complete-file-name-data): New functions.
6745 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6746 (comint-dynamic-list-filename-completions): Use them.
6747 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6748
2dbaa080
SM
6749 * minibuffer.el (completion-in-region-mode):
6750 Keep completion-in-region-mode--predicate global.
6751 (completion-in-region--postch):
6752 Assume completion-in-region-mode--predicate is not null.
6753
c79a6f38
SM
6754 * progmodes/flymake.el (flymake-start-syntax-check-process):
6755 Obey `dir'. Simplify.
6756
024ff170
SM
6757 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6758 we're in VC after all.
6759
1c6c854e
CS
67602011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6761
6762 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6763 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6764 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6765
bed7f140
SM
67662011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6767
332e62ab
SM
6768 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6769 add sanity check.
6770
bed7f140
SM
6771 * obsolete/erc-hecomplete.el: Make obsolete.
6772 * obsolete/: Standardize obsolescence info in the header.
6773
f195c582
GM
67742011-04-20 Glenn Morris <rgm@gnu.org>
6775
6776 * calendar/solar.el (solar-horizontal-coordinates):
6777 Use the longitude argument rather than `calendar-longitude'.
6778 (solar-date-next-longitude): Remove unused locals.
6779
cb79b8c0
VJL
67802011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6781
6782 * whitespace.el: New version 13.2.1.
6783
67842011-04-20 felix <EmacsWiki> (tiny change)
6785
d8e4b68b 6786 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6787 switching between major modes on a file.
6788
602ea69d
SM
67892011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6792 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6793 multi-line comments as well.
6794
06b60517
JB
67952011-04-19 Juanma Barranquero <lekktu@gmail.com>
6796
6797 Lexical-binding cleanup.
6798
6799 * arc-mode.el (archive-mode-revert):
6800 * cmuscheme.el (scheme-interactively-start-process):
6801 * custom.el (custom-initialize-delay):
6802 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6803 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6804 * emacs-lock.el (emacs-lock-clear-sentinel):
6805 * ezimage.el (defezimage):
6806 * follow.el (follow-avoid-tail-recenter):
6807 * fringe.el (set-fringe-mode-1):
6808 * generic-x.el (bat-generic-mode-compile):
6809 * help-mode.el (help-info-variable, help-do-xref)
6810 (help-mode-revert-buffer):
6811 * help.el (view-emacs-todo):
6812 * iswitchb.el (iswitchb-completion-help):
6813 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6814 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6815 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6816 * locate.el (locate-update):
6817 * longlines.el (longlines-encode-region)
6818 (longlines-after-change-function):
6819 * outline.el (outline-isearch-open-invisible):
6820 * ps-def.el (declare-function, charset-dimension, char-width)
6821 (encode-char):
6822 * ps-mule.el (ps-mule-plot-string):
6823 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6824 (recentf-edit-list-select, recentf-edit-list-validate)
6825 (recentf-open-files-action):
6826 * rect.el (delete-whitespace-rectangle-line)
6827 (rectangle-number-line-callback):
6828 * register.el (window-configuration-to-register)
6829 (frame-configuration-to-register):
6830 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6831 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6832 (xselect-convert-to-targets, xselect-convert-to-delete)
6833 (xselect-convert-to-filename, xselect-convert-to-charpos)
6834 (xselect-convert-to-lineno, xselect-convert-to-colno)
6835 (xselect-convert-to-os, xselect-convert-to-host)
6836 (xselect-convert-to-user, xselect-convert-to-class)
6837 (xselect-convert-to-name, xselect-convert-to-integer)
6838 (xselect-convert-to-atom, xselect-convert-to-identity):
6839 * subr.el (declare, ignore, process-kill-without-query)
6840 (text-clone-maintain):
6841 * terminal.el (te-get-char, te-tic-sentinel):
6842 * tool-bar.el (tool-bar-make-keymap):
6843 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6844 * type-break.el (type-break-mode, type-break-noninteractive-query):
6845 * view.el (View-back-to-mark):
6846 * wid-browse.el (widget-browse-action, widget-browse-widget)
6847 (widget-browse-widgets, widget-browse-sexp):
6848 * widget.el (define-widget-keywords):
6849 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6850 Mark unused parameters.
6851
6852 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6853 (align-areas): Remove unused variable `look'.
6854 (align-region): Remove unused variables `real-end' and `pos-list'.
6855
6856 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6857
6858 * bindings.el (mode-line-modified, mode-line-remote):
6859 Mark unused parameters.
6860 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6861
6862 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6863 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6864
6865 * comint.el (comint-history-isearch-pop-state)
6866 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6867 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6868 (comint-substitute-in-file-name): Doc fix.
6869
6870 * completion.el (cmpl-statistics-block): Mark unused parameter.
6871 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6872 (save-completions-to-file, load-completions-from-file):
6873 Remove unused local variable `e'.
6874
6875 * composite.el (compose-chars): Remove unused variable `len'.
6876 (lgstring-insert-glyph): Remove unused variable `g'.
6877 (compose-glyph-string): Remove unused variables `ascent',
6878 `descent', `lbearing' and `rbearing'.
6879 (compose-glyph-string-relative): Remove unused variables
6880 `lbearing', `rbearing' and `wadjust'.
6881 (compose-gstring-for-graphic): Remove unused variables `header',
6882 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6883 (compose-gstring-for-terminal): Remove unused variables `header'
6884 and `nchars'. Use `let', not `let*'.
6885
6886 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6887 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6888 (Custom-buffer-done, custom-buffer-create-internal)
6889 (custom-browse-visibility-action, custom-browse-group-tag-action)
6890 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6891 (widget-magic-mouse-down-action, custom-toggle-parent)
6892 (custom-add-parent-links, custom-toggle-hide-variable)
6893 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6894 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6895 (custom-face-menu-create, custom-variable-menu-create, get)
6896 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6897 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6898 (customize-apropos): Remove unused variable `tests'.
6899 (custom-group-value-create): Remove unused variable `hidden-p'.
6900 (sort-fold-case): Declare.
6901
6902 * cus-theme.el (custom-reset-standard-faces-list)
6903 (custom-reset-standard-variables-list): Declare.
6904 (customize-create-theme, custom-theme-revert, custom-theme-write)
6905 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6906 Mark unused parameters.
6907
6908 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6909
6910 * delim-col.el (delimit-columns-max): Move defvar before first use.
6911
6912 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6913 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6914
6915 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6916 (auto-insert): Declare.
6917 (desktop-restore-file-buffer): Rename desktop-* parameters;
6918 mark unused ones.
6919 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6920 (desktop-buffer): Rename desktop-* parameters.
6921
6922 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6923 (dframe-reposition-frame-xemacs, dframe-help-echo)
6924 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6925 Mark unused parameters.
6926
6927 * dired-aux.el (backup-extract-version-start, overwrite-query)
6928 (overwrite-backup-query, rename-regexp-query)
6929 (rename-non-directory-query): Declare.
6930 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6931 (dired-add-entry): Remove unused variable `orig-file-name'.
6932 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6933 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6934 `dired-copy-preserve-time' directly.
6935 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6936 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6937
6938 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6939 (dired-virtual-revert, dired-make-relative-symlink):
6940 Mark unused parameters.
6941 (manual-program): Declare.
6942 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6943 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6944 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6945
6946 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6947
6948 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6949
6950 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6951 Declare.
6952
6953 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6954
6955 * electric.el (Electric-command-loop): Rename parameter
6956 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6957
6958 * expand.el (expand-in-literal): Remove unused variable `here'.
6959
6960 * facemenu.el (facemenu-add-new-color):
6961 Remove unused variable `docstring'.
6962
6963 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6964 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6965 (face-attr-construct): Mark unused parameter. Doc fix.
6966 (read-color): Remove unused variable `hex-string'.
6967
6968 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6969 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6970 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6971 (display-buffer-other-frame): Remove unused variable `old-window'.
6972 (kill-buffer-hook): Declare.
6973 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6974 Mark unused parameters.
6975 (after-find-file): Pass 1 to `auto-save-mode', not t.
6976
6977 * files-x.el (auto-insert): Declare.
6978 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6979
6980 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6981 variable `buf'. Mark unused parameter.
06b60517
JB
6982 (find-lisp-insert-directory): Mark unused parameter.
6983
6984 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6985 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6986 (format-common-tail): Remove, unused.
6987 (format-deannotate-region): Remove unused variable `loc'.
6988 (format-annotate-region): Remove unused variable `p'.
6989 (format-annotate-single-property-change): Remove unused variables
6990 `default' and `tail'.
6991
6992 * forms.el (read-file-filter): Declare.
6993 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6994
6995 * frame.el (frame-creation-function-alist): Mark unused parameter.
6996 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6997
6998 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6999 Remove unused parameters.
7000 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
7001 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
7002
7003 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
7004 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
7005 (hfy-prepare-tag-map): Mark unused parameters.
7006 (htmlfontify-buffer): Use `called-interactively-p'.
7007
7008 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
7009 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
7010 (ibuffer-do-occur): Mark unused parameters.
7011 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
7012 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
7013
7014 * ibuffer.el: Don't quote `lambda'.
7015 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
7016 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
7017 Mark unused parameters.
7018
7019 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
7020 (ido-completing-read): Mark unused parameters.
7021 (ido-copy-current-word): Mark unused parameters;
7022 remove unused variable `name'.
7023 (ido-sort-merged-list): Remove unused parameter `dirs'.
7024
7025 * ielm.el (ielm-input-sender): Mark unused parameter.
7026 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
7027 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
7028 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
7029 `ielm-string' as a dynamic variable accessible from the IELM prompt.
7030 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
7031
7032 * image-dired.el (image-dired-display-thumbs): Remove unused
7033 variables `curr-file' and `count'.
7034 (image-dired-remove-tag): Remove unused variable `start'.
7035 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
7036 variable `curr-file'
7037 (image-dired-rotate-original): Remove unused variable `temp-file'.
7038 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
7039 Remove unused variable `file'.
7040 (image-dired-gallery-generate): Remove unused variable `curr'.
7041 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
7042
7043 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
7044
7045 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
7046
7047 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
7048
7049 * isearch.el (minibuffer-history-symbol): Declare.
7050 (isearch-edit-string): Remove unused variable `err'.
7051 (isearch-message-prefix, isearch-message-suffix):
7052 Mark unused parameters.
7053
7054 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7055
7056 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7057
7058 * makesum.el (double-column): Remove unused variable `cnt'.
7059
7060 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7061 (ido-ignore-item-temp-list): Declare.
7062
7063 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7064 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7065 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7066 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7067 `mouse-col-delta'.
7068
7069 * mouse-sel.el (mouse-extend-internal):
7070 Remove unused variable `orig-window-frame'.
7071
7072 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7073 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7074 Move declarations before first use.
7075 (pcomplete-opt): Mark unused parameters; doc fix.
7076
7077 * proced.el (proced-revert): Mark unused parameter.
7078 (proced-send-signal): Remove unused variable `err'.
7079
7080 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7081 Rename parameter PREFIX-ARG to ARG.
7082 (ps-basic-plot-string, ps-basic-plot-whitespace):
7083 Mark unused parameters.
7084
7085 * replace.el (replace-count): Define.
7086 (occur-revert-function): Mark unused parameters.
7087 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7088 (isearch-case-fold-search, isearch-string): Declare.
7089 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7090 bind `case-fold-search'. Remove unused variables `beg' and `end',
7091 and simplify.
7092 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7093 COUNT and bind `replace-count'.
7094 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7095 to COUNT.
7096
7097 * savehist.el (print-readably, print-string-length): Declare.
7098
7099 * shadowfile.el (shadow-expand-cluster-in-file-name):
7100 Remove unused variable `cluster'.
7101 (shadow-copy-file): Remove unused variable `i'.
7102 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7103 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7104 (shadow-define-literal-group, shadow-define-regexp-group)
7105 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7106
7107 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7108 (shell): Use `called-interactively-p'.
7109 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7110
7111 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7112 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7113 (delete-backward-char): Remove unused variable `ocol'.
7114 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7115 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7116 (event-apply-hyper-modifier, event-apply-shift-modifier)
7117 (event-apply-control-modifier, event-apply-meta-modifier):
7118 Mark unused parameters.
7119 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7120 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7121
7122 * speedbar.el (speedbar-ignored-directory-expressions)
7123 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7124 (speedbar-find-file, speedbar-dir-follow)
7125 (speedbar-directory-buttons-follow, speedbar-tag-find)
7126 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7127 (speedbar-buffers-line-directory, speedbar-buffer-click):
7128 Mark unused parameters.
7129 (speedbar-tag-file): Remove unused variable `mode'.
7130 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7131
7132 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7133
7134 * talk.el (talk): Remove unused variable `display'.
7135
7136 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7137 (tar-write-region-annotate): Mark unused parameter.
7138
7139 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7140 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7141 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7142 warning by another.
7143
7144 * time-stamp.el (time-stamp-string-preprocess):
7145 Remove unused variable `require-padding'.
7146
7147 * tree-widget.el (widget-glyph-enable): Declare.
7148 (tree-widget-action): Mark unused parameter.
7149
7150 * w32-fns.el (x-get-selection): Mark unused parameter.
7151 (autoload-make-program, generated-autoload-file): Declare.
7152
7153 * wdired.el (wdired-revert): Mark unused parameters.
7154 (wdired-xcase-word): Remove unused variable `err'.
7155
7156 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7157 (whitespace-help-scroll): Remove unused variable `data-help'.
7158
7159 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7160 (widget-image-insert, widget-after-change, default)
7161 (widget-default-format-handler, widget-default-notify)
7162 (widget-default-prompt-value, widget-info-link-action)
7163 (widget-url-link-action, widget-function-link-action)
7164 (widget-variable-link-action, widget-file-link-action)
7165 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7166 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7167 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7168 (widget-insert-button-action, widget-delete-button-action, visibility)
7169 (widget-documentation-link-action, widget-documentation-string-action)
7170 (widget-const-prompt-value, widget-regexp-match, symbol)
7171 (widget-coding-system-prompt-value)
7172 (widget-key-sequence-value-to-external, sexp)
7173 (widget-sexp-value-to-internal, character, vector, cons)
7174 (widget-choice-prompt-value, widget-boolean-prompt-value)
7175 (widget-color--choose-action): Mark unused parameters.
7176 (widget-item-match-inline, widget-choice-match-inline)
7177 (widget-checklist-match, widget-checklist-match-inline)
7178 (widget-group-match): Rename parameter VALUES to VALS.
7179 (widget-field-value-set): Remove unused variable `size'.
7180 (widget-color-action): Remove unused variables `value' and `start'.
7181
7182 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7183 variable `dir'. Doc fix.
06b60517
JB
7184 (windmove-find-other-window): Don't pass it.
7185
7186 * window.el (count-windows): Mark unused parameter.
7187 (bw-adjust-window): Remove unused variable `err'.
7188
7189 * woman.el (woman-file-name): Remove unused variable `default'.
7190 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7191 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7192 (global-font-lock-mode): Declare.
7193 (woman-decode-region): Mark unused parameter.
7194 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7195
7196 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7197 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7198 (x-dnd-handle-moz-url): Remove unused variable `title'.
7199 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7200
7201 * xml.el (xml-parse-tag, xml-parse-attlist):
7202 Remove unused variable `pos'.
7203
bc4f7f3d
GM
72042011-04-19 Glenn Morris <rgm@gnu.org>
7205
7206 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7207 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7208 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7209 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7210 * calendar/cal-html.el (cal-html-insert-minical):
7211 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7212 (calendar-mark-date-pattern):
7213 Prefix "unused" locals.
7214
7215 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7216 optional argument `style'.
7217
7218 * calendar/appt.el (appt-make-list):
7219 * calendar/cal-china.el (calendar-chinese-date-string):
7220 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7221 (diary-hebrew-yahrzeit):
7222 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7223 * calendar/calendar.el (calendar-generate-window):
7224 * calendar/time-date.el (time-to-days):
7225 Remove unused local variables.
7226
16a43933
CY
72272011-04-18 Chong Yidong <cyd@stupidchicken.com>
7228
7229 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7230 glyphless-char-display table.
7231 (tabulated-list-glyphless-char-display): New var.
7232
7eed1860
SS
72332011-04-18 Sam Steingold <sds@gnu.org>
7234
7235 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7236 to acknowledgments.
7237
4d2d1ccd
GM
72382011-04-17 Glenn Morris <rgm@gnu.org>
7239
7240 * calendar/diary-lib.el (diary-sexp-entry):
7241 * calendar/holidays.el (holiday-sexp):
7242 Set debug-on-error rather than the removed stack-trace-on-error.
7243
239da61d
GM
72442011-04-16 Glenn Morris <rgm@gnu.org>
7245
7246 * progmodes/f90.el: Use lexical-binding.
7247 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7248
8b05752a
SM
72492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7250
daca8ba5
SM
7251 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7252 (mail-mode): Setup mailalias completion here instead.
7253 * mail/mailalias.el: Use lexical-binding.
7254 (pattern, mailalias-done): Declare dynamic.
7255 (mail-completion-at-point-function): New function, from mail-complete.
7256 (mail-complete): Use it.
7257 (mail-completion-expand): New function.
7258 (mail-get-names): Use it.
7259 (mail-directory, mail-directory-process, mail-directory-stream):
7260 Don't use `pattern' for lexically bound arg.
7261
6f542485
SM
7262 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7263
037e7c3f
SM
7264 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7265 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7266 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7267
8b05752a
SM
7268 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7269 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7270 (byte-interactive-p): Define them again, for use when inlining
7271 old code.
7272
49093f60
JB
72732011-04-15 Juanma Barranquero <lekktu@gmail.com>
7274
7275 * loadup.el: Use `string-to-number', not `string-to-int'.
7276
b5b8e7de
SM
72772011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7280 gud-gdb-complete-command.
7281 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7282 (gud-gdb-completion-at-point): New function.
7283 (gud-gdb-completions): Remove.
7284
f42efeb5
MA
72852011-04-14 Michael Albinus <michael.albinus@gmx.de>
7286
49093f60
JB
7287 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7288 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7289 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7290 whether `executable-find' is bound.
f42efeb5
MA
7291
7292 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7293
e240cc21
SM
72942011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * minibuffer.el (completion-in-region-mode-predicate)
7297 (completion-in-region-mode--predicate): New vars.
7298 (completion-in-region, completion-in-region--postch)
7299 (completion-in-region-mode): Use them.
7300 (completion--capf-wrapper): Also return the hook function.
7301 (completion-at-point, completion-help-at-point):
7302 Adjust and provide a predicate.
c2bd2ab0
SM
7303
7304 Preserve arg names for advice of subr and lexical functions (bug#8457).
7305 * help-fns.el (help-function-arglist): Consolidate the subr and
7306 new-byte-code cases. Add argument `preserve-names' to extract names
7307 from the docstring when needed.
7308 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7309 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7310 (ad-arglist): Use help-function-arglist's new arg.
7311 (ad-definition-type): Use cond.
7312
c183f693
JB
73132011-04-13 Juanma Barranquero <lekktu@gmail.com>
7314
06641a47
JB
7315 * autorevert.el (auto-revert-handler):
7316 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7317 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7318 Don't quote lambda.
7319
c183f693
JB
7320 * image-mode.el (image-transform-set-scale):
7321 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7322
1e3b6001
G
73232011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7324
7325 * net/network-stream.el (network-stream-open-starttls): Only do
7326 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7327 Upgrades via gnutls-cli are too slow to be done opportunistically.
7328
2d6af8dd
JB
73292011-04-12 Juanma Barranquero <lekktu@gmail.com>
7330
7331 * dframe.el (dframe-current-frame): Remove spurious quote.
7332
c0749a51
GM
73332011-04-12 Glenn Morris <rgm@gnu.org>
7334
088d0d61
GM
7335 * calendar/cal-tex.el (cal-tex-end-document):
7336 Try to automatically use latin1 input if needed.
7337
c0749a51
GM
7338 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7339 Don't try to cons a mark onto an empty element.
7340
5c90fde0
LL
73412011-04-11 Leo Liu <sdl.web@gmail.com>
7342
7343 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7344 buffers.
7345 (ido-kill-buffer-at-head): Support killing virtual buffers.
7346
369e974d
CY
73472011-04-10 Chong Yidong <cyd@stupidchicken.com>
7348
7349 * minibuffer.el (completion-show-inline-help): New var.
7350 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7351 (minibuffer-force-complete, minibuffer-complete-word):
7352 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7353
7354 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7355 to avoid interference from inline help (Bug#5849).
7356
37f1c930
LL
73572011-04-10 Leo Liu <sdl.web@gmail.com>
7358
099c39a4
JB
7359 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7360 Fix typo.
37f1c930 7361
a32d4040
CY
73622011-04-09 Chong Yidong <cyd@stupidchicken.com>
7363
7364 * image-mode.el (image-toggle-display-image): Signal an error if
7365 not in Image mode.
7366 (image-transform-mode, image-transform-resize)
7367 (image-transform-set-rotation): Doc fix.
daca8ba5 7368 (image-transform-set-resize): Delete.
a32d4040
CY
7369 (image-transform-set-scale, image-transform-fit-to-height)
7370 (image-transform-fit-to-width): Handle image-toggle-display-image
7371 and image-transform-resize directly.
7372
099c39a4 73732011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7374
7375 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7376 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7377 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7378 (doc-view-mode-map): Add bindings for the new functions.
7379
099c39a4 73802011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7381
4d61f28d 7382 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7383 Fix typo in docstring.
7384
3726838a
EZ
73852011-04-08 Eli Zaretskii <eliz@gnu.org>
7386
04f33f1e
EZ
7387 * files.el (file-size-human-readable): Produce one digit after
7388 decimal, like "ls -lh" does.
7389
7390 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7391 the file size representation.
7392
3726838a
EZ
7393 * simple.el (list-processes): If async subprocesses are not
7394 available, error out with a clear error message.
7395
cbb59342
CY
73962011-04-08 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * help.el (help-form-show): New function, to be called from C.
7399 Put help-form output in a buffer named differently than *Help*.
7400
e3971c44
EZ
74012011-04-08 Eli Zaretskii <eliz@gnu.org>
7402
7403 * files.el (file-size-human-readable): New function.
7404
7405 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7406 computing the representation inline. Don't require `cl'.
7407
12544bbe
GM
74082011-04-08 Glenn Morris <rgm@gnu.org>
7409
a1de6c6a
GM
7410 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7411
3c4671f4
GM
7412 * net/browse-url.el (browse-url-firefox):
7413 Test system-type, not system-configuration.
7414
b605679c
GM
7415 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7416 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7417 Use log-edit-empty-buffer-p. (Bug#7598)
7418
56442f0c
GM
7419 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7420 (rlogin-mode-map): Initialize in the defvar.
7421 (rlogin): Use ignore-errors.
7422
12544bbe
GM
7423 * replace.el (occur-mode-map): Some fixes for menu items.
7424
eb237b0f
AH
74252011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7426
7427 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7428
7d668f2c
CY
74292011-04-06 Chong Yidong <cyd@stupidchicken.com>
7430
e67a13ab
CY
7431 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7432 issuing unused warnings.
7433
7434 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7435 macro directly.
7436
7d668f2c
CY
7437 * simple.el: Lisp reimplement of list-processes. Based on an
7438 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7439 (process-menu-mode): New major mode.
7440 (list-processes--refresh, list-processes):
7441 (process-menu-visit-buffer): New functions.
7442
7443 * files.el (save-buffers-kill-emacs): Don't assume any return
7444 value of list-processes, which is undocumented anyway.
7445
a83ec3c9
CY
74462011-04-06 Chong Yidong <cyd@stupidchicken.com>
7447
7448 * emacs-lisp/tabulated-list.el: New file.
7449
e91a96fe
CY
7450 * emacs-lisp/package.el: Use Tabulated List mode.
7451 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7452 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7453 table format using Tabulated List mode variables.
7454 (package--push): New macro, replacing package-list-maybe-add.
7455 (package-menu--generate): Use package--push. Renamed from
7456 package--generate-package-list.
7457 (package-menu-refresh, list-packages): Use it.
daca8ba5 7458 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7459 Return insertion data instead of inserting it directly.
099c39a4
JB
7460 (package-menu-describe-package, package-menu-execute):
7461 Use tabulated-list-get-id.
e91a96fe
CY
7462 (package-menu-mark-delete, package-menu-mark-install)
7463 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7464 (package-menu-mark-obsolete-for-deletion):
7465 Use tabulated-list-put-tag.
e91a96fe
CY
7466 (package--list-packages, package-menu-revert)
7467 (package-menu-get-package, package-menu-get-version)
7468 (package-menu-sort-by-column): Functions deleted.
7469 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7470 (package-menu--status-predicate, package-menu--version-predicate)
7471 (package-menu--name-predicate)
7472 (package-menu--description-predicate): Handle arguments in the
7473 Tabulated List format.
7474 (package-list-packages-no-fetch): Call list-packages.
7475
3e214b50
JB
74762011-04-06 Juanma Barranquero <lekktu@gmail.com>
7477
7478 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7479 (after-find-file): Don't bind it.
3e214b50
JB
7480 (revert-buffer-in-progress-p): New variable.
7481 (revert-buffer): Bind it.
7482 Pass nil for `after-find-file-from-revert-buffer'.
7483
7484 * saveplace.el (save-place-find-file-hook): Use new variable
7485 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7486
3f0f1700
GM
74872011-04-06 Glenn Morris <rgm@gnu.org>
7488
c0274801
GM
7489 * Makefile.in (AUTOGEN_VCS): New variable.
7490 (autoloads): Use $AUTOGEN_VCS.
7491
3f0f1700
GM
7492 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7493 * calendar/calendar.el (calendar-mode-map):
7494 Check for toolkit scroll bars. (Bug#8305)
7495
41ea9e48
CY
74962011-04-05 Chong Yidong <cyd@stupidchicken.com>
7497
7498 * minibuffer.el (completion-in-region--postch)
7499 (completion-in-region-mode): Remove unnecessary messages.
7500
6194c800
JB
75012011-04-05 Juanma Barranquero <lekktu@gmail.com>
7502
33256f14
JB
7503 * font-lock.el (font-lock-refresh-defaults):
7504 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7505 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7506
6194c800
JB
7507 * info.el (Info-directory-list, Info-read-node-name-2)
7508 (Info-split-parameter-string): Doc fixes.
7509 (Info-virtual-nodes): Reflow docstring.
7510 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7511 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7512 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7513 Fix typos in docstrings.
7514 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7515 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7516 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7517 (Info-restore-desktop-buffer): Mark unused parameters.
7518 (Info-directory-find-file, Info-directory-find-node)
7519 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7520 (Info-virtual-index-find-node, Info-apropos-find-file)
7521 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7522 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7523 (Info-virtual-index): Remove unused local variable `nodename'.
7524
b87a8200 75252011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7526
b87a8200
DD
7527 * net/rcirc.el: Update my e-mail address.
7528 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7529
3b2ff876
CY
75302011-04-05 Chong Yidong <cyd@stupidchicken.com>
7531
7532 * startup.el (command-line): Save the cursor's theme-face
7533 directly, instead of using face-override-spec.
7534
7535 * custom.el (load-theme): Minor optimization in assigning faces.
7536
8d17e7ca
JB
75372011-04-04 Juanma Barranquero <lekktu@gmail.com>
7538
7539 * help-fns.el (describe-variable): Complete all variables having
7540 documentation, including keywords.
7541 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7542
2fbc1934
JB
75432011-04-04 Juanma Barranquero <lekktu@gmail.com>
7544
7545 Convert to lexical-binding.
7546
7547 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7548 (bs--get-marked-string, bs--get-modified-string)
7549 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7550 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7551 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7552
7553 * ehelp.el (electric-help-execute-extended)
7554 (electric-help-ctrl-x-prefix):
7555 * hexl.el (hexl-revert-buffer-function):
7556 * linum.el (linum-after-change, linum-after-scroll):
7557 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7558
7559 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7560
74f50695
DU
75612011-04-04 Daiki Ueno <ueno@unixuser.org>
7562
7563 * epa-dired.el:
7564 * epa-mail.el:
7565 * epa-hook.el:
7566 * epa-file.el:
7567 * epa.el:
7568 * epg.el: Use lexical binding.
7569
c11325f7
CY
75702011-04-03 Chong Yidong <cyd@stupidchicken.com>
7571
0d9e9a12
CY
7572 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7573
c11325f7 7574 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7575 dictionary case for flyspell-mark-duplications-exceptions.
7576 Use regexp matching for languages.
c11325f7
CY
7577 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7578 default dictionary (Bug#7926).
7579
da91b5f2
CY
75802011-04-02 Chong Yidong <cyd@stupidchicken.com>
7581
099c39a4
JB
7582 * emacs-lisp/package.el (package--with-work-buffer):
7583 Recognize https URLs.
da91b5f2 7584
099c39a4
JB
7585 * net/network-stream.el: Move from gnus/proto-stream.el.
7586 Change prefix to network-stream throughout.
da91b5f2
CY
7587 (open-protocol-stream): Merge into open-network-stream, leaving
7588 open-protocol-stream as an alias. Handle nil BUFFER args.
7589
7590 * subr.el (open-network-stream): Move to net/network-stream.el.
7591
afa8e9f6
GM
75922011-04-02 Glenn Morris <rgm@gnu.org>
7593
1d2e369d
GM
7594 * find-dired.el (find-exec-terminator): New option.
7595 (find-ls-option): Test for -ls support.
7596 (find-ls-subdir-switches): Test for -b in find-ls-option.
7597 (find-dired, find-grep-dired): Doc fixes.
7598 (find-dired): Use find-exec-terminator.
7599
8abb7da8 7600 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7601 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7602 (find-name-arg): Remove purecopy.
8abb7da8 7603
f3ca7378
GM
7604 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7605 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7606 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7607 accordingly. Don't add the null-device if not needed.
7608
afa8e9f6
GM
7609 * files.el (save-some-buffers): Doc fix.
7610
35eae264
EZ
76112011-04-02 Eli Zaretskii <eliz@gnu.org>
7612
7613 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7614
26b51db5
JB
76152011-04-01 Juanma Barranquero <lekktu@gmail.com>
7616
7617 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7618 Use `dolist' rather than `mapcar'.
7619
7200d79c
SM
76202011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7621
03408648 7622 Add lexical binding.
7200d79c 7623
03408648
SM
7624 * subr.el (apply-partially): Use new closures rather than CL.
7625 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7626 (dolist, dotimes): Use slightly different expansion for lexical code.
7627 (functionp): Move to C.
7628 (letrec): New macro.
7629 (with-wrapper-hook): Use it and apply-partially instead of CL.
7630 (eval-after-load): Preserve lexical-binding.
7631 (save-window-excursion, with-output-to-temp-buffer): Turn them
7632 into macros.
7200d79c 7633
03408648
SM
7634 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7635
7636 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7637 than the arglist.
7638 (help-add-fundoc-usage): Don't add `Not documented'.
7639 (help-function-arglist): Handle closures, subroutines, and new
7640 byte-code-functions.
7641 (help-make-usage): Remove leading underscores.
7642 (describe-function-1): Handle closures.
7643 (describe-variable): Use special-variable-p for completion.
7644
7645 * files.el (lexical-binding): Declare safe.
f488fb65 7646
03408648
SM
7647 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7648 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7649 (pcase): Add `let' pattern.
7650 Change memoization so it actually works.
7651 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7652 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7653 <let>: New case.
f488fb65 7654
03408648
SM
7655 * emacs-lisp/macroexp.el: Use lexical binding.
7656 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7657 Don't convert ' to #' without checking that it's indeed quoting
7658 a lambda.
7659
7660 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7661 Use eval-sexp-add-defvars.
03408648
SM
7662 (eval-sexp-add-defvars): New fun.
7663
7664 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7665
7666 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7667 Don't autoload.
7668 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7669 than the internal `byte-compile-lambda'.
7670 (defmethod): Don't hide code under quotes.
7671 (eieio-defmethod): New `code' argument.
7672
7673 * emacs-lisp/eieio-comp.el: Remove.
7674
7675 * emacs-lisp/edebug.el (edebug-eval-defun)
7676 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7677 (edebug-toggle): Avoid `eval'.
7678
7679 * emacs-lisp/disass.el (disassemble-internal): Handle new
7680 `closure' objects.
7681 (disassemble-1): Handle new byte codes.
7682
7683 * emacs-lisp/cl.el (pushnew): Silence warning.
7684
7685 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7686 (cl-byte-compile-throw): Remove.
7687 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7688
7689 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7690 closures.
7691
7692 * emacs-lisp/cconv.el: New file.
7693
7694 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7695 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7696 (byte-compile-initial-macro-environment):
7697 Handle declare-function here.
7698 (byte-compile--lexical-environment): New var.
7699 (byte-stack-ref, byte-stack-set, byte-discardN)
7700 (byte-discardN-preserve-tos): New lap codes.
7701 (byte-interactive-p): Don't use any more.
7702 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7703 New macros.
7704 (byte-compile-lapcode): Use them and handle new lap codes.
7705 (byte-compile-obsolete): Remove.
7706 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7707 (byte-compile-arglist-warn): Check late def of inlinable funs.
7708 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7709 since they should have been expanded by now.
7710 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7711 (byte-compile-from-buffer): Remove unused second arg.
7712 (byte-compile-preprocess): New function.
7713 (byte-compile-toplevel-file-form): New function to distinguish
7714 file-form calls from outside from file-form calls from hunk-handlers.
7715 (byte-compile-file-form): Simplify.
7716 (byte-compile-file-form-defsubst): Remove.
7717 (byte-compile-file-form-defmumble): Simplify now that
7718 byte-compile-lambda always returns a byte-code-function.
7719 (byte-compile): Preprocess.
7720 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7721 Remove, not used any more.
7722 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7723 (byte-compile-make-args-desc): New funs.
7724 (byte-compile-lambda): Handle lexical functions. Always return
7725 a byte-code-function.
7726 (byte-compile-reserved-constants): New var, to make up room for
7727 closed-over variables.
7728 (byte-compile-constants-vector): Obey it.
7729 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7730 (byte-compile-macroexpand-declare-function): New function.
7731 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7732 byte-code-functions.
7733 (byte-compile-form): Check obsolescence here.
7734 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7735 (byte-compile-variable-ref): Remove.
7736 (byte-compile-dynamic-variable-op): New fun.
7737 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7738 (byte-compile-variable-set): New funs.
7739 (byte-compile-discard): Add 2 args.
7740 (byte-compile-stack-ref, byte-compile-stack-set)
7741 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7742 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7743 macroexpand-all instead.
7744 (byte-compile-quote-form): Remove.
7745 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7746 (byte-compile-bind, byte-compile-unbind): New funs.
7747 (byte-compile-let): Handle let* and lexical binding.
7748 (byte-compile-let*): Remove.
7749 (byte-compile-catch, byte-compile-unwind-protect)
7750 (byte-compile-track-mouse, byte-compile-condition-case):
7751 Handle a new :fun-body form, used for lexical scoping.
7752 (byte-compile-save-window-excursion)
7753 (byte-compile-with-output-to-temp-buffer): Remove.
7754 (byte-compile-defun): Simplify.
7755 (byte-compile-stack-adjustment): New fun.
7756 (byte-compile-out): Use it.
7757 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7758
7759 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7760 handler any more.
7761
7762 * emacs-lisp/byte-opt.el: Use lexical binding.
7763 (byte-inline-lapcode): Remove (to bytecomp).
7764 (byte-compile-inline-expand): Pay attention to inlining to/from
7765 lexically bound code.
7766 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7767 any more.
7768 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7769 any more and don't call compiler-macros.
7770 (byte-compile-splice-in-already-compiled-code): Remove.
7771 (byte-code): Don't inline any more.
7772 (disassemble-offset): Receive `bytes' as argument rather than via
7773 dynamic scoping.
7774 (byte-compile-tag-number): Declare before first use.
7775 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7776 `return' even if make-spliceable.
7777 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7778 obsolete interactive-p.
7779 (byte-optimize-lapcode): Optimize new lap-codes.
7780 Don't trip up on new form of `byte-constant' lap code.
7781
7782 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7783
7784 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7785
7786 * custom.el (custom-initialize-default, custom-declare-variable):
7787 Use `defvar'.
7788
7789 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7790 New variables.
7791 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7792 (COMPILE_FIRST): Add macroexp and cconv.
7793 * makefile.w32-in: Mirror changes in Makefile.in.
7794
7795 * vc/cvs-status.el:
7796 * vc/diff-mode.el:
7797 * vc/log-edit.el:
7798 * vc/log-view.el:
7799 * vc/smerge-mode.el:
7800 * textmodes/bibtex-style.el:
7801 * textmodes/css.el:
7802 * startup.el:
7803 * uniquify.el:
da91b5f2
CY
7804 * minibuffer.el:
7805 * newcomment.el:
7806 * reveal.el:
7807 * server.el:
7808 * mpc.el:
7809 * emacs-lisp/smie.el:
7810 * doc-view.el:
7811 * dired.el:
03408648
SM
7812 * abbrev.el: Use lexical binding.
7813
0f0c1f27
EZ
78142011-04-01 Eli Zaretskii <eliz@gnu.org>
7815
7816 * info.el (info-display-manual): New function.
7817
c82b2579
SM
78182011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7819
7820 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7821
221ddf68
TH
78222011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7823
7824 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7825 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7826
cba6e77e
GM
78272011-03-31 Glenn Morris <rgm@gnu.org>
7828
e040639f
GM
7829 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7830
cba6e77e
GM
7831 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7832
6d0f1c9e
CS
78332011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7834
7835 * progmodes/python.el (python-default-interpreter)
7836 (python-python-command-args, python-jython-command-args)
7837 (python-which-shell, python-which-args, python-which-bufname)
7838 (python-file-queue, python-comint-output-filter-function)
7839 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7840 variables and functions.
7841
3e2d70fd
SM
78422011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7845 (completion-in-region-mode): New minor mode.
7846 (completion-in-region): Use it.
7847 (completion-in-region--data, completion-in-region-mode-map): New vars.
7848 (completion-in-region--postch): New function.
7849 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7850 New vars.
7851 (completion--capf-wrapper): New function.
7852 (completion-at-point): Use it to track well-behavedness of
7853 hook functions.
7854 (completion-help-at-point): New command.
7855
f3e4086c
JM
78562011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7857
7858 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7859 syntax class to search for whitespace on a single line
7860 (Message-ID: <4D938140.4030905@redhat.com>).
7861
eb7ffc14
LL
78622011-03-30 Leo Liu <sdl.web@gmail.com>
7863
7864 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7865 New commands.
7866 (edit-abbrevs-map): Bind them here.
7867 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7868
d806ab68
KM
78692011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7870
7871 * allout.el (allout-hide-by-annotation, allout-flag-region):
7872 Reduce possibility of overlay leakage by making them volatile.
7873
7874 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7875 hash is not shared between buffers. Mode initialization is
7876 responsible for giving it a useful starting value.
7877 (allout-item-span): Reduce possibility of overlay leakage by
7878 making them volatile.
7879 (allout-widgets-count-buttons-in-region): Add diagnostic function
7880 for tracking down button overlay leaks.
7881
ea622834
LL
78822011-03-29 Leo Liu <sdl.web@gmail.com>
7883
7884 * ido.el (ido-read-internal): Use the default history var
7885 minibuffer-history if no HISTORY is specified.
7886
b62f8267
G
78872011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7888
03408648
SM
7889 * net/imap.el (imap-shell-open, imap-process-connection-type):
7890 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7891 Kerberos, SSL, other subprocesses.
7892
947b6566
LL
78932011-03-28 Leo Liu <sdl.web@gmail.com>
7894
7895 * abbrev.el (abbrev-table-empty-p): New function.
7896 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7897 nonempty ones. (Bug#5937)
7898
5ffb62aa
JD
78992011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7900
7901 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7902
7a097943
LL
79032011-03-27 Leo Liu <sdl.web@gmail.com>
7904
7905 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7906 for foreground and background colors.
7907 (ansi-color-make-color-map): Adapt.
7908
c5b40130
LL
79092011-03-25 Leo Liu <sdl.web@gmail.com>
7910
1f48f7d2
LL
7911 * midnight.el (midnight-time-float): Remove. Note it calculates
7912 the microsecond component incorrectly and seconds-to-time does the
7913 same job.
625897ec 7914 Remove redundant (require 'timer).
1f48f7d2 7915
c5b40130
LL
7916 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7917 (ido-completions): Remove unused arguments. (Bug#8329)
7918
d86d2721
SM
79192011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * minibuffer.el (completion--flush-all-sorted-completions):
7922 Remove itself from hook.
7923 (completion-at-point): Let the functions perform the completion
7924 immediately and return nil or t.
7925 * comint.el (comint-dynamic-complete-functions): Now identical to
7926 completion-at-point-functions.
7927 (comint-dynamic-list-input-ring): Remove unused var `index'.
7928 (comint--match-partial-filename, comint--unquote&expand-filename):
7929 New funs, split from comint-match-partial-filename.
7930 (comint-dynamic-complete): Use completion-at-point.
7931 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7932
e8974c48
DA
79332011-03-24 Drew Adams <drew.adams@oracle.com>
7934
7935 * thingatpt.el: Support `defun'.
7936
def71b5e
LL
79372011-03-23 Leo Liu <sdl.web@gmail.com>
7938
cb5af48e
LL
7939 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7940
def71b5e
LL
7941 * help-mode.el (help-mode-finish): Tweak regexp.
7942
927c53e7
GM
79432011-03-23 Glenn Morris <rgm@gnu.org>
7944
18d05bed
GM
7945 * eshell/esh-opt.el (eshell-eval-using-options):
7946 Do not bind unused local variable `eshell-option-stub'.
7947
927c53e7
GM
7948 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7949
9d0da923
JB
79502011-03-22 Juanma Barranquero <lekktu@gmail.com>
7951
7952 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7953 keymap variable in `with-no-warnings' to avoid a warning when the
7954 keymap has been already `defconst'ed.
7955
4b978a67
LL
79562011-03-22 Leo Liu <sdl.web@gmail.com>
7957
7958 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7959 encode all chars in abbrevs; otherwise use emacs-mule or
7960 utf-8-emacs. (Bug#8308)
7961
5fd62452
JB
79622011-03-22 Juanma Barranquero <lekktu@gmail.com>
7963
0b1596c6
JB
7964 * simple.el (backward-delete-char-untabify):
7965 Avoid warning about using `delete-backward-char'.
7966
5fd62452
JB
7967 * image.el (image-type-file-name-regexps): Make it variable.
7968 `imagemagick-register-types' modifies it, and the user may want
7969 to add new extensions for known image types.
7970 (imagemagick-register-types): Throw error if not using ImageMagick.
7971
0b4e93f1
LL
79722011-03-22 Leo Liu <sdl.web@gmail.com>
7973
7974 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7975 located before rcirc-prompt-end-marker.
7976 (rcirc-complete): Error if point is not after rcirc prompt.
7977 Handle the case when table is nil.
9882e214 7978 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7979
fccee4ab
CY
79802011-03-22 Chong Yidong <cyd@stupidchicken.com>
7981
7982 * custom.el (custom--inhibit-theme-enable): Make it affect only
7983 custom-theme-set-variables and custom-theme-set-faces.
7984 (provide-theme): Ignore custom--inhibit-theme-enable.
7985 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7986 (custom-enabling-themes): Delete variable.
d86d2721
SM
7987 (enable-theme): Accept only loaded themes as arguments.
7988 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7989 (custom-enabled-themes): Forbid themes from setting this.
7990 Eliminate use of custom-enabling-themes.
7991 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7992
af896da6
LL
79932011-03-21 Leo Liu <sdl.web@gmail.com>
7994
7995 * ido.el (ido-read-internal): Add ido-selected to history instead
7996 of user input.
7997
78f64af0
SM
79982011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7999
8000 * subr.el (deferred-action-list, deferred-action-function):
8001 Mark obsolete.
8002
b16ac1ec
LL
80032011-03-21 Leo Liu <sdl.web@gmail.com>
8004
810f7698
LL
8005 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
8006 change on 2011-02-13 (bug#8309).
8007
b16ac1ec
LL
8008 * minibuffer.el (read-file-name-function): Change default value.
8009 (read-file-name--defaults): Rename from read-file-name-defaults.
8010 (read-file-name-default): Rename from read-file-name.
8011 (read-file-name): Call read-file-name-function.
8012
4e05e67e
GM
80132011-03-21 Glenn Morris <rgm@gnu.org>
8014
8015 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
8016 Doc fixes.
8017
4359915b
CY
80182011-03-21 Chong Yidong <cyd@stupidchicken.com>
8019
8020 * cus-theme.el: Add missing provide statement.
8021 (customize-create-theme): Extract theme value correctly.
8022 (custom-theme-visit-theme): Autoload.
8023 (customize-create-theme): Prompt before inserting default faces.
8024
1fe275ee
JB
80252011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
8026
8027 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
8028 units and musical notes.
8029
3ec03f7e
LL
80302011-03-20 Leo <sdl.web@gmail.com>
8031
8032 * ido.el (ido-read-internal): Use completing-read-default.
8033 (ido-completing-read): Fix compatibility with completing-read.
8034
7d476bde
CO
80352011-03-20 Christian Ohler <ohler@gnu.org>
8036
8037 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
8038 (ert-delete-all-tests): Use `called-interactively-p' rather than
8039 `interactive-p'.
8040 (ert--make-xrefs-region): Respect END.
8041
fe0fb33e
CY
80422011-03-19 Chong Yidong <cyd@stupidchicken.com>
8043
ff854b0b
CY
8044 * dired-aux.el (dired-create-directory): Signal an error if the
8045 directory already exists (Bug#8246).
8046
fe0fb33e
CY
8047 * facemenu.el (list-colors-display): Call list-faces-display
8048 inside with-help-window.
8049 (list-colors-print): Use display property to align the final
8050 column, instead of checking window-width.
8051
576bce32
EZ
80522011-03-19 Eli Zaretskii <eliz@gnu.org>
8053
4d61f28d 8054 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8055 windows-nt systems.
8056 (emerge-protect-metachars): Quote correctly for ms-dos and
8057 windows-nt systems.
8058
89c41d68 80592011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8060
8061 * info.el (info-initialize): Replace all uses of `:' with
8062 path-separator for compatibility with non-Unix systems.
8063 Cache quoting of path-separator. (Bug#8258)
8064
b14e3e21 80652011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8066
8067 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8068 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8069 (mouse-avoidance-mode): Fix typos in docstrings.
8070
4525ce3e
CY
80712011-03-19 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * startup.el (package-subdirectory-regexp): Move from package.el.
8074 Omit \\` and \\', and let callers add them.
8075
8076 * emacs-lisp/package.el (package-strip-version)
8077 (package-load-all-descriptors): Add \\` and \\' to
8078 package-subdirectory-regexp before using it.
8079 (package-untar-buffer): New arg DIR; ensure that file untars only
8080 into this expected directory. Remove superfluous delete-region.
8081 (package-unpack): Caller changed.
8082 (package-tar-file-info): Use package-subdirectory-regexp.
8083
a904a09a 80842011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8085
a904a09a
SM
8086 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8087 diff-mode-shared-map (bug#8284).
8088 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8089
80902011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8091
8092 * calendar/time-date.el (format-seconds): Use assoc instead of
8093 assoc-string, since assoc-string doesn't exist in XEmacs.
8094
171fc304
JB
80952011-03-17 Juanma Barranquero <lekktu@gmail.com>
8096
8097 * custom.el (custom-known-themes): Reflow docstring.
8098 (custom-theme-load-path): Fix typo in docstring.
8099 (load-theme): Fix typo in error message.
8100 (custom-available-themes, custom-variable-theme-value):
8101 Use `let', not `let*'.
8102
d71990a1
JB
81032011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8104
8105 * calc/README: Mention inclusion of musical notes.
8106
8107 * calc/calc-units.el (calc-lu-quant): Rename from
8108 `calc-logunits-quantity'.
8109 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8110 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8111 (calc-db): Rename from `calc-dblevel'.
8112 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8113 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8114 (calc-np): Rename from `calc-nplevel'.
8115 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8116 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8117 (calc-lu-plus): Rename from `calc-logunits-add'.
8118 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8119 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8120 (calc-lu-minus): Rename from `calc-logunits-sub'.
8121 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8122 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8123 (calc-lu-times): Rename from `calc-logunits-mul'.
8124 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8125 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8126 (calc-lu-divide): Rename from `calc-logunits-div'.
8127 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8128 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8129
8130 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8131 functions being autoloaded.
8132
8133 * calc/calc.el (calc-lu-power-reference): Rename from
8134 `calc-logunits-power-reference'.
8135 (calc-lu-field-reference): Rename from
8136 `calc-logunits-field-reference'.
8137
8138 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8139
40c2934b
SM
81402011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8141
8142 * minibuffer.el (completion-all-sorted-completions):
8143 Use :completion-cycle-penalty text property if present.
8144
b0911414
KM
81452011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8146
8147 * allout.el (allout-yank-processing): Adjust for new rebulleting
8148 regime so bullet being yanked is used without prompting the user
8149 for a choice.
8150
8a05b668
JB
81512011-03-16 Juanma Barranquero <lekktu@gmail.com>
8152
8153 * startup.el (command-line): Warn the user that _emacs is deprecated.
8154
5ba5fb81
JB
81552011-03-16 Juanma Barranquero <lekktu@gmail.com>
8156
8157 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8158 (delphi-verbose, delphi-comment-face, delphi-string-face)
8159 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8160 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8161 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8162 (delphi-new-comment-line, delphi-font-lock-defaults)
8163 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8164 Fix typos in docstrings.
8165
2dab465b
KM
81662011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8167
5ba5fb81 8168 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8169 Invert the roles of character and string values for INSTEAD, so a
8170 string is used for the more common case of a defaulting prompt.
8171
0adf5618
SM
81722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8173
8174 * progmodes/ruby-mode.el (ruby-backward-sexp):
8175 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8176 * play/gamegrid.el (gamegrid-make-face):
8177 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8178 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8179 * notifications.el (notifications-notify):
8180 * net/xesam.el (xesam-search-engines):
8181 * net/quickurl.el (quickurl-list-insert):
8182 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8183
d72700e5
CY
81842011-03-15 Chong Yidong <cyd@stupidchicken.com>
8185
8186 * startup.el (command-line): Update package subdirectory regexp.
8187
49c5410a
SM
81882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8189
c6eee9aa
SM
8190 * allout.el (allout-abbreviate-flattened-numbering)
8191 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8192
49c5410a
SM
8193 * subr.el (read-char-choice): Only show the cursor after the prompt,
8194 not after the answer.
8195
047b2bb9
KR
81962011-03-15 Kevin Ryde <user42@zip.com.au>
8197
8198 * help-fns.el (variable-at-point): Skip leading quotes, if any
8199 (bug#8253).
8200
0a57d256
SM
82012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8202
8203 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8204 warning message.
8205
77c992bc
MA
82062011-03-14 Michael Albinus <michael.albinus@gmx.de>
8207
8208 * shell.el (shell): When called interactively, offer to change the
8209 shell file name on remote hosts.
8210
eebc475d
TZ
82112011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8212
8213 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8214 integration for LDAP parameters. The host, base, user or binddn,
8215 and secret tokens can be specified in a netrc file, for instance.
8216 This is optional because an `auth-source' parameter must be
8217 specified in the search attributes.
8218
9d05d1ba
JB
82192011-03-13 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8222
09d9db2c
GM
82232011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8224
8225 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8226 into declaration. Remove redundant and harmful binding.
8227
82282011-03-12 Eli Zaretskii <eliz@gnu.org>
8229
8230 * files.el (file-ownership-preserved-p): Pass `integer' as an
8231 explicit 2nd argument to `file-attributes'. If the file's owner
8232 is the Administrators group on Windows, and the current user is
8233 Administrator, consider that a match.
8234
8235 * server.el (server-ensure-safe-dir): Consider server directory
8236 safe on MS-Windows if its owner is the Administrators group while
8237 the current Emacs user is Administrator. Use `=' to compare
8238 numerical UIDs, since they could be integers or floats.
8239
219bd536
JB
82402011-03-12 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8243
f3afd36b
MA
82442011-03-12 Michael Albinus <michael.albinus@gmx.de>
8245
8246 Sync with Tramp 2.2.1.
8247
8248 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8249
8250 * net/trampver.el: Update release number.
8251
3aaaa6f1
SM
82522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8253
94642599
SM
8254 * progmodes/compile.el (compilation--previous-directory): Fix up
8255 various nil/dead-marker mismatches (bug#8014).
8256 (compilation-directory-properties, compilation-error-properties):
8257 Don't call it at a position past the one we're about to change.
8258
3aaaa6f1
SM
8259 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8260 Disable obsolescence warnings in the file that declares it.
8261
14239447
KM
82622011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8263
099c39a4
JB
8264 * allout-widgets.el (allout-widgets-tally):
8265 Initialize allout-widgets-tally as a hash table rather than nil to
8266 prevent mode-line redisplay warnings. Also, clarify the module
8267 description and fix a comment typo.
14239447 8268
135e287c
JB
82692011-03-11 Juanma Barranquero <lekktu@gmail.com>
8270
8271 * help-fns.el (describe-variable): Don't complete keywords.
8272 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8273
ffbf300e
CY
82742011-03-10 Chong Yidong <cyd@stupidchicken.com>
8275
ba08b241
CY
8276 * emacs-lisp/package.el (package-version-join): Impose a standard
8277 string representation for pre/alpha/beta version lists.
8278 (package-unpack-single): Standardize the directory name by passing
8279 it through package-version-join.
8280 (package-strip-rcs-id): Accept any version string that does not
8281 signal an error in version-to-list.
ffbf300e 8282
f346fd6b
MA
82832011-03-10 Michael Albinus <michael.albinus@gmx.de>
8284
8285 * simple.el (delete-trailing-whitespace): Return nil for the
8286 benefit of `write-file-functions'.
8287
ccb55d27
GM
82882011-03-10 Glenn Morris <rgm@gnu.org>
8289
5ceaac0c
GM
8290 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8291
02da65ff
GM
8292 * vc/vc-git.el (vc-git-program): New option.
8293 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8294 (vc-git--call): Use it.
8295
b2f603cc
GM
8296 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8297
5772caab
GM
8298 * cus-edit.el (Custom-newline): If no button at point, look
8299 for a subgroup button at start-of-line. (Bug#2298)
8300
ccb55d27
GM
8301 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8302
ec6ecaed
JD
83032011-03-10 Julien Danjou <julien@danjou.info>
8304
8305 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8306 `cursor-type' is nil.
8307
9d5aa01d
JB
83082011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8309
8310 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8311
b6a5875b
KM
83122011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8313
8314 * allout.el Summary: Change so yank of distinctive-bullet items
8315 preserves the existing header prefix, rebulleting it if necessary,
8316 rather than replacing it. This is necessary for proper operation
8317 of cooperative addons like allout-widgets.
219bd536 8318 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8319 SOLICIT arg to INSTEAD, and interpret additionally a string value
8320 as alternate bullet to be used, instead of prompting the user for
8321 a bullet character.
8322
ee545c35
MA
83232011-03-09 Michael Albinus <michael.albinus@gmx.de>
8324
d86d2721
SM
8325 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8326 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8327 `tramp-default-port'.
8328
c47971d7
DD
83292011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8330
8331 * net/rcirc.el (rcirc-handler-001): Remove useless
8332 with-rcirc-process-buffer.
8333 (rcirc-check-auth-status): Swap arguments to string-match.
8334
13522cb4
GM
83352011-03-09 Glenn Morris <rgm@gnu.org>
8336
0be6f4f1
GM
8337 * shell.el (shell-mode):
8338 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8339
13522cb4
GM
8340 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8341 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8342
515de2e3
CY
83432011-03-08 Chong Yidong <cyd@stupidchicken.com>
8344
8345 * emacs-lisp/package.el (package-refresh-contents)
8346 (package-menu-execute): Use condition-case-no-debug.
8347
b511b994
MA
83482011-03-08 Michael Albinus <michael.albinus@gmx.de>
8349
8350 * simple.el (shell-command-to-string): Use `process-file'.
8351
8352 * emacs-lisp/package.el (package-tar-file-info): Handle also
8353 remote files.
8354
d86d2721
SM
8355 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8356 Use `equal' for upload base check.
b511b994 8357
25bbfb31
AM
83582011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8359
8360 * textmodes/texinfo.el (texinfo-environments):
8361 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8362
be996521
GM
83632011-03-08 Glenn Morris <rgm@gnu.org>
8364
e9c8529f
GM
8365 * cus-start.el (cursor-in-non-selected-windows):
8366 Fix :set quoting oddness. (Bug#8192)
8367
be996521
GM
8368 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8369 in some setf expressions. (Bug#2159)
8370
2bb5649e
CY
83712011-03-08 Chong Yidong <cyd@stupidchicken.com>
8372
8373 * custom.el (custom-available-themes): Return themes in
8374 alphabetical order.
8375
33383987 8376See ChangeLog.15 for earlier changes.
e3d51b27
MR
8377
8378;; Local Variables:
8379;; coding: utf-8
e3d51b27
MR
8380;; End:
8381
33383987 8382 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8383
8384 This file is part of GNU Emacs.
8385
8386 GNU Emacs is free software: you can redistribute it and/or modify
8387 it under the terms of the GNU General Public License as published by
8388 the Free Software Foundation, either version 3 of the License, or
8389 (at your option) any later version.
8390
8391 GNU Emacs is distributed in the hope that it will be useful,
8392 but WITHOUT ANY WARRANTY; without even the implied warranty of
8393 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8394 GNU General Public License for more details.
8395
8396 You should have received a copy of the GNU General Public License
8397 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.