Add and entry to ChangeLog.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
7e43cfa5
AM
12011-10-28 Alan Mackenzie <acm@muc.de>
2
3 Amend the handling of c-beginning/end-of-defun in nested declaration
4 scopes.
5
6 * cc-vars.el (c-defun-tactic): Move here from cc-langs.el. Change it to a
7 defcustom.
8
9 * cc-mode.texi (Movement Commands): Document `c-defun-tactic'. Document
10 the new handling of nested scopes for movement by defuns.
11
12 * cc-langs.el (c-defun-tactic): Move this variable to cc-vars.el.
13 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
14
15 * cc-engine.el (c-beginning-of-statement-1): Prevent "class foo : bar"
16 being spuriously recognized as a label.
17
18 * cc-cmds.el (c-narrow-to-most-enclosing-decl-block): Add parameter
19 `inclusive' (to include enclosing braces in the region).
20 (c-widen-to-enclosing-decl-scope): New function.
21 (c-while-widening-to-decl-block): New macro.
22 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
23 outward for defun boundaries, and correspondingly change symbol
24 `respect-enclosure' to `go-outward'.
25 (c-declaration-limits): Change algorithm to report only the "innermost"
26 defun's boundaries.
27
1a2ce9ee
DD
282011-10-28 Deniz Dogan <deniz@dogan.se>
29
30 * net/rcirc.el (rcirc-mode): Use hard newlines.
31
bc97a826
AM
322011-10-28 Alan Mackenzie <acm@muc.de>
33
34 Amend to indent and fontify macros "which include their own semicolon"
35 correctly, using the "virtual semicolon" mechanism.
36
37 * cc-defs.el: Update "virtual semicolon" comments.
38
39 * cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
40 at time rather than having \n and \r explicitly in c-stmt-delim-chars
41 (for some modes, e.g. AWK).
42 (c-forward-label): Amend for virtual semicolons.
43 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
44
45 * cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.
46
47 * cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to
48 earlier in the file.
49 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
50 (c-opt-cpp-macro-define): Make into a full language variable.
51 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
52 AWK Mode (including \n, \r) removed, no longer needed.
53
54 * cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
55 c-make-macro-with-semi-re. (Erroneously committed early, in previous
56 version, 5.259.)
57
58 * cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New
59 variables.
60 (c-make-macro-with-semi-re): New function
61
62 * cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
63 (Other Special Indentations): Add an xref to "Macros with ;".
64 (Customizing Macros): Add stuff about syntax in macros. Add an xref to
65 "Macros with ;".
66 (Macros with ;): New page.
67
68
69
7a6c0941
SM
702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
71
72 * vc/log-edit.el: Fill empty field rather than adding new one.
73 (log-edit-add-field): New function.
74 (log-edit-insert-changelog): Use it.
75
b0c4cdcf
ML
762011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
77
78 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
79
ee1f1da9
SM
802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
81
82 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
83 (gdb--check-interpreter): New function.
84 (gdb): Use it.
85
51bc5f8b
GM
862011-10-27 Glenn Morris <rgm@gnu.org>
87
416a2c45
GM
88 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
89 (least-positive-float, least-negative-float)
90 (least-positive-normalized-float, least-negative-normalized-float)
91 (float-epsilon, float-negative-epsilon):
92 Remove unnecessary declarations.
93
94 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
95 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
96 (least-positive-float, least-negative-float)
97 (least-positive-normalized-float, least-negative-normalized-float)
98 (float-epsilon, float-negative-epsilon): Add doc-strings,
99 based on those in cl.texi.
100
51bc5f8b
GM
101 * files.el (set-visited-file-name): If the major-mode changed,
102 reload the local variables. (Bug#9796)
103
15de15c6
CY
1042011-10-27 Chong Yidong <cyd@gnu.org>
105
106 * subr.el (change-major-mode-after-body-hook): New hook.
107 (run-mode-hooks): Run it.
108
ee1f1da9
SM
109 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
110 Use change-major-mode-before-body-hook.
15de15c6
CY
111
112 * simple.el (fundamental-mode):
113 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
114 change introducing fundamental-mode-hook.
115
5430d399
JB
1162011-10-26 Juanma Barranquero <lekktu@gmail.com>
117
a7ef684b 118 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 119
ad74a69e
MA
1202011-10-26 Michael Albinus <michael.albinus@gmx.de>
121
122 * ido.el (ido-file-name-all-completions-1): Do not require
123 tramp.el explicitely. (Bug#7583)
124
71d4c2a5
SM
1252011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
126
127 * progmodes/octave-mod.el:
128 * progmodes/octave-inf.el: Update maintainer.
129
b1f6fa26
CY
1302011-10-26 Chong Yidong <cyd@gnu.org>
131
132 * subr.el (with-wrapper-hook): Rewrite doc.
133
3f04efd6
MA
1342011-10-25 Michael Albinus <michael.albinus@gmx.de>
135
136 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 137 filenames "/method:foo:". (Bug#9793)
3f04efd6 138
410488d3
SM
1392011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
142 (bug#9865).
143
c1ebb47e
GM
1442011-10-24 Glenn Morris <rgm@gnu.org>
145
146 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
147
7f5c46c7
MA
1482011-10-24 Michael Albinus <michael.albinus@gmx.de>
149
150 * notifications.el: Add the requirement of a running D-Bus session
151 bus to the Commentary.
152
db2440b6
JL
1532011-10-24 Juri Linkov <juri@jurta.org>
154
155 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
156 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
157 (Bug#9364)
158
feecf435
JL
1592011-10-24 Juri Linkov <juri@jurta.org>
160
161 * info.el (Info-following-node-name-re): Add newline to the list
162 of allowed characters for leading space. (Bug#9824)
163
a3839de2
SM
1642011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
167 * progmodes/octave-mod.el (octave-help): Remove.
168
09388e76
MA
1692011-10-23 Michael Albinus <michael.albinus@gmx.de>
170
171 Sync with Tramp 2.2.3.
172
173 * net/tramp-cache.el (top): Pacify byte-compiler using
174 `init-file-user' and `site-run-file'.
175
176 * net/trampver.el: Update release number.
177
86c60681
CY
1782011-10-23 Chong Yidong <cyd@gnu.org>
179
180 * files.el (toggle-read-only): Remove obsolete comment about
181 version control.
182
183 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
184 for toggle-read-only. Note that this hasn't called vc-next-action
185 since 2008-05-02, though it wasn't documented at the time.
186
a3839de2
SM
187 * vc/ediff-init.el (ediff-toggle-read-only-function):
188 Use toggle-read-only.
86c60681 189
cd5495ff
AM
1902011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
191
192 Fix bug #9560, sporadic wrong indentation; improve instrumentation
193 of c-parse-state.
194
a3839de2
SM
195 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
196 correct faulty logical expression.
cd5495ff
AM
197 (c-parse-state-state, c-record-parse-state-state):
198 (c-replay-parse-state-state): New defvar/defuns.
199 (c-debug-parse-state): Use new functions.
200
42ee24ed
MR
2012011-10-22 Martin Rudalics <rudalics@gmx.at>
202
203 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 204 last fix. Use window-in-direction correctly.
42ee24ed 205
a7dee7e7
CY
2062011-10-21 Chong Yidong <cyd@gnu.org>
207
208 * progmodes/idlwave.el (idlwave-mode):
209 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
210 require-final-newline; that's done in prog-mode.
211 Suggested by Stefan Monnier.
a7dee7e7 212
e07b9a6d
MR
2132011-10-21 Martin Rudalics <rudalics@gmx.at>
214
215 * mouse.el (mouse-drag-window-above)
216 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
217 (mouse-drag-mode-line-1, mouse-drag-header-line)
218 (mouse-drag-vertical-line-rightward-window): Remove.
219 (mouse-drag-line): New function.
220 (mouse-drag-mode-line, mouse-drag-header-line)
221 (mouse-drag-vertical-line): Call mouse-drag-line.
222 * window.el (window-at-side-p, windows-at-side): New functions.
223
7e1361d9
UM
2242011-10-21 Ulrich Mueller <ulm@gentoo.org>
225
226 * tar-mode.el (tar-grind-file-mode):
227 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
228
30fcaf3a
CY
2292011-10-21 Chong Yidong <cyd@gnu.org>
230
231 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
232 * progmodes/vera-mode.el (vera-mode):
233 Use mode-require-final-newline.
30fcaf3a 234
516eddb0
GM
2352011-10-20 Glenn Morris <rgm@gnu.org>
236
237 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
238
10d5f513
CS
2392011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
240
241 * emulation/cua-base.el (cua-set-mark): Fix case of string.
242
ac6c8639
CY
2432011-10-20 Chong Yidong <cyd@gnu.org>
244
245 * emulation/cua-base.el (cua-mode):
246 * mail/footnote.el (footnote-mode):
247 * mail/mailabbrev.el (mail-abbrevs-mode):
248 * net/xesam.el (xesam-minor-mode):
249 * progmodes/bug-reference.el (bug-reference-mode):
250 * progmodes/cap-words.el (capitalized-words-mode):
251 * progmodes/compile.el (compilation-minor-mode)
252 (compilation-shell-minor-mode):
253 * progmodes/gud.el (gud-tooltip-mode):
254 * progmodes/hideif.el (hide-ifdef-mode):
255 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
256 * progmodes/subword.el (subword-mode):
257 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
258 * progmodes/which-func.el (which-function-mode):
259 * term/tvi970.el (tvi970-set-keypad-mode):
260 * term/vt100.el (vt100-wide-mode):
261 * textmodes/flyspell.el (flyspell-mode):
262 * textmodes/ispell.el (ispell-minor-mode):
263 * textmodes/nroff-mode.el (nroff-electric-mode):
264 * textmodes/paragraphs.el (use-hard-newlines):
265 * textmodes/refill.el (refill-mode):
266 * textmodes/reftex.el (reftex-mode):
267 * textmodes/rst.el (rst-minor-mode):
268 * textmodes/sgml-mode.el (html-autoview-mode)
269 (sgml-electric-tag-pair-mode):
270 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
271 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
272 * emulation/crisp.el (crisp-mode):
273 * emacs-lisp/eldoc.el (eldoc-mode):
274 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
275 minor mode behavior.
276
aa42ab43
JL
2772011-10-19 Juri Linkov <juri@jurta.org>
278
279 * descr-text.el (describe-char): Add #x2010 and #x2011 to
280 the list of hard-coded chars with escape-glyph face.
281
89400f1d
SM
2822011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
285
305c07f6
MA
2862011-10-19 Michael Albinus <michael.albinus@gmx.de>
287
288 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
289 running process.
290
13754b54
GM
2912011-10-19 Glenn Morris <rgm@gnu.org>
292
293 * vc/vc-bzr.el (vc-bzr-after-dir-status):
294 Ignore ignored files. (Bug#9726)
295
06e21633
CY
2962011-10-19 Chong Yidong <cyd@gnu.org>
297
298 Doc fix for minor modes, stating that an omitted argument enables
299 the mode unconditionally when called from Lisp.
300
301 * abbrev.el (abbrev-mode):
302 * allout.el (allout-mode):
303 * autoinsert.el (auto-insert-mode):
304 * autoarg.el (autoarg-mode, autoarg-kp-mode):
305 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
306 (global-auto-revert-mode):
307 * battery.el (display-battery-mode):
308 * composite.el (global-auto-composition-mode)
309 (auto-composition-mode):
310 * delsel.el (delete-selection-mode):
311 * desktop.el (desktop-save-mode):
312 * dired-x.el (dired-omit-mode):
313 * dirtrack.el (dirtrack-mode):
314 * doc-view.el (doc-view-minor-mode):
315 * double.el (double-mode):
316 * electric.el (electric-indent-mode, electric-pair-mode):
317 * emacs-lock.el (emacs-lock-mode):
318 * epa-hook.el (auto-encryption-mode):
319 * follow.el (follow-mode):
320 * font-core.el (font-lock-mode):
321 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
322 * help.el (temp-buffer-resize-mode):
323 * hilit-chg.el (highlight-changes-mode)
324 (highlight-changes-visible-mode):
325 * hi-lock.el (hi-lock-mode):
326 * hl-line.el (hl-line-mode, global-hl-line-mode):
327 * icomplete.el (icomplete-mode):
328 * ido.el (ido-everywhere):
329 * image-file.el (auto-image-file-mode):
330 * image-mode.el (image-minor-mode):
331 * iswitchb.el (iswitchb-mode):
332 * jka-cmpr-hook.el (auto-compression-mode):
333 * linum.el (linum-mode):
334 * longlines.el (longlines-mode):
335 * master.el (master-mode):
336 * mb-depth.el (minibuffer-depth-indicate-mode):
337 * menu-bar.el (menu-bar-mode):
338 * minibuf-eldef.el (minibuffer-electric-default-mode):
339 * mouse-sel.el (mouse-sel-mode):
340 * msb.el (msb-mode):
341 * mwheel.el (mouse-wheel-mode):
342 * outline.el (outline-minor-mode):
343 * paren.el (show-paren-mode):
344 * recentf.el (recentf-mode):
345 * reveal.el (reveal-mode, global-reveal-mode):
346 * rfn-eshadow.el (file-name-shadow-mode):
347 * ruler-mode.el (ruler-mode):
348 * savehist.el (savehist-mode):
349 * scroll-all.el (scroll-all-mode):
350 * scroll-bar.el (scroll-bar-mode):
351 * server.el (server-mode):
352 * shell.el (shell-dirtrack-mode):
353 * simple.el (auto-fill-mode, transient-mark-mode)
354 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
355 (line-number-mode, column-number-mode, size-indication-mode)
356 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
357 * strokes.el (strokes-mode):
358 * time.el (display-time-mode):
359 * t-mouse.el (gpm-mouse-mode):
360 * tool-bar.el (tool-bar-mode):
361 * tooltip.el (tooltip-mode):
362 * type-break.el (type-break-mode-line-message-mode)
363 (type-break-query-mode):
364 * view.el (view-mode):
365 * whitespace.el (whitespace-mode, whitespace-newline-mode)
366 (global-whitespace-mode, global-whitespace-newline-mode):
367 * xt-mouse.el (xterm-mouse-mode): Doc fix.
368
a3839de2
SM
369 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
370 Fix autogenerated docstring.
06e21633 371
5214e501
JL
3722011-10-19 Juri Linkov <juri@jurta.org>
373
374 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
375 by checking environment variables "DESKTOP_SESSION" and
376 "XDG_CURRENT_DESKTOP". (Bug#9779)
377
195f8db9
JL
3782011-10-19 Juri Linkov <juri@jurta.org>
379
380 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
381 (browse-url-chromium-program, browse-url-chromium-arguments):
382 New defcustoms.
383 (browse-url-default-browser): Check for `browse-url-chromium' and
384 call `browse-url-chromium-program'.
385 (browse-url-chromium): New command. (Bug#9779)
386
343a34ff
JB
3872011-10-18 Juanma Barranquero <lekktu@gmail.com>
388
389 * facemenu.el (list-colors-duplicates): On Windows, detect more
390 duplicates by assuming that only colors matching "^System" are
391 special "system colors". (Bug#9722)
392
6978a151
SM
3932011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
394
395 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
396 to distinguish the author from the committer.
397
6a80b297
MA
3982011-10-18 Michael Albinus <michael.albinus@gmx.de>
399
400 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
401
b31a5677
JK
4022011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
403
404 * international/mule.el (sgml-html-meta-auto-coding-function):
405 Add support for detecting encoding in HTML5 specified only as
406 <meta charset="UTF-8">. Implementation just makes http-equiv and
407 content-type parts from HTML4 encoding string optional. (Bug#9716)
408
80c6d77f
GM
4092011-10-18 Glenn Morris <rgm@gnu.org>
410
411 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
412
08b0fee8
CY
4132011-10-18 Chong Yidong <cyd@gnu.org>
414
415 * faces.el (cursor): Doc fix.
416
67e729a5
CY
4172011-10-17 Chong Yidong <cyd@gnu.org>
418
419 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
420
343a34ff 4212011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
422
423 * dirtrack.el (dirtrack): Support shell buffers with path
424 prefixes, e.g. tramp-based remote shells. (Bug#9647)
425
0bc06380
TZ
4262011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
427
428 * json.el: Bump version to 1.3 and note change in History.
429 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
430
8b79f3e0
SM
4312011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
432
5a7c536b
SM
433 * comint.el (comint-insert-input, comint-send-input)
434 (comint-get-old-input-default, comint-backward-matching-input)
435 (comint-next-prompt): Use nil instead of `input' for field property of
436 past user input (bug#114).
437
96a8a0df
SM
438 * minibuffer.el (completion--replace): Inherit surrounding properties
439 (bug#114).
440 (minibuffer-complete-and-exit): Use it.
441
8b79f3e0
SM
442 * comint.el (comint--table-subvert): Quote the all-completions output
443 (bug#9160).
444
b8f7ff0d
MR
4452011-10-17 Martin Rudalics <rudalics@gmx.at>
446
8b79f3e0 447 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 448
b8f7ff0d 449 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 450 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
451 entries and separate them from frame entries.
452
c235b555
GM
4532011-10-15 Glenn Morris <rgm@gnu.org>
454
455 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
456 Doc fixes.
457
6bbfa6e1
CY
4582011-10-15 Chong Yidong <cyd@stupidchicken.com>
459
8b79f3e0
SM
460 * net/network-stream.el (network-stream-open-starttls):
461 Improve detection of failure due to lack of TLS support.
ec5c990d 462
6bbfa6e1
CY
463 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
464 putting the input text in front and in bold.
465
98488977
SM
4662011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
467
3d1337be
SM
468 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
469
ee0b45e4
SM
470 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
471 empty buffer.
472
98488977
SM
473 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
474 unread-command-events rather than pushing yet-another event.
475
186f4720
EZ
4762011-10-14 Eli Zaretskii <eliz@gnu.org>
477
478 * mail/sendmail.el (sendmail-query-once): Improve the wording of
479 the explanation of the possible choices. Make the options passed
480 to completing-read shorter.
481
8b7a997c
AM
4822011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
483
484 * textmodes/flyspell.el (flyspell-large-region): Make sure
485 extended character mode is used if defined (Bug#1339).
486
12587bbb
EZ
4872011-10-13 Eli Zaretskii <eliz@gnu.org>
488
489 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
490 character info for LRE, LRO, RLE, and RLO characters by appending
491 an invisible PDF.
12587bbb 492
bad41229
SM
4932011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
496 even in case of error; add debug spec; simplify data flow.
497 (with-timeout-handler): Remove.
498
28dbc92f
MA
4992011-10-12 Michael Albinus <michael.albinus@gmx.de>
500
501 Fix Bug#6019, Bug#9315.
502
503 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
504 complete `buffer-file-name', the local file name part could look
505 remotely (for example on VMS).
506
507 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
508 `tramp-run-real-handler'.
509 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
510 already quoted by '"'.
511
512 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
513 Let `file-name-handler-alist' be nil, the local file name part
514 could look remotely (for example on VMS).
515
e1b0b23a
SM
5162011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
517
518 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
519 from here...
520 (flyspell-post-command-hook): ...to here.
521
a120bde9
SM
5222011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
525 if not needed.
526 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
527 using completion. Protect against "slow" callers.
528 Remove the "message hack".
529
7ce7717b
JL
5302011-10-11 Juri Linkov <juri@jurta.org>
531
532 * isearch.el (isearch-lazy-highlight-word): New variable.
533 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
534 Use it. (Bug#9727)
535
c02ee9d6
GM
5362011-10-11 Glenn Morris <rgm@gnu.org>
537
538 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
539 like f90-previous-statement does.
540
93e616fd 5412011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
542
1f190e73 543 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
544 only in interactive use, to avoid error.
545
af7b6078
SM
5462011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
547
548 * minibuffer.el (completion-file-name-table): Fix last change,
549 i.e. ignore normal errors but not the other ones.
550
0563dae9
MR
5512011-10-10 Martin Rudalics <rudalics@gmx.at>
552
553 * window.el (special-display-buffer-names)
554 (special-display-regexps): Remove some remnants of earlier
555 changes from doc-strings.
366ca7f3
MR
556 (quit-windows-on): New function.
557
558 * vc/vc.el (vc-revert, vc-rollback):
559 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
560 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 561 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 562
49677495
MR
5632011-10-09 Martin Rudalics <rudalics@gmx.at>
564
565 * window.el (frame-auto-hide-function): Add version tag.
566 (Bug#9699)
567
56f2d1e1
MA
5682011-10-09 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
571 condition.
572
112a6592
LL
5732011-10-09 Leo Liu <sdl.web@gmail.com>
574
575 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
576 (Bug#9701)
577
0812589b
GM
5782011-10-08 Glenn Morris <rgm@gnu.org>
579
580 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
581 before the first code statement zero indent. (Bug#9690)
582
b2b0776e
CY
5832011-10-08 Chong Yidong <cyd@stupidchicken.com>
584
585 * simple.el (count-words-region): Always count in the region.
586 Report the number of lines and characters too.
587 (count-words): New command, which counts in the buffer if the
588 region is inactive, as count-words-region used to.
589 (count-words--message): New function. Handle plurals.
590 (count-lines-region): Make it an alias for count-words-region.
591
592 * bindings.el (esc-map): Replace count-lines-region with
593 count-words-region.
594
c557cd6b
MR
5952011-10-08 Martin Rudalics <rudalics@gmx.at>
596
597 * window.el (window--delete): Delete dedicated frame
598 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 599 (switch-to-buffer): Fix doc-string typo.
c557cd6b 600
61a57ef4 6012011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
602
603 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
604
c3833279
CY
6052011-10-07 Chong Yidong <cyd@stupidchicken.com>
606
607 * bindings.el ([M-left],[M-right]): Bind to left-word and
608 right-word respectively.
609
21ce8245
GM
6102011-10-07 Glenn Morris <rgm@gnu.org>
611
612 * cus-start.el (debug-on-quit): Fix custom type.
613
6d823bb2
LMI
6142011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
615
0181e193
LMI
616 * subr.el (define-key-after): Clarify that the function is not
617 useful for non-menu keymaps.
618
6d823bb2
LMI
619 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
620
8e3459ce 6212011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
622
21ce8245 623 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 624 in current minibuffer (Fix bug with recursive minibuffers).
625
a1c2d21e
CY
6262011-10-06 Chong Yidong <cyd@stupidchicken.com>
627
628 * progmodes/gdb-mi.el (gdb): Doc fix.
629
5a4cf282
MR
6302011-10-05 Martin Rudalics <rudalics@gmx.at>
631
632 * window.el (frame-auto-hide-function): New option replacing
633 frame-auto-delete. Suggested by Stefan Monnier.
634 (window--delete): Call frame-auto-hide-function instead of
635 investigating frame-auto-delete.
c96111ea
MR
636 (window-point-1, set-window-point-1): New functions.
637 (window-in-direction, record-window-buffer, window-state-get-1)
638 (display-buffer-record-window): Use window-point-1 instead of
639 window-point.
640 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 641
9854542e
SM
6422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
645
8943cfb0
GM
6462011-10-05 Glenn Morris <rgm@gnu.org>
647
648 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
649 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
650
647ab967
LL
6512011-10-05 Leo Liu <sdl.web@gmail.com>
652
653 * subr.el (read-char-choice): Fix argument to buffer-live-p which
654 works with buffer object.
655
3ddfbced
SM
6562011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * mpc.el (mpc-tool-bar-map): Add labels.
659
bdfa5dd2
GM
6602011-10-04 Glenn Morris <rgm@gnu.org>
661
662 * calendar/holidays.el (calendar-check-holidays): Doc fix.
663
0e2070b5
MR
6642011-10-04 Martin Rudalics <rudalics@gmx.at>
665
666 * window.el (window--delete): New function.
667 (frame-auto-delete): Resuscitate option.
668 (bury-buffer, replace-buffer-in-windows)
669 (quit-window): Rewrite using window--delete.
670 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
671 Pass display-buffer-mark-dedicated to window--display-buffer-2
672 (Bug#9639).
673
3dc61a09
SM
6742011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
675
915a9b64
SM
676 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
677 returns a list (bug#9554). Add remote file name completion.
678 * comint.el (comint--table-subvert): Curry and get quote&unquote
679 functions as arguments.
680 (comint--complete-file-name-data): Adjust call accordingly.
681 * pcomplete.el (pcomplete--table-subvert): Remove.
682 (pcomplete-completions-at-point): Use comint--table-subvert instead.
683
3dc61a09
SM
684 * minibuffer.el (completion-table-case-fold): Use currying.
685 (completion--styles-type, completion--cycling-threshold-type):
686 New constants.
687 (completion-styles, completion-category-overrides)
688 (completion-cycle-threshold): Use them.
689 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
690 completion-table-case-fold.
691
8ea0a993
SB
6922011-10-03 Stephen Berman <stephen.berman@gmx.net>
693
694 * minibuffer.el (completion-category-overrides): Fix type of styles
695 and add more user friendly tags (bug#9660).
696
8c24b7f6
SM
6972011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
698
699 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
700 (mule-input-method-string): New widget.
701 (default-input-method, language-info-custom-alist): Use it.
702
428fe61a
SM
7032011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
704
32c1fffd
SM
705 * pcomplete.el: Require comint.
706 (pcomplete--common-suffix): Remove.
707 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
708 (pcomplete--table-subvert): Sync with comint--table-subvert.
709 (pcomplete--entries): Use comint-completion-file-name-table.
710 * comint.el (comint-unquote-filename): Simplify.
711 (comint-completion-file-name-table): New function (bug#9616).
712 (comint--complete-file-name-data): Use it.
713
428fe61a
SM
714 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
715 (pcmpl-gnu-tar-buffer): Remove.
716 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
717 around. Make sure pcomplete-suffix-list is only changed temporarily.
718 Don't look inside the tar's file if it's too large.
428fe61a 719
04c52e2f
CY
7202011-10-01 Chong Yidong <cyd@stupidchicken.com>
721
ce3cefcc
CY
722 * cus-edit.el (custom-mode-map):
723 * epa.el (epa-key-list-mode-map):
724 * man.el (Man-mode-map):
725 * startup.el (splash-screen-keymap):
726 * simple.el (special-mode-map): Use scroll-up-command and
727 scroll-down-command.
728
729 * progmodes/idlw-help.el (idlwave-help-mode-map):
730 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
731 * net/newst-plainview.el (newsticker-mode-map):
732 * emulation/ws-mode.el (wordstar-mode-map):
733 * emulation/vi.el (vi-com-map):
734 * calc/calc-graph.el (calc-graph-show-dumb):
735 * term/sun.el (terminal-init-sun):
736 * term/ns-win.el (global-map):
737 * progmodes/grep.el (grep-mode-map):
738 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
739 * mail/rmail.el (rmail-mode-map):
740 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
741
04c52e2f
CY
742 * custom.el (custom-safe-themes, load-theme): Treat value of t for
743 custom-safe-themes as special.
744
79adf8c8
JD
7452011-10-01 Julien Danjou <julien@danjou.info>
746
747 * notifications.el (notifications-notify): Fix docstring.
748
63bd50d3
PS
7492011-10-01 Per Starbäck <per@starback.se>
750
751 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
752
199e4c7e
MR
7532011-09-30 Martin Rudalics <rudalics@gmx.at>
754
755 * startup.el (command-line-1): Fix last fix by inserting
756 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 757 (Bug#9605) and (Bug#9636)
199e4c7e 758
fe5f08dd
EZ
7592011-09-29 Eli Zaretskii <eliz@gnu.org>
760
761 * simple.el (line-move): If auto-hscroll-mode is disabled and the
762 window is hscrolled, move by logical lines. (Bug#9607)
763 (line-move-visual): Update the doc string to the above effect.
764
b5516bbd
MR
7652011-09-29 Martin Rudalics <rudalics@gmx.at>
766
ccee00c0
MR
767 * window.el (display-buffer-record-window): When WINDOW is the
768 selected window use `point' instead of `window-point'. (Bug#9626)
769
b5516bbd
MR
770 * startup.el (command-line-1): Use insert-before-markers when
771 inserting initial-scratch-message. (Bug#9605)
ccee00c0 772
b5516bbd
MR
773 * help.el (help-window): Remove variable.
774
52aa0014
GM
7752011-09-29 Glenn Morris <rgm@gnu.org>
776
777 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
778
df9a7357
JB
7792011-09-29 Juanma Barranquero <lekktu@gmail.com>
780
781 * descr-text.el (describe-char-categories): Accept category
782 descriptions more than one line long.
783
a8406c20
SM
7842011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
785
88d9610c
SM
786 * simple.el (delete-trailing-whitespace): Fix last change.
787
a5daf810
SM
788 * progmodes/perl-mode.el (perl-syntax-propertize-function):
789 Don't confuse "y => 3" as the beginning of a `y' operation.
790
a8406c20
SM
791 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
792 object has more than 4 slots (bug#9613).
793
a239d4e9
JB
7942011-09-28 Juanma Barranquero <lekktu@gmail.com>
795
796 * subr.el (with-output-to-temp-buffer):
797 * net/quickurl.el (quickurl, quickurl-browse-url):
798 Fix typos in docstrings.
799
693fbdb6
EZ
8002011-09-27 Eli Zaretskii <eliz@gnu.org>
801
802 * minibuffer.el (completion-styles)
803 (completion-category-overrides): Cross reference each other in doc
804 strings.
805
8b457e28
GM
8062011-09-27 Glenn Morris <rgm@gnu.org>
807
808 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
809 to split-string. (Bug#9606)
810
85a16208
LMI
8112011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
812
813 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
814 (bug#9615).
815
502f9ebd
CY
8162011-09-27 Chong Yidong <cyd@stupidchicken.com>
817
818 * emacs-lisp/package.el (list-packages): Fix echo area message.
819
7690bdea
LL
8202011-09-27 Leo Liu <sdl.web@gmail.com>
821
822 * ido.el (ido-read-internal): Accept cons cell HIST arg.
823
e2ee6f30
MA
8242011-09-25 Michael Albinus <michael.albinus@gmx.de>
825
826 * net/dbus.el (dbus-unregister-object): Don't release services for
827 registered signals. (Bug#9581)
828
f3f98342
TZ
8292011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
830
831 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
832 function that picks between cfengine 2 and 3 support
833 automatically. Update docs accordingly.
834
dd7aa8dd
KH
8352011-09-22 Kenichi Handa <handa@m17n.org>
836
837 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
838 ZERO.
839 (indian-itrans-v5-table-for-tamil): New variable.
840 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
841
3f2b07f8
KM
8422011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
843
844 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
845 that's true if the current command involved collapsing of text.
846 It's reset to false at the beginning of the next command.
847 (allout-post-command-business): Move the cursor to the beginning
848 of entry if the cursor is hidden and collapsing activity just
849 happened.
850
371d6a61
CY
8512011-09-24 Chong Yidong <cyd@stupidchicken.com>
852
853 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
854 tracking (Bug#9541).
855
2ac2721a
UJ
8562011-09-24 Ulf Jasper <ulf.jasper@web.de>
857
858 * net/newst-reader.el (newsticker-html-renderer)
859 (newsticker-show-news): Automatically
343a34ff
JB
860 load html rendering package if newsticker-html-renderer is set.
861 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
862 let-bound" and the error "Symbol's value as variable is void:
863 w3m-fill-column".
864
fac7ae53
MA
8652011-09-24 Michael Albinus <michael.albinus@gmx.de>
866
867 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
868 Release services only if they are defined. (Bug#9581)
869
e08b633b
RS
8702011-09-23 Richard Stallman <rms@gnu.org>
871
e488d29c
RS
872 * textmodes/paragraphs.el (forward-sentence): For backwards case,
873 distinguish start of paragraph from start of its text.
874
19c38752
RS
875 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
876
e08b633b
RS
877 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
878 (rmail-generate-viewer-buffer): Put that hook on view buffer.
879 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
880
0a39f27e
AS
8812011-09-23 Andreas Schwab <schwab@linux-m68k.org>
882
883 * international/mule-diag.el (mule-diag): Insert a newline after
884 each fontset description.
885
db4e950d
SM
8862011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * simple.el (delete-trailing-whitespace):
889 Document last change; simplify.
890
eca3f3ea
PW
8912011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
892
d68e189a
PW
893 * simple.el (delete-trailing-whitespace): Also delete
894 extra newlines at the end of the buffer.
895
eca3f3ea
PW
896 * textmodes/picture.el: Make motion commands obey shift-select-mode.
897 (picture-newline): Use forward-line so as to ignore fields.
898
01c157cc
SM
8992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * subr.el (with-wrapper-hook): Fix edebug spec.
902
022de23e
LMI
9032011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
904
905 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
906 (bug#4538).
907
91683089
MA
9082011-09-23 Michael Albinus <michael.albinus@gmx.de>
909
eca3f3ea
PW
910 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
911 Fix nasty bug using wrong cached values.
91683089 912
5bdd6fa4
AM
9132011-09-23 Alan Mackenzie <acm@muc.de>
914
915 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
916
97adfb97
CY
9172011-09-23 Chong Yidong <cyd@stupidchicken.com>
918
919 * window.el (pop-to-buffer): Ensure right window is selected if we
920 chose another frame.
921
d4ef2b50
EZ
9222011-09-22 Eli Zaretskii <eliz@gnu.org>
923
924 * simple.el (what-cursor-position): Use get-char-property-change
925 and next-single-char-property-change, to be able to show display
926 properties that come from overlays as well as text properties.
927
72258fe5
CY
9282011-09-22 Chong Yidong <cyd@stupidchicken.com>
929
930 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
931
932 * cmuscheme.el (run-scheme, switch-to-scheme):
933 * cus-edit.el (customize-group, custom-buffer-create)
934 (customize-browse):
935 * info.el (info):
936 * shell.el (shell):
937 * mail/sendmail.el (mail):
938 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
939
8f098516
RS
9402011-09-22 Richard Stallman <rms@gnu.org>
941
942 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
943 move back only to line beg, don't move back over blank lines.
944
e74f1bb6
MA
9452011-09-22 Michael Albinus <michael.albinus@gmx.de>
946
947 * files.el (copy-directory): Set directory attributes only in case
948 they could be retrieved from the source directory. (Bug#9565)
949
bfeef8b6
DK
9502011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
951
952 * progmodes/hideshow.el (hs-looking-at-block-start-p)
953 (hs-find-block-beginning, hs-hide-level-recursive):
954 Ignore strings as well as comments. (Bug#9502)
955
7e423bb8
AS
9562011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
957
958 * progmodes/sql.el (sql-comint-postgres):
959 Convert port number to a string. (Bug#9566)
960
b4d72fcf
MR
9612011-09-22 Martin Rudalics <rudalics@gmx.at>
962
963 * window.el (quit-window): Undedicate window when switching to
964 previous buffer. Reported by Thierry Volpiatto
965 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
966 (special-display-popup-frame): When popping up a new frame reset
967 its previous buffers to nil. Simplify code.
b4d72fcf 968
a7b88dc6
MA
9692011-09-21 Michael Albinus <michael.albinus@gmx.de>
970
971 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
972 and process filter, as done also in `shell-command'.
973
cf4eacfd
MR
9742011-09-21 Martin Rudalics <rudalics@gmx.at>
975
eca3f3ea
PW
976 * window.el (set-window-buffer-start-and-point):
977 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
978 Volpiatto <thierry.volpiatto@gmail.com>.
979 (quit-window): Reword doc-string. Handle new format of
980 quit-restore parameter. Don't delete window if it has a
981 previous buffer we can show instead of the present one.
982 (display-buffer-record-window): Rewrite using a new format for
983 the quit-restore window parameter
984 (special-display-popup-frame, display-buffer-same-window)
985 (display-buffer-reuse-window, display-buffer-pop-up-frame)
986 (display-buffer-pop-up-window, display-buffer-use-some-window):
987 Adapt symbol passed to display-buffer-record-window.
988 * help.el (help-window-setup): Handle new format of quit-restore
989 parameter.
990
8d28cb95
SM
9912011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
992
94ab793f
SM
993 * faces.el (face-list): Fix docstring (bug#9564).
994
8d28cb95
SM
995 * window.el (display-buffer--action-function-custom-type):
996 Don't include internal functions in the Custom interface.
997
3820edeb
JL
9982011-09-20 Juri Linkov <juri@jurta.org>
999
1000 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
1001 (Info-forward-node, Info-backward-node, Info-next-preorder)
1002 (Info-last-preorder): Use it. (Bug#9528)
1003
5147931d
JL
10042011-09-20 Juri Linkov <juri@jurta.org>
1005
1006 * info.el (Info-last-preorder): Visit last menu item only when
1007 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1008
cf499a1a
JD
10092011-09-20 Julien Danjou <julien@danjou.info>
1010
1011 * password-cache.el (password-cache-remove): Remove entries even if the
1012 value is nil, so that password with a nil value (negative caching) is
1013 possible to invalidate.
1014
f84e2fe2
LM
10152011-09-20 Lawrence Mitchell <wence@gmx.li>
1016
1017 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1018 all whitespace around breakpoint. (Bug#9553)
1019 (f90-find-breakpoint): Only break at whitespace inside a comment.
1020
78054a46
SM
10212011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1022
1023 * minibuffer.el (completion-file-name-table): Keep track of errors.
1024 (completion-table-with-predicate): Handle the case where pred1 is nil.
1025 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1026
345083b2
SM
10272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1028
e24e27be
SM
1029 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1030 (debugger-return-value): Signal an error if the debugging context does
1031 not await any return value.
1032
345083b2
SM
1033 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1034 * image-mode.el (image-toggle-display-text)
1035 (image-toggle-display-image): Stay away from evil `intangible'.
1036
08d355e3
LL
10372011-09-19 Leo Liu <sdl.web@gmail.com>
1038
1039 * replace.el (occur-revert-arguments): Make it permanent-local.
1040 (occur-mode): Don't call font-lock-defontify.
1041
f01da43f
CY
10422011-09-19 Chong Yidong <cyd@stupidchicken.com>
1043
1044 * net/ldap.el (ldap-search-internal): Don't push empty search
1045 result (Bug#9508).
1046
b6072fa6
SM
10472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1048
1049 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1050
443d6696
MA
10512011-09-19 Michael Albinus <michael.albinus@gmx.de>
1052
1053 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1054 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1055
7cc6e154
JL
10562011-09-18 Juri Linkov <juri@jurta.org>
1057
1058 * buff-menu.el (Buffer-menu-mode-map):
1059 * dired.el (dired-mode-map):
1060 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1061 (lisp-interaction-mode-map):
1062 * emacs-lisp/package.el (package-menu-mode-map):
1063 * epa.el (epa-key-list-mode-map):
1064 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1065 (menu-bar-options-menu):
1066 * outline.el (outline-mode-menu-bar-map):
1067 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1068 * vc/vc-dir.el (vc-dir-menu-map):
1069 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1070 Capitalize non-function content words in menu item strings.
1071
1072 * dired.el (dired-mode-map): Add menu item for
1073 `image-dired-dired-toggle-marked-thumbs'.
1074
80302a81
JL
10752011-09-18 Juri Linkov <juri@jurta.org>
1076
1077 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1078 to `isearch-case-fold-search' and restore its original value
1079 after the `isearch-mode' call.
1080
46c5cf66
JL
10812011-09-18 Juri Linkov <juri@jurta.org>
1082
1083 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1084 because `zgrep' returns 1 for successful matches (bug#9226).
1085
d18b513b
JL
10862011-09-18 Juri Linkov <juri@jurta.org>
1087
1088 * info.el (Info-extract-menu-node-name): Check the second match
1089 for empty string (second test-case of bug#9528).
1090 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1091 intermediate nodes to the history (first test-case of bug#9528).
1092
72753f87
JL
10932011-09-18 Juri Linkov <juri@jurta.org>
1094
1095 * info.el (Info-mode-syntax-table): New variable.
1096 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1097
c9384295
JL
10982011-09-18 Juri Linkov <juri@jurta.org>
1099
1100 * info.el (Info-file-supports-index-cookies): Increment
1101 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1102 one more line for long file names (bug#4142).
1103
d473dce8
CY
11042011-09-18 Chong Yidong <cyd@stupidchicken.com>
1105
1106 * newcomment.el (comment-normalize-vars): If prompting for
1107 comment-start, set comment-start-skip too (Bug#8424).
1108
2176854d
JB
11092011-09-18 Johan Bockgård <bojohan@gnu.org>
1110
1111 * icomplete.el: Fix previous fix of Bug#5849.
1112 (icomplete-mode): Don't set completion-show-inline-help.
1113 (icomplete-minibuffer-setup): Set completion-show-inline-help
1114 locally during icompletion.
1115
3aace4e4
CY
11162011-09-18 Chong Yidong <cyd@stupidchicken.com>
1117
c940224f
CY
1118 * woman.el (woman2-process-escapes): Don't delete unrecognized
1119 escapes (Bug#7843).
1120
3aace4e4
CY
1121 * files.el (inhibit-first-line-modes-regexps): Add image files.
1122 (hack-local-variables-prop-line): Return nil for malformed
1123 prop-lines (Bug#9044).
1124
710dec63
MA
11252011-09-18 Michael Albinus <michael.albinus@gmx.de>
1126
1127 * net/tramp.el (top): Don't require 'shell.
1128 (tramp-methods): Fix docstring.
1129 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1130 Return complete remote file name. Handle "smb" case.
1131 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1132 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1133
1134 * net/tramp-compat.el (top): Require 'shell.
1135
1136 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1137 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1138 `tramp-current-host'.
1139 (tramp-get-remote-tmpdir): Remove.
1140
1141 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1142 `tramp-tmpdir' entries.
1143 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1144 (tramp-smb-handle-file-attributes): Ignore errors.
1145 (tramp-smb-wait-for-output): Check also for process end.
1146
5d5ac8ec
LMI
11472011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1148
1149 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1150 when sending QUIT (bug#9312).
1151
8c0f49f0
CY
11522011-09-17 Chong Yidong <cyd@stupidchicken.com>
1153
1154 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1155 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1156 occur-mode-display-occurrence.
1157 (occur-edit-mode): Add usage message.
1158 (occur-cease-edit): New command.
1159 (occur-after-change-function): Use text properties to find the
1160 position of the prefix text.
1161 (occur-engine): Set stickiness of prefix text properties.
1162
8f1383f7
GM
11632011-09-17 Glenn Morris <rgm@gnu.org>
1164
1165 * progmodes/etags.el (complete-tag):
1166 Fix call to completion-in-region. (Bug#9526)
1167
744ba0e3
JL
11682011-09-17 Juri Linkov <juri@jurta.org>
1169
1170 * textmodes/ispell.el (ispell-word): Add to the error message
1171 the word, ispell program name and current dictionary (bug#9121).
1172 (ispell-tex-arg-end): Capitalize "error" in the error message.
1173
d9bbf400
AS
11742011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1175
1176 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1177 check. (Bug#4251)
1178
8da11505
JL
11792011-09-17 Juri Linkov <juri@jurta.org>
1180
1181 * window.el (window-safe-min-height, window-safe-min-width):
1182 Fix typos (followup to bug#9522).
1183
a91adc7e
SJ
11842011-09-17 Sven Joachim <svenjoac@gmx.de>
1185
1186 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1187
064f328a
EZ
11882011-09-16 Eli Zaretskii <eliz@gnu.org>
1189
1190 * simple.el (line-move): If goal-column is set, move by logical
1191 lines, not by display lines. (Bug#971)
1192 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1193 to reflect the above change.
1194
e69df516
SM
11952011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1196
1197 * image.el (imagemagick-register-types): Use regexp-opt.
1198
cbb0f9ab
CY
11992011-09-15 Chong Yidong <cyd@stupidchicken.com>
1200
1201 * window.el (display-buffer-base-action): Rename from
1202 display-buffer-default-action. Make default value empty.
1203 (display-buffer-overriding-action): Convert to defvar.
1204 (display-buffer-fallback-action): New var.
1205
25322144
CY
12062011-09-15 Chong Yidong <cyd@stupidchicken.com>
1207
1208 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1209 declaration.
1210 (package--add-to-archive-contents): If there is a duplicate entry
1211 with an older version, remove it.
1212 (package-menu-mark-delete, package-menu-mark-install)
1213 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1214 (package-menu-mark-obsolete-for-deletion):
1215 Use package-menu-get-status instead of a regexp search.
25322144
CY
1216 (package-menu-get-status): Use tabulated-list-entry.
1217 (package-menu-mark-upgrades): New command.
d770725a 1218 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1219 (package-menu-execute): Do installation before deletion.
1220 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1221 instead of checking major-mode.
1222 (package-menu--find-upgrades): New function.
1223
7520339c
LMI
12242011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1225
1226 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1227 passwords in the log buffer.
65a046c4
LMI
1228 (smtpmail-process-filter): Update the process marker so that the
1229 "broken by peer" status message is inserted in the right place.
7520339c 1230
d3c30954
SM
12312011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1232
3fe48822
SM
1233 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1234 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1235 bibtex-completion-at-point-function.
1236 (bibtex-completion-at-point-function): Use them.
1237
1b8b3954
SM
1238 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1239
d3c30954
SM
1240 * mpc.el (mpc-constraints-tag-lookup): New function.
1241 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1242 also to browser "album|playlist".
1243
72779976
JL
12442011-09-14 Juri Linkov <juri@jurta.org>
1245
1246 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1247 (isearch-edit-string): Use length of `isearch-string' when
1248 `isearch-fail-pos' returns nil.
1249 (isearch-message): Remove duplicate code and call
1250 `isearch-fail-pos' with arg `t'.
1251
a0bf2bcd
CY
12522011-09-14 Chong Yidong <cyd@stupidchicken.com>
1253
17bb0a2d
CY
1254 * replace.el (occur-mode-goto-occurrence): Don't force using other
1255 window (Bug#9499).
1256
a0bf2bcd
CY
1257 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1258
f678e0b6
MR
12592011-09-14 Martin Rudalics <rudalics@gmx.at>
1260
1261 * window.el (display-buffer-window): Remove.
1262 (display-buffer-record-window): Use help-setup window parameter
1263 instead of variable display-buffer-window.
1264 (display-buffer-function, special-display-buffer-names)
1265 (special-display-function): Mention help-setup parameter instead
1266 of display-buffer-window in doc-string.
d3c30954
SM
1267 * help.el (help-window-setup): New argument help-window.
1268 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1269 Reword some messages.
1270 (with-help-window): Pass window used for displaying the buffer
1271 to help-window-setup. Don't set display-buffer-window.
1272
8e39b2e8
GM
12732011-09-13 Glenn Morris <rgm@gnu.org>
1274
1275 * emacs-lisp/debug.el (debugger-make-xrefs):
1276 Preserve point. (Bug#9462)
1277
85e9c04b
CY
12782011-09-13 Chong Yidong <cyd@stupidchicken.com>
1279
1280 * window.el (window-deletable-p): Use next-frame.
1281
1b36ed6a
MR
12822011-09-13 Martin Rudalics <rudalics@gmx.at>
1283
1284 * window.el (window-auto-delete): Remove.
1285 (window-deletable-p): Remove argument FORCE. Don't deal with
1286 dedicatedness and previous buffers.
1287 (switch-to-prev-buffer): Don't delete window.
1288 (delete-windows-on): Delete a window's frame if and only if the
1289 window is dedicated.
1290 (replace-buffer-in-windows): Delete buffer's window or frame if
1291 and only if window is dedicated.
1292 (quit-window): Handle quit-restore as before last change.
4d61f28d 1293 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1294
ef8ef9fb
CY
12952011-09-13 Chong Yidong <cyd@stupidchicken.com>
1296
1297 * window.el (window-deletable-p): Never delete the last frame on a
1298 given terminal.
1299
b2cba41e
GM
13002011-09-13 Glenn Morris <rgm@gnu.org>
1301
1302 * help.el (describe-key-briefly): Copy previous standard-output change.
1303
51553db6 13042011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1305
1306 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1307
b7556719
GM
13082011-09-13 Glenn Morris <rgm@gnu.org>
1309
1310 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1311 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1312
64b51947
CY
13132011-09-12 Chong Yidong <cyd@stupidchicken.com>
1314
1315 * dired-aux.el (dired-mark-read-string): Don't return default
1316 value on empty input (Bug#9361).
1317 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1318 Omit initial minibuffer contents.
1319 (dired-do-chmod): Signal an error on empty input.
1320 (dired-mark-read-string): Don't return default on empty input.
1321
1322 * files.el (file-modes-symbolic-to-number): Doc fix.
1323
393a301e
SM
13242011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * international/mule-cmds.el (ucs-completions): Remove.
1327 (read-char-by-name): Use complete-with-action instead; add metadata.
1328
fa5660f9
CY
13292011-09-11 Chong Yidong <cyd@stupidchicken.com>
1330
1331 * window.el (display-buffer--action-function-custom-type)
1332 (display-buffer--action-custom-type): New vars.
1333 (display-buffer-alist, display-buffer-default-action)
1334 (display-buffer-overriding-action): Add defcustom types.
1335
4a592f66
CY
1336 * frame.el (delete-other-frames): Doc fix (Bug#276).
1337
73d56dbd
LMI
13382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1339
1340 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1341
37ac18a3
CY
13422011-09-11 Chong Yidong <cyd@stupidchicken.com>
1343
1344 Change modes that used same-window-* vars to use switch-to-buffer.
1345
1346 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1347 Use switch-to-buffer.
1348
1349 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1350 (customize-browse, custom-buffer-create-other-window):
1351 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1352
1353 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1354 (Info-prev, Info-up, Info-speedbar-goto-node)
1355 (info-display-manual): Use switch-to-buffer.
1356 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1357
1358 * mail/sendmail.el (mail): Use switch-to-buffer.
1359 (mail-recover): Use switch-to-buffer-other-window.
1360
1361 * cmuscheme.el (run-scheme, switch-to-scheme):
1362 * ielm.el (ielm):
1363 * shell.el (shell):
1364 * net/rlogin.el (rlogin):
1365 * net/telnet.el (telnet, rsh):
1366 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1367
10195bd6
AS
13682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1369
1370 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1371
b322f63a
LMI
13722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1373
39d7fed6
LMI
1374 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1375 so don't mention it (bug#9301).
ba5a81f1 1376 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1377
ee0e9f11
LMI
1378 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1379 match `x', `w32' and `ns', like the manual says (bug#9029).
1380
0b1c89c1 1381 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1382 (process-kill-buffer-query-function): Mention the buffer name in
1383 the query.
0b1c89c1 1384
77549ea8
LMI
1385 * image-mode.el (image-next-line): The line parameter is mandatory
1386 (bug#9258).
1387
803ef892
LMI
1388 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1389 which can be useful (bug#9301).
1390
12980837
LMI
1391 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1392
91054f8f
LMI
1393 * subr.el (match-string): Mention that the current buffer should
1394 be the same as the search was done in (bug#9282).
1395
b322f63a
LMI
1396 * facemenu.el: Disable the remove-* commands if the mark isn't
1397 active (bug#9162).
1398
3199b96f
CY
13992011-09-10 Chong Yidong <cyd@stupidchicken.com>
1400
1401 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1402 of display-buffer.
1403 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1404
1405 * replace.el (occur-mode-goto-occurrence)
1406 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1407 and display-buffer.
1408
1409 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1410 display-buffer.
1411
1412 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1413 special-display and same-window variables.
1414 (mail-other-window): Use switch-to-buffer-other-window.
1415 (mail-other-frame): USe switch-to-buffer-other-frame.
1416
393a301e
SM
1417 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1418 Use display-buffer-other-frame.
3199b96f
CY
1419 (gdb-display-gdb-buffer): Use pop-to-buffer.
1420
1421 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1422
1423 * progmodes/python.el: Don't set same-window-buffer-names.
1424
1425 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1426
1427 * window.el (display-buffer-alist): Add *Python*.
1428
8319e0bf
CY
14292011-09-10 Chong Yidong <cyd@stupidchicken.com>
1430
1431 * window.el (display-buffer-alist): Add entry for buffers
1432 previously handled same-window-*.
1433 (display-buffer-alist, display-buffer-default-action)
1434 (display-buffer-overriding-action): Mark as risky.
1435 (display-buffer-alist): Document action function changes.
1436 (display-buffer--same-window-action)
1437 (display-buffer--other-frame-action): New variables.
1438 (switch-to-buffer, display-buffer-other-frame): Use them.
1439 (display-buffer): Rename reuse-frame entry to reusable-frames.
1440 (display-buffer-reuse-selected-window): Function deleted.
1441 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1442 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1443 (display-buffer-special): New function.
1444 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1445 display-buffer-reuse-or-pop-window. Split off special-display
1446 part into display-buffer-special.
1447 (display-buffer-use-some-window): Don't perform any special
1448 pop-up-frames handling.
1449 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1450 (display-buffer--maybe-same-window): Rename from
0d3ff375 1451 display-buffer-maybe-same-window.
8319e0bf 1452
919a69aa
CY
1453 * info.el: Don't set same-window-regexps.
1454 (info-setup): New function.
1455 (info-other-window, info): Call it.
1456
1457 * cus-edit.el: Don't set same-window-regexps.
1458 (customize-group): New argument.
1459 (customize-group-other-window): Use it.
1460 (customize-face, customize-face-other-window): Likewise.
1461 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1462
8319e0bf
CY
1463 * net/rlogin.el:
1464 * net/telnet.el:
1465 * progmodes/gud.el: Don't set same-window-regexps.
1466
1467 * cmuscheme.el:
1468 * ielm.el:
1469 * shell.el:
1470 * mail/sendmail.el:
1471 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1472
25173000
JL
14732011-09-10 Juri Linkov <juri@jurta.org>
1474
1475 * isearch.el (isearch-edit-string): Remove obsolete mention of
1476 `C-w' (`isearch-yank-word-or-char') from docstring.
1477 (isearch-query-replace): Fix typo in docstring (bug#9466).
1478
056e44ef
JL
14792011-09-10 Juri Linkov <juri@jurta.org>
1480
1481 * paren.el (show-paren-function): Don't show escaped parens.
1482 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1483
c3760c17
EZ
14842011-09-10 Eli Zaretskii <eliz@gnu.org>
1485
1486 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1487 (mm-default-file-encoding): Remove autoload forms, they are
1488 replaced with autoload cookies in mml.el and mm-encode.el.
1489 (mail-add-attachment): New command.
1490 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1491 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1492 the doc string.
1493 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1494
fece895e
RT
14952011-09-10 Reuben Thomas <rrt@sc3d.org>
1496
e69df516
SM
1497 * simple.el (count-words-region): Use buffer if there's no region
1498 (bug#9429).
fece895e 1499
5e68ce4a
JL
15002011-09-09 Juri Linkov <juri@jurta.org>
1501
1502 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1503 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1504 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1505
0a6b9622
AM
15062011-09-09 Alan Mackenzie <acm@muc.de>
1507
1508 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1509 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1510
14a29deb
EZ
15112011-09-09 Eli Zaretskii <eliz@gnu.org>
1512
1513 Fix for Savannah bug#9392.
1514 * simple.el (mail-encode-mml): New defvar.
1515
1516 * mail/rmail.el (mail-encode-mml): Add a defvar.
1517 (rmail-enable-mime-composing): Default to t.
1518 (rmail-forward): Use MIME method of forwarding only if both
1519 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1520 Set mail-encode-mml non-nil if the MIME method was used.
1521
1522 * mail/sendmail.el (mml-to-mime): Add autoload form.
1523 (mail-encode-mml): Add a defvar.
1524 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1525 to nil.
1526 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1527 message through mml-to-mime, and reset mail-encode-mml to nil.
1528
28c45130
GM
15292011-09-09 Glenn Morris <rgm@gnu.org>
1530
1531 * woman.el (woman-if-body): When processing an .el block,
1532 do not delete the next .el block as well. (Bug#9447)
69f4b618 1533 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1534
9b1c252e
MR
15352011-09-08 Martin Rudalics <rudalics@gmx.at>
1536
1537 * window.el (window-deletable-p): Make sure window is live before
1538 invoking window-prev-buffers.
1539
567457e3
LL
15402011-09-08 Leo Liu <sdl.web@gmail.com>
1541
1542 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1543
97f05794
JL
15442011-09-08 Juri Linkov <juri@jurta.org>
1545
1546 * progmodes/compile.el (compilation-environment): Make it
1547 a defcustom (bug#8340).
1548
8b0874b5
MR
15492011-09-08 Martin Rudalics <rudalics@gmx.at>
1550
1551 * window.el (frame-auto-delete): Rename to window-auto-delete.
1552 Make it control auto-deletion of windows and/or frames.
1553 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1554 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1555 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1556 Rewrite handling of case when window/frame can be deleted.
1557 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1558 argument t. (Bug#9456)
8b0874b5 1559
4feb6e73
CY
15602011-09-07 Chong Yidong <cyd@stupidchicken.com>
1561
1562 * help-mode.el (help-mode): Restore autoload.
1563
91ab9c13
JL
15642011-09-07 Juri Linkov <juri@jurta.org>
1565
1566 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1567 `compilation-environment'. Set buffer-local
1568 `compilation-environment' to `thisenv' later after (funcall mode).
1569 (Bug#8340)
1570
1571 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1572 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1573 instead of replacing its value. (Bug#8340)
1574
0527e251
JL
15752011-09-07 Juri Linkov <juri@jurta.org>
1576
1577 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1578 based on text properties put by `grep-filter' instead of matching
1579 escape sequences.
1580 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1581 to the value of `grep-error-screen-columns' (bug#9438).
1582
249f792c
JL
15832011-09-07 Juri Linkov <juri@jurta.org>
1584
1585 * simple.el (next-error-highlight, next-error-highlight-no-select):
1586 Doc fix (bug#9432).
1587
ff7271b9
OT
15882011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1589
1590 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1591 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1592
183fc730
LL
15932011-09-07 Leo Liu <sdl.web@gmail.com>
1594
1595 * net/rcirc.el (rcirc-mode): Conditionally initialize
1596 rcirc-input-ring.
1597
77694924
SM
15982011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/find-func.el (find-function-C-source): Only set
1601 find-function-C-source-directory after checking that we found a source
1602 file there (bug#9440).
1603
d809b8eb
AM
16042011-09-06 Alan Mackenzie <acm@muc.de>
1605
1606 * isearch.el (isearch-other-meta-char): Wherever a key list is
1607 unread, "unread" the prefix arg, too. This fixes bug #8901.
1608
453de99f
OG
16092011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1610
1611 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1612
90439906
JL
16132011-09-05 Juri Linkov <juri@jurta.org>
1614
1615 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1616
f62bd846
JL
16172011-09-05 Juri Linkov <juri@jurta.org>
1618
1619 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1620 keeping point where processing of grep matches begins, and
1621 continue to delete remaining escape sequences from the same point.
1622 (grep-filter): Make leading zero optional in "0?1;31m" because
1623 git-grep emits "\033[1;31m" escape sequences unlike expected
1624 "\033[01;31m" as GNU Grep does (bug#9408).
1625 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1626
045820ec
JL
16272011-09-05 Juri Linkov <juri@jurta.org>
1628
1629 * subr.el (y-or-n-p): Capitalize "yes".
1630
f5e29b9b
MA
16312011-09-04 Michael Albinus <michael.albinus@gmx.de>
1632
1633 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1634 `tramp-cache-unload-hook' where appropriate.
1635 (tramp-methods): Rename `tramp-remote-sh' to
1636 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1637 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1638
1639 * net/tramp-sh.el (top): Don't require 'shell.
1640 (tramp-methods): Add `tramp-remote-shell' and
1641 `tramp-remote-shell-args' entries.
1642 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1643 (tramp-sh-handle-shell-command): Remove.
1644 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1645 Use `tramp-remote-shell'.
1646
2784c434
CY
16472011-09-03 Chong Yidong <cyd@stupidchicken.com>
1648
393a301e 1649 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1650 (sendmail-query-once): Save directly to send-mail-function.
1651 Update message-send-mail-function too.
1652
1653 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1654
464cdf56
CS
16552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1656
1657 * progmodes/python.el (python-mode-map): Use correct function to
1658 start python interpreter from menu-bar (as reported by Geert
1659 Kloosterman).
1660 (inferior-python-mode-map): Fix typo.
393a301e 1661 (python-shell-map): Remove.
464cdf56 1662
d37e5c87
DD
16632011-09-03 Deniz Dogan <deniz@dogan.se>
1664
1665 * net/rcirc.el (rcirc-print): Simplify code for
1666 rcirc-scroll-show-maximum-output. There is no need to walk
1667 through all windows to find the right one.
1668
f3ada0ee
CS
16692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1670
1671 * help.el (help-return-method): Doc fix.
1672
1f3c99ca
MR
16732011-09-03 Martin Rudalics <rudalics@gmx.at>
1674
1675 * window.el (window-deletable-p): Don't return a non-nil value
1676 when there's a buffer that was shown in the window before.
1677 (Bug#9419)
393a301e
SM
1678 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1679 Set window's previous buffers to nil.
1f3c99ca 1680
a3cf097f
EZ
16812011-09-03 Eli Zaretskii <eliz@gnu.org>
1682
1683 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1684 newline before and after the tag line, so it doesn't interfere
1685 with determining the paragraph direction of bidirectional text.
1686
3d03de90
LL
16872011-09-03 Leo Liu <sdl.web@gmail.com>
1688
1689 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1690
c3313451
CY
16912011-09-02 Chong Yidong <cyd@stupidchicken.com>
1692
393a301e 1693 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1694 (pop-to-buffer): Change interactive spec. Pass second argument
1695 directly to display-buffer.
1696 (display-buffer): Fix interactive spec. Use functionp to
1697 distinguish between a function and a list of functions.
1698
1699 * abbrev.el (edit-abbrevs):
1700 * arc-mode.el (archive-extract):
1701 * autoinsert.el (auto-insert):
1702 * bookmark.el (bookmark-bmenu-list):
1703 * files.el (find-file):
1704 * view.el (view-buffer):
1705 * progmodes/compile.el (compilation-goto-locus):
1706 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1707
89894cd8
CY
17082011-09-02 Chong Yidong <cyd@stupidchicken.com>
1709
1710 * window.el (display-buffer-alist): Doc fix.
1711 (display-buffer): Add docstring. Don't treat
1712 display-buffer-default specially.
1713 (display-buffer-reuse-selected-window)
1714 (display-buffer-same-window, display-buffer-maybe-same-window)
1715 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1716 (display-buffer-pop-up-window)
1717 (display-buffer-reuse-or-pop-window)
1718 (display-buffer-use-some-window): New functions.
1719 (display-buffer-default-action): Use them.
393a301e 1720 (display-buffer-default): Delete.
89894cd8
CY
1721 (pop-to-buffer-1): Fix choice of actions.
1722
ae0bc9fb
SM
17232011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1724
1725 * minibuffer.el (completion--insert-strings): Don't get confused by
1726 completion entries that end with an LF char.
1727
e9d90883
EZ
17282011-09-01 Eli Zaretskii <eliz@gnu.org>
1729
1730 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1731
437014c8
CY
17322011-09-01 Chong Yidong <cyd@stupidchicken.com>
1733
1734 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1735 (display-buffer-same-window, display-buffer-other-window):
1736 New functions.
437014c8
CY
1737 (pop-to-buffer-1): New function. Use the above.
1738 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1739 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1740
1741 * view.el (view-buffer-other-window, view-buffer-other-frame):
1742 Just use pop-to-buffer.
1743
a5e063d5
TV
17442011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1745
1746 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1747
793d32bb
WH
17482011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1749
1750 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1751
d65e4c15
RS
17522011-08-31 Richard Stallman <rms@gnu.org>
1753
1754 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1755 of the separation of rmail-view-buffer from rmail-buffer.
1756 If you say no to "replace original", the decrypt is in the
1757 view buffer. If you say yes, the decrypt goes into the
1758 rmail buffer also.
1759
f818cd2a
MR
17602011-08-31 Martin Rudalics <rudalics@gmx.at>
1761
1762 * window.el (display-buffer-window): Rewrite doc-string.
1763 (display-buffer-record-window): New function.
1764 (display-buffer-macro-specifiers)
1765 (display-buffer-even-window-sizes, display-buffer-set-height)
1766 (display-buffer-set-width, display-buffer-in-window)
1767 (display-buffer-reuse-window, display-buffer-split-specifiers)
1768 (display-buffer-side-specifiers, display-buffer-split-window-1)
1769 (display-buffer-split-window, display-buffer-split-atom-window)
1770 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1771 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1772 (display-buffer-other-window-means-other-frame)
1773 (display-buffer-normalize-special)
1774 (display-buffer-normalize-default)
1775 (display-buffer-normalize-argument)
1776 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1777 (display-buffer-normalize-specifiers, display-buffer-frame)
1778 (display-buffer-same-window, display-buffer-same-frame)
1779 (display-buffer-other-window)
1780 (display-buffer-same-frame-other-window)
1781 (display-buffer-other-frame, pop-to-buffer-same-window)
1782 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1783 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1784 (switch-to-buffer-same-frame)
1785 (switch-to-buffer-other-window-same-frame)
1786 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1787 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1788 (display-buffer-alist-set): Remove.
1789 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1790 (special-display-regexps, special-display-function):
1791 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1792 parameter.
1793 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1794 (special-display-frame-alist, special-display-popup-frame)
1795 (same-window-buffer-names, same-window-regexps, same-window-p)
1796 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1797 (split-window-preferred-function, split-height-threshold)
1798 (split-width-threshold, window-splittable-p)
1799 (split-window-sensibly, window--try-to-split-window)
1800 (window--frame-usable-p, even-window-heights)
1801 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1802 (window--display-buffer-2, display-buffer-other-frame):
1803 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1804 (display-buffer-default, display-buffer-assq-regexp): New functions.
1805 (display-buffer-alist): Rewrite doc-string.
1806 (display-buffer-default-action)
1807 (display-buffer-overriding-action): New variables.
1808 (display-buffer, switch-to-buffer): Rewrite.
1809 (pop-to-buffer): Restore Emacs 23 behavior but use
1810 window-normalize-buffer-to-display.
1811 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1812 Restore Emacs 23 behavior but use
1813 window-normalize-buffer-to-switch-to.
1814 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1815 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1816 Rewrite using Emacs 23 options.
f818cd2a 1817
5bc3b51d
MA
18182011-08-31 Michael Albinus <michael.albinus@gmx.de>
1819
1820 * net/tramp.el (tramp-root-regexp): Remove.
1821 (tramp-completion-file-name-regexp-unified)
1822 (tramp-completion-file-name-regexp-separate)
1823 (tramp-completion-file-name-regexp-url): Don't use leading volume
1824 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1825 (tramp-drop-volume-letter): Simplify definition.
1826 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1827
b1a4f8e1
SM
18282011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1831 (bug#9356).
1832
5664fa7b
RT
18332011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1834
b1a4f8e1 1835 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1836
9a45d6c3
JL
18372011-08-29 Juri Linkov <juri@jurta.org>
1838
1839 * isearch.el (isearch-done): Don't display message "Mark saved"
1840 when arg `edit' is non-nil to prevent its flicker in the echo area.
1841
fb87e0fb
CY
18422011-08-28 Chong Yidong <cyd@stupidchicken.com>
1843
1844 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1845 obsolete packages for deletion.
1846
09ac1c2a
CS
18472011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1848
1849 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1850 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1851 view-mode from help-mode.
1852 (help-xref-override-view-map): Remove.
1853 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1854 view-mode is not used anymore.
1855
7a1ff57f
CY
18562011-08-28 Chong Yidong <cyd@stupidchicken.com>
1857
1858 * server.el (server-port): Doc fix.
1859
b9696605
CY
1860 * cus-theme.el (custom-theme-choose-mode): Inherit from
1861 special-mode (Bug#9124).
1862 (custom-theme-choose-mode-map): Add special-mode to parent.
1863
ef8cdf8c
AM
18642011-08-28 Alan Mackenzie <acm@muc.de>
1865
1866 * progmodes/cc-fonts.el
1867 (c-make-font-lock-BO-decl-search-function): New function.
1868 (c-basic-matchers-after - "Fontify the clauses after various
1869 keywords"): Extract the three keyword lists for the 3 erroneous
1870 constructs from the list of four, and use the new function above
1871 in place of an old one.
1872
27de4e20
DD
18732011-08-28 Deniz Dogan <deniz@dogan.se>
1874
1875 * net/rcirc.el (rcirc-insert-prev-input)
1876 (rcirc-insert-next-input): Remove unused argument.
1877
356a3681
SM
18782011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1881
3fc9b218
AM
18822011-08-27 Alan Mackenzie <acm@muc.de>
1883
1884 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1885 handle function pointer parameters properly.
1886
538a061c
MR
18872011-08-27 Martin Rudalics <rudalics@gmx.at>
1888
1889 * window.el (display-buffer-reuse-window): Fix case where
1890 selected window was reused with non-nil OTHER-WINDOW argument.
1891 (Bug#9381)
1892
35b1c40c
DD
18932011-08-27 Deniz Dogan <deniz@dogan.se>
1894
1895 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1896 oftc's NickServ messages.
1897
2f6a3e79
GM
18982011-08-27 Glenn Morris <rgm@gnu.org>
1899
1900 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1901
7254299e
CY
19022011-08-26 Chong Yidong <cyd@stupidchicken.com>
1903
1904 * emacs-lisp/package.el (package-install): Call package-initialize
1905 if called interactively.
1906
f8ccf167
LL
19072011-08-26 Leo Liu <sdl.web@gmail.com>
1908
1909 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1910
3e8cd5ce
JL
19112011-08-25 Juri Linkov <juri@jurta.org>
1912
1913 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1914 `search-whitespace-regexp' (bug#9364).
1915
93eb7113
JL
19162011-08-25 Juri Linkov <juri@jurta.org>
1917
1918 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1919 `regexp-search-ring' to their global values to protect from
1920 updating by `read-from-minibuffer' (bug#9185).
1921
f65d1611
JL
19222011-08-25 Juri Linkov <juri@jurta.org>
1923
1924 * textmodes/ispell.el (ispell-command-loop): Add newline
1925 at the end of the "Use option `i'..." line.
1926
f1cf7a31
JL
19272011-08-25 Juri Linkov <juri@jurta.org>
1928
1929 * battery.el (display-battery-mode): If `battery-status-function'
1930 or `battery-mode-line-format' is nil, display the message and set
1931 `display-battery-mode' to nil (bug#9363).
1932
0c95fcf7
EZ
19332011-08-25 Eli Zaretskii <eliz@gnu.org>
1934
1935 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1936 bidi-string-mark-left-to-right; they are unnecessary now.
1937
a2ebe600
DD
19382011-08-25 Deniz Dogan <deniz@dogan.se>
1939
1940 * net/quickurl.el: Documentation typo fixes.
1941
e4ed06f1
CY
19422011-08-25 Chong Yidong <cyd@stupidchicken.com>
1943
1944 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1945
e5f1c99e
GM
19462011-08-25 Glenn Morris <rgm@gnu.org>
1947
b2948976
GM
1948 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1949
e5f1c99e
GM
1950 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1951 (smtpmail-via-smtp): Handle nil response from smtp.
1952
f22f4808
JL
19532011-08-24 Juri Linkov <juri@jurta.org>
1954
1955 * proced.el (proced-marked): Inherit from `error' instead of
1956 `font-lock-warning-face'.
1957
1958 * ibuffer.el (ibuffer-marked-face): Change default face from
1959 `font-lock-warning-face' to `warning'.
1960 (ibuffer-deletion-face): Change default face from
1961 `font-lock-type-face' to `error'.
1962
1963 * battery.el (battery-update): Use the face `error' instead of
1964 `font-lock-warning-face' (bug#6117).
1965
6a93965e
JL
19662011-08-24 Juri Linkov <juri@jurta.org>
1967
1968 * faces.el (success): Change face color from "Green3" to
1969 "ForestGreen" on light background (bug#9353).
1970
1ed43b09
CY
19712011-08-24 Chong Yidong <cyd@stupidchicken.com>
1972
5664fa7b
RT
1973 * window.el (quit-window): Rename from quit-restore-window.
1974 Use same arglist as old quit-window.
1ed43b09
CY
1975 (frame-auto-delete): Doc fix.
1976
1977 * view.el (view-mode-exit): Use quit-window.
1978
11dcdbb2
JL
19792011-08-24 Juri Linkov <juri@jurta.org>
1980
1981 * isearch.el (isearch-ring-adjust1): Start visiting previous
1982 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1983 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1984 for empty search string (when the last search string is reused
1985 automatically) to adjust the isearch ring to the last element and
1986 prepare the correct index for further M-p commands (bug#9185).
1987
de62b4df
KH
19882011-08-24 Kenichi Handa <handa@m17n.org>
1989
1990 * international/ucs-normalize.el: If decomposition property of
1991 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1992 nil.
1993 (nfd, nfkd): Likewise.
1994
963b492b
SM
19952011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1996
1997 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1998 from process filters aren't reliably transmitted to the surrounding
1999 accept-process-output.
2000 (mpc-proc-check): New function.
2001 (mpc-proc-sync): Use it (bug#8293)
2002
93b6b5e1
SM
20032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2004
2005 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2006 Add compatibility functions (bug#9313).
2007
bca633fb
EZ
20082011-08-23 Eli Zaretskii <eliz@gnu.org>
2009
b177498a
EZ
2010 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2011
bca633fb
EZ
2012 * international/uni-bidi.el: Regenerated.
2013
0902a04e
KH
20142011-08-23 Kenichi Handa <handa@m17n.org>
2015
2016 * international/charprop.el:
2017 * international/uni-bidi.el:
2018 * international/uni-category.el:
2019 * international/uni-combining.el:
2020 * international/uni-comment.el:
2021 * international/uni-decimal.el:
2022 * international/uni-decomposition.el:
2023 * international/uni-digit.el:
2024 * international/uni-lowercase.el:
2025 * international/uni-mirrored.el:
2026 * international/uni-name.el:
2027 * international/uni-numeric.el:
2028 * international/uni-old-name.el:
2029 * international/uni-titlecase.el:
2030 * international/uni-uppercase.el: Regenerate.
2031
3bbf23bc
MR
20322011-08-23 Martin Rudalics <rudalics@gmx.at>
2033
2034 * help.el (help-window-setup): Fix message displayed when other
2035 window is reused. (Bug#9341)
2036
b3fd59bd
SM
20372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2038
1802e444
SM
2039 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2040 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2041
b3fd59bd
SM
2042 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2043 Mark obsolete.
2044 * shell.el (shell-parse-pcomplete-arguments): New function.
2045 (shell-completion-vars): Use it instead (bug#9160).
2046
4eb61348
SM
20472011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2048
867cab74
SM
2049 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2050 strings and comments (bug#9333).
2051
4eb61348
SM
2052 * emacs-lisp/debug.el (debug-arglist): New function.
2053 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2054 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2055
262a1439
JL
20562011-08-22 Juri Linkov <juri@jurta.org>
2057
56ee679c
JL
2058 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2059 Revert regexp that highlights output switches to its old
2060 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2061
262a1439
JL
2062 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2063 to check for empty output (bug#9226).
2064
f13f86fb
CY
20652011-08-22 Chong Yidong <cyd@stupidchicken.com>
2066
2067 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2068 symbol-constituent as the default, as that stops font-lock from
2069 working properly (Bug#8843).
2070
c65c9622
LMI
20712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2072
2073 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2074 `coding-system-for-*' around the process open call to avoid
2075 auth-source side effects.
e7f2c178 2076 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2077 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2078 probe hangs.
c65c9622 2079
23a8a5ab
CY
20802011-08-21 Chong Yidong <cyd@stupidchicken.com>
2081
ff98b2dd
CY
2082 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2083
23a8a5ab
CY
2084 * emacs-lisp/find-func.el (find-function-noselect): New arg
2085 lisp-only.
2086
2087 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2088 signal an error for built-in functions (Bug#6664).
2089
f5e3c598
LMI
20902011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2091
2092 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2093 (smtpmail-try-auth-methods): Use it.
2094
a3f2468a
CY
20952011-08-21 Chong Yidong <cyd@stupidchicken.com>
2096
2c34e8da
CY
2097 * font-lock.el (font-lock-fontify-region)
2098 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2099 (font-lock-default-unfontify-buffer)
2100 (font-lock-default-fontify-region)
2101 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2102
b3fd59bd
SM
2103 * progmodes/compile.el (compilation-error-properties):
2104 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2105 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2106 `ant' regexp.
ee31aabc 2107
a3f2468a
CY
2108 * net/browse-url.el (browse-url-firefox): Don't call
2109 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2110
8e999f70
GM
21112011-08-20 Glenn Morris <rgm@gnu.org>
2112
c21a496a
GM
2113 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2114
59ee0542
GM
2115 * tutorial.el (tutorial--default-keys): Update some default bindings.
2116
8e999f70
GM
2117 * files.el (hack-local-variables): Fully ignore case for "mode:".
2118
e3715033
AM
21192011-08-20 Alan Mackenzie <acm@muc.de>
2120
2121 Resolve invalid use of a regexp in regexp-opt.
2122
4d61f28d
JB
2123 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2124 detection for a java annotation.
e3715033 2125
4d61f28d 2126 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2127 detection for a java annotation.
2128
4d61f28d
JB
2129 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2130 handling for java.
e3715033
AM
2131 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2132
04ed2e9c
CY
21332011-08-20 Chong Yidong <cyd@stupidchicken.com>
2134
2135 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2136 (Bug#9274).
2137
826cee64
AM
21382011-08-20 Alan Mackenzie <acm@muc.de>
2139
2140 * Fontify CPP expressions correctly when starting in the middle of
2141 such a construct. Mainly for when jit-lock etc. starts a chunk
2142 here.
2143
2144 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2145 variable.
2146 (c-make-font-lock-search-form): new function, extracted from
2147 c-make-font-lock-search-function.
2148 (c-make-font-lock-search-function): Use the above function.
2149 (c-make-font-lock-context-search-function): New function.
2150 (c-cpp-matchers): Enhance the preprocessor expression case with
2151 the above function
2152 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2153 which takes an expression.
2154
2155 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2156
13009bd8
MR
21572011-08-20 Martin Rudalics <rudalics@gmx.at>
2158
2159 * window.el (display-buffer-reuse-window)
2160 (display-buffer-pop-up-window): Don't reuse or split a side
2161 window.
2162
9234ff7f
GM
21632011-08-19 Glenn Morris <rgm@gnu.org>
2164
2165 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2166 Downcase "Mode:". (Bug#9331)
9234ff7f 2167
f635daa1
CY
21682011-08-18 Chong Yidong <cyd@stupidchicken.com>
2169
2170 * international/characters.el: Add L and R categories.
2171
2172 * subr.el (bidi-string-mark-left-to-right): Rename from
2173 string-mark-left-to-right. Use category search.
2174
2175 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2176
bc987f8b
JL
21772011-08-18 Juri Linkov <juri@jurta.org>
2178
2179 * faces.el (error, warning, success): New faces with definitions
2180 copied from old default values of `font-lock-warning-face',
2181 `compilation-warning', `compilation-info' (bug#6117).
2182
2183 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2184
2185 * progmodes/compile.el (compilation-error): Inherit from `error'.
2186 (compilation-warning): Inherit from `warning'.
2187 (compilation-info): Inherit from `success'.
2188
2189 * dired.el (dired-marked): Inherit from `warning'.
2190 (dired-flagged): Inherit from `error'.
2191
57173b96
LMI
21922011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2193
3e79eb87
LMI
2194 * mail/smtpmail.el (auth-source): Require to avoid problems with
2195 binding variables (bug#9298). Also clean up some unused
2196 autoloads.
2197
b3fd59bd
SM
2198 * net/network-stream.el (network-stream-open-starttls):
2199 Support using starttls.el without using gnutls-cli.
57173b96 2200
02b404de
JL
22012011-08-17 Juri Linkov <juri@jurta.org>
2202
2203 * progmodes/grep.el (rgrep): Handle the case when
2204 `grep-find-command' is a cons cell (bug#9278).
2205
8c9177f2
MR
22062011-08-17 Martin Rudalics <rudalics@gmx.at>
2207
2208 * window.el (display-buffer-pop-up-frame): Run frame creation
2209 function with BUFFER current (as special-display-popup-frame
2210 does). Reported by Drew Adams.
2211
3644a0ab
DU
22122011-08-17 Daiki Ueno <ueno@unixuser.org>
2213
2214 * epa-mail.el: Simplify GnuPG group expansion using
2215 epg-expand-group.
2216 (epa-mail-group-alist, epa-mail-group-modtime)
2217 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2218 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2219 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2220 Remove.
2221
5e617bc2 22222011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2223
2224 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2225
9c4aeabf
AM
22262011-08-16 Alan Mackenzie <acm@muc.de>
2227
2228 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2229 Correct, to avoid the inside of macros.
2230
3a99bf64
RS
22312011-08-16 Richard Stallman <rms@gnu.org>
2232
04963aa8
RS
2233 * epa-mail.el: Handle GnuPG group definitions.
2234 (epa-mail-group-alist, epa-mail-group-modtime)
2235 (epa-mail-gnupg-conf-file): New variables.
2236 (epa-mail-parse-groups, epa-mail-sync-groups)
2237 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2238 (epa-mail-expand-recipients): New functions.
2239 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2240
177549d0
RS
2241 * mail/rmail.el (rmail-epa-decrypt): New command.
2242
fe38beef
RS
2243 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2244 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2245 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2246 (epa-decrypt-armor-in-region): Make error message clearer.
2247
934eacb9
SM
22482011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2249
2250 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2251 and "a2b" to "ab" for `prefix'.
2252
d024fb4e
CY
22532011-08-14 Chong Yidong <cyd@stupidchicken.com>
2254
2255 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2256 filter groups.
de148fee
CY
2257 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2258 Fourquet (Bug#8804).
d024fb4e 2259
62f1ca49
JB
22602011-08-12 Juanma Barranquero <lekktu@gmail.com>
2261
2262 * startup.el (argi): Declare as global variable (bug#9275).
2263
9ccaaa4b
CY
22642011-08-12 Chong Yidong <cyd@stupidchicken.com>
2265
2266 * subr.el (string-mark-left-to-right): Search the entire string
2267 for RTL script, not just the terminating character. Doc fix.
2268
a3dae87a
SM
22692011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2270
6cd18349
SM
2271 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2272 New function.
2273 (js--regexp-literal, js-syntax-propertize-function): Remove.
2274 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2275 (js-mode-map): Don't rebind electric keys.
2276 (js-insert-and-indent): Remove.
2277 (js-mode): Setup electric-layout and electric-indent instead.
2278
a3dae87a
SM
2279 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2280
9d5cb631
DU
22812011-08-12 Daiki Ueno <ueno@unixuser.org>
2282
2283 * epa.el (epa-progress-callback-function): Fix the logic of
2284 displaying progress.
2285 * epa-file.el (epa-file-insert-file-contents): Make progress
2286 display more user-friendly.
2287 (epa-file-write-region): Ditto.
2288
3e26a4a2
CY
22892011-08-10 Chong Yidong <cyd@stupidchicken.com>
2290
2291 * subr.el (string-mark-left-to-right): New function.
2292
2293 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2294 Use string-mark-left-to-right.
2295 (list-buffers-noselect): Caller changed.
2296
a3dae87a
SM
2297 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2298 Use string-mark-left-to-right.
3e26a4a2
CY
2299 (tabulated-list-print): Recenter after moving point.
2300
ac8cf6e6
JL
23012011-08-10 Juri Linkov <juri@jurta.org>
2302
2303 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2304 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2305 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2306
8d96c9a4
CY
23072011-08-09 Chong Yidong <cyd@stupidchicken.com>
2308
2309 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2310 (Bug#7554).
2311
7be1c708 23122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2313
2314 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2315 character. (Bug#6594)
2316
37e11a63
CY
23172011-08-08 Chong Yidong <cyd@stupidchicken.com>
2318
839dde57
CY
2319 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2320 (image-dired--with-db-file): New macro.
2321 (image-dired-write-tags, image-dired-remove-tag)
2322 (image-dired-create-gallery-lists, image-dired-write-comments)
2323 (image-dired-get-comment, image-dired-mark-tagged-files)
2324 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2325 (image-dired-gallery-generate): Use insert-file-contents.
2326
37e11a63
CY
2327 * time.el (display-time-world-list, display-time-world-display):
2328 * time-stamp.el (time-stamp-string):
2329 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2330 set-time-zone-rule (Bug#7337).
2331
0b4946c4
DU
23322011-08-08 Daiki Ueno <ueno@unixuser.org>
2333
2334 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2335 (epg-error-to-string, epg-errors-to-string): New function.
2336 (epg-wait-for-completion): Reverse errors list.
2337 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2338 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2339 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2340 (epg-sign-keys, epg-generate-key-from-file)
2341 (epg-generate-key-from-string): Format errors by using
2342 epg-errors-to-string (bug#9255).
2343 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2344
75bfc667
JL
23452011-08-07 Juri Linkov <juri@jurta.org>
2346
2347 * faces.el (list-faces-display): Remove extra angle bracket
2348 from `help-mode-map'.
2349
2350 * info.el (Info-history-toc-nodes): Doc fix.
2351
2352 * longlines.el (longlines-mode): Doc fix.
2353
673e08bb
SM
23542011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2355
4640dd88
SM
2356 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2357 of statements and in a few more cases (bug#9183).
2358
673e08bb
SM
2359 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2360 New functions.
2361 (cl-transform-lambda): Use them (bug#9239).
2362
89b3f019
MR
23632011-08-05 Martin Rudalics <rudalics@gmx.at>
2364
2365 * window.el (display-buffer-same-window)
2366 (display-buffer-same-frame, display-buffer-other-window)
2367 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2368 (pop-to-buffer-other-window)
2369 (pop-to-buffer-same-frame-other-window)
2370 (pop-to-buffer-other-frame): Make them defuns.
2371 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2372
640c8776
SM
23732011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2374
2375 * subr.el (make-composed-keymap): Move from C. Change calling
2376 convention, and improve docstring to bring attention to a subtle point.
2377 * minibuffer.el (completing-read-default): Adjust accordingly.
2378
63648a95
MA
23792011-08-03 Michael Albinus <michael.albinus@gmx.de>
2380
2381 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2382 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2383
2384 * net/trampver.el: Update release number.
2385
b796c9b7
SM
23862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2387
2388 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2389 "in" (bug#9190).
2390
2239d7d5
LMI
23912011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2392
e07dd7c3
LMI
2393 * mail/sendmail.el (sendmail-query-once): Restore the current
2394 buffer after querying (bug#9074).
2395
0e6a2bd7
LMI
2396 * dired.el (dired-flagged): Use different faces for marked and
2397 flagged files (bug#6117).
2398
ce887515
LMI
2399 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2400 (bug#4433).
2401
92f2affc
LMI
2402 * ido.el (ido-mode): Switch off the message if called
2403 non-interactively.
2404
57d5aff0
LMI
2405 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2406 before 587, since it appears that that's more likely to work for
2407 more people.
2408
98cd6c18
LMI
2409 * cus-edit.el (custom-file): When running under emacs -q, always
2410 refuse to save the customisations, even if the .emacs file doesn't
2411 exist.
2412
b96dec83
LMI
2413 * info.el: Remove the `Info-beginning-of-buffer' function
2414 (bug#8325).
2415
b796c9b7
SM
2416 * net/network-stream.el (network-stream-open-starttls):
2417 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2418
d90e2ea0
MR
24192011-08-01 Martin Rudalics <rudalics@gmx.at>
2420
2421 * window.el (display-buffer-in-window): Don't set dedicated status
2422 of window here (Bug#9215).
2423 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2424 (display-buffer-pop-up-side-window)
b796c9b7 2425 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2426
cca09170
SM
24272011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2430 before binding generated-autoload-file.
2431
027b979c
DD
24322011-08-01 Deniz Dogan <deniz@dogan.se>
2433
2434 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2435
3c7ee4f3
MA
24362011-07-30 Michael Albinus <michael.albinus@gmx.de>
2437
2438 Sync with Tramp 2.2.2.
2439
2440 * net/trampver.el: Update release number.
2441
2cc8e51a
JL
24422011-07-30 Juri Linkov <juri@jurta.org>
2443
2444 * dired-aux.el (dired-touch-initial): Remove function.
2445 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2446 current time, and `default' to the last modification time of the
2447 current marked file (bug#6887).
2448
a514d856
JM
24492011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2450
2451 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2452 numeric argument to read-number (bug#9163).
a514d856 2453
8a7eddd7
MA
24542011-07-27 Michael Albinus <michael.albinus@gmx.de>
2455
2456 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2457 connection process, it could be nil.
2458
1ddd96f5
LL
24592011-07-27 Leo Liu <sdl.web@gmail.com>
2460
2461 Simplify url handling in rcirc-mode.
2462
2463 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2464 (rcirc-browse-url-at-mouse): Remove.
2465 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2466
b248a85d
AM
24672011-07-26 Alan Mackenzie <acm@muc.de>
2468
2469 Fontify bitfield declarations properly.
2470
2471 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2472 (c-symbol-chars): Now exported as a lang variable.
2473 (c-not-primitive-type-keywords): New lang variable.
2474
2475 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2476 QT keyword "more" to prevent "more slots: ...." being spuriously
2477 parsed as a bitfield declaraion.
2478
b796c9b7
SM
2479 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2480 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2481 (c-punctuation-in): New function.
2482 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2483 declarations properly.
2484
68575ab0
UJ
24852011-07-26 Ulf Jasper <ulf.jasper@web.de>
2486
2487 * calendar/icalendar.el (icalendar--all-events): Take care of
2488 multiple vcalendars in a single file.
b796c9b7 2489 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2490
0f0a88b9
DD
24912011-07-25 Deniz Dogan <deniz@dogan.se>
2492
2493 * image.el (insert-image): Clarifying docstring.
2494
0b3f36df
MA
24952011-07-24 Michael Albinus <michael.albinus@gmx.de>
2496
2497 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2498 `tramp-send-command-and-check' if there is no error.
2499 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2500
a9901f61
AM
25012011-07-22 Alan Mackenzie <acm@muc.de>
2502
2503 Prevent cc-langs.elc being loaded at run time.
2504
2505 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2506 cc-langs.
2507
4d61f28d 2508 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2509 "(require 'cc-langs)". Quote a form so it will evaluate at
2510 (cc-mode's) compilation time.
2511
11d074b2
MA
25122011-07-22 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2515 loading. (Bug#9114)
2516
938b94c8
MR
25172011-07-21 Martin Rudalics <rudalics@gmx.at>
2518
2519 * window.el (display-buffer-pop-up-window)
2520 (display-buffer-pop-up-side-window)
2521 (display-buffer-in-side-window): Call display-buffer-set-height
2522 and display-buffer-set-width after setting the new window's
b796c9b7 2523 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2524
bfa4f190
SS
25252011-07-20 Sam Steingold <sds@gnu.org>
2526
2527 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2528 (etags-tags-included-tables): Call `convert-standard-filename' on
2529 the file names contained in TAGS so that windows Emacs can handle
2530 TAGS files created by cygwin ctags.
2531
8ca42262
LMI
25322011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2533
2534 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2535 which apparently didn't work.
2536
5db2afd2 25372011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2538
5db2afd2
RW
2539 * proced.el (proced-send-signal): For *Marked Processes* buffer
2540 put point at beginning of buffer.
2541
92e15d10
SB
25422011-07-19 Stephen Berman <stephen.berman@gmx.net>
2543
2544 * proced.el (proced-format): Make header lines align with the text
2545 (bug#1779).
2546
1bfd59e5
LMI
25472011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2548
2549 * view.el (view-buffer): Allow running in `special' modes if we're
2550 visiting a file (bug#8615).
2551
f5aae37c
MR
25522011-07-19 Martin Rudalics <rudalics@gmx.at>
2553
2554 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2555 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2556 New functions.
f5aae37c
MR
2557 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2558 more accurately.
2559
bf2c1571
AM
25602011-07-18 Alan Mackenzie <acm@muc.de>
2561
2562 Fontify declarators properly when, e.g., a jit-lock chunk begins
2563 inside a declaration.
2564
2565 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2566
b796c9b7
SM
2567 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2568 New function.
bf2c1571
AM
2569 (c-complex-decl-matchers): Insert reference to
2570 c-font-lock-enclosing-decls.
2571
2572 * progmodes/cc-engine.el (c-backward-single-comment):
2573 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2574 to nil around calls to (forward-comment -1).
2575
4e190b80
LMI
25762011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2577
12dc863d
LMI
2578 * image.el (put-image): Doc typo fix.
2579
a762e966
LMI
2580 * progmodes/etags.el (tags-search): Doc typo fix.
2581
4e190b80
LMI
2582 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2583 password if we get errors 550 to 554.
2584
f019fb21
LMI
25852011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2586
b796c9b7 2587 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2588
81746738
LMI
2589 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2590 indentation character (bug#6380).
2591
3ee3a1b5
LMI
2592 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2593
c82f64de
LMI
2594 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2595 to clarify what the problem is (bug#4291).
2596
f019fb21
LMI
2597 * simple.el (current-kill): Clarify what
2598 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2599 (auto-fill-mode): Document `auto-fill-function' in relation to
2600 `auto-fill-mode' (bug#2470).
f019fb21 2601
0794775d
LM
26022011-07-16 Lawrence Mitchell <wence@gmx.li>
2603
2604 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2605 method if slot is read-only (bug#9035).
2606
be39b8cc
MR
26072011-07-16 Martin Rudalics <rudalics@gmx.at>
2608
b796c9b7 2609 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2610 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2611 selected before, see discussion of (Bug#8615), (Bug#6954).
2612 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2613
6ccf7859
GM
26142011-07-15 Glenn Morris <rgm@gnu.org>
2615
2616 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2617 Respect help-form.
6ccf7859 2618
87e86684
LM
26192011-07-09 Lawrence Mitchell <wence@gmx.li>
2620
2621 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2622 (gnutls-negotiate): Use it.
2623
d6066239
LMI
26242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2625
b796c9b7
SM
2626 * net/gnutls.el (gnutls-negotiate):
2627 Upcase `gnutls-algorithm-priority'.
d6066239 2628
bd23ebc0
GM
26292011-07-15 Glenn Morris <rgm@gnu.org>
2630
c65bca65
GM
2631 * jka-compr.el (jka-compr-verbose): Move from here...
2632 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2633 Add missing :version tag.
2634 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2635
478615cc
LMI
26362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2637
7b41decb
LMI
2638 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2639 (gnutls-negotiate): Use it.
2640
dbc44fcd
LMI
2641 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2642
06789f97
LMI
2643 * info.el (Info-beginning-of-buffer): New command.
2644 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2645 announcing `b' as the key (bug#8325).
ab896c37 2646 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2647
c39da690
LMI
2648 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2649
3aa5f34b
LMI
2650 * international/mule-cmds.el
2651 (describe-specified-language-support): Make the error message
2652 clearer (bug#8905).
2653
4bf0979f
LMI
2654 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2655
478615cc
LMI
2656 * isearch.el (isearch-barrier): Add a doc string, since it's
2657 mentioned in a function doc string (bug#8678).
2658
75c68aa1
MR
26592011-07-15 Martin Rudalics <rudalics@gmx.at>
2660
2661 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2662 buffer argument (Bug#9083) and self-identifying label argument.
2663
a7c33da2
GM
26642011-07-15 Glenn Morris <rgm@gnu.org>
2665
2666 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2667
2f5c6024
LMI
26682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2669
2670 * man.el (Man-fontify-manpage): Fix message when formatting the
2671 man page (bug#7929).
2672
0bb23927 26732011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2674
2675 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2676 argument LRM; if non-nil, append an invisible LRM character to the
2677 buffer name.
2678 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2679 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2680 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2681 paragraph direction.
cce4b0a7 2682
621ef9ab
LMI
26832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2684
d1583c48
LMI
2685 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2686 the man page name (bug#7929).
2687
6a57fb5f
LMI
2688 * image.el (put-image): Mention the `put-image' overlay property
2689 (bug#7834).
2690
d7956b14
LMI
2691 * scroll-bar.el (set-scroll-bar-mode): Mention that
2692 `scroll-bar-mode' lists the values (bug#7772).
2693
5b2d4a66
LMI
2694 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2695 command (bug#7729).
2696
7509a874
LMI
2697 * rect.el (apply-on-rectangle): Return the point after the last
2698 operation.
2699 (string-rectangle): Go to the point after the last operation
2700 (bug#7522).
2701
4fe74b19
LMI
2702 * printing.el (pr-toggle-region): Clarify the documentation
2703 slightly (bug#7493).
2704
b796c9b7
SM
2705 * time.el (display-time-update):
2706 Allow `display-time-mail-function' to return nil (bug#7158).
2707 Fix suggested by Detlev Zundel.
ab283561 2708
fc233c9d
LMI
2709 * vc/diff.el (diff): Clarify the order the file names are read
2710 (bug#7111).
2711
43f5740b
LMI
2712 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2713 the doc string (bug#7015).
2714
f2182a76
LMI
2715 * font-lock.el (font-lock-maximum-decoration): Mention what
2716 numeric levels mean (bug#6935).
2717
621ef9ab
LMI
2718 * startup.el (initial-buffer-choice): Don't mention the `none'
2719 selection, which is against policy.
2720
adc47434
MR
27212011-07-14 Martin Rudalics <rudalics@gmx.at>
2722
b796c9b7
SM
2723 * window.el (display-buffer-normalize-special):
2724 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2725
7e5bfb8f
EZ
27262011-07-14 Eli Zaretskii <eliz@gnu.org>
2727
2728 * subr.el (version<, version<=, version=): Mention "-CVS" and
2729 "-12345" alpha version numbers.
2730
27fa387a
CY
27312011-07-14 Chong Yidong <cyd@stupidchicken.com>
2732
2733 * bindings.el: Add advertised binding for set-mark-command
2734 (Bug#5772).
2735
8bdfa064
CY
27362011-07-14 Chong Yidong <cyd@stupidchicken.com>
2737
2738 * bindings.el (mode-line-other-buffer):
2739 * bookmark.el (bookmark-bmenu-2-window):
2740 * bs.el (bs-cycle-next, bs-cycle-previous):
2741 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2742 switch-to-buffer.
2743
2744 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2745 Delete.
8bdfa064 2746
5eba16a3
JB
27472011-07-14 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * follow.el (follow-debug-message, follow-redisplay):
2750 * jka-cmpr-hook.el (with-auto-compression-mode):
2751 Fix typos in docstrings.
2752
15853710
LMI
27532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2754
a28e4607
LMI
2755 * subr.el (with-silent-modifications): Clarify somewhat what the
2756 macro inhibits (bug#6525).
2757
15853710
LMI
2758 * simple.el (eval-expression): Note what it does if called
2759 interactively (bug#6495).
2760
bee0fcef
CY
27612011-07-13 Chong Yidong <cyd@stupidchicken.com>
2762
b796c9b7
SM
2763 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2764 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2765
2766 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2767 Remove switch-to-buffer.
2768
58274504
LMI
27692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2770
bd2fcc8d
LMI
2771 * files.el (make-directory): Clarify that an error will be raised
2772 if there's an error (bug#6397).
2773
0f04b32c
LMI
2774 * startup.el (initial-buffer-choice): Add `none' as a choice
2775 (bug#6234).
2776
465c5fc8
LMI
2777 * subr.el (add-hook): Clarify section about buffer-local hooks
2778 (bug#6218).
2779
58274504
LMI
2780 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2781
bead9a43
JB
27822011-07-13 Juanma Barranquero <lekktu@gmail.com>
2783
2784 * tabify.el (untabify): Preserve the current column so that point
2785 doesn't move (bug#6032).
2786
3af98a7b
LMI
27872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2788
b796c9b7
SM
2789 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2790 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2791
6240145a
GM
27922011-07-13 Glenn Morris <rgm@gnu.org>
2793
2794 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2795 (dired-insert-directory): Give a message the first time
2796 if ls is found not to support --dired.
2797
1d8c2ccc
LMI
27982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2799
2800 * simple.el (toggle-truncate-lines): Clarify what is toggled
2801 (bug#5580). Text by Drew Adams.
2802
5fc4038e
CY
28032011-07-13 Chong Yidong <cyd@stupidchicken.com>
2804
2805 * simple.el (blink-matching-open): Make the error message from the
2806 last change less verbose.
2807
bf6012e5
DN
28082011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2809
2810 * font-lock.el (font-lock-comment-face): Use the high contrast
2811 "yellow" color for font-lock-comment-face on low color terminals
2812 using a dark background color (bug#4221).
2813
343c3b5a
LMI
28142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2815
7e9505c5
LMI
2816 * dired.el (dired-insert-set-properties): Make the doc string
2817 reflect what it does now (bug#5325).
2818
c26fdcf5
LMI
2819 * simple.el (blink-matching-open): Say that we were unable to find
2820 the match within the limit, if we're limited (bug#5122).
2821
bb388cc5
LMI
2822 * international/mule-cmds.el (prefer-coding-system): Add an
2823 example (bug#4869).
2824
343c3b5a
LMI
2825 * progmodes/etags.el (tags-search): Document `file-list-form'
2826 (bug#4731).
2827
2a517d45
LM
28282011-07-13 Lawrence Mitchell <wence@gmx.li>
2829
2830 * net/browse-url.el (browse-url-default-browser)
2831 (browse-url-browser-function): Make the default browser choice a
2832 bit more logical (bug#4300). Also clean up the doc string.
2833
b6c78ef2
JB
28342011-07-13 Juanma Barranquero <lekktu@gmail.com>
2835
2836 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2837 binary endings (bug#4440).
2838
1c4dd947
LMI
28392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2840
a2014063
LMI
2841 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2842 which can be pretty annoying (bug#8971).
2843
9c9c2d88
LMI
2844 * jka-compr.el (jka-compr-verbose): New variable, and use
2845 throughout (bug#8971).
2846
1c4dd947
LMI
2847 * info.el (Info-find-file): Fall back on the installation
2848 directory if we can't find the info node anywhere else.
2849
a1c9f41b
SO
28502011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2851
2852 * vc/vc.el (vc-revert-file):
2853 Don't set file time-stamp in the past. (Bug#5181)
2854
536f3d36
LMI
28552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2856
7152b011
LMI
2857 * files.el (after-find-file): Give a better error message when
2858 trying to find a symlink that points to a file that doesn't exist
2859 (bug#4398).
2860
536f3d36
LMI
2861 * progmodes/cc-vars.el: Remove (probably) misleading comment
2862 (bug#4396).
2863
460c0fba
JB
28642011-07-12 Johan Bockgård <bojohan@gnu.org>
2865
2866 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2867
7a6bda45
CY
28682011-07-12 Chong Yidong <cyd@stupidchicken.com>
2869
2870 * mouse-sel.el: Hack restoring functionality, while keeping
2871 compatibility with 2010-07-03 changes to mouse selection.
2872 (mouse-sel-primary-overlay): New var.
2873 (mouse-sel-selection-alist): Use it.
2874 (mouse-sel-mode): Doc fix; remove points that are default features
2875 of mouse.el.
2876
c79598ef
JB
28772011-07-12 Johan Bockgård <bojohan@gnu.org>
2878
2879 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2880 Fix previous fix (bug#2490).
2881
ff8be6ef
RW
28822011-07-12 Roland Winkler <winkler@gnu.org>
2883
b796c9b7
SM
2884 * textmodes/bibtex.el (bibtex-initialize):
2885 Use pop-to-buffer-same-window.
ff8be6ef
RW
2886 (bibtex-search-entries): Fix interactive call.
2887
296ba3ee
LMI
28882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2889
f5242a02 2890 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2891 Fontise bytecomp Error lines more correctly (bug#2490).
2892 Fix suggested by Johan Bockgård.
f5242a02 2893
296ba3ee
LMI
2894 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2895
2896 * dired-x.el (dired-guess-default): Use `delete-dups'.
2897
f69fd0d2
CY
28982011-07-12 Chong Yidong <cyd@stupidchicken.com>
2899
2900 * dired.el (dired-mark-prompt):
2901 * dired-aux.el (dired-read-shell-command): Doc fix.
2902
eab5dc07
LMI
29032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2904
b796c9b7
SM
2905 * mail/sendmail.el (sendmail-query-once):
2906 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2907 emacs -Q.
2908
2909 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2910
eab5dc07
LMI
2911 * cus-edit.el (custom-file): Take an optional no-error variable.
2912 (customize-save-variable): Set the variable, and give a warning if
2913 running under "emacs -q".
2914
a1e65d42
JB
29152011-07-11 Juanma Barranquero <lekktu@gmail.com>
2916
2917 * loadhist.el (unload-feature-special-hooks):
2918 Add `auto-coding-functions', `fill-nobreak-predicate' and
2919 `find-directory-functions' (bug#5327).
2920
1d52da10
LMI
29212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2922
be958f1d
LMI
2923 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2924
5bedb26c
LMI
2925 * cus-edit.el (custom-guess-name-alist): -alist variables should
2926 use the `alist' type (bug#3120). Suggested by Drew Adams.
2927
1d52da10
LMI
2928 * printing.el: Add documentation to all the `pr-toggle-' commands.
2929
481a51b6
LL
29302011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2931
2932 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2933 backends where it makes sense (bug#2623).
2934
dcc88d8a
LMI
29352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2936
c3de9feb
LMI
2937 * dired-x.el (dired-guess-default): Remove duplicate shell command
2938 entries (bug#2028).
8a93078b 2939 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2940 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2941
dcc88d8a
LMI
2942 * subr.el (remove-duplicates): New conveniency function.
2943
505e3645
LMI
29442011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2945
2946 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2947 (bug#1526).
2948
29492011-07-10 Martin Rudalics <rudalics@gmx.at>
2950
2951 * window.el (display-buffer-normalize-default): Don't invert
2952 meaning of even-window-heights. Reported by Eli Zaretskii
2953 <eliz@gnu.org>.
2954
455e4fa1
BR
29552011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2956
2957 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2958
8e0bc3e9
CY
29592011-07-10 Chong Yidong <cyd@stupidchicken.com>
2960
2961 * window.el (display-buffer): Fix arguments to
2962 display-buffer-reuse-window in last change.
2963
fa7c3228
CY
2964 * faces.el (link): Use a less saturated blue on light backgrounds.
2965
2966 * startup.el (fancy-startup-text, fancy-about-text)
2967 (fancy-startup-tail): Use font-lock faces, for background safety.
2968
c0a7f300
BN
29692011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2970
b796c9b7
SM
2971 * emulation/viper-cmd.el (viper-change-state-to-vi):
2972 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2973
4dc2a129
MR
29742011-07-09 Martin Rudalics <rudalics@gmx.at>
2975
2976 * window.el (display-buffer-default-specifiers): Remove.
2977 (display-buffer-macro-specifiers): Remove default specifiers.
2978 (display-buffer-alist): Default to nil.
b796c9b7 2979 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2980 (display-buffer-pop-up-window): Allow splitting internal
2981 windows. Check whether a live window was created.
2982 (display-buffer-other-window-means-other-frame)
2983 (display-buffer-normalize-arguments): Rename to
2984 display-buffer-normalize-argument and rewrite. Set the
2985 other-window specifier.
2986 (display-buffer-normalize-special): New function.
2987 (display-buffer-normalize-options): Rename to
2988 display-buffer-normalize-default and rewrite.
2989 (display-buffer-normalize-options-inhibit): Remove.
2990 (display-buffer-normalize-specifiers): Rewrite.
2991 (display-buffer): Process other-window specifier and call
2992 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2993 more faithfully.
b796c9b7 2994 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2995 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2996 (display-buffer-in-window, display-buffer-alist-set):
2997 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2998 <tassilo@member.fsf.org>.
2999
2d43b8c9
LL
30002011-07-09 Leo Liu <sdl.web@gmail.com>
3001
3002 * register.el (insert-register): Restore accidental change on
3003 2011-06-26. (Bug#9028)
3004
7f9b7c53
GM
30052011-07-09 Glenn Morris <rgm@gnu.org>
3006
3007 * subr.el (remq): Handle the empty list. (Bug#9024)
3008
f042cfd8
AS
30092011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3010
3011 * mail/sendmail.el (send-mail-function): No longer delay custom
3012 initialization.
3013 * custom.el (custom-initialize-delay): Doc fix.
3014
856b2f11
SM
30152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3016
3017 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3018
afae1d68
MA
30192011-07-08 Michael Albinus <michael.albinus@gmx.de>
3020
3021 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3022 human-friendly prompt.
3023
0757af94
SM
30242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3027 provided by a particular plugin.
3028
d760b731
LMI
30292011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3030
3031 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3032 save customizations (with "emacs -Q"), just set the variable
3033 instead of erroring out.
3034
3035 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3036
cd79ce90
JL
30372011-07-08 Juri Linkov <juri@jurta.org>
3038
3039 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3040 (archive-zip-update-case): Use 7z if found by `executable-find'.
3041 The order of searching the available programs is the same as in
3042 `archive-zip-extract' (bug#8968).
3043
14cc04aa
CY
30442011-07-07 Chong Yidong <cyd@stupidchicken.com>
3045
3046 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3047 (menu-bar-options-menu): Tweak descriptions.
3048
0a1848ec
LMI
30492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3050
3051 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3052 menu items into verb phrases (bug#1421). Also refill to fit under
3053 80 columns.
3054
f5bd0689
CY
30552011-07-07 Chong Yidong <cyd@stupidchicken.com>
3056
538e85c6
CY
3057 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3058 (Info-read-node-name): Doc fix (Bug#1084).
3059
f5bd0689
CY
3060 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3061 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3062 (end-of-sexp, beginning-of-sexp)
3063 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3064 (forward-symbol, forward-same-syntax, word-at-point)
3065 (sentence-at-point): Doc fix (Bug#1144).
3066
56ec5115
LMI
30672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3068
f3f8e37f
LMI
3069 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3070 should cover it (bug#1281).
3071
0757af94 3072 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3073
12b9eb35
LMI
3074 * net/network-stream.el (network-stream-open-starttls): If gnutls
3075 negotiation fails, then possibly try again with a non-encrypted
3076 connection (bug#9017).
3077
56ec5115
LMI
3078 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3079 be used.
3080
c2f9aec8
RS
30812011-07-07 Richard Stallman <rms@gnu.org>
3082
3083 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3084 property, and handle its changed format.
3085 Look for the correct line number.
3086 Use file's line contents (but not past first =) to find
3087 correct line in message.
3088
ef7b981d 30892011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3090
3091 * international/characters.el (build-unicode-category-table):
3092 Delete it.
0757af94 3093 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3094
0757af94 3095 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3096 to src/chartab.c.
3097 (get-char-code-property): Call unicode-property-table-internal to
3098 load a file. Call get-unicode-property-internal where necessary.
3099 (put-char-code-property): Call unicode-property-table-internal to
3100 load a file. Call put-unicode-property-internal where necessary.
3101 put-unicode-property-internal where necessary.
0757af94
SM
3102 (char-code-property-description):
3103 Call unicode-property-table-internal to load a file.
c805dec0
KH
3104
3105 * international/charprop.el:
3106 * international/uni-bidi.el:
3107 * international/uni-category.el:
3108 * international/uni-combining.el:
3109 * international/uni-comment.el:
3110 * international/uni-decimal.el:
3111 * international/uni-decomposition.el:
3112 * international/uni-digit.el:
3113 * international/uni-lowercase.el:
3114 * international/uni-mirrored.el:
3115 * international/uni-name.el:
3116 * international/uni-numeric.el:
3117 * international/uni-old-name.el:
3118 * international/uni-titlecase.el:
3119 * international/uni-uppercase.el: Regenerate.
3120
3121 * loadup.el: Load international/charprop.el before
3122 international/characters.
3123
e14b388a
CY
31242011-07-07 Chong Yidong <cyd@stupidchicken.com>
3125
3126 * window.el (next-buffer, previous-buffer): Signal an error if
3127 called from a minibuffer window.
3128
3129 * bindings.el: Revert 2011-07-04 change.
3130
354cf0ba
RS
31312011-07-06 Richard Stallman <rms@gnu.org>
3132
3133 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3134 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3135 Treat markers like ints.
3136 (rmail-mime-entity): Doc fix.
3137
a48868a7
LMI
31382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3139
4906cd3d
LMI
3140 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3141 defcustom again for backwards compatibility.
3142
e0457abe
LMI
3143 * simple.el (shell-command-on-region): Fill.
3144
d67f7e1f
LMI
3145 * dired-aux.el (dired-kill-line): Add a doc string.
3146
fe204702
LMI
3147 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3148 to "\\sw\\|\\s_" (bug#358).
3149
a48868a7
LMI
3150 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3151 (dired-unmark-backward): Ditto.
3152 (dired-flag-backup-files): Ditto.
3153
3154 * dired-x.el (dired-mark-sexp): Ditto.
3155
aa8a705c
RS
31562011-07-06 Richard Stallman <rms@gnu.org>
3157
3158 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3159 (rmail-mime-entity): New arg TRUNCATED.
3160 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3161 New functions.
3162 (rmail-mime-save): Warn if entity is truncated.
3163 (rmail-mime-toggle-hidden): Likewise, for showing.
3164 (rmail-mime-process-multipart): Record when an entity is truncated.
3165
a9a936b9
RS
3166 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3167 if ENTITY is a string.
3168
1f2b92cb
LMI
31692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3170
f4f73198 3171 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3172 of faces when `M-C-x'-ing their definitions (bug#8378).
3173 Also clean up the code slightly.
f4f73198 3174
12b16734
LMI
3175 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3176 because that makes the colours go away.
3177
f0691d22
LMI
3178 * mail/sendmail.el (send-mail-function): Change the default to
3179 `sendmail-query-once'.
9e87df06 3180 (sendmail-query-once): Add an autoload cookie.
f0691d22 3181
1f2b92cb
LMI
3182 * net/network-stream.el (network-stream-open-starttls): Try using
3183 a plain connection even if the server offered STARTTLS, and we
3184 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3185 capability. This should make smtpmail.el work in slightly more
3186 configurations.
3187
1cdd2a1b
MA
31882011-07-06 Michael Albinus <michael.albinus@gmx.de>
3189
3190 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3191 New defun.
3192 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3193
fbcc67e2
MM
31942011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3195
3196 * progmodes/sql.el: Version 3.0
0757af94 3197 (sql-product-alist): Add product :completion-object,
fbcc67e2 3198 :completion-column, and :statement attributes.
0757af94 3199 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3200 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3201 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3202 ansi keywords.
3203 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3204 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3205 (sql-oracle-show-reserved-words): New function for development.
3206 (sql-product-font-lock): Simplify for source code buffers.
3207 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3208 New functions.
3209 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3210 (sql-mode-map): Add statement movement functions.
3211 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3212 New variable.
fbcc67e2
MM
3213 (sql-statement-regexp, sql-beginning-of-statement)
3214 (sql-end-of-statement, sql-signum): New functions.
0757af94 3215 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3216 (sql-show-sqli-buffer): Bug fix.
3217 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3218 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3219 with sql-interactive-mode.
3220 (sql-save-connection): Save buffer local settings.
0757af94 3221 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3222 (sql-product-interactive): Bug fix.
3223 (sql-preoutput-hold): New variable.
3224 (sql-interactive-remove-continuation-prompt): Bug fixes.
3225 (sql-debug-redirect): New variable.
3226 (sql-str-literal): New function.
3227 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3228 Redesign.
fbcc67e2
MM
3229 (sql-oracle-save-settings, sql-oracle-restore-settings)
3230 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3231 (sql-completion-object, sql-completion-column)
3232 (sql-completion-sqlbuf): New variables.
3233 (sql-build-completions-1, sql-build-completions)
3234 (sql-try-completion): New functions.
3235 (sql-read-table-name): Use them.
3236 (sql-contains-names): New buffer local variable.
3237 (sql-list-all, sql-list-table): Use it.
3238 (sql-oracle-completion-types): New variable.
3239 (sql-oracle-completion-object, sql-sqlite-completion-object)
3240 (sql-postgres-completion-object): New functions.
3241
d4eaeab1
GM
32422011-07-06 Glenn Morris <rgm@gnu.org>
3243
3244 * window.el (pop-to-buffer): Doc fix.
3245
322b7dab 32462011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3247
3248 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3249
322b7dab 32502011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3251
322b7dab 3252 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3253
322b7dab 3254 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3255
605dd5bf
CY
32562011-07-05 Chong Yidong <cyd@stupidchicken.com>
3257
3258 * button.el (button): Inherit from link face. Suggested by Dan
3259 Nicolaescu.
3260
7dbfa719
SM
32612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3db614b0
SM
3263 * progmodes/gdb-mi.el: Fit in 80 columns.
3264 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3265 switch-to-buffer.
3266
7dbfa719
SM
3267 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3268 if imenu is simply not configured (bug#8941).
3269
919d884a
KM
32702011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3271
3272 * allout.el (allout-post-undo-hook): New allout outline-change
3273 event hook to signal undo activity.
3274 (allout-post-command-business): Run allout-post-undo-hook if an
3275 undo just occurred.
7dbfa719
SM
3276 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3277 * allout-widgets.el (allout-widgets-after-undo-function):
3278 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3279 in the vicinity of an undo.
3280 (allout-widgets-mode): Include allout-widgets-after-undo-function
3281 on the new allout-post-undo-hook.
3282
450a0f09
SM
32832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3284
3285 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3286 Let define-derived-mode define it.
3287 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3288 cycles of abbrev-table inheritance (bug#8998).
3289
2de69e00
RW
32902011-07-05 Roland Winkler <winkler@gnu.org>
3291
3292 * textmodes/bibtex.el: Add support for biblatex.
3293 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3294 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3295 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3296 (bibtex-entry-alist, bibtex-field-alist): New variables.
3297 (bibtex-entry-field-alist): Obsolete alias for
3298 bibtex-BibTeX-entry-alist.
3299 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3300 (bibtex-set-dialect): New command.
3301 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3302 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3303 Bind via bibtex-set-dialect.
2de69e00
RW
3304 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3305 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3306 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3307 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3308 Define via bibtex-set-dialect.
450a0f09
SM
3309 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3310 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3311 (bibtex-vec-push, bibtex-vec-incr): New functions.
3312 (bibtex-format-entry, bibtex-field-list)
3313 (bibtex-print-help-message, bibtex-validate)
3314 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3315
2dcdbdd9
SM
33162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * progmodes/compile.el (compilation-goto-locus):
3319 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3320 * bs.el (bs-cycle-next, bs-cycle-previous):
3321 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3322 * bindings.el (mode-line-other-buffer):
3323 * autoinsert.el (auto-insert):
3324 * arc-mode.el (archive-extract):
3325 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3326
b27640fe
JB
33272011-07-05 Juanma Barranquero <lekktu@gmail.com>
3328
3329 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3330 Fix check of `emacs-lock-unlockable-modes'.
3331 Coerce true values of `emacs-lock--try-unlocking' to t.
3332
53bbe3ad
JB
33332011-07-05 Juanma Barranquero <lekktu@gmail.com>
3334
3335 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3336 * emacs-lock.el: New file.
3337
1d3cdbc7
JD
33382011-07-05 Julien Danjou <julien@danjou.info>
3339
3340 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3341 than `boundp' to check if face is set.
3342
9173deec
JB
33432011-07-05 Juanma Barranquero <lekktu@gmail.com>
3344
3345 * register.el (registerv-make):
3346 * window.el (window-min-height): Fix typos in docstrings.
3347
869795d6
JD
33482011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3349
9173deec 3350 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3351 Update doc string.
3352
b768cdcd
JB
33532011-07-04 Juanma Barranquero <lekktu@gmail.com>
3354
3355 * server.el (server-execute): Catch quit and call
3356 `server-return-error' to pass the error back to emacsclient and
3357 close the connection (bug#8942).
3358
13aa217b
KM
33592011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3360
3361 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3362 insecure exception for current topic. Also note that auto-saves
3363 are handled differently.
3364
3365 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3366 State variables for tracking auto-save inhibition situation.
3367
3368 (allout-write-contents-hook-handler): Rename from
3369 'allout-write-file-hook-handler', and describe how it depends on
3370 write-contents-functions sensitivity to non-nil value to prevent
3371 file write.
3372
3373 (allout-auto-save-hook-handler): Remove. auto-save does not check
3374 this in individual buffers, only in the starting buffer, so this
3375 is not the right way for us to inhibit auto-save in a buffer
3376 according to its condition.
3377
3378 (allout-mode): Use new allout-write-contents-hook-handler, and
3379 only with write-contents-functions. Remove auto-save provisions -
3380 they're implemented elsewhere.
3381
3382 (allout-before-change-handler): If undo is in progress, note that
3383 for attention of allout-post-command-business.
3384
3385 (allout-post-command-business): If the command we're following was
3386 an undo, check for change in the status of encrypted items and
3387 adjust auto-save inhibitions accordingly.
3388
3389 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3390 according to whether there are or aren't any plain-text topics
3391 pending encryption.
3392
2dcdbdd9
SM
3393 (allout-inhibit-auto-save-info-for-decryption):
3394 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3395 there are plain-text topics pending encryption.
3396
3397 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3398 buffer-saved-size and some allout state to not inhibit auto-saves
3399 if there are no longer any plain-text topics pending encryption.
3400
0757af94
SM
3401 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3402 No longer provide for exemption of the current topic.
13aa217b 3403
ac89b32c
JL
34042011-07-04 Juri Linkov <juri@jurta.org>
3405
3406 Add 7z operations to delete and save changed members (bug#8968).
3407 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3408 New defcustoms.
3409 (archive-7z-write-file-member): New function.
3410 (archive-7z-summarize): Fix the number of dashes in the
3411 listing output.
3412
8fa39615
SM
34132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3416 (bug#8958).
3417
2f11b3f1
CY
34182011-07-04 Chong Yidong <cyd@stupidchicken.com>
3419
d66fef2b
CY
3420 * bindings.el: Ignore next-buffer and previous-buffer in
3421 minibuffer-local-map.
3422
2f11b3f1
CY
3423 * font-lock.el (font-lock-builtin-face): Change light background
3424 color to dark slate blue (Bug#6693).
3425
f932a347
WD
34262011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3427
3428 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3429
c8af70e1
SM
34302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3431
3432 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3433 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3434 Add switch-to-buffer.
3435
f158badc
LMI
34362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3437
3438 * isearch.el (isearch-search-fun-function): Clarify further the
3439 meaning of the function returned.
3440
6d95bd46
MA
34412011-07-04 Michael Albinus <michael.albinus@gmx.de>
3442
3443 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3444
3445 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3446 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3447 Use it.
3448 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3449 `tramp-default-remote-path' does not exist.
3450 (tramp-send-command-and-read): New optional argument NOERROR.
3451 (tramp-open-connection-setup-interactive-shell)
3452 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3453 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3454 (tramp-process-sentinel): Flush also process' connection property.
3455 (tramp-sh-handle-start-file-process): Do not set process
3456 sentinel. It is done now ...
3457 (tramp-maybe-open-connection): ... here. (Bug#8929)
3458
909e6b67
MK
34592011-07-04 MON KEY <monkey@sandpframing.com>
3460
3461 * play/animate.el (animate-string): Doc fixes and allow changing
3462 the buffer name (bug#5417).
3463
34642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3465
c8af70e1 3466 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3467
f34755dc
PE
34682011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3469
396cec72
PE
3470 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3471 This is simpler and helps future-proof the code.
3472 (timer-until): Use time-subtract and float-time.
08235028 3473 (timer--time-less-p): Use time-less-p.
f34755dc 3474
56e6cc31
JB
34752011-07-04 Juanma Barranquero <lekktu@gmail.com>
3476
3abb79e5
JB
3477 * type-break.el (timep): Use the value of `float-time' to avoid a
3478 byte-compiler warning.
3479
56e6cc31
JB
3480 * server.el (server-eval-and-print): Return any result, even nil.
3481
7b9430b4
PE
34822011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3483
3484 * type-break.el: Accept time formats that the builtins accept.
3485 (timep, type-break-time-difference): Accept any format that
3486 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3487 This is simpler and helps future-proof the code.
3488 (type-break-time-difference): Round rather than ignoring
3489 subseconds components.
3490
3034e9e7
LMI
34912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3492
3493 * info.el (Info-apropos-matches): Make non-interactive, since it
3494 doesn't seem to do anything useful as a command (bug#8829).
3495
1485f4c0
CY
34962011-07-03 Chong Yidong <cyd@stupidchicken.com>
3497
3498 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3499 Move from faces.el.
1485f4c0
CY
3500 (frame-default-terminal-background): New function.
3501
3502 * custom.el (custom-push-theme): Don't record faces in `changed'
3503 theme; this doesn't work correctly for per-frame face settings.
3504 (disable-theme): Use face-set-after-frame-default to reset faces.
3505 (custom--frame-color-default): New function.
3506
9fa3dd45
LMI
35072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3508
c8af70e1 3509 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3510 (bug#8769).
3511
6cbbc20c
KR
35122011-03-29 Kevin Ryde <user42@zip.com.au>
3513
3514 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3515 `perl-Test2' extend to match possible "fail #N" rep count
3516 (bug#8377).
3517
c7f98048
LMI
35182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3519
65676592
LMI
3520 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3521 `smtpmail-via-smtp' now returns the error instead of nil.
3522
c7f98048
LMI
3523 * isearch.el (isearch-search-fun-function): Clarify the doc string
3524 (bug#8101).
3525
56e6cc31 35262011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3527
3528 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3529 unnecessary spaces (bug#8987).
3530
2b216704
LMI
35312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3532
3533 * net/network-stream.el (open-network-stream): Use the
3534 :end-of-capability command thoughout.
3535
35362011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3537
3538 * net/network-stream.el (open-network-stream): Add the
3539 :end-of-capability command parameter, used by pop3.el.
3540
36adf6ce
LMI
35412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3542
1ca0da0e
LMI
3543 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3544
fc00f69c
LMI
3545 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3546 for list)" (bug#6475).
3547
28fd8759
LMI
3548 * files.el (file-expand-wildcards): Ignore non-readable
3549 sub-directories while trying to find matches instead of signalling
3550 an error (bug#6297).
3551
0dd8b6da
LMI
3552 * man.el (Man-reference-regexp): Allow matching possible
3553 word-wrapped references (bug#6289).
3554
ce1438d6
LMI
3555 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3556 for consistency with the other vc buffers (bug#6197).
3557 (vc-checkin): Ditto.
3558
3559 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3560
36adf6ce
LMI
3561 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3562
e83cc1f7
LMI
35632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3564
8a20ca4c
LMI
3565 * custom.el (defcustom): Clarify that :set is only used in the
3566 Customize user interface (bug#6089).
3567
83319045
LMI
3568 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3569 associated with a file, refuse to run instead of erroring out
3570 (bug#6084).
3571
a8392169
LMI
3572 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3573 the doc string, since it appears that using `fill-column' always
3574 controls the width (bug#7845).
3575
e83cc1f7
LMI
3576 * simple.el (shell-command-on-region): Say where the error output
3577 went if `shell-command-default-error-buffer' is set (bug#6857).
3578
e47ca23b
KM
35792011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3580
3581 * allout.el (allout-yank-processing): Adjust cursor position for
3582 backwards-deleted space.
3583
3584 (allout-rebullet-heading): Register changes with
3585 allout-exposure-changed-hook, so the modified topic is properly
3586 decorated.
3587
5cf56143
LMI
35882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3589
08549772
LMI
3590 * minibuffer.el (completion-in-region): Document PREDICATE
3591 (bug#7136).
3592
48e96771
LMI
3593 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3594 of keyword/argument pairs (bug#6904).
3595
c8af70e1
SM
3596 * replace.el (multi-occur):
3597 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3598
e17d05e2
LMI
35992011-07-02 Drew Adams <drew.adams@oracle.com>
3600
3601 * dired.el (dired-mark-if): Make the message about whether it's
3602 marking or unmarking clearer (bug#8523).
3603
063b0e45
LMI
36042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3605
3606 * disp-table.el (display-table-print-array): New function.
3607 (describe-display-table): Use it to print the vectors more pretty
3608 (Bug#8859).
3609
28545e04
MR
36102011-07-02 Martin Rudalics <rudalics@gmx.at>
3611
3612 * window.el (window-state-get-1): Don't assign clone numbers.
3613 Add clone-of item to list of window parameters.
3614 (window-state-put-2): Don't process clone numbers.
3615 (display-buffer-alist): Fix doc-string.
3616
3349e122
SM
36172011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3618
3619 * subr.el (remq): Don't allocate if it's not needed.
3620 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3621 (keymap--merge-bindings): New functions.
3622 (keymap-canonicalize): Use them to refine the canonicalization.
3623 * minibuffer.el (minibuffer-local-completion-map)
3624 (minibuffer-local-must-match-map): Move initialization from C.
3625 (minibuffer-local-filename-completion-map): Move initialization from C;
3626 don't inherit from anything here.
3627 (minibuffer-local-filename-must-match-map): Make obsolete.
3628 (completing-read-default): Use make-composed-keymap to combine
3629 minibuffer-local-filename-completion-map with either
3630 minibuffer-local-must-match-map or
3631 minibuffer-local-filename-completion-map.
3632
d224ac83
GM
36332011-07-01 Glenn Morris <rgm@gnu.org>
3634
3de63bf8
GM
3635 * type-break.el (type-break-time-sum): Use dolist.
3636
d224ac83
GM
3637 * textmodes/flyspell.el (flyspell-word-search-backward):
3638 Replace CL function.
3639
1a1e3f32
SM
36402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3641
fe3f64d5
SM
3642 * mouse.el (mouse--strip-first-event): New function.
3643 (function-key-map): Use it to map fringe clicks to normal clicks
3644 by default.
3645
eb604e34
SM
3646 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3647 (vc-bzr-revision-completion-table): Add support for annotate and date.
3648
1a1e3f32
SM
3649 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3650 inherit from parent.
3651
5bd35902
LMI
36522011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3653
ace6c69c 3654 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3655 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3656
191e2bed
LMI
3657 * dired.el (dired-mode): Fix up the doc string as suggested by
3658 Drew Adams (bug#8817).
3659
5bd35902
LMI
3660 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3661 cookie, since the manual says that it should be possible to add
3662 this function to `find-file-hook' (bug#8709).
3663
eee8207a
TZ
36642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3665
3666 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3667 here. Noted Ted Zlatanov as the maintainer.
3668 (cfengine-common-settings, cfengine-common-syntax): New functions
3669 to set up common things between `cfengine-mode' and
3670 `cfengine3-mode'.
3671 (cfengine3-mode): New mode.
3672 (cfengine3-defuns cfengine3-defuns-regex
3673 (cfengine3-class-selector-regex cfengine3-category-regex)
3674 (cfengine3-vartypes cfengine3-font-lock-keywords)
3675 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3676 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3677
36b148cf
MA
36782011-07-01 Michael Albinus <michael.albinus@gmx.de>
3679
3680 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3681
3682 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3683
0bf4ba9a
MR
36842011-07-01 Martin Rudalics <rudalics@gmx.at>
3685
3686 * window.el (same-window-buffer-names, same-window-regexps)
3687 (same-window-p, special-display-frame-alist)
3688 (special-display-popup-frame, special-display-function)
3689 (special-display-buffer-names, special-display-regexps)
3690 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3691 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3692 (split-window-preferred-function, split-height-threshold)
3693 (split-width-threshold, even-window-heights)
3694 (display-buffer-mark-dedicated, window-splittable-p)
3695 (split-window-sensibly, window-safely-shrinkable-p):
3696 Un-obsolete.
3697 (display-buffer): Don't spread args with function specifier
3698 because special-display-popup-frame won't like it.
3699
35837f51
PE
37002011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3701
d0672f86
PE
3702 Time-stamp simplifications and fixes.
3703 These improve accuracy slightly, and future-proof the code
3704 against some potential changes to current-time format.
3705
b9444d97
PE
3706 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3707 by using time-since and float-time.
3708
0ef923dc
PE
3709 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3710 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3711 + NNN microseconds".
3712
2f81380d
PE
3713 * type-break.el (type-break-time-sum): Rewrite using time-add.
3714
845b5c3e
PE
3715 * play/hanoi.el (hanoi-current-time-float): Remove.
3716 All uses replaced by float-time.
3717
ee6f1be0
PE
3718 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3719 This yields a more-accurate answer.
3720 (rng-time-to-float): Remove; no longer needed.
3721
fe955043
PE
3722 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3723
5777162a
PE
3724 * calendar/timeclock.el (timeclock-seconds-to-time):
3725 Defalias to seconds-to-time, since they're the same thing.
3726
3103f8b6 3727 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3728 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3729 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3730
0e61a35f
SM
37312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3732
3733 * window.el (bury-buffer): Don't iconify the only frame.
3734 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3735 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3736
ddd63a1e
CY
37372011-07-01 Chong Yidong <cyd@stupidchicken.com>
3738
0e61a35f
SM
3739 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3740 Add mouse-yank-primary.
ddd63a1e 3741
055f4923
TZ
37422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3743
3744 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3745
6a2fb145
SM
37462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3747
3748 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3749 (find-library-name): Use it to find relative load names when provided
3750 absolute file name (bug#8803).
3751
fd4983f2
LMI
37522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3753
887d14ad
LMI
3754 * textmodes/flyspell.el (flyspell-word): Consider words that
3755 differ only in case as potential doublons (bug#5687).
3756
c53dc7fc
LMI
3757 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3758 Remove two rather uninteresting debugging-like messages to make
3759 debbugs.el more silent.
3760
fd4983f2
LMI
3761 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3762 a password-like phrase.
3763
b14c0c55
AM
37642011-06-30 Mastake YAMATO <yamato@redhat.com>
3765
3766 * progmodes/cc-guess.el: New file.
3767
6a2fb145 3768 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3769
3770 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3771 derived from `c-basic-common-init'.
3772
3773 * progmodes/cc-mode.el (top-level): Require cc-guess.
3774 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3775
1fa280a3
LM
37762011-06-30 Lawrence Mitchell <wence@gmx.li>
3777
3778 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3779
e6597158
AM
37802011-06-30 Alan Mackenzie <acm@muc.de>
3781
1fa280a3
LM
3782 * progmodes/cc-engine.el (c-guess-continued-construct):
3783 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3784 lock is disabled. Name this case as "CASE G".
3785
68ba37fb
KM
37862011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3787
3788 * allout.el (allout-yank-processing): Fix injection of extra space
3789 between bullet and non-whitespace character in first topic when
3790 pasting, ensuring that the actual spacing in the pasted topic
3791 following the bullet char is preserved. This extra space was
3792 causing pasted encrypted topics to get a decrypted status even
3793 when the content was actually still encrypted. Now the decryption
3794 status from before the paste is preserved.
3795
3796 (allout-flag-region): Set all allout overlays so they evaporate
3797 when reduced to zero length (evanescent), to prevent overlay
3798 leakage.
3799
887a0b34
GM
38002011-06-30 Glenn Morris <rgm@gnu.org>
3801
94b9acce
GM
3802 * w32-fns.el (w32-charset-info-alist): Declare.
3803
1d9b46d4
GM
3804 * find-dired.el (find-grep-options): Simplify.
3805
cc232200
GM
3806 * term/ns-win.el (ns-set-resource): Declare.
3807
28e77c46
GM
3808 * ses.el (row, col): Declare dynamic variables honestly.
3809
887a0b34
GM
3810 * textmodes/reftex-parse.el (index-tags): Declare.
3811
658d8eb8
CY
38122011-06-30 Chong Yidong <cyd@stupidchicken.com>
3813
3814 * cus-edit.el (customize-push-and-save): New function.
3815
3816 * files.el (hack-local-variables-confirm): Use it.
3817
1fa280a3
LM
3818 * custom.el (load-theme): New arg NO-CONFIRM.
3819 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3820 (custom-enabled-themes): Doc fix.
3821
3822 * cus-theme.el (customize-create-theme)
3823 (custom-theme-merge-theme): Callers to load-theme changed.
3824
bb617717
LMI
38252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3826
d61bdd5d
LMI
3827 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3828 short URLs have at least one dot in them (bug #7614).
3829
bb617717
LMI
3830 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3831 nil, because using a pty is apparently too slow (bug #895).
3832
2f31f37a
LMI
38332011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3834
3835 * mail/sendmail.el (sendmail-query-once): New function.
3836 (sendmail-query-once-function): New variable.
3837
3076b24e
GM
38382011-06-29 Glenn Morris <rgm@gnu.org>
3839
faf2a174
GM
3840 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3841
3076b24e
GM
3842 * ses.el (top-level): Require cl when compiling.
3843 (ses-set-localvars): Fix error statement.
3844 Call it at compile time to silence a storm of warnings.
3845
5386012d
MR
38462011-06-29 Martin Rudalics <rudalics@gmx.at>
3847
3848 * window.el (normalize-live-buffer): Rename to
3849 window-normalize-buffer.
3850 (normalize-live-frame): Rename to window-normalize-frame.
3851 (normalize-any-window): Rename to window-normalize-any-window.
3852 (normalize-live-window): Rename to window-normalize-live-window.
3853 (make-window-atom): Rename to window-make-atom.
3854 (window-resize-reset): Rename to window--resize-reset.
3855 (window-resize-reset-1): Rename to window--resize-reset-1.
3856 (resize-mini-window): Rename to window--resize-mini-window.
3857 (resize-subwindows-skip-p): Rename to
3858 window--resize-subwindows-skip-p.
3859 (resize-subwindows-normal): Rename to
3860 window--resize-subwindows-normal.
3861 (resize-subwindows): Rename to window--resize-subwindows.
3862 (resize-other-windows): Rename to window--resize-siblings.
3863 (resize-this-window): Rename to window--resize-this-window.
3864 (resize-root-window): Rename to window--resize-root-window.
3865 (resize-root-window-vertically): Rename to
3866 window--resize-root-window-vertically.
3867 (normalize-buffer-to-display): Rename to
3868 window-normalize-buffer-to-display.
3869 (normalize-buffer-to-switch-to): Rename to
3870 window-normalize-buffer-to-switch-to.
3871 Correspondingly update all callers of the functions listed
3872 above.
3873 (display-buffer-alist, display-buffer-normalize-arguments)
3874 (display-buffer-normalize-options, display-buffer)
3875 (display-buffer-alist-set): Use "function" instead of
3876 "fun-with-args".
3877
1176868d
CY
38782011-06-28 Chong Yidong <cyd@stupidchicken.com>
3879
3880 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3881 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3882 debbugs.gnu.org. Mention acknowledgment email.
3883
20a7a65f
LMI
38842011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3885
3886 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3887 buffer multibyteness, since it shouldn't matter.
3888
5f45cca5
MR
38892011-06-28 Martin Rudalics <rudalics@gmx.at>
3890
3891 * window.el (display-buffer-in-side-window): Handle dedicated
3892 windows as in display-buffer-reuse-window.
3893 (display-buffer-normalize-alist): Use value of override
3894 specifier.
3895 (display-buffer-normalize-specifiers): Use value of
3896 other-window-means-other-frame specifier.
3897 (display-buffer-alist): Rewrite some texts in widgets.
3898 (display-buffer): Spread arguments when calling function
3899 specified by fun-with-args.
3900
ad85fe1f
DD
39012011-06-28 Deniz Dogan <deniz@dogan.se>
3902
1fa280a3
LM
3903 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3904 Unnest `let'.
da68c4c8 3905
ad85fe1f
DD
3906 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3907 selectors (Bug#5732).
ec49bd31 3908 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3909
a08cc025
JA
39102011-06-27 Jari Aalto <jari.aalto@cante.net>
3911
3912 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3913 (eshell-ls-date-format): New defcustom.
3914 (eshell-ls-file): Use it.
3915
e2b551c5
SM
39162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3919
8982b231
KY
39202011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3921
3922 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3923 (ange-ftp-make-tmp-name): New arg.
3924 (ange-ftp-file-local-copy): Use it.
3925
36c9fa27
J
39262011-06-27 Jambunathan K <kjambunathan@gmail.com>
3927
3928 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3929 no-conversion (Bug#8870).
3930
d68443dc
MR
39312011-06-27 Martin Rudalics <rudalics@gmx.at>
3932
3933 * window.el (window-right, window-left, window-child)
3934 (window-child-count, window-last-child)
3935 (window-iso-combination-p, walk-window-tree-1)
3936 (window-atom-check-1, window-tree-1, delete-window)
3937 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3938 new naming conventions - window-vchild, window-hchild,
3939 window-next and window-prev are now called window-top-child,
3940 window-left-child, window-next-sibling and window-prev-sibling
3941 respectively.
d615d6d2
MR
3942 (resize-window-reset): Rename to window-resize-reset.
3943 (resize-window-reset-1): Rename to window-resize-reset-1.
3944 (resize-window): Rename to window-resize.
3945 (window-min-height, window-min-width)
3946 (resize-mini-window, resize-this-window, resize-root-window)
3947 (resize-root-window-vertically, adjust-window-trailing-edge)
3948 (enlarge-window, shrink-window, maximize-window)
3949 (minimize-window, delete-window, quit-restore-window)
3950 (split-window, balance-windows, balance-windows-area-adjust)
3951 (balance-windows-area, window-state-put-2)
3952 (display-buffer-even-window-sizes, display-buffer-set-height)
3953 (display-buffer-set-width, set-window-text-height)
3954 (fit-window-to-buffer): Rename all "resize-window" prefixed
3955 calls to use the "window-resize" prefix convention.
3956 (display-buffer-alist): Fix symbol for label specifier.
3957 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3958 corresponding specifier.
3959 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3960
b6458526
VB
39612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3962
3963 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3964 convention.
3965 (ses-call-printer): Does not pass an empty string to formatter when the
3966 cell is empty to keep from barking printer Calc math-format-value.
3967
d31fd9ac
RS
39682011-06-27 Richard Stallman <rms@gnu.org>
3969
43d5bf84
RS
3970 * battery.el (battery-mode-line-limit): New variable.
3971 (battery-update): Handle it.
3972
d31fd9ac
RS
3973 * mail/rmailmm.el (rmail-mime-process-multipart):
3974 Handle truncated messages.
3975
819a6054
GM
39762011-06-27 Glenn Morris <rgm@gnu.org>
3977
3978 * progmodes/flymake.el (flymake-err-line-patterns):
3979 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3980
cedc73f2
VB
39812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3982
819a6054 3983 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3984 (ses--clean-!, ses--clean-_): New functions.
3985 (ses-range): Add configurability of readout order, and conversion
3986 to Calc vector.
3987
5e5d49b6
VB
3988 * ses.el (ses-repair-cell-reference-all): New function.
3989 (ses-cell-symbol): Set macro as safe, so that it can be used in
3990 formulas.
3991
56e6cc31 3992 * ses.el: Update cycle detection algorithm.
90ca8b49 3993 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3994 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3995 (ses-set-localvars): New function.
3996 (ses-make-cell): Add property-list as a cell element.
3997 (ses-cell-property-get-fun, ses-cell-property-get)
3998 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3999 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
4000 New functions.
90ca8b49
VB
4001 (ses-cell-property-set, ses-cell-property-pop)
4002 (ses-cell-property-get-handle): New macro.
4003 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4004 New aliases, used for code readability.
4005 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4006 cycle detection.
4007 (ses-self-reference-early-detection): New defcustom.
4008 (ses-formula-references): Robustify against self-refering cells.
4009 (ses-mode): Use ses-set-localvars.
4010 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4011 before lauching the update processing.
4012 (ses-initialize-Dijkstra-attempt): New function.
4013 (ses-recalculate-cell): Update for cycle detection based on
4014 Dijkstra algorithm.
4015
2bb63e81
VB
4016 * ses.el: Fix commenting and indenting convention.
4017
c9d29fb8
SM
40182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4019
4020 * bs.el (bs-cycle-next): Complete last change.
4021
d8e4b68b
JB
40222011-06-27 Drew Adams <drew.adams@oracle.com>
4023
4024 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4025
40098786
LMI
40262011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4027
c9d29fb8
SM
4028 * net/network-stream.el (network-stream-open-starttls):
4029 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4030 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4031
40098786
LMI
4032 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4033 to binary to possibly avoid line encoding issues on Windows (among
4034 other things).
4035
468d09d4
LMI
40362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4037
4038 * net/network-stream.el (open-network-stream): Return an :error
4039 saying what the problem was, if possible.
4040
4041 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4042 server.
4043
4044 * net/network-stream.el (network-stream-open-starttls): If we
4045 wanted to use STARTTLS, and the server offered it, but we weren't
4046 able to because we had no STARTTLS support, then close the connection.
4047 (open-network-stream): Return an :error element, if present.
4048
16f07dd7
CY
40492011-06-26 Chong Yidong <cyd@stupidchicken.com>
4050
88821ca0
CY
4051 * hl-line.el (hl-line-sticky-flag): Doc fix.
4052 (global-hl-line-sticky-flag): New option (Bug#8323).
4053 (global-hl-line-highlight): Obey it.
4054
16f07dd7
CY
4055 * vc/vc.el (vc-revert-show-diff): Default to t.
4056
6b5ccddf
KM
40572011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4058
c9d29fb8
SM
4059 * allout-widgets.el (allout-widgets-post-command-business):
4060 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4061 undecorated when an isearch is continued past, and isearch
4062 automatically collapses them. This leads to "widget leaks", where
4063 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4064 hidden widgets can slow down cursor travel, substantially.
4065 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4066 so we're doing without this nicety.
4067
4068 (allout-widgets-tally-string): Don't try to do a hash-table-count
4069 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4070 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4071 *Messages* when allout-widgets-maintain-tally is t.
4072
355f2e07
MR
40732011-06-26 Martin Rudalics <rudalics@gmx.at>
4074
4075 * window.el (display-buffer-normalize-argument): Rename to
4076 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4077 LABEL argument. Respect special-display-function when popping up
4078 a new frame. Fix code searching for a window showing the buffer
4079 on another frame.
c9d29fb8
SM
4080 (display-buffer-normalize-specifiers):
4081 Call display-buffer-normalize-arguments.
355f2e07
MR
4082 (display-buffer-in-window): Don't undedicate the window if its
4083 buffer remains the same.
4084 Reported by Drew Adams <drew.adams@oracle.com>.
4085 (display-buffer-alist): Add choice for same-window macro
4086 specfier.
4087 (display-buffer): Mention special meaning of LABEL argument in
4088 doc-string. Fix quoting. Don't pop up a new frame even as
4089 fallback.
4090
7ca8fc42
JB
40912011-06-26 Juanma Barranquero <lekktu@gmail.com>
4092
4093 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4094 avoid deleting the current window in some cases (bug#8911).
4095
bc312254
AS
40962011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4097
4098 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4099 (Bug#8934)
4100
2db18f3f
LMI
41012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4102
c9d29fb8
SM
4103 * net/network-stream.el (network-stream-open-starttls):
4104 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4105 (network-stream-open-tls): Ditto.
4106
6302e0d3
LL
41072011-06-26 Leo Liu <sdl.web@gmail.com>
4108
4109 * register.el (registerv): New struct.
4110 (registerv-make): New function.
c9d29fb8
SM
4111 (jump-to-register, describe-register-1, insert-register):
4112 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4113 struct. (Bug#8415)
4114
5fdd4046
CY
41152011-06-26 Chong Yidong <cyd@stupidchicken.com>
4116
2afef60a
CY
4117 * vc/vc.el (vc-revert-show-diff): New defcustom.
4118 (vc-diff-internal): New arg specifying diff buffer.
4119 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4120 reuse an existing *vc-diff* buffer (Bug#8927).
4121
5fdd4046
CY
4122 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4123
e93db24a
GM
41242011-06-26 Glenn Morris <rgm@gnu.org>
4125
4126 * progmodes/f90.el (f90-critical-indent): New option.
4127 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4128 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4129 (f90-mode): Doc fix.
4130 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4131 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4132 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4133 (f90-match-end): Handle block, critical.
4134
eefff499
GM
41352011-06-25 Glenn Morris <rgm@gnu.org>
4136
f6ba4cc9
GM
4137 * calendar/diary-lib.el (diary-included-files): Doc fix.
4138 (diary-include-files): New function, extracted from
4139 diary-include-other-diary-files and diary-mark-included-diary-files.
4140 (diary-include-other-diary-files, diary-mark-included-diary-files):
4141 Just call diary-include-files.
4142 (diary-mark-entries): Reset diary-included-files on first call.
4143
16712304
GM
4144 * calendar/diary-lib.el (diary-mark-entries)
4145 (diary-mark-included-diary-files):
4146 Visit included diary-files in temp buffers.
4147
5d8e0d43
GM
4148 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4149 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4150 (f90-start-block-re, f90-imenu-generic-expression)
4151 (f90-looking-at-program-block-start, f90-no-block-limit):
4152 Add support for submodules.
4153
ccf7a5d5
GM
4154 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4155 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4156
11fdef7d 41572011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4158
4159 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4160 buffer-file-type before setting its value, to avoid disastrous
eefff499 4161 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4162
74f53697
JB
41632011-06-25 Juanma Barranquero <lekktu@gmail.com>
4164
4165 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4166
4167 * ses.el (ses-unload-function):
4168 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4169
4170 * proced.el (proced-unload-function):
4171 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4172
18a4ce5e
AR
41732011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4174
4175 * server.el (server-create-window-system-frame): Add parameters arg.
4176 (server-process-filter): Doc fix. Handle frame-parameters.
4177
519d22cc
JB
41782011-06-25 Juanma Barranquero <lekktu@gmail.com>
4179
4180 Fix bug#8730, bug#8781.
4181
4182 * loadhist.el (unload--set-major-mode): New function.
4183 (unload-feature): Use it.
4184
4185 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4186 (python-unload-function): New function.
4187
c206f5b0
SM
41882011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4191
f9ad64f3
GS
41922011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4193
4194 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4195 the candidates list.
4196
7d0da90e
JB
41972011-06-24 Juanma Barranquero <lekktu@gmail.com>
4198
4199 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4200
14b4e83d
RS
42012011-06-23 Richard Stallman <rms@gnu.org>
4202
4203 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4204 (rmail-variables): Set next-error-move-function.
4205 (rmail-what-message): Take argument POS.
4206 (rmail-next-error-move): New function.
4207
273d2baf
SM
42082011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4209
4210 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4211 messages for adjacent non-terminals.
4212
56c2cc9a
RS
42132011-06-23 Richard Stallman <rms@gnu.org>
4214
4215 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4216 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4217 (rmail-start-mail): Don't specify use of rmail-mail-return;
4218 that's done by mail-bury now.
4219 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4220
d59eb518
MA
42212011-06-23 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4224 SIZE is a number.
4225
02cfc6d6
MR
42262011-06-23 Martin Rudalics <rudalics@gmx.at>
4227
4228 * window.el (get-lru-window, get-mru-window)
4229 (get-largest-window): Never return a minibuffer window.
4230 (display-buffer-pop-up-window): Fix a bug that could lead to
4231 reusing the minibuffer window.
4232 (display-buffer): Pass original specifier argument to
4233 display-buffer-function instead of the normalized one.
4234 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4235
4e323265
LL
42362011-06-22 Leo Liu <sdl.web@gmail.com>
4237
4238 * minibuffer.el (completing-read-function)
4239 (completing-read-default): Move from minibuf.c
4240
7a70468f
RS
42412011-06-22 Richard Stallman <rms@gnu.org>
4242
50718fc2
RS
4243 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4244 to Rmail even if not started by a special Rmail command.
4245
7a70468f
RS
4246 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4247 Copy the buffer currently showing just one message.
4248
297dde5a
RW
42492011-06-22 Roland Winkler <winkler@gnu.org>
4250
4251 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4252 (bibtex-clean-entry): First delete the old key so that a
4253 customized algorithm for generating the new key does not get
4254 confused by the old key.
4255 (bibtex-url): Obey regexp of first step.
4256 (bibtex-search-entries): Do not use add-to-list with local
4257 list-var.
4258
97bb1093
LMI
42592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4260
4261 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4262 stored a user name, then query for the password first, instead of
4263 waiting for SMTP to give an error message and the trying again.
4264
1c0f1a19
JD
42652011-06-22 Lawrence Mitchell <wence@gmx.li>
4266
4267 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4268 BUFFER in call-process.
4269
396f7c9d
LMI
42702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4271
4272 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4273 QUIT twice.
ddb7ffee
LMI
4274 (smtpmail-try-auth-methods): Require user name and password from
4275 auth-source.
396f7c9d 4276
8998d1b3
MR
42772011-06-22 Martin Rudalics <rudalics@gmx.at>
4278
4279 * window.el (display-buffer-default-specifiers)
4280 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4281 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4282 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4283
4284 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4285 (special-display-frame-alist, special-display-popup-frame):
4286 Remove duplicate declarations. These are now in window.el.
4287
4ea31e07
LMI
42882011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4289
c9d29fb8
SM
4290 * mail/smtpmail.el (smtpmail-via-smtp):
4291 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4292 server supports it. SMTP servers that support STARTTLS commonly
4293 require it.
4294
4295 * net/network-stream.el (network-stream-open-starttls): Support
4296 upgrading to STARTTLS always, even if we don't have built-in support.
4297 (open-network-stream): Add the :always-query-capabilies keyword.
4298
95f41d9a
LMI
4299 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4300 upgrades with `open-network-stream', and rely solely on
4301 auth-source for all credentials. Big changes throughout the file,
4302 but in particular:
c9d29fb8
SM
4303 (smtpmail-auth-credentials): Remove.
4304 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4305 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4306 MAIL FROM, too.
95f41d9a 4307
c9d29fb8
SM
4308 * net/network-stream.el (network-stream-open-starttls):
4309 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4310 STARTTLS.
4311 (auth-source): Require.
4312 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4313 (network-stream-certificate): Change cert-cert to cert and
4314 cert-key to key.
4ea31e07 4315
065ec2c7
MA
43162011-06-21 Michael Albinus <michael.albinus@gmx.de>
4317
4318 * net/tramp-cache.el (top): Don't load the persistency file when
4319 "emacs -Q" has been called.
4320
cd93b359
DR
43212011-06-21 Tim Harper <timcharper@gmail.com>
4322
d8e4b68b
JB
4323 * term/ns-win.el (ns-initialize-window-system):
4324 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4325 resource to NO as it is not yet supported by the NS port.
4326
ae9c0411
JB
43272011-06-21 Juanma Barranquero <lekktu@gmail.com>
4328
4329 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4330 (list-dynamic-libraries): ...not here.
4331
7f3f739f
LL
43322011-06-21 Leo Liu <sdl.web@gmail.com>
4333
4334 * subr.el (sha1): Implement sha1 using secure-hash.
4335
327c8fb1
MR
43362011-06-21 Martin Rudalics <rudalics@gmx.at>
4337
4338 * window.el (display-buffer-alist): In default value do not
4339 enforce searching a window on any but the selected frame.
4340 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4341 (display-buffer-select-window): Remove function.
4342 (display-buffer-in-window): When a window on another frame gets
4343 reused, do not select it any more but just raise its frame if
4344 necessary (Bug#8851) and (Bug#8856).
4345 (display-buffer-normalize-options): Handle pop-up-frames related
4346 options more faithfully.
4347 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4348 window if it is on another frame.
c9d29fb8
SM
4349 (display-buffer-alist, display-buffer-default-specifiers):
4350 Don't make new frame unsplittable by default.
9e9de014
MR
4351 (display-buffer-normalize-argument): Fix doc-string typo and use
4352 'same-frame-other-window instead of 'other-window when associating
4353 with display-buffer-macro-specifiers.
327c8fb1 4354
7cf3f556
VB
43552011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4356
4357 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4358 New functions.
4359 (5x5-mode-map, 5x5-mode-menu): Bind them.
4360 (5x5-draw-grid): Tweak the solver's rendering.
4361
60a406cf
SM
43622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4363
4364 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4365 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4366
d8e4b68b 43672011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4368
4369 * menu-bar.el: Use function variable instead of switch-to-buffer.
4370 (menu-bar-select-buffer-function): New variable.
60a406cf 4371 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4372
478d6f95
SM
43732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4376 variable's status.
4377
ca530739
JD
43782011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4379
4380 * x-dnd.el (x-dnd-version-from-flags)
4381 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4382 and long as number (Bug#8899).
4383 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4384
bcd70d97
SM
43852011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4386
60a406cf 4387 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4388 (completion-try-completion, completion-all-completions): Compute the
4389 metadata argument if it's missing; make it optional (bug#8795).
4390
60a406cf 4391 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4392 (widget-complete): Use new :completion-function property.
4393 (widget-completions-at-point): New function.
4394 (default): Use :completion-function instead of :complete.
60a406cf
SM
4395 (widget-default-completions): Rename from widget-default-complete;
4396 Rewrite.
bcd70d97
SM
4397 (widget-string-complete, widget-file-complete, widget-color-complete):
4398 Remove functions.
4399 (file, symbol, function, variable, coding-system, color):
4400 * international/mule-cmds.el (default-input-method, charset)
4401 (language-info-custom-alist):
4402 * cus-edit.el (face): Use new property :completions.
4403
4404 * progmodes/pascal.el (pascal-completions-at-point): New function.
4405 (pascal-mode): Use it.
4406 (pascal-mode-map): Use completion-at-point.
4407 (pascal-toggle-completions): Make obsolete.
4408 (pascal-complete-word, pascal-show-completions):
4409 * progmodes/octave-mod.el (octave-complete-symbol):
4410 Redefine as obsolete alias.
4411 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4412 Signal absence of completion info for old Octave,
4413 (inferior-octave-complete): Redefine as obsolete alias.
4414 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4415 (meta-completions-at-point): Rename from meta-complete-symbol and
4416 adapt it for use on completion-at-point-functions.
4417 (meta-common-mode): Use it.
4418 (meta-looking-at-backward, meta-match-buffer): Remove.
4419 (meta-complete-symbol): Redefine as obsolete alias.
4420 (meta-common-mode-map): Use completion-at-point.
4421 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4422 (makefile-mode-map): Use completion-at-point.
4423 (makefile-completions-at-point): Rename from makefile-complete and
4424 adapt it for use on completion-at-point-functions.
4425 (makefile-mode): Use it.
4426 (makefile-complete): Redefine as obsolete alias.
4427
aebf69c8
DD
44282011-06-20 Deniz Dogan <deniz@dogan.se>
4429
4430 * net/rcirc.el: Delete trailing whitespaces once and for all.
4431
bfbbb27d
DC
44322011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4433
4434 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4435
d264a46b
CY
44362011-06-19 Chong Yidong <cyd@stupidchicken.com>
4437
4ca009e5
CY
4438 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4439
d264a46b
CY
4440 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4441
fbf5b3ce
MR
44422011-06-19 Martin Rudalics <rudalics@gmx.at>
4443
4444 * window.el (display-buffer-other-window-means-other-frame):
4445 Call display-buffer-normalize-alist.
4446 (display-buffer-normalize-specifiers-1): Rename to
4447 display-buffer-normalize-argument. New argument other-frame.
4448 Rewrite.
4449 (display-buffer-normalize-specifiers-2): Rename to
4450 display-buffer-normalize-options.
4451 (display-buffer-normalize-alist-1): New function.
4452 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4453 display-buffer-normalize-alist.
4454 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4455 (display-buffer-normalize-options-inhibit): New variable.
4456 (display-buffer-normalize-specifiers): Rewrite calling
4457 display-buffer-normalize-alist,
4458 display-buffer-normalize-argument, and
4459 display-buffer-normalize-options. Don't call the latter if
4460 display-buffer-normalize-options-inhibit is non-nil.
4461 (frame-auto-delete): New option.
4462 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4463 (window-list-no-nils, window-state-ignored-parameters)
4464 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4465 (window-state-put-1, window-state-put-2, window-state-put):
4466 New functions.
9a028c23
MR
4467 (display-buffer-normalize-options): Move special-display-p group
4468 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4469
6d10d800
CY
44702011-06-18 Chong Yidong <cyd@stupidchicken.com>
4471
6420d28b
CY
4472 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4473 groups (Bug#8776).
4474 (rx-submatch-n): New function.
4475 (rx): Document it.
4476
ddb8b596
CY
4477 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4478 (Bug#8768).
4479
4480 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4481
77080289
CY
4482 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4483
61dfb316
CY
4484 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4485 anytime existing face settings are present (Bug#8889).
4486
6d10d800
CY
4487 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4488 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4489 Remove unused argument.
4490
be3fb2b8
MR
44912011-06-18 Martin Rudalics <rudalics@gmx.at>
4492
bcd70d97
SM
4493 * window.el (display-buffer-default-specifiers):
4494 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4495 pop-up-window-min-width, and another reuse-window specifier
4496 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4497 (display-buffer-normalize-specifiers-2):
4498 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4499 pop-up-windows is unset. Add a reuse-window specifier for the
4500 case popping up a new window fails.
4501 (special-display-popup-frame): Remove double quoting.
28dec25a 4502 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4503
1c6d8c76
SM
45042011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4507 according to comint-completion-addsuffix.
4508
4509 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4510 (pcomplete-suffix-list): Mark as obsolete.
4511 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4512 pcomplete-seen in the closure.
4513 (pcomplete-comint-setup): Setup completion-at-point as well.
4514 (pcomplete--entries): New function.
4515 (pcomplete--env-regexp): New var.
4516 (pcomplete-entries): Rewrite to work with partial-completion and
4517 without relying on pcomplete-suffix-list.
4518 (pcomplete-pare-list): Remove, unused.
4519
25aef8b8
MR
45202011-06-17 Martin Rudalics <rudalics@gmx.at>
4521
4522 * window.el (display-buffer-alist): Set pop-up-window-min-height
4523 and pop-up-window-min-width in default value. Reported by
4524 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4525 other-window-means-other-frame.
4526 (display-buffer-macro-specifiers): Comment out entry for
4527 other-window specifier.
4528 (display-buffer-other-window-means-other-frame): New function.
4529 (display-buffer-normalize-specifiers-1): New arguments
4530 buffer-name and label. Treat other-window case specially.
4531 (display-buffer-normalize-specifiers-2): Treat other-window case
4532 specially.
4533 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4534 (display-buffer-normalize-specifiers):
4535 Call display-buffer-normalize-specifiers-3.
25aef8b8 4536
dbad4f69
MR
45372011-06-17 Martin Rudalics <rudalics@gmx.at>
4538
4539 * window.el (same-window-p): Fix two typos introduced when
4540 adding with-no-warnings.
d1067961
MR
4541 (display-buffer-normalize-specifiers-1): Don't check
4542 pop-up-frames for 'unset initialization.
4543 (display-buffer-normalize-specifiers-2): Major rewrite using
4544 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4545 (pop-up-frames, display-buffer-reuse-frames)
4546 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4547 Suggested by David Engster <deng@randomsample.de>.
4548 (even-window-heights): Initialize to 'unset.
4549 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4550 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4551 other window case.
dbad4f69 4552
9b9c9e3a
MR
45532011-06-16 Martin Rudalics <rudalics@gmx.at>
4554
bcd70d97
SM
4555 * window.el (display-buffer-normalize-specifiers-1):
4556 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4557 second argument of display-buffer (Bug#8865).
981d5c09
MR
4558 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4559 (switch-to-buffer-other-window-same-frame)
4560 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4561 Adams (Bug#8875).
9c2755e9
MR
4562 (display-buffer): Don't check noninteractive when calling
4563 display-buffer-pop-up-frame.
4564 (display-buffer-pop-up-frame): Never pop up a frame in
4565 noninteractive mode (Bug#8857).
67222e1d
MR
4566 (enlarge-window, shrink-window): Don't report an error when the
4567 window can't be resized as requested (Bug#8862).
9b9c9e3a 4568
2b75be67
SM
45692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4570
9ffdd3ba
SM
4571 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4572
cb581a67
SM
4573 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4574
2b75be67
SM
4575 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4576
8c0e3589
AM
45772011-06-15 Alan Mackenzie <acm@muc.de>
4578
cb581a67
SM
4579 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4580 for declarators, disable knr checking to speed up for normal files.
4581 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4582
b96e6cde
LMI
45832011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4584
4bba86e6
LMI
4585 * net/network-stream.el (open-network-stream): Add the keyword
4586 :always-query-capabilities for the case where you want to force a
4587 `plain' network connection, but the protocol still requires the
4588 capabilitiy command (i.e., SMTP and EHLO).
4589
2b75be67 4590 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4591 consistency with other `-live-p' functions.
4592
efdcdbf8
SM
45932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4594
4595 * window.el (same-window-buffer-names, same-window-regexps)
4596 (special-display-frame-alist, special-display-popup-frame)
4597 (special-display-function, special-display-buffer-names)
4598 (special-display-regexps, pop-up-frame-alist)
4599 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4600 (pop-up-windows, split-window-preferred-function)
4601 (split-height-threshold, split-width-threshold, even-window-heights)
4602 (display-buffer-mark-dedicated): Don't encourage the use of
4603 display-buffer-alist from Elisp code.
4604
c5cde042
DN
46052011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4606
4607 * progmodes/python.el (python-mode): Derive from prog-mode.
4608 * progmodes/ps-mode.el (ps-mode):
4609 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4610 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4611 * progmodes/ld-script.el (ld-script-mode): Likewise.
4612
baa1c9ab
MR
46132011-06-15 Martin Rudalics <rudalics@gmx.at>
4614
4615 * window.el (display-buffer-alist): Trim default value to avoid
4616 popping up a new frame (Bug#8857) or reusing an arbitrary window
4617 on another frame.
4618 (display-buffer): Do not fall back on popping up a new frame in
4619 batch mode (Bug#8857).
4620
c5dd5a51
CY
46212011-06-14 Chong Yidong <cyd@stupidchicken.com>
4622
4623 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4624 (custom-theme-summary): New function.
4625 (customize-themes): Use it.
4626
d647b7c4
GM
46272011-06-13 Glenn Morris <rgm@gnu.org>
4628
4629 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4630
9481c002
MR
46312011-06-13 Martin Rudalics <rudalics@gmx.at>
4632
357f93d2
MR
4633 * help.el (help-window): Remove variable.
4634 (help-window-point-marker, temp-buffer-max-height)
4635 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4636 (help-print-return-message): Don't set help-window.
4637 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4638 (help-window-setup-finish): Remove.
4639 (help-window-display-message, help-window-setup)
4640 (with-help-window): Major rewrite based on new
4641 display-buffer-window variable.
4642
4643 * help-mode.el (help-mode-finish): Remove help-window related
4644 code.
4645
4646 * view.el (view-exits-all-viewing-windows): Remove reference to
4647 view-return-to-alist in doc-string.
4648 (view-return-to-alist): Make obsolete.
4649 (view-buffer): Call pop-to-buffer-same-window and remove
4650 undo-window code.
4651 (view-buffer-other-window): Call pop-to-buffer-other-window and
4652 simplify code. Ignore second argument.
4653 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4654 simplify code. Ignore second argument.
4655 (view-return-to-alist-update): Make obsolete.
4656 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4657 Rewrite using quit-restore window parameters.
2b75be67
SM
4658 (view-mode-exit): Rename second argument to EXIT-ONLY.
4659 Rewrite using quit-restore-window.
357f93d2
MR
4660 (View-exit, View-exit-and-edit, View-leave, View-quit)
4661 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4662 appropriate arguments.
4663 (view-end-message): Use quit-restore window parameter.
4664
9481c002
MR
4665 * window.el (display-buffer-function): Rewrite doc-string.
4666 (display-buffer-window, display-buffer-alist): New variables.
4667 (display-buffer-split-specifiers)
4668 (display-buffer-side-specifiers)
4669 (display-buffer-macro-specifiers): New constants.
4670 (display-buffer-even-window-sizes, display-buffer-set-height)
4671 (display-buffer-set-width, display-buffer-select-window)
4672 (display-buffer-in-window, display-buffer-reuse-window)
4673 (display-buffer-split-window-1, display-buffer-split-window)
4674 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4675 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4676 (display-buffer-in-side-window, normalize-buffer-to-display)
4677 (display-buffer-normalize-specifiers-1)
4678 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4679 (display-buffer-normalize-specifiers, display-buffer-frame):
4680 New functions.
9481c002
MR
4681 (display-buffer): Major rewrite.
4682 (display-buffer-other-window, display-buffer-other-frame)
4683 (pop-to-buffer, switch-to-buffer-other-window)
4684 (switch-to-buffer-other-frame): Rewrite.
4685 (display-buffer-same-window, display-buffer-same-frame)
4686 (display-buffer-same-frame-other-window)
4687 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4688 (pop-to-buffer-other-window)
4689 (pop-to-buffer-same-frame-other-window)
4690 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4691 (switch-to-buffer-other-window-same-frame): New functions.
4692 (same-window-p, special-display-p): Rewrite disabling warnings.
4693 Make obsolete.
4694 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4695 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4696 Make obsolete
4697 (same-window-buffer-names, same-window-regexps)
4698 (special-display-frame-alist, special-display-popup-frame)
4699 (special-display-function, special-display-buffer-names)
4700 (special-display-regexps, pop-up-frame-alist)
4701 (pop-up-frame-function, split-window-preferred-function)
4702 (split-height-threshold, split-width-threshold)
4703 (even-window-heights): Make obsolete.
4704
9db51aca
GM
47052011-06-12 Glenn Morris <rgm@gnu.org>
4706
4707 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4708 Misc simplifications.
9db51aca 4709
39cffb44
MR
47102011-06-12 Martin Rudalics <rudalics@gmx.at>
4711
4712 * window.el (window-safely-shrinkable-p): Restore function which
4713 was inadvertently removed in change from 2011-06-11. Declare as
4714 obsolete.
4715
2b75be67
SM
4716 * calendar/calendar.el (calendar-generate-window):
4717 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4718 window-safely-shrinkable-p.
4719
a8955be7
GM
47202011-06-12 Glenn Morris <rgm@gnu.org>
4721
4722 * progmodes/fortran.el (fortran-mode-syntax-table):
4723 * progmodes/f90.el (f90-mode-syntax-table):
4724 Set % to punctuation. (Bug#8820)
4725 (f90-find-tag-default): Remove, no longer needed.
4726
f0d4059d
DC
47272011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4728
4729 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4730
1100a63c
CY
47312011-06-11 Chong Yidong <cyd@stupidchicken.com>
4732
4733 * image.el (image-animated-p): Return animation delay in seconds.
4734 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4735 (image-animate-timeout): Remove DELAY argument. Don't assume
4736 every subimage has the same delay; get it from image-animated-p.
4737 (image-animate): Caller changed.
4738
def722bf
MA
47392011-06-11 Michael Albinus <michael.albinus@gmx.de>
4740
4741 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4742 to ignored backtrace functions.
4743
0a2bb1a9
GM
47442011-06-11 Glenn Morris <rgm@gnu.org>
4745
4746 * calendar/appt.el (appt-disp-window-function): Doc fix.
4747 (appt-check): Handle overlapping appointments. (Bug#8337)
4748
6198ccd0
MR
47492011-06-11 Martin Rudalics <rudalics@gmx.at>
4750
4751 * window.el (window-tree-1, window-tree): New functions, moving
4752 the latter to window.el.
4753 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4754 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4755 (bw-refresh-edges): Remove.
4756 (balance-windows-1, balance-windows-2): New functions.
4757 (balance-windows): Rewrite in terms of window tree functions,
4758 balance-windows-1 and balance-windows-2.
4759 (bw-adjust-window): Remove.
4760 (balance-windows-area-adjust): New function with functionality of
4761 bw-adjust-window but using resize-window.
2b75be67
SM
4762 (set-window-text-height): Rewrite doc-string.
4763 Use normalize-live-window and resize-window.
4764 (enlarge-window-horizontally, shrink-window-horizontally):
4765 Rename argument to DELTA.
6198ccd0
MR
4766 (window-buffer-height): New function.
4767 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4768 Rewrite using new window resize routines.
2b75be67
SM
4769 (kill-buffer-and-window, mouse-autoselect-window-select):
4770 Use ignore-errors instead of condition-case.
6198ccd0
MR
4771 (quit-window): Call delete-frame instead of delete-windows-on
4772 for the only buffer on frame.
4773
9397e56f
MR
47742011-06-10 Martin Rudalics <rudalics@gmx.at>
4775
4776 * loadup.el (top-level): Load window before files for the sake
4777 of replace-buffer-in-windows.
4778
4779 * files.el (read-buffer-to-switch)
4780 (switch-to-buffer-other-window)
2b75be67
SM
4781 (switch-to-buffer-other-frame, display-buffer-other-frame):
4782 Move to window.el.
9397e56f
MR
4783
4784 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4785 (previous-buffer): Move to window.el.
4786
4787 * bindings.el (unbury-buffer): Move to window.el.
4788
4789 * window.el (delete-other-windows-vertically): Move after
4790 definition of delete-other-windows.
4791 (other-window, delete-windows-on, replace-buffer-in-windows):
4792 Move here from window.c.
4793 (record-window-buffer, unrecord-window-buffer)
4794 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4795 (switch-to-next-buffer): New functions.
4796 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4797 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4798 (previous-buffer): Move here from simple.el.
4799 Call switch-to-prev-buffer.
9397e56f
MR
4800 (bury-buffer): Move here from buffer.c. Switch to previous
4801 buffer when window cannot be deleted.
4802 (unbury-buffer): Move here from bindings.el.
4803 (ctl-x-map): Move binding for other-window from window.c to
4804 here.
4805 (read-buffer-to-switch, switch-to-buffer-other-window)
4806 (switch-to-buffer-other-frame): Move here from files.el.
4807 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4808 (switch-to-buffer): Move here from buffer.c.
4809 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4810
562dd5e9
MR
48112011-06-10 Martin Rudalics <rudalics@gmx.at>
4812
4813 * window.el (window-min-height, window-min-width): Move here
4814 from window.c. Add defcustoms and rewrite doc-strings.
4815 (resize-mini-window, resize-window): New functions.
4816 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4817 Move here from window.c.
4818 (maximize-window, minimize-window): New functions.
4819 (delete-window, delete-other-windows, split-window): Move here
4820 from window.c.
4821 (window-split-min-size): New function.
4822 (split-window-keep-point): Mention split-window-above-each-other
4823 instead of split-window-vertically.
2b75be67
SM
4824 (split-window-above-each-other, split-window-vertically):
4825 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4826 provide defalias for old definition.
4827 (split-window-side-by-side, split-window-horizontally): Rename
4828 split-window-horizontally to split-window-side-by-side and provide
4829 defalias for the old definition.
4830 (ctl-x-map): Move bindings for delete-window,
4831 delete-other-windows and enlarge-window here from window.c.
4832 Replace bindings for split-window-vertically and
4833 split-window-horizontally by bindings for
4834 split-window-above-each-other and split-window-side-by-side.
4835
4836 * cus-start.el (all): Remove entries for window-min-height and
4837 window-min-width. Add entries for window-splits and
4838 window-nest.
4839
f0da764a
GM
48402011-06-09 Glenn Morris <rgm@gnu.org>
4841
80675c21
GM
4842 * calendar/appt.el (appt-mode-line): New function.
4843 (appt-check, appt-disp-window): Use it.
4844
f0da764a
GM
4845 * files.el (hack-one-local-variable-eval-safep):
4846 Allow minor-modes with explicit +/-1 arguments.
4847
59f623b7
TZ
48482011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4849
4850 * term/xterm.el (xterm): Add defgroup.
4851 (xterm-extra-capabilities): Add defcustom to supply known xterm
4852 capabilities, skip querying them, or query them (default).
4853 (terminal-init-xterm): Use it.
4854 (terminal-init-xterm-modify-other-keys): New function to set up
4855 modifyOtherKeys support to simplify `terminal-init-xterm'.
4856
9aab8e0d
MR
48572011-06-09 Martin Rudalics <rudalics@gmx.at>
4858
4859 * window.el (resize-window-reset, resize-window-reset-1)
4860 (resize-subwindows-skip-p, resize-subwindows-normal)
4861 (resize-subwindows, resize-other-windows, resize-this-window)
4862 (resize-root-window, resize-root-window-vertically)
4863 (window-deletable-p, window-or-subwindow-p)
4864 (frame-root-window-p): New functions.
4865
e8b08aee
GM
48662011-06-09 Glenn Morris <rgm@gnu.org>
4867
4868 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4869 (ange-ftp-get-files): Use it.
4870
254c37a5
AK
48712011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4872
4873 * mail/sendmail.el (mail-recover-1, mail-recover):
4874 * files.el (recover-file, recover-session):
4875 Handle dired-listing-switches not being just a single short option.
4876
35d7dbd3
GM
48772011-06-09 Glenn Morris <rgm@gnu.org>
4878
4879 * calendar/appt.el (appt-display-message, appt-disp-window):
4880 Handle lists of appointments.
4881
387522b2
MR
48822011-06-08 Martin Rudalics <rudalics@gmx.at>
4883
2b75be67
SM
4884 * window.el (one-window-p): Move down in code.
4885 Rewrite doc-string.
4886 (window-current-scroll-bars): Rewrite doc-string.
4887 Normalize live window argument.
387522b2
MR
4888 (walk-windows, get-window-with-predicate, count-windows):
4889 Rewrite doc-string. Use window-list-1.
4890 (window-in-direction-2, window-in-direction, get-mru-window):
4891 New functions.
4892
d8e4b68b 48932011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4894
4895 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4896 Doc fix (Bug#8713).
4897
48982011-06-08 Chong Yidong <cyd@stupidchicken.com>
4899
4900 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4901
49022011-06-08 Juanma Barranquero <lekktu@gmail.com>
4903
4904 * loadhist.el (unload-feature-special-hooks):
4905 Add `comint-output-filter-functions'.
4906
0de12c52
IK
49072011-06-08 Ivan Kanis <gnu@kanis.fr>
4908
4909 * calendar/appt.el (appt-check): Move some initializations into the let.
4910
f3d1777e
MR
49112011-06-08 Martin Rudalics <rudalics@gmx.at>
4912
4913 * window.el (window-height): Defalias to window-total-height.
4914 (window-width): Defalias to window-body-width.
4915
18af70d0
CY
49162011-06-07 Chong Yidong <cyd@stupidchicken.com>
4917
4918 * image-mode.el (image-toggle-animation): New command.
4919 (image-mode-map): Bind it to RET.
4920 (image-mode): Update message.
4921 (image-toggle-display-image): Avoid a spurious cache flush.
4922 (image-transform-rotation): Doc fix.
4923 (image-transform-properties): Return quickly in the normal case.
4924 (image-animate-loop): Rename from image-animate-max-time.
4925
2b75be67 4926 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4927 (create-animated-image): Remove unnecessary function.
4928 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4929 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4930 (image-animate-timer): Use car-safe.
4931 (image-animate-timeout): Rename argument.
4932
190b47e6
MR
49332011-06-07 Martin Rudalics <rudalics@gmx.at>
4934
4935 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4936 window.c. Rename first argument to ALL-FRAMES.
4937 Rephrase doc-strings.
4938 (get-buffer-window-list): Rewrite using window-list-1.
4939 Rephrase doc-string.
a1511caf
MR
4940 (window-safe-min-height, window-safe-min-width): New constants.
4941 (window-size-ignore, window-min-size, window-min-size-1)
4942 (window-sizable, window-sizable-p, window-size-fixed-1)
4943 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4944 (window-max-delta-1, window-max-delta, window-resizable)
4945 (window-resizable-p, window-total-height, window-total-width)
4946 (window-body-width): New functions.
4947 (window-full-height-p, window-full-width-p): Rewrite using
4948 window-total-size.
4949 (window-body-height): Rewrite using window-body-size.
190b47e6 4950
85cc1f11
MR
49512011-06-06 Martin Rudalics <rudalics@gmx.at>
4952
4953 * window.el (window-right, window-left, window-child)
4954 (window-child-count, window-last-child, window-any-p)
4955 (normalize-live-buffer, normalize-live-frame)
4956 (normalize-any-window, normalize-live-window)
4957 (window-iso-combination-p, window-iso-combined-p)
4958 (window-iso-combinations)
4959 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4960 (windows-with-parameter, window-with-parameter)
4961 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4962 (window-atom-check, window-side-check, window-check):
4963 New functions.
85cc1f11
MR
4964 (ignore-window-parameters, window-sides, window-sides-vertical)
4965 (window-sides-slots): New variables.
4966 (window-size-fixed): Move down in code. Minor doc-string fix.
4967
e7156492
AS
49682011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4969
4970 * comint.el (comint-dynamic-complete-as-filename)
4971 (comint-dynamic-complete-filename): Correctly call
4972 completion-in-region.
4973
7e821d0d
DD
49742011-06-05 Deniz Dogan <deniz@dogan.se>
4975
4976 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4977 in last change.
4978
ac09b8a1
DD
49792011-06-05 Deniz Dogan <deniz@dogan.se>
4980
4981 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4982 (rcirc): Use it to prompt for encryption.
4983
34699b85
RW
49842011-06-05 Roland Winkler <winkler@gnu.org>
4985
4986 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4987 (bibtex-search-entries): New command bound to C-c C-a.
4988 (bibtex-display-entries): New function.
4989
004dedd3
RW
49902011-06-05 Roland Winkler <winkler@gnu.org>
4991
4992 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4993 (bibtex-insert-kill): After yanking insert newline if necessary.
4994 (bibtex-initialize): Call bibtex-string-files-init only once.
4995 (bibtex-mode): Do not call easy-menu-add.
4996 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4997 (bibtex-yank): Set arg properly if nil.
4998
022fe7ce
RW
49992011-06-05 Roland Winkler <winkler@gnu.org>
5000
2b75be67
SM
5001 * textmodes/bibtex.el (bibtex-search-entry-globally):
5002 New variable.
022fe7ce
RW
5003 (bibtex-search-entry): Use it.
5004
b7c3692a
RW
50052011-06-05 Roland Winkler <winkler@gnu.org>
5006
5007 * textmodes/bibtex.el (bibtex-entry-format): New option
5008 sort-fields.
5009 (bibtex-format-entry, bibtex-reformat): Honor this option.
5010 (bibtex-parse-entry): Return fields in proper order.
5011
8eda563d
JB
50122011-06-05 Juanma Barranquero <lekktu@gmail.com>
5013
5014 * doc-view.el (doc-view-remove-if): Move computation of result out
5015 of `dolist' to silence misleading lexical-binding warning.
5016
7dbe3dbc
CY
50172011-06-04 Chong Yidong <cyd@stupidchicken.com>
5018
5019 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5020 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5021
0c33dd17
MA
50222011-06-04 Michael Albinus <michael.albinus@gmx.de>
5023
5024 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5025 "SunOS 5.10".
5026
f8f91c2b
MA
50272011-06-04 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5030 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5031 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5032 (tramp-parse-putty):
5033 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5034 (tramp-completion-function-alist-ssh)
5035 (tramp-completion-function-alist-telnet)
5036 (tramp-completion-function-alist-su)
5037 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5038 cookie.
5039
5040 * net/tramp-ftp.el:
5041 * net/tramp-sh.el:
5042 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5043 load "tramp.el" `tramp-set-completion-function'.
5044
e17d9003
SM
50452011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * shell.el: Require and use pcomplete.
5048 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5049 (shell-completion-vars): Set pcomplete-default-completion-function.
5050
6c4cab03
DD
50512011-06-04 Deniz Dogan <deniz@dogan.se>
5052
5053 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5054 `memq' (Bug#8799).
5055
ea9fafe0
SM
50562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5057
5058 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5059
b3e945d3
JB
50602011-06-02 Juanma Barranquero <lekktu@gmail.com>
5061
5062 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5063 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5064 * vc/log-view.el (log-view-beginning-of-defun):
5065 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5066 (smerge-refine-forward, smerge-refine-chopup-region):
5067 Silence warning for unused `dotimes' counter variables.
5068
7d520089
SM
50692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5070
5071 * net/tramp.el (tramp-with-progress-reporter): Rename from
5072 with-progress-reporter. Use `declare'.
5073 * net/tramp-smb.el:
5074 * net/tramp-sh.el:
5075 * net/tramp-gvfs.el: Update all uses.
5076
a1c2400f
JB
50772011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5078
5079 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5080 buffer isn't killed before making it current.
5081
2403c841
SM
50822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5083
5084 Silence various byte-compiler warnings.
5085 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5086 `access-type' and new obsolescence format.
5087 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5088 new format.
5089 (byte-compile-check-variable): New `access-type' argument.
5090 Only warn if the access-type is obsolete.
5091 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5092 (byte-compile-variable-set): Adjust callers.
5093 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5094 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5095 setting it as obsolete.
5096 * simple.el (minibuffer-completing-symbol):
5097 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5098 access as obsolete.
5099 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5100 obsolete yet.
5101 * international/quail.el (quail-mouse-choose-completion): Remove unused
5102 code referring to obsolete var.
5103 (quail-choose-completion-string): Remove.
5104 * server.el (server-clients-with, server-kill-buffer-query-function)
5105 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5106 * proced.el (proced-send-signal):
5107 * emacs-lisp/lisp.el (lisp-complete-symbol):
5108 Replace completion-annotate-function with completion-extra-properties.
5109
2462470b
SM
51102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5111
fb5b2591
SM
5112 * simple.el (goto-line): Use read-number.
5113 (overriding-map-is-bound): Remove.
5114 (saved-overriding-map): Change default.
5115 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5116 Take the map as argument.
5117 (universal-argument, negative-argument, digit-argument): Use it.
5118 (restore-overriding-map): Adjust.
5119 (do-auto-fill): Use fill-forward-paragraph.
5120 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5121
fd6fa53f
SM
5122 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5123 (minibuffer-inactive-mode): New major mode.
5124 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5125 the *Messages* buffer" hack.
5126 (mouse-popup-menubar): Don't burp if the event is a normal key.
5127
2462470b
SM
5128 Miscellaneous tweaks.
5129 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5130 lexical scoping as in subr.el's dolist and dotimes.
5131 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5132 Silence compiler warning.
5133 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5134 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5135 * international/ccl.el (ccl-compile): Trivial simplification.
5136 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5137 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5138 `printflag' argument.
5139 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5140 Purecopy the whole obsolescence data.
5141
108bf785
LL
51422011-06-01 Leo Liu <sdl.web@gmail.com>
5143
5144 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5145 improve doc-string as suggested by Marco Pessotto
5146 <melmothx@gmail.com>.
5147 (rcirc-print): Fix last change.
5148
30a23501
SM
51492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5150
5151 * minibuffer.el (complete-with-action): Return nil for the metadata and
5152 boundaries of non-functional tables.
5153 (completion-table-dynamic): Return nil for the metadata.
5154 (completion-table-with-terminator): Add default case, using
5155 complete-with-action.
5156 (completion--metadata): New function.
5157 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5158 to try and avoid pathological performance problems.
5159 (completion--embedded-envvar-table): Return `category' metadata.
5160
bcd54f83
LMI
51612011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5162
5163 * subr.el (process-alive-p): New tiny convenience function.
5164
e227544d
SM
51652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5166
5167 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5168 content but also its previous major mode.
5169
e8296fdc
HE
51702011-05-31 Helmut Eller <eller.helmut@gmail.com>
5171
4d61f28d 5172 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5173 *Backtrace* buffer when we exit with C-M-c.
5174
620c53a6
SM
51752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5176
5177 * minibuffer.el: Add metadata method to completion tables.
5178 (completion-category-overrides): New defcustom.
5179 (completion-metadata, completion--field-metadata)
5180 (completion-metadata-get, completion--styles)
5181 (completion--cycle-threshold): New functions.
5182 (completion-try-completion, completion-all-completions):
5183 Add `metadata' argument to choose completion-styles.
5184 (completion--do-completion): Use metadata to choose cycling.
5185 (completion-all-sorted-completions): Use metadata for sorting.
5186 Remove :completion-cycle-penalty which is not needed any more.
5187 (completion--try-word-completion): Add `metadata' argument.
5188 (minibuffer-completion-help): Check metadata for annotation function
5189 and sorting.
5190 (completion-file-name-table): Return `category' metadata.
5191 (minibuffer-completing-file-name): Make obsolete.
5192 * simple.el (minibuffer-completing-symbol): Make obsolete.
5193 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5194 completion-try-completion.
5195
1257e755
SM
51962011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5199
3767e706
LL
52002011-05-30 Leo Liu <sdl.web@gmail.com>
5201
5202 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5203 (rcirc-print): Decode all incoming messages (bug#8744).
5204 (rcirc-decode-coding-system): Allow value nil for automatic coding
5205 system detection.
3767e706 5206
d1a5d56a
GM
52072011-06-01 Glenn Morris <rgm@gnu.org>
5208
5209 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5210
e8cbec34
CY
52112011-05-29 Chong Yidong <cyd@stupidchicken.com>
5212
5213 * image.el (image-animate-max-time): Allow nil and t values.
5214 Default to nil.
5215 (create-animated-image): Doc fix.
5216 (image-animate-start): Remove second arg; just use
5217 image-animate-max-time.
5218 (image-animate-timeout): Doc fix. Args changed.
5219
5220 * image-mode.el (image-toggle-display-image): Ensure that the
5221 image spec passed to the animate timer is the same object as in
5222 the the buffer's display property (Bug#6981).
5223 (image-transform-properties): Doc fix.
5224
5225 * image.el (image-animate-max-time): Default to nil.
5226
159daf87
MR
52272011-05-29 Martin Rudalics <rudalics@gmx.at>
5228
5229 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5230 entire buffer list (Bug#8184).
5231
d66c4c7c
CY
52322011-05-29 Chong Yidong <cyd@stupidchicken.com>
5233
5234 * image.el (imagemagick-types-inhibit)
5235 (imagemagick-register-types): Doc fix.
5236
80aec780
DD
52372011-05-29 Deniz Dogan <deniz@dogan.se>
5238
5239 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5240 default.
5241
1dd3c2d9
CY
52422011-05-29 Chong Yidong <cyd@stupidchicken.com>
5243
5244 * select.el: Don't perform clipboard-manager saving in hooks;
5245 leave the hooks empty.
5246
60e56523
LL
52472011-05-28 Leo Liu <sdl.web@gmail.com>
5248
5249 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5250 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5251 (occur-edit-mode): New major mode (Bug#8463).
5252 (occur-after-change-function): New function.
5253 (occur-engine): Give Occur tags a read-only property.
5254
2b1e1a22
KR
52552011-05-28 Kevin Ryde <user42@zip.com.au>
5256
5257 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5258
5d344e88
CY
52592011-05-28 Chong Yidong <cyd@stupidchicken.com>
5260
8e6ca83d
CY
5261 * bindings.el (help-echo): Make the initial non-indicator dash
5262 empty on graphical terminals (Bug#7295).
5263
5d344e88
CY
5264 * files.el (auto-mode-alist): Move config rule after the
5265 in-stripping one (Bug#8547).
5266
bfbbace7
CY
5267 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5268
fbeba6e2
CY
5269 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5270 setting (Bug#8740).
5271
60ed8c72
AA
52722011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5273
4ac619f0
AA
5274 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5275 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5276 (Bug#8539).
60ed8c72 5277
23db196e
CY
52782011-05-28 Chong Yidong <cyd@stupidchicken.com>
5279
5280 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5281
5012f24c
DK
52822011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5283
5284 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5285 (hs-hide-block-at-point, hs-find-block-beginning)
5286 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5287 (Bug#8279).
5288
6a639b16
GM
52892011-05-28 Glenn Morris <rgm@gnu.org>
5290
5291 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5292
d43eaf2c
CY
52932011-05-28 Chong Yidong <cyd@stupidchicken.com>
5294
5199bde1
CY
5295 * help-fns.el (describe-function-1): If the function is a derived
5296 major mode, print the parent mode.
5297
d43eaf2c
CY
5298 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5299 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5300
423428a8
SM
53012011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5302
0ff8e1ba
SM
5303 * minibuffer.el (completion--capf-wrapper): Check applicability before
5304 retuning non-nil for non-exclusive completion data.
5305 * progmodes/etags.el (tags-completion-at-point-function):
5306 * info-look.el (info-lookup-completions-at-point): Mark as
5307 non-exclusive.
5308 (info-complete): Adjust accordingly.
5309
423428a8
SM
5310 * info-look.el: Convert to lexical-binding and completion-at-point.
5311 (info-lookup-completions-at-point): New function.
5312 (info-complete): Use it and completion-in-region.
5313
b74aa22b
DA
53142011-05-28 Drew Adams <drew.adams@oracle.com>
5315
5316 * isearch.el: Let M-e start with point at the first mismatched char.
5317 (isearch-fail-pos): New function.
5318 (isearch-edit-string): Use it.
5319
66e2e71d
DK
53202011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5321
5322 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5323
eb95d01d
TC
53242009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5325
5326 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5327 traversal functions for avl-trees.
5328 (avl-tree--stack): New struct.
5329 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5330 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5331 (avl-tree--do-enter): Add optional `updatefun' arg.
5332 Change return value.
eb95d01d 5333 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5334 (avl-tree--do-delete): Add `test' and `nilflag' args.
5335 Change return value.
eb95d01d
TC
5336 (avl-tree-member): Add optional `nilflag'
5337 (avl-tree-member-p): New function.
5338 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5339 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5340 (avl-tree-stack-empty-p): New functions.
5341
3769ddcf
TC
53422009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5343
5344 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5345 avl-tree--del-balance1 and make it work both ways.
5346 (avl-tree--del-balance2): Remove.
5347 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5348 make it work both ways.
5349 (avl-tree--enter-balance2): Remove.
5350 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5351 New macros.
5352 (avl-tree--mapc, avl-tree-map): Add direction argument.
5353
eb95d01d 53542011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5355
5356 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5357
a9f737ee
CY
53582011-05-27 Chong Yidong <cyd@stupidchicken.com>
5359
5360 * select.el: Support clipboard managers with built-in function
5361 x-clipboard-manager-save, via delete-frame-functions and
5362 kill-emacs-hook.
5363 (xselect-convert-to-targets): Add MULTIPLE target to list.
5364 (xselect-convert-to-save-targets): New function.
5365
c92a1e54
KH
53662011-05-27 Kenichi Handa <handa@m17n.org>
5367
5368 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5369 let-binding rfc2047-encode-encoded-words to nil.
5370
e145f188
GM
53712011-05-27 Glenn Morris <rgm@gnu.org>
5372
5ec8a862
GM
5373 * mail/emacsbug.el: Don't require url-util.
5374
4b29d9fb
GM
5375 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5376
e145f188
GM
5377 * files.el (set-auto-mode):
5378 Also respect mode: entries at the end of the file. (Bug#8586)
5379
7d15102b
GM
53802011-05-26 Glenn Morris <rgm@gnu.org>
5381
98f593b8
GM
5382 * files.el (hack-local-variables-prop-line, hack-local-variables):
5383 Downcase mode names, as seems to be traditional.
27b48e63 5384 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5385
7d15102b
GM
5386 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5387 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5388
51d5b4ec
JD
53892011-05-25 Julien Danjou <julien@danjou.info>
5390
5391 * textmodes/rst.el (rst-define-level-faces): Do not define face
5392 symbol if it is already defined.
5393
91513f63
VB
53942011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5395
5396 * play/5x5.el (5x5-new-game, 5x5-randomize):
5397 Reset 5x5-solver-output to nil when a new grid is cast.
5398 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5399 these debugging traces, as defmacro breaks the compiled code.
5400
4d90d6d0
DK
54012011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5402
5403 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5404
e1b90ef6
LL
54052011-05-24 Leo Liu <sdl.web@gmail.com>
5406
5407 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5408 (vc-bzr-sha1): Adapt.
5409
d8e4b68b 5410 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5411
5412 * bindings.el: Provide sha1 feature.
5413
db0406bb 54142011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5415
5416 * mail/sendmail.el: Require `rfc2047'.
5417 (mail-insert-from-field): Do not perform RFC2047 encoding.
5418 (mail-encode-header): New function.
5419 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5420 buffer to the return value of select-message-coding-system.
5421 Call mail-encode-header.
b8d747b9
KH
5422
5423 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5424
db0406bb 54252011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5426
4d90d6d0
DK
5427 * mail/supercite.el (sc-default-cite-frame):
5428 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5429
eb8a5e9b
GM
54302011-05-24 Glenn Morris <rgm@gnu.org>
5431
f8630703
GM
5432 * progmodes/python.el (brm-menu): Declare.
5433
8831bbed
GM
5434 * emulation/viper.el (viper-set-hooks): Declare.
5435
eb8a5e9b
GM
5436 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5437 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5438 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5439 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5440 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5441 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5442
a2a25d24
SM
54432011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5444
5445 Add an :exit-function for completion-at-point.
5446
5447 * minibuffer.el (completion--done): New fun.
5448 (completion--do-completion): Use it. New arg `expect-exact'.
5449 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5450 since completion--do-completion does it for us now.
5451 (minibuffer-force-complete): Use completion--done and
5452 completion--replace. Handle sole-completion case with more care.
5453 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5454 (completion-extra-properties): New var.
5455 (completion-annotate-function): Make obsolete.
5456 (minibuffer-completion-help): Adjust accordingly.
5457 Use completion-list-insert-choice-function.
5458 (completion-at-point, completion-help-at-point):
5459 Bind completion-extra-properties.
5460 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5461 * simple.el (completion-list-insert-choice-function): New var.
5462 (completion-setup-function): Preserve it.
5463 (choose-completion): Pay attention to it, shuffle the code a bit.
5464 (choose-completion-string): New arg `insert-function'.
5465
5466 * textmodes/bibtex.el: Convert to lexical binding.
5467 (bibtex-mode-map): Use completion-at-point.
5468 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5469 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5470 (bibtex-complete): Define as obsolete alias.
5471 (bibtex-complete-internal): Remove.
5472 (bibtex-format-entry): Remove unused sub-group in regexp.
5473 * shell.el (shell--command-completion-data)
5474 (shell-environment-variable-completion):
5475 * pcomplete.el (pcomplete-completions-at-point):
5476 * comint.el (comint--complete-file-name-data): Use :exit-function
5477 instead of completion-table-with-terminator so it also works for
5478 choose-completion.
5479
e44e373d
SM
54802011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5481
4f91a816
SM
5482 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5483
782fc819
SM
5484 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5485 (bug#8710).
5486
e44e373d
SM
5487 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5488
381987c3
KM
54892011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5490
5491 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5492 customization variable and implement: If non-nil, auto-fill will
5493 be inhibited while on topic's header line.
5494
b776bc70
VB
54952011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5496
5497 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5498 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5499 always have a solution in grid size = 5 cases.
5500 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5501 (5x5-solver-output, 5x5-log-buffer): New vars.
5502 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5503 Make these variables buffer local to achieve 5x5 multi-session-ness.
5504 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5505 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5506 (5x5-solve-suggest): New funs.
5507 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5508 randomize a grid so that we ensure that there is always a solution.
5509 (5x5-make-random-grid): Allow other movement than flipping.
5510
7de88b6e
KR
55112011-05-23 Kevin Ryde <user42@zip.com.au>
5512
5513 * emacs-lisp/advice.el (ad-read-advised-function):
5514 Use `function-called-at-point' as the default default, if it has
5515 advice and passes PREDICATE.
5516
b1ef1257
SM
55172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5518
bbca48fe
SM
5519 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5520 byte-compile-lambda if it's actually a lambda.
5521
b1ef1257
SM
5522 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5523 Fix function quoting. Use backquote better.
5524
92a9cc65
YS
55252011-05-22 Yuanle Song <sylecn@gmail.com>
5526
5527 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5528 matching (Bug#8516).
5529
f0fb8059
JA
55302011-01-22 Jari Aalto <jari.aalto@cante.net>
5531
5532 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5533 different face (Bug#8178).
5534
d5b44c93
CY
55352011-05-22 Chong Yidong <cyd@stupidchicken.com>
5536
5537 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5538 defface (Bug#8144).
5539
79106a44
SM
55402011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5541
9c848d8a
SM
5542 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5543 funcall as well (bug#8712). Warn when performing those conversions.
5544 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5545
79106a44
SM
5546 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5547
88dfa756
GM
55482011-05-22 Glenn Morris <rgm@gnu.org>
5549
5550 * files.el (hack-local-variables-prop-line): Small simplifications.
5551 (hack-local-variables, hack-local-variables-prop-line):
5552 If MODE-ONLY, return the mode, rather than just `t'.
5553
b7cf2c79
SM
55542011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5555
5556 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5557
3f1a8558
GM
55582011-05-21 Glenn Morris <rgm@gnu.org>
5559
7e4ccca3
GM
5560 * files.el (hack-local-variables-prop-line, hack-local-variables):
5561 If only interested in the mode, don't bother doing the other stuff.
5562
637d46ca
GM
5563 * image-mode.el (image-after-revert-hook):
5564 Redraw all frames on which the image is visible. (Bug#8567)
5565
973d955b
GM
5566 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5567
3f1a8558
GM
5568 * wid-edit.el (widget-checklist-match-inline):
5569 Fix 2011-04-19 change. (Bug#8649)
5570
96479927
SM
55712011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5572
1dcf791f
SM
5573 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5574 Also allow singlespace after single-letter capitals followed by a dot.
5575
96479927
SM
5576 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5577 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5578
35fd0881
N
55792011-05-20 Nix <nix@esperi.org.uk>
5580
5581 * files.el (basic-save-buffer-2):
5582 Fix handling of break-hardlink-on-save with non-existent files.
5583
82745640
DD
55842011-05-19 Deniz Dogan <deniz@dogan.se>
5585
5586 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5587 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5588
4a720484
GM
55892011-05-19 Glenn Morris <rgm@gnu.org>
5590
d1f21341
GM
5591 * progmodes/f90.el (f90-type-def-re):
5592 Handle "type, bind(c)". (Bug#8691)
5593
4a720484
GM
5594 * emacs-lisp/autoload.el (batch-update-autoloads):
5595 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5596
2fb0a219
MA
55972011-05-18 Michael Albinus <michael.albinus@gmx.de>
5598
5599 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5600 property for the correct connection in case of multihops.
5601
e565dd37
GM
56022011-05-18 Glenn Morris <rgm@gnu.org>
5603
c2571358 5604 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5605 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5606
e565dd37
GM
5607 Rationalize calendar handling of day and month abbrev-arrays.
5608 * calendar/calendar.el (calendar-customized-p): New function.
5609 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5610 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5611 Add :set function.
5612 (calendar-abbrev-length, calendar-day-abbrev-array)
5613 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5614 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5615 Elements may no longer be nil.
5616 (calendar-day-name, calendar-month-name):
5617 Update for changed nature of abbrev arrays.
5618 * calendar/diary-lib.el (diary-name-pattern):
5619 Update for changed nature of abbrev arrays.
5620 (diary-mark-entries-1): Update calendar-make-alist calls.
5621 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5622 * calendar/cal-html.el (cal-html-day-abbrev-array):
5623 Simply inherit from calendar-day-abbrev-array.
5624
1d99a745
SM
56252011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5626
5627 * progmodes/grep.el (grep-mode): Disable default
5628 compilation-directory-matcher setting (bug#8684).
5629
7c1d9aa0
MA
56302011-05-17 Michael Albinus <michael.albinus@gmx.de>
5631
5632 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5633 instead of "head" and "tail". There were problems with SunOS 5.9,
5634 and it performs better.
5635
3952e9d8
GM
56362011-05-17 Glenn Morris <rgm@gnu.org>
5637
2dd12e7f
GM
5638 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5639
e4157b9c
GM
5640 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5641 Replace obsolete function.
5642
8e249bbd
GM
5643 * shell.el (pcomplete-parse-arguments-function): Declare.
5644
3952e9d8
GM
5645 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5646 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5647 (appt-check): Doc fixes.
5648 (appt-disp-window-function, appt-delete-window-function):
5649 Remove needless special case in custom :type.
5650 (appt-display-count): Default to 0, not nil.
5651 (appt-check): Reset appt-display-count to 0, not nil.
5652
c71a0d48 56532011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5654
c71a0d48
GM
5655 * progmodes/python.el (python-font-lock-keywords):
5656 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5657
31d55be9
SM
56582011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5659
5660 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5661
3bfacb2f
KR
56622011-05-16 Kevin Ryde <user42@zip.com.au>
5663
5664 * info-look.el (makefile-automake-mode): New setups, looking in
5665 automake manual, then makefile-mode.
5666 (makefile-mode): Remove automake manual, have it just in
5667 makefile-automake-mode since there's various things different or
5668 not relevant to plain make.
5669 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5670 believe a hypothetical automake-mode would go to makefile-mode,
5671 not the other way around.
5672
c8e83751
CY
56732011-05-15 Chong Yidong <cyd@stupidchicken.com>
5674
5e9e35cd
CY
5675 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5676 hunk-end tags (Bug#8672).
5677
c8e83751
CY
5678 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5679 vc-annotate-show-diff-revision-at-line (Bug#8671).
5680
50b23e5a
GM
56812011-05-14 Glenn Morris <rgm@gnu.org>
5682
7210a739
GM
5683 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5684 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5685 (change-log-font-lock-keywords): Also handle multiple author lines
5686 with leading tabs. (Bug#8644)
7210a739 5687
4691905a
GM
5688 * calendar/appt.el (appt-check): Rename some local variables.
5689 Some simplification/reordering.
5690
50b23e5a
GM
5691 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5692 (feedmail-sendmail-f-doesnt-sell-me-out)
5693 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5694 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5695 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5696 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5697 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5698 (feedmail-binmail-gnulinuxish-template):
5699 Rename from feedmail-binmail-linuxish-template.
5700 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5701 Use insert-buffer-substring.
5702
215cda7c
BC
57032011-05-14 Bill Carpenter <bill@carpenter.org>
5704
5705 * mail/feedmail.el (feedmail-patch-level): Increase.
5706 (feedmail-debug): New custom group.
5707 (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): New options.
5711 (feedmail-sender-line, feedmail-from-line)
5712 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5713 (feedmail-spray-this-address)
215cda7c
BC
5714 (feedmail-spray-address-fiddle-plex-list)
5715 (feedmail-queue-use-send-time-for-date)
5716 (feedmail-queue-use-send-time-for-message-id)
5717 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5718 (feedmail-buffer-eating-function):
5719 Doc fixes.
5720 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5721 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5722 (feedmail-message-action-scroll-down): New functions.
5723 (feedmail-queue-directory, feedmail-queue-draft-directory):
5724 Use expand-file-name.
5725 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5726 Remove C-v help entry.
5727 (feedmail-queue-buffer-file-name): New variable.
5728 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5729 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5730 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5731 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5732 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5733 (feedmail-message-action-toggle-spray)
5734 (feedmail-run-the-queue-no-prompts)
5735 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5736 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5737 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5738 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5739 (feedmail-envelope-deducer, feedmail-fiddle-from)
5740 (feedmail-fiddle-sender, feedmail-default-date-generator)
5741 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5742 (feedmail-fiddle-spray-address)
5743 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5744 (feedmail-fiddle-list-of-fiddle-plexes)
5745 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5746 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5747 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5748 Change default. Doc fix.
5749 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5750 (feedmail-binmail-linuxish-template): New constant.
5751 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5752 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5753 (feedmail-send-it): Add debug call.
5754 Use feedmail-queue-buffer-file-name, and
5755 feedmail-send-it-immediately-wrapper.
5756 (feedmail-message-action-send): Add debug call.
5757 Use feedmail-send-it-immediately-wrapper.
5758 (feedmail-queue-express-to-queue): Add debug call.
5759 Run feedmail-queue-express-hook.
5760 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5761 (feedmail-message-action-help-blat):
5762 Rename from feedmail-queue-send-edit-prompt-help-first.
5763 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5764 Check line-endings. Handle errors better.
5765 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5766 Doc fix. Add debug call.
5767 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5768 Use feedmail-queue-send-edit-prompt-inner.
5769 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5770 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5771 from feedmail-queue-send-edit-prompt.
5772 (feedmail-queue-send-edit-prompt-help)
5773 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5774 (feedmail-tidy-up-slug): Add debug call.
5775 Respect feedmail-queue-slug-suspect-regexp.
5776 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5777 (feedmail-dump-message-to-queue): Add debug call.
5778 Expand queue-directory.
5779 (feedmail-dump-message-to-queue): Change message slightly.
5780 Use feedmail-say-chatter.
5781 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5782 (feedmail-send-it-immediately-wrapper): New function.
5783 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5784 Insert empty string rather than newline. Handle full-frame case.
5785 Use catch/throw. Use feedmail-say-chatter.
5786 (feedmail-fiddle-from): Try mail-host-address.
5787 (feedmail-default-message-id-generator): Doc fix.
5788 Bind system-time-locale. Handle missing end.
5789 (feedmail-fiddle-x-mailer): Add debug call.
5790 Handle feedmail-x-mailer-line being nil.
5791 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5792 Add debug call. Use buffer-substring-no-properties.
5793 (feedmail-say-debug, feedmail-say-chatter): New functions.
5794 (feedmail-find-eoh): Give an explicit error.
5795
42c7e61e
UJ
57962011-05-13 Ulf Jasper <ulf.jasper@web.de>
5797
c2571358 5798 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5799 family from helvetica to sans.
c2571358 5800 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5801 etc/images/newsticker.
5802
c2571358 5803 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5804 family from helvetica to sans.
5805
5806 * net/newst-plainview.el (newsticker-new-item-face)
5807 (newsticker-old-item-face, newsticker-immortal-item-face)
5808 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5809 (newsticker-statistics-face): Change default family from
42c7e61e 5810 helvetica to sans.
c2571358 5811 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5812 etc/images/newsticker.
5813
5814 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5815 (newsticker--process-auto-mark-filter-match): : Tell user about
5816 auto-marking.
5817
8497a297
DV
58182011-05-13 Didier Verna <didier@xemacs.org>
5819
5820 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5821 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5822 TODO entries.
8497a297
DV
5823 (lisp-lambda-list-keyword-parameter-indentation)
5824 (lisp-lambda-list-keyword-parameter-alignment)
5825 (lisp-lambda-list-keyword-alignment): New customizable user options.
5826 (lisp-indent-defun-method): Improve docstring.
5827 (extended-loop-p): Fix comment.
5828 (lisp-indent-lambda-list-keywords-regexp): New variable.
5829 (lisp-indent-lambda-list): New function.
5830 (lisp-indent-259): Use it.
5831 (lisp-indent-defmethod): Support for more than one
5832 method qualifier and properly indent methods lambda-lists.
5833 (defgeneric): Provide a missing common-lisp-indent-function property.
5834
f278f87f
SM
58352011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5836
5837 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5838 bounds for the empty string (bug#8667).
5839
5233edd7
GM
58402011-05-13 Glenn Morris <rgm@gnu.org>
5841
5237a44f
GM
5842 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5843
8340026c 5844 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5845 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5846
5233edd7 5847 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5848 (appt-time-msg-list): Doc fix.
a5464014 5849 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5850
92d10796
AS
58512011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5852
5853 * progmodes/ld-script.el (ld-script-keywords)
5854 (ld-script-builtins): Update keywords list.
5855
914a0ae1
SM
58562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5857
c89be45f
SM
5858 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5859
914a0ae1
SM
5860 * shell.el (shell-completion-vars): New function.
5861 (shell-mode):
5862 * simple.el (read-shell-command): Use it.
5863 (blink-matching-open): No need for " [...]" in minibuffer-message.
5864
98dc3df3
GM
58652011-05-12 Glenn Morris <rgm@gnu.org>
5866
5867 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5868 (appt-check): Simplify.
5869
d2fc7e3d 58702011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5871
4d61f28d 5872 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5873 literal "/dev/null".
5874
d2fc7e3d 58752011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5876
5877 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5878 Fix typo.
5879
d2fc7e3d 58802011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5881
3f254caa
SM
5882 * progmodes/which-func.el (which-function):
5883 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5884 which might not be defined (Bug#8260).
5885
d45885f7
GM
58862011-05-12 Glenn Morris <rgm@gnu.org>
5887
5888 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5889 Let byte-compile-initial-macro-environment always take precedence.
5890
488086f4
SM
58912011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5892
5893 * net/rcirc.el: Add support for SSL/TLS connections.
5894 (rcirc-server-alist): New field `encryption'.
5895 (rcirc): Check `encryption' settings.
5896 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5897 Merge make-local-variable into `set'.
5898 (rcirc--connection-open-p): New function.
5899 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5900 the process is not a network process (e.g. running gnutls-cli).
5901 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5902 Make rcirc-(en|de)code-coding-system local here.
5903 (rcirc-mode): Merge make-local-variable into `set'.
5904 (rcirc-parent-buffer): Make permanent buffer-local.
5905 (rcirc-multiline-minor-mode): Don't do it here.
5906 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5907 there's no server buffer.
5908
7d3b9d44
GM
59092011-05-11 Glenn Morris <rgm@gnu.org>
5910
f64049c6
GM
5911 * newcomment.el (comment-kill): Prefix "unused" local.
5912
93c9df73
GM
5913 * term/w32console.el (get-screen-color): Declare.
5914
7d3b9d44
GM
5915 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5916 Handle symbol elements of byte-compile-initial-macro-environment.
5917
9e2dd53f
LL
59182011-05-10 Leo Liu <sdl.web@gmail.com>
5919
488086f4
SM
5920 * bookmark.el (bookmark-bmenu-mode-map):
5921 Bind bookmark-bmenu-search to `/'.
8b340240 5922
9e2dd53f 5923 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5924 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5925 (Footnote-unicode): New function.
5926 (footnote-style-alist): Add unicode style to the list.
5927 (footnote-style): Doc fix.
9e2dd53f 5928
79b70037
GM
59292011-05-10 Jim Meyering <meyering@redhat.com>
5930
5931 Fix doubled-word typos.
5932 * international/quail.el (quail-insert-kbd-layout): and and -> and
5933 * kermit.el: and and -> and
5934 * net/ldap.el (ldap-search-internal): to to -> to
5935 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5936 * progmodes/js.el (js-mode): and and -> and
5937 * textmodes/artist.el (artist-move-to-xy): at at -> at
5938 (artist-draw-region-trim-line-endings): if if -> if
5939 And Safetyc -> Safety.
5940 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5941
b8f82dc1 59422011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5943 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5944
5945 * files.el (hack-one-local-variable-eval-safep):
5946 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5947
4f99f44b
GM
59482011-05-10 Glenn Morris <rgm@gnu.org>
5949
5950 * calendar/diary-lib.el (diary-list-entries-hook)
5951 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5952 (diary-nongregorian-marking-hook, diary-list-entries)
5953 (diary-include-other-diary-files, diary-mark-entries)
5954 (diary-mark-included-diary-files): Doc fixes.
5955
84f29e6b
JB
59562011-05-09 Juanma Barranquero <lekktu@gmail.com>
5957
5958 * misc.el: Require tabulated-list.el during compilation.
5959
9bedd73a
CY
59602011-05-09 Chong Yidong <cyd@stupidchicken.com>
5961
488086f4
SM
5962 * progmodes/compile.el (compilation-start):
5963 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5964 (compilation-filter-hook): Doc fix.
5965
797c735c
DD
59662011-05-09 Deniz Dogan <deniz@dogan.se>
5967
5968 * wdired.el: Remove outdated installation comment. Fix usage
5969 comment.
5970
5f4b1dfe
JB
59712011-05-09 Juanma Barranquero <lekktu@gmail.com>
5972
5973 * misc.el: Implement new command `list-dynamic-libraries'.
5974 (list-dynamic-libraries--loaded-only-p): New variable.
5975 (list-dynamic-libraries--refresh): New function.
5976 (list-dynamic-libraries): New command.
5977
4c44026c
CY
59782011-05-09 Chong Yidong <cyd@stupidchicken.com>
5979
488086f4
SM
5980 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5981 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5982 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5983 higher priority to avoid clobbering by gnu.
5984
027f966d
CY
59852011-05-08 Chong Yidong <cyd@stupidchicken.com>
5986
5987 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5988 if the face has existing theme settings (Bug#8454).
5989
085f5d7d
CY
59902011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5991
488086f4
SM
5992 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5993 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5994
2a86a00c
RS
5995 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5996 special file names `.' and `..' (Bug#8259).
5997
d9c54a06
CY
59982011-05-08 Chong Yidong <cyd@stupidchicken.com>
5999
488086f4
SM
6000 * progmodes/grep.el (grep-mode-font-lock-keywords):
6001 Remove buffer-changing entries.
d9c54a06
CY
6002 (grep-filter): New function.
6003 (grep-mode): Add it to compilation-filter-hook.
6004
6005 * progmodes/compile.el (compilation-filter-hook)
6006 (compilation-filter-start): New defvars.
6007 (compilation-filter): Call compilation-filter-hook prior to
6008 updating the process mark.
6009
c4662635
SM
60102011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6011
6012 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6013
b0512a1d
EZ
60142011-05-07 Eli Zaretskii <eliz@gnu.org>
6015
605c9376
EZ
6016 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6017 mailclient-send-it even if window-system is nil. (Bug#8595)
6018
c4662635
SM
6019 * term/w32console.el (terminal-init-w32console):
6020 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6021 background-mode. (Bug#8597)
6022
d1dc2cc2
SM
60232011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6024
6025 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6026 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6027 New functions.
6028 (defgeneric, eieio--defmethod): Use them.
6029 (eieio-defgeneric): Remove.
6030 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6031
915d1300
GM
60322011-05-07 Glenn Morris <rgm@gnu.org>
6033
a3961c3e
GM
6034 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6035 Use let rather than let*.
6036 (timeclock-find-discrep): Remove unused local.
6037
314347b9
GM
6038 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6039
915d1300
GM
6040 * calendar/appt.el (appt-time-msg-list): Doc fix.
6041
275b59b0
NF
60422011-05-06 Noah Friedman <friedman@splode.com>
6043
6044 * apropos.el (apropos-print-doc): Only use
6045 emacs-lisp-docstring-fill-column when it is bound to an integer,
6046 per that variable's documentation.
6047
6c19f744
SM
60482011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6051 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6052
60f884b2
GM
60532011-05-06 Glenn Morris <rgm@gnu.org>
6054
5006e634
GM
6055 * calendar/appt.el (appt-message-warning-time): Doc fix.
6056 (appt-warning-time-regexp): New option.
6057 (appt-make-list): Respect appt-message-warning-time.
6058
548d0a63
GM
6059 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6060 New options.
6061 (diary-add-to-list): Strip comments from the displayed string.
6062 (diary-mode): Set comment-start and comment-end.
6063
60f884b2
GM
6064 * vc/diff-mode.el (smerge-refine-subst): Declare.
6065 (diff-refine-hunk): Don't require smerge-mode when compiling.
6066
989681bb
JB
60672011-05-06 Juanma Barranquero <lekktu@gmail.com>
6068
6069 * simple.el (list-processes): Return nil as the docstring says.
6070
a6bc05e1
MA
60712011-05-05 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6074 to "".
6075 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6076 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6077 determining of binary transfer. (Bug#7383)
6078
23c22e9a
MA
60792011-05-05 Michael Albinus <michael.albinus@gmx.de>
6080
c4662635
SM
6081 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6082 Fix port computation bug. (Bug#8618)
23c22e9a 6083
0bff894f
GM
60842011-05-05 Glenn Morris <rgm@gnu.org>
6085
b8296902
GM
6086 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6087
1f522ce8
GM
6088 * simple.el (shell-dynamic-complete-functions)
6089 (comint-dynamic-complete-functions): Declare.
6090
cf5bee67
GM
6091 * net/network-stream.el (gnutls-negotiate):
6092 * simple.el (tabulated-list-print): Fix declarations.
6093
6094 * progmodes/gud.el (syntax-symbol, syntax-point):
6095 Remove unnecessary and incorrect declarations.
6096
0bff894f
GM
6097 * emacs-lisp/check-declare.el (check-declare-scan):
6098 Handle byte-compile-initial-macro-environment in bytecomp.el
6099
9869b3ae
SM
61002011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6101
6102 Fix earlier half-done eieio-defmethod change (bug#8338).
6103 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6104 Streamline and change calling convention.
6105 (defmethod): Adjust accordingly and simplify.
6106 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6107 new eieio--defmethod.
6108 (slot-boundp): Minor CSE simplification.
6109
9c1d5ac5
MZ
61102011-05-05 Milan Zamazal <pdm@zamazal.org>
6111
6112 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6113 (glasses-make-readable): Use glasses-separate-capital-groups.
6114
455c834e
JB
61152011-05-05 Juanma Barranquero <lekktu@gmail.com>
6116
6117 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6118 (warning-series): Doc fix.
6119 (display-warning): Don't try to create the buffer if we just found it.
6120
9ed7c8cb
CY
61212011-05-04 Chong Yidong <cyd@stupidchicken.com>
6122
6123 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6124 (autoload-find-generated-file): New function.
6125 (generate-file-autoloads): Bind generated-autoload-file to
6126 buffer-file-name.
9869b3ae
SM
6127 (update-file-autoloads, update-directory-autoloads):
6128 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6129 output file (Bug#7989).
6130 (batch-update-autoloads): Doc fix.
6131
0898ca10
JB
61322011-05-04 Juanma Barranquero <lekktu@gmail.com>
6133
6134 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6135
31dfb76c
GM
61362011-05-04 Glenn Morris <rgm@gnu.org>
6137
f330b642
GM
6138 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6139 function, so it follows changes in calendar-date-style.
6140 (diary-fancy-date-matcher): New function.
6141 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6142 (diary-fancy-font-lock-fontify-region-function):
6143 Use diary-fancy-date-pattern as a function.
6144
31dfb76c
GM
6145 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6146 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6147
48e79d6a
TZ
61482011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6149
6150 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6151 instead of positional arguments. Allow :keylist and :crlfiles
6152 arguments.
6153 (open-gnutls-stream): Call it.
6154
6155 * net/network-stream.el (network-stream-open-starttls): Adjust to
6156 call `gnutls-negotiate' with :process and :hostname arguments.
6157
dd5a5ee0
SM
61582011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6159
ef80fc09
SM
6160 * minibuffer.el (completion--message): New function.
6161 (completion--do-completion, minibuffer-complete)
6162 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6163 (completion--do-completion): Don't ignore completion-auto-help when in
6164 icomplete-mode.
6165
dd5a5ee0
SM
6166 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6167 internal encoding (e.g. tibetan zero is not whitespace).
6168 (global-whitespace-mode): Prefer save-current-buffer.
6169 (whitespace-trailing-regexp): Remove useless save-match-data.
6170 (whitespace-empty-at-bob-regexp): Minor simplification.
6171
b7d22a83
CY
61722011-05-03 Chong Yidong <cyd@stupidchicken.com>
6173
6174 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6175
5192af46
AM
61762011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6177
6178 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6179 Use `concat' to create string for insertion.
5192af46 6180
5767d190
SM
61812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6184 Avoid open-line which runs post-self-insert-hook.
6185 (bibtex-fill-entry): Remove unused `end' var.
6186
bf242939
AM
61872011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6188
5767d190
SM
6189 * textmodes/ispell.el (ispell-add-per-file-word-list):
6190 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6191
25666126
LL
61922011-05-03 Leo Liu <sdl.web@gmail.com>
6193
6194 * isearch.el (isearch-yank-pop): New command.
5767d190 6195 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6196 (isearch-forward): Mention it.
6197
52d3c2d0
SM
61982011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6199
1bcace58
SM
6200 * simple.el (minibuffer-complete-shell-command): Remove.
6201 (minibuffer-local-shell-command-map): Use completion-at-point.
6202 (read-shell-command): Setup completion vars here instead.
6203 (read-expression-map): Bind TAB to symbol completion.
6204
52d3c2d0
SM
6205 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6206 error directly rather via storing it into `results'.
6207
35813471
LL
62082011-05-02 Leo Liu <sdl.web@gmail.com>
6209
6210 * vc/diff.el: Fix description.
6211
e793a940
LMI
62122011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6213
6214 * server.el (server-eval-at): New function.
6215
8de66e05
LMI
62162011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6217
6218 * net/network-stream.el (open-network-stream): Take a :nowait
6219 parameter and pass it on to `make-network-process'.
6220 (network-stream-open-plain): Ditto.
6221
dcb79f20
AS
62222011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6223
6224 * faces.el (face-spec-set-match-display): Don't match toolkit
6225 options on terminal frames.
6226
14a7fbd8
SM
62272011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6228
7eabc1be
SM
6229 * progmodes/pascal.el: Use lexical binding.
6230 (pascal-mode-map): Remove author preferences.
6231
14a7fbd8
SM
6232 * pcomplete.el (pcomplete-std-complete): Don't abuse
6233 completion-at-point.
6234
50f84510
JB
62352011-04-28 Juanma Barranquero <lekktu@gmail.com>
6236
6e087a44
JB
6237 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6238 removing code that has been dead since 1991 or so.
6239
50f84510
JB
6240 * startup.el (command-line): When warning about "_emacs", use a
6241 delayed warning to allow the user to filter it out.
6242
0ba690bd
DD
62432011-04-28 Deniz Dogan <deniz@dogan.se>
6244
6245 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6246 user has not joined.
6247
08abfaad
SM
62482011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6249
6250 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6251 aren't any completions at point.
6252
638f053a
JB
62532011-04-28 Juanma Barranquero <lekktu@gmail.com>
6254
6255 * subr.el (display-delayed-warnings): New function.
6256 (delayed-warnings-hook): New variable.
6257
8fff8daa
SM
62582011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6259
08abfaad
SM
6260 * minibuffer.el (completion-at-point, completion-help-at-point):
6261 Don't presume that a given completion-at-point-function will always
6262 use the same calling convention.
6263
8fff8daa
SM
6264 * pcomplete.el (pcomplete-completions-at-point):
6265 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6266 pcomplete-seen is non-nil.
6267 (pcomplete-comint-setup): Also recognize the new comint/shell
6268 completion functions.
6269 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6270 pcomplete-seen is non-nil.
6271
841a1577 62722011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6273
841a1577 6274 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6275 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6276 the first character in the entry. This allows for code to add its
211ec907
UJ
6277 own uid to the entry.
6278 (icalendar--convert-float-to-ical): Add export of
6279 `diary-float'-entries save for those with the optional DAY
6280 argument.
6281
2a782793
DC
62822011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6283
6284 * subr.el (shell-quote-argument): Use alternate escaping strategy
6285 when we spot a variable reference in a string.
6286
0438ce91
DC
62872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6288
6289 * cus-start.el (all): Define customization for debug-on-event.
6290
841a1577 62912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6292
6293 * subr.el (shell-quote-argument): Escape correctly under Windows.
6294
d090ed6c
SM
62952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6296
6297 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6298
bfd31217
MA
62992011-04-25 Michael Albinus <michael.albinus@gmx.de>
6300
d090ed6c
SM
6301 * net/tramp.el (tramp-process-actions): Add POS argument.
6302 Delete region between POS and (pos).
bfd31217 6303
d090ed6c
SM
6304 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6305 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6306 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6307
6308 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6309 position in `tramp-process-actions' call.
6310
6311 * net/trampver.el: Update release number.
6312
e92f3bd3
SM
63132011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6314
850256b5
SM
6315 * custom.el (defcustom): Obey lexical-binding.
6316
e92f3bd3
SM
6317 Fix octave-inf completion problems reported by Alexander Klimov.
6318 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6319 Inherit from octave-mode-syntax-table.
6320 (inferior-octave-mode): Set info-lookup-mode.
6321 (inferior-octave-completion-at-point): New function.
6322 (inferior-octave-complete): Use it and completion-in-region.
6323 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6324 comint-filename-completion.
6325 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6326 symbol elements which shouldn't be word elements.
6327 (octave-font-lock-keywords, octave-beginning-of-defun)
6328 (octave-function-header-regexp): Adjust regexps accordingly.
6329 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6330
cd22b309
JB
63312011-04-25 Juanma Barranquero <lekktu@gmail.com>
6332
6333 * net/gnutls.el (gnutls-errorp): Declare before first use.
6334
8b492194
TZ
63352011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6336
6337 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6338 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6339 default trustfile exists before going to use it. Add missing
6340 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6341 Reported by Claudio Bley <claudio.bley@gmail.com>.
6342 (open-gnutls-stream): Add usage example.
6343
6344 * net/network-stream.el (network-stream-open-starttls): Give host
6345 parameter to `gnutls-negotiate'.
6346 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6347 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6348
841a1577 63492011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6350
cd22b309
JB
6351 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6352 Use correct match group (bug#8438).
05842630 6353
3ba7869c
CY
63542011-04-24 Chong Yidong <cyd@stupidchicken.com>
6355
512e3ae1
CY
6356 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6357 (package-menu--generate): New arg specifying packages to show.
6358 (package-menu-refresh, package-menu-execute, list-packages):
6359 Callers changed.
6360 (package-show-package-list): New function, replacing deleted
6361 package--list-packages (renamed because it is non-internal).
6362
6363 * finder.el (finder-list-matches): Use package-show-package-list
6364 instead of deleted package--list-packages.
6365
e92f3bd3
SM
6366 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6367 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6368 (vc-annotate-mode-map): Bind it to RET.
6369
7031be6d
UR
63702011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6371
6372 * progmodes/etags.el (next-file): Don't use set-buffer to change
6373 buffers (Bug#8478).
6374
4ef177aa
CY
63752011-04-24 Chong Yidong <cyd@stupidchicken.com>
6376
c8d173eb
CY
6377 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6378
4ef177aa
CY
6379 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6380 (apropos-accumulator): Doc fix.
6381 (apropos-function, apropos-macro, apropos-command)
6382 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6383 (apropos-plist): Add face property.
6384 (apropos-symbols-internal): Fix indentation.
6385 (apropos-print): Simplify help, and recognize apropos-multi-type.
6386 (apropos-print-doc): Use button-type-get to extract the button's
6387 face property. Fill docstring (Bug#8352).
6388
4ffd0d6b 63892011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6390
6391 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6392
c6c32125 6393 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6394 (mpuz-mode-map): Use mapc.
c6c32125
JB
6395 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6396 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6397 Fix typos in docstrings.
6398
58d468b4
JB
6399 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6400 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6401
6470c3c6
JB
6402 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6403
4ffd0d6b 64042011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6405
6406 * minibuffer.el (completion--do-completion): Avoid the "Next char
6407 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6408
3ad8bad0
CY
6409 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6410 mouse-2 into unread-command-events, it is interpreted correctly.
6411
71d73c9c 6412 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6413 (image-toggle-display): Doc fix.
71d73c9c 6414
841a1577 64152011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6416
4ffd0d6b
GM
6417 * textmodes/page.el (what-page): Use line-number-at-pos to
6418 calculate line number (Bug#6825).
6e1dbaa9 6419
c2fb1b60
JB
64202011-04-22 Juanma Barranquero <lekktu@gmail.com>
6421
6422 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6423 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6424 Pass argument NO-DEFAULT to `find-tag-interactive'.
6425
e02f48d7
JB
64262011-04-22 Juanma Barranquero <lekktu@gmail.com>
6427
6428 Lexical-binding cleanup.
6429
6430 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6431 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6432 * progmodes/ada-prj.el (ada-prj-initialize-values)
6433 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6434 (ada-prj-show-value):
6435 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6436 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6437 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6438 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6439 * progmodes/bug-reference.el (bug-reference-push-button):
6440 * progmodes/fortran.el (fortran-line-length):
6441 * progmodes/glasses.el (glasses-change):
6442 * progmodes/octave-mod.el (octave-fill-paragraph):
6443 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6444 (python-pdbtrack-grub-for-buffer, python-sentinel):
6445 * progmodes/sql.el (sql-save-connection):
6446 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6447 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6448 Mark unused parameters.
6449
6450 * progmodes/compile.el (compilation--flush-directory-cache)
6451 (compilation--flush-parse, compile-internal): Mark unused parameters.
6452 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6453 (compilation-next-error-function): Remove unused variable `timestamp'.
6454
6455 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6456 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6457
6458 * progmodes/dcl-mode.el (dcl-end-of-command):
6459 Remove unused variable `start'.
6460 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6461 (dcl-option-value-basic, dcl-option-value-offset)
6462 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6463 Mark unused parameters.
6464 (dcl-save-local-variable): Remove unused variable `val'.
6465 (mode): Declare.
6466
6467 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6468 Mark unused parameters.
6469 (delphi-ignore-changes): Move before first use.
6470 (delphi-charset-token-at): Remove unused variable `start'.
6471 (delphi-else-start): Remove unused variable `if-count'.
6472 (delphi-comment-block-start, delphi-comment-block-end):
6473 Remove unused variable `kind'.
6474 (delphi-indent-line): Remove unused variable `new-point'.
6475
6476 * progmodes/ebrowse.el (ebrowse-files-list)
6477 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6478 Mark unused parameters. Don't quote `lambda'.
6479 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6480 Don't quote `lambda'.
6481 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6482 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6483 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6484 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6485 Use `ignore-errors'.
6486 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6487 (ebrowse-view/find-file-and-search-pattern)
6488 (ebrowse-view/find-member-declaration/definition):
6489 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6490 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6491 Rename parameter PREFIX-ARG to PREFIX.
6492 (ebrowse-tags-read-name): Remove unused variables `start' and
6493 `member-info'.
6494 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6495 to `tags-file'.
6496
6497 * progmodes/etags.el (local-find-tag-hook): Declare.
6498 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6499 Mark unused parameters.
6500
6501 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6502 (executable-interpret): Mark unused parameter.
6503
6504 * progmodes/flymake.el (flymake-process-sentinel)
6505 (flymake-after-change-function)
6506 (flymake-create-temp-with-folder-structure)
6507 (flymake-get-include-dirs-dot): Mark unused parameters.
6508 (flymake-safe-delete-directory): Remove unused variable `err'.
6509
6510 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6511 (speedbar-timer-fn, speedbar-line-text)
6512 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6513 (speedbar-center-buffer-smartly): Declare functions.
6514 (gdb-find-watch-expression): Remove unused variable `array'.
6515 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6516 (gdb-starting): Mark unused parameters.
6517 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6518 (gdb-table-string): Remove unused variable `res'.
6519 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6520 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6521 (gdb-display-buffer): Remove unused variable `cur-size'.
6522
6523 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6524 allow lexical-binding compilation.
6525 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6526 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6527 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6528 Mark unused parameters.
6529 (gud-gdb-marker-filter): Remove unused variable `match'.
6530 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6531 lambda expressions and funcall them, instead of using `fset'.
6532
6533 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6534 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6535
6536 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6537 variable `header-beg'; use `let'.
6538
6539 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6540 `restart', `last-sexp' and `at-do'.
6541
6542 * progmodes/js.el (js--debug): Mark unused parameter.
6543 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6544 (js--splice-into-items): Remove unused variable `item'.
6545 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6546
6547 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6548 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6549 (makefile-complete): Remove unused variable `try'.
6550 (makefile-fill-paragraph, makefile-match-function-end):
6551 Mark unused parameters.
6552
6553 * progmodes/octave-inf.el (inferior-octave-complete):
6554 Remove unused variable `proc'.
6555 (inferior-octave-output-digest): Mark unused parameter.
6556
6557 * progmodes/perl-mode.el (perl-calculate-indent):
6558 Remove unused variable `err'.
6559
6560 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6561 (prolog-indent-line): Mark unused parameters.
6562 (prolog-indent-line): Remove unused variable `beg'.
6563
6564 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6565 (reporter-dont-compact-list): Declare.
6566
6567 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6568 Remove unused variable `char'.
6569 (sh-debug): Mark unused parameter.
6570 (sh-get-indent-info): Remove unused variable `start'.
6571 (sh-calculate-indent): Remove unused variable `var'.
6572
6573 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6574 (simula-electric-keyword): Remove unused variable `null'.
6575 (simula-search-backward, simula-search-forward): Remove unused
6576 variables `begin' and `end'.
6577
6578 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6579 Remove unused variable `pos'.
6580 (vera-electric-tab, vera-comment-uncomment-region):
6581 Mark unused parameters.
6582 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6583
7ede3b65
CY
65842011-04-22 Chong Yidong <cyd@stupidchicken.com>
6585
6586 * emacs-lisp/package.el (package--builtins, package-alist)
6587 (package-load-descriptor, package-built-in-p, package-activate)
6588 (define-package, package-installed-p)
6589 (package-compute-transaction, package-buffer-info)
6590 (package--push): Doc fix. Distinguish more clearly between
6591 version strings and version lists.
6592
121656e9
JB
65932011-04-21 Juanma Barranquero <lekktu@gmail.com>
6594
6595 Lexical-binding cleanup.
6596
6597 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6598 (5x5-make-mutate-best):
6599 * play/fortune.el (fortune-in-buffer):
6600 * play/gomoku.el (gomoku-init-display):
6601 * play/solitaire.el (solitaire, solitaire-do-check):
6602 * play/tetris.el (tetris-default-update-speed-function):
6603 Mark unused parameters.
6604
6605 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6606 (bubbles--shift): Remove unused variable `char-org'.
6607 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6608 (bubbles--show-images): Remove unused variable `char'.
6609
6610 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6611 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6612 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6613 (decipher-analyze-buffer): Use ?\s.
6614 (decipher-make-checkpoint): Remove unused variable `mapping'.
6615
6616 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6617
6618 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6619 Remove unused variable `result'; use `let'.
6620
6621 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6622 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6623 (gametree-children-shown-p, gametree-compute-reduced-score):
6624 Use `ignore-errors'.
6625
6626 * play/handwrite.el (ps-lpr-switches): Declare.
6627 (handwrite): Remove unused variables `pmin' and `lastp'.
6628
6629 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6630
6631 * play/landmark.el (landmark-init-display)
6632 (landmark-update-naught-weights): Mark unused parameters.
6633 (landmark-y): Remove unused variable `noise'. Simplify.
6634 (landmark-human-plays): Remove unused variable `score'.
6635
6636 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6637 (mpuz-try-proposal): Remove unused variable `game'.
6638
6639 * play/zone.el (life-patterns): Declare.
6640
80f499c7
JB
66412011-04-20 Juanma Barranquero <lekktu@gmail.com>
6642
6643 * vc/vc.el (ediff-vc-internal): Declare function.
6644
024ff170
SM
66452011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6646
c0a193ea
SM
6647 * shell.el: Use lexical-binding and std completion UI.
6648 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6649 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6650 comint-preoutput-filter-functions rather than on
6651 comint-output-filter-functions.
6652 (shell-command-completion, shell--command-completion-data)
6653 (shell-filename-completion, shell-environment-variable-completion)
6654 (shell-c-a-p-replace-by-expanded-directory): New functions.
6655 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6656 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6657 (shell-dynamic-complete-environment-variable): Use them.
6658 (shell-dynamic-complete-as-environment-variable)
6659 (shell-dynamic-complete-as-command): Remove.
6660 (shell-match-partial-variable): Match past point.
6661 * comint.el: Clean up use of completion-at-point-functions.
6662 (comint-completion-at-point): New function.
6663 (comint-mode): Use it completion-at-point-functions.
6664 (comint-dynamic-complete): Make it obsolete.
6665 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6666 (comint-c-a-p-replace-by-expanded-history): New function.
6667 (comint-dynamic-complete-functions)
6668 (comint-replace-by-expanded-history): Use it.
6669 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6670 termination strings. Try harder to avoid second try-completion.
6671 (completion-in-region-mode-map): Disable bindings that don't work yet.
6672
2dbaa080
SM
6673 * comint.el: Use lexical-binding. Require CL.
6674 (comint-dynamic-complete-functions): Use comint-filename-completion.
6675 (comint-completion-addsuffix): Tweak custom type.
6676 (comint-filename-completion, comint--common-suffix)
6677 (comint--common-quoted-suffix, comint--table-subvert)
6678 (comint--complete-file-name-data): New functions.
6679 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6680 (comint-dynamic-list-filename-completions): Use them.
6681 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6682
2dbaa080
SM
6683 * minibuffer.el (completion-in-region-mode):
6684 Keep completion-in-region-mode--predicate global.
6685 (completion-in-region--postch):
6686 Assume completion-in-region-mode--predicate is not null.
6687
c79a6f38
SM
6688 * progmodes/flymake.el (flymake-start-syntax-check-process):
6689 Obey `dir'. Simplify.
6690
024ff170
SM
6691 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6692 we're in VC after all.
6693
1c6c854e
CS
66942011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6695
6696 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6697 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6698 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6699
bed7f140
SM
67002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6701
332e62ab
SM
6702 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6703 add sanity check.
6704
bed7f140
SM
6705 * obsolete/erc-hecomplete.el: Make obsolete.
6706 * obsolete/: Standardize obsolescence info in the header.
6707
f195c582
GM
67082011-04-20 Glenn Morris <rgm@gnu.org>
6709
6710 * calendar/solar.el (solar-horizontal-coordinates):
6711 Use the longitude argument rather than `calendar-longitude'.
6712 (solar-date-next-longitude): Remove unused locals.
6713
cb79b8c0
VJL
67142011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6715
6716 * whitespace.el: New version 13.2.1.
6717
67182011-04-20 felix <EmacsWiki> (tiny change)
6719
d8e4b68b 6720 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6721 switching between major modes on a file.
6722
602ea69d
SM
67232011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6724
6725 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6726 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6727 multi-line comments as well.
6728
06b60517
JB
67292011-04-19 Juanma Barranquero <lekktu@gmail.com>
6730
6731 Lexical-binding cleanup.
6732
6733 * arc-mode.el (archive-mode-revert):
6734 * cmuscheme.el (scheme-interactively-start-process):
6735 * custom.el (custom-initialize-delay):
6736 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6737 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6738 * emacs-lock.el (emacs-lock-clear-sentinel):
6739 * ezimage.el (defezimage):
6740 * follow.el (follow-avoid-tail-recenter):
6741 * fringe.el (set-fringe-mode-1):
6742 * generic-x.el (bat-generic-mode-compile):
6743 * help-mode.el (help-info-variable, help-do-xref)
6744 (help-mode-revert-buffer):
6745 * help.el (view-emacs-todo):
6746 * iswitchb.el (iswitchb-completion-help):
6747 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6748 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6749 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6750 * locate.el (locate-update):
6751 * longlines.el (longlines-encode-region)
6752 (longlines-after-change-function):
6753 * outline.el (outline-isearch-open-invisible):
6754 * ps-def.el (declare-function, charset-dimension, char-width)
6755 (encode-char):
6756 * ps-mule.el (ps-mule-plot-string):
6757 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6758 (recentf-edit-list-select, recentf-edit-list-validate)
6759 (recentf-open-files-action):
6760 * rect.el (delete-whitespace-rectangle-line)
6761 (rectangle-number-line-callback):
6762 * register.el (window-configuration-to-register)
6763 (frame-configuration-to-register):
6764 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6765 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6766 (xselect-convert-to-targets, xselect-convert-to-delete)
6767 (xselect-convert-to-filename, xselect-convert-to-charpos)
6768 (xselect-convert-to-lineno, xselect-convert-to-colno)
6769 (xselect-convert-to-os, xselect-convert-to-host)
6770 (xselect-convert-to-user, xselect-convert-to-class)
6771 (xselect-convert-to-name, xselect-convert-to-integer)
6772 (xselect-convert-to-atom, xselect-convert-to-identity):
6773 * subr.el (declare, ignore, process-kill-without-query)
6774 (text-clone-maintain):
6775 * terminal.el (te-get-char, te-tic-sentinel):
6776 * tool-bar.el (tool-bar-make-keymap):
6777 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6778 * type-break.el (type-break-mode, type-break-noninteractive-query):
6779 * view.el (View-back-to-mark):
6780 * wid-browse.el (widget-browse-action, widget-browse-widget)
6781 (widget-browse-widgets, widget-browse-sexp):
6782 * widget.el (define-widget-keywords):
6783 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6784 Mark unused parameters.
6785
6786 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6787 (align-areas): Remove unused variable `look'.
6788 (align-region): Remove unused variables `real-end' and `pos-list'.
6789
6790 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6791
6792 * bindings.el (mode-line-modified, mode-line-remote):
6793 Mark unused parameters.
6794 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6795
6796 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6797 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6798
6799 * comint.el (comint-history-isearch-pop-state)
6800 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6801 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6802 (comint-substitute-in-file-name): Doc fix.
6803
6804 * completion.el (cmpl-statistics-block): Mark unused parameter.
6805 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6806 (save-completions-to-file, load-completions-from-file):
6807 Remove unused local variable `e'.
6808
6809 * composite.el (compose-chars): Remove unused variable `len'.
6810 (lgstring-insert-glyph): Remove unused variable `g'.
6811 (compose-glyph-string): Remove unused variables `ascent',
6812 `descent', `lbearing' and `rbearing'.
6813 (compose-glyph-string-relative): Remove unused variables
6814 `lbearing', `rbearing' and `wadjust'.
6815 (compose-gstring-for-graphic): Remove unused variables `header',
6816 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6817 (compose-gstring-for-terminal): Remove unused variables `header'
6818 and `nchars'. Use `let', not `let*'.
6819
6820 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6821 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6822 (Custom-buffer-done, custom-buffer-create-internal)
6823 (custom-browse-visibility-action, custom-browse-group-tag-action)
6824 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6825 (widget-magic-mouse-down-action, custom-toggle-parent)
6826 (custom-add-parent-links, custom-toggle-hide-variable)
6827 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6828 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6829 (custom-face-menu-create, custom-variable-menu-create, get)
6830 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6831 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6832 (customize-apropos): Remove unused variable `tests'.
6833 (custom-group-value-create): Remove unused variable `hidden-p'.
6834 (sort-fold-case): Declare.
6835
6836 * cus-theme.el (custom-reset-standard-faces-list)
6837 (custom-reset-standard-variables-list): Declare.
6838 (customize-create-theme, custom-theme-revert, custom-theme-write)
6839 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6840 Mark unused parameters.
6841
6842 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6843
6844 * delim-col.el (delimit-columns-max): Move defvar before first use.
6845
6846 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6847 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6848
6849 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6850 (auto-insert): Declare.
6851 (desktop-restore-file-buffer): Rename desktop-* parameters;
6852 mark unused ones.
6853 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6854 (desktop-buffer): Rename desktop-* parameters.
6855
6856 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6857 (dframe-reposition-frame-xemacs, dframe-help-echo)
6858 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6859 Mark unused parameters.
6860
6861 * dired-aux.el (backup-extract-version-start, overwrite-query)
6862 (overwrite-backup-query, rename-regexp-query)
6863 (rename-non-directory-query): Declare.
6864 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6865 (dired-add-entry): Remove unused variable `orig-file-name'.
6866 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6867 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6868 `dired-copy-preserve-time' directly.
6869 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6870 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6871
6872 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6873 (dired-virtual-revert, dired-make-relative-symlink):
6874 Mark unused parameters.
6875 (manual-program): Declare.
6876 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6877 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6878 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6879
6880 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6881
6882 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6883
6884 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6885 Declare.
6886
6887 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6888
6889 * electric.el (Electric-command-loop): Rename parameter
6890 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6891
6892 * expand.el (expand-in-literal): Remove unused variable `here'.
6893
6894 * facemenu.el (facemenu-add-new-color):
6895 Remove unused variable `docstring'.
6896
6897 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6898 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6899 (face-attr-construct): Mark unused parameter. Doc fix.
6900 (read-color): Remove unused variable `hex-string'.
6901
6902 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6903 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6904 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6905 (display-buffer-other-frame): Remove unused variable `old-window'.
6906 (kill-buffer-hook): Declare.
6907 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6908 Mark unused parameters.
6909 (after-find-file): Pass 1 to `auto-save-mode', not t.
6910
6911 * files-x.el (auto-insert): Declare.
6912 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6913
6914 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6915 variable `buf'. Mark unused parameter.
06b60517
JB
6916 (find-lisp-insert-directory): Mark unused parameter.
6917
6918 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6919 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6920 (format-common-tail): Remove, unused.
6921 (format-deannotate-region): Remove unused variable `loc'.
6922 (format-annotate-region): Remove unused variable `p'.
6923 (format-annotate-single-property-change): Remove unused variables
6924 `default' and `tail'.
6925
6926 * forms.el (read-file-filter): Declare.
6927 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6928
6929 * frame.el (frame-creation-function-alist): Mark unused parameter.
6930 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6931
6932 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6933 Remove unused parameters.
6934 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6935 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6936
6937 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6938 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6939 (hfy-prepare-tag-map): Mark unused parameters.
6940 (htmlfontify-buffer): Use `called-interactively-p'.
6941
6942 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6943 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6944 (ibuffer-do-occur): Mark unused parameters.
6945 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6946 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6947
6948 * ibuffer.el: Don't quote `lambda'.
6949 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6950 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6951 Mark unused parameters.
6952
6953 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6954 (ido-completing-read): Mark unused parameters.
6955 (ido-copy-current-word): Mark unused parameters;
6956 remove unused variable `name'.
6957 (ido-sort-merged-list): Remove unused parameter `dirs'.
6958
6959 * ielm.el (ielm-input-sender): Mark unused parameter.
6960 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6961 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6962 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6963 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6964 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6965
6966 * image-dired.el (image-dired-display-thumbs): Remove unused
6967 variables `curr-file' and `count'.
6968 (image-dired-remove-tag): Remove unused variable `start'.
6969 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6970 variable `curr-file'
6971 (image-dired-rotate-original): Remove unused variable `temp-file'.
6972 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6973 Remove unused variable `file'.
6974 (image-dired-gallery-generate): Remove unused variable `curr'.
6975 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6976
6977 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6978
6979 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6980
6981 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6982
6983 * isearch.el (minibuffer-history-symbol): Declare.
6984 (isearch-edit-string): Remove unused variable `err'.
6985 (isearch-message-prefix, isearch-message-suffix):
6986 Mark unused parameters.
6987
6988 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6989
6990 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6991
6992 * makesum.el (double-column): Remove unused variable `cnt'.
6993
6994 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6995 (ido-ignore-item-temp-list): Declare.
6996
6997 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6998 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6999 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
7000 (mouse-drag-drag): Remove unused variables `mouse-delta' and
7001 `mouse-col-delta'.
7002
7003 * mouse-sel.el (mouse-extend-internal):
7004 Remove unused variable `orig-window-frame'.
7005
7006 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7007 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7008 Move declarations before first use.
7009 (pcomplete-opt): Mark unused parameters; doc fix.
7010
7011 * proced.el (proced-revert): Mark unused parameter.
7012 (proced-send-signal): Remove unused variable `err'.
7013
7014 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7015 Rename parameter PREFIX-ARG to ARG.
7016 (ps-basic-plot-string, ps-basic-plot-whitespace):
7017 Mark unused parameters.
7018
7019 * replace.el (replace-count): Define.
7020 (occur-revert-function): Mark unused parameters.
7021 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7022 (isearch-case-fold-search, isearch-string): Declare.
7023 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7024 bind `case-fold-search'. Remove unused variables `beg' and `end',
7025 and simplify.
7026 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7027 COUNT and bind `replace-count'.
7028 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7029 to COUNT.
7030
7031 * savehist.el (print-readably, print-string-length): Declare.
7032
7033 * shadowfile.el (shadow-expand-cluster-in-file-name):
7034 Remove unused variable `cluster'.
7035 (shadow-copy-file): Remove unused variable `i'.
7036 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7037 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7038 (shadow-define-literal-group, shadow-define-regexp-group)
7039 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7040
7041 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7042 (shell): Use `called-interactively-p'.
7043 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7044
7045 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7046 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7047 (delete-backward-char): Remove unused variable `ocol'.
7048 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7049 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7050 (event-apply-hyper-modifier, event-apply-shift-modifier)
7051 (event-apply-control-modifier, event-apply-meta-modifier):
7052 Mark unused parameters.
7053 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7054 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7055
7056 * speedbar.el (speedbar-ignored-directory-expressions)
7057 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7058 (speedbar-find-file, speedbar-dir-follow)
7059 (speedbar-directory-buttons-follow, speedbar-tag-find)
7060 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7061 (speedbar-buffers-line-directory, speedbar-buffer-click):
7062 Mark unused parameters.
7063 (speedbar-tag-file): Remove unused variable `mode'.
7064 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7065
7066 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7067
7068 * talk.el (talk): Remove unused variable `display'.
7069
7070 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7071 (tar-write-region-annotate): Mark unused parameter.
7072
7073 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7074 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7075 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7076 warning by another.
7077
7078 * time-stamp.el (time-stamp-string-preprocess):
7079 Remove unused variable `require-padding'.
7080
7081 * tree-widget.el (widget-glyph-enable): Declare.
7082 (tree-widget-action): Mark unused parameter.
7083
7084 * w32-fns.el (x-get-selection): Mark unused parameter.
7085 (autoload-make-program, generated-autoload-file): Declare.
7086
7087 * wdired.el (wdired-revert): Mark unused parameters.
7088 (wdired-xcase-word): Remove unused variable `err'.
7089
7090 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7091 (whitespace-help-scroll): Remove unused variable `data-help'.
7092
7093 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7094 (widget-image-insert, widget-after-change, default)
7095 (widget-default-format-handler, widget-default-notify)
7096 (widget-default-prompt-value, widget-info-link-action)
7097 (widget-url-link-action, widget-function-link-action)
7098 (widget-variable-link-action, widget-file-link-action)
7099 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7100 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7101 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7102 (widget-insert-button-action, widget-delete-button-action, visibility)
7103 (widget-documentation-link-action, widget-documentation-string-action)
7104 (widget-const-prompt-value, widget-regexp-match, symbol)
7105 (widget-coding-system-prompt-value)
7106 (widget-key-sequence-value-to-external, sexp)
7107 (widget-sexp-value-to-internal, character, vector, cons)
7108 (widget-choice-prompt-value, widget-boolean-prompt-value)
7109 (widget-color--choose-action): Mark unused parameters.
7110 (widget-item-match-inline, widget-choice-match-inline)
7111 (widget-checklist-match, widget-checklist-match-inline)
7112 (widget-group-match): Rename parameter VALUES to VALS.
7113 (widget-field-value-set): Remove unused variable `size'.
7114 (widget-color-action): Remove unused variables `value' and `start'.
7115
7116 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7117 variable `dir'. Doc fix.
06b60517
JB
7118 (windmove-find-other-window): Don't pass it.
7119
7120 * window.el (count-windows): Mark unused parameter.
7121 (bw-adjust-window): Remove unused variable `err'.
7122
7123 * woman.el (woman-file-name): Remove unused variable `default'.
7124 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7125 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7126 (global-font-lock-mode): Declare.
7127 (woman-decode-region): Mark unused parameter.
7128 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7129
7130 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7131 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7132 (x-dnd-handle-moz-url): Remove unused variable `title'.
7133 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7134
7135 * xml.el (xml-parse-tag, xml-parse-attlist):
7136 Remove unused variable `pos'.
7137
bc4f7f3d
GM
71382011-04-19 Glenn Morris <rgm@gnu.org>
7139
7140 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7141 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7142 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7143 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7144 * calendar/cal-html.el (cal-html-insert-minical):
7145 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7146 (calendar-mark-date-pattern):
7147 Prefix "unused" locals.
7148
7149 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7150 optional argument `style'.
7151
7152 * calendar/appt.el (appt-make-list):
7153 * calendar/cal-china.el (calendar-chinese-date-string):
7154 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7155 (diary-hebrew-yahrzeit):
7156 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7157 * calendar/calendar.el (calendar-generate-window):
7158 * calendar/time-date.el (time-to-days):
7159 Remove unused local variables.
7160
16a43933
CY
71612011-04-18 Chong Yidong <cyd@stupidchicken.com>
7162
7163 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7164 glyphless-char-display table.
7165 (tabulated-list-glyphless-char-display): New var.
7166
7eed1860
SS
71672011-04-18 Sam Steingold <sds@gnu.org>
7168
7169 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7170 to acknowledgments.
7171
4d2d1ccd
GM
71722011-04-17 Glenn Morris <rgm@gnu.org>
7173
7174 * calendar/diary-lib.el (diary-sexp-entry):
7175 * calendar/holidays.el (holiday-sexp):
7176 Set debug-on-error rather than the removed stack-trace-on-error.
7177
239da61d
GM
71782011-04-16 Glenn Morris <rgm@gnu.org>
7179
7180 * progmodes/f90.el: Use lexical-binding.
7181 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7182
8b05752a
SM
71832011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7184
daca8ba5
SM
7185 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7186 (mail-mode): Setup mailalias completion here instead.
7187 * mail/mailalias.el: Use lexical-binding.
7188 (pattern, mailalias-done): Declare dynamic.
7189 (mail-completion-at-point-function): New function, from mail-complete.
7190 (mail-complete): Use it.
7191 (mail-completion-expand): New function.
7192 (mail-get-names): Use it.
7193 (mail-directory, mail-directory-process, mail-directory-stream):
7194 Don't use `pattern' for lexically bound arg.
7195
6f542485
SM
7196 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7197
037e7c3f
SM
7198 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7199 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7200 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7201
8b05752a
SM
7202 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7203 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7204 (byte-interactive-p): Define them again, for use when inlining
7205 old code.
7206
49093f60
JB
72072011-04-15 Juanma Barranquero <lekktu@gmail.com>
7208
7209 * loadup.el: Use `string-to-number', not `string-to-int'.
7210
b5b8e7de
SM
72112011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7214 gud-gdb-complete-command.
7215 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7216 (gud-gdb-completion-at-point): New function.
7217 (gud-gdb-completions): Remove.
7218
f42efeb5
MA
72192011-04-14 Michael Albinus <michael.albinus@gmx.de>
7220
49093f60
JB
7221 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7222 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7223 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7224 whether `executable-find' is bound.
f42efeb5
MA
7225
7226 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7227
e240cc21
SM
72282011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * minibuffer.el (completion-in-region-mode-predicate)
7231 (completion-in-region-mode--predicate): New vars.
7232 (completion-in-region, completion-in-region--postch)
7233 (completion-in-region-mode): Use them.
7234 (completion--capf-wrapper): Also return the hook function.
7235 (completion-at-point, completion-help-at-point):
7236 Adjust and provide a predicate.
c2bd2ab0
SM
7237
7238 Preserve arg names for advice of subr and lexical functions (bug#8457).
7239 * help-fns.el (help-function-arglist): Consolidate the subr and
7240 new-byte-code cases. Add argument `preserve-names' to extract names
7241 from the docstring when needed.
7242 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7243 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7244 (ad-arglist): Use help-function-arglist's new arg.
7245 (ad-definition-type): Use cond.
7246
c183f693
JB
72472011-04-13 Juanma Barranquero <lekktu@gmail.com>
7248
06641a47
JB
7249 * autorevert.el (auto-revert-handler):
7250 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7251 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7252 Don't quote lambda.
7253
c183f693
JB
7254 * image-mode.el (image-transform-set-scale):
7255 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7256
1e3b6001
G
72572011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7258
7259 * net/network-stream.el (network-stream-open-starttls): Only do
7260 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7261 Upgrades via gnutls-cli are too slow to be done opportunistically.
7262
2d6af8dd
JB
72632011-04-12 Juanma Barranquero <lekktu@gmail.com>
7264
7265 * dframe.el (dframe-current-frame): Remove spurious quote.
7266
c0749a51
GM
72672011-04-12 Glenn Morris <rgm@gnu.org>
7268
088d0d61
GM
7269 * calendar/cal-tex.el (cal-tex-end-document):
7270 Try to automatically use latin1 input if needed.
7271
c0749a51
GM
7272 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7273 Don't try to cons a mark onto an empty element.
7274
5c90fde0
LL
72752011-04-11 Leo Liu <sdl.web@gmail.com>
7276
7277 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7278 buffers.
7279 (ido-kill-buffer-at-head): Support killing virtual buffers.
7280
369e974d
CY
72812011-04-10 Chong Yidong <cyd@stupidchicken.com>
7282
7283 * minibuffer.el (completion-show-inline-help): New var.
7284 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7285 (minibuffer-force-complete, minibuffer-complete-word):
7286 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7287
7288 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7289 to avoid interference from inline help (Bug#5849).
7290
37f1c930
LL
72912011-04-10 Leo Liu <sdl.web@gmail.com>
7292
099c39a4
JB
7293 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7294 Fix typo.
37f1c930 7295
a32d4040
CY
72962011-04-09 Chong Yidong <cyd@stupidchicken.com>
7297
7298 * image-mode.el (image-toggle-display-image): Signal an error if
7299 not in Image mode.
7300 (image-transform-mode, image-transform-resize)
7301 (image-transform-set-rotation): Doc fix.
daca8ba5 7302 (image-transform-set-resize): Delete.
a32d4040
CY
7303 (image-transform-set-scale, image-transform-fit-to-height)
7304 (image-transform-fit-to-width): Handle image-toggle-display-image
7305 and image-transform-resize directly.
7306
099c39a4 73072011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7308
7309 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7310 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7311 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7312 (doc-view-mode-map): Add bindings for the new functions.
7313
099c39a4 73142011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7315
4d61f28d 7316 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7317 Fix typo in docstring.
7318
3726838a
EZ
73192011-04-08 Eli Zaretskii <eliz@gnu.org>
7320
04f33f1e
EZ
7321 * files.el (file-size-human-readable): Produce one digit after
7322 decimal, like "ls -lh" does.
7323
7324 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7325 the file size representation.
7326
3726838a
EZ
7327 * simple.el (list-processes): If async subprocesses are not
7328 available, error out with a clear error message.
7329
cbb59342
CY
73302011-04-08 Chong Yidong <cyd@stupidchicken.com>
7331
7332 * help.el (help-form-show): New function, to be called from C.
7333 Put help-form output in a buffer named differently than *Help*.
7334
e3971c44
EZ
73352011-04-08 Eli Zaretskii <eliz@gnu.org>
7336
7337 * files.el (file-size-human-readable): New function.
7338
7339 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7340 computing the representation inline. Don't require `cl'.
7341
12544bbe
GM
73422011-04-08 Glenn Morris <rgm@gnu.org>
7343
a1de6c6a
GM
7344 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7345
3c4671f4
GM
7346 * net/browse-url.el (browse-url-firefox):
7347 Test system-type, not system-configuration.
7348
b605679c
GM
7349 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7350 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7351 Use log-edit-empty-buffer-p. (Bug#7598)
7352
56442f0c
GM
7353 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7354 (rlogin-mode-map): Initialize in the defvar.
7355 (rlogin): Use ignore-errors.
7356
12544bbe
GM
7357 * replace.el (occur-mode-map): Some fixes for menu items.
7358
eb237b0f
AH
73592011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7360
7361 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7362
7d668f2c
CY
73632011-04-06 Chong Yidong <cyd@stupidchicken.com>
7364
e67a13ab
CY
7365 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7366 issuing unused warnings.
7367
7368 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7369 macro directly.
7370
7d668f2c
CY
7371 * simple.el: Lisp reimplement of list-processes. Based on an
7372 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7373 (process-menu-mode): New major mode.
7374 (list-processes--refresh, list-processes):
7375 (process-menu-visit-buffer): New functions.
7376
7377 * files.el (save-buffers-kill-emacs): Don't assume any return
7378 value of list-processes, which is undocumented anyway.
7379
a83ec3c9
CY
73802011-04-06 Chong Yidong <cyd@stupidchicken.com>
7381
7382 * emacs-lisp/tabulated-list.el: New file.
7383
e91a96fe
CY
7384 * emacs-lisp/package.el: Use Tabulated List mode.
7385 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7386 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7387 table format using Tabulated List mode variables.
7388 (package--push): New macro, replacing package-list-maybe-add.
7389 (package-menu--generate): Use package--push. Renamed from
7390 package--generate-package-list.
7391 (package-menu-refresh, list-packages): Use it.
daca8ba5 7392 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7393 Return insertion data instead of inserting it directly.
099c39a4
JB
7394 (package-menu-describe-package, package-menu-execute):
7395 Use tabulated-list-get-id.
e91a96fe
CY
7396 (package-menu-mark-delete, package-menu-mark-install)
7397 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7398 (package-menu-mark-obsolete-for-deletion):
7399 Use tabulated-list-put-tag.
e91a96fe
CY
7400 (package--list-packages, package-menu-revert)
7401 (package-menu-get-package, package-menu-get-version)
7402 (package-menu-sort-by-column): Functions deleted.
7403 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7404 (package-menu--status-predicate, package-menu--version-predicate)
7405 (package-menu--name-predicate)
7406 (package-menu--description-predicate): Handle arguments in the
7407 Tabulated List format.
7408 (package-list-packages-no-fetch): Call list-packages.
7409
3e214b50
JB
74102011-04-06 Juanma Barranquero <lekktu@gmail.com>
7411
7412 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7413 (after-find-file): Don't bind it.
3e214b50
JB
7414 (revert-buffer-in-progress-p): New variable.
7415 (revert-buffer): Bind it.
7416 Pass nil for `after-find-file-from-revert-buffer'.
7417
7418 * saveplace.el (save-place-find-file-hook): Use new variable
7419 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7420
3f0f1700
GM
74212011-04-06 Glenn Morris <rgm@gnu.org>
7422
c0274801
GM
7423 * Makefile.in (AUTOGEN_VCS): New variable.
7424 (autoloads): Use $AUTOGEN_VCS.
7425
3f0f1700
GM
7426 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7427 * calendar/calendar.el (calendar-mode-map):
7428 Check for toolkit scroll bars. (Bug#8305)
7429
41ea9e48
CY
74302011-04-05 Chong Yidong <cyd@stupidchicken.com>
7431
7432 * minibuffer.el (completion-in-region--postch)
7433 (completion-in-region-mode): Remove unnecessary messages.
7434
6194c800
JB
74352011-04-05 Juanma Barranquero <lekktu@gmail.com>
7436
33256f14
JB
7437 * font-lock.el (font-lock-refresh-defaults):
7438 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7439 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7440
6194c800
JB
7441 * info.el (Info-directory-list, Info-read-node-name-2)
7442 (Info-split-parameter-string): Doc fixes.
7443 (Info-virtual-nodes): Reflow docstring.
7444 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7445 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7446 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7447 Fix typos in docstrings.
7448 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7449 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7450 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7451 (Info-restore-desktop-buffer): Mark unused parameters.
7452 (Info-directory-find-file, Info-directory-find-node)
7453 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7454 (Info-virtual-index-find-node, Info-apropos-find-file)
7455 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7456 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7457 (Info-virtual-index): Remove unused local variable `nodename'.
7458
b87a8200 74592011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7460
b87a8200
DD
7461 * net/rcirc.el: Update my e-mail address.
7462 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7463
3b2ff876
CY
74642011-04-05 Chong Yidong <cyd@stupidchicken.com>
7465
7466 * startup.el (command-line): Save the cursor's theme-face
7467 directly, instead of using face-override-spec.
7468
7469 * custom.el (load-theme): Minor optimization in assigning faces.
7470
8d17e7ca
JB
74712011-04-04 Juanma Barranquero <lekktu@gmail.com>
7472
7473 * help-fns.el (describe-variable): Complete all variables having
7474 documentation, including keywords.
7475 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7476
2fbc1934
JB
74772011-04-04 Juanma Barranquero <lekktu@gmail.com>
7478
7479 Convert to lexical-binding.
7480
7481 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7482 (bs--get-marked-string, bs--get-modified-string)
7483 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7484 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7485 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7486
7487 * ehelp.el (electric-help-execute-extended)
7488 (electric-help-ctrl-x-prefix):
7489 * hexl.el (hexl-revert-buffer-function):
7490 * linum.el (linum-after-change, linum-after-scroll):
7491 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7492
7493 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7494
74f50695
DU
74952011-04-04 Daiki Ueno <ueno@unixuser.org>
7496
7497 * epa-dired.el:
7498 * epa-mail.el:
7499 * epa-hook.el:
7500 * epa-file.el:
7501 * epa.el:
7502 * epg.el: Use lexical binding.
7503
c11325f7
CY
75042011-04-03 Chong Yidong <cyd@stupidchicken.com>
7505
0d9e9a12
CY
7506 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7507
c11325f7 7508 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7509 dictionary case for flyspell-mark-duplications-exceptions.
7510 Use regexp matching for languages.
c11325f7
CY
7511 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7512 default dictionary (Bug#7926).
7513
da91b5f2
CY
75142011-04-02 Chong Yidong <cyd@stupidchicken.com>
7515
099c39a4
JB
7516 * emacs-lisp/package.el (package--with-work-buffer):
7517 Recognize https URLs.
da91b5f2 7518
099c39a4
JB
7519 * net/network-stream.el: Move from gnus/proto-stream.el.
7520 Change prefix to network-stream throughout.
da91b5f2
CY
7521 (open-protocol-stream): Merge into open-network-stream, leaving
7522 open-protocol-stream as an alias. Handle nil BUFFER args.
7523
7524 * subr.el (open-network-stream): Move to net/network-stream.el.
7525
afa8e9f6
GM
75262011-04-02 Glenn Morris <rgm@gnu.org>
7527
1d2e369d
GM
7528 * find-dired.el (find-exec-terminator): New option.
7529 (find-ls-option): Test for -ls support.
7530 (find-ls-subdir-switches): Test for -b in find-ls-option.
7531 (find-dired, find-grep-dired): Doc fixes.
7532 (find-dired): Use find-exec-terminator.
7533
8abb7da8 7534 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7535 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7536 (find-name-arg): Remove purecopy.
8abb7da8 7537
f3ca7378
GM
7538 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7539 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7540 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7541 accordingly. Don't add the null-device if not needed.
7542
afa8e9f6
GM
7543 * files.el (save-some-buffers): Doc fix.
7544
35eae264
EZ
75452011-04-02 Eli Zaretskii <eliz@gnu.org>
7546
7547 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7548
26b51db5
JB
75492011-04-01 Juanma Barranquero <lekktu@gmail.com>
7550
7551 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7552 Use `dolist' rather than `mapcar'.
7553
7200d79c
SM
75542011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7555
03408648 7556 Add lexical binding.
7200d79c 7557
03408648
SM
7558 * subr.el (apply-partially): Use new closures rather than CL.
7559 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7560 (dolist, dotimes): Use slightly different expansion for lexical code.
7561 (functionp): Move to C.
7562 (letrec): New macro.
7563 (with-wrapper-hook): Use it and apply-partially instead of CL.
7564 (eval-after-load): Preserve lexical-binding.
7565 (save-window-excursion, with-output-to-temp-buffer): Turn them
7566 into macros.
7200d79c 7567
03408648
SM
7568 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7569
7570 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7571 than the arglist.
7572 (help-add-fundoc-usage): Don't add `Not documented'.
7573 (help-function-arglist): Handle closures, subroutines, and new
7574 byte-code-functions.
7575 (help-make-usage): Remove leading underscores.
7576 (describe-function-1): Handle closures.
7577 (describe-variable): Use special-variable-p for completion.
7578
7579 * files.el (lexical-binding): Declare safe.
f488fb65 7580
03408648
SM
7581 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7582 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7583 (pcase): Add `let' pattern.
7584 Change memoization so it actually works.
7585 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7586 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7587 <let>: New case.
f488fb65 7588
03408648
SM
7589 * emacs-lisp/macroexp.el: Use lexical binding.
7590 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7591 Don't convert ' to #' without checking that it's indeed quoting
7592 a lambda.
7593
7594 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7595 Use eval-sexp-add-defvars.
03408648
SM
7596 (eval-sexp-add-defvars): New fun.
7597
7598 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7599
7600 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7601 Don't autoload.
7602 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7603 than the internal `byte-compile-lambda'.
7604 (defmethod): Don't hide code under quotes.
7605 (eieio-defmethod): New `code' argument.
7606
7607 * emacs-lisp/eieio-comp.el: Remove.
7608
7609 * emacs-lisp/edebug.el (edebug-eval-defun)
7610 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7611 (edebug-toggle): Avoid `eval'.
7612
7613 * emacs-lisp/disass.el (disassemble-internal): Handle new
7614 `closure' objects.
7615 (disassemble-1): Handle new byte codes.
7616
7617 * emacs-lisp/cl.el (pushnew): Silence warning.
7618
7619 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7620 (cl-byte-compile-throw): Remove.
7621 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7622
7623 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7624 closures.
7625
7626 * emacs-lisp/cconv.el: New file.
7627
7628 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7629 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7630 (byte-compile-initial-macro-environment):
7631 Handle declare-function here.
7632 (byte-compile--lexical-environment): New var.
7633 (byte-stack-ref, byte-stack-set, byte-discardN)
7634 (byte-discardN-preserve-tos): New lap codes.
7635 (byte-interactive-p): Don't use any more.
7636 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7637 New macros.
7638 (byte-compile-lapcode): Use them and handle new lap codes.
7639 (byte-compile-obsolete): Remove.
7640 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7641 (byte-compile-arglist-warn): Check late def of inlinable funs.
7642 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7643 since they should have been expanded by now.
7644 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7645 (byte-compile-from-buffer): Remove unused second arg.
7646 (byte-compile-preprocess): New function.
7647 (byte-compile-toplevel-file-form): New function to distinguish
7648 file-form calls from outside from file-form calls from hunk-handlers.
7649 (byte-compile-file-form): Simplify.
7650 (byte-compile-file-form-defsubst): Remove.
7651 (byte-compile-file-form-defmumble): Simplify now that
7652 byte-compile-lambda always returns a byte-code-function.
7653 (byte-compile): Preprocess.
7654 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7655 Remove, not used any more.
7656 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7657 (byte-compile-make-args-desc): New funs.
7658 (byte-compile-lambda): Handle lexical functions. Always return
7659 a byte-code-function.
7660 (byte-compile-reserved-constants): New var, to make up room for
7661 closed-over variables.
7662 (byte-compile-constants-vector): Obey it.
7663 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7664 (byte-compile-macroexpand-declare-function): New function.
7665 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7666 byte-code-functions.
7667 (byte-compile-form): Check obsolescence here.
7668 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7669 (byte-compile-variable-ref): Remove.
7670 (byte-compile-dynamic-variable-op): New fun.
7671 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7672 (byte-compile-variable-set): New funs.
7673 (byte-compile-discard): Add 2 args.
7674 (byte-compile-stack-ref, byte-compile-stack-set)
7675 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7676 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7677 macroexpand-all instead.
7678 (byte-compile-quote-form): Remove.
7679 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7680 (byte-compile-bind, byte-compile-unbind): New funs.
7681 (byte-compile-let): Handle let* and lexical binding.
7682 (byte-compile-let*): Remove.
7683 (byte-compile-catch, byte-compile-unwind-protect)
7684 (byte-compile-track-mouse, byte-compile-condition-case):
7685 Handle a new :fun-body form, used for lexical scoping.
7686 (byte-compile-save-window-excursion)
7687 (byte-compile-with-output-to-temp-buffer): Remove.
7688 (byte-compile-defun): Simplify.
7689 (byte-compile-stack-adjustment): New fun.
7690 (byte-compile-out): Use it.
7691 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7692
7693 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7694 handler any more.
7695
7696 * emacs-lisp/byte-opt.el: Use lexical binding.
7697 (byte-inline-lapcode): Remove (to bytecomp).
7698 (byte-compile-inline-expand): Pay attention to inlining to/from
7699 lexically bound code.
7700 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7701 any more.
7702 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7703 any more and don't call compiler-macros.
7704 (byte-compile-splice-in-already-compiled-code): Remove.
7705 (byte-code): Don't inline any more.
7706 (disassemble-offset): Receive `bytes' as argument rather than via
7707 dynamic scoping.
7708 (byte-compile-tag-number): Declare before first use.
7709 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7710 `return' even if make-spliceable.
7711 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7712 obsolete interactive-p.
7713 (byte-optimize-lapcode): Optimize new lap-codes.
7714 Don't trip up on new form of `byte-constant' lap code.
7715
7716 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7717
7718 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7719
7720 * custom.el (custom-initialize-default, custom-declare-variable):
7721 Use `defvar'.
7722
7723 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7724 New variables.
7725 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7726 (COMPILE_FIRST): Add macroexp and cconv.
7727 * makefile.w32-in: Mirror changes in Makefile.in.
7728
7729 * vc/cvs-status.el:
7730 * vc/diff-mode.el:
7731 * vc/log-edit.el:
7732 * vc/log-view.el:
7733 * vc/smerge-mode.el:
7734 * textmodes/bibtex-style.el:
7735 * textmodes/css.el:
7736 * startup.el:
7737 * uniquify.el:
da91b5f2
CY
7738 * minibuffer.el:
7739 * newcomment.el:
7740 * reveal.el:
7741 * server.el:
7742 * mpc.el:
7743 * emacs-lisp/smie.el:
7744 * doc-view.el:
7745 * dired.el:
03408648
SM
7746 * abbrev.el: Use lexical binding.
7747
0f0c1f27
EZ
77482011-04-01 Eli Zaretskii <eliz@gnu.org>
7749
7750 * info.el (info-display-manual): New function.
7751
c82b2579
SM
77522011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7755
221ddf68
TH
77562011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7757
7758 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7759 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7760
cba6e77e
GM
77612011-03-31 Glenn Morris <rgm@gnu.org>
7762
e040639f
GM
7763 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7764
cba6e77e
GM
7765 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7766
6d0f1c9e
CS
77672011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7768
7769 * progmodes/python.el (python-default-interpreter)
7770 (python-python-command-args, python-jython-command-args)
7771 (python-which-shell, python-which-args, python-which-bufname)
7772 (python-file-queue, python-comint-output-filter-function)
7773 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7774 variables and functions.
7775
3e2d70fd
SM
77762011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7777
7778 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7779 (completion-in-region-mode): New minor mode.
7780 (completion-in-region): Use it.
7781 (completion-in-region--data, completion-in-region-mode-map): New vars.
7782 (completion-in-region--postch): New function.
7783 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7784 New vars.
7785 (completion--capf-wrapper): New function.
7786 (completion-at-point): Use it to track well-behavedness of
7787 hook functions.
7788 (completion-help-at-point): New command.
7789
f3e4086c
JM
77902011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7791
7792 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7793 syntax class to search for whitespace on a single line
7794 (Message-ID: <4D938140.4030905@redhat.com>).
7795
eb7ffc14
LL
77962011-03-30 Leo Liu <sdl.web@gmail.com>
7797
7798 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7799 New commands.
7800 (edit-abbrevs-map): Bind them here.
7801 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7802
d806ab68
KM
78032011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7804
7805 * allout.el (allout-hide-by-annotation, allout-flag-region):
7806 Reduce possibility of overlay leakage by making them volatile.
7807
7808 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7809 hash is not shared between buffers. Mode initialization is
7810 responsible for giving it a useful starting value.
7811 (allout-item-span): Reduce possibility of overlay leakage by
7812 making them volatile.
7813 (allout-widgets-count-buttons-in-region): Add diagnostic function
7814 for tracking down button overlay leaks.
7815
ea622834
LL
78162011-03-29 Leo Liu <sdl.web@gmail.com>
7817
7818 * ido.el (ido-read-internal): Use the default history var
7819 minibuffer-history if no HISTORY is specified.
7820
b62f8267
G
78212011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7822
03408648
SM
7823 * net/imap.el (imap-shell-open, imap-process-connection-type):
7824 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7825 Kerberos, SSL, other subprocesses.
7826
947b6566
LL
78272011-03-28 Leo Liu <sdl.web@gmail.com>
7828
7829 * abbrev.el (abbrev-table-empty-p): New function.
7830 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7831 nonempty ones. (Bug#5937)
7832
5ffb62aa
JD
78332011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7834
7835 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7836
7a097943
LL
78372011-03-27 Leo Liu <sdl.web@gmail.com>
7838
7839 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7840 for foreground and background colors.
7841 (ansi-color-make-color-map): Adapt.
7842
c5b40130
LL
78432011-03-25 Leo Liu <sdl.web@gmail.com>
7844
1f48f7d2
LL
7845 * midnight.el (midnight-time-float): Remove. Note it calculates
7846 the microsecond component incorrectly and seconds-to-time does the
7847 same job.
625897ec 7848 Remove redundant (require 'timer).
1f48f7d2 7849
c5b40130
LL
7850 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7851 (ido-completions): Remove unused arguments. (Bug#8329)
7852
d86d2721
SM
78532011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * minibuffer.el (completion--flush-all-sorted-completions):
7856 Remove itself from hook.
7857 (completion-at-point): Let the functions perform the completion
7858 immediately and return nil or t.
7859 * comint.el (comint-dynamic-complete-functions): Now identical to
7860 completion-at-point-functions.
7861 (comint-dynamic-list-input-ring): Remove unused var `index'.
7862 (comint--match-partial-filename, comint--unquote&expand-filename):
7863 New funs, split from comint-match-partial-filename.
7864 (comint-dynamic-complete): Use completion-at-point.
7865 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7866
e8974c48
DA
78672011-03-24 Drew Adams <drew.adams@oracle.com>
7868
7869 * thingatpt.el: Support `defun'.
7870
def71b5e
LL
78712011-03-23 Leo Liu <sdl.web@gmail.com>
7872
cb5af48e
LL
7873 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7874
def71b5e
LL
7875 * help-mode.el (help-mode-finish): Tweak regexp.
7876
927c53e7
GM
78772011-03-23 Glenn Morris <rgm@gnu.org>
7878
18d05bed
GM
7879 * eshell/esh-opt.el (eshell-eval-using-options):
7880 Do not bind unused local variable `eshell-option-stub'.
7881
927c53e7
GM
7882 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7883
9d0da923
JB
78842011-03-22 Juanma Barranquero <lekktu@gmail.com>
7885
7886 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7887 keymap variable in `with-no-warnings' to avoid a warning when the
7888 keymap has been already `defconst'ed.
7889
4b978a67
LL
78902011-03-22 Leo Liu <sdl.web@gmail.com>
7891
7892 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7893 encode all chars in abbrevs; otherwise use emacs-mule or
7894 utf-8-emacs. (Bug#8308)
7895
5fd62452
JB
78962011-03-22 Juanma Barranquero <lekktu@gmail.com>
7897
0b1596c6
JB
7898 * simple.el (backward-delete-char-untabify):
7899 Avoid warning about using `delete-backward-char'.
7900
5fd62452
JB
7901 * image.el (image-type-file-name-regexps): Make it variable.
7902 `imagemagick-register-types' modifies it, and the user may want
7903 to add new extensions for known image types.
7904 (imagemagick-register-types): Throw error if not using ImageMagick.
7905
0b4e93f1
LL
79062011-03-22 Leo Liu <sdl.web@gmail.com>
7907
7908 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7909 located before rcirc-prompt-end-marker.
7910 (rcirc-complete): Error if point is not after rcirc prompt.
7911 Handle the case when table is nil.
9882e214 7912 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7913
fccee4ab
CY
79142011-03-22 Chong Yidong <cyd@stupidchicken.com>
7915
7916 * custom.el (custom--inhibit-theme-enable): Make it affect only
7917 custom-theme-set-variables and custom-theme-set-faces.
7918 (provide-theme): Ignore custom--inhibit-theme-enable.
7919 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7920 (custom-enabling-themes): Delete variable.
d86d2721
SM
7921 (enable-theme): Accept only loaded themes as arguments.
7922 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7923 (custom-enabled-themes): Forbid themes from setting this.
7924 Eliminate use of custom-enabling-themes.
7925 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7926
af896da6
LL
79272011-03-21 Leo Liu <sdl.web@gmail.com>
7928
7929 * ido.el (ido-read-internal): Add ido-selected to history instead
7930 of user input.
7931
78f64af0
SM
79322011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * subr.el (deferred-action-list, deferred-action-function):
7935 Mark obsolete.
7936
b16ac1ec
LL
79372011-03-21 Leo Liu <sdl.web@gmail.com>
7938
810f7698
LL
7939 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7940 change on 2011-02-13 (bug#8309).
7941
b16ac1ec
LL
7942 * minibuffer.el (read-file-name-function): Change default value.
7943 (read-file-name--defaults): Rename from read-file-name-defaults.
7944 (read-file-name-default): Rename from read-file-name.
7945 (read-file-name): Call read-file-name-function.
7946
4e05e67e
GM
79472011-03-21 Glenn Morris <rgm@gnu.org>
7948
7949 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7950 Doc fixes.
7951
4359915b
CY
79522011-03-21 Chong Yidong <cyd@stupidchicken.com>
7953
7954 * cus-theme.el: Add missing provide statement.
7955 (customize-create-theme): Extract theme value correctly.
7956 (custom-theme-visit-theme): Autoload.
7957 (customize-create-theme): Prompt before inserting default faces.
7958
1fe275ee
JB
79592011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7960
7961 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7962 units and musical notes.
7963
3ec03f7e
LL
79642011-03-20 Leo <sdl.web@gmail.com>
7965
7966 * ido.el (ido-read-internal): Use completing-read-default.
7967 (ido-completing-read): Fix compatibility with completing-read.
7968
7d476bde
CO
79692011-03-20 Christian Ohler <ohler@gnu.org>
7970
7971 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7972 (ert-delete-all-tests): Use `called-interactively-p' rather than
7973 `interactive-p'.
7974 (ert--make-xrefs-region): Respect END.
7975
fe0fb33e
CY
79762011-03-19 Chong Yidong <cyd@stupidchicken.com>
7977
ff854b0b
CY
7978 * dired-aux.el (dired-create-directory): Signal an error if the
7979 directory already exists (Bug#8246).
7980
fe0fb33e
CY
7981 * facemenu.el (list-colors-display): Call list-faces-display
7982 inside with-help-window.
7983 (list-colors-print): Use display property to align the final
7984 column, instead of checking window-width.
7985
576bce32
EZ
79862011-03-19 Eli Zaretskii <eliz@gnu.org>
7987
4d61f28d 7988 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7989 windows-nt systems.
7990 (emerge-protect-metachars): Quote correctly for ms-dos and
7991 windows-nt systems.
7992
89c41d68 79932011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7994
7995 * info.el (info-initialize): Replace all uses of `:' with
7996 path-separator for compatibility with non-Unix systems.
7997 Cache quoting of path-separator. (Bug#8258)
7998
b14e3e21 79992011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
8000
8001 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
8002 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
8003 (mouse-avoidance-mode): Fix typos in docstrings.
8004
4525ce3e
CY
80052011-03-19 Chong Yidong <cyd@stupidchicken.com>
8006
8007 * startup.el (package-subdirectory-regexp): Move from package.el.
8008 Omit \\` and \\', and let callers add them.
8009
8010 * emacs-lisp/package.el (package-strip-version)
8011 (package-load-all-descriptors): Add \\` and \\' to
8012 package-subdirectory-regexp before using it.
8013 (package-untar-buffer): New arg DIR; ensure that file untars only
8014 into this expected directory. Remove superfluous delete-region.
8015 (package-unpack): Caller changed.
8016 (package-tar-file-info): Use package-subdirectory-regexp.
8017
a904a09a 80182011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8019
a904a09a
SM
8020 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8021 diff-mode-shared-map (bug#8284).
8022 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8023
80242011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8025
8026 * calendar/time-date.el (format-seconds): Use assoc instead of
8027 assoc-string, since assoc-string doesn't exist in XEmacs.
8028
171fc304
JB
80292011-03-17 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * custom.el (custom-known-themes): Reflow docstring.
8032 (custom-theme-load-path): Fix typo in docstring.
8033 (load-theme): Fix typo in error message.
8034 (custom-available-themes, custom-variable-theme-value):
8035 Use `let', not `let*'.
8036
d71990a1
JB
80372011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8038
8039 * calc/README: Mention inclusion of musical notes.
8040
8041 * calc/calc-units.el (calc-lu-quant): Rename from
8042 `calc-logunits-quantity'.
8043 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8044 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8045 (calc-db): Rename from `calc-dblevel'.
8046 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8047 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8048 (calc-np): Rename from `calc-nplevel'.
8049 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8050 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8051 (calc-lu-plus): Rename from `calc-logunits-add'.
8052 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8053 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8054 (calc-lu-minus): Rename from `calc-logunits-sub'.
8055 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8056 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8057 (calc-lu-times): Rename from `calc-logunits-mul'.
8058 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8059 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8060 (calc-lu-divide): Rename from `calc-logunits-div'.
8061 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8062 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8063
8064 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8065 functions being autoloaded.
8066
8067 * calc/calc.el (calc-lu-power-reference): Rename from
8068 `calc-logunits-power-reference'.
8069 (calc-lu-field-reference): Rename from
8070 `calc-logunits-field-reference'.
8071
8072 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8073
40c2934b
SM
80742011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8075
8076 * minibuffer.el (completion-all-sorted-completions):
8077 Use :completion-cycle-penalty text property if present.
8078
b0911414
KM
80792011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8080
8081 * allout.el (allout-yank-processing): Adjust for new rebulleting
8082 regime so bullet being yanked is used without prompting the user
8083 for a choice.
8084
8a05b668
JB
80852011-03-16 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * startup.el (command-line): Warn the user that _emacs is deprecated.
8088
5ba5fb81
JB
80892011-03-16 Juanma Barranquero <lekktu@gmail.com>
8090
8091 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8092 (delphi-verbose, delphi-comment-face, delphi-string-face)
8093 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8094 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8095 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8096 (delphi-new-comment-line, delphi-font-lock-defaults)
8097 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8098 Fix typos in docstrings.
8099
2dab465b
KM
81002011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8101
5ba5fb81 8102 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8103 Invert the roles of character and string values for INSTEAD, so a
8104 string is used for the more common case of a defaulting prompt.
8105
0adf5618
SM
81062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8107
8108 * progmodes/ruby-mode.el (ruby-backward-sexp):
8109 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8110 * play/gamegrid.el (gamegrid-make-face):
8111 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8112 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8113 * notifications.el (notifications-notify):
8114 * net/xesam.el (xesam-search-engines):
8115 * net/quickurl.el (quickurl-list-insert):
8116 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8117
d72700e5
CY
81182011-03-15 Chong Yidong <cyd@stupidchicken.com>
8119
8120 * startup.el (command-line): Update package subdirectory regexp.
8121
49c5410a
SM
81222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8123
c6eee9aa
SM
8124 * allout.el (allout-abbreviate-flattened-numbering)
8125 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8126
49c5410a
SM
8127 * subr.el (read-char-choice): Only show the cursor after the prompt,
8128 not after the answer.
8129
047b2bb9
KR
81302011-03-15 Kevin Ryde <user42@zip.com.au>
8131
8132 * help-fns.el (variable-at-point): Skip leading quotes, if any
8133 (bug#8253).
8134
0a57d256
SM
81352011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8138 warning message.
8139
77c992bc
MA
81402011-03-14 Michael Albinus <michael.albinus@gmx.de>
8141
8142 * shell.el (shell): When called interactively, offer to change the
8143 shell file name on remote hosts.
8144
eebc475d
TZ
81452011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8146
8147 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8148 integration for LDAP parameters. The host, base, user or binddn,
8149 and secret tokens can be specified in a netrc file, for instance.
8150 This is optional because an `auth-source' parameter must be
8151 specified in the search attributes.
8152
9d05d1ba
JB
81532011-03-13 Juanma Barranquero <lekktu@gmail.com>
8154
8155 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8156
09d9db2c
GM
81572011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8160 into declaration. Remove redundant and harmful binding.
8161
81622011-03-12 Eli Zaretskii <eliz@gnu.org>
8163
8164 * files.el (file-ownership-preserved-p): Pass `integer' as an
8165 explicit 2nd argument to `file-attributes'. If the file's owner
8166 is the Administrators group on Windows, and the current user is
8167 Administrator, consider that a match.
8168
8169 * server.el (server-ensure-safe-dir): Consider server directory
8170 safe on MS-Windows if its owner is the Administrators group while
8171 the current Emacs user is Administrator. Use `=' to compare
8172 numerical UIDs, since they could be integers or floats.
8173
219bd536
JB
81742011-03-12 Juanma Barranquero <lekktu@gmail.com>
8175
8176 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8177
f3afd36b
MA
81782011-03-12 Michael Albinus <michael.albinus@gmx.de>
8179
8180 Sync with Tramp 2.2.1.
8181
8182 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8183
8184 * net/trampver.el: Update release number.
8185
3aaaa6f1
SM
81862011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8187
94642599
SM
8188 * progmodes/compile.el (compilation--previous-directory): Fix up
8189 various nil/dead-marker mismatches (bug#8014).
8190 (compilation-directory-properties, compilation-error-properties):
8191 Don't call it at a position past the one we're about to change.
8192
3aaaa6f1
SM
8193 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8194 Disable obsolescence warnings in the file that declares it.
8195
14239447
KM
81962011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8197
099c39a4
JB
8198 * allout-widgets.el (allout-widgets-tally):
8199 Initialize allout-widgets-tally as a hash table rather than nil to
8200 prevent mode-line redisplay warnings. Also, clarify the module
8201 description and fix a comment typo.
14239447 8202
135e287c
JB
82032011-03-11 Juanma Barranquero <lekktu@gmail.com>
8204
8205 * help-fns.el (describe-variable): Don't complete keywords.
8206 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8207
ffbf300e
CY
82082011-03-10 Chong Yidong <cyd@stupidchicken.com>
8209
ba08b241
CY
8210 * emacs-lisp/package.el (package-version-join): Impose a standard
8211 string representation for pre/alpha/beta version lists.
8212 (package-unpack-single): Standardize the directory name by passing
8213 it through package-version-join.
8214 (package-strip-rcs-id): Accept any version string that does not
8215 signal an error in version-to-list.
ffbf300e 8216
f346fd6b
MA
82172011-03-10 Michael Albinus <michael.albinus@gmx.de>
8218
8219 * simple.el (delete-trailing-whitespace): Return nil for the
8220 benefit of `write-file-functions'.
8221
ccb55d27
GM
82222011-03-10 Glenn Morris <rgm@gnu.org>
8223
5ceaac0c
GM
8224 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8225
02da65ff
GM
8226 * vc/vc-git.el (vc-git-program): New option.
8227 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8228 (vc-git--call): Use it.
8229
b2f603cc
GM
8230 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8231
5772caab
GM
8232 * cus-edit.el (Custom-newline): If no button at point, look
8233 for a subgroup button at start-of-line. (Bug#2298)
8234
ccb55d27
GM
8235 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8236
ec6ecaed
JD
82372011-03-10 Julien Danjou <julien@danjou.info>
8238
8239 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8240 `cursor-type' is nil.
8241
9d5aa01d
JB
82422011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8243
8244 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8245
b6a5875b
KM
82462011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8247
8248 * allout.el Summary: Change so yank of distinctive-bullet items
8249 preserves the existing header prefix, rebulleting it if necessary,
8250 rather than replacing it. This is necessary for proper operation
8251 of cooperative addons like allout-widgets.
219bd536 8252 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8253 SOLICIT arg to INSTEAD, and interpret additionally a string value
8254 as alternate bullet to be used, instead of prompting the user for
8255 a bullet character.
8256
ee545c35
MA
82572011-03-09 Michael Albinus <michael.albinus@gmx.de>
8258
d86d2721
SM
8259 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8260 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8261 `tramp-default-port'.
8262
c47971d7
DD
82632011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8264
8265 * net/rcirc.el (rcirc-handler-001): Remove useless
8266 with-rcirc-process-buffer.
8267 (rcirc-check-auth-status): Swap arguments to string-match.
8268
13522cb4
GM
82692011-03-09 Glenn Morris <rgm@gnu.org>
8270
0be6f4f1
GM
8271 * shell.el (shell-mode):
8272 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8273
13522cb4
GM
8274 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8275 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8276
515de2e3
CY
82772011-03-08 Chong Yidong <cyd@stupidchicken.com>
8278
8279 * emacs-lisp/package.el (package-refresh-contents)
8280 (package-menu-execute): Use condition-case-no-debug.
8281
b511b994
MA
82822011-03-08 Michael Albinus <michael.albinus@gmx.de>
8283
8284 * simple.el (shell-command-to-string): Use `process-file'.
8285
8286 * emacs-lisp/package.el (package-tar-file-info): Handle also
8287 remote files.
8288
d86d2721
SM
8289 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8290 Use `equal' for upload base check.
b511b994 8291
25bbfb31
AM
82922011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8293
8294 * textmodes/texinfo.el (texinfo-environments):
8295 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8296
be996521
GM
82972011-03-08 Glenn Morris <rgm@gnu.org>
8298
e9c8529f
GM
8299 * cus-start.el (cursor-in-non-selected-windows):
8300 Fix :set quoting oddness. (Bug#8192)
8301
be996521
GM
8302 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8303 in some setf expressions. (Bug#2159)
8304
2bb5649e
CY
83052011-03-08 Chong Yidong <cyd@stupidchicken.com>
8306
8307 * custom.el (custom-available-themes): Return themes in
8308 alphabetical order.
8309
33383987 8310See ChangeLog.15 for earlier changes.
e3d51b27
MR
8311
8312;; Local Variables:
8313;; coding: utf-8
e3d51b27
MR
8314;; End:
8315
33383987 8316 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8317
8318 This file is part of GNU Emacs.
8319
8320 GNU Emacs is free software: you can redistribute it and/or modify
8321 it under the terms of the GNU General Public License as published by
8322 the Free Software Foundation, either version 3 of the License, or
8323 (at your option) any later version.
8324
8325 GNU Emacs is distributed in the hope that it will be useful,
8326 but WITHOUT ANY WARRANTY; without even the implied warranty of
8327 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8328 GNU General Public License for more details.
8329
8330 You should have received a copy of the GNU General Public License
8331 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.