* alloc.c (which_symbols): Declare EXTERNALLY_VISIBLE,
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
38bb2ca8
CY
12011-10-29 Chong Yidong <cyd@gnu.org>
2
aa4de341
CY
3 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
4
e1eb5385
CY
5 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6
5d2ece3c
CY
7 * textmodes/flyspell.el (flyspell-word): Fix char offset for
8 forged Ispell output (Bug#7904).
9
38bb2ca8
CY
10 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
11
d0af9f77
SM
122011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13
14 * doc-view.el: Avoid ugly errors about not finding nil.
15 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16 (doc-view-dvipdf-program, doc-view-unoconv-program)
17 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18 Avoid nil or absolute file name as default value.
19 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
20
52bedd34
AM
212011-10-28 Alan Mackenzie <acm@muc.de>
22
23 * progmodes/cc-defs.el (c-version). -> 5.32.2.
24
7e43cfa5
AM
252011-10-28 Alan Mackenzie <acm@muc.de>
26
27 Amend the handling of c-beginning/end-of-defun in nested declaration
28 scopes.
29
52bedd34
AM
30 * progmodes/cc-vars.el (c-defun-tactic): Move here from
31 cc-langs.el. Change it to a defcustom.
7e43cfa5 32
52bedd34
AM
33 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
34 cc-vars.el.
7e43cfa5
AM
35 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
36
d0af9f77
SM
37 * progmodes/cc-engine.el (c-beginning-of-statement-1):
38 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 39
52bedd34
AM
40 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
41 Add parameter `inclusive' (to include enclosing braces in the
42 region).
7e43cfa5
AM
43 (c-widen-to-enclosing-decl-scope): New function.
44 (c-while-widening-to-decl-block): New macro.
45 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
46 outward for defun boundaries, and correspondingly change symbol
47 `respect-enclosure' to `go-outward'.
48 (c-declaration-limits): Change algorithm to report only the "innermost"
49 defun's boundaries.
50
1a2ce9ee
DD
512011-10-28 Deniz Dogan <deniz@dogan.se>
52
53 * net/rcirc.el (rcirc-mode): Use hard newlines.
54
bc97a826
AM
552011-10-28 Alan Mackenzie <acm@muc.de>
56
57 Amend to indent and fontify macros "which include their own semicolon"
58 correctly, using the "virtual semicolon" mechanism.
59
52bedd34 60 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 61
d0af9f77
SM
62 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
63 Recoded to scan one line at at time rather than having \n and \r
52bedd34 64 explicitly in c-stmt-delim-chars
bc97a826
AM
65 (for some modes, e.g. AWK).
66 (c-forward-label): Amend for virtual semicolons.
67 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
68
52bedd34
AM
69 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
70 of the new C macros.
bc97a826 71
52bedd34
AM
72 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
73 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
bc97a826
AM
74 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
75 (c-opt-cpp-macro-define): Make into a full language variable.
76 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
77 AWK Mode (including \n, \r) removed, no longer needed.
78
d0af9f77
SM
79 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
80 Invoke c-make-macro-with-semi-re.
bc97a826 81
52bedd34
AM
82 * progmodes/cc-vars.el (c-macro-with-semi-re):
83 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
84 (c-make-macro-with-semi-re): New function
85
7a6c0941
SM
862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
87
88 * vc/log-edit.el: Fill empty field rather than adding new one.
89 (log-edit-add-field): New function.
90 (log-edit-insert-changelog): Use it.
91
b0c4cdcf
ML
922011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
93
94 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
95
ee1f1da9
SM
962011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
97
98 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
99 (gdb--check-interpreter): New function.
100 (gdb): Use it.
101
51bc5f8b
GM
1022011-10-27 Glenn Morris <rgm@gnu.org>
103
416a2c45
GM
104 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
105 (least-positive-float, least-negative-float)
106 (least-positive-normalized-float, least-negative-normalized-float)
107 (float-epsilon, float-negative-epsilon):
108 Remove unnecessary declarations.
109
110 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
111 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
112 (least-positive-float, least-negative-float)
113 (least-positive-normalized-float, least-negative-normalized-float)
114 (float-epsilon, float-negative-epsilon): Add doc-strings,
115 based on those in cl.texi.
116
51bc5f8b
GM
117 * files.el (set-visited-file-name): If the major-mode changed,
118 reload the local variables. (Bug#9796)
119
15de15c6
CY
1202011-10-27 Chong Yidong <cyd@gnu.org>
121
122 * subr.el (change-major-mode-after-body-hook): New hook.
123 (run-mode-hooks): Run it.
124
ee1f1da9
SM
125 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
126 Use change-major-mode-before-body-hook.
15de15c6
CY
127
128 * simple.el (fundamental-mode):
129 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
130 change introducing fundamental-mode-hook.
131
5430d399
JB
1322011-10-26 Juanma Barranquero <lekktu@gmail.com>
133
a7ef684b 134 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 135
ad74a69e
MA
1362011-10-26 Michael Albinus <michael.albinus@gmx.de>
137
138 * ido.el (ido-file-name-all-completions-1): Do not require
139 tramp.el explicitely. (Bug#7583)
140
71d4c2a5
SM
1412011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
142
143 * progmodes/octave-mod.el:
144 * progmodes/octave-inf.el: Update maintainer.
145
b1f6fa26
CY
1462011-10-26 Chong Yidong <cyd@gnu.org>
147
148 * subr.el (with-wrapper-hook): Rewrite doc.
149
3f04efd6
MA
1502011-10-25 Michael Albinus <michael.albinus@gmx.de>
151
152 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 153 filenames "/method:foo:". (Bug#9793)
3f04efd6 154
410488d3
SM
1552011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
158 (bug#9865).
159
c1ebb47e
GM
1602011-10-24 Glenn Morris <rgm@gnu.org>
161
162 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
163
7f5c46c7
MA
1642011-10-24 Michael Albinus <michael.albinus@gmx.de>
165
166 * notifications.el: Add the requirement of a running D-Bus session
167 bus to the Commentary.
168
db2440b6
JL
1692011-10-24 Juri Linkov <juri@jurta.org>
170
171 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
172 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
173 (Bug#9364)
174
feecf435
JL
1752011-10-24 Juri Linkov <juri@jurta.org>
176
177 * info.el (Info-following-node-name-re): Add newline to the list
178 of allowed characters for leading space. (Bug#9824)
179
a3839de2
SM
1802011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
181
182 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
183 * progmodes/octave-mod.el (octave-help): Remove.
184
09388e76
MA
1852011-10-23 Michael Albinus <michael.albinus@gmx.de>
186
187 Sync with Tramp 2.2.3.
188
189 * net/tramp-cache.el (top): Pacify byte-compiler using
190 `init-file-user' and `site-run-file'.
191
192 * net/trampver.el: Update release number.
193
86c60681
CY
1942011-10-23 Chong Yidong <cyd@gnu.org>
195
196 * files.el (toggle-read-only): Remove obsolete comment about
197 version control.
198
199 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
200 for toggle-read-only. Note that this hasn't called vc-next-action
201 since 2008-05-02, though it wasn't documented at the time.
202
a3839de2
SM
203 * vc/ediff-init.el (ediff-toggle-read-only-function):
204 Use toggle-read-only.
86c60681 205
cd5495ff
AM
2062011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
207
208 Fix bug #9560, sporadic wrong indentation; improve instrumentation
209 of c-parse-state.
210
a3839de2
SM
211 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
212 correct faulty logical expression.
cd5495ff
AM
213 (c-parse-state-state, c-record-parse-state-state):
214 (c-replay-parse-state-state): New defvar/defuns.
215 (c-debug-parse-state): Use new functions.
216
42ee24ed
MR
2172011-10-22 Martin Rudalics <rudalics@gmx.at>
218
219 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 220 last fix. Use window-in-direction correctly.
42ee24ed 221
a7dee7e7
CY
2222011-10-21 Chong Yidong <cyd@gnu.org>
223
224 * progmodes/idlwave.el (idlwave-mode):
225 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
226 require-final-newline; that's done in prog-mode.
227 Suggested by Stefan Monnier.
a7dee7e7 228
e07b9a6d
MR
2292011-10-21 Martin Rudalics <rudalics@gmx.at>
230
231 * mouse.el (mouse-drag-window-above)
232 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
233 (mouse-drag-mode-line-1, mouse-drag-header-line)
234 (mouse-drag-vertical-line-rightward-window): Remove.
235 (mouse-drag-line): New function.
236 (mouse-drag-mode-line, mouse-drag-header-line)
237 (mouse-drag-vertical-line): Call mouse-drag-line.
238 * window.el (window-at-side-p, windows-at-side): New functions.
239
7e1361d9
UM
2402011-10-21 Ulrich Mueller <ulm@gentoo.org>
241
242 * tar-mode.el (tar-grind-file-mode):
243 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
244
30fcaf3a
CY
2452011-10-21 Chong Yidong <cyd@gnu.org>
246
247 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
248 * progmodes/vera-mode.el (vera-mode):
249 Use mode-require-final-newline.
30fcaf3a 250
516eddb0
GM
2512011-10-20 Glenn Morris <rgm@gnu.org>
252
253 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
254
10d5f513
CS
2552011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
256
257 * emulation/cua-base.el (cua-set-mark): Fix case of string.
258
ac6c8639
CY
2592011-10-20 Chong Yidong <cyd@gnu.org>
260
261 * emulation/cua-base.el (cua-mode):
262 * mail/footnote.el (footnote-mode):
263 * mail/mailabbrev.el (mail-abbrevs-mode):
264 * net/xesam.el (xesam-minor-mode):
265 * progmodes/bug-reference.el (bug-reference-mode):
266 * progmodes/cap-words.el (capitalized-words-mode):
267 * progmodes/compile.el (compilation-minor-mode)
268 (compilation-shell-minor-mode):
269 * progmodes/gud.el (gud-tooltip-mode):
270 * progmodes/hideif.el (hide-ifdef-mode):
271 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
272 * progmodes/subword.el (subword-mode):
273 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
274 * progmodes/which-func.el (which-function-mode):
275 * term/tvi970.el (tvi970-set-keypad-mode):
276 * term/vt100.el (vt100-wide-mode):
277 * textmodes/flyspell.el (flyspell-mode):
278 * textmodes/ispell.el (ispell-minor-mode):
279 * textmodes/nroff-mode.el (nroff-electric-mode):
280 * textmodes/paragraphs.el (use-hard-newlines):
281 * textmodes/refill.el (refill-mode):
282 * textmodes/reftex.el (reftex-mode):
283 * textmodes/rst.el (rst-minor-mode):
284 * textmodes/sgml-mode.el (html-autoview-mode)
285 (sgml-electric-tag-pair-mode):
286 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
287 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
288 * emulation/crisp.el (crisp-mode):
289 * emacs-lisp/eldoc.el (eldoc-mode):
290 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
291 minor mode behavior.
292
aa42ab43
JL
2932011-10-19 Juri Linkov <juri@jurta.org>
294
295 * descr-text.el (describe-char): Add #x2010 and #x2011 to
296 the list of hard-coded chars with escape-glyph face.
297
89400f1d
SM
2982011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
301
305c07f6
MA
3022011-10-19 Michael Albinus <michael.albinus@gmx.de>
303
304 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
305 running process.
306
13754b54
GM
3072011-10-19 Glenn Morris <rgm@gnu.org>
308
309 * vc/vc-bzr.el (vc-bzr-after-dir-status):
310 Ignore ignored files. (Bug#9726)
311
06e21633
CY
3122011-10-19 Chong Yidong <cyd@gnu.org>
313
314 Doc fix for minor modes, stating that an omitted argument enables
315 the mode unconditionally when called from Lisp.
316
317 * abbrev.el (abbrev-mode):
318 * allout.el (allout-mode):
319 * autoinsert.el (auto-insert-mode):
320 * autoarg.el (autoarg-mode, autoarg-kp-mode):
321 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
322 (global-auto-revert-mode):
323 * battery.el (display-battery-mode):
324 * composite.el (global-auto-composition-mode)
325 (auto-composition-mode):
326 * delsel.el (delete-selection-mode):
327 * desktop.el (desktop-save-mode):
328 * dired-x.el (dired-omit-mode):
329 * dirtrack.el (dirtrack-mode):
330 * doc-view.el (doc-view-minor-mode):
331 * double.el (double-mode):
332 * electric.el (electric-indent-mode, electric-pair-mode):
333 * emacs-lock.el (emacs-lock-mode):
334 * epa-hook.el (auto-encryption-mode):
335 * follow.el (follow-mode):
336 * font-core.el (font-lock-mode):
337 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
338 * help.el (temp-buffer-resize-mode):
339 * hilit-chg.el (highlight-changes-mode)
340 (highlight-changes-visible-mode):
341 * hi-lock.el (hi-lock-mode):
342 * hl-line.el (hl-line-mode, global-hl-line-mode):
343 * icomplete.el (icomplete-mode):
344 * ido.el (ido-everywhere):
345 * image-file.el (auto-image-file-mode):
346 * image-mode.el (image-minor-mode):
347 * iswitchb.el (iswitchb-mode):
348 * jka-cmpr-hook.el (auto-compression-mode):
349 * linum.el (linum-mode):
350 * longlines.el (longlines-mode):
351 * master.el (master-mode):
352 * mb-depth.el (minibuffer-depth-indicate-mode):
353 * menu-bar.el (menu-bar-mode):
354 * minibuf-eldef.el (minibuffer-electric-default-mode):
355 * mouse-sel.el (mouse-sel-mode):
356 * msb.el (msb-mode):
357 * mwheel.el (mouse-wheel-mode):
358 * outline.el (outline-minor-mode):
359 * paren.el (show-paren-mode):
360 * recentf.el (recentf-mode):
361 * reveal.el (reveal-mode, global-reveal-mode):
362 * rfn-eshadow.el (file-name-shadow-mode):
363 * ruler-mode.el (ruler-mode):
364 * savehist.el (savehist-mode):
365 * scroll-all.el (scroll-all-mode):
366 * scroll-bar.el (scroll-bar-mode):
367 * server.el (server-mode):
368 * shell.el (shell-dirtrack-mode):
369 * simple.el (auto-fill-mode, transient-mark-mode)
370 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
371 (line-number-mode, column-number-mode, size-indication-mode)
372 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
373 * strokes.el (strokes-mode):
374 * time.el (display-time-mode):
375 * t-mouse.el (gpm-mouse-mode):
376 * tool-bar.el (tool-bar-mode):
377 * tooltip.el (tooltip-mode):
378 * type-break.el (type-break-mode-line-message-mode)
379 (type-break-query-mode):
380 * view.el (view-mode):
381 * whitespace.el (whitespace-mode, whitespace-newline-mode)
382 (global-whitespace-mode, global-whitespace-newline-mode):
383 * xt-mouse.el (xterm-mouse-mode): Doc fix.
384
a3839de2
SM
385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
386 Fix autogenerated docstring.
06e21633 387
5214e501
JL
3882011-10-19 Juri Linkov <juri@jurta.org>
389
390 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
391 by checking environment variables "DESKTOP_SESSION" and
392 "XDG_CURRENT_DESKTOP". (Bug#9779)
393
195f8db9
JL
3942011-10-19 Juri Linkov <juri@jurta.org>
395
396 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
397 (browse-url-chromium-program, browse-url-chromium-arguments):
398 New defcustoms.
399 (browse-url-default-browser): Check for `browse-url-chromium' and
400 call `browse-url-chromium-program'.
401 (browse-url-chromium): New command. (Bug#9779)
402
343a34ff
JB
4032011-10-18 Juanma Barranquero <lekktu@gmail.com>
404
405 * facemenu.el (list-colors-duplicates): On Windows, detect more
406 duplicates by assuming that only colors matching "^System" are
407 special "system colors". (Bug#9722)
408
6978a151
SM
4092011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
410
411 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
412 to distinguish the author from the committer.
413
6a80b297
MA
4142011-10-18 Michael Albinus <michael.albinus@gmx.de>
415
416 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
417
b31a5677
JK
4182011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
419
420 * international/mule.el (sgml-html-meta-auto-coding-function):
421 Add support for detecting encoding in HTML5 specified only as
422 <meta charset="UTF-8">. Implementation just makes http-equiv and
423 content-type parts from HTML4 encoding string optional. (Bug#9716)
424
80c6d77f
GM
4252011-10-18 Glenn Morris <rgm@gnu.org>
426
427 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
428
08b0fee8
CY
4292011-10-18 Chong Yidong <cyd@gnu.org>
430
431 * faces.el (cursor): Doc fix.
432
67e729a5
CY
4332011-10-17 Chong Yidong <cyd@gnu.org>
434
435 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
436
343a34ff 4372011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
438
439 * dirtrack.el (dirtrack): Support shell buffers with path
440 prefixes, e.g. tramp-based remote shells. (Bug#9647)
441
0bc06380
TZ
4422011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
443
444 * json.el: Bump version to 1.3 and note change in History.
445 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
446
8b79f3e0
SM
4472011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
448
5a7c536b
SM
449 * comint.el (comint-insert-input, comint-send-input)
450 (comint-get-old-input-default, comint-backward-matching-input)
451 (comint-next-prompt): Use nil instead of `input' for field property of
452 past user input (bug#114).
453
96a8a0df
SM
454 * minibuffer.el (completion--replace): Inherit surrounding properties
455 (bug#114).
456 (minibuffer-complete-and-exit): Use it.
457
8b79f3e0
SM
458 * comint.el (comint--table-subvert): Quote the all-completions output
459 (bug#9160).
460
b8f7ff0d
MR
4612011-10-17 Martin Rudalics <rudalics@gmx.at>
462
8b79f3e0 463 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 464
b8f7ff0d 465 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 466 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
467 entries and separate them from frame entries.
468
c235b555
GM
4692011-10-15 Glenn Morris <rgm@gnu.org>
470
471 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
472 Doc fixes.
473
6bbfa6e1
CY
4742011-10-15 Chong Yidong <cyd@stupidchicken.com>
475
8b79f3e0
SM
476 * net/network-stream.el (network-stream-open-starttls):
477 Improve detection of failure due to lack of TLS support.
ec5c990d 478
6bbfa6e1
CY
479 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
480 putting the input text in front and in bold.
481
98488977
SM
4822011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
483
3d1337be
SM
484 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
485
ee0b45e4
SM
486 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
487 empty buffer.
488
98488977
SM
489 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
490 unread-command-events rather than pushing yet-another event.
491
186f4720
EZ
4922011-10-14 Eli Zaretskii <eliz@gnu.org>
493
494 * mail/sendmail.el (sendmail-query-once): Improve the wording of
495 the explanation of the possible choices. Make the options passed
496 to completing-read shorter.
497
8b7a997c
AM
4982011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
499
500 * textmodes/flyspell.el (flyspell-large-region): Make sure
501 extended character mode is used if defined (Bug#1339).
502
12587bbb
EZ
5032011-10-13 Eli Zaretskii <eliz@gnu.org>
504
505 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
506 character info for LRE, LRO, RLE, and RLO characters by appending
507 an invisible PDF.
12587bbb 508
bad41229
SM
5092011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
512 even in case of error; add debug spec; simplify data flow.
513 (with-timeout-handler): Remove.
514
28dbc92f
MA
5152011-10-12 Michael Albinus <michael.albinus@gmx.de>
516
517 Fix Bug#6019, Bug#9315.
518
519 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
520 complete `buffer-file-name', the local file name part could look
521 remotely (for example on VMS).
522
523 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
524 `tramp-run-real-handler'.
525 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
526 already quoted by '"'.
527
528 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
529 Let `file-name-handler-alist' be nil, the local file name part
530 could look remotely (for example on VMS).
531
e1b0b23a
SM
5322011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
533
534 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
535 from here...
536 (flyspell-post-command-hook): ...to here.
537
a120bde9
SM
5382011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
541 if not needed.
542 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
543 using completion. Protect against "slow" callers.
544 Remove the "message hack".
545
7ce7717b
JL
5462011-10-11 Juri Linkov <juri@jurta.org>
547
548 * isearch.el (isearch-lazy-highlight-word): New variable.
549 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
550 Use it. (Bug#9727)
551
c02ee9d6
GM
5522011-10-11 Glenn Morris <rgm@gnu.org>
553
554 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
555 like f90-previous-statement does.
556
93e616fd 5572011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
558
1f190e73 559 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
560 only in interactive use, to avoid error.
561
af7b6078
SM
5622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * minibuffer.el (completion-file-name-table): Fix last change,
565 i.e. ignore normal errors but not the other ones.
566
0563dae9
MR
5672011-10-10 Martin Rudalics <rudalics@gmx.at>
568
569 * window.el (special-display-buffer-names)
570 (special-display-regexps): Remove some remnants of earlier
571 changes from doc-strings.
366ca7f3
MR
572 (quit-windows-on): New function.
573
574 * vc/vc.el (vc-revert, vc-rollback):
575 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
576 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 577 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 578
49677495
MR
5792011-10-09 Martin Rudalics <rudalics@gmx.at>
580
581 * window.el (frame-auto-hide-function): Add version tag.
582 (Bug#9699)
583
56f2d1e1
MA
5842011-10-09 Michael Albinus <michael.albinus@gmx.de>
585
586 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
587 condition.
588
112a6592
LL
5892011-10-09 Leo Liu <sdl.web@gmail.com>
590
591 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
592 (Bug#9701)
593
0812589b
GM
5942011-10-08 Glenn Morris <rgm@gnu.org>
595
596 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
597 before the first code statement zero indent. (Bug#9690)
598
b2b0776e
CY
5992011-10-08 Chong Yidong <cyd@stupidchicken.com>
600
601 * simple.el (count-words-region): Always count in the region.
602 Report the number of lines and characters too.
603 (count-words): New command, which counts in the buffer if the
604 region is inactive, as count-words-region used to.
605 (count-words--message): New function. Handle plurals.
606 (count-lines-region): Make it an alias for count-words-region.
607
608 * bindings.el (esc-map): Replace count-lines-region with
609 count-words-region.
610
c557cd6b
MR
6112011-10-08 Martin Rudalics <rudalics@gmx.at>
612
613 * window.el (window--delete): Delete dedicated frame
614 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 615 (switch-to-buffer): Fix doc-string typo.
c557cd6b 616
61a57ef4 6172011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
618
619 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
620
c3833279
CY
6212011-10-07 Chong Yidong <cyd@stupidchicken.com>
622
623 * bindings.el ([M-left],[M-right]): Bind to left-word and
624 right-word respectively.
625
21ce8245
GM
6262011-10-07 Glenn Morris <rgm@gnu.org>
627
628 * cus-start.el (debug-on-quit): Fix custom type.
629
6d823bb2
LMI
6302011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
631
0181e193
LMI
632 * subr.el (define-key-after): Clarify that the function is not
633 useful for non-menu keymaps.
634
6d823bb2
LMI
635 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
636
8e3459ce 6372011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
638
21ce8245 639 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 640 in current minibuffer (Fix bug with recursive minibuffers).
641
a1c2d21e
CY
6422011-10-06 Chong Yidong <cyd@stupidchicken.com>
643
644 * progmodes/gdb-mi.el (gdb): Doc fix.
645
5a4cf282
MR
6462011-10-05 Martin Rudalics <rudalics@gmx.at>
647
648 * window.el (frame-auto-hide-function): New option replacing
649 frame-auto-delete. Suggested by Stefan Monnier.
650 (window--delete): Call frame-auto-hide-function instead of
651 investigating frame-auto-delete.
c96111ea
MR
652 (window-point-1, set-window-point-1): New functions.
653 (window-in-direction, record-window-buffer, window-state-get-1)
654 (display-buffer-record-window): Use window-point-1 instead of
655 window-point.
656 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 657
9854542e
SM
6582011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
661
8943cfb0
GM
6622011-10-05 Glenn Morris <rgm@gnu.org>
663
664 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
665 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
666
647ab967
LL
6672011-10-05 Leo Liu <sdl.web@gmail.com>
668
669 * subr.el (read-char-choice): Fix argument to buffer-live-p which
670 works with buffer object.
671
3ddfbced
SM
6722011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
673
674 * mpc.el (mpc-tool-bar-map): Add labels.
675
bdfa5dd2
GM
6762011-10-04 Glenn Morris <rgm@gnu.org>
677
678 * calendar/holidays.el (calendar-check-holidays): Doc fix.
679
0e2070b5
MR
6802011-10-04 Martin Rudalics <rudalics@gmx.at>
681
682 * window.el (window--delete): New function.
683 (frame-auto-delete): Resuscitate option.
684 (bury-buffer, replace-buffer-in-windows)
685 (quit-window): Rewrite using window--delete.
686 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
687 Pass display-buffer-mark-dedicated to window--display-buffer-2
688 (Bug#9639).
689
3dc61a09
SM
6902011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
691
915a9b64
SM
692 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
693 returns a list (bug#9554). Add remote file name completion.
694 * comint.el (comint--table-subvert): Curry and get quote&unquote
695 functions as arguments.
696 (comint--complete-file-name-data): Adjust call accordingly.
697 * pcomplete.el (pcomplete--table-subvert): Remove.
698 (pcomplete-completions-at-point): Use comint--table-subvert instead.
699
3dc61a09
SM
700 * minibuffer.el (completion-table-case-fold): Use currying.
701 (completion--styles-type, completion--cycling-threshold-type):
702 New constants.
703 (completion-styles, completion-category-overrides)
704 (completion-cycle-threshold): Use them.
705 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
706 completion-table-case-fold.
707
8ea0a993
SB
7082011-10-03 Stephen Berman <stephen.berman@gmx.net>
709
710 * minibuffer.el (completion-category-overrides): Fix type of styles
711 and add more user friendly tags (bug#9660).
712
8c24b7f6
SM
7132011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
716 (mule-input-method-string): New widget.
717 (default-input-method, language-info-custom-alist): Use it.
718
428fe61a
SM
7192011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
720
32c1fffd
SM
721 * pcomplete.el: Require comint.
722 (pcomplete--common-suffix): Remove.
723 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
724 (pcomplete--table-subvert): Sync with comint--table-subvert.
725 (pcomplete--entries): Use comint-completion-file-name-table.
726 * comint.el (comint-unquote-filename): Simplify.
727 (comint-completion-file-name-table): New function (bug#9616).
728 (comint--complete-file-name-data): Use it.
729
428fe61a
SM
730 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
731 (pcmpl-gnu-tar-buffer): Remove.
732 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
733 around. Make sure pcomplete-suffix-list is only changed temporarily.
734 Don't look inside the tar's file if it's too large.
428fe61a 735
04c52e2f
CY
7362011-10-01 Chong Yidong <cyd@stupidchicken.com>
737
ce3cefcc
CY
738 * cus-edit.el (custom-mode-map):
739 * epa.el (epa-key-list-mode-map):
740 * man.el (Man-mode-map):
741 * startup.el (splash-screen-keymap):
742 * simple.el (special-mode-map): Use scroll-up-command and
743 scroll-down-command.
744
745 * progmodes/idlw-help.el (idlwave-help-mode-map):
746 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
747 * net/newst-plainview.el (newsticker-mode-map):
748 * emulation/ws-mode.el (wordstar-mode-map):
749 * emulation/vi.el (vi-com-map):
750 * calc/calc-graph.el (calc-graph-show-dumb):
751 * term/sun.el (terminal-init-sun):
752 * term/ns-win.el (global-map):
753 * progmodes/grep.el (grep-mode-map):
754 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
755 * mail/rmail.el (rmail-mode-map):
756 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
757
04c52e2f
CY
758 * custom.el (custom-safe-themes, load-theme): Treat value of t for
759 custom-safe-themes as special.
760
79adf8c8
JD
7612011-10-01 Julien Danjou <julien@danjou.info>
762
763 * notifications.el (notifications-notify): Fix docstring.
764
63bd50d3
PS
7652011-10-01 Per Starbäck <per@starback.se>
766
767 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
768
199e4c7e
MR
7692011-09-30 Martin Rudalics <rudalics@gmx.at>
770
771 * startup.el (command-line-1): Fix last fix by inserting
772 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 773 (Bug#9605) and (Bug#9636)
199e4c7e 774
fe5f08dd
EZ
7752011-09-29 Eli Zaretskii <eliz@gnu.org>
776
777 * simple.el (line-move): If auto-hscroll-mode is disabled and the
778 window is hscrolled, move by logical lines. (Bug#9607)
779 (line-move-visual): Update the doc string to the above effect.
780
b5516bbd
MR
7812011-09-29 Martin Rudalics <rudalics@gmx.at>
782
ccee00c0
MR
783 * window.el (display-buffer-record-window): When WINDOW is the
784 selected window use `point' instead of `window-point'. (Bug#9626)
785
b5516bbd
MR
786 * startup.el (command-line-1): Use insert-before-markers when
787 inserting initial-scratch-message. (Bug#9605)
ccee00c0 788
b5516bbd
MR
789 * help.el (help-window): Remove variable.
790
52aa0014
GM
7912011-09-29 Glenn Morris <rgm@gnu.org>
792
793 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
794
df9a7357
JB
7952011-09-29 Juanma Barranquero <lekktu@gmail.com>
796
797 * descr-text.el (describe-char-categories): Accept category
798 descriptions more than one line long.
799
a8406c20
SM
8002011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
801
88d9610c
SM
802 * simple.el (delete-trailing-whitespace): Fix last change.
803
a5daf810
SM
804 * progmodes/perl-mode.el (perl-syntax-propertize-function):
805 Don't confuse "y => 3" as the beginning of a `y' operation.
806
a8406c20
SM
807 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
808 object has more than 4 slots (bug#9613).
809
a239d4e9
JB
8102011-09-28 Juanma Barranquero <lekktu@gmail.com>
811
812 * subr.el (with-output-to-temp-buffer):
813 * net/quickurl.el (quickurl, quickurl-browse-url):
814 Fix typos in docstrings.
815
693fbdb6
EZ
8162011-09-27 Eli Zaretskii <eliz@gnu.org>
817
818 * minibuffer.el (completion-styles)
819 (completion-category-overrides): Cross reference each other in doc
820 strings.
821
8b457e28
GM
8222011-09-27 Glenn Morris <rgm@gnu.org>
823
824 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
825 to split-string. (Bug#9606)
826
85a16208
LMI
8272011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
828
829 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
830 (bug#9615).
831
502f9ebd
CY
8322011-09-27 Chong Yidong <cyd@stupidchicken.com>
833
834 * emacs-lisp/package.el (list-packages): Fix echo area message.
835
7690bdea
LL
8362011-09-27 Leo Liu <sdl.web@gmail.com>
837
838 * ido.el (ido-read-internal): Accept cons cell HIST arg.
839
e2ee6f30
MA
8402011-09-25 Michael Albinus <michael.albinus@gmx.de>
841
842 * net/dbus.el (dbus-unregister-object): Don't release services for
843 registered signals. (Bug#9581)
844
f3f98342
TZ
8452011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
846
847 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
848 function that picks between cfengine 2 and 3 support
849 automatically. Update docs accordingly.
850
dd7aa8dd
KH
8512011-09-22 Kenichi Handa <handa@m17n.org>
852
853 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
854 ZERO.
855 (indian-itrans-v5-table-for-tamil): New variable.
856 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
857
3f2b07f8
KM
8582011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
859
860 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
861 that's true if the current command involved collapsing of text.
862 It's reset to false at the beginning of the next command.
863 (allout-post-command-business): Move the cursor to the beginning
864 of entry if the cursor is hidden and collapsing activity just
865 happened.
866
371d6a61
CY
8672011-09-24 Chong Yidong <cyd@stupidchicken.com>
868
869 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
870 tracking (Bug#9541).
871
2ac2721a
UJ
8722011-09-24 Ulf Jasper <ulf.jasper@web.de>
873
874 * net/newst-reader.el (newsticker-html-renderer)
875 (newsticker-show-news): Automatically
343a34ff
JB
876 load html rendering package if newsticker-html-renderer is set.
877 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
878 let-bound" and the error "Symbol's value as variable is void:
879 w3m-fill-column".
880
fac7ae53
MA
8812011-09-24 Michael Albinus <michael.albinus@gmx.de>
882
883 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
884 Release services only if they are defined. (Bug#9581)
885
e08b633b
RS
8862011-09-23 Richard Stallman <rms@gnu.org>
887
e488d29c
RS
888 * textmodes/paragraphs.el (forward-sentence): For backwards case,
889 distinguish start of paragraph from start of its text.
890
19c38752
RS
891 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
892
e08b633b
RS
893 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
894 (rmail-generate-viewer-buffer): Put that hook on view buffer.
895 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
896
0a39f27e
AS
8972011-09-23 Andreas Schwab <schwab@linux-m68k.org>
898
899 * international/mule-diag.el (mule-diag): Insert a newline after
900 each fontset description.
901
db4e950d
SM
9022011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
903
904 * simple.el (delete-trailing-whitespace):
905 Document last change; simplify.
906
eca3f3ea
PW
9072011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
908
d68e189a
PW
909 * simple.el (delete-trailing-whitespace): Also delete
910 extra newlines at the end of the buffer.
911
eca3f3ea
PW
912 * textmodes/picture.el: Make motion commands obey shift-select-mode.
913 (picture-newline): Use forward-line so as to ignore fields.
914
01c157cc
SM
9152011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * subr.el (with-wrapper-hook): Fix edebug spec.
918
022de23e
LMI
9192011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
920
921 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
922 (bug#4538).
923
91683089
MA
9242011-09-23 Michael Albinus <michael.albinus@gmx.de>
925
eca3f3ea
PW
926 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
927 Fix nasty bug using wrong cached values.
91683089 928
5bdd6fa4
AM
9292011-09-23 Alan Mackenzie <acm@muc.de>
930
931 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
932
97adfb97
CY
9332011-09-23 Chong Yidong <cyd@stupidchicken.com>
934
935 * window.el (pop-to-buffer): Ensure right window is selected if we
936 chose another frame.
937
d4ef2b50
EZ
9382011-09-22 Eli Zaretskii <eliz@gnu.org>
939
940 * simple.el (what-cursor-position): Use get-char-property-change
941 and next-single-char-property-change, to be able to show display
942 properties that come from overlays as well as text properties.
943
72258fe5
CY
9442011-09-22 Chong Yidong <cyd@stupidchicken.com>
945
946 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
947
948 * cmuscheme.el (run-scheme, switch-to-scheme):
949 * cus-edit.el (customize-group, custom-buffer-create)
950 (customize-browse):
951 * info.el (info):
952 * shell.el (shell):
953 * mail/sendmail.el (mail):
954 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
955
8f098516
RS
9562011-09-22 Richard Stallman <rms@gnu.org>
957
958 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
959 move back only to line beg, don't move back over blank lines.
960
e74f1bb6
MA
9612011-09-22 Michael Albinus <michael.albinus@gmx.de>
962
963 * files.el (copy-directory): Set directory attributes only in case
964 they could be retrieved from the source directory. (Bug#9565)
965
bfeef8b6
DK
9662011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
967
968 * progmodes/hideshow.el (hs-looking-at-block-start-p)
969 (hs-find-block-beginning, hs-hide-level-recursive):
970 Ignore strings as well as comments. (Bug#9502)
971
7e423bb8
AS
9722011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
973
974 * progmodes/sql.el (sql-comint-postgres):
975 Convert port number to a string. (Bug#9566)
976
b4d72fcf
MR
9772011-09-22 Martin Rudalics <rudalics@gmx.at>
978
979 * window.el (quit-window): Undedicate window when switching to
980 previous buffer. Reported by Thierry Volpiatto
981 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
982 (special-display-popup-frame): When popping up a new frame reset
983 its previous buffers to nil. Simplify code.
b4d72fcf 984
a7b88dc6
MA
9852011-09-21 Michael Albinus <michael.albinus@gmx.de>
986
987 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
988 and process filter, as done also in `shell-command'.
989
cf4eacfd
MR
9902011-09-21 Martin Rudalics <rudalics@gmx.at>
991
eca3f3ea
PW
992 * window.el (set-window-buffer-start-and-point):
993 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
994 Volpiatto <thierry.volpiatto@gmail.com>.
995 (quit-window): Reword doc-string. Handle new format of
996 quit-restore parameter. Don't delete window if it has a
997 previous buffer we can show instead of the present one.
998 (display-buffer-record-window): Rewrite using a new format for
999 the quit-restore window parameter
1000 (special-display-popup-frame, display-buffer-same-window)
1001 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1002 (display-buffer-pop-up-window, display-buffer-use-some-window):
1003 Adapt symbol passed to display-buffer-record-window.
1004 * help.el (help-window-setup): Handle new format of quit-restore
1005 parameter.
1006
8d28cb95
SM
10072011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
1008
94ab793f
SM
1009 * faces.el (face-list): Fix docstring (bug#9564).
1010
8d28cb95
SM
1011 * window.el (display-buffer--action-function-custom-type):
1012 Don't include internal functions in the Custom interface.
1013
3820edeb
JL
10142011-09-20 Juri Linkov <juri@jurta.org>
1015
1016 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1017 (Info-forward-node, Info-backward-node, Info-next-preorder)
1018 (Info-last-preorder): Use it. (Bug#9528)
1019
5147931d
JL
10202011-09-20 Juri Linkov <juri@jurta.org>
1021
1022 * info.el (Info-last-preorder): Visit last menu item only when
1023 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1024
cf499a1a
JD
10252011-09-20 Julien Danjou <julien@danjou.info>
1026
1027 * password-cache.el (password-cache-remove): Remove entries even if the
1028 value is nil, so that password with a nil value (negative caching) is
1029 possible to invalidate.
1030
f84e2fe2
LM
10312011-09-20 Lawrence Mitchell <wence@gmx.li>
1032
1033 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1034 all whitespace around breakpoint. (Bug#9553)
1035 (f90-find-breakpoint): Only break at whitespace inside a comment.
1036
78054a46
SM
10372011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1038
1039 * minibuffer.el (completion-file-name-table): Keep track of errors.
1040 (completion-table-with-predicate): Handle the case where pred1 is nil.
1041 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1042
345083b2
SM
10432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1044
e24e27be
SM
1045 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1046 (debugger-return-value): Signal an error if the debugging context does
1047 not await any return value.
1048
345083b2
SM
1049 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1050 * image-mode.el (image-toggle-display-text)
1051 (image-toggle-display-image): Stay away from evil `intangible'.
1052
08d355e3
LL
10532011-09-19 Leo Liu <sdl.web@gmail.com>
1054
1055 * replace.el (occur-revert-arguments): Make it permanent-local.
1056 (occur-mode): Don't call font-lock-defontify.
1057
f01da43f
CY
10582011-09-19 Chong Yidong <cyd@stupidchicken.com>
1059
1060 * net/ldap.el (ldap-search-internal): Don't push empty search
1061 result (Bug#9508).
1062
b6072fa6
SM
10632011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1066
443d6696
MA
10672011-09-19 Michael Albinus <michael.albinus@gmx.de>
1068
1069 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1070 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1071
7cc6e154
JL
10722011-09-18 Juri Linkov <juri@jurta.org>
1073
1074 * buff-menu.el (Buffer-menu-mode-map):
1075 * dired.el (dired-mode-map):
1076 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1077 (lisp-interaction-mode-map):
1078 * emacs-lisp/package.el (package-menu-mode-map):
1079 * epa.el (epa-key-list-mode-map):
1080 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1081 (menu-bar-options-menu):
1082 * outline.el (outline-mode-menu-bar-map):
1083 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1084 * vc/vc-dir.el (vc-dir-menu-map):
1085 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1086 Capitalize non-function content words in menu item strings.
1087
1088 * dired.el (dired-mode-map): Add menu item for
1089 `image-dired-dired-toggle-marked-thumbs'.
1090
80302a81
JL
10912011-09-18 Juri Linkov <juri@jurta.org>
1092
1093 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1094 to `isearch-case-fold-search' and restore its original value
1095 after the `isearch-mode' call.
1096
46c5cf66
JL
10972011-09-18 Juri Linkov <juri@jurta.org>
1098
1099 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1100 because `zgrep' returns 1 for successful matches (bug#9226).
1101
d18b513b
JL
11022011-09-18 Juri Linkov <juri@jurta.org>
1103
1104 * info.el (Info-extract-menu-node-name): Check the second match
1105 for empty string (second test-case of bug#9528).
1106 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1107 intermediate nodes to the history (first test-case of bug#9528).
1108
72753f87
JL
11092011-09-18 Juri Linkov <juri@jurta.org>
1110
1111 * info.el (Info-mode-syntax-table): New variable.
1112 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1113
c9384295
JL
11142011-09-18 Juri Linkov <juri@jurta.org>
1115
1116 * info.el (Info-file-supports-index-cookies): Increment
1117 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1118 one more line for long file names (bug#4142).
1119
d473dce8
CY
11202011-09-18 Chong Yidong <cyd@stupidchicken.com>
1121
1122 * newcomment.el (comment-normalize-vars): If prompting for
1123 comment-start, set comment-start-skip too (Bug#8424).
1124
2176854d
JB
11252011-09-18 Johan Bockgård <bojohan@gnu.org>
1126
1127 * icomplete.el: Fix previous fix of Bug#5849.
1128 (icomplete-mode): Don't set completion-show-inline-help.
1129 (icomplete-minibuffer-setup): Set completion-show-inline-help
1130 locally during icompletion.
1131
3aace4e4
CY
11322011-09-18 Chong Yidong <cyd@stupidchicken.com>
1133
c940224f
CY
1134 * woman.el (woman2-process-escapes): Don't delete unrecognized
1135 escapes (Bug#7843).
1136
3aace4e4
CY
1137 * files.el (inhibit-first-line-modes-regexps): Add image files.
1138 (hack-local-variables-prop-line): Return nil for malformed
1139 prop-lines (Bug#9044).
1140
710dec63
MA
11412011-09-18 Michael Albinus <michael.albinus@gmx.de>
1142
1143 * net/tramp.el (top): Don't require 'shell.
1144 (tramp-methods): Fix docstring.
1145 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1146 Return complete remote file name. Handle "smb" case.
1147 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1148 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1149
1150 * net/tramp-compat.el (top): Require 'shell.
1151
1152 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1153 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1154 `tramp-current-host'.
1155 (tramp-get-remote-tmpdir): Remove.
1156
1157 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1158 `tramp-tmpdir' entries.
1159 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1160 (tramp-smb-handle-file-attributes): Ignore errors.
1161 (tramp-smb-wait-for-output): Check also for process end.
1162
5d5ac8ec
LMI
11632011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1164
1165 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1166 when sending QUIT (bug#9312).
1167
8c0f49f0
CY
11682011-09-17 Chong Yidong <cyd@stupidchicken.com>
1169
1170 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1171 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1172 occur-mode-display-occurrence.
1173 (occur-edit-mode): Add usage message.
1174 (occur-cease-edit): New command.
1175 (occur-after-change-function): Use text properties to find the
1176 position of the prefix text.
1177 (occur-engine): Set stickiness of prefix text properties.
1178
8f1383f7
GM
11792011-09-17 Glenn Morris <rgm@gnu.org>
1180
1181 * progmodes/etags.el (complete-tag):
1182 Fix call to completion-in-region. (Bug#9526)
1183
744ba0e3
JL
11842011-09-17 Juri Linkov <juri@jurta.org>
1185
1186 * textmodes/ispell.el (ispell-word): Add to the error message
1187 the word, ispell program name and current dictionary (bug#9121).
1188 (ispell-tex-arg-end): Capitalize "error" in the error message.
1189
d9bbf400
AS
11902011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1191
1192 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1193 check. (Bug#4251)
1194
8da11505
JL
11952011-09-17 Juri Linkov <juri@jurta.org>
1196
1197 * window.el (window-safe-min-height, window-safe-min-width):
1198 Fix typos (followup to bug#9522).
1199
a91adc7e
SJ
12002011-09-17 Sven Joachim <svenjoac@gmx.de>
1201
1202 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1203
064f328a
EZ
12042011-09-16 Eli Zaretskii <eliz@gnu.org>
1205
1206 * simple.el (line-move): If goal-column is set, move by logical
1207 lines, not by display lines. (Bug#971)
1208 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1209 to reflect the above change.
1210
e69df516
SM
12112011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1212
1213 * image.el (imagemagick-register-types): Use regexp-opt.
1214
cbb0f9ab
CY
12152011-09-15 Chong Yidong <cyd@stupidchicken.com>
1216
1217 * window.el (display-buffer-base-action): Rename from
1218 display-buffer-default-action. Make default value empty.
1219 (display-buffer-overriding-action): Convert to defvar.
1220 (display-buffer-fallback-action): New var.
1221
25322144
CY
12222011-09-15 Chong Yidong <cyd@stupidchicken.com>
1223
1224 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1225 declaration.
1226 (package--add-to-archive-contents): If there is a duplicate entry
1227 with an older version, remove it.
1228 (package-menu-mark-delete, package-menu-mark-install)
1229 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1230 (package-menu-mark-obsolete-for-deletion):
1231 Use package-menu-get-status instead of a regexp search.
25322144
CY
1232 (package-menu-get-status): Use tabulated-list-entry.
1233 (package-menu-mark-upgrades): New command.
d770725a 1234 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1235 (package-menu-execute): Do installation before deletion.
1236 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1237 instead of checking major-mode.
1238 (package-menu--find-upgrades): New function.
1239
7520339c
LMI
12402011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1241
1242 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1243 passwords in the log buffer.
65a046c4
LMI
1244 (smtpmail-process-filter): Update the process marker so that the
1245 "broken by peer" status message is inserted in the right place.
7520339c 1246
d3c30954
SM
12472011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1248
3fe48822
SM
1249 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1250 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1251 bibtex-completion-at-point-function.
1252 (bibtex-completion-at-point-function): Use them.
1253
1b8b3954
SM
1254 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1255
d3c30954
SM
1256 * mpc.el (mpc-constraints-tag-lookup): New function.
1257 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1258 also to browser "album|playlist".
1259
72779976
JL
12602011-09-14 Juri Linkov <juri@jurta.org>
1261
1262 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1263 (isearch-edit-string): Use length of `isearch-string' when
1264 `isearch-fail-pos' returns nil.
1265 (isearch-message): Remove duplicate code and call
1266 `isearch-fail-pos' with arg `t'.
1267
a0bf2bcd
CY
12682011-09-14 Chong Yidong <cyd@stupidchicken.com>
1269
17bb0a2d
CY
1270 * replace.el (occur-mode-goto-occurrence): Don't force using other
1271 window (Bug#9499).
1272
a0bf2bcd
CY
1273 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1274
f678e0b6
MR
12752011-09-14 Martin Rudalics <rudalics@gmx.at>
1276
1277 * window.el (display-buffer-window): Remove.
1278 (display-buffer-record-window): Use help-setup window parameter
1279 instead of variable display-buffer-window.
1280 (display-buffer-function, special-display-buffer-names)
1281 (special-display-function): Mention help-setup parameter instead
1282 of display-buffer-window in doc-string.
d3c30954
SM
1283 * help.el (help-window-setup): New argument help-window.
1284 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1285 Reword some messages.
1286 (with-help-window): Pass window used for displaying the buffer
1287 to help-window-setup. Don't set display-buffer-window.
1288
8e39b2e8
GM
12892011-09-13 Glenn Morris <rgm@gnu.org>
1290
1291 * emacs-lisp/debug.el (debugger-make-xrefs):
1292 Preserve point. (Bug#9462)
1293
85e9c04b
CY
12942011-09-13 Chong Yidong <cyd@stupidchicken.com>
1295
1296 * window.el (window-deletable-p): Use next-frame.
1297
1b36ed6a
MR
12982011-09-13 Martin Rudalics <rudalics@gmx.at>
1299
1300 * window.el (window-auto-delete): Remove.
1301 (window-deletable-p): Remove argument FORCE. Don't deal with
1302 dedicatedness and previous buffers.
1303 (switch-to-prev-buffer): Don't delete window.
1304 (delete-windows-on): Delete a window's frame if and only if the
1305 window is dedicated.
1306 (replace-buffer-in-windows): Delete buffer's window or frame if
1307 and only if window is dedicated.
1308 (quit-window): Handle quit-restore as before last change.
4d61f28d 1309 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1310
ef8ef9fb
CY
13112011-09-13 Chong Yidong <cyd@stupidchicken.com>
1312
1313 * window.el (window-deletable-p): Never delete the last frame on a
1314 given terminal.
1315
b2cba41e
GM
13162011-09-13 Glenn Morris <rgm@gnu.org>
1317
1318 * help.el (describe-key-briefly): Copy previous standard-output change.
1319
51553db6 13202011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1321
1322 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1323
b7556719
GM
13242011-09-13 Glenn Morris <rgm@gnu.org>
1325
1326 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1327 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1328
64b51947
CY
13292011-09-12 Chong Yidong <cyd@stupidchicken.com>
1330
1331 * dired-aux.el (dired-mark-read-string): Don't return default
1332 value on empty input (Bug#9361).
1333 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1334 Omit initial minibuffer contents.
1335 (dired-do-chmod): Signal an error on empty input.
1336 (dired-mark-read-string): Don't return default on empty input.
1337
1338 * files.el (file-modes-symbolic-to-number): Doc fix.
1339
393a301e
SM
13402011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1341
1342 * international/mule-cmds.el (ucs-completions): Remove.
1343 (read-char-by-name): Use complete-with-action instead; add metadata.
1344
fa5660f9
CY
13452011-09-11 Chong Yidong <cyd@stupidchicken.com>
1346
1347 * window.el (display-buffer--action-function-custom-type)
1348 (display-buffer--action-custom-type): New vars.
1349 (display-buffer-alist, display-buffer-default-action)
1350 (display-buffer-overriding-action): Add defcustom types.
1351
4a592f66
CY
1352 * frame.el (delete-other-frames): Doc fix (Bug#276).
1353
73d56dbd
LMI
13542011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1355
1356 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1357
37ac18a3
CY
13582011-09-11 Chong Yidong <cyd@stupidchicken.com>
1359
1360 Change modes that used same-window-* vars to use switch-to-buffer.
1361
1362 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1363 Use switch-to-buffer.
1364
1365 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1366 (customize-browse, custom-buffer-create-other-window):
1367 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1368
1369 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1370 (Info-prev, Info-up, Info-speedbar-goto-node)
1371 (info-display-manual): Use switch-to-buffer.
1372 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1373
1374 * mail/sendmail.el (mail): Use switch-to-buffer.
1375 (mail-recover): Use switch-to-buffer-other-window.
1376
1377 * cmuscheme.el (run-scheme, switch-to-scheme):
1378 * ielm.el (ielm):
1379 * shell.el (shell):
1380 * net/rlogin.el (rlogin):
1381 * net/telnet.el (telnet, rsh):
1382 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1383
10195bd6
AS
13842011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1385
1386 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1387
b322f63a
LMI
13882011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1389
39d7fed6
LMI
1390 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1391 so don't mention it (bug#9301).
ba5a81f1 1392 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1393
ee0e9f11
LMI
1394 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1395 match `x', `w32' and `ns', like the manual says (bug#9029).
1396
0b1c89c1 1397 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1398 (process-kill-buffer-query-function): Mention the buffer name in
1399 the query.
0b1c89c1 1400
77549ea8
LMI
1401 * image-mode.el (image-next-line): The line parameter is mandatory
1402 (bug#9258).
1403
803ef892
LMI
1404 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1405 which can be useful (bug#9301).
1406
12980837
LMI
1407 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1408
91054f8f
LMI
1409 * subr.el (match-string): Mention that the current buffer should
1410 be the same as the search was done in (bug#9282).
1411
b322f63a
LMI
1412 * facemenu.el: Disable the remove-* commands if the mark isn't
1413 active (bug#9162).
1414
3199b96f
CY
14152011-09-10 Chong Yidong <cyd@stupidchicken.com>
1416
1417 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1418 of display-buffer.
1419 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1420
1421 * replace.el (occur-mode-goto-occurrence)
1422 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1423 and display-buffer.
1424
1425 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1426 display-buffer.
1427
1428 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1429 special-display and same-window variables.
1430 (mail-other-window): Use switch-to-buffer-other-window.
1431 (mail-other-frame): USe switch-to-buffer-other-frame.
1432
393a301e
SM
1433 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1434 Use display-buffer-other-frame.
3199b96f
CY
1435 (gdb-display-gdb-buffer): Use pop-to-buffer.
1436
1437 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1438
1439 * progmodes/python.el: Don't set same-window-buffer-names.
1440
1441 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1442
1443 * window.el (display-buffer-alist): Add *Python*.
1444
8319e0bf
CY
14452011-09-10 Chong Yidong <cyd@stupidchicken.com>
1446
1447 * window.el (display-buffer-alist): Add entry for buffers
1448 previously handled same-window-*.
1449 (display-buffer-alist, display-buffer-default-action)
1450 (display-buffer-overriding-action): Mark as risky.
1451 (display-buffer-alist): Document action function changes.
1452 (display-buffer--same-window-action)
1453 (display-buffer--other-frame-action): New variables.
1454 (switch-to-buffer, display-buffer-other-frame): Use them.
1455 (display-buffer): Rename reuse-frame entry to reusable-frames.
1456 (display-buffer-reuse-selected-window): Function deleted.
1457 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1458 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1459 (display-buffer-special): New function.
1460 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1461 display-buffer-reuse-or-pop-window. Split off special-display
1462 part into display-buffer-special.
1463 (display-buffer-use-some-window): Don't perform any special
1464 pop-up-frames handling.
1465 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1466 (display-buffer--maybe-same-window): Rename from
0d3ff375 1467 display-buffer-maybe-same-window.
8319e0bf 1468
919a69aa
CY
1469 * info.el: Don't set same-window-regexps.
1470 (info-setup): New function.
1471 (info-other-window, info): Call it.
1472
1473 * cus-edit.el: Don't set same-window-regexps.
1474 (customize-group): New argument.
1475 (customize-group-other-window): Use it.
1476 (customize-face, customize-face-other-window): Likewise.
1477 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1478
8319e0bf
CY
1479 * net/rlogin.el:
1480 * net/telnet.el:
1481 * progmodes/gud.el: Don't set same-window-regexps.
1482
1483 * cmuscheme.el:
1484 * ielm.el:
1485 * shell.el:
1486 * mail/sendmail.el:
1487 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1488
25173000
JL
14892011-09-10 Juri Linkov <juri@jurta.org>
1490
1491 * isearch.el (isearch-edit-string): Remove obsolete mention of
1492 `C-w' (`isearch-yank-word-or-char') from docstring.
1493 (isearch-query-replace): Fix typo in docstring (bug#9466).
1494
056e44ef
JL
14952011-09-10 Juri Linkov <juri@jurta.org>
1496
1497 * paren.el (show-paren-function): Don't show escaped parens.
1498 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1499
c3760c17
EZ
15002011-09-10 Eli Zaretskii <eliz@gnu.org>
1501
1502 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1503 (mm-default-file-encoding): Remove autoload forms, they are
1504 replaced with autoload cookies in mml.el and mm-encode.el.
1505 (mail-add-attachment): New command.
1506 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1507 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1508 the doc string.
1509 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1510
fece895e
RT
15112011-09-10 Reuben Thomas <rrt@sc3d.org>
1512
e69df516
SM
1513 * simple.el (count-words-region): Use buffer if there's no region
1514 (bug#9429).
fece895e 1515
5e68ce4a
JL
15162011-09-09 Juri Linkov <juri@jurta.org>
1517
1518 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1519 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1520 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1521
0a6b9622
AM
15222011-09-09 Alan Mackenzie <acm@muc.de>
1523
1524 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1525 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1526
14a29deb
EZ
15272011-09-09 Eli Zaretskii <eliz@gnu.org>
1528
1529 Fix for Savannah bug#9392.
1530 * simple.el (mail-encode-mml): New defvar.
1531
1532 * mail/rmail.el (mail-encode-mml): Add a defvar.
1533 (rmail-enable-mime-composing): Default to t.
1534 (rmail-forward): Use MIME method of forwarding only if both
1535 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1536 Set mail-encode-mml non-nil if the MIME method was used.
1537
1538 * mail/sendmail.el (mml-to-mime): Add autoload form.
1539 (mail-encode-mml): Add a defvar.
1540 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1541 to nil.
1542 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1543 message through mml-to-mime, and reset mail-encode-mml to nil.
1544
28c45130
GM
15452011-09-09 Glenn Morris <rgm@gnu.org>
1546
1547 * woman.el (woman-if-body): When processing an .el block,
1548 do not delete the next .el block as well. (Bug#9447)
69f4b618 1549 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1550
9b1c252e
MR
15512011-09-08 Martin Rudalics <rudalics@gmx.at>
1552
1553 * window.el (window-deletable-p): Make sure window is live before
1554 invoking window-prev-buffers.
1555
567457e3
LL
15562011-09-08 Leo Liu <sdl.web@gmail.com>
1557
1558 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1559
97f05794
JL
15602011-09-08 Juri Linkov <juri@jurta.org>
1561
1562 * progmodes/compile.el (compilation-environment): Make it
1563 a defcustom (bug#8340).
1564
8b0874b5
MR
15652011-09-08 Martin Rudalics <rudalics@gmx.at>
1566
1567 * window.el (frame-auto-delete): Rename to window-auto-delete.
1568 Make it control auto-deletion of windows and/or frames.
1569 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1570 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1571 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1572 Rewrite handling of case when window/frame can be deleted.
1573 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1574 argument t. (Bug#9456)
8b0874b5 1575
4feb6e73
CY
15762011-09-07 Chong Yidong <cyd@stupidchicken.com>
1577
1578 * help-mode.el (help-mode): Restore autoload.
1579
91ab9c13
JL
15802011-09-07 Juri Linkov <juri@jurta.org>
1581
1582 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1583 `compilation-environment'. Set buffer-local
1584 `compilation-environment' to `thisenv' later after (funcall mode).
1585 (Bug#8340)
1586
1587 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1588 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1589 instead of replacing its value. (Bug#8340)
1590
0527e251
JL
15912011-09-07 Juri Linkov <juri@jurta.org>
1592
1593 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1594 based on text properties put by `grep-filter' instead of matching
1595 escape sequences.
1596 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1597 to the value of `grep-error-screen-columns' (bug#9438).
1598
249f792c
JL
15992011-09-07 Juri Linkov <juri@jurta.org>
1600
1601 * simple.el (next-error-highlight, next-error-highlight-no-select):
1602 Doc fix (bug#9432).
1603
ff7271b9
OT
16042011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1605
1606 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1607 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1608
183fc730
LL
16092011-09-07 Leo Liu <sdl.web@gmail.com>
1610
1611 * net/rcirc.el (rcirc-mode): Conditionally initialize
1612 rcirc-input-ring.
1613
77694924
SM
16142011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * emacs-lisp/find-func.el (find-function-C-source): Only set
1617 find-function-C-source-directory after checking that we found a source
1618 file there (bug#9440).
1619
d809b8eb
AM
16202011-09-06 Alan Mackenzie <acm@muc.de>
1621
1622 * isearch.el (isearch-other-meta-char): Wherever a key list is
1623 unread, "unread" the prefix arg, too. This fixes bug #8901.
1624
453de99f
OG
16252011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1626
1627 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1628
90439906
JL
16292011-09-05 Juri Linkov <juri@jurta.org>
1630
1631 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1632
f62bd846
JL
16332011-09-05 Juri Linkov <juri@jurta.org>
1634
1635 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1636 keeping point where processing of grep matches begins, and
1637 continue to delete remaining escape sequences from the same point.
1638 (grep-filter): Make leading zero optional in "0?1;31m" because
1639 git-grep emits "\033[1;31m" escape sequences unlike expected
1640 "\033[01;31m" as GNU Grep does (bug#9408).
1641 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1642
045820ec
JL
16432011-09-05 Juri Linkov <juri@jurta.org>
1644
1645 * subr.el (y-or-n-p): Capitalize "yes".
1646
f5e29b9b
MA
16472011-09-04 Michael Albinus <michael.albinus@gmx.de>
1648
1649 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1650 `tramp-cache-unload-hook' where appropriate.
1651 (tramp-methods): Rename `tramp-remote-sh' to
1652 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1653 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1654
1655 * net/tramp-sh.el (top): Don't require 'shell.
1656 (tramp-methods): Add `tramp-remote-shell' and
1657 `tramp-remote-shell-args' entries.
1658 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1659 (tramp-sh-handle-shell-command): Remove.
1660 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1661 Use `tramp-remote-shell'.
1662
2784c434
CY
16632011-09-03 Chong Yidong <cyd@stupidchicken.com>
1664
393a301e 1665 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1666 (sendmail-query-once): Save directly to send-mail-function.
1667 Update message-send-mail-function too.
1668
1669 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1670
464cdf56
CS
16712011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1672
1673 * progmodes/python.el (python-mode-map): Use correct function to
1674 start python interpreter from menu-bar (as reported by Geert
1675 Kloosterman).
1676 (inferior-python-mode-map): Fix typo.
393a301e 1677 (python-shell-map): Remove.
464cdf56 1678
d37e5c87
DD
16792011-09-03 Deniz Dogan <deniz@dogan.se>
1680
1681 * net/rcirc.el (rcirc-print): Simplify code for
1682 rcirc-scroll-show-maximum-output. There is no need to walk
1683 through all windows to find the right one.
1684
f3ada0ee
CS
16852011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1686
1687 * help.el (help-return-method): Doc fix.
1688
1f3c99ca
MR
16892011-09-03 Martin Rudalics <rudalics@gmx.at>
1690
1691 * window.el (window-deletable-p): Don't return a non-nil value
1692 when there's a buffer that was shown in the window before.
1693 (Bug#9419)
393a301e
SM
1694 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1695 Set window's previous buffers to nil.
1f3c99ca 1696
a3cf097f
EZ
16972011-09-03 Eli Zaretskii <eliz@gnu.org>
1698
1699 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1700 newline before and after the tag line, so it doesn't interfere
1701 with determining the paragraph direction of bidirectional text.
1702
3d03de90
LL
17032011-09-03 Leo Liu <sdl.web@gmail.com>
1704
1705 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1706
c3313451
CY
17072011-09-02 Chong Yidong <cyd@stupidchicken.com>
1708
393a301e 1709 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1710 (pop-to-buffer): Change interactive spec. Pass second argument
1711 directly to display-buffer.
1712 (display-buffer): Fix interactive spec. Use functionp to
1713 distinguish between a function and a list of functions.
1714
1715 * abbrev.el (edit-abbrevs):
1716 * arc-mode.el (archive-extract):
1717 * autoinsert.el (auto-insert):
1718 * bookmark.el (bookmark-bmenu-list):
1719 * files.el (find-file):
1720 * view.el (view-buffer):
1721 * progmodes/compile.el (compilation-goto-locus):
1722 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1723
89894cd8
CY
17242011-09-02 Chong Yidong <cyd@stupidchicken.com>
1725
1726 * window.el (display-buffer-alist): Doc fix.
1727 (display-buffer): Add docstring. Don't treat
1728 display-buffer-default specially.
1729 (display-buffer-reuse-selected-window)
1730 (display-buffer-same-window, display-buffer-maybe-same-window)
1731 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1732 (display-buffer-pop-up-window)
1733 (display-buffer-reuse-or-pop-window)
1734 (display-buffer-use-some-window): New functions.
1735 (display-buffer-default-action): Use them.
393a301e 1736 (display-buffer-default): Delete.
89894cd8
CY
1737 (pop-to-buffer-1): Fix choice of actions.
1738
ae0bc9fb
SM
17392011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * minibuffer.el (completion--insert-strings): Don't get confused by
1742 completion entries that end with an LF char.
1743
e9d90883
EZ
17442011-09-01 Eli Zaretskii <eliz@gnu.org>
1745
1746 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1747
437014c8
CY
17482011-09-01 Chong Yidong <cyd@stupidchicken.com>
1749
1750 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1751 (display-buffer-same-window, display-buffer-other-window):
1752 New functions.
437014c8
CY
1753 (pop-to-buffer-1): New function. Use the above.
1754 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1755 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1756
1757 * view.el (view-buffer-other-window, view-buffer-other-frame):
1758 Just use pop-to-buffer.
1759
a5e063d5
TV
17602011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1761
1762 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1763
793d32bb
WH
17642011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1765
1766 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1767
d65e4c15
RS
17682011-08-31 Richard Stallman <rms@gnu.org>
1769
1770 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1771 of the separation of rmail-view-buffer from rmail-buffer.
1772 If you say no to "replace original", the decrypt is in the
1773 view buffer. If you say yes, the decrypt goes into the
1774 rmail buffer also.
1775
f818cd2a
MR
17762011-08-31 Martin Rudalics <rudalics@gmx.at>
1777
1778 * window.el (display-buffer-window): Rewrite doc-string.
1779 (display-buffer-record-window): New function.
1780 (display-buffer-macro-specifiers)
1781 (display-buffer-even-window-sizes, display-buffer-set-height)
1782 (display-buffer-set-width, display-buffer-in-window)
1783 (display-buffer-reuse-window, display-buffer-split-specifiers)
1784 (display-buffer-side-specifiers, display-buffer-split-window-1)
1785 (display-buffer-split-window, display-buffer-split-atom-window)
1786 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1787 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1788 (display-buffer-other-window-means-other-frame)
1789 (display-buffer-normalize-special)
1790 (display-buffer-normalize-default)
1791 (display-buffer-normalize-argument)
1792 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1793 (display-buffer-normalize-specifiers, display-buffer-frame)
1794 (display-buffer-same-window, display-buffer-same-frame)
1795 (display-buffer-other-window)
1796 (display-buffer-same-frame-other-window)
1797 (display-buffer-other-frame, pop-to-buffer-same-window)
1798 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1799 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1800 (switch-to-buffer-same-frame)
1801 (switch-to-buffer-other-window-same-frame)
1802 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1803 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1804 (display-buffer-alist-set): Remove.
1805 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1806 (special-display-regexps, special-display-function):
1807 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1808 parameter.
1809 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1810 (special-display-frame-alist, special-display-popup-frame)
1811 (same-window-buffer-names, same-window-regexps, same-window-p)
1812 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1813 (split-window-preferred-function, split-height-threshold)
1814 (split-width-threshold, window-splittable-p)
1815 (split-window-sensibly, window--try-to-split-window)
1816 (window--frame-usable-p, even-window-heights)
1817 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1818 (window--display-buffer-2, display-buffer-other-frame):
1819 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1820 (display-buffer-default, display-buffer-assq-regexp): New functions.
1821 (display-buffer-alist): Rewrite doc-string.
1822 (display-buffer-default-action)
1823 (display-buffer-overriding-action): New variables.
1824 (display-buffer, switch-to-buffer): Rewrite.
1825 (pop-to-buffer): Restore Emacs 23 behavior but use
1826 window-normalize-buffer-to-display.
1827 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1828 Restore Emacs 23 behavior but use
1829 window-normalize-buffer-to-switch-to.
1830 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1831 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1832 Rewrite using Emacs 23 options.
f818cd2a 1833
5bc3b51d
MA
18342011-08-31 Michael Albinus <michael.albinus@gmx.de>
1835
1836 * net/tramp.el (tramp-root-regexp): Remove.
1837 (tramp-completion-file-name-regexp-unified)
1838 (tramp-completion-file-name-regexp-separate)
1839 (tramp-completion-file-name-regexp-url): Don't use leading volume
1840 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1841 (tramp-drop-volume-letter): Simplify definition.
1842 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1843
b1a4f8e1
SM
18442011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1847 (bug#9356).
1848
5664fa7b
RT
18492011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1850
b1a4f8e1 1851 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1852
9a45d6c3
JL
18532011-08-29 Juri Linkov <juri@jurta.org>
1854
1855 * isearch.el (isearch-done): Don't display message "Mark saved"
1856 when arg `edit' is non-nil to prevent its flicker in the echo area.
1857
fb87e0fb
CY
18582011-08-28 Chong Yidong <cyd@stupidchicken.com>
1859
1860 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1861 obsolete packages for deletion.
1862
09ac1c2a
CS
18632011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1864
1865 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1866 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1867 view-mode from help-mode.
1868 (help-xref-override-view-map): Remove.
1869 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1870 view-mode is not used anymore.
1871
7a1ff57f
CY
18722011-08-28 Chong Yidong <cyd@stupidchicken.com>
1873
1874 * server.el (server-port): Doc fix.
1875
b9696605
CY
1876 * cus-theme.el (custom-theme-choose-mode): Inherit from
1877 special-mode (Bug#9124).
1878 (custom-theme-choose-mode-map): Add special-mode to parent.
1879
ef8cdf8c
AM
18802011-08-28 Alan Mackenzie <acm@muc.de>
1881
1882 * progmodes/cc-fonts.el
1883 (c-make-font-lock-BO-decl-search-function): New function.
1884 (c-basic-matchers-after - "Fontify the clauses after various
1885 keywords"): Extract the three keyword lists for the 3 erroneous
1886 constructs from the list of four, and use the new function above
1887 in place of an old one.
1888
27de4e20
DD
18892011-08-28 Deniz Dogan <deniz@dogan.se>
1890
1891 * net/rcirc.el (rcirc-insert-prev-input)
1892 (rcirc-insert-next-input): Remove unused argument.
1893
356a3681
SM
18942011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1895
1896 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1897
3fc9b218
AM
18982011-08-27 Alan Mackenzie <acm@muc.de>
1899
1900 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1901 handle function pointer parameters properly.
1902
538a061c
MR
19032011-08-27 Martin Rudalics <rudalics@gmx.at>
1904
1905 * window.el (display-buffer-reuse-window): Fix case where
1906 selected window was reused with non-nil OTHER-WINDOW argument.
1907 (Bug#9381)
1908
35b1c40c
DD
19092011-08-27 Deniz Dogan <deniz@dogan.se>
1910
1911 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1912 oftc's NickServ messages.
1913
2f6a3e79
GM
19142011-08-27 Glenn Morris <rgm@gnu.org>
1915
1916 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1917
7254299e
CY
19182011-08-26 Chong Yidong <cyd@stupidchicken.com>
1919
1920 * emacs-lisp/package.el (package-install): Call package-initialize
1921 if called interactively.
1922
f8ccf167
LL
19232011-08-26 Leo Liu <sdl.web@gmail.com>
1924
1925 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1926
3e8cd5ce
JL
19272011-08-25 Juri Linkov <juri@jurta.org>
1928
1929 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1930 `search-whitespace-regexp' (bug#9364).
1931
93eb7113
JL
19322011-08-25 Juri Linkov <juri@jurta.org>
1933
1934 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1935 `regexp-search-ring' to their global values to protect from
1936 updating by `read-from-minibuffer' (bug#9185).
1937
f65d1611
JL
19382011-08-25 Juri Linkov <juri@jurta.org>
1939
1940 * textmodes/ispell.el (ispell-command-loop): Add newline
1941 at the end of the "Use option `i'..." line.
1942
f1cf7a31
JL
19432011-08-25 Juri Linkov <juri@jurta.org>
1944
1945 * battery.el (display-battery-mode): If `battery-status-function'
1946 or `battery-mode-line-format' is nil, display the message and set
1947 `display-battery-mode' to nil (bug#9363).
1948
0c95fcf7
EZ
19492011-08-25 Eli Zaretskii <eliz@gnu.org>
1950
1951 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1952 bidi-string-mark-left-to-right; they are unnecessary now.
1953
a2ebe600
DD
19542011-08-25 Deniz Dogan <deniz@dogan.se>
1955
1956 * net/quickurl.el: Documentation typo fixes.
1957
e4ed06f1
CY
19582011-08-25 Chong Yidong <cyd@stupidchicken.com>
1959
1960 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1961
e5f1c99e
GM
19622011-08-25 Glenn Morris <rgm@gnu.org>
1963
b2948976
GM
1964 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1965
e5f1c99e
GM
1966 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1967 (smtpmail-via-smtp): Handle nil response from smtp.
1968
f22f4808
JL
19692011-08-24 Juri Linkov <juri@jurta.org>
1970
1971 * proced.el (proced-marked): Inherit from `error' instead of
1972 `font-lock-warning-face'.
1973
1974 * ibuffer.el (ibuffer-marked-face): Change default face from
1975 `font-lock-warning-face' to `warning'.
1976 (ibuffer-deletion-face): Change default face from
1977 `font-lock-type-face' to `error'.
1978
1979 * battery.el (battery-update): Use the face `error' instead of
1980 `font-lock-warning-face' (bug#6117).
1981
6a93965e
JL
19822011-08-24 Juri Linkov <juri@jurta.org>
1983
1984 * faces.el (success): Change face color from "Green3" to
1985 "ForestGreen" on light background (bug#9353).
1986
1ed43b09
CY
19872011-08-24 Chong Yidong <cyd@stupidchicken.com>
1988
5664fa7b
RT
1989 * window.el (quit-window): Rename from quit-restore-window.
1990 Use same arglist as old quit-window.
1ed43b09
CY
1991 (frame-auto-delete): Doc fix.
1992
1993 * view.el (view-mode-exit): Use quit-window.
1994
11dcdbb2
JL
19952011-08-24 Juri Linkov <juri@jurta.org>
1996
1997 * isearch.el (isearch-ring-adjust1): Start visiting previous
1998 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1999 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
2000 for empty search string (when the last search string is reused
2001 automatically) to adjust the isearch ring to the last element and
2002 prepare the correct index for further M-p commands (bug#9185).
2003
de62b4df
KH
20042011-08-24 Kenichi Handa <handa@m17n.org>
2005
2006 * international/ucs-normalize.el: If decomposition property of
2007 CHAR is the default one (i.e. a list of CHAR itself), treat it as
2008 nil.
2009 (nfd, nfkd): Likewise.
2010
963b492b
SM
20112011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2012
2013 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
2014 from process filters aren't reliably transmitted to the surrounding
2015 accept-process-output.
2016 (mpc-proc-check): New function.
2017 (mpc-proc-sync): Use it (bug#8293)
2018
93b6b5e1
SM
20192011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2020
2021 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2022 Add compatibility functions (bug#9313).
2023
bca633fb
EZ
20242011-08-23 Eli Zaretskii <eliz@gnu.org>
2025
b177498a
EZ
2026 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2027
bca633fb
EZ
2028 * international/uni-bidi.el: Regenerated.
2029
0902a04e
KH
20302011-08-23 Kenichi Handa <handa@m17n.org>
2031
2032 * international/charprop.el:
2033 * international/uni-bidi.el:
2034 * international/uni-category.el:
2035 * international/uni-combining.el:
2036 * international/uni-comment.el:
2037 * international/uni-decimal.el:
2038 * international/uni-decomposition.el:
2039 * international/uni-digit.el:
2040 * international/uni-lowercase.el:
2041 * international/uni-mirrored.el:
2042 * international/uni-name.el:
2043 * international/uni-numeric.el:
2044 * international/uni-old-name.el:
2045 * international/uni-titlecase.el:
2046 * international/uni-uppercase.el: Regenerate.
2047
3bbf23bc
MR
20482011-08-23 Martin Rudalics <rudalics@gmx.at>
2049
2050 * help.el (help-window-setup): Fix message displayed when other
2051 window is reused. (Bug#9341)
2052
b3fd59bd
SM
20532011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2054
1802e444
SM
2055 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2056 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2057
b3fd59bd
SM
2058 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2059 Mark obsolete.
2060 * shell.el (shell-parse-pcomplete-arguments): New function.
2061 (shell-completion-vars): Use it instead (bug#9160).
2062
4eb61348
SM
20632011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2064
867cab74
SM
2065 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2066 strings and comments (bug#9333).
2067
4eb61348
SM
2068 * emacs-lisp/debug.el (debug-arglist): New function.
2069 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2070 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2071
262a1439
JL
20722011-08-22 Juri Linkov <juri@jurta.org>
2073
56ee679c
JL
2074 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2075 Revert regexp that highlights output switches to its old
2076 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2077
262a1439
JL
2078 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2079 to check for empty output (bug#9226).
2080
f13f86fb
CY
20812011-08-22 Chong Yidong <cyd@stupidchicken.com>
2082
2083 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2084 symbol-constituent as the default, as that stops font-lock from
2085 working properly (Bug#8843).
2086
c65c9622
LMI
20872011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2088
2089 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2090 `coding-system-for-*' around the process open call to avoid
2091 auth-source side effects.
e7f2c178 2092 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2093 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2094 probe hangs.
c65c9622 2095
23a8a5ab
CY
20962011-08-21 Chong Yidong <cyd@stupidchicken.com>
2097
ff98b2dd
CY
2098 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2099
23a8a5ab
CY
2100 * emacs-lisp/find-func.el (find-function-noselect): New arg
2101 lisp-only.
2102
2103 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2104 signal an error for built-in functions (Bug#6664).
2105
f5e3c598
LMI
21062011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2107
2108 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2109 (smtpmail-try-auth-methods): Use it.
2110
a3f2468a
CY
21112011-08-21 Chong Yidong <cyd@stupidchicken.com>
2112
2c34e8da
CY
2113 * font-lock.el (font-lock-fontify-region)
2114 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2115 (font-lock-default-unfontify-buffer)
2116 (font-lock-default-fontify-region)
2117 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2118
b3fd59bd
SM
2119 * progmodes/compile.el (compilation-error-properties):
2120 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2121 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2122 `ant' regexp.
ee31aabc 2123
a3f2468a
CY
2124 * net/browse-url.el (browse-url-firefox): Don't call
2125 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2126
8e999f70
GM
21272011-08-20 Glenn Morris <rgm@gnu.org>
2128
c21a496a
GM
2129 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2130
59ee0542
GM
2131 * tutorial.el (tutorial--default-keys): Update some default bindings.
2132
8e999f70
GM
2133 * files.el (hack-local-variables): Fully ignore case for "mode:".
2134
e3715033
AM
21352011-08-20 Alan Mackenzie <acm@muc.de>
2136
2137 Resolve invalid use of a regexp in regexp-opt.
2138
4d61f28d
JB
2139 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2140 detection for a java annotation.
e3715033 2141
4d61f28d 2142 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2143 detection for a java annotation.
2144
4d61f28d
JB
2145 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2146 handling for java.
e3715033
AM
2147 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2148
04ed2e9c
CY
21492011-08-20 Chong Yidong <cyd@stupidchicken.com>
2150
2151 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2152 (Bug#9274).
2153
826cee64
AM
21542011-08-20 Alan Mackenzie <acm@muc.de>
2155
2156 * Fontify CPP expressions correctly when starting in the middle of
2157 such a construct. Mainly for when jit-lock etc. starts a chunk
2158 here.
2159
2160 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2161 variable.
2162 (c-make-font-lock-search-form): new function, extracted from
2163 c-make-font-lock-search-function.
2164 (c-make-font-lock-search-function): Use the above function.
2165 (c-make-font-lock-context-search-function): New function.
2166 (c-cpp-matchers): Enhance the preprocessor expression case with
2167 the above function
2168 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2169 which takes an expression.
2170
2171 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2172
13009bd8
MR
21732011-08-20 Martin Rudalics <rudalics@gmx.at>
2174
2175 * window.el (display-buffer-reuse-window)
2176 (display-buffer-pop-up-window): Don't reuse or split a side
2177 window.
2178
9234ff7f
GM
21792011-08-19 Glenn Morris <rgm@gnu.org>
2180
2181 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2182 Downcase "Mode:". (Bug#9331)
9234ff7f 2183
f635daa1
CY
21842011-08-18 Chong Yidong <cyd@stupidchicken.com>
2185
2186 * international/characters.el: Add L and R categories.
2187
2188 * subr.el (bidi-string-mark-left-to-right): Rename from
2189 string-mark-left-to-right. Use category search.
2190
2191 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2192
bc987f8b
JL
21932011-08-18 Juri Linkov <juri@jurta.org>
2194
2195 * faces.el (error, warning, success): New faces with definitions
2196 copied from old default values of `font-lock-warning-face',
2197 `compilation-warning', `compilation-info' (bug#6117).
2198
2199 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2200
2201 * progmodes/compile.el (compilation-error): Inherit from `error'.
2202 (compilation-warning): Inherit from `warning'.
2203 (compilation-info): Inherit from `success'.
2204
2205 * dired.el (dired-marked): Inherit from `warning'.
2206 (dired-flagged): Inherit from `error'.
2207
57173b96
LMI
22082011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2209
3e79eb87
LMI
2210 * mail/smtpmail.el (auth-source): Require to avoid problems with
2211 binding variables (bug#9298). Also clean up some unused
2212 autoloads.
2213
b3fd59bd
SM
2214 * net/network-stream.el (network-stream-open-starttls):
2215 Support using starttls.el without using gnutls-cli.
57173b96 2216
02b404de
JL
22172011-08-17 Juri Linkov <juri@jurta.org>
2218
2219 * progmodes/grep.el (rgrep): Handle the case when
2220 `grep-find-command' is a cons cell (bug#9278).
2221
8c9177f2
MR
22222011-08-17 Martin Rudalics <rudalics@gmx.at>
2223
2224 * window.el (display-buffer-pop-up-frame): Run frame creation
2225 function with BUFFER current (as special-display-popup-frame
2226 does). Reported by Drew Adams.
2227
3644a0ab
DU
22282011-08-17 Daiki Ueno <ueno@unixuser.org>
2229
2230 * epa-mail.el: Simplify GnuPG group expansion using
2231 epg-expand-group.
2232 (epa-mail-group-alist, epa-mail-group-modtime)
2233 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2234 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2235 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2236 Remove.
2237
5e617bc2 22382011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2239
2240 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2241
9c4aeabf
AM
22422011-08-16 Alan Mackenzie <acm@muc.de>
2243
2244 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2245 Correct, to avoid the inside of macros.
2246
3a99bf64
RS
22472011-08-16 Richard Stallman <rms@gnu.org>
2248
04963aa8
RS
2249 * epa-mail.el: Handle GnuPG group definitions.
2250 (epa-mail-group-alist, epa-mail-group-modtime)
2251 (epa-mail-gnupg-conf-file): New variables.
2252 (epa-mail-parse-groups, epa-mail-sync-groups)
2253 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2254 (epa-mail-expand-recipients): New functions.
2255 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2256
177549d0
RS
2257 * mail/rmail.el (rmail-epa-decrypt): New command.
2258
fe38beef
RS
2259 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2260 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2261 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2262 (epa-decrypt-armor-in-region): Make error message clearer.
2263
934eacb9
SM
22642011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2267 and "a2b" to "ab" for `prefix'.
2268
d024fb4e
CY
22692011-08-14 Chong Yidong <cyd@stupidchicken.com>
2270
2271 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2272 filter groups.
de148fee
CY
2273 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2274 Fourquet (Bug#8804).
d024fb4e 2275
62f1ca49
JB
22762011-08-12 Juanma Barranquero <lekktu@gmail.com>
2277
2278 * startup.el (argi): Declare as global variable (bug#9275).
2279
9ccaaa4b
CY
22802011-08-12 Chong Yidong <cyd@stupidchicken.com>
2281
2282 * subr.el (string-mark-left-to-right): Search the entire string
2283 for RTL script, not just the terminating character. Doc fix.
2284
a3dae87a
SM
22852011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2286
6cd18349
SM
2287 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2288 New function.
2289 (js--regexp-literal, js-syntax-propertize-function): Remove.
2290 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2291 (js-mode-map): Don't rebind electric keys.
2292 (js-insert-and-indent): Remove.
2293 (js-mode): Setup electric-layout and electric-indent instead.
2294
a3dae87a
SM
2295 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2296
9d5cb631
DU
22972011-08-12 Daiki Ueno <ueno@unixuser.org>
2298
2299 * epa.el (epa-progress-callback-function): Fix the logic of
2300 displaying progress.
2301 * epa-file.el (epa-file-insert-file-contents): Make progress
2302 display more user-friendly.
2303 (epa-file-write-region): Ditto.
2304
3e26a4a2
CY
23052011-08-10 Chong Yidong <cyd@stupidchicken.com>
2306
2307 * subr.el (string-mark-left-to-right): New function.
2308
2309 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2310 Use string-mark-left-to-right.
2311 (list-buffers-noselect): Caller changed.
2312
a3dae87a
SM
2313 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2314 Use string-mark-left-to-right.
3e26a4a2
CY
2315 (tabulated-list-print): Recenter after moving point.
2316
ac8cf6e6
JL
23172011-08-10 Juri Linkov <juri@jurta.org>
2318
2319 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2320 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2321 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2322
8d96c9a4
CY
23232011-08-09 Chong Yidong <cyd@stupidchicken.com>
2324
2325 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2326 (Bug#7554).
2327
7be1c708 23282011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2329
2330 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2331 character. (Bug#6594)
2332
37e11a63
CY
23332011-08-08 Chong Yidong <cyd@stupidchicken.com>
2334
839dde57
CY
2335 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2336 (image-dired--with-db-file): New macro.
2337 (image-dired-write-tags, image-dired-remove-tag)
2338 (image-dired-create-gallery-lists, image-dired-write-comments)
2339 (image-dired-get-comment, image-dired-mark-tagged-files)
2340 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2341 (image-dired-gallery-generate): Use insert-file-contents.
2342
37e11a63
CY
2343 * time.el (display-time-world-list, display-time-world-display):
2344 * time-stamp.el (time-stamp-string):
2345 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2346 set-time-zone-rule (Bug#7337).
2347
0b4946c4
DU
23482011-08-08 Daiki Ueno <ueno@unixuser.org>
2349
2350 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2351 (epg-error-to-string, epg-errors-to-string): New function.
2352 (epg-wait-for-completion): Reverse errors list.
2353 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2354 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2355 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2356 (epg-sign-keys, epg-generate-key-from-file)
2357 (epg-generate-key-from-string): Format errors by using
2358 epg-errors-to-string (bug#9255).
2359 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2360
75bfc667
JL
23612011-08-07 Juri Linkov <juri@jurta.org>
2362
2363 * faces.el (list-faces-display): Remove extra angle bracket
2364 from `help-mode-map'.
2365
2366 * info.el (Info-history-toc-nodes): Doc fix.
2367
2368 * longlines.el (longlines-mode): Doc fix.
2369
673e08bb
SM
23702011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2371
4640dd88
SM
2372 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2373 of statements and in a few more cases (bug#9183).
2374
673e08bb
SM
2375 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2376 New functions.
2377 (cl-transform-lambda): Use them (bug#9239).
2378
89b3f019
MR
23792011-08-05 Martin Rudalics <rudalics@gmx.at>
2380
2381 * window.el (display-buffer-same-window)
2382 (display-buffer-same-frame, display-buffer-other-window)
2383 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2384 (pop-to-buffer-other-window)
2385 (pop-to-buffer-same-frame-other-window)
2386 (pop-to-buffer-other-frame): Make them defuns.
2387 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2388
640c8776
SM
23892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2390
2391 * subr.el (make-composed-keymap): Move from C. Change calling
2392 convention, and improve docstring to bring attention to a subtle point.
2393 * minibuffer.el (completing-read-default): Adjust accordingly.
2394
63648a95
MA
23952011-08-03 Michael Albinus <michael.albinus@gmx.de>
2396
2397 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2398 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2399
2400 * net/trampver.el: Update release number.
2401
b796c9b7
SM
24022011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2403
2404 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2405 "in" (bug#9190).
2406
2239d7d5
LMI
24072011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2408
e07dd7c3
LMI
2409 * mail/sendmail.el (sendmail-query-once): Restore the current
2410 buffer after querying (bug#9074).
2411
0e6a2bd7
LMI
2412 * dired.el (dired-flagged): Use different faces for marked and
2413 flagged files (bug#6117).
2414
ce887515
LMI
2415 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2416 (bug#4433).
2417
92f2affc
LMI
2418 * ido.el (ido-mode): Switch off the message if called
2419 non-interactively.
2420
57d5aff0
LMI
2421 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2422 before 587, since it appears that that's more likely to work for
2423 more people.
2424
98cd6c18
LMI
2425 * cus-edit.el (custom-file): When running under emacs -q, always
2426 refuse to save the customisations, even if the .emacs file doesn't
2427 exist.
2428
b96dec83
LMI
2429 * info.el: Remove the `Info-beginning-of-buffer' function
2430 (bug#8325).
2431
b796c9b7
SM
2432 * net/network-stream.el (network-stream-open-starttls):
2433 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2434
d90e2ea0
MR
24352011-08-01 Martin Rudalics <rudalics@gmx.at>
2436
2437 * window.el (display-buffer-in-window): Don't set dedicated status
2438 of window here (Bug#9215).
2439 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2440 (display-buffer-pop-up-side-window)
b796c9b7 2441 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2442
cca09170
SM
24432011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2444
2445 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2446 before binding generated-autoload-file.
2447
027b979c
DD
24482011-08-01 Deniz Dogan <deniz@dogan.se>
2449
2450 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2451
3c7ee4f3
MA
24522011-07-30 Michael Albinus <michael.albinus@gmx.de>
2453
2454 Sync with Tramp 2.2.2.
2455
2456 * net/trampver.el: Update release number.
2457
2cc8e51a
JL
24582011-07-30 Juri Linkov <juri@jurta.org>
2459
2460 * dired-aux.el (dired-touch-initial): Remove function.
2461 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2462 current time, and `default' to the last modification time of the
2463 current marked file (bug#6887).
2464
a514d856
JM
24652011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2466
2467 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2468 numeric argument to read-number (bug#9163).
a514d856 2469
8a7eddd7
MA
24702011-07-27 Michael Albinus <michael.albinus@gmx.de>
2471
2472 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2473 connection process, it could be nil.
2474
1ddd96f5
LL
24752011-07-27 Leo Liu <sdl.web@gmail.com>
2476
2477 Simplify url handling in rcirc-mode.
2478
2479 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2480 (rcirc-browse-url-at-mouse): Remove.
2481 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2482
b248a85d
AM
24832011-07-26 Alan Mackenzie <acm@muc.de>
2484
2485 Fontify bitfield declarations properly.
2486
2487 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2488 (c-symbol-chars): Now exported as a lang variable.
2489 (c-not-primitive-type-keywords): New lang variable.
2490
2491 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2492 QT keyword "more" to prevent "more slots: ...." being spuriously
2493 parsed as a bitfield declaraion.
2494
b796c9b7
SM
2495 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2496 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2497 (c-punctuation-in): New function.
2498 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2499 declarations properly.
2500
68575ab0
UJ
25012011-07-26 Ulf Jasper <ulf.jasper@web.de>
2502
2503 * calendar/icalendar.el (icalendar--all-events): Take care of
2504 multiple vcalendars in a single file.
b796c9b7 2505 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2506
0f0a88b9
DD
25072011-07-25 Deniz Dogan <deniz@dogan.se>
2508
2509 * image.el (insert-image): Clarifying docstring.
2510
0b3f36df
MA
25112011-07-24 Michael Albinus <michael.albinus@gmx.de>
2512
2513 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2514 `tramp-send-command-and-check' if there is no error.
2515 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2516
a9901f61
AM
25172011-07-22 Alan Mackenzie <acm@muc.de>
2518
2519 Prevent cc-langs.elc being loaded at run time.
2520
2521 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2522 cc-langs.
2523
4d61f28d 2524 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2525 "(require 'cc-langs)". Quote a form so it will evaluate at
2526 (cc-mode's) compilation time.
2527
11d074b2
MA
25282011-07-22 Michael Albinus <michael.albinus@gmx.de>
2529
2530 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2531 loading. (Bug#9114)
2532
938b94c8
MR
25332011-07-21 Martin Rudalics <rudalics@gmx.at>
2534
2535 * window.el (display-buffer-pop-up-window)
2536 (display-buffer-pop-up-side-window)
2537 (display-buffer-in-side-window): Call display-buffer-set-height
2538 and display-buffer-set-width after setting the new window's
b796c9b7 2539 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2540
bfa4f190
SS
25412011-07-20 Sam Steingold <sds@gnu.org>
2542
2543 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2544 (etags-tags-included-tables): Call `convert-standard-filename' on
2545 the file names contained in TAGS so that windows Emacs can handle
2546 TAGS files created by cygwin ctags.
2547
8ca42262
LMI
25482011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2549
2550 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2551 which apparently didn't work.
2552
5db2afd2 25532011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2554
5db2afd2
RW
2555 * proced.el (proced-send-signal): For *Marked Processes* buffer
2556 put point at beginning of buffer.
2557
92e15d10
SB
25582011-07-19 Stephen Berman <stephen.berman@gmx.net>
2559
2560 * proced.el (proced-format): Make header lines align with the text
2561 (bug#1779).
2562
1bfd59e5
LMI
25632011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2564
2565 * view.el (view-buffer): Allow running in `special' modes if we're
2566 visiting a file (bug#8615).
2567
f5aae37c
MR
25682011-07-19 Martin Rudalics <rudalics@gmx.at>
2569
2570 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2571 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2572 New functions.
f5aae37c
MR
2573 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2574 more accurately.
2575
bf2c1571
AM
25762011-07-18 Alan Mackenzie <acm@muc.de>
2577
2578 Fontify declarators properly when, e.g., a jit-lock chunk begins
2579 inside a declaration.
2580
2581 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2582
b796c9b7
SM
2583 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2584 New function.
bf2c1571
AM
2585 (c-complex-decl-matchers): Insert reference to
2586 c-font-lock-enclosing-decls.
2587
2588 * progmodes/cc-engine.el (c-backward-single-comment):
2589 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2590 to nil around calls to (forward-comment -1).
2591
4e190b80
LMI
25922011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2593
12dc863d
LMI
2594 * image.el (put-image): Doc typo fix.
2595
a762e966
LMI
2596 * progmodes/etags.el (tags-search): Doc typo fix.
2597
4e190b80
LMI
2598 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2599 password if we get errors 550 to 554.
2600
f019fb21
LMI
26012011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2602
b796c9b7 2603 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2604
81746738
LMI
2605 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2606 indentation character (bug#6380).
2607
3ee3a1b5
LMI
2608 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2609
c82f64de
LMI
2610 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2611 to clarify what the problem is (bug#4291).
2612
f019fb21
LMI
2613 * simple.el (current-kill): Clarify what
2614 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2615 (auto-fill-mode): Document `auto-fill-function' in relation to
2616 `auto-fill-mode' (bug#2470).
f019fb21 2617
0794775d
LM
26182011-07-16 Lawrence Mitchell <wence@gmx.li>
2619
2620 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2621 method if slot is read-only (bug#9035).
2622
be39b8cc
MR
26232011-07-16 Martin Rudalics <rudalics@gmx.at>
2624
b796c9b7 2625 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2626 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2627 selected before, see discussion of (Bug#8615), (Bug#6954).
2628 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2629
6ccf7859
GM
26302011-07-15 Glenn Morris <rgm@gnu.org>
2631
2632 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2633 Respect help-form.
6ccf7859 2634
87e86684
LM
26352011-07-09 Lawrence Mitchell <wence@gmx.li>
2636
2637 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2638 (gnutls-negotiate): Use it.
2639
d6066239
LMI
26402011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2641
b796c9b7
SM
2642 * net/gnutls.el (gnutls-negotiate):
2643 Upcase `gnutls-algorithm-priority'.
d6066239 2644
bd23ebc0
GM
26452011-07-15 Glenn Morris <rgm@gnu.org>
2646
c65bca65
GM
2647 * jka-compr.el (jka-compr-verbose): Move from here...
2648 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2649 Add missing :version tag.
2650 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2651
478615cc
LMI
26522011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2653
7b41decb
LMI
2654 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2655 (gnutls-negotiate): Use it.
2656
dbc44fcd
LMI
2657 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2658
06789f97
LMI
2659 * info.el (Info-beginning-of-buffer): New command.
2660 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2661 announcing `b' as the key (bug#8325).
ab896c37 2662 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2663
c39da690
LMI
2664 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2665
3aa5f34b
LMI
2666 * international/mule-cmds.el
2667 (describe-specified-language-support): Make the error message
2668 clearer (bug#8905).
2669
4bf0979f
LMI
2670 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2671
478615cc
LMI
2672 * isearch.el (isearch-barrier): Add a doc string, since it's
2673 mentioned in a function doc string (bug#8678).
2674
75c68aa1
MR
26752011-07-15 Martin Rudalics <rudalics@gmx.at>
2676
2677 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2678 buffer argument (Bug#9083) and self-identifying label argument.
2679
a7c33da2
GM
26802011-07-15 Glenn Morris <rgm@gnu.org>
2681
2682 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2683
2f5c6024
LMI
26842011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2685
2686 * man.el (Man-fontify-manpage): Fix message when formatting the
2687 man page (bug#7929).
2688
0bb23927 26892011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2690
2691 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2692 argument LRM; if non-nil, append an invisible LRM character to the
2693 buffer name.
2694 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2695 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2696 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2697 paragraph direction.
cce4b0a7 2698
621ef9ab
LMI
26992011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2700
d1583c48
LMI
2701 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2702 the man page name (bug#7929).
2703
6a57fb5f
LMI
2704 * image.el (put-image): Mention the `put-image' overlay property
2705 (bug#7834).
2706
d7956b14
LMI
2707 * scroll-bar.el (set-scroll-bar-mode): Mention that
2708 `scroll-bar-mode' lists the values (bug#7772).
2709
5b2d4a66
LMI
2710 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2711 command (bug#7729).
2712
7509a874
LMI
2713 * rect.el (apply-on-rectangle): Return the point after the last
2714 operation.
2715 (string-rectangle): Go to the point after the last operation
2716 (bug#7522).
2717
4fe74b19
LMI
2718 * printing.el (pr-toggle-region): Clarify the documentation
2719 slightly (bug#7493).
2720
b796c9b7
SM
2721 * time.el (display-time-update):
2722 Allow `display-time-mail-function' to return nil (bug#7158).
2723 Fix suggested by Detlev Zundel.
ab283561 2724
fc233c9d
LMI
2725 * vc/diff.el (diff): Clarify the order the file names are read
2726 (bug#7111).
2727
43f5740b
LMI
2728 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2729 the doc string (bug#7015).
2730
f2182a76
LMI
2731 * font-lock.el (font-lock-maximum-decoration): Mention what
2732 numeric levels mean (bug#6935).
2733
621ef9ab
LMI
2734 * startup.el (initial-buffer-choice): Don't mention the `none'
2735 selection, which is against policy.
2736
adc47434
MR
27372011-07-14 Martin Rudalics <rudalics@gmx.at>
2738
b796c9b7
SM
2739 * window.el (display-buffer-normalize-special):
2740 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2741
7e5bfb8f
EZ
27422011-07-14 Eli Zaretskii <eliz@gnu.org>
2743
2744 * subr.el (version<, version<=, version=): Mention "-CVS" and
2745 "-12345" alpha version numbers.
2746
27fa387a
CY
27472011-07-14 Chong Yidong <cyd@stupidchicken.com>
2748
2749 * bindings.el: Add advertised binding for set-mark-command
2750 (Bug#5772).
2751
8bdfa064
CY
27522011-07-14 Chong Yidong <cyd@stupidchicken.com>
2753
2754 * bindings.el (mode-line-other-buffer):
2755 * bookmark.el (bookmark-bmenu-2-window):
2756 * bs.el (bs-cycle-next, bs-cycle-previous):
2757 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2758 switch-to-buffer.
2759
2760 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2761 Delete.
8bdfa064 2762
5eba16a3
JB
27632011-07-14 Juanma Barranquero <lekktu@gmail.com>
2764
2765 * follow.el (follow-debug-message, follow-redisplay):
2766 * jka-cmpr-hook.el (with-auto-compression-mode):
2767 Fix typos in docstrings.
2768
15853710
LMI
27692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2770
a28e4607
LMI
2771 * subr.el (with-silent-modifications): Clarify somewhat what the
2772 macro inhibits (bug#6525).
2773
15853710
LMI
2774 * simple.el (eval-expression): Note what it does if called
2775 interactively (bug#6495).
2776
bee0fcef
CY
27772011-07-13 Chong Yidong <cyd@stupidchicken.com>
2778
b796c9b7
SM
2779 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2780 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2781
2782 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2783 Remove switch-to-buffer.
2784
58274504
LMI
27852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2786
bd2fcc8d
LMI
2787 * files.el (make-directory): Clarify that an error will be raised
2788 if there's an error (bug#6397).
2789
0f04b32c
LMI
2790 * startup.el (initial-buffer-choice): Add `none' as a choice
2791 (bug#6234).
2792
465c5fc8
LMI
2793 * subr.el (add-hook): Clarify section about buffer-local hooks
2794 (bug#6218).
2795
58274504
LMI
2796 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2797
bead9a43
JB
27982011-07-13 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * tabify.el (untabify): Preserve the current column so that point
2801 doesn't move (bug#6032).
2802
3af98a7b
LMI
28032011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2804
b796c9b7
SM
2805 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2806 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2807
6240145a
GM
28082011-07-13 Glenn Morris <rgm@gnu.org>
2809
2810 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2811 (dired-insert-directory): Give a message the first time
2812 if ls is found not to support --dired.
2813
1d8c2ccc
LMI
28142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2815
2816 * simple.el (toggle-truncate-lines): Clarify what is toggled
2817 (bug#5580). Text by Drew Adams.
2818
5fc4038e
CY
28192011-07-13 Chong Yidong <cyd@stupidchicken.com>
2820
2821 * simple.el (blink-matching-open): Make the error message from the
2822 last change less verbose.
2823
bf6012e5
DN
28242011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2825
2826 * font-lock.el (font-lock-comment-face): Use the high contrast
2827 "yellow" color for font-lock-comment-face on low color terminals
2828 using a dark background color (bug#4221).
2829
343c3b5a
LMI
28302011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2831
7e9505c5
LMI
2832 * dired.el (dired-insert-set-properties): Make the doc string
2833 reflect what it does now (bug#5325).
2834
c26fdcf5
LMI
2835 * simple.el (blink-matching-open): Say that we were unable to find
2836 the match within the limit, if we're limited (bug#5122).
2837
bb388cc5
LMI
2838 * international/mule-cmds.el (prefer-coding-system): Add an
2839 example (bug#4869).
2840
343c3b5a
LMI
2841 * progmodes/etags.el (tags-search): Document `file-list-form'
2842 (bug#4731).
2843
2a517d45
LM
28442011-07-13 Lawrence Mitchell <wence@gmx.li>
2845
2846 * net/browse-url.el (browse-url-default-browser)
2847 (browse-url-browser-function): Make the default browser choice a
2848 bit more logical (bug#4300). Also clean up the doc string.
2849
b6c78ef2
JB
28502011-07-13 Juanma Barranquero <lekktu@gmail.com>
2851
2852 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2853 binary endings (bug#4440).
2854
1c4dd947
LMI
28552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2856
a2014063
LMI
2857 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2858 which can be pretty annoying (bug#8971).
2859
9c9c2d88
LMI
2860 * jka-compr.el (jka-compr-verbose): New variable, and use
2861 throughout (bug#8971).
2862
1c4dd947
LMI
2863 * info.el (Info-find-file): Fall back on the installation
2864 directory if we can't find the info node anywhere else.
2865
a1c9f41b
SO
28662011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2867
2868 * vc/vc.el (vc-revert-file):
2869 Don't set file time-stamp in the past. (Bug#5181)
2870
536f3d36
LMI
28712011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2872
7152b011
LMI
2873 * files.el (after-find-file): Give a better error message when
2874 trying to find a symlink that points to a file that doesn't exist
2875 (bug#4398).
2876
536f3d36
LMI
2877 * progmodes/cc-vars.el: Remove (probably) misleading comment
2878 (bug#4396).
2879
460c0fba
JB
28802011-07-12 Johan Bockgård <bojohan@gnu.org>
2881
2882 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2883
7a6bda45
CY
28842011-07-12 Chong Yidong <cyd@stupidchicken.com>
2885
2886 * mouse-sel.el: Hack restoring functionality, while keeping
2887 compatibility with 2010-07-03 changes to mouse selection.
2888 (mouse-sel-primary-overlay): New var.
2889 (mouse-sel-selection-alist): Use it.
2890 (mouse-sel-mode): Doc fix; remove points that are default features
2891 of mouse.el.
2892
c79598ef
JB
28932011-07-12 Johan Bockgård <bojohan@gnu.org>
2894
2895 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2896 Fix previous fix (bug#2490).
2897
ff8be6ef
RW
28982011-07-12 Roland Winkler <winkler@gnu.org>
2899
b796c9b7
SM
2900 * textmodes/bibtex.el (bibtex-initialize):
2901 Use pop-to-buffer-same-window.
ff8be6ef
RW
2902 (bibtex-search-entries): Fix interactive call.
2903
296ba3ee
LMI
29042011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2905
f5242a02 2906 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2907 Fontise bytecomp Error lines more correctly (bug#2490).
2908 Fix suggested by Johan Bockgård.
f5242a02 2909
296ba3ee
LMI
2910 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2911
2912 * dired-x.el (dired-guess-default): Use `delete-dups'.
2913
f69fd0d2
CY
29142011-07-12 Chong Yidong <cyd@stupidchicken.com>
2915
2916 * dired.el (dired-mark-prompt):
2917 * dired-aux.el (dired-read-shell-command): Doc fix.
2918
eab5dc07
LMI
29192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2920
b796c9b7
SM
2921 * mail/sendmail.el (sendmail-query-once):
2922 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2923 emacs -Q.
2924
2925 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2926
eab5dc07
LMI
2927 * cus-edit.el (custom-file): Take an optional no-error variable.
2928 (customize-save-variable): Set the variable, and give a warning if
2929 running under "emacs -q".
2930
a1e65d42
JB
29312011-07-11 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * loadhist.el (unload-feature-special-hooks):
2934 Add `auto-coding-functions', `fill-nobreak-predicate' and
2935 `find-directory-functions' (bug#5327).
2936
1d52da10
LMI
29372011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2938
be958f1d
LMI
2939 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2940
5bedb26c
LMI
2941 * cus-edit.el (custom-guess-name-alist): -alist variables should
2942 use the `alist' type (bug#3120). Suggested by Drew Adams.
2943
1d52da10
LMI
2944 * printing.el: Add documentation to all the `pr-toggle-' commands.
2945
481a51b6
LL
29462011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2947
2948 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2949 backends where it makes sense (bug#2623).
2950
dcc88d8a
LMI
29512011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2952
c3de9feb
LMI
2953 * dired-x.el (dired-guess-default): Remove duplicate shell command
2954 entries (bug#2028).
8a93078b 2955 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2956 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2957
dcc88d8a
LMI
2958 * subr.el (remove-duplicates): New conveniency function.
2959
505e3645
LMI
29602011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2961
2962 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2963 (bug#1526).
2964
29652011-07-10 Martin Rudalics <rudalics@gmx.at>
2966
2967 * window.el (display-buffer-normalize-default): Don't invert
2968 meaning of even-window-heights. Reported by Eli Zaretskii
2969 <eliz@gnu.org>.
2970
455e4fa1
BR
29712011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2972
2973 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2974
8e0bc3e9
CY
29752011-07-10 Chong Yidong <cyd@stupidchicken.com>
2976
2977 * window.el (display-buffer): Fix arguments to
2978 display-buffer-reuse-window in last change.
2979
fa7c3228
CY
2980 * faces.el (link): Use a less saturated blue on light backgrounds.
2981
2982 * startup.el (fancy-startup-text, fancy-about-text)
2983 (fancy-startup-tail): Use font-lock faces, for background safety.
2984
c0a7f300
BN
29852011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2986
b796c9b7
SM
2987 * emulation/viper-cmd.el (viper-change-state-to-vi):
2988 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2989
4dc2a129
MR
29902011-07-09 Martin Rudalics <rudalics@gmx.at>
2991
2992 * window.el (display-buffer-default-specifiers): Remove.
2993 (display-buffer-macro-specifiers): Remove default specifiers.
2994 (display-buffer-alist): Default to nil.
b796c9b7 2995 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2996 (display-buffer-pop-up-window): Allow splitting internal
2997 windows. Check whether a live window was created.
2998 (display-buffer-other-window-means-other-frame)
2999 (display-buffer-normalize-arguments): Rename to
3000 display-buffer-normalize-argument and rewrite. Set the
3001 other-window specifier.
3002 (display-buffer-normalize-special): New function.
3003 (display-buffer-normalize-options): Rename to
3004 display-buffer-normalize-default and rewrite.
3005 (display-buffer-normalize-options-inhibit): Remove.
3006 (display-buffer-normalize-specifiers): Rewrite.
3007 (display-buffer): Process other-window specifier and call
3008 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
3009 more faithfully.
b796c9b7 3010 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 3011 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
3012 (display-buffer-in-window, display-buffer-alist-set):
3013 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
3014 <tassilo@member.fsf.org>.
3015
2d43b8c9
LL
30162011-07-09 Leo Liu <sdl.web@gmail.com>
3017
3018 * register.el (insert-register): Restore accidental change on
3019 2011-06-26. (Bug#9028)
3020
7f9b7c53
GM
30212011-07-09 Glenn Morris <rgm@gnu.org>
3022
3023 * subr.el (remq): Handle the empty list. (Bug#9024)
3024
f042cfd8
AS
30252011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3026
3027 * mail/sendmail.el (send-mail-function): No longer delay custom
3028 initialization.
3029 * custom.el (custom-initialize-delay): Doc fix.
3030
856b2f11
SM
30312011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3032
3033 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3034
afae1d68
MA
30352011-07-08 Michael Albinus <michael.albinus@gmx.de>
3036
3037 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3038 human-friendly prompt.
3039
0757af94
SM
30402011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3041
3042 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3043 provided by a particular plugin.
3044
d760b731
LMI
30452011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046
3047 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3048 save customizations (with "emacs -Q"), just set the variable
3049 instead of erroring out.
3050
3051 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3052
cd79ce90
JL
30532011-07-08 Juri Linkov <juri@jurta.org>
3054
3055 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3056 (archive-zip-update-case): Use 7z if found by `executable-find'.
3057 The order of searching the available programs is the same as in
3058 `archive-zip-extract' (bug#8968).
3059
14cc04aa
CY
30602011-07-07 Chong Yidong <cyd@stupidchicken.com>
3061
3062 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3063 (menu-bar-options-menu): Tweak descriptions.
3064
0a1848ec
LMI
30652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3066
3067 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3068 menu items into verb phrases (bug#1421). Also refill to fit under
3069 80 columns.
3070
f5bd0689
CY
30712011-07-07 Chong Yidong <cyd@stupidchicken.com>
3072
538e85c6
CY
3073 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3074 (Info-read-node-name): Doc fix (Bug#1084).
3075
f5bd0689
CY
3076 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3077 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3078 (end-of-sexp, beginning-of-sexp)
3079 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3080 (forward-symbol, forward-same-syntax, word-at-point)
3081 (sentence-at-point): Doc fix (Bug#1144).
3082
56ec5115
LMI
30832011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3084
f3f8e37f
LMI
3085 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3086 should cover it (bug#1281).
3087
0757af94 3088 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3089
12b9eb35
LMI
3090 * net/network-stream.el (network-stream-open-starttls): If gnutls
3091 negotiation fails, then possibly try again with a non-encrypted
3092 connection (bug#9017).
3093
56ec5115
LMI
3094 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3095 be used.
3096
c2f9aec8
RS
30972011-07-07 Richard Stallman <rms@gnu.org>
3098
3099 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3100 property, and handle its changed format.
3101 Look for the correct line number.
3102 Use file's line contents (but not past first =) to find
3103 correct line in message.
3104
ef7b981d 31052011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3106
3107 * international/characters.el (build-unicode-category-table):
3108 Delete it.
0757af94 3109 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3110
0757af94 3111 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3112 to src/chartab.c.
3113 (get-char-code-property): Call unicode-property-table-internal to
3114 load a file. Call get-unicode-property-internal where necessary.
3115 (put-char-code-property): Call unicode-property-table-internal to
3116 load a file. Call put-unicode-property-internal where necessary.
3117 put-unicode-property-internal where necessary.
0757af94
SM
3118 (char-code-property-description):
3119 Call unicode-property-table-internal to load a file.
c805dec0
KH
3120
3121 * international/charprop.el:
3122 * international/uni-bidi.el:
3123 * international/uni-category.el:
3124 * international/uni-combining.el:
3125 * international/uni-comment.el:
3126 * international/uni-decimal.el:
3127 * international/uni-decomposition.el:
3128 * international/uni-digit.el:
3129 * international/uni-lowercase.el:
3130 * international/uni-mirrored.el:
3131 * international/uni-name.el:
3132 * international/uni-numeric.el:
3133 * international/uni-old-name.el:
3134 * international/uni-titlecase.el:
3135 * international/uni-uppercase.el: Regenerate.
3136
3137 * loadup.el: Load international/charprop.el before
3138 international/characters.
3139
e14b388a
CY
31402011-07-07 Chong Yidong <cyd@stupidchicken.com>
3141
3142 * window.el (next-buffer, previous-buffer): Signal an error if
3143 called from a minibuffer window.
3144
3145 * bindings.el: Revert 2011-07-04 change.
3146
354cf0ba
RS
31472011-07-06 Richard Stallman <rms@gnu.org>
3148
3149 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3150 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3151 Treat markers like ints.
3152 (rmail-mime-entity): Doc fix.
3153
a48868a7
LMI
31542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3155
4906cd3d
LMI
3156 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3157 defcustom again for backwards compatibility.
3158
e0457abe
LMI
3159 * simple.el (shell-command-on-region): Fill.
3160
d67f7e1f
LMI
3161 * dired-aux.el (dired-kill-line): Add a doc string.
3162
fe204702
LMI
3163 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3164 to "\\sw\\|\\s_" (bug#358).
3165
a48868a7
LMI
3166 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3167 (dired-unmark-backward): Ditto.
3168 (dired-flag-backup-files): Ditto.
3169
3170 * dired-x.el (dired-mark-sexp): Ditto.
3171
aa8a705c
RS
31722011-07-06 Richard Stallman <rms@gnu.org>
3173
3174 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3175 (rmail-mime-entity): New arg TRUNCATED.
3176 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3177 New functions.
3178 (rmail-mime-save): Warn if entity is truncated.
3179 (rmail-mime-toggle-hidden): Likewise, for showing.
3180 (rmail-mime-process-multipart): Record when an entity is truncated.
3181
a9a936b9
RS
3182 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3183 if ENTITY is a string.
3184
1f2b92cb
LMI
31852011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3186
f4f73198 3187 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3188 of faces when `M-C-x'-ing their definitions (bug#8378).
3189 Also clean up the code slightly.
f4f73198 3190
12b16734
LMI
3191 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3192 because that makes the colours go away.
3193
f0691d22
LMI
3194 * mail/sendmail.el (send-mail-function): Change the default to
3195 `sendmail-query-once'.
9e87df06 3196 (sendmail-query-once): Add an autoload cookie.
f0691d22 3197
1f2b92cb
LMI
3198 * net/network-stream.el (network-stream-open-starttls): Try using
3199 a plain connection even if the server offered STARTTLS, and we
3200 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3201 capability. This should make smtpmail.el work in slightly more
3202 configurations.
3203
1cdd2a1b
MA
32042011-07-06 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3207 New defun.
3208 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3209
fbcc67e2
MM
32102011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3211
3212 * progmodes/sql.el: Version 3.0
0757af94 3213 (sql-product-alist): Add product :completion-object,
fbcc67e2 3214 :completion-column, and :statement attributes.
0757af94 3215 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3216 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3217 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3218 ansi keywords.
3219 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3220 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3221 (sql-oracle-show-reserved-words): New function for development.
3222 (sql-product-font-lock): Simplify for source code buffers.
3223 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3224 New functions.
3225 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3226 (sql-mode-map): Add statement movement functions.
3227 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3228 New variable.
fbcc67e2
MM
3229 (sql-statement-regexp, sql-beginning-of-statement)
3230 (sql-end-of-statement, sql-signum): New functions.
0757af94 3231 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3232 (sql-show-sqli-buffer): Bug fix.
3233 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3234 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3235 with sql-interactive-mode.
3236 (sql-save-connection): Save buffer local settings.
0757af94 3237 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3238 (sql-product-interactive): Bug fix.
3239 (sql-preoutput-hold): New variable.
3240 (sql-interactive-remove-continuation-prompt): Bug fixes.
3241 (sql-debug-redirect): New variable.
3242 (sql-str-literal): New function.
3243 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3244 Redesign.
fbcc67e2
MM
3245 (sql-oracle-save-settings, sql-oracle-restore-settings)
3246 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3247 (sql-completion-object, sql-completion-column)
3248 (sql-completion-sqlbuf): New variables.
3249 (sql-build-completions-1, sql-build-completions)
3250 (sql-try-completion): New functions.
3251 (sql-read-table-name): Use them.
3252 (sql-contains-names): New buffer local variable.
3253 (sql-list-all, sql-list-table): Use it.
3254 (sql-oracle-completion-types): New variable.
3255 (sql-oracle-completion-object, sql-sqlite-completion-object)
3256 (sql-postgres-completion-object): New functions.
3257
d4eaeab1
GM
32582011-07-06 Glenn Morris <rgm@gnu.org>
3259
3260 * window.el (pop-to-buffer): Doc fix.
3261
322b7dab 32622011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3263
3264 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3265
322b7dab 32662011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3267
322b7dab 3268 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3269
322b7dab 3270 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3271
605dd5bf
CY
32722011-07-05 Chong Yidong <cyd@stupidchicken.com>
3273
3274 * button.el (button): Inherit from link face. Suggested by Dan
3275 Nicolaescu.
3276
7dbfa719
SM
32772011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3278
3db614b0
SM
3279 * progmodes/gdb-mi.el: Fit in 80 columns.
3280 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3281 switch-to-buffer.
3282
7dbfa719
SM
3283 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3284 if imenu is simply not configured (bug#8941).
3285
919d884a
KM
32862011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3287
3288 * allout.el (allout-post-undo-hook): New allout outline-change
3289 event hook to signal undo activity.
3290 (allout-post-command-business): Run allout-post-undo-hook if an
3291 undo just occurred.
7dbfa719
SM
3292 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3293 * allout-widgets.el (allout-widgets-after-undo-function):
3294 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3295 in the vicinity of an undo.
3296 (allout-widgets-mode): Include allout-widgets-after-undo-function
3297 on the new allout-post-undo-hook.
3298
450a0f09
SM
32992011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3300
3301 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3302 Let define-derived-mode define it.
3303 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3304 cycles of abbrev-table inheritance (bug#8998).
3305
2de69e00
RW
33062011-07-05 Roland Winkler <winkler@gnu.org>
3307
3308 * textmodes/bibtex.el: Add support for biblatex.
3309 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3310 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3311 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3312 (bibtex-entry-alist, bibtex-field-alist): New variables.
3313 (bibtex-entry-field-alist): Obsolete alias for
3314 bibtex-BibTeX-entry-alist.
3315 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3316 (bibtex-set-dialect): New command.
3317 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3318 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3319 Bind via bibtex-set-dialect.
2de69e00
RW
3320 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3321 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3322 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3323 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3324 Define via bibtex-set-dialect.
450a0f09
SM
3325 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3326 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3327 (bibtex-vec-push, bibtex-vec-incr): New functions.
3328 (bibtex-format-entry, bibtex-field-list)
3329 (bibtex-print-help-message, bibtex-validate)
3330 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3331
2dcdbdd9
SM
33322011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3333
3334 * progmodes/compile.el (compilation-goto-locus):
3335 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3336 * bs.el (bs-cycle-next, bs-cycle-previous):
3337 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3338 * bindings.el (mode-line-other-buffer):
3339 * autoinsert.el (auto-insert):
3340 * arc-mode.el (archive-extract):
3341 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3342
b27640fe
JB
33432011-07-05 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3346 Fix check of `emacs-lock-unlockable-modes'.
3347 Coerce true values of `emacs-lock--try-unlocking' to t.
3348
53bbe3ad
JB
33492011-07-05 Juanma Barranquero <lekktu@gmail.com>
3350
3351 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3352 * emacs-lock.el: New file.
3353
1d3cdbc7
JD
33542011-07-05 Julien Danjou <julien@danjou.info>
3355
3356 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3357 than `boundp' to check if face is set.
3358
9173deec
JB
33592011-07-05 Juanma Barranquero <lekktu@gmail.com>
3360
3361 * register.el (registerv-make):
3362 * window.el (window-min-height): Fix typos in docstrings.
3363
869795d6
JD
33642011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3365
9173deec 3366 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3367 Update doc string.
3368
b768cdcd
JB
33692011-07-04 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * server.el (server-execute): Catch quit and call
3372 `server-return-error' to pass the error back to emacsclient and
3373 close the connection (bug#8942).
3374
13aa217b
KM
33752011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3376
3377 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3378 insecure exception for current topic. Also note that auto-saves
3379 are handled differently.
3380
3381 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3382 State variables for tracking auto-save inhibition situation.
3383
3384 (allout-write-contents-hook-handler): Rename from
3385 'allout-write-file-hook-handler', and describe how it depends on
3386 write-contents-functions sensitivity to non-nil value to prevent
3387 file write.
3388
3389 (allout-auto-save-hook-handler): Remove. auto-save does not check
3390 this in individual buffers, only in the starting buffer, so this
3391 is not the right way for us to inhibit auto-save in a buffer
3392 according to its condition.
3393
3394 (allout-mode): Use new allout-write-contents-hook-handler, and
3395 only with write-contents-functions. Remove auto-save provisions -
3396 they're implemented elsewhere.
3397
3398 (allout-before-change-handler): If undo is in progress, note that
3399 for attention of allout-post-command-business.
3400
3401 (allout-post-command-business): If the command we're following was
3402 an undo, check for change in the status of encrypted items and
3403 adjust auto-save inhibitions accordingly.
3404
3405 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3406 according to whether there are or aren't any plain-text topics
3407 pending encryption.
3408
2dcdbdd9
SM
3409 (allout-inhibit-auto-save-info-for-decryption):
3410 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3411 there are plain-text topics pending encryption.
3412
3413 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3414 buffer-saved-size and some allout state to not inhibit auto-saves
3415 if there are no longer any plain-text topics pending encryption.
3416
0757af94
SM
3417 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3418 No longer provide for exemption of the current topic.
13aa217b 3419
ac89b32c
JL
34202011-07-04 Juri Linkov <juri@jurta.org>
3421
3422 Add 7z operations to delete and save changed members (bug#8968).
3423 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3424 New defcustoms.
3425 (archive-7z-write-file-member): New function.
3426 (archive-7z-summarize): Fix the number of dashes in the
3427 listing output.
3428
8fa39615
SM
34292011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3430
3431 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3432 (bug#8958).
3433
2f11b3f1
CY
34342011-07-04 Chong Yidong <cyd@stupidchicken.com>
3435
d66fef2b
CY
3436 * bindings.el: Ignore next-buffer and previous-buffer in
3437 minibuffer-local-map.
3438
2f11b3f1
CY
3439 * font-lock.el (font-lock-builtin-face): Change light background
3440 color to dark slate blue (Bug#6693).
3441
f932a347
WD
34422011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3443
3444 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3445
c8af70e1
SM
34462011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3449 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3450 Add switch-to-buffer.
3451
f158badc
LMI
34522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3453
3454 * isearch.el (isearch-search-fun-function): Clarify further the
3455 meaning of the function returned.
3456
6d95bd46
MA
34572011-07-04 Michael Albinus <michael.albinus@gmx.de>
3458
3459 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3460
3461 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3462 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3463 Use it.
3464 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3465 `tramp-default-remote-path' does not exist.
3466 (tramp-send-command-and-read): New optional argument NOERROR.
3467 (tramp-open-connection-setup-interactive-shell)
3468 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3469 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3470 (tramp-process-sentinel): Flush also process' connection property.
3471 (tramp-sh-handle-start-file-process): Do not set process
3472 sentinel. It is done now ...
3473 (tramp-maybe-open-connection): ... here. (Bug#8929)
3474
909e6b67
MK
34752011-07-04 MON KEY <monkey@sandpframing.com>
3476
3477 * play/animate.el (animate-string): Doc fixes and allow changing
3478 the buffer name (bug#5417).
3479
34802011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3481
c8af70e1 3482 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3483
f34755dc
PE
34842011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3485
396cec72
PE
3486 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3487 This is simpler and helps future-proof the code.
3488 (timer-until): Use time-subtract and float-time.
08235028 3489 (timer--time-less-p): Use time-less-p.
f34755dc 3490
56e6cc31
JB
34912011-07-04 Juanma Barranquero <lekktu@gmail.com>
3492
3abb79e5
JB
3493 * type-break.el (timep): Use the value of `float-time' to avoid a
3494 byte-compiler warning.
3495
56e6cc31
JB
3496 * server.el (server-eval-and-print): Return any result, even nil.
3497
7b9430b4
PE
34982011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3499
3500 * type-break.el: Accept time formats that the builtins accept.
3501 (timep, type-break-time-difference): Accept any format that
3502 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3503 This is simpler and helps future-proof the code.
3504 (type-break-time-difference): Round rather than ignoring
3505 subseconds components.
3506
3034e9e7
LMI
35072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3508
3509 * info.el (Info-apropos-matches): Make non-interactive, since it
3510 doesn't seem to do anything useful as a command (bug#8829).
3511
1485f4c0
CY
35122011-07-03 Chong Yidong <cyd@stupidchicken.com>
3513
3514 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3515 Move from faces.el.
1485f4c0
CY
3516 (frame-default-terminal-background): New function.
3517
3518 * custom.el (custom-push-theme): Don't record faces in `changed'
3519 theme; this doesn't work correctly for per-frame face settings.
3520 (disable-theme): Use face-set-after-frame-default to reset faces.
3521 (custom--frame-color-default): New function.
3522
9fa3dd45
LMI
35232011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3524
c8af70e1 3525 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3526 (bug#8769).
3527
6cbbc20c
KR
35282011-03-29 Kevin Ryde <user42@zip.com.au>
3529
3530 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3531 `perl-Test2' extend to match possible "fail #N" rep count
3532 (bug#8377).
3533
c7f98048
LMI
35342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3535
65676592
LMI
3536 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3537 `smtpmail-via-smtp' now returns the error instead of nil.
3538
c7f98048
LMI
3539 * isearch.el (isearch-search-fun-function): Clarify the doc string
3540 (bug#8101).
3541
56e6cc31 35422011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3543
3544 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3545 unnecessary spaces (bug#8987).
3546
2b216704
LMI
35472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3548
3549 * net/network-stream.el (open-network-stream): Use the
3550 :end-of-capability command thoughout.
3551
35522011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3553
3554 * net/network-stream.el (open-network-stream): Add the
3555 :end-of-capability command parameter, used by pop3.el.
3556
36adf6ce
LMI
35572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3558
1ca0da0e
LMI
3559 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3560
fc00f69c
LMI
3561 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3562 for list)" (bug#6475).
3563
28fd8759
LMI
3564 * files.el (file-expand-wildcards): Ignore non-readable
3565 sub-directories while trying to find matches instead of signalling
3566 an error (bug#6297).
3567
0dd8b6da
LMI
3568 * man.el (Man-reference-regexp): Allow matching possible
3569 word-wrapped references (bug#6289).
3570
ce1438d6
LMI
3571 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3572 for consistency with the other vc buffers (bug#6197).
3573 (vc-checkin): Ditto.
3574
3575 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3576
36adf6ce
LMI
3577 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3578
e83cc1f7
LMI
35792011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3580
8a20ca4c
LMI
3581 * custom.el (defcustom): Clarify that :set is only used in the
3582 Customize user interface (bug#6089).
3583
83319045
LMI
3584 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3585 associated with a file, refuse to run instead of erroring out
3586 (bug#6084).
3587
a8392169
LMI
3588 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3589 the doc string, since it appears that using `fill-column' always
3590 controls the width (bug#7845).
3591
e83cc1f7
LMI
3592 * simple.el (shell-command-on-region): Say where the error output
3593 went if `shell-command-default-error-buffer' is set (bug#6857).
3594
e47ca23b
KM
35952011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3596
3597 * allout.el (allout-yank-processing): Adjust cursor position for
3598 backwards-deleted space.
3599
3600 (allout-rebullet-heading): Register changes with
3601 allout-exposure-changed-hook, so the modified topic is properly
3602 decorated.
3603
5cf56143
LMI
36042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3605
08549772
LMI
3606 * minibuffer.el (completion-in-region): Document PREDICATE
3607 (bug#7136).
3608
48e96771
LMI
3609 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3610 of keyword/argument pairs (bug#6904).
3611
c8af70e1
SM
3612 * replace.el (multi-occur):
3613 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3614
e17d05e2
LMI
36152011-07-02 Drew Adams <drew.adams@oracle.com>
3616
3617 * dired.el (dired-mark-if): Make the message about whether it's
3618 marking or unmarking clearer (bug#8523).
3619
063b0e45
LMI
36202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3621
3622 * disp-table.el (display-table-print-array): New function.
3623 (describe-display-table): Use it to print the vectors more pretty
3624 (Bug#8859).
3625
28545e04
MR
36262011-07-02 Martin Rudalics <rudalics@gmx.at>
3627
3628 * window.el (window-state-get-1): Don't assign clone numbers.
3629 Add clone-of item to list of window parameters.
3630 (window-state-put-2): Don't process clone numbers.
3631 (display-buffer-alist): Fix doc-string.
3632
3349e122
SM
36332011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3634
3635 * subr.el (remq): Don't allocate if it's not needed.
3636 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3637 (keymap--merge-bindings): New functions.
3638 (keymap-canonicalize): Use them to refine the canonicalization.
3639 * minibuffer.el (minibuffer-local-completion-map)
3640 (minibuffer-local-must-match-map): Move initialization from C.
3641 (minibuffer-local-filename-completion-map): Move initialization from C;
3642 don't inherit from anything here.
3643 (minibuffer-local-filename-must-match-map): Make obsolete.
3644 (completing-read-default): Use make-composed-keymap to combine
3645 minibuffer-local-filename-completion-map with either
3646 minibuffer-local-must-match-map or
3647 minibuffer-local-filename-completion-map.
3648
d224ac83
GM
36492011-07-01 Glenn Morris <rgm@gnu.org>
3650
3de63bf8
GM
3651 * type-break.el (type-break-time-sum): Use dolist.
3652
d224ac83
GM
3653 * textmodes/flyspell.el (flyspell-word-search-backward):
3654 Replace CL function.
3655
1a1e3f32
SM
36562011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3657
fe3f64d5
SM
3658 * mouse.el (mouse--strip-first-event): New function.
3659 (function-key-map): Use it to map fringe clicks to normal clicks
3660 by default.
3661
eb604e34
SM
3662 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3663 (vc-bzr-revision-completion-table): Add support for annotate and date.
3664
1a1e3f32
SM
3665 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3666 inherit from parent.
3667
5bd35902
LMI
36682011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3669
ace6c69c 3670 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3671 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3672
191e2bed
LMI
3673 * dired.el (dired-mode): Fix up the doc string as suggested by
3674 Drew Adams (bug#8817).
3675
5bd35902
LMI
3676 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3677 cookie, since the manual says that it should be possible to add
3678 this function to `find-file-hook' (bug#8709).
3679
eee8207a
TZ
36802011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3681
3682 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3683 here. Noted Ted Zlatanov as the maintainer.
3684 (cfengine-common-settings, cfengine-common-syntax): New functions
3685 to set up common things between `cfengine-mode' and
3686 `cfengine3-mode'.
3687 (cfengine3-mode): New mode.
3688 (cfengine3-defuns cfengine3-defuns-regex
3689 (cfengine3-class-selector-regex cfengine3-category-regex)
3690 (cfengine3-vartypes cfengine3-font-lock-keywords)
3691 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3692 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3693
36b148cf
MA
36942011-07-01 Michael Albinus <michael.albinus@gmx.de>
3695
3696 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3697
3698 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3699
0bf4ba9a
MR
37002011-07-01 Martin Rudalics <rudalics@gmx.at>
3701
3702 * window.el (same-window-buffer-names, same-window-regexps)
3703 (same-window-p, special-display-frame-alist)
3704 (special-display-popup-frame, special-display-function)
3705 (special-display-buffer-names, special-display-regexps)
3706 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3707 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3708 (split-window-preferred-function, split-height-threshold)
3709 (split-width-threshold, even-window-heights)
3710 (display-buffer-mark-dedicated, window-splittable-p)
3711 (split-window-sensibly, window-safely-shrinkable-p):
3712 Un-obsolete.
3713 (display-buffer): Don't spread args with function specifier
3714 because special-display-popup-frame won't like it.
3715
35837f51
PE
37162011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3717
d0672f86
PE
3718 Time-stamp simplifications and fixes.
3719 These improve accuracy slightly, and future-proof the code
3720 against some potential changes to current-time format.
3721
b9444d97
PE
3722 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3723 by using time-since and float-time.
3724
0ef923dc
PE
3725 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3726 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3727 + NNN microseconds".
3728
2f81380d
PE
3729 * type-break.el (type-break-time-sum): Rewrite using time-add.
3730
845b5c3e
PE
3731 * play/hanoi.el (hanoi-current-time-float): Remove.
3732 All uses replaced by float-time.
3733
ee6f1be0
PE
3734 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3735 This yields a more-accurate answer.
3736 (rng-time-to-float): Remove; no longer needed.
3737
fe955043
PE
3738 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3739
5777162a
PE
3740 * calendar/timeclock.el (timeclock-seconds-to-time):
3741 Defalias to seconds-to-time, since they're the same thing.
3742
3103f8b6 3743 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3744 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3745 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3746
0e61a35f
SM
37472011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3748
3749 * window.el (bury-buffer): Don't iconify the only frame.
3750 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3751 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3752
ddd63a1e
CY
37532011-07-01 Chong Yidong <cyd@stupidchicken.com>
3754
0e61a35f
SM
3755 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3756 Add mouse-yank-primary.
ddd63a1e 3757
055f4923
TZ
37582011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3759
3760 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3761
6a2fb145
SM
37622011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3765 (find-library-name): Use it to find relative load names when provided
3766 absolute file name (bug#8803).
3767
fd4983f2
LMI
37682011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3769
887d14ad
LMI
3770 * textmodes/flyspell.el (flyspell-word): Consider words that
3771 differ only in case as potential doublons (bug#5687).
3772
c53dc7fc
LMI
3773 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3774 Remove two rather uninteresting debugging-like messages to make
3775 debbugs.el more silent.
3776
fd4983f2
LMI
3777 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3778 a password-like phrase.
3779
b14c0c55
AM
37802011-06-30 Mastake YAMATO <yamato@redhat.com>
3781
3782 * progmodes/cc-guess.el: New file.
3783
6a2fb145 3784 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3785
3786 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3787 derived from `c-basic-common-init'.
3788
3789 * progmodes/cc-mode.el (top-level): Require cc-guess.
3790 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3791
1fa280a3
LM
37922011-06-30 Lawrence Mitchell <wence@gmx.li>
3793
3794 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3795
e6597158
AM
37962011-06-30 Alan Mackenzie <acm@muc.de>
3797
1fa280a3
LM
3798 * progmodes/cc-engine.el (c-guess-continued-construct):
3799 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3800 lock is disabled. Name this case as "CASE G".
3801
68ba37fb
KM
38022011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3803
3804 * allout.el (allout-yank-processing): Fix injection of extra space
3805 between bullet and non-whitespace character in first topic when
3806 pasting, ensuring that the actual spacing in the pasted topic
3807 following the bullet char is preserved. This extra space was
3808 causing pasted encrypted topics to get a decrypted status even
3809 when the content was actually still encrypted. Now the decryption
3810 status from before the paste is preserved.
3811
3812 (allout-flag-region): Set all allout overlays so they evaporate
3813 when reduced to zero length (evanescent), to prevent overlay
3814 leakage.
3815
887a0b34
GM
38162011-06-30 Glenn Morris <rgm@gnu.org>
3817
94b9acce
GM
3818 * w32-fns.el (w32-charset-info-alist): Declare.
3819
1d9b46d4
GM
3820 * find-dired.el (find-grep-options): Simplify.
3821
cc232200
GM
3822 * term/ns-win.el (ns-set-resource): Declare.
3823
28e77c46
GM
3824 * ses.el (row, col): Declare dynamic variables honestly.
3825
887a0b34
GM
3826 * textmodes/reftex-parse.el (index-tags): Declare.
3827
658d8eb8
CY
38282011-06-30 Chong Yidong <cyd@stupidchicken.com>
3829
3830 * cus-edit.el (customize-push-and-save): New function.
3831
3832 * files.el (hack-local-variables-confirm): Use it.
3833
1fa280a3
LM
3834 * custom.el (load-theme): New arg NO-CONFIRM.
3835 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3836 (custom-enabled-themes): Doc fix.
3837
3838 * cus-theme.el (customize-create-theme)
3839 (custom-theme-merge-theme): Callers to load-theme changed.
3840
bb617717
LMI
38412011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3842
d61bdd5d
LMI
3843 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3844 short URLs have at least one dot in them (bug #7614).
3845
bb617717
LMI
3846 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3847 nil, because using a pty is apparently too slow (bug #895).
3848
2f31f37a
LMI
38492011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3850
3851 * mail/sendmail.el (sendmail-query-once): New function.
3852 (sendmail-query-once-function): New variable.
3853
3076b24e
GM
38542011-06-29 Glenn Morris <rgm@gnu.org>
3855
faf2a174
GM
3856 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3857
3076b24e
GM
3858 * ses.el (top-level): Require cl when compiling.
3859 (ses-set-localvars): Fix error statement.
3860 Call it at compile time to silence a storm of warnings.
3861
5386012d
MR
38622011-06-29 Martin Rudalics <rudalics@gmx.at>
3863
3864 * window.el (normalize-live-buffer): Rename to
3865 window-normalize-buffer.
3866 (normalize-live-frame): Rename to window-normalize-frame.
3867 (normalize-any-window): Rename to window-normalize-any-window.
3868 (normalize-live-window): Rename to window-normalize-live-window.
3869 (make-window-atom): Rename to window-make-atom.
3870 (window-resize-reset): Rename to window--resize-reset.
3871 (window-resize-reset-1): Rename to window--resize-reset-1.
3872 (resize-mini-window): Rename to window--resize-mini-window.
3873 (resize-subwindows-skip-p): Rename to
3874 window--resize-subwindows-skip-p.
3875 (resize-subwindows-normal): Rename to
3876 window--resize-subwindows-normal.
3877 (resize-subwindows): Rename to window--resize-subwindows.
3878 (resize-other-windows): Rename to window--resize-siblings.
3879 (resize-this-window): Rename to window--resize-this-window.
3880 (resize-root-window): Rename to window--resize-root-window.
3881 (resize-root-window-vertically): Rename to
3882 window--resize-root-window-vertically.
3883 (normalize-buffer-to-display): Rename to
3884 window-normalize-buffer-to-display.
3885 (normalize-buffer-to-switch-to): Rename to
3886 window-normalize-buffer-to-switch-to.
3887 Correspondingly update all callers of the functions listed
3888 above.
3889 (display-buffer-alist, display-buffer-normalize-arguments)
3890 (display-buffer-normalize-options, display-buffer)
3891 (display-buffer-alist-set): Use "function" instead of
3892 "fun-with-args".
3893
1176868d
CY
38942011-06-28 Chong Yidong <cyd@stupidchicken.com>
3895
3896 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3897 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3898 debbugs.gnu.org. Mention acknowledgment email.
3899
20a7a65f
LMI
39002011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3901
3902 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3903 buffer multibyteness, since it shouldn't matter.
3904
5f45cca5
MR
39052011-06-28 Martin Rudalics <rudalics@gmx.at>
3906
3907 * window.el (display-buffer-in-side-window): Handle dedicated
3908 windows as in display-buffer-reuse-window.
3909 (display-buffer-normalize-alist): Use value of override
3910 specifier.
3911 (display-buffer-normalize-specifiers): Use value of
3912 other-window-means-other-frame specifier.
3913 (display-buffer-alist): Rewrite some texts in widgets.
3914 (display-buffer): Spread arguments when calling function
3915 specified by fun-with-args.
3916
ad85fe1f
DD
39172011-06-28 Deniz Dogan <deniz@dogan.se>
3918
1fa280a3
LM
3919 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3920 Unnest `let'.
da68c4c8 3921
ad85fe1f
DD
3922 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3923 selectors (Bug#5732).
ec49bd31 3924 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3925
a08cc025
JA
39262011-06-27 Jari Aalto <jari.aalto@cante.net>
3927
3928 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3929 (eshell-ls-date-format): New defcustom.
3930 (eshell-ls-file): Use it.
3931
e2b551c5
SM
39322011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3933
3934 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3935
8982b231
KY
39362011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3937
3938 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3939 (ange-ftp-make-tmp-name): New arg.
3940 (ange-ftp-file-local-copy): Use it.
3941
36c9fa27
J
39422011-06-27 Jambunathan K <kjambunathan@gmail.com>
3943
3944 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3945 no-conversion (Bug#8870).
3946
d68443dc
MR
39472011-06-27 Martin Rudalics <rudalics@gmx.at>
3948
3949 * window.el (window-right, window-left, window-child)
3950 (window-child-count, window-last-child)
3951 (window-iso-combination-p, walk-window-tree-1)
3952 (window-atom-check-1, window-tree-1, delete-window)
3953 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3954 new naming conventions - window-vchild, window-hchild,
3955 window-next and window-prev are now called window-top-child,
3956 window-left-child, window-next-sibling and window-prev-sibling
3957 respectively.
d615d6d2
MR
3958 (resize-window-reset): Rename to window-resize-reset.
3959 (resize-window-reset-1): Rename to window-resize-reset-1.
3960 (resize-window): Rename to window-resize.
3961 (window-min-height, window-min-width)
3962 (resize-mini-window, resize-this-window, resize-root-window)
3963 (resize-root-window-vertically, adjust-window-trailing-edge)
3964 (enlarge-window, shrink-window, maximize-window)
3965 (minimize-window, delete-window, quit-restore-window)
3966 (split-window, balance-windows, balance-windows-area-adjust)
3967 (balance-windows-area, window-state-put-2)
3968 (display-buffer-even-window-sizes, display-buffer-set-height)
3969 (display-buffer-set-width, set-window-text-height)
3970 (fit-window-to-buffer): Rename all "resize-window" prefixed
3971 calls to use the "window-resize" prefix convention.
3972 (display-buffer-alist): Fix symbol for label specifier.
3973 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3974 corresponding specifier.
3975 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3976
b6458526
VB
39772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3978
3979 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3980 convention.
3981 (ses-call-printer): Does not pass an empty string to formatter when the
3982 cell is empty to keep from barking printer Calc math-format-value.
3983
d31fd9ac
RS
39842011-06-27 Richard Stallman <rms@gnu.org>
3985
43d5bf84
RS
3986 * battery.el (battery-mode-line-limit): New variable.
3987 (battery-update): Handle it.
3988
d31fd9ac
RS
3989 * mail/rmailmm.el (rmail-mime-process-multipart):
3990 Handle truncated messages.
3991
819a6054
GM
39922011-06-27 Glenn Morris <rgm@gnu.org>
3993
3994 * progmodes/flymake.el (flymake-err-line-patterns):
3995 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3996
cedc73f2
VB
39972011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3998
819a6054 3999 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
4000 (ses--clean-!, ses--clean-_): New functions.
4001 (ses-range): Add configurability of readout order, and conversion
4002 to Calc vector.
4003
5e5d49b6
VB
4004 * ses.el (ses-repair-cell-reference-all): New function.
4005 (ses-cell-symbol): Set macro as safe, so that it can be used in
4006 formulas.
4007
56e6cc31 4008 * ses.el: Update cycle detection algorithm.
90ca8b49 4009 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 4010 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
4011 (ses-set-localvars): New function.
4012 (ses-make-cell): Add property-list as a cell element.
4013 (ses-cell-property-get-fun, ses-cell-property-get)
4014 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
4015 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4016 New functions.
90ca8b49
VB
4017 (ses-cell-property-set, ses-cell-property-pop)
4018 (ses-cell-property-get-handle): New macro.
4019 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4020 New aliases, used for code readability.
4021 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4022 cycle detection.
4023 (ses-self-reference-early-detection): New defcustom.
4024 (ses-formula-references): Robustify against self-refering cells.
4025 (ses-mode): Use ses-set-localvars.
4026 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4027 before lauching the update processing.
4028 (ses-initialize-Dijkstra-attempt): New function.
4029 (ses-recalculate-cell): Update for cycle detection based on
4030 Dijkstra algorithm.
4031
2bb63e81
VB
4032 * ses.el: Fix commenting and indenting convention.
4033
c9d29fb8
SM
40342011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * bs.el (bs-cycle-next): Complete last change.
4037
d8e4b68b
JB
40382011-06-27 Drew Adams <drew.adams@oracle.com>
4039
4040 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4041
40098786
LMI
40422011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4043
c9d29fb8
SM
4044 * net/network-stream.el (network-stream-open-starttls):
4045 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4046 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4047
40098786
LMI
4048 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4049 to binary to possibly avoid line encoding issues on Windows (among
4050 other things).
4051
468d09d4
LMI
40522011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4053
4054 * net/network-stream.el (open-network-stream): Return an :error
4055 saying what the problem was, if possible.
4056
4057 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4058 server.
4059
4060 * net/network-stream.el (network-stream-open-starttls): If we
4061 wanted to use STARTTLS, and the server offered it, but we weren't
4062 able to because we had no STARTTLS support, then close the connection.
4063 (open-network-stream): Return an :error element, if present.
4064
16f07dd7
CY
40652011-06-26 Chong Yidong <cyd@stupidchicken.com>
4066
88821ca0
CY
4067 * hl-line.el (hl-line-sticky-flag): Doc fix.
4068 (global-hl-line-sticky-flag): New option (Bug#8323).
4069 (global-hl-line-highlight): Obey it.
4070
16f07dd7
CY
4071 * vc/vc.el (vc-revert-show-diff): Default to t.
4072
6b5ccddf
KM
40732011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4074
c9d29fb8
SM
4075 * allout-widgets.el (allout-widgets-post-command-business):
4076 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4077 undecorated when an isearch is continued past, and isearch
4078 automatically collapses them. This leads to "widget leaks", where
4079 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4080 hidden widgets can slow down cursor travel, substantially.
4081 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4082 so we're doing without this nicety.
4083
4084 (allout-widgets-tally-string): Don't try to do a hash-table-count
4085 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4086 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4087 *Messages* when allout-widgets-maintain-tally is t.
4088
355f2e07
MR
40892011-06-26 Martin Rudalics <rudalics@gmx.at>
4090
4091 * window.el (display-buffer-normalize-argument): Rename to
4092 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4093 LABEL argument. Respect special-display-function when popping up
4094 a new frame. Fix code searching for a window showing the buffer
4095 on another frame.
c9d29fb8
SM
4096 (display-buffer-normalize-specifiers):
4097 Call display-buffer-normalize-arguments.
355f2e07
MR
4098 (display-buffer-in-window): Don't undedicate the window if its
4099 buffer remains the same.
4100 Reported by Drew Adams <drew.adams@oracle.com>.
4101 (display-buffer-alist): Add choice for same-window macro
4102 specfier.
4103 (display-buffer): Mention special meaning of LABEL argument in
4104 doc-string. Fix quoting. Don't pop up a new frame even as
4105 fallback.
4106
7ca8fc42
JB
41072011-06-26 Juanma Barranquero <lekktu@gmail.com>
4108
4109 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4110 avoid deleting the current window in some cases (bug#8911).
4111
bc312254
AS
41122011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4113
4114 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4115 (Bug#8934)
4116
2db18f3f
LMI
41172011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4118
c9d29fb8
SM
4119 * net/network-stream.el (network-stream-open-starttls):
4120 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4121 (network-stream-open-tls): Ditto.
4122
6302e0d3
LL
41232011-06-26 Leo Liu <sdl.web@gmail.com>
4124
4125 * register.el (registerv): New struct.
4126 (registerv-make): New function.
c9d29fb8
SM
4127 (jump-to-register, describe-register-1, insert-register):
4128 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4129 struct. (Bug#8415)
4130
5fdd4046
CY
41312011-06-26 Chong Yidong <cyd@stupidchicken.com>
4132
2afef60a
CY
4133 * vc/vc.el (vc-revert-show-diff): New defcustom.
4134 (vc-diff-internal): New arg specifying diff buffer.
4135 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4136 reuse an existing *vc-diff* buffer (Bug#8927).
4137
5fdd4046
CY
4138 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4139
e93db24a
GM
41402011-06-26 Glenn Morris <rgm@gnu.org>
4141
4142 * progmodes/f90.el (f90-critical-indent): New option.
4143 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4144 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4145 (f90-mode): Doc fix.
4146 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4147 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4148 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4149 (f90-match-end): Handle block, critical.
4150
eefff499
GM
41512011-06-25 Glenn Morris <rgm@gnu.org>
4152
f6ba4cc9
GM
4153 * calendar/diary-lib.el (diary-included-files): Doc fix.
4154 (diary-include-files): New function, extracted from
4155 diary-include-other-diary-files and diary-mark-included-diary-files.
4156 (diary-include-other-diary-files, diary-mark-included-diary-files):
4157 Just call diary-include-files.
4158 (diary-mark-entries): Reset diary-included-files on first call.
4159
16712304
GM
4160 * calendar/diary-lib.el (diary-mark-entries)
4161 (diary-mark-included-diary-files):
4162 Visit included diary-files in temp buffers.
4163
5d8e0d43
GM
4164 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4165 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4166 (f90-start-block-re, f90-imenu-generic-expression)
4167 (f90-looking-at-program-block-start, f90-no-block-limit):
4168 Add support for submodules.
4169
ccf7a5d5
GM
4170 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4171 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4172
11fdef7d 41732011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4174
4175 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4176 buffer-file-type before setting its value, to avoid disastrous
eefff499 4177 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4178
74f53697
JB
41792011-06-25 Juanma Barranquero <lekktu@gmail.com>
4180
4181 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4182
4183 * ses.el (ses-unload-function):
4184 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4185
4186 * proced.el (proced-unload-function):
4187 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4188
18a4ce5e
AR
41892011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4190
4191 * server.el (server-create-window-system-frame): Add parameters arg.
4192 (server-process-filter): Doc fix. Handle frame-parameters.
4193
519d22cc
JB
41942011-06-25 Juanma Barranquero <lekktu@gmail.com>
4195
4196 Fix bug#8730, bug#8781.
4197
4198 * loadhist.el (unload--set-major-mode): New function.
4199 (unload-feature): Use it.
4200
4201 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4202 (python-unload-function): New function.
4203
c206f5b0
SM
42042011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4207
f9ad64f3
GS
42082011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4209
4210 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4211 the candidates list.
4212
7d0da90e
JB
42132011-06-24 Juanma Barranquero <lekktu@gmail.com>
4214
4215 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4216
14b4e83d
RS
42172011-06-23 Richard Stallman <rms@gnu.org>
4218
4219 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4220 (rmail-variables): Set next-error-move-function.
4221 (rmail-what-message): Take argument POS.
4222 (rmail-next-error-move): New function.
4223
273d2baf
SM
42242011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4225
4226 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4227 messages for adjacent non-terminals.
4228
56c2cc9a
RS
42292011-06-23 Richard Stallman <rms@gnu.org>
4230
4231 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4232 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4233 (rmail-start-mail): Don't specify use of rmail-mail-return;
4234 that's done by mail-bury now.
4235 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4236
d59eb518
MA
42372011-06-23 Michael Albinus <michael.albinus@gmx.de>
4238
4239 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4240 SIZE is a number.
4241
02cfc6d6
MR
42422011-06-23 Martin Rudalics <rudalics@gmx.at>
4243
4244 * window.el (get-lru-window, get-mru-window)
4245 (get-largest-window): Never return a minibuffer window.
4246 (display-buffer-pop-up-window): Fix a bug that could lead to
4247 reusing the minibuffer window.
4248 (display-buffer): Pass original specifier argument to
4249 display-buffer-function instead of the normalized one.
4250 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4251
4e323265
LL
42522011-06-22 Leo Liu <sdl.web@gmail.com>
4253
4254 * minibuffer.el (completing-read-function)
4255 (completing-read-default): Move from minibuf.c
4256
7a70468f
RS
42572011-06-22 Richard Stallman <rms@gnu.org>
4258
50718fc2
RS
4259 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4260 to Rmail even if not started by a special Rmail command.
4261
7a70468f
RS
4262 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4263 Copy the buffer currently showing just one message.
4264
297dde5a
RW
42652011-06-22 Roland Winkler <winkler@gnu.org>
4266
4267 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4268 (bibtex-clean-entry): First delete the old key so that a
4269 customized algorithm for generating the new key does not get
4270 confused by the old key.
4271 (bibtex-url): Obey regexp of first step.
4272 (bibtex-search-entries): Do not use add-to-list with local
4273 list-var.
4274
97bb1093
LMI
42752011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4276
4277 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4278 stored a user name, then query for the password first, instead of
4279 waiting for SMTP to give an error message and the trying again.
4280
1c0f1a19
JD
42812011-06-22 Lawrence Mitchell <wence@gmx.li>
4282
4283 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4284 BUFFER in call-process.
4285
396f7c9d
LMI
42862011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4287
4288 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4289 QUIT twice.
ddb7ffee
LMI
4290 (smtpmail-try-auth-methods): Require user name and password from
4291 auth-source.
396f7c9d 4292
8998d1b3
MR
42932011-06-22 Martin Rudalics <rudalics@gmx.at>
4294
4295 * window.el (display-buffer-default-specifiers)
4296 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4297 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4298 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4299
4300 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4301 (special-display-frame-alist, special-display-popup-frame):
4302 Remove duplicate declarations. These are now in window.el.
4303
4ea31e07
LMI
43042011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4305
c9d29fb8
SM
4306 * mail/smtpmail.el (smtpmail-via-smtp):
4307 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4308 server supports it. SMTP servers that support STARTTLS commonly
4309 require it.
4310
4311 * net/network-stream.el (network-stream-open-starttls): Support
4312 upgrading to STARTTLS always, even if we don't have built-in support.
4313 (open-network-stream): Add the :always-query-capabilies keyword.
4314
95f41d9a
LMI
4315 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4316 upgrades with `open-network-stream', and rely solely on
4317 auth-source for all credentials. Big changes throughout the file,
4318 but in particular:
c9d29fb8
SM
4319 (smtpmail-auth-credentials): Remove.
4320 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4321 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4322 MAIL FROM, too.
95f41d9a 4323
c9d29fb8
SM
4324 * net/network-stream.el (network-stream-open-starttls):
4325 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4326 STARTTLS.
4327 (auth-source): Require.
4328 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4329 (network-stream-certificate): Change cert-cert to cert and
4330 cert-key to key.
4ea31e07 4331
065ec2c7
MA
43322011-06-21 Michael Albinus <michael.albinus@gmx.de>
4333
4334 * net/tramp-cache.el (top): Don't load the persistency file when
4335 "emacs -Q" has been called.
4336
cd93b359
DR
43372011-06-21 Tim Harper <timcharper@gmail.com>
4338
d8e4b68b
JB
4339 * term/ns-win.el (ns-initialize-window-system):
4340 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4341 resource to NO as it is not yet supported by the NS port.
4342
ae9c0411
JB
43432011-06-21 Juanma Barranquero <lekktu@gmail.com>
4344
4345 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4346 (list-dynamic-libraries): ...not here.
4347
7f3f739f
LL
43482011-06-21 Leo Liu <sdl.web@gmail.com>
4349
4350 * subr.el (sha1): Implement sha1 using secure-hash.
4351
327c8fb1
MR
43522011-06-21 Martin Rudalics <rudalics@gmx.at>
4353
4354 * window.el (display-buffer-alist): In default value do not
4355 enforce searching a window on any but the selected frame.
4356 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4357 (display-buffer-select-window): Remove function.
4358 (display-buffer-in-window): When a window on another frame gets
4359 reused, do not select it any more but just raise its frame if
4360 necessary (Bug#8851) and (Bug#8856).
4361 (display-buffer-normalize-options): Handle pop-up-frames related
4362 options more faithfully.
4363 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4364 window if it is on another frame.
c9d29fb8
SM
4365 (display-buffer-alist, display-buffer-default-specifiers):
4366 Don't make new frame unsplittable by default.
9e9de014
MR
4367 (display-buffer-normalize-argument): Fix doc-string typo and use
4368 'same-frame-other-window instead of 'other-window when associating
4369 with display-buffer-macro-specifiers.
327c8fb1 4370
7cf3f556
VB
43712011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4372
4373 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4374 New functions.
4375 (5x5-mode-map, 5x5-mode-menu): Bind them.
4376 (5x5-draw-grid): Tweak the solver's rendering.
4377
60a406cf
SM
43782011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4379
4380 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4381 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4382
d8e4b68b 43832011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4384
4385 * menu-bar.el: Use function variable instead of switch-to-buffer.
4386 (menu-bar-select-buffer-function): New variable.
60a406cf 4387 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4388
478d6f95
SM
43892011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4390
4391 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4392 variable's status.
4393
ca530739
JD
43942011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4395
4396 * x-dnd.el (x-dnd-version-from-flags)
4397 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4398 and long as number (Bug#8899).
4399 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4400
bcd70d97
SM
44012011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4402
60a406cf 4403 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4404 (completion-try-completion, completion-all-completions): Compute the
4405 metadata argument if it's missing; make it optional (bug#8795).
4406
60a406cf 4407 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4408 (widget-complete): Use new :completion-function property.
4409 (widget-completions-at-point): New function.
4410 (default): Use :completion-function instead of :complete.
60a406cf
SM
4411 (widget-default-completions): Rename from widget-default-complete;
4412 Rewrite.
bcd70d97
SM
4413 (widget-string-complete, widget-file-complete, widget-color-complete):
4414 Remove functions.
4415 (file, symbol, function, variable, coding-system, color):
4416 * international/mule-cmds.el (default-input-method, charset)
4417 (language-info-custom-alist):
4418 * cus-edit.el (face): Use new property :completions.
4419
4420 * progmodes/pascal.el (pascal-completions-at-point): New function.
4421 (pascal-mode): Use it.
4422 (pascal-mode-map): Use completion-at-point.
4423 (pascal-toggle-completions): Make obsolete.
4424 (pascal-complete-word, pascal-show-completions):
4425 * progmodes/octave-mod.el (octave-complete-symbol):
4426 Redefine as obsolete alias.
4427 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4428 Signal absence of completion info for old Octave,
4429 (inferior-octave-complete): Redefine as obsolete alias.
4430 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4431 (meta-completions-at-point): Rename from meta-complete-symbol and
4432 adapt it for use on completion-at-point-functions.
4433 (meta-common-mode): Use it.
4434 (meta-looking-at-backward, meta-match-buffer): Remove.
4435 (meta-complete-symbol): Redefine as obsolete alias.
4436 (meta-common-mode-map): Use completion-at-point.
4437 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4438 (makefile-mode-map): Use completion-at-point.
4439 (makefile-completions-at-point): Rename from makefile-complete and
4440 adapt it for use on completion-at-point-functions.
4441 (makefile-mode): Use it.
4442 (makefile-complete): Redefine as obsolete alias.
4443
aebf69c8
DD
44442011-06-20 Deniz Dogan <deniz@dogan.se>
4445
4446 * net/rcirc.el: Delete trailing whitespaces once and for all.
4447
bfbbb27d
DC
44482011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4449
4450 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4451
d264a46b
CY
44522011-06-19 Chong Yidong <cyd@stupidchicken.com>
4453
4ca009e5
CY
4454 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4455
d264a46b
CY
4456 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4457
fbf5b3ce
MR
44582011-06-19 Martin Rudalics <rudalics@gmx.at>
4459
4460 * window.el (display-buffer-other-window-means-other-frame):
4461 Call display-buffer-normalize-alist.
4462 (display-buffer-normalize-specifiers-1): Rename to
4463 display-buffer-normalize-argument. New argument other-frame.
4464 Rewrite.
4465 (display-buffer-normalize-specifiers-2): Rename to
4466 display-buffer-normalize-options.
4467 (display-buffer-normalize-alist-1): New function.
4468 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4469 display-buffer-normalize-alist.
4470 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4471 (display-buffer-normalize-options-inhibit): New variable.
4472 (display-buffer-normalize-specifiers): Rewrite calling
4473 display-buffer-normalize-alist,
4474 display-buffer-normalize-argument, and
4475 display-buffer-normalize-options. Don't call the latter if
4476 display-buffer-normalize-options-inhibit is non-nil.
4477 (frame-auto-delete): New option.
4478 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4479 (window-list-no-nils, window-state-ignored-parameters)
4480 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4481 (window-state-put-1, window-state-put-2, window-state-put):
4482 New functions.
9a028c23
MR
4483 (display-buffer-normalize-options): Move special-display-p group
4484 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4485
6d10d800
CY
44862011-06-18 Chong Yidong <cyd@stupidchicken.com>
4487
6420d28b
CY
4488 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4489 groups (Bug#8776).
4490 (rx-submatch-n): New function.
4491 (rx): Document it.
4492
ddb8b596
CY
4493 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4494 (Bug#8768).
4495
4496 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4497
77080289
CY
4498 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4499
61dfb316
CY
4500 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4501 anytime existing face settings are present (Bug#8889).
4502
6d10d800
CY
4503 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4504 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4505 Remove unused argument.
4506
be3fb2b8
MR
45072011-06-18 Martin Rudalics <rudalics@gmx.at>
4508
bcd70d97
SM
4509 * window.el (display-buffer-default-specifiers):
4510 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4511 pop-up-window-min-width, and another reuse-window specifier
4512 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4513 (display-buffer-normalize-specifiers-2):
4514 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4515 pop-up-windows is unset. Add a reuse-window specifier for the
4516 case popping up a new window fails.
4517 (special-display-popup-frame): Remove double quoting.
28dec25a 4518 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4519
1c6d8c76
SM
45202011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4521
4522 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4523 according to comint-completion-addsuffix.
4524
4525 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4526 (pcomplete-suffix-list): Mark as obsolete.
4527 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4528 pcomplete-seen in the closure.
4529 (pcomplete-comint-setup): Setup completion-at-point as well.
4530 (pcomplete--entries): New function.
4531 (pcomplete--env-regexp): New var.
4532 (pcomplete-entries): Rewrite to work with partial-completion and
4533 without relying on pcomplete-suffix-list.
4534 (pcomplete-pare-list): Remove, unused.
4535
25aef8b8
MR
45362011-06-17 Martin Rudalics <rudalics@gmx.at>
4537
4538 * window.el (display-buffer-alist): Set pop-up-window-min-height
4539 and pop-up-window-min-width in default value. Reported by
4540 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4541 other-window-means-other-frame.
4542 (display-buffer-macro-specifiers): Comment out entry for
4543 other-window specifier.
4544 (display-buffer-other-window-means-other-frame): New function.
4545 (display-buffer-normalize-specifiers-1): New arguments
4546 buffer-name and label. Treat other-window case specially.
4547 (display-buffer-normalize-specifiers-2): Treat other-window case
4548 specially.
4549 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4550 (display-buffer-normalize-specifiers):
4551 Call display-buffer-normalize-specifiers-3.
25aef8b8 4552
dbad4f69
MR
45532011-06-17 Martin Rudalics <rudalics@gmx.at>
4554
4555 * window.el (same-window-p): Fix two typos introduced when
4556 adding with-no-warnings.
d1067961
MR
4557 (display-buffer-normalize-specifiers-1): Don't check
4558 pop-up-frames for 'unset initialization.
4559 (display-buffer-normalize-specifiers-2): Major rewrite using
4560 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4561 (pop-up-frames, display-buffer-reuse-frames)
4562 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4563 Suggested by David Engster <deng@randomsample.de>.
4564 (even-window-heights): Initialize to 'unset.
4565 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4566 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4567 other window case.
dbad4f69 4568
9b9c9e3a
MR
45692011-06-16 Martin Rudalics <rudalics@gmx.at>
4570
bcd70d97
SM
4571 * window.el (display-buffer-normalize-specifiers-1):
4572 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4573 second argument of display-buffer (Bug#8865).
981d5c09
MR
4574 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4575 (switch-to-buffer-other-window-same-frame)
4576 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4577 Adams (Bug#8875).
9c2755e9
MR
4578 (display-buffer): Don't check noninteractive when calling
4579 display-buffer-pop-up-frame.
4580 (display-buffer-pop-up-frame): Never pop up a frame in
4581 noninteractive mode (Bug#8857).
67222e1d
MR
4582 (enlarge-window, shrink-window): Don't report an error when the
4583 window can't be resized as requested (Bug#8862).
9b9c9e3a 4584
2b75be67
SM
45852011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4586
9ffdd3ba
SM
4587 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4588
cb581a67
SM
4589 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4590
2b75be67
SM
4591 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4592
8c0e3589
AM
45932011-06-15 Alan Mackenzie <acm@muc.de>
4594
cb581a67
SM
4595 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4596 for declarators, disable knr checking to speed up for normal files.
4597 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4598
b96e6cde
LMI
45992011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4600
4bba86e6
LMI
4601 * net/network-stream.el (open-network-stream): Add the keyword
4602 :always-query-capabilities for the case where you want to force a
4603 `plain' network connection, but the protocol still requires the
4604 capabilitiy command (i.e., SMTP and EHLO).
4605
2b75be67 4606 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4607 consistency with other `-live-p' functions.
4608
efdcdbf8
SM
46092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * window.el (same-window-buffer-names, same-window-regexps)
4612 (special-display-frame-alist, special-display-popup-frame)
4613 (special-display-function, special-display-buffer-names)
4614 (special-display-regexps, pop-up-frame-alist)
4615 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4616 (pop-up-windows, split-window-preferred-function)
4617 (split-height-threshold, split-width-threshold, even-window-heights)
4618 (display-buffer-mark-dedicated): Don't encourage the use of
4619 display-buffer-alist from Elisp code.
4620
c5cde042
DN
46212011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4622
4623 * progmodes/python.el (python-mode): Derive from prog-mode.
4624 * progmodes/ps-mode.el (ps-mode):
4625 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4626 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4627 * progmodes/ld-script.el (ld-script-mode): Likewise.
4628
baa1c9ab
MR
46292011-06-15 Martin Rudalics <rudalics@gmx.at>
4630
4631 * window.el (display-buffer-alist): Trim default value to avoid
4632 popping up a new frame (Bug#8857) or reusing an arbitrary window
4633 on another frame.
4634 (display-buffer): Do not fall back on popping up a new frame in
4635 batch mode (Bug#8857).
4636
c5dd5a51
CY
46372011-06-14 Chong Yidong <cyd@stupidchicken.com>
4638
4639 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4640 (custom-theme-summary): New function.
4641 (customize-themes): Use it.
4642
d647b7c4
GM
46432011-06-13 Glenn Morris <rgm@gnu.org>
4644
4645 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4646
9481c002
MR
46472011-06-13 Martin Rudalics <rudalics@gmx.at>
4648
357f93d2
MR
4649 * help.el (help-window): Remove variable.
4650 (help-window-point-marker, temp-buffer-max-height)
4651 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4652 (help-print-return-message): Don't set help-window.
4653 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4654 (help-window-setup-finish): Remove.
4655 (help-window-display-message, help-window-setup)
4656 (with-help-window): Major rewrite based on new
4657 display-buffer-window variable.
4658
4659 * help-mode.el (help-mode-finish): Remove help-window related
4660 code.
4661
4662 * view.el (view-exits-all-viewing-windows): Remove reference to
4663 view-return-to-alist in doc-string.
4664 (view-return-to-alist): Make obsolete.
4665 (view-buffer): Call pop-to-buffer-same-window and remove
4666 undo-window code.
4667 (view-buffer-other-window): Call pop-to-buffer-other-window and
4668 simplify code. Ignore second argument.
4669 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4670 simplify code. Ignore second argument.
4671 (view-return-to-alist-update): Make obsolete.
4672 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4673 Rewrite using quit-restore window parameters.
2b75be67
SM
4674 (view-mode-exit): Rename second argument to EXIT-ONLY.
4675 Rewrite using quit-restore-window.
357f93d2
MR
4676 (View-exit, View-exit-and-edit, View-leave, View-quit)
4677 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4678 appropriate arguments.
4679 (view-end-message): Use quit-restore window parameter.
4680
9481c002
MR
4681 * window.el (display-buffer-function): Rewrite doc-string.
4682 (display-buffer-window, display-buffer-alist): New variables.
4683 (display-buffer-split-specifiers)
4684 (display-buffer-side-specifiers)
4685 (display-buffer-macro-specifiers): New constants.
4686 (display-buffer-even-window-sizes, display-buffer-set-height)
4687 (display-buffer-set-width, display-buffer-select-window)
4688 (display-buffer-in-window, display-buffer-reuse-window)
4689 (display-buffer-split-window-1, display-buffer-split-window)
4690 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4691 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4692 (display-buffer-in-side-window, normalize-buffer-to-display)
4693 (display-buffer-normalize-specifiers-1)
4694 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4695 (display-buffer-normalize-specifiers, display-buffer-frame):
4696 New functions.
9481c002
MR
4697 (display-buffer): Major rewrite.
4698 (display-buffer-other-window, display-buffer-other-frame)
4699 (pop-to-buffer, switch-to-buffer-other-window)
4700 (switch-to-buffer-other-frame): Rewrite.
4701 (display-buffer-same-window, display-buffer-same-frame)
4702 (display-buffer-same-frame-other-window)
4703 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4704 (pop-to-buffer-other-window)
4705 (pop-to-buffer-same-frame-other-window)
4706 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4707 (switch-to-buffer-other-window-same-frame): New functions.
4708 (same-window-p, special-display-p): Rewrite disabling warnings.
4709 Make obsolete.
4710 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4711 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4712 Make obsolete
4713 (same-window-buffer-names, same-window-regexps)
4714 (special-display-frame-alist, special-display-popup-frame)
4715 (special-display-function, special-display-buffer-names)
4716 (special-display-regexps, pop-up-frame-alist)
4717 (pop-up-frame-function, split-window-preferred-function)
4718 (split-height-threshold, split-width-threshold)
4719 (even-window-heights): Make obsolete.
4720
9db51aca
GM
47212011-06-12 Glenn Morris <rgm@gnu.org>
4722
4723 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4724 Misc simplifications.
9db51aca 4725
39cffb44
MR
47262011-06-12 Martin Rudalics <rudalics@gmx.at>
4727
4728 * window.el (window-safely-shrinkable-p): Restore function which
4729 was inadvertently removed in change from 2011-06-11. Declare as
4730 obsolete.
4731
2b75be67
SM
4732 * calendar/calendar.el (calendar-generate-window):
4733 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4734 window-safely-shrinkable-p.
4735
a8955be7
GM
47362011-06-12 Glenn Morris <rgm@gnu.org>
4737
4738 * progmodes/fortran.el (fortran-mode-syntax-table):
4739 * progmodes/f90.el (f90-mode-syntax-table):
4740 Set % to punctuation. (Bug#8820)
4741 (f90-find-tag-default): Remove, no longer needed.
4742
f0d4059d
DC
47432011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4744
4745 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4746
1100a63c
CY
47472011-06-11 Chong Yidong <cyd@stupidchicken.com>
4748
4749 * image.el (image-animated-p): Return animation delay in seconds.
4750 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4751 (image-animate-timeout): Remove DELAY argument. Don't assume
4752 every subimage has the same delay; get it from image-animated-p.
4753 (image-animate): Caller changed.
4754
def722bf
MA
47552011-06-11 Michael Albinus <michael.albinus@gmx.de>
4756
4757 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4758 to ignored backtrace functions.
4759
0a2bb1a9
GM
47602011-06-11 Glenn Morris <rgm@gnu.org>
4761
4762 * calendar/appt.el (appt-disp-window-function): Doc fix.
4763 (appt-check): Handle overlapping appointments. (Bug#8337)
4764
6198ccd0
MR
47652011-06-11 Martin Rudalics <rudalics@gmx.at>
4766
4767 * window.el (window-tree-1, window-tree): New functions, moving
4768 the latter to window.el.
4769 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4770 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4771 (bw-refresh-edges): Remove.
4772 (balance-windows-1, balance-windows-2): New functions.
4773 (balance-windows): Rewrite in terms of window tree functions,
4774 balance-windows-1 and balance-windows-2.
4775 (bw-adjust-window): Remove.
4776 (balance-windows-area-adjust): New function with functionality of
4777 bw-adjust-window but using resize-window.
2b75be67
SM
4778 (set-window-text-height): Rewrite doc-string.
4779 Use normalize-live-window and resize-window.
4780 (enlarge-window-horizontally, shrink-window-horizontally):
4781 Rename argument to DELTA.
6198ccd0
MR
4782 (window-buffer-height): New function.
4783 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4784 Rewrite using new window resize routines.
2b75be67
SM
4785 (kill-buffer-and-window, mouse-autoselect-window-select):
4786 Use ignore-errors instead of condition-case.
6198ccd0
MR
4787 (quit-window): Call delete-frame instead of delete-windows-on
4788 for the only buffer on frame.
4789
9397e56f
MR
47902011-06-10 Martin Rudalics <rudalics@gmx.at>
4791
4792 * loadup.el (top-level): Load window before files for the sake
4793 of replace-buffer-in-windows.
4794
4795 * files.el (read-buffer-to-switch)
4796 (switch-to-buffer-other-window)
2b75be67
SM
4797 (switch-to-buffer-other-frame, display-buffer-other-frame):
4798 Move to window.el.
9397e56f
MR
4799
4800 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4801 (previous-buffer): Move to window.el.
4802
4803 * bindings.el (unbury-buffer): Move to window.el.
4804
4805 * window.el (delete-other-windows-vertically): Move after
4806 definition of delete-other-windows.
4807 (other-window, delete-windows-on, replace-buffer-in-windows):
4808 Move here from window.c.
4809 (record-window-buffer, unrecord-window-buffer)
4810 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4811 (switch-to-next-buffer): New functions.
4812 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4813 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4814 (previous-buffer): Move here from simple.el.
4815 Call switch-to-prev-buffer.
9397e56f
MR
4816 (bury-buffer): Move here from buffer.c. Switch to previous
4817 buffer when window cannot be deleted.
4818 (unbury-buffer): Move here from bindings.el.
4819 (ctl-x-map): Move binding for other-window from window.c to
4820 here.
4821 (read-buffer-to-switch, switch-to-buffer-other-window)
4822 (switch-to-buffer-other-frame): Move here from files.el.
4823 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4824 (switch-to-buffer): Move here from buffer.c.
4825 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4826
562dd5e9
MR
48272011-06-10 Martin Rudalics <rudalics@gmx.at>
4828
4829 * window.el (window-min-height, window-min-width): Move here
4830 from window.c. Add defcustoms and rewrite doc-strings.
4831 (resize-mini-window, resize-window): New functions.
4832 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4833 Move here from window.c.
4834 (maximize-window, minimize-window): New functions.
4835 (delete-window, delete-other-windows, split-window): Move here
4836 from window.c.
4837 (window-split-min-size): New function.
4838 (split-window-keep-point): Mention split-window-above-each-other
4839 instead of split-window-vertically.
2b75be67
SM
4840 (split-window-above-each-other, split-window-vertically):
4841 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4842 provide defalias for old definition.
4843 (split-window-side-by-side, split-window-horizontally): Rename
4844 split-window-horizontally to split-window-side-by-side and provide
4845 defalias for the old definition.
4846 (ctl-x-map): Move bindings for delete-window,
4847 delete-other-windows and enlarge-window here from window.c.
4848 Replace bindings for split-window-vertically and
4849 split-window-horizontally by bindings for
4850 split-window-above-each-other and split-window-side-by-side.
4851
4852 * cus-start.el (all): Remove entries for window-min-height and
4853 window-min-width. Add entries for window-splits and
4854 window-nest.
4855
f0da764a
GM
48562011-06-09 Glenn Morris <rgm@gnu.org>
4857
80675c21
GM
4858 * calendar/appt.el (appt-mode-line): New function.
4859 (appt-check, appt-disp-window): Use it.
4860
f0da764a
GM
4861 * files.el (hack-one-local-variable-eval-safep):
4862 Allow minor-modes with explicit +/-1 arguments.
4863
59f623b7
TZ
48642011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4865
4866 * term/xterm.el (xterm): Add defgroup.
4867 (xterm-extra-capabilities): Add defcustom to supply known xterm
4868 capabilities, skip querying them, or query them (default).
4869 (terminal-init-xterm): Use it.
4870 (terminal-init-xterm-modify-other-keys): New function to set up
4871 modifyOtherKeys support to simplify `terminal-init-xterm'.
4872
9aab8e0d
MR
48732011-06-09 Martin Rudalics <rudalics@gmx.at>
4874
4875 * window.el (resize-window-reset, resize-window-reset-1)
4876 (resize-subwindows-skip-p, resize-subwindows-normal)
4877 (resize-subwindows, resize-other-windows, resize-this-window)
4878 (resize-root-window, resize-root-window-vertically)
4879 (window-deletable-p, window-or-subwindow-p)
4880 (frame-root-window-p): New functions.
4881
e8b08aee
GM
48822011-06-09 Glenn Morris <rgm@gnu.org>
4883
4884 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4885 (ange-ftp-get-files): Use it.
4886
254c37a5
AK
48872011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4888
4889 * mail/sendmail.el (mail-recover-1, mail-recover):
4890 * files.el (recover-file, recover-session):
4891 Handle dired-listing-switches not being just a single short option.
4892
35d7dbd3
GM
48932011-06-09 Glenn Morris <rgm@gnu.org>
4894
4895 * calendar/appt.el (appt-display-message, appt-disp-window):
4896 Handle lists of appointments.
4897
387522b2
MR
48982011-06-08 Martin Rudalics <rudalics@gmx.at>
4899
2b75be67
SM
4900 * window.el (one-window-p): Move down in code.
4901 Rewrite doc-string.
4902 (window-current-scroll-bars): Rewrite doc-string.
4903 Normalize live window argument.
387522b2
MR
4904 (walk-windows, get-window-with-predicate, count-windows):
4905 Rewrite doc-string. Use window-list-1.
4906 (window-in-direction-2, window-in-direction, get-mru-window):
4907 New functions.
4908
d8e4b68b 49092011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4910
4911 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4912 Doc fix (Bug#8713).
4913
49142011-06-08 Chong Yidong <cyd@stupidchicken.com>
4915
4916 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4917
49182011-06-08 Juanma Barranquero <lekktu@gmail.com>
4919
4920 * loadhist.el (unload-feature-special-hooks):
4921 Add `comint-output-filter-functions'.
4922
0de12c52
IK
49232011-06-08 Ivan Kanis <gnu@kanis.fr>
4924
4925 * calendar/appt.el (appt-check): Move some initializations into the let.
4926
f3d1777e
MR
49272011-06-08 Martin Rudalics <rudalics@gmx.at>
4928
4929 * window.el (window-height): Defalias to window-total-height.
4930 (window-width): Defalias to window-body-width.
4931
18af70d0
CY
49322011-06-07 Chong Yidong <cyd@stupidchicken.com>
4933
4934 * image-mode.el (image-toggle-animation): New command.
4935 (image-mode-map): Bind it to RET.
4936 (image-mode): Update message.
4937 (image-toggle-display-image): Avoid a spurious cache flush.
4938 (image-transform-rotation): Doc fix.
4939 (image-transform-properties): Return quickly in the normal case.
4940 (image-animate-loop): Rename from image-animate-max-time.
4941
2b75be67 4942 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4943 (create-animated-image): Remove unnecessary function.
4944 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4945 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4946 (image-animate-timer): Use car-safe.
4947 (image-animate-timeout): Rename argument.
4948
190b47e6
MR
49492011-06-07 Martin Rudalics <rudalics@gmx.at>
4950
4951 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4952 window.c. Rename first argument to ALL-FRAMES.
4953 Rephrase doc-strings.
4954 (get-buffer-window-list): Rewrite using window-list-1.
4955 Rephrase doc-string.
a1511caf
MR
4956 (window-safe-min-height, window-safe-min-width): New constants.
4957 (window-size-ignore, window-min-size, window-min-size-1)
4958 (window-sizable, window-sizable-p, window-size-fixed-1)
4959 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4960 (window-max-delta-1, window-max-delta, window-resizable)
4961 (window-resizable-p, window-total-height, window-total-width)
4962 (window-body-width): New functions.
4963 (window-full-height-p, window-full-width-p): Rewrite using
4964 window-total-size.
4965 (window-body-height): Rewrite using window-body-size.
190b47e6 4966
85cc1f11
MR
49672011-06-06 Martin Rudalics <rudalics@gmx.at>
4968
4969 * window.el (window-right, window-left, window-child)
4970 (window-child-count, window-last-child, window-any-p)
4971 (normalize-live-buffer, normalize-live-frame)
4972 (normalize-any-window, normalize-live-window)
4973 (window-iso-combination-p, window-iso-combined-p)
4974 (window-iso-combinations)
4975 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4976 (windows-with-parameter, window-with-parameter)
4977 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4978 (window-atom-check, window-side-check, window-check):
4979 New functions.
85cc1f11
MR
4980 (ignore-window-parameters, window-sides, window-sides-vertical)
4981 (window-sides-slots): New variables.
4982 (window-size-fixed): Move down in code. Minor doc-string fix.
4983
e7156492
AS
49842011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4985
4986 * comint.el (comint-dynamic-complete-as-filename)
4987 (comint-dynamic-complete-filename): Correctly call
4988 completion-in-region.
4989
7e821d0d
DD
49902011-06-05 Deniz Dogan <deniz@dogan.se>
4991
4992 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4993 in last change.
4994
ac09b8a1
DD
49952011-06-05 Deniz Dogan <deniz@dogan.se>
4996
4997 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4998 (rcirc): Use it to prompt for encryption.
4999
34699b85
RW
50002011-06-05 Roland Winkler <winkler@gnu.org>
5001
5002 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
5003 (bibtex-search-entries): New command bound to C-c C-a.
5004 (bibtex-display-entries): New function.
5005
004dedd3
RW
50062011-06-05 Roland Winkler <winkler@gnu.org>
5007
5008 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
5009 (bibtex-insert-kill): After yanking insert newline if necessary.
5010 (bibtex-initialize): Call bibtex-string-files-init only once.
5011 (bibtex-mode): Do not call easy-menu-add.
5012 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
5013 (bibtex-yank): Set arg properly if nil.
5014
022fe7ce
RW
50152011-06-05 Roland Winkler <winkler@gnu.org>
5016
2b75be67
SM
5017 * textmodes/bibtex.el (bibtex-search-entry-globally):
5018 New variable.
022fe7ce
RW
5019 (bibtex-search-entry): Use it.
5020
b7c3692a
RW
50212011-06-05 Roland Winkler <winkler@gnu.org>
5022
5023 * textmodes/bibtex.el (bibtex-entry-format): New option
5024 sort-fields.
5025 (bibtex-format-entry, bibtex-reformat): Honor this option.
5026 (bibtex-parse-entry): Return fields in proper order.
5027
8eda563d
JB
50282011-06-05 Juanma Barranquero <lekktu@gmail.com>
5029
5030 * doc-view.el (doc-view-remove-if): Move computation of result out
5031 of `dolist' to silence misleading lexical-binding warning.
5032
7dbe3dbc
CY
50332011-06-04 Chong Yidong <cyd@stupidchicken.com>
5034
5035 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5036 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5037
0c33dd17
MA
50382011-06-04 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5041 "SunOS 5.10".
5042
f8f91c2b
MA
50432011-06-04 Michael Albinus <michael.albinus@gmx.de>
5044
5045 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5046 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5047 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5048 (tramp-parse-putty):
5049 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5050 (tramp-completion-function-alist-ssh)
5051 (tramp-completion-function-alist-telnet)
5052 (tramp-completion-function-alist-su)
5053 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5054 cookie.
5055
5056 * net/tramp-ftp.el:
5057 * net/tramp-sh.el:
5058 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5059 load "tramp.el" `tramp-set-completion-function'.
5060
e17d9003
SM
50612011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5062
5063 * shell.el: Require and use pcomplete.
5064 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5065 (shell-completion-vars): Set pcomplete-default-completion-function.
5066
6c4cab03
DD
50672011-06-04 Deniz Dogan <deniz@dogan.se>
5068
5069 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5070 `memq' (Bug#8799).
5071
ea9fafe0
SM
50722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5073
5074 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5075
b3e945d3
JB
50762011-06-02 Juanma Barranquero <lekktu@gmail.com>
5077
5078 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5079 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5080 * vc/log-view.el (log-view-beginning-of-defun):
5081 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5082 (smerge-refine-forward, smerge-refine-chopup-region):
5083 Silence warning for unused `dotimes' counter variables.
5084
7d520089
SM
50852011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5086
5087 * net/tramp.el (tramp-with-progress-reporter): Rename from
5088 with-progress-reporter. Use `declare'.
5089 * net/tramp-smb.el:
5090 * net/tramp-sh.el:
5091 * net/tramp-gvfs.el: Update all uses.
5092
a1c2400f
JB
50932011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5094
5095 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5096 buffer isn't killed before making it current.
5097
2403c841
SM
50982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5099
5100 Silence various byte-compiler warnings.
5101 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5102 `access-type' and new obsolescence format.
5103 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5104 new format.
5105 (byte-compile-check-variable): New `access-type' argument.
5106 Only warn if the access-type is obsolete.
5107 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5108 (byte-compile-variable-set): Adjust callers.
5109 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5110 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5111 setting it as obsolete.
5112 * simple.el (minibuffer-completing-symbol):
5113 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5114 access as obsolete.
5115 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5116 obsolete yet.
5117 * international/quail.el (quail-mouse-choose-completion): Remove unused
5118 code referring to obsolete var.
5119 (quail-choose-completion-string): Remove.
5120 * server.el (server-clients-with, server-kill-buffer-query-function)
5121 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5122 * proced.el (proced-send-signal):
5123 * emacs-lisp/lisp.el (lisp-complete-symbol):
5124 Replace completion-annotate-function with completion-extra-properties.
5125
2462470b
SM
51262011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5127
fb5b2591
SM
5128 * simple.el (goto-line): Use read-number.
5129 (overriding-map-is-bound): Remove.
5130 (saved-overriding-map): Change default.
5131 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5132 Take the map as argument.
5133 (universal-argument, negative-argument, digit-argument): Use it.
5134 (restore-overriding-map): Adjust.
5135 (do-auto-fill): Use fill-forward-paragraph.
5136 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5137
fd6fa53f
SM
5138 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5139 (minibuffer-inactive-mode): New major mode.
5140 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5141 the *Messages* buffer" hack.
5142 (mouse-popup-menubar): Don't burp if the event is a normal key.
5143
2462470b
SM
5144 Miscellaneous tweaks.
5145 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5146 lexical scoping as in subr.el's dolist and dotimes.
5147 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5148 Silence compiler warning.
5149 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5150 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5151 * international/ccl.el (ccl-compile): Trivial simplification.
5152 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5153 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5154 `printflag' argument.
5155 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5156 Purecopy the whole obsolescence data.
5157
108bf785
LL
51582011-06-01 Leo Liu <sdl.web@gmail.com>
5159
5160 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5161 improve doc-string as suggested by Marco Pessotto
5162 <melmothx@gmail.com>.
5163 (rcirc-print): Fix last change.
5164
30a23501
SM
51652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * minibuffer.el (complete-with-action): Return nil for the metadata and
5168 boundaries of non-functional tables.
5169 (completion-table-dynamic): Return nil for the metadata.
5170 (completion-table-with-terminator): Add default case, using
5171 complete-with-action.
5172 (completion--metadata): New function.
5173 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5174 to try and avoid pathological performance problems.
5175 (completion--embedded-envvar-table): Return `category' metadata.
5176
bcd54f83
LMI
51772011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178
5179 * subr.el (process-alive-p): New tiny convenience function.
5180
e227544d
SM
51812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5182
5183 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5184 content but also its previous major mode.
5185
e8296fdc
HE
51862011-05-31 Helmut Eller <eller.helmut@gmail.com>
5187
4d61f28d 5188 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5189 *Backtrace* buffer when we exit with C-M-c.
5190
620c53a6
SM
51912011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * minibuffer.el: Add metadata method to completion tables.
5194 (completion-category-overrides): New defcustom.
5195 (completion-metadata, completion--field-metadata)
5196 (completion-metadata-get, completion--styles)
5197 (completion--cycle-threshold): New functions.
5198 (completion-try-completion, completion-all-completions):
5199 Add `metadata' argument to choose completion-styles.
5200 (completion--do-completion): Use metadata to choose cycling.
5201 (completion-all-sorted-completions): Use metadata for sorting.
5202 Remove :completion-cycle-penalty which is not needed any more.
5203 (completion--try-word-completion): Add `metadata' argument.
5204 (minibuffer-completion-help): Check metadata for annotation function
5205 and sorting.
5206 (completion-file-name-table): Return `category' metadata.
5207 (minibuffer-completing-file-name): Make obsolete.
5208 * simple.el (minibuffer-completing-symbol): Make obsolete.
5209 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5210 completion-try-completion.
5211
1257e755
SM
52122011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5215
3767e706
LL
52162011-05-30 Leo Liu <sdl.web@gmail.com>
5217
5218 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5219 (rcirc-print): Decode all incoming messages (bug#8744).
5220 (rcirc-decode-coding-system): Allow value nil for automatic coding
5221 system detection.
3767e706 5222
d1a5d56a
GM
52232011-06-01 Glenn Morris <rgm@gnu.org>
5224
5225 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5226
e8cbec34
CY
52272011-05-29 Chong Yidong <cyd@stupidchicken.com>
5228
5229 * image.el (image-animate-max-time): Allow nil and t values.
5230 Default to nil.
5231 (create-animated-image): Doc fix.
5232 (image-animate-start): Remove second arg; just use
5233 image-animate-max-time.
5234 (image-animate-timeout): Doc fix. Args changed.
5235
5236 * image-mode.el (image-toggle-display-image): Ensure that the
5237 image spec passed to the animate timer is the same object as in
5238 the the buffer's display property (Bug#6981).
5239 (image-transform-properties): Doc fix.
5240
5241 * image.el (image-animate-max-time): Default to nil.
5242
159daf87
MR
52432011-05-29 Martin Rudalics <rudalics@gmx.at>
5244
5245 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5246 entire buffer list (Bug#8184).
5247
d66c4c7c
CY
52482011-05-29 Chong Yidong <cyd@stupidchicken.com>
5249
5250 * image.el (imagemagick-types-inhibit)
5251 (imagemagick-register-types): Doc fix.
5252
80aec780
DD
52532011-05-29 Deniz Dogan <deniz@dogan.se>
5254
5255 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5256 default.
5257
1dd3c2d9
CY
52582011-05-29 Chong Yidong <cyd@stupidchicken.com>
5259
5260 * select.el: Don't perform clipboard-manager saving in hooks;
5261 leave the hooks empty.
5262
60e56523
LL
52632011-05-28 Leo Liu <sdl.web@gmail.com>
5264
5265 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5266 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5267 (occur-edit-mode): New major mode (Bug#8463).
5268 (occur-after-change-function): New function.
5269 (occur-engine): Give Occur tags a read-only property.
5270
2b1e1a22
KR
52712011-05-28 Kevin Ryde <user42@zip.com.au>
5272
5273 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5274
5d344e88
CY
52752011-05-28 Chong Yidong <cyd@stupidchicken.com>
5276
8e6ca83d
CY
5277 * bindings.el (help-echo): Make the initial non-indicator dash
5278 empty on graphical terminals (Bug#7295).
5279
5d344e88
CY
5280 * files.el (auto-mode-alist): Move config rule after the
5281 in-stripping one (Bug#8547).
5282
bfbbace7
CY
5283 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5284
fbeba6e2
CY
5285 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5286 setting (Bug#8740).
5287
60ed8c72
AA
52882011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5289
4ac619f0
AA
5290 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5291 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5292 (Bug#8539).
60ed8c72 5293
23db196e
CY
52942011-05-28 Chong Yidong <cyd@stupidchicken.com>
5295
5296 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5297
5012f24c
DK
52982011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5299
5300 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5301 (hs-hide-block-at-point, hs-find-block-beginning)
5302 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5303 (Bug#8279).
5304
6a639b16
GM
53052011-05-28 Glenn Morris <rgm@gnu.org>
5306
5307 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5308
d43eaf2c
CY
53092011-05-28 Chong Yidong <cyd@stupidchicken.com>
5310
5199bde1
CY
5311 * help-fns.el (describe-function-1): If the function is a derived
5312 major mode, print the parent mode.
5313
d43eaf2c
CY
5314 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5315 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5316
423428a8
SM
53172011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5318
0ff8e1ba
SM
5319 * minibuffer.el (completion--capf-wrapper): Check applicability before
5320 retuning non-nil for non-exclusive completion data.
5321 * progmodes/etags.el (tags-completion-at-point-function):
5322 * info-look.el (info-lookup-completions-at-point): Mark as
5323 non-exclusive.
5324 (info-complete): Adjust accordingly.
5325
423428a8
SM
5326 * info-look.el: Convert to lexical-binding and completion-at-point.
5327 (info-lookup-completions-at-point): New function.
5328 (info-complete): Use it and completion-in-region.
5329
b74aa22b
DA
53302011-05-28 Drew Adams <drew.adams@oracle.com>
5331
5332 * isearch.el: Let M-e start with point at the first mismatched char.
5333 (isearch-fail-pos): New function.
5334 (isearch-edit-string): Use it.
5335
66e2e71d
DK
53362011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5337
5338 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5339
eb95d01d
TC
53402009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5341
5342 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5343 traversal functions for avl-trees.
5344 (avl-tree--stack): New struct.
5345 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5346 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5347 (avl-tree--do-enter): Add optional `updatefun' arg.
5348 Change return value.
eb95d01d 5349 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5350 (avl-tree--do-delete): Add `test' and `nilflag' args.
5351 Change return value.
eb95d01d
TC
5352 (avl-tree-member): Add optional `nilflag'
5353 (avl-tree-member-p): New function.
5354 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5355 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5356 (avl-tree-stack-empty-p): New functions.
5357
3769ddcf
TC
53582009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5359
5360 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5361 avl-tree--del-balance1 and make it work both ways.
5362 (avl-tree--del-balance2): Remove.
5363 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5364 make it work both ways.
5365 (avl-tree--enter-balance2): Remove.
5366 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5367 New macros.
5368 (avl-tree--mapc, avl-tree-map): Add direction argument.
5369
eb95d01d 53702011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5371
5372 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5373
a9f737ee
CY
53742011-05-27 Chong Yidong <cyd@stupidchicken.com>
5375
5376 * select.el: Support clipboard managers with built-in function
5377 x-clipboard-manager-save, via delete-frame-functions and
5378 kill-emacs-hook.
5379 (xselect-convert-to-targets): Add MULTIPLE target to list.
5380 (xselect-convert-to-save-targets): New function.
5381
c92a1e54
KH
53822011-05-27 Kenichi Handa <handa@m17n.org>
5383
5384 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5385 let-binding rfc2047-encode-encoded-words to nil.
5386
e145f188
GM
53872011-05-27 Glenn Morris <rgm@gnu.org>
5388
5ec8a862
GM
5389 * mail/emacsbug.el: Don't require url-util.
5390
4b29d9fb
GM
5391 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5392
e145f188
GM
5393 * files.el (set-auto-mode):
5394 Also respect mode: entries at the end of the file. (Bug#8586)
5395
7d15102b
GM
53962011-05-26 Glenn Morris <rgm@gnu.org>
5397
98f593b8
GM
5398 * files.el (hack-local-variables-prop-line, hack-local-variables):
5399 Downcase mode names, as seems to be traditional.
27b48e63 5400 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5401
7d15102b
GM
5402 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5403 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5404
51d5b4ec
JD
54052011-05-25 Julien Danjou <julien@danjou.info>
5406
5407 * textmodes/rst.el (rst-define-level-faces): Do not define face
5408 symbol if it is already defined.
5409
91513f63
VB
54102011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5411
5412 * play/5x5.el (5x5-new-game, 5x5-randomize):
5413 Reset 5x5-solver-output to nil when a new grid is cast.
5414 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5415 these debugging traces, as defmacro breaks the compiled code.
5416
4d90d6d0
DK
54172011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5418
5419 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5420
e1b90ef6
LL
54212011-05-24 Leo Liu <sdl.web@gmail.com>
5422
5423 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5424 (vc-bzr-sha1): Adapt.
5425
d8e4b68b 5426 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5427
5428 * bindings.el: Provide sha1 feature.
5429
db0406bb 54302011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5431
5432 * mail/sendmail.el: Require `rfc2047'.
5433 (mail-insert-from-field): Do not perform RFC2047 encoding.
5434 (mail-encode-header): New function.
5435 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5436 buffer to the return value of select-message-coding-system.
5437 Call mail-encode-header.
b8d747b9
KH
5438
5439 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5440
db0406bb 54412011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5442
4d90d6d0
DK
5443 * mail/supercite.el (sc-default-cite-frame):
5444 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5445
eb8a5e9b
GM
54462011-05-24 Glenn Morris <rgm@gnu.org>
5447
f8630703
GM
5448 * progmodes/python.el (brm-menu): Declare.
5449
8831bbed
GM
5450 * emulation/viper.el (viper-set-hooks): Declare.
5451
eb8a5e9b
GM
5452 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5453 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5454 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5455 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5456 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5457 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5458
a2a25d24
SM
54592011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5460
5461 Add an :exit-function for completion-at-point.
5462
5463 * minibuffer.el (completion--done): New fun.
5464 (completion--do-completion): Use it. New arg `expect-exact'.
5465 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5466 since completion--do-completion does it for us now.
5467 (minibuffer-force-complete): Use completion--done and
5468 completion--replace. Handle sole-completion case with more care.
5469 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5470 (completion-extra-properties): New var.
5471 (completion-annotate-function): Make obsolete.
5472 (minibuffer-completion-help): Adjust accordingly.
5473 Use completion-list-insert-choice-function.
5474 (completion-at-point, completion-help-at-point):
5475 Bind completion-extra-properties.
5476 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5477 * simple.el (completion-list-insert-choice-function): New var.
5478 (completion-setup-function): Preserve it.
5479 (choose-completion): Pay attention to it, shuffle the code a bit.
5480 (choose-completion-string): New arg `insert-function'.
5481
5482 * textmodes/bibtex.el: Convert to lexical binding.
5483 (bibtex-mode-map): Use completion-at-point.
5484 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5485 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5486 (bibtex-complete): Define as obsolete alias.
5487 (bibtex-complete-internal): Remove.
5488 (bibtex-format-entry): Remove unused sub-group in regexp.
5489 * shell.el (shell--command-completion-data)
5490 (shell-environment-variable-completion):
5491 * pcomplete.el (pcomplete-completions-at-point):
5492 * comint.el (comint--complete-file-name-data): Use :exit-function
5493 instead of completion-table-with-terminator so it also works for
5494 choose-completion.
5495
e44e373d
SM
54962011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5497
4f91a816
SM
5498 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5499
782fc819
SM
5500 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5501 (bug#8710).
5502
e44e373d
SM
5503 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5504
381987c3
KM
55052011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5506
5507 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5508 customization variable and implement: If non-nil, auto-fill will
5509 be inhibited while on topic's header line.
5510
b776bc70
VB
55112011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5512
5513 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5514 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5515 always have a solution in grid size = 5 cases.
5516 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5517 (5x5-solver-output, 5x5-log-buffer): New vars.
5518 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5519 Make these variables buffer local to achieve 5x5 multi-session-ness.
5520 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5521 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5522 (5x5-solve-suggest): New funs.
5523 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5524 randomize a grid so that we ensure that there is always a solution.
5525 (5x5-make-random-grid): Allow other movement than flipping.
5526
7de88b6e
KR
55272011-05-23 Kevin Ryde <user42@zip.com.au>
5528
5529 * emacs-lisp/advice.el (ad-read-advised-function):
5530 Use `function-called-at-point' as the default default, if it has
5531 advice and passes PREDICATE.
5532
b1ef1257
SM
55332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5534
bbca48fe
SM
5535 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5536 byte-compile-lambda if it's actually a lambda.
5537
b1ef1257
SM
5538 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5539 Fix function quoting. Use backquote better.
5540
92a9cc65
YS
55412011-05-22 Yuanle Song <sylecn@gmail.com>
5542
5543 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5544 matching (Bug#8516).
5545
f0fb8059
JA
55462011-01-22 Jari Aalto <jari.aalto@cante.net>
5547
5548 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5549 different face (Bug#8178).
5550
d5b44c93
CY
55512011-05-22 Chong Yidong <cyd@stupidchicken.com>
5552
5553 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5554 defface (Bug#8144).
5555
79106a44
SM
55562011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5557
9c848d8a
SM
5558 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5559 funcall as well (bug#8712). Warn when performing those conversions.
5560 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5561
79106a44
SM
5562 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5563
88dfa756
GM
55642011-05-22 Glenn Morris <rgm@gnu.org>
5565
5566 * files.el (hack-local-variables-prop-line): Small simplifications.
5567 (hack-local-variables, hack-local-variables-prop-line):
5568 If MODE-ONLY, return the mode, rather than just `t'.
5569
b7cf2c79
SM
55702011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5571
5572 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5573
3f1a8558
GM
55742011-05-21 Glenn Morris <rgm@gnu.org>
5575
7e4ccca3
GM
5576 * files.el (hack-local-variables-prop-line, hack-local-variables):
5577 If only interested in the mode, don't bother doing the other stuff.
5578
637d46ca
GM
5579 * image-mode.el (image-after-revert-hook):
5580 Redraw all frames on which the image is visible. (Bug#8567)
5581
973d955b
GM
5582 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5583
3f1a8558
GM
5584 * wid-edit.el (widget-checklist-match-inline):
5585 Fix 2011-04-19 change. (Bug#8649)
5586
96479927
SM
55872011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5588
1dcf791f
SM
5589 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5590 Also allow singlespace after single-letter capitals followed by a dot.
5591
96479927
SM
5592 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5593 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5594
35fd0881
N
55952011-05-20 Nix <nix@esperi.org.uk>
5596
5597 * files.el (basic-save-buffer-2):
5598 Fix handling of break-hardlink-on-save with non-existent files.
5599
82745640
DD
56002011-05-19 Deniz Dogan <deniz@dogan.se>
5601
5602 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5603 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5604
4a720484
GM
56052011-05-19 Glenn Morris <rgm@gnu.org>
5606
d1f21341
GM
5607 * progmodes/f90.el (f90-type-def-re):
5608 Handle "type, bind(c)". (Bug#8691)
5609
4a720484
GM
5610 * emacs-lisp/autoload.el (batch-update-autoloads):
5611 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5612
2fb0a219
MA
56132011-05-18 Michael Albinus <michael.albinus@gmx.de>
5614
5615 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5616 property for the correct connection in case of multihops.
5617
e565dd37
GM
56182011-05-18 Glenn Morris <rgm@gnu.org>
5619
c2571358 5620 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5621 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5622
e565dd37
GM
5623 Rationalize calendar handling of day and month abbrev-arrays.
5624 * calendar/calendar.el (calendar-customized-p): New function.
5625 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5626 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5627 Add :set function.
5628 (calendar-abbrev-length, calendar-day-abbrev-array)
5629 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5630 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5631 Elements may no longer be nil.
5632 (calendar-day-name, calendar-month-name):
5633 Update for changed nature of abbrev arrays.
5634 * calendar/diary-lib.el (diary-name-pattern):
5635 Update for changed nature of abbrev arrays.
5636 (diary-mark-entries-1): Update calendar-make-alist calls.
5637 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5638 * calendar/cal-html.el (cal-html-day-abbrev-array):
5639 Simply inherit from calendar-day-abbrev-array.
5640
1d99a745
SM
56412011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * progmodes/grep.el (grep-mode): Disable default
5644 compilation-directory-matcher setting (bug#8684).
5645
7c1d9aa0
MA
56462011-05-17 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5649 instead of "head" and "tail". There were problems with SunOS 5.9,
5650 and it performs better.
5651
3952e9d8
GM
56522011-05-17 Glenn Morris <rgm@gnu.org>
5653
2dd12e7f
GM
5654 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5655
e4157b9c
GM
5656 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5657 Replace obsolete function.
5658
8e249bbd
GM
5659 * shell.el (pcomplete-parse-arguments-function): Declare.
5660
3952e9d8
GM
5661 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5662 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5663 (appt-check): Doc fixes.
5664 (appt-disp-window-function, appt-delete-window-function):
5665 Remove needless special case in custom :type.
5666 (appt-display-count): Default to 0, not nil.
5667 (appt-check): Reset appt-display-count to 0, not nil.
5668
c71a0d48 56692011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5670
c71a0d48
GM
5671 * progmodes/python.el (python-font-lock-keywords):
5672 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5673
31d55be9
SM
56742011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5677
3bfacb2f
KR
56782011-05-16 Kevin Ryde <user42@zip.com.au>
5679
5680 * info-look.el (makefile-automake-mode): New setups, looking in
5681 automake manual, then makefile-mode.
5682 (makefile-mode): Remove automake manual, have it just in
5683 makefile-automake-mode since there's various things different or
5684 not relevant to plain make.
5685 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5686 believe a hypothetical automake-mode would go to makefile-mode,
5687 not the other way around.
5688
c8e83751
CY
56892011-05-15 Chong Yidong <cyd@stupidchicken.com>
5690
5e9e35cd
CY
5691 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5692 hunk-end tags (Bug#8672).
5693
c8e83751
CY
5694 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5695 vc-annotate-show-diff-revision-at-line (Bug#8671).
5696
50b23e5a
GM
56972011-05-14 Glenn Morris <rgm@gnu.org>
5698
7210a739
GM
5699 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5700 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5701 (change-log-font-lock-keywords): Also handle multiple author lines
5702 with leading tabs. (Bug#8644)
7210a739 5703
4691905a
GM
5704 * calendar/appt.el (appt-check): Rename some local variables.
5705 Some simplification/reordering.
5706
50b23e5a
GM
5707 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5708 (feedmail-sendmail-f-doesnt-sell-me-out)
5709 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5710 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5711 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5712 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5713 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5714 (feedmail-binmail-gnulinuxish-template):
5715 Rename from feedmail-binmail-linuxish-template.
5716 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5717 Use insert-buffer-substring.
5718
215cda7c
BC
57192011-05-14 Bill Carpenter <bill@carpenter.org>
5720
5721 * mail/feedmail.el (feedmail-patch-level): Increase.
5722 (feedmail-debug): New custom group.
5723 (feedmail-confirm-outgoing-timeout)
5724 (feedmail-sendmail-f-doesnt-sell-me-out)
5725 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5726 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5727 (feedmail-sender-line, feedmail-from-line)
5728 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5729 (feedmail-spray-this-address)
215cda7c
BC
5730 (feedmail-spray-address-fiddle-plex-list)
5731 (feedmail-queue-use-send-time-for-date)
5732 (feedmail-queue-use-send-time-for-message-id)
5733 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5734 (feedmail-buffer-eating-function):
5735 Doc fixes.
5736 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5737 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5738 (feedmail-message-action-scroll-down): New functions.
5739 (feedmail-queue-directory, feedmail-queue-draft-directory):
5740 Use expand-file-name.
5741 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5742 Remove C-v help entry.
5743 (feedmail-queue-buffer-file-name): New variable.
5744 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5745 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5746 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5747 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5748 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5749 (feedmail-message-action-toggle-spray)
5750 (feedmail-run-the-queue-no-prompts)
5751 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5752 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5753 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5754 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5755 (feedmail-envelope-deducer, feedmail-fiddle-from)
5756 (feedmail-fiddle-sender, feedmail-default-date-generator)
5757 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5758 (feedmail-fiddle-spray-address)
5759 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5760 (feedmail-fiddle-list-of-fiddle-plexes)
5761 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5762 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5763 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5764 Change default. Doc fix.
5765 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5766 (feedmail-binmail-linuxish-template): New constant.
5767 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5768 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5769 (feedmail-send-it): Add debug call.
5770 Use feedmail-queue-buffer-file-name, and
5771 feedmail-send-it-immediately-wrapper.
5772 (feedmail-message-action-send): Add debug call.
5773 Use feedmail-send-it-immediately-wrapper.
5774 (feedmail-queue-express-to-queue): Add debug call.
5775 Run feedmail-queue-express-hook.
5776 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5777 (feedmail-message-action-help-blat):
5778 Rename from feedmail-queue-send-edit-prompt-help-first.
5779 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5780 Check line-endings. Handle errors better.
5781 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5782 Doc fix. Add debug call.
5783 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5784 Use feedmail-queue-send-edit-prompt-inner.
5785 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5786 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5787 from feedmail-queue-send-edit-prompt.
5788 (feedmail-queue-send-edit-prompt-help)
5789 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5790 (feedmail-tidy-up-slug): Add debug call.
5791 Respect feedmail-queue-slug-suspect-regexp.
5792 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5793 (feedmail-dump-message-to-queue): Add debug call.
5794 Expand queue-directory.
5795 (feedmail-dump-message-to-queue): Change message slightly.
5796 Use feedmail-say-chatter.
5797 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5798 (feedmail-send-it-immediately-wrapper): New function.
5799 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5800 Insert empty string rather than newline. Handle full-frame case.
5801 Use catch/throw. Use feedmail-say-chatter.
5802 (feedmail-fiddle-from): Try mail-host-address.
5803 (feedmail-default-message-id-generator): Doc fix.
5804 Bind system-time-locale. Handle missing end.
5805 (feedmail-fiddle-x-mailer): Add debug call.
5806 Handle feedmail-x-mailer-line being nil.
5807 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5808 Add debug call. Use buffer-substring-no-properties.
5809 (feedmail-say-debug, feedmail-say-chatter): New functions.
5810 (feedmail-find-eoh): Give an explicit error.
5811
42c7e61e
UJ
58122011-05-13 Ulf Jasper <ulf.jasper@web.de>
5813
c2571358 5814 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5815 family from helvetica to sans.
c2571358 5816 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5817 etc/images/newsticker.
5818
c2571358 5819 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5820 family from helvetica to sans.
5821
5822 * net/newst-plainview.el (newsticker-new-item-face)
5823 (newsticker-old-item-face, newsticker-immortal-item-face)
5824 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5825 (newsticker-statistics-face): Change default family from
42c7e61e 5826 helvetica to sans.
c2571358 5827 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5828 etc/images/newsticker.
5829
5830 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5831 (newsticker--process-auto-mark-filter-match): : Tell user about
5832 auto-marking.
5833
8497a297
DV
58342011-05-13 Didier Verna <didier@xemacs.org>
5835
5836 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5837 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5838 TODO entries.
8497a297
DV
5839 (lisp-lambda-list-keyword-parameter-indentation)
5840 (lisp-lambda-list-keyword-parameter-alignment)
5841 (lisp-lambda-list-keyword-alignment): New customizable user options.
5842 (lisp-indent-defun-method): Improve docstring.
5843 (extended-loop-p): Fix comment.
5844 (lisp-indent-lambda-list-keywords-regexp): New variable.
5845 (lisp-indent-lambda-list): New function.
5846 (lisp-indent-259): Use it.
5847 (lisp-indent-defmethod): Support for more than one
5848 method qualifier and properly indent methods lambda-lists.
5849 (defgeneric): Provide a missing common-lisp-indent-function property.
5850
f278f87f
SM
58512011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5854 bounds for the empty string (bug#8667).
5855
5233edd7
GM
58562011-05-13 Glenn Morris <rgm@gnu.org>
5857
5237a44f
GM
5858 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5859
8340026c 5860 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5861 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5862
5233edd7 5863 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5864 (appt-time-msg-list): Doc fix.
a5464014 5865 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5866
92d10796
AS
58672011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5868
5869 * progmodes/ld-script.el (ld-script-keywords)
5870 (ld-script-builtins): Update keywords list.
5871
914a0ae1
SM
58722011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5873
c89be45f
SM
5874 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5875
914a0ae1
SM
5876 * shell.el (shell-completion-vars): New function.
5877 (shell-mode):
5878 * simple.el (read-shell-command): Use it.
5879 (blink-matching-open): No need for " [...]" in minibuffer-message.
5880
98dc3df3
GM
58812011-05-12 Glenn Morris <rgm@gnu.org>
5882
5883 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5884 (appt-check): Simplify.
5885
d2fc7e3d 58862011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5887
4d61f28d 5888 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5889 literal "/dev/null".
5890
d2fc7e3d 58912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5892
5893 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5894 Fix typo.
5895
d2fc7e3d 58962011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5897
3f254caa
SM
5898 * progmodes/which-func.el (which-function):
5899 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5900 which might not be defined (Bug#8260).
5901
d45885f7
GM
59022011-05-12 Glenn Morris <rgm@gnu.org>
5903
5904 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5905 Let byte-compile-initial-macro-environment always take precedence.
5906
488086f4
SM
59072011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5908
5909 * net/rcirc.el: Add support for SSL/TLS connections.
5910 (rcirc-server-alist): New field `encryption'.
5911 (rcirc): Check `encryption' settings.
5912 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5913 Merge make-local-variable into `set'.
5914 (rcirc--connection-open-p): New function.
5915 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5916 the process is not a network process (e.g. running gnutls-cli).
5917 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5918 Make rcirc-(en|de)code-coding-system local here.
5919 (rcirc-mode): Merge make-local-variable into `set'.
5920 (rcirc-parent-buffer): Make permanent buffer-local.
5921 (rcirc-multiline-minor-mode): Don't do it here.
5922 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5923 there's no server buffer.
5924
7d3b9d44
GM
59252011-05-11 Glenn Morris <rgm@gnu.org>
5926
f64049c6
GM
5927 * newcomment.el (comment-kill): Prefix "unused" local.
5928
93c9df73
GM
5929 * term/w32console.el (get-screen-color): Declare.
5930
7d3b9d44
GM
5931 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5932 Handle symbol elements of byte-compile-initial-macro-environment.
5933
9e2dd53f
LL
59342011-05-10 Leo Liu <sdl.web@gmail.com>
5935
488086f4
SM
5936 * bookmark.el (bookmark-bmenu-mode-map):
5937 Bind bookmark-bmenu-search to `/'.
8b340240 5938
9e2dd53f 5939 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5940 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5941 (Footnote-unicode): New function.
5942 (footnote-style-alist): Add unicode style to the list.
5943 (footnote-style): Doc fix.
9e2dd53f 5944
79b70037
GM
59452011-05-10 Jim Meyering <meyering@redhat.com>
5946
5947 Fix doubled-word typos.
5948 * international/quail.el (quail-insert-kbd-layout): and and -> and
5949 * kermit.el: and and -> and
5950 * net/ldap.el (ldap-search-internal): to to -> to
5951 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5952 * progmodes/js.el (js-mode): and and -> and
5953 * textmodes/artist.el (artist-move-to-xy): at at -> at
5954 (artist-draw-region-trim-line-endings): if if -> if
5955 And Safetyc -> Safety.
5956 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5957
b8f82dc1 59582011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5959 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5960
5961 * files.el (hack-one-local-variable-eval-safep):
5962 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5963
4f99f44b
GM
59642011-05-10 Glenn Morris <rgm@gnu.org>
5965
5966 * calendar/diary-lib.el (diary-list-entries-hook)
5967 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5968 (diary-nongregorian-marking-hook, diary-list-entries)
5969 (diary-include-other-diary-files, diary-mark-entries)
5970 (diary-mark-included-diary-files): Doc fixes.
5971
84f29e6b
JB
59722011-05-09 Juanma Barranquero <lekktu@gmail.com>
5973
5974 * misc.el: Require tabulated-list.el during compilation.
5975
9bedd73a
CY
59762011-05-09 Chong Yidong <cyd@stupidchicken.com>
5977
488086f4
SM
5978 * progmodes/compile.el (compilation-start):
5979 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5980 (compilation-filter-hook): Doc fix.
5981
797c735c
DD
59822011-05-09 Deniz Dogan <deniz@dogan.se>
5983
5984 * wdired.el: Remove outdated installation comment. Fix usage
5985 comment.
5986
5f4b1dfe
JB
59872011-05-09 Juanma Barranquero <lekktu@gmail.com>
5988
5989 * misc.el: Implement new command `list-dynamic-libraries'.
5990 (list-dynamic-libraries--loaded-only-p): New variable.
5991 (list-dynamic-libraries--refresh): New function.
5992 (list-dynamic-libraries): New command.
5993
4c44026c
CY
59942011-05-09 Chong Yidong <cyd@stupidchicken.com>
5995
488086f4
SM
5996 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5997 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5998 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5999 higher priority to avoid clobbering by gnu.
6000
027f966d
CY
60012011-05-08 Chong Yidong <cyd@stupidchicken.com>
6002
6003 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
6004 if the face has existing theme settings (Bug#8454).
6005
085f5d7d
CY
60062011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
6007
488086f4
SM
6008 * progmodes/perl-mode.el (perl-imenu-generic-expression):
6009 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 6010
2a86a00c
RS
6011 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
6012 special file names `.' and `..' (Bug#8259).
6013
d9c54a06
CY
60142011-05-08 Chong Yidong <cyd@stupidchicken.com>
6015
488086f4
SM
6016 * progmodes/grep.el (grep-mode-font-lock-keywords):
6017 Remove buffer-changing entries.
d9c54a06
CY
6018 (grep-filter): New function.
6019 (grep-mode): Add it to compilation-filter-hook.
6020
6021 * progmodes/compile.el (compilation-filter-hook)
6022 (compilation-filter-start): New defvars.
6023 (compilation-filter): Call compilation-filter-hook prior to
6024 updating the process mark.
6025
c4662635
SM
60262011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6029
b0512a1d
EZ
60302011-05-07 Eli Zaretskii <eliz@gnu.org>
6031
605c9376
EZ
6032 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6033 mailclient-send-it even if window-system is nil. (Bug#8595)
6034
c4662635
SM
6035 * term/w32console.el (terminal-init-w32console):
6036 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6037 background-mode. (Bug#8597)
6038
d1dc2cc2
SM
60392011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6042 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6043 New functions.
6044 (defgeneric, eieio--defmethod): Use them.
6045 (eieio-defgeneric): Remove.
6046 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6047
915d1300
GM
60482011-05-07 Glenn Morris <rgm@gnu.org>
6049
a3961c3e
GM
6050 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6051 Use let rather than let*.
6052 (timeclock-find-discrep): Remove unused local.
6053
314347b9
GM
6054 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6055
915d1300
GM
6056 * calendar/appt.el (appt-time-msg-list): Doc fix.
6057
275b59b0
NF
60582011-05-06 Noah Friedman <friedman@splode.com>
6059
6060 * apropos.el (apropos-print-doc): Only use
6061 emacs-lisp-docstring-fill-column when it is bound to an integer,
6062 per that variable's documentation.
6063
6c19f744
SM
60642011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6065
6066 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6067 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6068
60f884b2
GM
60692011-05-06 Glenn Morris <rgm@gnu.org>
6070
5006e634
GM
6071 * calendar/appt.el (appt-message-warning-time): Doc fix.
6072 (appt-warning-time-regexp): New option.
6073 (appt-make-list): Respect appt-message-warning-time.
6074
548d0a63
GM
6075 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6076 New options.
6077 (diary-add-to-list): Strip comments from the displayed string.
6078 (diary-mode): Set comment-start and comment-end.
6079
60f884b2
GM
6080 * vc/diff-mode.el (smerge-refine-subst): Declare.
6081 (diff-refine-hunk): Don't require smerge-mode when compiling.
6082
989681bb
JB
60832011-05-06 Juanma Barranquero <lekktu@gmail.com>
6084
6085 * simple.el (list-processes): Return nil as the docstring says.
6086
a6bc05e1
MA
60872011-05-05 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6090 to "".
6091 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6092 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6093 determining of binary transfer. (Bug#7383)
6094
23c22e9a
MA
60952011-05-05 Michael Albinus <michael.albinus@gmx.de>
6096
c4662635
SM
6097 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6098 Fix port computation bug. (Bug#8618)
23c22e9a 6099
0bff894f
GM
61002011-05-05 Glenn Morris <rgm@gnu.org>
6101
b8296902
GM
6102 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6103
1f522ce8
GM
6104 * simple.el (shell-dynamic-complete-functions)
6105 (comint-dynamic-complete-functions): Declare.
6106
cf5bee67
GM
6107 * net/network-stream.el (gnutls-negotiate):
6108 * simple.el (tabulated-list-print): Fix declarations.
6109
6110 * progmodes/gud.el (syntax-symbol, syntax-point):
6111 Remove unnecessary and incorrect declarations.
6112
0bff894f
GM
6113 * emacs-lisp/check-declare.el (check-declare-scan):
6114 Handle byte-compile-initial-macro-environment in bytecomp.el
6115
9869b3ae
SM
61162011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6117
6118 Fix earlier half-done eieio-defmethod change (bug#8338).
6119 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6120 Streamline and change calling convention.
6121 (defmethod): Adjust accordingly and simplify.
6122 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6123 new eieio--defmethod.
6124 (slot-boundp): Minor CSE simplification.
6125
9c1d5ac5
MZ
61262011-05-05 Milan Zamazal <pdm@zamazal.org>
6127
6128 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6129 (glasses-make-readable): Use glasses-separate-capital-groups.
6130
455c834e
JB
61312011-05-05 Juanma Barranquero <lekktu@gmail.com>
6132
6133 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6134 (warning-series): Doc fix.
6135 (display-warning): Don't try to create the buffer if we just found it.
6136
9ed7c8cb
CY
61372011-05-04 Chong Yidong <cyd@stupidchicken.com>
6138
6139 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6140 (autoload-find-generated-file): New function.
6141 (generate-file-autoloads): Bind generated-autoload-file to
6142 buffer-file-name.
9869b3ae
SM
6143 (update-file-autoloads, update-directory-autoloads):
6144 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6145 output file (Bug#7989).
6146 (batch-update-autoloads): Doc fix.
6147
0898ca10
JB
61482011-05-04 Juanma Barranquero <lekktu@gmail.com>
6149
6150 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6151
31dfb76c
GM
61522011-05-04 Glenn Morris <rgm@gnu.org>
6153
f330b642
GM
6154 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6155 function, so it follows changes in calendar-date-style.
6156 (diary-fancy-date-matcher): New function.
6157 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6158 (diary-fancy-font-lock-fontify-region-function):
6159 Use diary-fancy-date-pattern as a function.
6160
31dfb76c
GM
6161 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6162 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6163
48e79d6a
TZ
61642011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6165
6166 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6167 instead of positional arguments. Allow :keylist and :crlfiles
6168 arguments.
6169 (open-gnutls-stream): Call it.
6170
6171 * net/network-stream.el (network-stream-open-starttls): Adjust to
6172 call `gnutls-negotiate' with :process and :hostname arguments.
6173
dd5a5ee0
SM
61742011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6175
ef80fc09
SM
6176 * minibuffer.el (completion--message): New function.
6177 (completion--do-completion, minibuffer-complete)
6178 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6179 (completion--do-completion): Don't ignore completion-auto-help when in
6180 icomplete-mode.
6181
dd5a5ee0
SM
6182 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6183 internal encoding (e.g. tibetan zero is not whitespace).
6184 (global-whitespace-mode): Prefer save-current-buffer.
6185 (whitespace-trailing-regexp): Remove useless save-match-data.
6186 (whitespace-empty-at-bob-regexp): Minor simplification.
6187
b7d22a83
CY
61882011-05-03 Chong Yidong <cyd@stupidchicken.com>
6189
6190 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6191
5192af46
AM
61922011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6193
6194 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6195 Use `concat' to create string for insertion.
5192af46 6196
5767d190
SM
61972011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6198
6199 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6200 Avoid open-line which runs post-self-insert-hook.
6201 (bibtex-fill-entry): Remove unused `end' var.
6202
bf242939
AM
62032011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6204
5767d190
SM
6205 * textmodes/ispell.el (ispell-add-per-file-word-list):
6206 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6207
25666126
LL
62082011-05-03 Leo Liu <sdl.web@gmail.com>
6209
6210 * isearch.el (isearch-yank-pop): New command.
5767d190 6211 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6212 (isearch-forward): Mention it.
6213
52d3c2d0
SM
62142011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6215
1bcace58
SM
6216 * simple.el (minibuffer-complete-shell-command): Remove.
6217 (minibuffer-local-shell-command-map): Use completion-at-point.
6218 (read-shell-command): Setup completion vars here instead.
6219 (read-expression-map): Bind TAB to symbol completion.
6220
52d3c2d0
SM
6221 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6222 error directly rather via storing it into `results'.
6223
35813471
LL
62242011-05-02 Leo Liu <sdl.web@gmail.com>
6225
6226 * vc/diff.el: Fix description.
6227
e793a940
LMI
62282011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6229
6230 * server.el (server-eval-at): New function.
6231
8de66e05
LMI
62322011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6233
6234 * net/network-stream.el (open-network-stream): Take a :nowait
6235 parameter and pass it on to `make-network-process'.
6236 (network-stream-open-plain): Ditto.
6237
dcb79f20
AS
62382011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6239
6240 * faces.el (face-spec-set-match-display): Don't match toolkit
6241 options on terminal frames.
6242
14a7fbd8
SM
62432011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6244
7eabc1be
SM
6245 * progmodes/pascal.el: Use lexical binding.
6246 (pascal-mode-map): Remove author preferences.
6247
14a7fbd8
SM
6248 * pcomplete.el (pcomplete-std-complete): Don't abuse
6249 completion-at-point.
6250
50f84510
JB
62512011-04-28 Juanma Barranquero <lekktu@gmail.com>
6252
6e087a44
JB
6253 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6254 removing code that has been dead since 1991 or so.
6255
50f84510
JB
6256 * startup.el (command-line): When warning about "_emacs", use a
6257 delayed warning to allow the user to filter it out.
6258
0ba690bd
DD
62592011-04-28 Deniz Dogan <deniz@dogan.se>
6260
6261 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6262 user has not joined.
6263
08abfaad
SM
62642011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6267 aren't any completions at point.
6268
638f053a
JB
62692011-04-28 Juanma Barranquero <lekktu@gmail.com>
6270
6271 * subr.el (display-delayed-warnings): New function.
6272 (delayed-warnings-hook): New variable.
6273
8fff8daa
SM
62742011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6275
08abfaad
SM
6276 * minibuffer.el (completion-at-point, completion-help-at-point):
6277 Don't presume that a given completion-at-point-function will always
6278 use the same calling convention.
6279
8fff8daa
SM
6280 * pcomplete.el (pcomplete-completions-at-point):
6281 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6282 pcomplete-seen is non-nil.
6283 (pcomplete-comint-setup): Also recognize the new comint/shell
6284 completion functions.
6285 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6286 pcomplete-seen is non-nil.
6287
841a1577 62882011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6289
841a1577 6290 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6291 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6292 the first character in the entry. This allows for code to add its
211ec907
UJ
6293 own uid to the entry.
6294 (icalendar--convert-float-to-ical): Add export of
6295 `diary-float'-entries save for those with the optional DAY
6296 argument.
6297
2a782793
DC
62982011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6299
6300 * subr.el (shell-quote-argument): Use alternate escaping strategy
6301 when we spot a variable reference in a string.
6302
0438ce91
DC
63032011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6304
6305 * cus-start.el (all): Define customization for debug-on-event.
6306
841a1577 63072011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6308
6309 * subr.el (shell-quote-argument): Escape correctly under Windows.
6310
d090ed6c
SM
63112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6314
bfd31217
MA
63152011-04-25 Michael Albinus <michael.albinus@gmx.de>
6316
d090ed6c
SM
6317 * net/tramp.el (tramp-process-actions): Add POS argument.
6318 Delete region between POS and (pos).
bfd31217 6319
d090ed6c
SM
6320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6321 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6322 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6323
6324 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6325 position in `tramp-process-actions' call.
6326
6327 * net/trampver.el: Update release number.
6328
e92f3bd3
SM
63292011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6330
850256b5
SM
6331 * custom.el (defcustom): Obey lexical-binding.
6332
e92f3bd3
SM
6333 Fix octave-inf completion problems reported by Alexander Klimov.
6334 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6335 Inherit from octave-mode-syntax-table.
6336 (inferior-octave-mode): Set info-lookup-mode.
6337 (inferior-octave-completion-at-point): New function.
6338 (inferior-octave-complete): Use it and completion-in-region.
6339 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6340 comint-filename-completion.
6341 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6342 symbol elements which shouldn't be word elements.
6343 (octave-font-lock-keywords, octave-beginning-of-defun)
6344 (octave-function-header-regexp): Adjust regexps accordingly.
6345 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6346
cd22b309
JB
63472011-04-25 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * net/gnutls.el (gnutls-errorp): Declare before first use.
6350
8b492194
TZ
63512011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6352
6353 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6354 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6355 default trustfile exists before going to use it. Add missing
6356 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6357 Reported by Claudio Bley <claudio.bley@gmail.com>.
6358 (open-gnutls-stream): Add usage example.
6359
6360 * net/network-stream.el (network-stream-open-starttls): Give host
6361 parameter to `gnutls-negotiate'.
6362 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6363 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6364
841a1577 63652011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6366
cd22b309
JB
6367 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6368 Use correct match group (bug#8438).
05842630 6369
3ba7869c
CY
63702011-04-24 Chong Yidong <cyd@stupidchicken.com>
6371
512e3ae1
CY
6372 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6373 (package-menu--generate): New arg specifying packages to show.
6374 (package-menu-refresh, package-menu-execute, list-packages):
6375 Callers changed.
6376 (package-show-package-list): New function, replacing deleted
6377 package--list-packages (renamed because it is non-internal).
6378
6379 * finder.el (finder-list-matches): Use package-show-package-list
6380 instead of deleted package--list-packages.
6381
e92f3bd3
SM
6382 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6383 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6384 (vc-annotate-mode-map): Bind it to RET.
6385
7031be6d
UR
63862011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6387
6388 * progmodes/etags.el (next-file): Don't use set-buffer to change
6389 buffers (Bug#8478).
6390
4ef177aa
CY
63912011-04-24 Chong Yidong <cyd@stupidchicken.com>
6392
c8d173eb
CY
6393 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6394
4ef177aa
CY
6395 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6396 (apropos-accumulator): Doc fix.
6397 (apropos-function, apropos-macro, apropos-command)
6398 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6399 (apropos-plist): Add face property.
6400 (apropos-symbols-internal): Fix indentation.
6401 (apropos-print): Simplify help, and recognize apropos-multi-type.
6402 (apropos-print-doc): Use button-type-get to extract the button's
6403 face property. Fill docstring (Bug#8352).
6404
4ffd0d6b 64052011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6406
6407 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6408
c6c32125 6409 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6410 (mpuz-mode-map): Use mapc.
c6c32125
JB
6411 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6412 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6413 Fix typos in docstrings.
6414
58d468b4
JB
6415 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6416 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6417
6470c3c6
JB
6418 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6419
4ffd0d6b 64202011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6421
6422 * minibuffer.el (completion--do-completion): Avoid the "Next char
6423 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6424
3ad8bad0
CY
6425 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6426 mouse-2 into unread-command-events, it is interpreted correctly.
6427
71d73c9c 6428 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6429 (image-toggle-display): Doc fix.
71d73c9c 6430
841a1577 64312011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6432
4ffd0d6b
GM
6433 * textmodes/page.el (what-page): Use line-number-at-pos to
6434 calculate line number (Bug#6825).
6e1dbaa9 6435
c2fb1b60
JB
64362011-04-22 Juanma Barranquero <lekktu@gmail.com>
6437
6438 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6439 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6440 Pass argument NO-DEFAULT to `find-tag-interactive'.
6441
e02f48d7
JB
64422011-04-22 Juanma Barranquero <lekktu@gmail.com>
6443
6444 Lexical-binding cleanup.
6445
6446 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6447 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6448 * progmodes/ada-prj.el (ada-prj-initialize-values)
6449 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6450 (ada-prj-show-value):
6451 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6452 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6453 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6454 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6455 * progmodes/bug-reference.el (bug-reference-push-button):
6456 * progmodes/fortran.el (fortran-line-length):
6457 * progmodes/glasses.el (glasses-change):
6458 * progmodes/octave-mod.el (octave-fill-paragraph):
6459 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6460 (python-pdbtrack-grub-for-buffer, python-sentinel):
6461 * progmodes/sql.el (sql-save-connection):
6462 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6463 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6464 Mark unused parameters.
6465
6466 * progmodes/compile.el (compilation--flush-directory-cache)
6467 (compilation--flush-parse, compile-internal): Mark unused parameters.
6468 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6469 (compilation-next-error-function): Remove unused variable `timestamp'.
6470
6471 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6472 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6473
6474 * progmodes/dcl-mode.el (dcl-end-of-command):
6475 Remove unused variable `start'.
6476 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6477 (dcl-option-value-basic, dcl-option-value-offset)
6478 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6479 Mark unused parameters.
6480 (dcl-save-local-variable): Remove unused variable `val'.
6481 (mode): Declare.
6482
6483 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6484 Mark unused parameters.
6485 (delphi-ignore-changes): Move before first use.
6486 (delphi-charset-token-at): Remove unused variable `start'.
6487 (delphi-else-start): Remove unused variable `if-count'.
6488 (delphi-comment-block-start, delphi-comment-block-end):
6489 Remove unused variable `kind'.
6490 (delphi-indent-line): Remove unused variable `new-point'.
6491
6492 * progmodes/ebrowse.el (ebrowse-files-list)
6493 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6494 Mark unused parameters. Don't quote `lambda'.
6495 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6496 Don't quote `lambda'.
6497 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6498 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6499 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6500 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6501 Use `ignore-errors'.
6502 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6503 (ebrowse-view/find-file-and-search-pattern)
6504 (ebrowse-view/find-member-declaration/definition):
6505 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6506 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6507 Rename parameter PREFIX-ARG to PREFIX.
6508 (ebrowse-tags-read-name): Remove unused variables `start' and
6509 `member-info'.
6510 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6511 to `tags-file'.
6512
6513 * progmodes/etags.el (local-find-tag-hook): Declare.
6514 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6515 Mark unused parameters.
6516
6517 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6518 (executable-interpret): Mark unused parameter.
6519
6520 * progmodes/flymake.el (flymake-process-sentinel)
6521 (flymake-after-change-function)
6522 (flymake-create-temp-with-folder-structure)
6523 (flymake-get-include-dirs-dot): Mark unused parameters.
6524 (flymake-safe-delete-directory): Remove unused variable `err'.
6525
6526 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6527 (speedbar-timer-fn, speedbar-line-text)
6528 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6529 (speedbar-center-buffer-smartly): Declare functions.
6530 (gdb-find-watch-expression): Remove unused variable `array'.
6531 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6532 (gdb-starting): Mark unused parameters.
6533 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6534 (gdb-table-string): Remove unused variable `res'.
6535 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6536 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6537 (gdb-display-buffer): Remove unused variable `cur-size'.
6538
6539 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6540 allow lexical-binding compilation.
6541 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6542 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6543 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6544 Mark unused parameters.
6545 (gud-gdb-marker-filter): Remove unused variable `match'.
6546 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6547 lambda expressions and funcall them, instead of using `fset'.
6548
6549 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6550 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6551
6552 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6553 variable `header-beg'; use `let'.
6554
6555 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6556 `restart', `last-sexp' and `at-do'.
6557
6558 * progmodes/js.el (js--debug): Mark unused parameter.
6559 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6560 (js--splice-into-items): Remove unused variable `item'.
6561 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6562
6563 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6564 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6565 (makefile-complete): Remove unused variable `try'.
6566 (makefile-fill-paragraph, makefile-match-function-end):
6567 Mark unused parameters.
6568
6569 * progmodes/octave-inf.el (inferior-octave-complete):
6570 Remove unused variable `proc'.
6571 (inferior-octave-output-digest): Mark unused parameter.
6572
6573 * progmodes/perl-mode.el (perl-calculate-indent):
6574 Remove unused variable `err'.
6575
6576 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6577 (prolog-indent-line): Mark unused parameters.
6578 (prolog-indent-line): Remove unused variable `beg'.
6579
6580 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6581 (reporter-dont-compact-list): Declare.
6582
6583 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6584 Remove unused variable `char'.
6585 (sh-debug): Mark unused parameter.
6586 (sh-get-indent-info): Remove unused variable `start'.
6587 (sh-calculate-indent): Remove unused variable `var'.
6588
6589 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6590 (simula-electric-keyword): Remove unused variable `null'.
6591 (simula-search-backward, simula-search-forward): Remove unused
6592 variables `begin' and `end'.
6593
6594 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6595 Remove unused variable `pos'.
6596 (vera-electric-tab, vera-comment-uncomment-region):
6597 Mark unused parameters.
6598 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6599
7ede3b65
CY
66002011-04-22 Chong Yidong <cyd@stupidchicken.com>
6601
6602 * emacs-lisp/package.el (package--builtins, package-alist)
6603 (package-load-descriptor, package-built-in-p, package-activate)
6604 (define-package, package-installed-p)
6605 (package-compute-transaction, package-buffer-info)
6606 (package--push): Doc fix. Distinguish more clearly between
6607 version strings and version lists.
6608
121656e9
JB
66092011-04-21 Juanma Barranquero <lekktu@gmail.com>
6610
6611 Lexical-binding cleanup.
6612
6613 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6614 (5x5-make-mutate-best):
6615 * play/fortune.el (fortune-in-buffer):
6616 * play/gomoku.el (gomoku-init-display):
6617 * play/solitaire.el (solitaire, solitaire-do-check):
6618 * play/tetris.el (tetris-default-update-speed-function):
6619 Mark unused parameters.
6620
6621 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6622 (bubbles--shift): Remove unused variable `char-org'.
6623 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6624 (bubbles--show-images): Remove unused variable `char'.
6625
6626 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6627 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6628 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6629 (decipher-analyze-buffer): Use ?\s.
6630 (decipher-make-checkpoint): Remove unused variable `mapping'.
6631
6632 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6633
6634 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6635 Remove unused variable `result'; use `let'.
6636
6637 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6638 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6639 (gametree-children-shown-p, gametree-compute-reduced-score):
6640 Use `ignore-errors'.
6641
6642 * play/handwrite.el (ps-lpr-switches): Declare.
6643 (handwrite): Remove unused variables `pmin' and `lastp'.
6644
6645 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6646
6647 * play/landmark.el (landmark-init-display)
6648 (landmark-update-naught-weights): Mark unused parameters.
6649 (landmark-y): Remove unused variable `noise'. Simplify.
6650 (landmark-human-plays): Remove unused variable `score'.
6651
6652 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6653 (mpuz-try-proposal): Remove unused variable `game'.
6654
6655 * play/zone.el (life-patterns): Declare.
6656
80f499c7
JB
66572011-04-20 Juanma Barranquero <lekktu@gmail.com>
6658
6659 * vc/vc.el (ediff-vc-internal): Declare function.
6660
024ff170
SM
66612011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6662
c0a193ea
SM
6663 * shell.el: Use lexical-binding and std completion UI.
6664 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6665 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6666 comint-preoutput-filter-functions rather than on
6667 comint-output-filter-functions.
6668 (shell-command-completion, shell--command-completion-data)
6669 (shell-filename-completion, shell-environment-variable-completion)
6670 (shell-c-a-p-replace-by-expanded-directory): New functions.
6671 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6672 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6673 (shell-dynamic-complete-environment-variable): Use them.
6674 (shell-dynamic-complete-as-environment-variable)
6675 (shell-dynamic-complete-as-command): Remove.
6676 (shell-match-partial-variable): Match past point.
6677 * comint.el: Clean up use of completion-at-point-functions.
6678 (comint-completion-at-point): New function.
6679 (comint-mode): Use it completion-at-point-functions.
6680 (comint-dynamic-complete): Make it obsolete.
6681 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6682 (comint-c-a-p-replace-by-expanded-history): New function.
6683 (comint-dynamic-complete-functions)
6684 (comint-replace-by-expanded-history): Use it.
6685 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6686 termination strings. Try harder to avoid second try-completion.
6687 (completion-in-region-mode-map): Disable bindings that don't work yet.
6688
2dbaa080
SM
6689 * comint.el: Use lexical-binding. Require CL.
6690 (comint-dynamic-complete-functions): Use comint-filename-completion.
6691 (comint-completion-addsuffix): Tweak custom type.
6692 (comint-filename-completion, comint--common-suffix)
6693 (comint--common-quoted-suffix, comint--table-subvert)
6694 (comint--complete-file-name-data): New functions.
6695 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6696 (comint-dynamic-list-filename-completions): Use them.
6697 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6698
2dbaa080
SM
6699 * minibuffer.el (completion-in-region-mode):
6700 Keep completion-in-region-mode--predicate global.
6701 (completion-in-region--postch):
6702 Assume completion-in-region-mode--predicate is not null.
6703
c79a6f38
SM
6704 * progmodes/flymake.el (flymake-start-syntax-check-process):
6705 Obey `dir'. Simplify.
6706
024ff170
SM
6707 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6708 we're in VC after all.
6709
1c6c854e
CS
67102011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6711
6712 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6713 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6714 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6715
bed7f140
SM
67162011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6717
332e62ab
SM
6718 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6719 add sanity check.
6720
bed7f140
SM
6721 * obsolete/erc-hecomplete.el: Make obsolete.
6722 * obsolete/: Standardize obsolescence info in the header.
6723
f195c582
GM
67242011-04-20 Glenn Morris <rgm@gnu.org>
6725
6726 * calendar/solar.el (solar-horizontal-coordinates):
6727 Use the longitude argument rather than `calendar-longitude'.
6728 (solar-date-next-longitude): Remove unused locals.
6729
cb79b8c0
VJL
67302011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6731
6732 * whitespace.el: New version 13.2.1.
6733
67342011-04-20 felix <EmacsWiki> (tiny change)
6735
d8e4b68b 6736 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6737 switching between major modes on a file.
6738
602ea69d
SM
67392011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6740
6741 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6742 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6743 multi-line comments as well.
6744
06b60517
JB
67452011-04-19 Juanma Barranquero <lekktu@gmail.com>
6746
6747 Lexical-binding cleanup.
6748
6749 * arc-mode.el (archive-mode-revert):
6750 * cmuscheme.el (scheme-interactively-start-process):
6751 * custom.el (custom-initialize-delay):
6752 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6753 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6754 * emacs-lock.el (emacs-lock-clear-sentinel):
6755 * ezimage.el (defezimage):
6756 * follow.el (follow-avoid-tail-recenter):
6757 * fringe.el (set-fringe-mode-1):
6758 * generic-x.el (bat-generic-mode-compile):
6759 * help-mode.el (help-info-variable, help-do-xref)
6760 (help-mode-revert-buffer):
6761 * help.el (view-emacs-todo):
6762 * iswitchb.el (iswitchb-completion-help):
6763 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6764 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6765 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6766 * locate.el (locate-update):
6767 * longlines.el (longlines-encode-region)
6768 (longlines-after-change-function):
6769 * outline.el (outline-isearch-open-invisible):
6770 * ps-def.el (declare-function, charset-dimension, char-width)
6771 (encode-char):
6772 * ps-mule.el (ps-mule-plot-string):
6773 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6774 (recentf-edit-list-select, recentf-edit-list-validate)
6775 (recentf-open-files-action):
6776 * rect.el (delete-whitespace-rectangle-line)
6777 (rectangle-number-line-callback):
6778 * register.el (window-configuration-to-register)
6779 (frame-configuration-to-register):
6780 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6781 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6782 (xselect-convert-to-targets, xselect-convert-to-delete)
6783 (xselect-convert-to-filename, xselect-convert-to-charpos)
6784 (xselect-convert-to-lineno, xselect-convert-to-colno)
6785 (xselect-convert-to-os, xselect-convert-to-host)
6786 (xselect-convert-to-user, xselect-convert-to-class)
6787 (xselect-convert-to-name, xselect-convert-to-integer)
6788 (xselect-convert-to-atom, xselect-convert-to-identity):
6789 * subr.el (declare, ignore, process-kill-without-query)
6790 (text-clone-maintain):
6791 * terminal.el (te-get-char, te-tic-sentinel):
6792 * tool-bar.el (tool-bar-make-keymap):
6793 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6794 * type-break.el (type-break-mode, type-break-noninteractive-query):
6795 * view.el (View-back-to-mark):
6796 * wid-browse.el (widget-browse-action, widget-browse-widget)
6797 (widget-browse-widgets, widget-browse-sexp):
6798 * widget.el (define-widget-keywords):
6799 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6800 Mark unused parameters.
6801
6802 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6803 (align-areas): Remove unused variable `look'.
6804 (align-region): Remove unused variables `real-end' and `pos-list'.
6805
6806 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6807
6808 * bindings.el (mode-line-modified, mode-line-remote):
6809 Mark unused parameters.
6810 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6811
6812 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6813 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6814
6815 * comint.el (comint-history-isearch-pop-state)
6816 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6817 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6818 (comint-substitute-in-file-name): Doc fix.
6819
6820 * completion.el (cmpl-statistics-block): Mark unused parameter.
6821 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6822 (save-completions-to-file, load-completions-from-file):
6823 Remove unused local variable `e'.
6824
6825 * composite.el (compose-chars): Remove unused variable `len'.
6826 (lgstring-insert-glyph): Remove unused variable `g'.
6827 (compose-glyph-string): Remove unused variables `ascent',
6828 `descent', `lbearing' and `rbearing'.
6829 (compose-glyph-string-relative): Remove unused variables
6830 `lbearing', `rbearing' and `wadjust'.
6831 (compose-gstring-for-graphic): Remove unused variables `header',
6832 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6833 (compose-gstring-for-terminal): Remove unused variables `header'
6834 and `nchars'. Use `let', not `let*'.
6835
6836 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6837 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6838 (Custom-buffer-done, custom-buffer-create-internal)
6839 (custom-browse-visibility-action, custom-browse-group-tag-action)
6840 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6841 (widget-magic-mouse-down-action, custom-toggle-parent)
6842 (custom-add-parent-links, custom-toggle-hide-variable)
6843 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6844 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6845 (custom-face-menu-create, custom-variable-menu-create, get)
6846 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6847 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6848 (customize-apropos): Remove unused variable `tests'.
6849 (custom-group-value-create): Remove unused variable `hidden-p'.
6850 (sort-fold-case): Declare.
6851
6852 * cus-theme.el (custom-reset-standard-faces-list)
6853 (custom-reset-standard-variables-list): Declare.
6854 (customize-create-theme, custom-theme-revert, custom-theme-write)
6855 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6856 Mark unused parameters.
6857
6858 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6859
6860 * delim-col.el (delimit-columns-max): Move defvar before first use.
6861
6862 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6863 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6864
6865 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6866 (auto-insert): Declare.
6867 (desktop-restore-file-buffer): Rename desktop-* parameters;
6868 mark unused ones.
6869 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6870 (desktop-buffer): Rename desktop-* parameters.
6871
6872 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6873 (dframe-reposition-frame-xemacs, dframe-help-echo)
6874 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6875 Mark unused parameters.
6876
6877 * dired-aux.el (backup-extract-version-start, overwrite-query)
6878 (overwrite-backup-query, rename-regexp-query)
6879 (rename-non-directory-query): Declare.
6880 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6881 (dired-add-entry): Remove unused variable `orig-file-name'.
6882 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6883 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6884 `dired-copy-preserve-time' directly.
6885 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6886 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6887
6888 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6889 (dired-virtual-revert, dired-make-relative-symlink):
6890 Mark unused parameters.
6891 (manual-program): Declare.
6892 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6893 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6894 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6895
6896 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6897
6898 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6899
6900 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6901 Declare.
6902
6903 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6904
6905 * electric.el (Electric-command-loop): Rename parameter
6906 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6907
6908 * expand.el (expand-in-literal): Remove unused variable `here'.
6909
6910 * facemenu.el (facemenu-add-new-color):
6911 Remove unused variable `docstring'.
6912
6913 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6914 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6915 (face-attr-construct): Mark unused parameter. Doc fix.
6916 (read-color): Remove unused variable `hex-string'.
6917
6918 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6919 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6920 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6921 (display-buffer-other-frame): Remove unused variable `old-window'.
6922 (kill-buffer-hook): Declare.
6923 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6924 Mark unused parameters.
6925 (after-find-file): Pass 1 to `auto-save-mode', not t.
6926
6927 * files-x.el (auto-insert): Declare.
6928 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6929
6930 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6931 variable `buf'. Mark unused parameter.
06b60517
JB
6932 (find-lisp-insert-directory): Mark unused parameter.
6933
6934 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6935 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6936 (format-common-tail): Remove, unused.
6937 (format-deannotate-region): Remove unused variable `loc'.
6938 (format-annotate-region): Remove unused variable `p'.
6939 (format-annotate-single-property-change): Remove unused variables
6940 `default' and `tail'.
6941
6942 * forms.el (read-file-filter): Declare.
6943 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6944
6945 * frame.el (frame-creation-function-alist): Mark unused parameter.
6946 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6947
6948 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6949 Remove unused parameters.
6950 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6951 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6952
6953 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6954 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6955 (hfy-prepare-tag-map): Mark unused parameters.
6956 (htmlfontify-buffer): Use `called-interactively-p'.
6957
6958 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6959 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6960 (ibuffer-do-occur): Mark unused parameters.
6961 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6962 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6963
6964 * ibuffer.el: Don't quote `lambda'.
6965 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6966 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6967 Mark unused parameters.
6968
6969 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6970 (ido-completing-read): Mark unused parameters.
6971 (ido-copy-current-word): Mark unused parameters;
6972 remove unused variable `name'.
6973 (ido-sort-merged-list): Remove unused parameter `dirs'.
6974
6975 * ielm.el (ielm-input-sender): Mark unused parameter.
6976 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6977 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6978 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6979 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6980 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6981
6982 * image-dired.el (image-dired-display-thumbs): Remove unused
6983 variables `curr-file' and `count'.
6984 (image-dired-remove-tag): Remove unused variable `start'.
6985 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6986 variable `curr-file'
6987 (image-dired-rotate-original): Remove unused variable `temp-file'.
6988 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6989 Remove unused variable `file'.
6990 (image-dired-gallery-generate): Remove unused variable `curr'.
6991 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6992
6993 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6994
6995 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6996
6997 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6998
6999 * isearch.el (minibuffer-history-symbol): Declare.
7000 (isearch-edit-string): Remove unused variable `err'.
7001 (isearch-message-prefix, isearch-message-suffix):
7002 Mark unused parameters.
7003
7004 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
7005
7006 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
7007
7008 * makesum.el (double-column): Remove unused variable `cnt'.
7009
7010 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
7011 (ido-ignore-item-temp-list): Declare.
7012
7013 * mouse-drag.el (mouse-drag-throw): Remove unused variables
7014 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
7015 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7016 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7017 `mouse-col-delta'.
7018
7019 * mouse-sel.el (mouse-extend-internal):
7020 Remove unused variable `orig-window-frame'.
7021
7022 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7023 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7024 Move declarations before first use.
7025 (pcomplete-opt): Mark unused parameters; doc fix.
7026
7027 * proced.el (proced-revert): Mark unused parameter.
7028 (proced-send-signal): Remove unused variable `err'.
7029
7030 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7031 Rename parameter PREFIX-ARG to ARG.
7032 (ps-basic-plot-string, ps-basic-plot-whitespace):
7033 Mark unused parameters.
7034
7035 * replace.el (replace-count): Define.
7036 (occur-revert-function): Mark unused parameters.
7037 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7038 (isearch-case-fold-search, isearch-string): Declare.
7039 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7040 bind `case-fold-search'. Remove unused variables `beg' and `end',
7041 and simplify.
7042 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7043 COUNT and bind `replace-count'.
7044 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7045 to COUNT.
7046
7047 * savehist.el (print-readably, print-string-length): Declare.
7048
7049 * shadowfile.el (shadow-expand-cluster-in-file-name):
7050 Remove unused variable `cluster'.
7051 (shadow-copy-file): Remove unused variable `i'.
7052 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7053 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7054 (shadow-define-literal-group, shadow-define-regexp-group)
7055 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7056
7057 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7058 (shell): Use `called-interactively-p'.
7059 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7060
7061 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7062 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7063 (delete-backward-char): Remove unused variable `ocol'.
7064 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7065 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7066 (event-apply-hyper-modifier, event-apply-shift-modifier)
7067 (event-apply-control-modifier, event-apply-meta-modifier):
7068 Mark unused parameters.
7069 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7070 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7071
7072 * speedbar.el (speedbar-ignored-directory-expressions)
7073 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7074 (speedbar-find-file, speedbar-dir-follow)
7075 (speedbar-directory-buttons-follow, speedbar-tag-find)
7076 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7077 (speedbar-buffers-line-directory, speedbar-buffer-click):
7078 Mark unused parameters.
7079 (speedbar-tag-file): Remove unused variable `mode'.
7080 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7081
7082 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7083
7084 * talk.el (talk): Remove unused variable `display'.
7085
7086 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7087 (tar-write-region-annotate): Mark unused parameter.
7088
7089 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7090 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7091 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7092 warning by another.
7093
7094 * time-stamp.el (time-stamp-string-preprocess):
7095 Remove unused variable `require-padding'.
7096
7097 * tree-widget.el (widget-glyph-enable): Declare.
7098 (tree-widget-action): Mark unused parameter.
7099
7100 * w32-fns.el (x-get-selection): Mark unused parameter.
7101 (autoload-make-program, generated-autoload-file): Declare.
7102
7103 * wdired.el (wdired-revert): Mark unused parameters.
7104 (wdired-xcase-word): Remove unused variable `err'.
7105
7106 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7107 (whitespace-help-scroll): Remove unused variable `data-help'.
7108
7109 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7110 (widget-image-insert, widget-after-change, default)
7111 (widget-default-format-handler, widget-default-notify)
7112 (widget-default-prompt-value, widget-info-link-action)
7113 (widget-url-link-action, widget-function-link-action)
7114 (widget-variable-link-action, widget-file-link-action)
7115 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7116 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7117 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7118 (widget-insert-button-action, widget-delete-button-action, visibility)
7119 (widget-documentation-link-action, widget-documentation-string-action)
7120 (widget-const-prompt-value, widget-regexp-match, symbol)
7121 (widget-coding-system-prompt-value)
7122 (widget-key-sequence-value-to-external, sexp)
7123 (widget-sexp-value-to-internal, character, vector, cons)
7124 (widget-choice-prompt-value, widget-boolean-prompt-value)
7125 (widget-color--choose-action): Mark unused parameters.
7126 (widget-item-match-inline, widget-choice-match-inline)
7127 (widget-checklist-match, widget-checklist-match-inline)
7128 (widget-group-match): Rename parameter VALUES to VALS.
7129 (widget-field-value-set): Remove unused variable `size'.
7130 (widget-color-action): Remove unused variables `value' and `start'.
7131
7132 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7133 variable `dir'. Doc fix.
06b60517
JB
7134 (windmove-find-other-window): Don't pass it.
7135
7136 * window.el (count-windows): Mark unused parameter.
7137 (bw-adjust-window): Remove unused variable `err'.
7138
7139 * woman.el (woman-file-name): Remove unused variable `default'.
7140 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7141 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7142 (global-font-lock-mode): Declare.
7143 (woman-decode-region): Mark unused parameter.
7144 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7145
7146 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7147 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7148 (x-dnd-handle-moz-url): Remove unused variable `title'.
7149 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7150
7151 * xml.el (xml-parse-tag, xml-parse-attlist):
7152 Remove unused variable `pos'.
7153
bc4f7f3d
GM
71542011-04-19 Glenn Morris <rgm@gnu.org>
7155
7156 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7157 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7158 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7159 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7160 * calendar/cal-html.el (cal-html-insert-minical):
7161 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7162 (calendar-mark-date-pattern):
7163 Prefix "unused" locals.
7164
7165 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7166 optional argument `style'.
7167
7168 * calendar/appt.el (appt-make-list):
7169 * calendar/cal-china.el (calendar-chinese-date-string):
7170 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7171 (diary-hebrew-yahrzeit):
7172 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7173 * calendar/calendar.el (calendar-generate-window):
7174 * calendar/time-date.el (time-to-days):
7175 Remove unused local variables.
7176
16a43933
CY
71772011-04-18 Chong Yidong <cyd@stupidchicken.com>
7178
7179 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7180 glyphless-char-display table.
7181 (tabulated-list-glyphless-char-display): New var.
7182
7eed1860
SS
71832011-04-18 Sam Steingold <sds@gnu.org>
7184
7185 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7186 to acknowledgments.
7187
4d2d1ccd
GM
71882011-04-17 Glenn Morris <rgm@gnu.org>
7189
7190 * calendar/diary-lib.el (diary-sexp-entry):
7191 * calendar/holidays.el (holiday-sexp):
7192 Set debug-on-error rather than the removed stack-trace-on-error.
7193
239da61d
GM
71942011-04-16 Glenn Morris <rgm@gnu.org>
7195
7196 * progmodes/f90.el: Use lexical-binding.
7197 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7198
8b05752a
SM
71992011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7200
daca8ba5
SM
7201 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7202 (mail-mode): Setup mailalias completion here instead.
7203 * mail/mailalias.el: Use lexical-binding.
7204 (pattern, mailalias-done): Declare dynamic.
7205 (mail-completion-at-point-function): New function, from mail-complete.
7206 (mail-complete): Use it.
7207 (mail-completion-expand): New function.
7208 (mail-get-names): Use it.
7209 (mail-directory, mail-directory-process, mail-directory-stream):
7210 Don't use `pattern' for lexically bound arg.
7211
6f542485
SM
7212 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7213
037e7c3f
SM
7214 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7215 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7216 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7217
8b05752a
SM
7218 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7219 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7220 (byte-interactive-p): Define them again, for use when inlining
7221 old code.
7222
49093f60
JB
72232011-04-15 Juanma Barranquero <lekktu@gmail.com>
7224
7225 * loadup.el: Use `string-to-number', not `string-to-int'.
7226
b5b8e7de
SM
72272011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7230 gud-gdb-complete-command.
7231 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7232 (gud-gdb-completion-at-point): New function.
7233 (gud-gdb-completions): Remove.
7234
f42efeb5
MA
72352011-04-14 Michael Albinus <michael.albinus@gmx.de>
7236
49093f60
JB
7237 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7238 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7239 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7240 whether `executable-find' is bound.
f42efeb5
MA
7241
7242 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7243
e240cc21
SM
72442011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7245
7246 * minibuffer.el (completion-in-region-mode-predicate)
7247 (completion-in-region-mode--predicate): New vars.
7248 (completion-in-region, completion-in-region--postch)
7249 (completion-in-region-mode): Use them.
7250 (completion--capf-wrapper): Also return the hook function.
7251 (completion-at-point, completion-help-at-point):
7252 Adjust and provide a predicate.
c2bd2ab0
SM
7253
7254 Preserve arg names for advice of subr and lexical functions (bug#8457).
7255 * help-fns.el (help-function-arglist): Consolidate the subr and
7256 new-byte-code cases. Add argument `preserve-names' to extract names
7257 from the docstring when needed.
7258 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7259 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7260 (ad-arglist): Use help-function-arglist's new arg.
7261 (ad-definition-type): Use cond.
7262
c183f693
JB
72632011-04-13 Juanma Barranquero <lekktu@gmail.com>
7264
06641a47
JB
7265 * autorevert.el (auto-revert-handler):
7266 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7267 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7268 Don't quote lambda.
7269
c183f693
JB
7270 * image-mode.el (image-transform-set-scale):
7271 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7272
1e3b6001
G
72732011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7274
7275 * net/network-stream.el (network-stream-open-starttls): Only do
7276 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7277 Upgrades via gnutls-cli are too slow to be done opportunistically.
7278
2d6af8dd
JB
72792011-04-12 Juanma Barranquero <lekktu@gmail.com>
7280
7281 * dframe.el (dframe-current-frame): Remove spurious quote.
7282
c0749a51
GM
72832011-04-12 Glenn Morris <rgm@gnu.org>
7284
088d0d61
GM
7285 * calendar/cal-tex.el (cal-tex-end-document):
7286 Try to automatically use latin1 input if needed.
7287
c0749a51
GM
7288 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7289 Don't try to cons a mark onto an empty element.
7290
5c90fde0
LL
72912011-04-11 Leo Liu <sdl.web@gmail.com>
7292
7293 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7294 buffers.
7295 (ido-kill-buffer-at-head): Support killing virtual buffers.
7296
369e974d
CY
72972011-04-10 Chong Yidong <cyd@stupidchicken.com>
7298
7299 * minibuffer.el (completion-show-inline-help): New var.
7300 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7301 (minibuffer-force-complete, minibuffer-complete-word):
7302 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7303
7304 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7305 to avoid interference from inline help (Bug#5849).
7306
37f1c930
LL
73072011-04-10 Leo Liu <sdl.web@gmail.com>
7308
099c39a4
JB
7309 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7310 Fix typo.
37f1c930 7311
a32d4040
CY
73122011-04-09 Chong Yidong <cyd@stupidchicken.com>
7313
7314 * image-mode.el (image-toggle-display-image): Signal an error if
7315 not in Image mode.
7316 (image-transform-mode, image-transform-resize)
7317 (image-transform-set-rotation): Doc fix.
daca8ba5 7318 (image-transform-set-resize): Delete.
a32d4040
CY
7319 (image-transform-set-scale, image-transform-fit-to-height)
7320 (image-transform-fit-to-width): Handle image-toggle-display-image
7321 and image-transform-resize directly.
7322
099c39a4 73232011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7324
7325 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7326 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7327 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7328 (doc-view-mode-map): Add bindings for the new functions.
7329
099c39a4 73302011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7331
4d61f28d 7332 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7333 Fix typo in docstring.
7334
3726838a
EZ
73352011-04-08 Eli Zaretskii <eliz@gnu.org>
7336
04f33f1e
EZ
7337 * files.el (file-size-human-readable): Produce one digit after
7338 decimal, like "ls -lh" does.
7339
7340 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7341 the file size representation.
7342
3726838a
EZ
7343 * simple.el (list-processes): If async subprocesses are not
7344 available, error out with a clear error message.
7345
cbb59342
CY
73462011-04-08 Chong Yidong <cyd@stupidchicken.com>
7347
7348 * help.el (help-form-show): New function, to be called from C.
7349 Put help-form output in a buffer named differently than *Help*.
7350
e3971c44
EZ
73512011-04-08 Eli Zaretskii <eliz@gnu.org>
7352
7353 * files.el (file-size-human-readable): New function.
7354
7355 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7356 computing the representation inline. Don't require `cl'.
7357
12544bbe
GM
73582011-04-08 Glenn Morris <rgm@gnu.org>
7359
a1de6c6a
GM
7360 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7361
3c4671f4
GM
7362 * net/browse-url.el (browse-url-firefox):
7363 Test system-type, not system-configuration.
7364
b605679c
GM
7365 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7366 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7367 Use log-edit-empty-buffer-p. (Bug#7598)
7368
56442f0c
GM
7369 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7370 (rlogin-mode-map): Initialize in the defvar.
7371 (rlogin): Use ignore-errors.
7372
12544bbe
GM
7373 * replace.el (occur-mode-map): Some fixes for menu items.
7374
eb237b0f
AH
73752011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7376
7377 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7378
7d668f2c
CY
73792011-04-06 Chong Yidong <cyd@stupidchicken.com>
7380
e67a13ab
CY
7381 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7382 issuing unused warnings.
7383
7384 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7385 macro directly.
7386
7d668f2c
CY
7387 * simple.el: Lisp reimplement of list-processes. Based on an
7388 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7389 (process-menu-mode): New major mode.
7390 (list-processes--refresh, list-processes):
7391 (process-menu-visit-buffer): New functions.
7392
7393 * files.el (save-buffers-kill-emacs): Don't assume any return
7394 value of list-processes, which is undocumented anyway.
7395
a83ec3c9
CY
73962011-04-06 Chong Yidong <cyd@stupidchicken.com>
7397
7398 * emacs-lisp/tabulated-list.el: New file.
7399
e91a96fe
CY
7400 * emacs-lisp/package.el: Use Tabulated List mode.
7401 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7402 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7403 table format using Tabulated List mode variables.
7404 (package--push): New macro, replacing package-list-maybe-add.
7405 (package-menu--generate): Use package--push. Renamed from
7406 package--generate-package-list.
7407 (package-menu-refresh, list-packages): Use it.
daca8ba5 7408 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7409 Return insertion data instead of inserting it directly.
099c39a4
JB
7410 (package-menu-describe-package, package-menu-execute):
7411 Use tabulated-list-get-id.
e91a96fe
CY
7412 (package-menu-mark-delete, package-menu-mark-install)
7413 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7414 (package-menu-mark-obsolete-for-deletion):
7415 Use tabulated-list-put-tag.
e91a96fe
CY
7416 (package--list-packages, package-menu-revert)
7417 (package-menu-get-package, package-menu-get-version)
7418 (package-menu-sort-by-column): Functions deleted.
7419 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7420 (package-menu--status-predicate, package-menu--version-predicate)
7421 (package-menu--name-predicate)
7422 (package-menu--description-predicate): Handle arguments in the
7423 Tabulated List format.
7424 (package-list-packages-no-fetch): Call list-packages.
7425
3e214b50
JB
74262011-04-06 Juanma Barranquero <lekktu@gmail.com>
7427
7428 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7429 (after-find-file): Don't bind it.
3e214b50
JB
7430 (revert-buffer-in-progress-p): New variable.
7431 (revert-buffer): Bind it.
7432 Pass nil for `after-find-file-from-revert-buffer'.
7433
7434 * saveplace.el (save-place-find-file-hook): Use new variable
7435 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7436
3f0f1700
GM
74372011-04-06 Glenn Morris <rgm@gnu.org>
7438
c0274801
GM
7439 * Makefile.in (AUTOGEN_VCS): New variable.
7440 (autoloads): Use $AUTOGEN_VCS.
7441
3f0f1700
GM
7442 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7443 * calendar/calendar.el (calendar-mode-map):
7444 Check for toolkit scroll bars. (Bug#8305)
7445
41ea9e48
CY
74462011-04-05 Chong Yidong <cyd@stupidchicken.com>
7447
7448 * minibuffer.el (completion-in-region--postch)
7449 (completion-in-region-mode): Remove unnecessary messages.
7450
6194c800
JB
74512011-04-05 Juanma Barranquero <lekktu@gmail.com>
7452
33256f14
JB
7453 * font-lock.el (font-lock-refresh-defaults):
7454 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7455 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7456
6194c800
JB
7457 * info.el (Info-directory-list, Info-read-node-name-2)
7458 (Info-split-parameter-string): Doc fixes.
7459 (Info-virtual-nodes): Reflow docstring.
7460 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7461 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7462 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7463 Fix typos in docstrings.
7464 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7465 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7466 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7467 (Info-restore-desktop-buffer): Mark unused parameters.
7468 (Info-directory-find-file, Info-directory-find-node)
7469 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7470 (Info-virtual-index-find-node, Info-apropos-find-file)
7471 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7472 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7473 (Info-virtual-index): Remove unused local variable `nodename'.
7474
b87a8200 74752011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7476
b87a8200
DD
7477 * net/rcirc.el: Update my e-mail address.
7478 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7479
3b2ff876
CY
74802011-04-05 Chong Yidong <cyd@stupidchicken.com>
7481
7482 * startup.el (command-line): Save the cursor's theme-face
7483 directly, instead of using face-override-spec.
7484
7485 * custom.el (load-theme): Minor optimization in assigning faces.
7486
8d17e7ca
JB
74872011-04-04 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * help-fns.el (describe-variable): Complete all variables having
7490 documentation, including keywords.
7491 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7492
2fbc1934
JB
74932011-04-04 Juanma Barranquero <lekktu@gmail.com>
7494
7495 Convert to lexical-binding.
7496
7497 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7498 (bs--get-marked-string, bs--get-modified-string)
7499 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7500 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7501 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7502
7503 * ehelp.el (electric-help-execute-extended)
7504 (electric-help-ctrl-x-prefix):
7505 * hexl.el (hexl-revert-buffer-function):
7506 * linum.el (linum-after-change, linum-after-scroll):
7507 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7508
7509 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7510
74f50695
DU
75112011-04-04 Daiki Ueno <ueno@unixuser.org>
7512
7513 * epa-dired.el:
7514 * epa-mail.el:
7515 * epa-hook.el:
7516 * epa-file.el:
7517 * epa.el:
7518 * epg.el: Use lexical binding.
7519
c11325f7
CY
75202011-04-03 Chong Yidong <cyd@stupidchicken.com>
7521
0d9e9a12
CY
7522 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7523
c11325f7 7524 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7525 dictionary case for flyspell-mark-duplications-exceptions.
7526 Use regexp matching for languages.
c11325f7
CY
7527 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7528 default dictionary (Bug#7926).
7529
da91b5f2
CY
75302011-04-02 Chong Yidong <cyd@stupidchicken.com>
7531
099c39a4
JB
7532 * emacs-lisp/package.el (package--with-work-buffer):
7533 Recognize https URLs.
da91b5f2 7534
099c39a4
JB
7535 * net/network-stream.el: Move from gnus/proto-stream.el.
7536 Change prefix to network-stream throughout.
da91b5f2
CY
7537 (open-protocol-stream): Merge into open-network-stream, leaving
7538 open-protocol-stream as an alias. Handle nil BUFFER args.
7539
7540 * subr.el (open-network-stream): Move to net/network-stream.el.
7541
afa8e9f6
GM
75422011-04-02 Glenn Morris <rgm@gnu.org>
7543
1d2e369d
GM
7544 * find-dired.el (find-exec-terminator): New option.
7545 (find-ls-option): Test for -ls support.
7546 (find-ls-subdir-switches): Test for -b in find-ls-option.
7547 (find-dired, find-grep-dired): Doc fixes.
7548 (find-dired): Use find-exec-terminator.
7549
8abb7da8 7550 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7551 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7552 (find-name-arg): Remove purecopy.
8abb7da8 7553
f3ca7378
GM
7554 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7555 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7556 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7557 accordingly. Don't add the null-device if not needed.
7558
afa8e9f6
GM
7559 * files.el (save-some-buffers): Doc fix.
7560
35eae264
EZ
75612011-04-02 Eli Zaretskii <eliz@gnu.org>
7562
7563 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7564
26b51db5
JB
75652011-04-01 Juanma Barranquero <lekktu@gmail.com>
7566
7567 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7568 Use `dolist' rather than `mapcar'.
7569
7200d79c
SM
75702011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7571
03408648 7572 Add lexical binding.
7200d79c 7573
03408648
SM
7574 * subr.el (apply-partially): Use new closures rather than CL.
7575 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7576 (dolist, dotimes): Use slightly different expansion for lexical code.
7577 (functionp): Move to C.
7578 (letrec): New macro.
7579 (with-wrapper-hook): Use it and apply-partially instead of CL.
7580 (eval-after-load): Preserve lexical-binding.
7581 (save-window-excursion, with-output-to-temp-buffer): Turn them
7582 into macros.
7200d79c 7583
03408648
SM
7584 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7585
7586 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7587 than the arglist.
7588 (help-add-fundoc-usage): Don't add `Not documented'.
7589 (help-function-arglist): Handle closures, subroutines, and new
7590 byte-code-functions.
7591 (help-make-usage): Remove leading underscores.
7592 (describe-function-1): Handle closures.
7593 (describe-variable): Use special-variable-p for completion.
7594
7595 * files.el (lexical-binding): Declare safe.
f488fb65 7596
03408648
SM
7597 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7598 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7599 (pcase): Add `let' pattern.
7600 Change memoization so it actually works.
7601 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7602 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7603 <let>: New case.
f488fb65 7604
03408648
SM
7605 * emacs-lisp/macroexp.el: Use lexical binding.
7606 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7607 Don't convert ' to #' without checking that it's indeed quoting
7608 a lambda.
7609
7610 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7611 Use eval-sexp-add-defvars.
03408648
SM
7612 (eval-sexp-add-defvars): New fun.
7613
7614 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7615
7616 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7617 Don't autoload.
7618 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7619 than the internal `byte-compile-lambda'.
7620 (defmethod): Don't hide code under quotes.
7621 (eieio-defmethod): New `code' argument.
7622
7623 * emacs-lisp/eieio-comp.el: Remove.
7624
7625 * emacs-lisp/edebug.el (edebug-eval-defun)
7626 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7627 (edebug-toggle): Avoid `eval'.
7628
7629 * emacs-lisp/disass.el (disassemble-internal): Handle new
7630 `closure' objects.
7631 (disassemble-1): Handle new byte codes.
7632
7633 * emacs-lisp/cl.el (pushnew): Silence warning.
7634
7635 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7636 (cl-byte-compile-throw): Remove.
7637 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7638
7639 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7640 closures.
7641
7642 * emacs-lisp/cconv.el: New file.
7643
7644 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7645 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7646 (byte-compile-initial-macro-environment):
7647 Handle declare-function here.
7648 (byte-compile--lexical-environment): New var.
7649 (byte-stack-ref, byte-stack-set, byte-discardN)
7650 (byte-discardN-preserve-tos): New lap codes.
7651 (byte-interactive-p): Don't use any more.
7652 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7653 New macros.
7654 (byte-compile-lapcode): Use them and handle new lap codes.
7655 (byte-compile-obsolete): Remove.
7656 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7657 (byte-compile-arglist-warn): Check late def of inlinable funs.
7658 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7659 since they should have been expanded by now.
7660 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7661 (byte-compile-from-buffer): Remove unused second arg.
7662 (byte-compile-preprocess): New function.
7663 (byte-compile-toplevel-file-form): New function to distinguish
7664 file-form calls from outside from file-form calls from hunk-handlers.
7665 (byte-compile-file-form): Simplify.
7666 (byte-compile-file-form-defsubst): Remove.
7667 (byte-compile-file-form-defmumble): Simplify now that
7668 byte-compile-lambda always returns a byte-code-function.
7669 (byte-compile): Preprocess.
7670 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7671 Remove, not used any more.
7672 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7673 (byte-compile-make-args-desc): New funs.
7674 (byte-compile-lambda): Handle lexical functions. Always return
7675 a byte-code-function.
7676 (byte-compile-reserved-constants): New var, to make up room for
7677 closed-over variables.
7678 (byte-compile-constants-vector): Obey it.
7679 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7680 (byte-compile-macroexpand-declare-function): New function.
7681 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7682 byte-code-functions.
7683 (byte-compile-form): Check obsolescence here.
7684 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7685 (byte-compile-variable-ref): Remove.
7686 (byte-compile-dynamic-variable-op): New fun.
7687 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7688 (byte-compile-variable-set): New funs.
7689 (byte-compile-discard): Add 2 args.
7690 (byte-compile-stack-ref, byte-compile-stack-set)
7691 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7692 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7693 macroexpand-all instead.
7694 (byte-compile-quote-form): Remove.
7695 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7696 (byte-compile-bind, byte-compile-unbind): New funs.
7697 (byte-compile-let): Handle let* and lexical binding.
7698 (byte-compile-let*): Remove.
7699 (byte-compile-catch, byte-compile-unwind-protect)
7700 (byte-compile-track-mouse, byte-compile-condition-case):
7701 Handle a new :fun-body form, used for lexical scoping.
7702 (byte-compile-save-window-excursion)
7703 (byte-compile-with-output-to-temp-buffer): Remove.
7704 (byte-compile-defun): Simplify.
7705 (byte-compile-stack-adjustment): New fun.
7706 (byte-compile-out): Use it.
7707 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7708
7709 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7710 handler any more.
7711
7712 * emacs-lisp/byte-opt.el: Use lexical binding.
7713 (byte-inline-lapcode): Remove (to bytecomp).
7714 (byte-compile-inline-expand): Pay attention to inlining to/from
7715 lexically bound code.
7716 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7717 any more.
7718 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7719 any more and don't call compiler-macros.
7720 (byte-compile-splice-in-already-compiled-code): Remove.
7721 (byte-code): Don't inline any more.
7722 (disassemble-offset): Receive `bytes' as argument rather than via
7723 dynamic scoping.
7724 (byte-compile-tag-number): Declare before first use.
7725 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7726 `return' even if make-spliceable.
7727 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7728 obsolete interactive-p.
7729 (byte-optimize-lapcode): Optimize new lap-codes.
7730 Don't trip up on new form of `byte-constant' lap code.
7731
7732 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7733
7734 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7735
7736 * custom.el (custom-initialize-default, custom-declare-variable):
7737 Use `defvar'.
7738
7739 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7740 New variables.
7741 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7742 (COMPILE_FIRST): Add macroexp and cconv.
7743 * makefile.w32-in: Mirror changes in Makefile.in.
7744
7745 * vc/cvs-status.el:
7746 * vc/diff-mode.el:
7747 * vc/log-edit.el:
7748 * vc/log-view.el:
7749 * vc/smerge-mode.el:
7750 * textmodes/bibtex-style.el:
7751 * textmodes/css.el:
7752 * startup.el:
7753 * uniquify.el:
da91b5f2
CY
7754 * minibuffer.el:
7755 * newcomment.el:
7756 * reveal.el:
7757 * server.el:
7758 * mpc.el:
7759 * emacs-lisp/smie.el:
7760 * doc-view.el:
7761 * dired.el:
03408648
SM
7762 * abbrev.el: Use lexical binding.
7763
0f0c1f27
EZ
77642011-04-01 Eli Zaretskii <eliz@gnu.org>
7765
7766 * info.el (info-display-manual): New function.
7767
c82b2579
SM
77682011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7771
221ddf68
TH
77722011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7773
7774 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7775 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7776
cba6e77e
GM
77772011-03-31 Glenn Morris <rgm@gnu.org>
7778
e040639f
GM
7779 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7780
cba6e77e
GM
7781 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7782
6d0f1c9e
CS
77832011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7784
7785 * progmodes/python.el (python-default-interpreter)
7786 (python-python-command-args, python-jython-command-args)
7787 (python-which-shell, python-which-args, python-which-bufname)
7788 (python-file-queue, python-comint-output-filter-function)
7789 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7790 variables and functions.
7791
3e2d70fd
SM
77922011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7793
7794 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7795 (completion-in-region-mode): New minor mode.
7796 (completion-in-region): Use it.
7797 (completion-in-region--data, completion-in-region-mode-map): New vars.
7798 (completion-in-region--postch): New function.
7799 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7800 New vars.
7801 (completion--capf-wrapper): New function.
7802 (completion-at-point): Use it to track well-behavedness of
7803 hook functions.
7804 (completion-help-at-point): New command.
7805
f3e4086c
JM
78062011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7807
7808 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7809 syntax class to search for whitespace on a single line
7810 (Message-ID: <4D938140.4030905@redhat.com>).
7811
eb7ffc14
LL
78122011-03-30 Leo Liu <sdl.web@gmail.com>
7813
7814 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7815 New commands.
7816 (edit-abbrevs-map): Bind them here.
7817 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7818
d806ab68
KM
78192011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7820
7821 * allout.el (allout-hide-by-annotation, allout-flag-region):
7822 Reduce possibility of overlay leakage by making them volatile.
7823
7824 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7825 hash is not shared between buffers. Mode initialization is
7826 responsible for giving it a useful starting value.
7827 (allout-item-span): Reduce possibility of overlay leakage by
7828 making them volatile.
7829 (allout-widgets-count-buttons-in-region): Add diagnostic function
7830 for tracking down button overlay leaks.
7831
ea622834
LL
78322011-03-29 Leo Liu <sdl.web@gmail.com>
7833
7834 * ido.el (ido-read-internal): Use the default history var
7835 minibuffer-history if no HISTORY is specified.
7836
b62f8267
G
78372011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7838
03408648
SM
7839 * net/imap.el (imap-shell-open, imap-process-connection-type):
7840 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7841 Kerberos, SSL, other subprocesses.
7842
947b6566
LL
78432011-03-28 Leo Liu <sdl.web@gmail.com>
7844
7845 * abbrev.el (abbrev-table-empty-p): New function.
7846 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7847 nonempty ones. (Bug#5937)
7848
5ffb62aa
JD
78492011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7850
7851 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7852
7a097943
LL
78532011-03-27 Leo Liu <sdl.web@gmail.com>
7854
7855 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7856 for foreground and background colors.
7857 (ansi-color-make-color-map): Adapt.
7858
c5b40130
LL
78592011-03-25 Leo Liu <sdl.web@gmail.com>
7860
1f48f7d2
LL
7861 * midnight.el (midnight-time-float): Remove. Note it calculates
7862 the microsecond component incorrectly and seconds-to-time does the
7863 same job.
625897ec 7864 Remove redundant (require 'timer).
1f48f7d2 7865
c5b40130
LL
7866 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7867 (ido-completions): Remove unused arguments. (Bug#8329)
7868
d86d2721
SM
78692011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * minibuffer.el (completion--flush-all-sorted-completions):
7872 Remove itself from hook.
7873 (completion-at-point): Let the functions perform the completion
7874 immediately and return nil or t.
7875 * comint.el (comint-dynamic-complete-functions): Now identical to
7876 completion-at-point-functions.
7877 (comint-dynamic-list-input-ring): Remove unused var `index'.
7878 (comint--match-partial-filename, comint--unquote&expand-filename):
7879 New funs, split from comint-match-partial-filename.
7880 (comint-dynamic-complete): Use completion-at-point.
7881 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7882
e8974c48
DA
78832011-03-24 Drew Adams <drew.adams@oracle.com>
7884
7885 * thingatpt.el: Support `defun'.
7886
def71b5e
LL
78872011-03-23 Leo Liu <sdl.web@gmail.com>
7888
cb5af48e
LL
7889 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7890
def71b5e
LL
7891 * help-mode.el (help-mode-finish): Tweak regexp.
7892
927c53e7
GM
78932011-03-23 Glenn Morris <rgm@gnu.org>
7894
18d05bed
GM
7895 * eshell/esh-opt.el (eshell-eval-using-options):
7896 Do not bind unused local variable `eshell-option-stub'.
7897
927c53e7
GM
7898 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7899
9d0da923
JB
79002011-03-22 Juanma Barranquero <lekktu@gmail.com>
7901
7902 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7903 keymap variable in `with-no-warnings' to avoid a warning when the
7904 keymap has been already `defconst'ed.
7905
4b978a67
LL
79062011-03-22 Leo Liu <sdl.web@gmail.com>
7907
7908 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7909 encode all chars in abbrevs; otherwise use emacs-mule or
7910 utf-8-emacs. (Bug#8308)
7911
5fd62452
JB
79122011-03-22 Juanma Barranquero <lekktu@gmail.com>
7913
0b1596c6
JB
7914 * simple.el (backward-delete-char-untabify):
7915 Avoid warning about using `delete-backward-char'.
7916
5fd62452
JB
7917 * image.el (image-type-file-name-regexps): Make it variable.
7918 `imagemagick-register-types' modifies it, and the user may want
7919 to add new extensions for known image types.
7920 (imagemagick-register-types): Throw error if not using ImageMagick.
7921
0b4e93f1
LL
79222011-03-22 Leo Liu <sdl.web@gmail.com>
7923
7924 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7925 located before rcirc-prompt-end-marker.
7926 (rcirc-complete): Error if point is not after rcirc prompt.
7927 Handle the case when table is nil.
9882e214 7928 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7929
fccee4ab
CY
79302011-03-22 Chong Yidong <cyd@stupidchicken.com>
7931
7932 * custom.el (custom--inhibit-theme-enable): Make it affect only
7933 custom-theme-set-variables and custom-theme-set-faces.
7934 (provide-theme): Ignore custom--inhibit-theme-enable.
7935 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7936 (custom-enabling-themes): Delete variable.
d86d2721
SM
7937 (enable-theme): Accept only loaded themes as arguments.
7938 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7939 (custom-enabled-themes): Forbid themes from setting this.
7940 Eliminate use of custom-enabling-themes.
7941 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7942
af896da6
LL
79432011-03-21 Leo Liu <sdl.web@gmail.com>
7944
7945 * ido.el (ido-read-internal): Add ido-selected to history instead
7946 of user input.
7947
78f64af0
SM
79482011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * subr.el (deferred-action-list, deferred-action-function):
7951 Mark obsolete.
7952
b16ac1ec
LL
79532011-03-21 Leo Liu <sdl.web@gmail.com>
7954
810f7698
LL
7955 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7956 change on 2011-02-13 (bug#8309).
7957
b16ac1ec
LL
7958 * minibuffer.el (read-file-name-function): Change default value.
7959 (read-file-name--defaults): Rename from read-file-name-defaults.
7960 (read-file-name-default): Rename from read-file-name.
7961 (read-file-name): Call read-file-name-function.
7962
4e05e67e
GM
79632011-03-21 Glenn Morris <rgm@gnu.org>
7964
7965 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7966 Doc fixes.
7967
4359915b
CY
79682011-03-21 Chong Yidong <cyd@stupidchicken.com>
7969
7970 * cus-theme.el: Add missing provide statement.
7971 (customize-create-theme): Extract theme value correctly.
7972 (custom-theme-visit-theme): Autoload.
7973 (customize-create-theme): Prompt before inserting default faces.
7974
1fe275ee
JB
79752011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7976
7977 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7978 units and musical notes.
7979
3ec03f7e
LL
79802011-03-20 Leo <sdl.web@gmail.com>
7981
7982 * ido.el (ido-read-internal): Use completing-read-default.
7983 (ido-completing-read): Fix compatibility with completing-read.
7984
7d476bde
CO
79852011-03-20 Christian Ohler <ohler@gnu.org>
7986
7987 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7988 (ert-delete-all-tests): Use `called-interactively-p' rather than
7989 `interactive-p'.
7990 (ert--make-xrefs-region): Respect END.
7991
fe0fb33e
CY
79922011-03-19 Chong Yidong <cyd@stupidchicken.com>
7993
ff854b0b
CY
7994 * dired-aux.el (dired-create-directory): Signal an error if the
7995 directory already exists (Bug#8246).
7996
fe0fb33e
CY
7997 * facemenu.el (list-colors-display): Call list-faces-display
7998 inside with-help-window.
7999 (list-colors-print): Use display property to align the final
8000 column, instead of checking window-width.
8001
576bce32
EZ
80022011-03-19 Eli Zaretskii <eliz@gnu.org>
8003
4d61f28d 8004 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
8005 windows-nt systems.
8006 (emerge-protect-metachars): Quote correctly for ms-dos and
8007 windows-nt systems.
8008
89c41d68 80092011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
8010
8011 * info.el (info-initialize): Replace all uses of `:' with
8012 path-separator for compatibility with non-Unix systems.
8013 Cache quoting of path-separator. (Bug#8258)
8014
b14e3e21 80152011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8016
8017 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8018 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8019 (mouse-avoidance-mode): Fix typos in docstrings.
8020
4525ce3e
CY
80212011-03-19 Chong Yidong <cyd@stupidchicken.com>
8022
8023 * startup.el (package-subdirectory-regexp): Move from package.el.
8024 Omit \\` and \\', and let callers add them.
8025
8026 * emacs-lisp/package.el (package-strip-version)
8027 (package-load-all-descriptors): Add \\` and \\' to
8028 package-subdirectory-regexp before using it.
8029 (package-untar-buffer): New arg DIR; ensure that file untars only
8030 into this expected directory. Remove superfluous delete-region.
8031 (package-unpack): Caller changed.
8032 (package-tar-file-info): Use package-subdirectory-regexp.
8033
a904a09a 80342011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8035
a904a09a
SM
8036 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8037 diff-mode-shared-map (bug#8284).
8038 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8039
80402011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8041
8042 * calendar/time-date.el (format-seconds): Use assoc instead of
8043 assoc-string, since assoc-string doesn't exist in XEmacs.
8044
171fc304
JB
80452011-03-17 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * custom.el (custom-known-themes): Reflow docstring.
8048 (custom-theme-load-path): Fix typo in docstring.
8049 (load-theme): Fix typo in error message.
8050 (custom-available-themes, custom-variable-theme-value):
8051 Use `let', not `let*'.
8052
d71990a1
JB
80532011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8054
8055 * calc/README: Mention inclusion of musical notes.
8056
8057 * calc/calc-units.el (calc-lu-quant): Rename from
8058 `calc-logunits-quantity'.
8059 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8060 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8061 (calc-db): Rename from `calc-dblevel'.
8062 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8063 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8064 (calc-np): Rename from `calc-nplevel'.
8065 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8066 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8067 (calc-lu-plus): Rename from `calc-logunits-add'.
8068 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8069 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8070 (calc-lu-minus): Rename from `calc-logunits-sub'.
8071 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8072 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8073 (calc-lu-times): Rename from `calc-logunits-mul'.
8074 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8075 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8076 (calc-lu-divide): Rename from `calc-logunits-div'.
8077 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8078 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8079
8080 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8081 functions being autoloaded.
8082
8083 * calc/calc.el (calc-lu-power-reference): Rename from
8084 `calc-logunits-power-reference'.
8085 (calc-lu-field-reference): Rename from
8086 `calc-logunits-field-reference'.
8087
8088 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8089
40c2934b
SM
80902011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8091
8092 * minibuffer.el (completion-all-sorted-completions):
8093 Use :completion-cycle-penalty text property if present.
8094
b0911414
KM
80952011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8096
8097 * allout.el (allout-yank-processing): Adjust for new rebulleting
8098 regime so bullet being yanked is used without prompting the user
8099 for a choice.
8100
8a05b668
JB
81012011-03-16 Juanma Barranquero <lekktu@gmail.com>
8102
8103 * startup.el (command-line): Warn the user that _emacs is deprecated.
8104
5ba5fb81
JB
81052011-03-16 Juanma Barranquero <lekktu@gmail.com>
8106
8107 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8108 (delphi-verbose, delphi-comment-face, delphi-string-face)
8109 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8110 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8111 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8112 (delphi-new-comment-line, delphi-font-lock-defaults)
8113 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8114 Fix typos in docstrings.
8115
2dab465b
KM
81162011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8117
5ba5fb81 8118 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8119 Invert the roles of character and string values for INSTEAD, so a
8120 string is used for the more common case of a defaulting prompt.
8121
0adf5618
SM
81222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8123
8124 * progmodes/ruby-mode.el (ruby-backward-sexp):
8125 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8126 * play/gamegrid.el (gamegrid-make-face):
8127 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8128 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8129 * notifications.el (notifications-notify):
8130 * net/xesam.el (xesam-search-engines):
8131 * net/quickurl.el (quickurl-list-insert):
8132 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8133
d72700e5
CY
81342011-03-15 Chong Yidong <cyd@stupidchicken.com>
8135
8136 * startup.el (command-line): Update package subdirectory regexp.
8137
49c5410a
SM
81382011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8139
c6eee9aa
SM
8140 * allout.el (allout-abbreviate-flattened-numbering)
8141 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8142
49c5410a
SM
8143 * subr.el (read-char-choice): Only show the cursor after the prompt,
8144 not after the answer.
8145
047b2bb9
KR
81462011-03-15 Kevin Ryde <user42@zip.com.au>
8147
8148 * help-fns.el (variable-at-point): Skip leading quotes, if any
8149 (bug#8253).
8150
0a57d256
SM
81512011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8152
8153 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8154 warning message.
8155
77c992bc
MA
81562011-03-14 Michael Albinus <michael.albinus@gmx.de>
8157
8158 * shell.el (shell): When called interactively, offer to change the
8159 shell file name on remote hosts.
8160
eebc475d
TZ
81612011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8162
8163 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8164 integration for LDAP parameters. The host, base, user or binddn,
8165 and secret tokens can be specified in a netrc file, for instance.
8166 This is optional because an `auth-source' parameter must be
8167 specified in the search attributes.
8168
9d05d1ba
JB
81692011-03-13 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8172
09d9db2c
GM
81732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8176 into declaration. Remove redundant and harmful binding.
8177
81782011-03-12 Eli Zaretskii <eliz@gnu.org>
8179
8180 * files.el (file-ownership-preserved-p): Pass `integer' as an
8181 explicit 2nd argument to `file-attributes'. If the file's owner
8182 is the Administrators group on Windows, and the current user is
8183 Administrator, consider that a match.
8184
8185 * server.el (server-ensure-safe-dir): Consider server directory
8186 safe on MS-Windows if its owner is the Administrators group while
8187 the current Emacs user is Administrator. Use `=' to compare
8188 numerical UIDs, since they could be integers or floats.
8189
219bd536
JB
81902011-03-12 Juanma Barranquero <lekktu@gmail.com>
8191
8192 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8193
f3afd36b
MA
81942011-03-12 Michael Albinus <michael.albinus@gmx.de>
8195
8196 Sync with Tramp 2.2.1.
8197
8198 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8199
8200 * net/trampver.el: Update release number.
8201
3aaaa6f1
SM
82022011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8203
94642599
SM
8204 * progmodes/compile.el (compilation--previous-directory): Fix up
8205 various nil/dead-marker mismatches (bug#8014).
8206 (compilation-directory-properties, compilation-error-properties):
8207 Don't call it at a position past the one we're about to change.
8208
3aaaa6f1
SM
8209 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8210 Disable obsolescence warnings in the file that declares it.
8211
14239447
KM
82122011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8213
099c39a4
JB
8214 * allout-widgets.el (allout-widgets-tally):
8215 Initialize allout-widgets-tally as a hash table rather than nil to
8216 prevent mode-line redisplay warnings. Also, clarify the module
8217 description and fix a comment typo.
14239447 8218
135e287c
JB
82192011-03-11 Juanma Barranquero <lekktu@gmail.com>
8220
8221 * help-fns.el (describe-variable): Don't complete keywords.
8222 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8223
ffbf300e
CY
82242011-03-10 Chong Yidong <cyd@stupidchicken.com>
8225
ba08b241
CY
8226 * emacs-lisp/package.el (package-version-join): Impose a standard
8227 string representation for pre/alpha/beta version lists.
8228 (package-unpack-single): Standardize the directory name by passing
8229 it through package-version-join.
8230 (package-strip-rcs-id): Accept any version string that does not
8231 signal an error in version-to-list.
ffbf300e 8232
f346fd6b
MA
82332011-03-10 Michael Albinus <michael.albinus@gmx.de>
8234
8235 * simple.el (delete-trailing-whitespace): Return nil for the
8236 benefit of `write-file-functions'.
8237
ccb55d27
GM
82382011-03-10 Glenn Morris <rgm@gnu.org>
8239
5ceaac0c
GM
8240 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8241
02da65ff
GM
8242 * vc/vc-git.el (vc-git-program): New option.
8243 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8244 (vc-git--call): Use it.
8245
b2f603cc
GM
8246 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8247
5772caab
GM
8248 * cus-edit.el (Custom-newline): If no button at point, look
8249 for a subgroup button at start-of-line. (Bug#2298)
8250
ccb55d27
GM
8251 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8252
ec6ecaed
JD
82532011-03-10 Julien Danjou <julien@danjou.info>
8254
8255 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8256 `cursor-type' is nil.
8257
9d5aa01d
JB
82582011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8259
8260 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8261
b6a5875b
KM
82622011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8263
8264 * allout.el Summary: Change so yank of distinctive-bullet items
8265 preserves the existing header prefix, rebulleting it if necessary,
8266 rather than replacing it. This is necessary for proper operation
8267 of cooperative addons like allout-widgets.
219bd536 8268 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8269 SOLICIT arg to INSTEAD, and interpret additionally a string value
8270 as alternate bullet to be used, instead of prompting the user for
8271 a bullet character.
8272
ee545c35
MA
82732011-03-09 Michael Albinus <michael.albinus@gmx.de>
8274
d86d2721
SM
8275 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8276 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8277 `tramp-default-port'.
8278
c47971d7
DD
82792011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8280
8281 * net/rcirc.el (rcirc-handler-001): Remove useless
8282 with-rcirc-process-buffer.
8283 (rcirc-check-auth-status): Swap arguments to string-match.
8284
13522cb4
GM
82852011-03-09 Glenn Morris <rgm@gnu.org>
8286
0be6f4f1
GM
8287 * shell.el (shell-mode):
8288 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8289
13522cb4
GM
8290 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8291 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8292
515de2e3
CY
82932011-03-08 Chong Yidong <cyd@stupidchicken.com>
8294
8295 * emacs-lisp/package.el (package-refresh-contents)
8296 (package-menu-execute): Use condition-case-no-debug.
8297
b511b994
MA
82982011-03-08 Michael Albinus <michael.albinus@gmx.de>
8299
8300 * simple.el (shell-command-to-string): Use `process-file'.
8301
8302 * emacs-lisp/package.el (package-tar-file-info): Handle also
8303 remote files.
8304
d86d2721
SM
8305 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8306 Use `equal' for upload base check.
b511b994 8307
25bbfb31
AM
83082011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8309
8310 * textmodes/texinfo.el (texinfo-environments):
8311 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8312
be996521
GM
83132011-03-08 Glenn Morris <rgm@gnu.org>
8314
e9c8529f
GM
8315 * cus-start.el (cursor-in-non-selected-windows):
8316 Fix :set quoting oddness. (Bug#8192)
8317
be996521
GM
8318 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8319 in some setf expressions. (Bug#2159)
8320
2bb5649e
CY
83212011-03-08 Chong Yidong <cyd@stupidchicken.com>
8322
8323 * custom.el (custom-available-themes): Return themes in
8324 alphabetical order.
8325
33383987 8326See ChangeLog.15 for earlier changes.
e3d51b27
MR
8327
8328;; Local Variables:
8329;; coding: utf-8
e3d51b27
MR
8330;; End:
8331
33383987 8332 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8333
8334 This file is part of GNU Emacs.
8335
8336 GNU Emacs is free software: you can redistribute it and/or modify
8337 it under the terms of the GNU General Public License as published by
8338 the Free Software Foundation, either version 3 of the License, or
8339 (at your option) any later version.
8340
8341 GNU Emacs is distributed in the hope that it will be useful,
8342 but WITHOUT ANY WARRANTY; without even the implied warranty of
8343 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8344 GNU General Public License for more details.
8345
8346 You should have received a copy of the GNU General Public License
8347 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.