Revert problematic change to wait_reading_process_output.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
52bedd34
AM
12011-10-28 Alan Mackenzie <acm@muc.de>
2
3 * progmodes/cc-defs.el (c-version). -> 5.32.2.
4
7e43cfa5
AM
52011-10-28 Alan Mackenzie <acm@muc.de>
6
7 Amend the handling of c-beginning/end-of-defun in nested declaration
8 scopes.
9
52bedd34
AM
10 * progmodes/cc-vars.el (c-defun-tactic): Move here from
11 cc-langs.el. Change it to a defcustom.
7e43cfa5 12
52bedd34
AM
13 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14 cc-vars.el.
7e43cfa5
AM
15 (c-nonlabel-token-2-key): New variable for change in cc-engine.el.
16
52bedd34
AM
17 * progmodes/cc-engine.el (c-beginning-of-statement-1): Prevent
18 "class foo : bar" being spuriously recognized as a label.
7e43cfa5 19
52bedd34
AM
20 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
21 Add parameter `inclusive' (to include enclosing braces in the
22 region).
7e43cfa5
AM
23 (c-widen-to-enclosing-decl-scope): New function.
24 (c-while-widening-to-decl-block): New macro.
25 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
26 outward for defun boundaries, and correspondingly change symbol
27 `respect-enclosure' to `go-outward'.
28 (c-declaration-limits): Change algorithm to report only the "innermost"
29 defun's boundaries.
30
1a2ce9ee
DD
312011-10-28 Deniz Dogan <deniz@dogan.se>
32
33 * net/rcirc.el (rcirc-mode): Use hard newlines.
34
bc97a826
AM
352011-10-28 Alan Mackenzie <acm@muc.de>
36
37 Amend to indent and fontify macros "which include their own semicolon"
38 correctly, using the "virtual semicolon" mechanism.
39
52bedd34 40 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 41
52bedd34
AM
42 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Recoded
43 to scan one line at at time rather than having \n and \r
44 explicitly in c-stmt-delim-chars
bc97a826
AM
45 (for some modes, e.g. AWK).
46 (c-forward-label): Amend for virtual semicolons.
47 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
48
52bedd34
AM
49 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
50 of the new C macros.
bc97a826 51
52bedd34
AM
52 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
53 (c-vsemi-status-unknown-p-fn): move to earlier in the file.
bc97a826
AM
54 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
55 (c-opt-cpp-macro-define): Make into a full language variable.
56 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
57 AWK Mode (including \n, \r) removed, no longer needed.
58
52bedd34
AM
59 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
60 c-make-macro-with-semi-re.
bc97a826 61
52bedd34
AM
62 * progmodes/cc-vars.el (c-macro-with-semi-re):
63 (c-macro-names-with-semicolon): New variables.
bc97a826
AM
64 (c-make-macro-with-semi-re): New function
65
7a6c0941
SM
662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * vc/log-edit.el: Fill empty field rather than adding new one.
69 (log-edit-add-field): New function.
70 (log-edit-insert-changelog): Use it.
71
b0c4cdcf
ML
722011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
73
74 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
75
ee1f1da9
SM
762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
79 (gdb--check-interpreter): New function.
80 (gdb): Use it.
81
51bc5f8b
GM
822011-10-27 Glenn Morris <rgm@gnu.org>
83
416a2c45
GM
84 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
85 (least-positive-float, least-negative-float)
86 (least-positive-normalized-float, least-negative-normalized-float)
87 (float-epsilon, float-negative-epsilon):
88 Remove unnecessary declarations.
89
90 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
91 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
92 (least-positive-float, least-negative-float)
93 (least-positive-normalized-float, least-negative-normalized-float)
94 (float-epsilon, float-negative-epsilon): Add doc-strings,
95 based on those in cl.texi.
96
51bc5f8b
GM
97 * files.el (set-visited-file-name): If the major-mode changed,
98 reload the local variables. (Bug#9796)
99
15de15c6
CY
1002011-10-27 Chong Yidong <cyd@gnu.org>
101
102 * subr.el (change-major-mode-after-body-hook): New hook.
103 (run-mode-hooks): Run it.
104
ee1f1da9
SM
105 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
106 Use change-major-mode-before-body-hook.
15de15c6
CY
107
108 * simple.el (fundamental-mode):
109 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
110 change introducing fundamental-mode-hook.
111
5430d399
JB
1122011-10-26 Juanma Barranquero <lekktu@gmail.com>
113
a7ef684b 114 * term/w32-win.el (w32-default-color-map): Declare obsolete. (Bug#9785)
5430d399 115
ad74a69e
MA
1162011-10-26 Michael Albinus <michael.albinus@gmx.de>
117
118 * ido.el (ido-file-name-all-completions-1): Do not require
119 tramp.el explicitely. (Bug#7583)
120
71d4c2a5
SM
1212011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * progmodes/octave-mod.el:
124 * progmodes/octave-inf.el: Update maintainer.
125
b1f6fa26
CY
1262011-10-26 Chong Yidong <cyd@gnu.org>
127
128 * subr.el (with-wrapper-hook): Rewrite doc.
129
3f04efd6
MA
1302011-10-25 Michael Albinus <michael.albinus@gmx.de>
131
132 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 133 filenames "/method:foo:". (Bug#9793)
3f04efd6 134
410488d3
SM
1352011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
136
137 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
138 (bug#9865).
139
c1ebb47e
GM
1402011-10-24 Glenn Morris <rgm@gnu.org>
141
142 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
143
7f5c46c7
MA
1442011-10-24 Michael Albinus <michael.albinus@gmx.de>
145
146 * notifications.el: Add the requirement of a running D-Bus session
147 bus to the Commentary.
148
db2440b6
JL
1492011-10-24 Juri Linkov <juri@jurta.org>
150
151 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
152 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
153 (Bug#9364)
154
feecf435
JL
1552011-10-24 Juri Linkov <juri@jurta.org>
156
157 * info.el (Info-following-node-name-re): Add newline to the list
158 of allowed characters for leading space. (Bug#9824)
159
a3839de2
SM
1602011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * progmodes/octave-inf.el (inferior-octave-mode-map): Fix C-c C-h binding.
163 * progmodes/octave-mod.el (octave-help): Remove.
164
09388e76
MA
1652011-10-23 Michael Albinus <michael.albinus@gmx.de>
166
167 Sync with Tramp 2.2.3.
168
169 * net/tramp-cache.el (top): Pacify byte-compiler using
170 `init-file-user' and `site-run-file'.
171
172 * net/trampver.el: Update release number.
173
86c60681
CY
1742011-10-23 Chong Yidong <cyd@gnu.org>
175
176 * files.el (toggle-read-only): Remove obsolete comment about
177 version control.
178
179 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
180 for toggle-read-only. Note that this hasn't called vc-next-action
181 since 2008-05-02, though it wasn't documented at the time.
182
a3839de2
SM
183 * vc/ediff-init.el (ediff-toggle-read-only-function):
184 Use toggle-read-only.
86c60681 185
cd5495ff
AM
1862011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
187
188 Fix bug #9560, sporadic wrong indentation; improve instrumentation
189 of c-parse-state.
190
a3839de2
SM
191 * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
192 correct faulty logical expression.
cd5495ff
AM
193 (c-parse-state-state, c-record-parse-state-state):
194 (c-replay-parse-state-state): New defvar/defuns.
195 (c-debug-parse-state): Use new functions.
196
42ee24ed
MR
1972011-10-22 Martin Rudalics <rudalics@gmx.at>
198
199 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 200 last fix. Use window-in-direction correctly.
42ee24ed 201
a7dee7e7
CY
2022011-10-21 Chong Yidong <cyd@gnu.org>
203
204 * progmodes/idlwave.el (idlwave-mode):
205 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
206 require-final-newline; that's done in prog-mode.
207 Suggested by Stefan Monnier.
a7dee7e7 208
e07b9a6d
MR
2092011-10-21 Martin Rudalics <rudalics@gmx.at>
210
211 * mouse.el (mouse-drag-window-above)
212 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
213 (mouse-drag-mode-line-1, mouse-drag-header-line)
214 (mouse-drag-vertical-line-rightward-window): Remove.
215 (mouse-drag-line): New function.
216 (mouse-drag-mode-line, mouse-drag-header-line)
217 (mouse-drag-vertical-line): Call mouse-drag-line.
218 * window.el (window-at-side-p, windows-at-side): New functions.
219
7e1361d9
UM
2202011-10-21 Ulrich Mueller <ulm@gentoo.org>
221
222 * tar-mode.el (tar-grind-file-mode):
223 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
224
30fcaf3a
CY
2252011-10-21 Chong Yidong <cyd@gnu.org>
226
227 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
228 * progmodes/vera-mode.el (vera-mode):
229 Use mode-require-final-newline.
30fcaf3a 230
516eddb0
GM
2312011-10-20 Glenn Morris <rgm@gnu.org>
232
233 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
234
10d5f513
CS
2352011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
236
237 * emulation/cua-base.el (cua-set-mark): Fix case of string.
238
ac6c8639
CY
2392011-10-20 Chong Yidong <cyd@gnu.org>
240
241 * emulation/cua-base.el (cua-mode):
242 * mail/footnote.el (footnote-mode):
243 * mail/mailabbrev.el (mail-abbrevs-mode):
244 * net/xesam.el (xesam-minor-mode):
245 * progmodes/bug-reference.el (bug-reference-mode):
246 * progmodes/cap-words.el (capitalized-words-mode):
247 * progmodes/compile.el (compilation-minor-mode)
248 (compilation-shell-minor-mode):
249 * progmodes/gud.el (gud-tooltip-mode):
250 * progmodes/hideif.el (hide-ifdef-mode):
251 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
252 * progmodes/subword.el (subword-mode):
253 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
254 * progmodes/which-func.el (which-function-mode):
255 * term/tvi970.el (tvi970-set-keypad-mode):
256 * term/vt100.el (vt100-wide-mode):
257 * textmodes/flyspell.el (flyspell-mode):
258 * textmodes/ispell.el (ispell-minor-mode):
259 * textmodes/nroff-mode.el (nroff-electric-mode):
260 * textmodes/paragraphs.el (use-hard-newlines):
261 * textmodes/refill.el (refill-mode):
262 * textmodes/reftex.el (reftex-mode):
263 * textmodes/rst.el (rst-minor-mode):
264 * textmodes/sgml-mode.el (html-autoview-mode)
265 (sgml-electric-tag-pair-mode):
266 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
267 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
268 * emulation/crisp.el (crisp-mode):
269 * emacs-lisp/eldoc.el (eldoc-mode):
270 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
271 minor mode behavior.
272
aa42ab43
JL
2732011-10-19 Juri Linkov <juri@jurta.org>
274
275 * descr-text.el (describe-char): Add #x2010 and #x2011 to
276 the list of hard-coded chars with escape-glyph face.
277
89400f1d
SM
2782011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
281
305c07f6
MA
2822011-10-19 Michael Albinus <michael.albinus@gmx.de>
283
284 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
285 running process.
286
13754b54
GM
2872011-10-19 Glenn Morris <rgm@gnu.org>
288
289 * vc/vc-bzr.el (vc-bzr-after-dir-status):
290 Ignore ignored files. (Bug#9726)
291
06e21633
CY
2922011-10-19 Chong Yidong <cyd@gnu.org>
293
294 Doc fix for minor modes, stating that an omitted argument enables
295 the mode unconditionally when called from Lisp.
296
297 * abbrev.el (abbrev-mode):
298 * allout.el (allout-mode):
299 * autoinsert.el (auto-insert-mode):
300 * autoarg.el (autoarg-mode, autoarg-kp-mode):
301 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
302 (global-auto-revert-mode):
303 * battery.el (display-battery-mode):
304 * composite.el (global-auto-composition-mode)
305 (auto-composition-mode):
306 * delsel.el (delete-selection-mode):
307 * desktop.el (desktop-save-mode):
308 * dired-x.el (dired-omit-mode):
309 * dirtrack.el (dirtrack-mode):
310 * doc-view.el (doc-view-minor-mode):
311 * double.el (double-mode):
312 * electric.el (electric-indent-mode, electric-pair-mode):
313 * emacs-lock.el (emacs-lock-mode):
314 * epa-hook.el (auto-encryption-mode):
315 * follow.el (follow-mode):
316 * font-core.el (font-lock-mode):
317 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
318 * help.el (temp-buffer-resize-mode):
319 * hilit-chg.el (highlight-changes-mode)
320 (highlight-changes-visible-mode):
321 * hi-lock.el (hi-lock-mode):
322 * hl-line.el (hl-line-mode, global-hl-line-mode):
323 * icomplete.el (icomplete-mode):
324 * ido.el (ido-everywhere):
325 * image-file.el (auto-image-file-mode):
326 * image-mode.el (image-minor-mode):
327 * iswitchb.el (iswitchb-mode):
328 * jka-cmpr-hook.el (auto-compression-mode):
329 * linum.el (linum-mode):
330 * longlines.el (longlines-mode):
331 * master.el (master-mode):
332 * mb-depth.el (minibuffer-depth-indicate-mode):
333 * menu-bar.el (menu-bar-mode):
334 * minibuf-eldef.el (minibuffer-electric-default-mode):
335 * mouse-sel.el (mouse-sel-mode):
336 * msb.el (msb-mode):
337 * mwheel.el (mouse-wheel-mode):
338 * outline.el (outline-minor-mode):
339 * paren.el (show-paren-mode):
340 * recentf.el (recentf-mode):
341 * reveal.el (reveal-mode, global-reveal-mode):
342 * rfn-eshadow.el (file-name-shadow-mode):
343 * ruler-mode.el (ruler-mode):
344 * savehist.el (savehist-mode):
345 * scroll-all.el (scroll-all-mode):
346 * scroll-bar.el (scroll-bar-mode):
347 * server.el (server-mode):
348 * shell.el (shell-dirtrack-mode):
349 * simple.el (auto-fill-mode, transient-mark-mode)
350 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
351 (line-number-mode, column-number-mode, size-indication-mode)
352 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
353 * strokes.el (strokes-mode):
354 * time.el (display-time-mode):
355 * t-mouse.el (gpm-mouse-mode):
356 * tool-bar.el (tool-bar-mode):
357 * tooltip.el (tooltip-mode):
358 * type-break.el (type-break-mode-line-message-mode)
359 (type-break-query-mode):
360 * view.el (view-mode):
361 * whitespace.el (whitespace-mode, whitespace-newline-mode)
362 (global-whitespace-mode, global-whitespace-newline-mode):
363 * xt-mouse.el (xterm-mouse-mode): Doc fix.
364
a3839de2
SM
365 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
366 Fix autogenerated docstring.
06e21633 367
5214e501
JL
3682011-10-19 Juri Linkov <juri@jurta.org>
369
370 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
371 by checking environment variables "DESKTOP_SESSION" and
372 "XDG_CURRENT_DESKTOP". (Bug#9779)
373
195f8db9
JL
3742011-10-19 Juri Linkov <juri@jurta.org>
375
376 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
377 (browse-url-chromium-program, browse-url-chromium-arguments):
378 New defcustoms.
379 (browse-url-default-browser): Check for `browse-url-chromium' and
380 call `browse-url-chromium-program'.
381 (browse-url-chromium): New command. (Bug#9779)
382
343a34ff
JB
3832011-10-18 Juanma Barranquero <lekktu@gmail.com>
384
385 * facemenu.el (list-colors-duplicates): On Windows, detect more
386 duplicates by assuming that only colors matching "^System" are
387 special "system colors". (Bug#9722)
388
6978a151
SM
3892011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
392 to distinguish the author from the committer.
393
6a80b297
MA
3942011-10-18 Michael Albinus <michael.albinus@gmx.de>
395
396 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
397
b31a5677
JK
3982011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
399
400 * international/mule.el (sgml-html-meta-auto-coding-function):
401 Add support for detecting encoding in HTML5 specified only as
402 <meta charset="UTF-8">. Implementation just makes http-equiv and
403 content-type parts from HTML4 encoding string optional. (Bug#9716)
404
80c6d77f
GM
4052011-10-18 Glenn Morris <rgm@gnu.org>
406
407 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
408
08b0fee8
CY
4092011-10-18 Chong Yidong <cyd@gnu.org>
410
411 * faces.el (cursor): Doc fix.
412
67e729a5
CY
4132011-10-17 Chong Yidong <cyd@gnu.org>
414
415 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
416
343a34ff 4172011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
418
419 * dirtrack.el (dirtrack): Support shell buffers with path
420 prefixes, e.g. tramp-based remote shells. (Bug#9647)
421
0bc06380
TZ
4222011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
423
424 * json.el: Bump version to 1.3 and note change in History.
425 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
426
8b79f3e0
SM
4272011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
428
5a7c536b
SM
429 * comint.el (comint-insert-input, comint-send-input)
430 (comint-get-old-input-default, comint-backward-matching-input)
431 (comint-next-prompt): Use nil instead of `input' for field property of
432 past user input (bug#114).
433
96a8a0df
SM
434 * minibuffer.el (completion--replace): Inherit surrounding properties
435 (bug#114).
436 (minibuffer-complete-and-exit): Use it.
437
8b79f3e0
SM
438 * comint.el (comint--table-subvert): Quote the all-completions output
439 (bug#9160).
440
b8f7ff0d
MR
4412011-10-17 Martin Rudalics <rudalics@gmx.at>
442
8b79f3e0 443 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 444
b8f7ff0d 445 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 446 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
447 entries and separate them from frame entries.
448
c235b555
GM
4492011-10-15 Glenn Morris <rgm@gnu.org>
450
451 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
452 Doc fixes.
453
6bbfa6e1
CY
4542011-10-15 Chong Yidong <cyd@stupidchicken.com>
455
8b79f3e0
SM
456 * net/network-stream.el (network-stream-open-starttls):
457 Improve detection of failure due to lack of TLS support.
ec5c990d 458
6bbfa6e1
CY
459 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
460 putting the input text in front and in bold.
461
98488977
SM
4622011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
463
3d1337be
SM
464 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
465
ee0b45e4
SM
466 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
467 empty buffer.
468
98488977
SM
469 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
470 unread-command-events rather than pushing yet-another event.
471
186f4720
EZ
4722011-10-14 Eli Zaretskii <eliz@gnu.org>
473
474 * mail/sendmail.el (sendmail-query-once): Improve the wording of
475 the explanation of the possible choices. Make the options passed
476 to completing-read shorter.
477
8b7a997c
AM
4782011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
479
480 * textmodes/flyspell.el (flyspell-large-region): Make sure
481 extended character mode is used if defined (Bug#1339).
482
12587bbb
EZ
4832011-10-13 Eli Zaretskii <eliz@gnu.org>
484
485 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
486 character info for LRE, LRO, RLE, and RLO characters by appending
487 an invisible PDF.
12587bbb 488
bad41229
SM
4892011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
492 even in case of error; add debug spec; simplify data flow.
493 (with-timeout-handler): Remove.
494
28dbc92f
MA
4952011-10-12 Michael Albinus <michael.albinus@gmx.de>
496
497 Fix Bug#6019, Bug#9315.
498
499 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
500 complete `buffer-file-name', the local file name part could look
501 remotely (for example on VMS).
502
503 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
504 `tramp-run-real-handler'.
505 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
506 already quoted by '"'.
507
508 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
509 Let `file-name-handler-alist' be nil, the local file name part
510 could look remotely (for example on VMS).
511
e1b0b23a
SM
5122011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
513
514 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
515 from here...
516 (flyspell-post-command-hook): ...to here.
517
a120bde9
SM
5182011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
521 if not needed.
522 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
523 using completion. Protect against "slow" callers.
524 Remove the "message hack".
525
7ce7717b
JL
5262011-10-11 Juri Linkov <juri@jurta.org>
527
528 * isearch.el (isearch-lazy-highlight-word): New variable.
529 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
530 Use it. (Bug#9727)
531
c02ee9d6
GM
5322011-10-11 Glenn Morris <rgm@gnu.org>
533
534 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
535 like f90-previous-statement does.
536
93e616fd 5372011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
538
1f190e73 539 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
540 only in interactive use, to avoid error.
541
af7b6078
SM
5422011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * minibuffer.el (completion-file-name-table): Fix last change,
545 i.e. ignore normal errors but not the other ones.
546
0563dae9
MR
5472011-10-10 Martin Rudalics <rudalics@gmx.at>
548
549 * window.el (special-display-buffer-names)
550 (special-display-regexps): Remove some remnants of earlier
551 changes from doc-strings.
366ca7f3
MR
552 (quit-windows-on): New function.
553
554 * vc/vc.el (vc-revert, vc-rollback):
555 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
556 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 557 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 558
49677495
MR
5592011-10-09 Martin Rudalics <rudalics@gmx.at>
560
561 * window.el (frame-auto-hide-function): Add version tag.
562 (Bug#9699)
563
56f2d1e1
MA
5642011-10-09 Michael Albinus <michael.albinus@gmx.de>
565
566 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
567 condition.
568
112a6592
LL
5692011-10-09 Leo Liu <sdl.web@gmail.com>
570
571 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
572 (Bug#9701)
573
0812589b
GM
5742011-10-08 Glenn Morris <rgm@gnu.org>
575
576 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
577 before the first code statement zero indent. (Bug#9690)
578
b2b0776e
CY
5792011-10-08 Chong Yidong <cyd@stupidchicken.com>
580
581 * simple.el (count-words-region): Always count in the region.
582 Report the number of lines and characters too.
583 (count-words): New command, which counts in the buffer if the
584 region is inactive, as count-words-region used to.
585 (count-words--message): New function. Handle plurals.
586 (count-lines-region): Make it an alias for count-words-region.
587
588 * bindings.el (esc-map): Replace count-lines-region with
589 count-words-region.
590
c557cd6b
MR
5912011-10-08 Martin Rudalics <rudalics@gmx.at>
592
593 * window.el (window--delete): Delete dedicated frame
594 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 595 (switch-to-buffer): Fix doc-string typo.
c557cd6b 596
61a57ef4 5972011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
598
599 * lisp/eshell/eshell.el (eshell-command): Avoid using hooks.
600
c3833279
CY
6012011-10-07 Chong Yidong <cyd@stupidchicken.com>
602
603 * bindings.el ([M-left],[M-right]): Bind to left-word and
604 right-word respectively.
605
21ce8245
GM
6062011-10-07 Glenn Morris <rgm@gnu.org>
607
608 * cus-start.el (debug-on-quit): Fix custom type.
609
6d823bb2
LMI
6102011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
611
0181e193
LMI
612 * subr.el (define-key-after): Clarify that the function is not
613 useful for non-menu keymaps.
614
6d823bb2
LMI
615 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
616
8e3459ce 6172011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
618
21ce8245 619 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 620 in current minibuffer (Fix bug with recursive minibuffers).
621
a1c2d21e
CY
6222011-10-06 Chong Yidong <cyd@stupidchicken.com>
623
624 * progmodes/gdb-mi.el (gdb): Doc fix.
625
5a4cf282
MR
6262011-10-05 Martin Rudalics <rudalics@gmx.at>
627
628 * window.el (frame-auto-hide-function): New option replacing
629 frame-auto-delete. Suggested by Stefan Monnier.
630 (window--delete): Call frame-auto-hide-function instead of
631 investigating frame-auto-delete.
c96111ea
MR
632 (window-point-1, set-window-point-1): New functions.
633 (window-in-direction, record-window-buffer, window-state-get-1)
634 (display-buffer-record-window): Use window-point-1 instead of
635 window-point.
636 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 637
9854542e
SM
6382011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
641
8943cfb0
GM
6422011-10-05 Glenn Morris <rgm@gnu.org>
643
644 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
645 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
646
647ab967
LL
6472011-10-05 Leo Liu <sdl.web@gmail.com>
648
649 * subr.el (read-char-choice): Fix argument to buffer-live-p which
650 works with buffer object.
651
3ddfbced
SM
6522011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * mpc.el (mpc-tool-bar-map): Add labels.
655
bdfa5dd2
GM
6562011-10-04 Glenn Morris <rgm@gnu.org>
657
658 * calendar/holidays.el (calendar-check-holidays): Doc fix.
659
0e2070b5
MR
6602011-10-04 Martin Rudalics <rudalics@gmx.at>
661
662 * window.el (window--delete): New function.
663 (frame-auto-delete): Resuscitate option.
664 (bury-buffer, replace-buffer-in-windows)
665 (quit-window): Rewrite using window--delete.
666 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
667 Pass display-buffer-mark-dedicated to window--display-buffer-2
668 (Bug#9639).
669
3dc61a09
SM
6702011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
671
915a9b64
SM
672 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
673 returns a list (bug#9554). Add remote file name completion.
674 * comint.el (comint--table-subvert): Curry and get quote&unquote
675 functions as arguments.
676 (comint--complete-file-name-data): Adjust call accordingly.
677 * pcomplete.el (pcomplete--table-subvert): Remove.
678 (pcomplete-completions-at-point): Use comint--table-subvert instead.
679
3dc61a09
SM
680 * minibuffer.el (completion-table-case-fold): Use currying.
681 (completion--styles-type, completion--cycling-threshold-type):
682 New constants.
683 (completion-styles, completion-category-overrides)
684 (completion-cycle-threshold): Use them.
685 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
686 completion-table-case-fold.
687
8ea0a993
SB
6882011-10-03 Stephen Berman <stephen.berman@gmx.net>
689
690 * minibuffer.el (completion-category-overrides): Fix type of styles
691 and add more user friendly tags (bug#9660).
692
8c24b7f6
SM
6932011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
696 (mule-input-method-string): New widget.
697 (default-input-method, language-info-custom-alist): Use it.
698
428fe61a
SM
6992011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
700
32c1fffd
SM
701 * pcomplete.el: Require comint.
702 (pcomplete--common-suffix): Remove.
703 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
704 (pcomplete--table-subvert): Sync with comint--table-subvert.
705 (pcomplete--entries): Use comint-completion-file-name-table.
706 * comint.el (comint-unquote-filename): Simplify.
707 (comint-completion-file-name-table): New function (bug#9616).
708 (comint--complete-file-name-data): Use it.
709
428fe61a
SM
710 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
711 (pcmpl-gnu-tar-buffer): Remove.
712 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
713 around. Make sure pcomplete-suffix-list is only changed temporarily.
714 Don't look inside the tar's file if it's too large.
428fe61a 715
04c52e2f
CY
7162011-10-01 Chong Yidong <cyd@stupidchicken.com>
717
ce3cefcc
CY
718 * cus-edit.el (custom-mode-map):
719 * epa.el (epa-key-list-mode-map):
720 * man.el (Man-mode-map):
721 * startup.el (splash-screen-keymap):
722 * simple.el (special-mode-map): Use scroll-up-command and
723 scroll-down-command.
724
725 * progmodes/idlw-help.el (idlwave-help-mode-map):
726 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
727 * net/newst-plainview.el (newsticker-mode-map):
728 * emulation/ws-mode.el (wordstar-mode-map):
729 * emulation/vi.el (vi-com-map):
730 * calc/calc-graph.el (calc-graph-show-dumb):
731 * term/sun.el (terminal-init-sun):
732 * term/ns-win.el (global-map):
733 * progmodes/grep.el (grep-mode-map):
734 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
735 * mail/rmail.el (rmail-mode-map):
736 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
737
04c52e2f
CY
738 * custom.el (custom-safe-themes, load-theme): Treat value of t for
739 custom-safe-themes as special.
740
79adf8c8
JD
7412011-10-01 Julien Danjou <julien@danjou.info>
742
743 * notifications.el (notifications-notify): Fix docstring.
744
63bd50d3
PS
7452011-10-01 Per Starbäck <per@starback.se>
746
747 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
748
199e4c7e
MR
7492011-09-30 Martin Rudalics <rudalics@gmx.at>
750
751 * startup.el (command-line-1): Fix last fix by inserting
752 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 753 (Bug#9605) and (Bug#9636)
199e4c7e 754
fe5f08dd
EZ
7552011-09-29 Eli Zaretskii <eliz@gnu.org>
756
757 * simple.el (line-move): If auto-hscroll-mode is disabled and the
758 window is hscrolled, move by logical lines. (Bug#9607)
759 (line-move-visual): Update the doc string to the above effect.
760
b5516bbd
MR
7612011-09-29 Martin Rudalics <rudalics@gmx.at>
762
ccee00c0
MR
763 * window.el (display-buffer-record-window): When WINDOW is the
764 selected window use `point' instead of `window-point'. (Bug#9626)
765
b5516bbd
MR
766 * startup.el (command-line-1): Use insert-before-markers when
767 inserting initial-scratch-message. (Bug#9605)
ccee00c0 768
b5516bbd
MR
769 * help.el (help-window): Remove variable.
770
52aa0014
GM
7712011-09-29 Glenn Morris <rgm@gnu.org>
772
773 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
774
df9a7357
JB
7752011-09-29 Juanma Barranquero <lekktu@gmail.com>
776
777 * descr-text.el (describe-char-categories): Accept category
778 descriptions more than one line long.
779
a8406c20
SM
7802011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
781
88d9610c
SM
782 * simple.el (delete-trailing-whitespace): Fix last change.
783
a5daf810
SM
784 * progmodes/perl-mode.el (perl-syntax-propertize-function):
785 Don't confuse "y => 3" as the beginning of a `y' operation.
786
a8406c20
SM
787 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
788 object has more than 4 slots (bug#9613).
789
a239d4e9
JB
7902011-09-28 Juanma Barranquero <lekktu@gmail.com>
791
792 * subr.el (with-output-to-temp-buffer):
793 * net/quickurl.el (quickurl, quickurl-browse-url):
794 Fix typos in docstrings.
795
693fbdb6
EZ
7962011-09-27 Eli Zaretskii <eliz@gnu.org>
797
798 * minibuffer.el (completion-styles)
799 (completion-category-overrides): Cross reference each other in doc
800 strings.
801
8b457e28
GM
8022011-09-27 Glenn Morris <rgm@gnu.org>
803
804 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
805 to split-string. (Bug#9606)
806
85a16208
LMI
8072011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
808
809 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
810 (bug#9615).
811
502f9ebd
CY
8122011-09-27 Chong Yidong <cyd@stupidchicken.com>
813
814 * emacs-lisp/package.el (list-packages): Fix echo area message.
815
7690bdea
LL
8162011-09-27 Leo Liu <sdl.web@gmail.com>
817
818 * ido.el (ido-read-internal): Accept cons cell HIST arg.
819
e2ee6f30
MA
8202011-09-25 Michael Albinus <michael.albinus@gmx.de>
821
822 * net/dbus.el (dbus-unregister-object): Don't release services for
823 registered signals. (Bug#9581)
824
f3f98342
TZ
8252011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
826
827 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
828 function that picks between cfengine 2 and 3 support
829 automatically. Update docs accordingly.
830
dd7aa8dd
KH
8312011-09-22 Kenichi Handa <handa@m17n.org>
832
833 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
834 ZERO.
835 (indian-itrans-v5-table-for-tamil): New variable.
836 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
837
3f2b07f8
KM
8382011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
839
840 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
841 that's true if the current command involved collapsing of text.
842 It's reset to false at the beginning of the next command.
843 (allout-post-command-business): Move the cursor to the beginning
844 of entry if the cursor is hidden and collapsing activity just
845 happened.
846
371d6a61
CY
8472011-09-24 Chong Yidong <cyd@stupidchicken.com>
848
849 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
850 tracking (Bug#9541).
851
2ac2721a
UJ
8522011-09-24 Ulf Jasper <ulf.jasper@web.de>
853
854 * net/newst-reader.el (newsticker-html-renderer)
855 (newsticker-show-news): Automatically
343a34ff
JB
856 load html rendering package if newsticker-html-renderer is set.
857 Fixes "Warning: defvar ignored because w3m-fill-column is
2ac2721a
UJ
858 let-bound" and the error "Symbol's value as variable is void:
859 w3m-fill-column".
860
fac7ae53
MA
8612011-09-24 Michael Albinus <michael.albinus@gmx.de>
862
863 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
864 Release services only if they are defined. (Bug#9581)
865
e08b633b
RS
8662011-09-23 Richard Stallman <rms@gnu.org>
867
e488d29c
RS
868 * textmodes/paragraphs.el (forward-sentence): For backwards case,
869 distinguish start of paragraph from start of its text.
870
19c38752
RS
871 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
872
e08b633b
RS
873 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
874 (rmail-generate-viewer-buffer): Put that hook on view buffer.
875 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
876
0a39f27e
AS
8772011-09-23 Andreas Schwab <schwab@linux-m68k.org>
878
879 * international/mule-diag.el (mule-diag): Insert a newline after
880 each fontset description.
881
db4e950d
SM
8822011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
883
884 * simple.el (delete-trailing-whitespace):
885 Document last change; simplify.
886
eca3f3ea
PW
8872011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
888
d68e189a
PW
889 * simple.el (delete-trailing-whitespace): Also delete
890 extra newlines at the end of the buffer.
891
eca3f3ea
PW
892 * textmodes/picture.el: Make motion commands obey shift-select-mode.
893 (picture-newline): Use forward-line so as to ignore fields.
894
01c157cc
SM
8952011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
896
897 * subr.el (with-wrapper-hook): Fix edebug spec.
898
022de23e
LMI
8992011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
900
901 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
902 (bug#4538).
903
91683089
MA
9042011-09-23 Michael Albinus <michael.albinus@gmx.de>
905
eca3f3ea
PW
906 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
907 Fix nasty bug using wrong cached values.
91683089 908
5bdd6fa4
AM
9092011-09-23 Alan Mackenzie <acm@muc.de>
910
911 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
912
97adfb97
CY
9132011-09-23 Chong Yidong <cyd@stupidchicken.com>
914
915 * window.el (pop-to-buffer): Ensure right window is selected if we
916 chose another frame.
917
d4ef2b50
EZ
9182011-09-22 Eli Zaretskii <eliz@gnu.org>
919
920 * simple.el (what-cursor-position): Use get-char-property-change
921 and next-single-char-property-change, to be able to show display
922 properties that come from overlays as well as text properties.
923
72258fe5
CY
9242011-09-22 Chong Yidong <cyd@stupidchicken.com>
925
926 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
927
928 * cmuscheme.el (run-scheme, switch-to-scheme):
929 * cus-edit.el (customize-group, custom-buffer-create)
930 (customize-browse):
931 * info.el (info):
932 * shell.el (shell):
933 * mail/sendmail.el (mail):
934 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
935
8f098516
RS
9362011-09-22 Richard Stallman <rms@gnu.org>
937
938 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
939 move back only to line beg, don't move back over blank lines.
940
e74f1bb6
MA
9412011-09-22 Michael Albinus <michael.albinus@gmx.de>
942
943 * files.el (copy-directory): Set directory attributes only in case
944 they could be retrieved from the source directory. (Bug#9565)
945
bfeef8b6
DK
9462011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
947
948 * progmodes/hideshow.el (hs-looking-at-block-start-p)
949 (hs-find-block-beginning, hs-hide-level-recursive):
950 Ignore strings as well as comments. (Bug#9502)
951
7e423bb8
AS
9522011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
953
954 * progmodes/sql.el (sql-comint-postgres):
955 Convert port number to a string. (Bug#9566)
956
b4d72fcf
MR
9572011-09-22 Martin Rudalics <rudalics@gmx.at>
958
959 * window.el (quit-window): Undedicate window when switching to
960 previous buffer. Reported by Thierry Volpiatto
961 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
962 (special-display-popup-frame): When popping up a new frame reset
963 its previous buffers to nil. Simplify code.
b4d72fcf 964
a7b88dc6
MA
9652011-09-21 Michael Albinus <michael.albinus@gmx.de>
966
967 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
968 and process filter, as done also in `shell-command'.
969
cf4eacfd
MR
9702011-09-21 Martin Rudalics <rudalics@gmx.at>
971
eca3f3ea
PW
972 * window.el (set-window-buffer-start-and-point):
973 Call set-window-start with NOFORCE argument t. Suggested by Thierry
cf4eacfd
MR
974 Volpiatto <thierry.volpiatto@gmail.com>.
975 (quit-window): Reword doc-string. Handle new format of
976 quit-restore parameter. Don't delete window if it has a
977 previous buffer we can show instead of the present one.
978 (display-buffer-record-window): Rewrite using a new format for
979 the quit-restore window parameter
980 (special-display-popup-frame, display-buffer-same-window)
981 (display-buffer-reuse-window, display-buffer-pop-up-frame)
982 (display-buffer-pop-up-window, display-buffer-use-some-window):
983 Adapt symbol passed to display-buffer-record-window.
984 * help.el (help-window-setup): Handle new format of quit-restore
985 parameter.
986
8d28cb95
SM
9872011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
988
94ab793f
SM
989 * faces.el (face-list): Fix docstring (bug#9564).
990
8d28cb95
SM
991 * window.el (display-buffer--action-function-custom-type):
992 Don't include internal functions in the Custom interface.
993
3820edeb
JL
9942011-09-20 Juri Linkov <juri@jurta.org>
995
996 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
997 (Info-forward-node, Info-backward-node, Info-next-preorder)
998 (Info-last-preorder): Use it. (Bug#9528)
999
5147931d
JL
10002011-09-20 Juri Linkov <juri@jurta.org>
1001
1002 * info.el (Info-last-preorder): Visit last menu item only when
1003 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
1004
cf499a1a
JD
10052011-09-20 Julien Danjou <julien@danjou.info>
1006
1007 * password-cache.el (password-cache-remove): Remove entries even if the
1008 value is nil, so that password with a nil value (negative caching) is
1009 possible to invalidate.
1010
f84e2fe2
LM
10112011-09-20 Lawrence Mitchell <wence@gmx.li>
1012
1013 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
1014 all whitespace around breakpoint. (Bug#9553)
1015 (f90-find-breakpoint): Only break at whitespace inside a comment.
1016
78054a46
SM
10172011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1018
1019 * minibuffer.el (completion-file-name-table): Keep track of errors.
1020 (completion-table-with-predicate): Handle the case where pred1 is nil.
1021 * pcomplete.el (pcomplete-completions-at-point): Simplify.
1022
345083b2
SM
10232011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1024
e24e27be
SM
1025 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
1026 (debugger-return-value): Signal an error if the debugging context does
1027 not await any return value.
1028
345083b2
SM
1029 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
1030 * image-mode.el (image-toggle-display-text)
1031 (image-toggle-display-image): Stay away from evil `intangible'.
1032
08d355e3
LL
10332011-09-19 Leo Liu <sdl.web@gmail.com>
1034
1035 * replace.el (occur-revert-arguments): Make it permanent-local.
1036 (occur-mode): Don't call font-lock-defontify.
1037
f01da43f
CY
10382011-09-19 Chong Yidong <cyd@stupidchicken.com>
1039
1040 * net/ldap.el (ldap-search-internal): Don't push empty search
1041 result (Bug#9508).
1042
b6072fa6
SM
10432011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1044
1045 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
1046
443d6696
MA
10472011-09-19 Michael Albinus <michael.albinus@gmx.de>
1048
1049 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
1050 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
1051
7cc6e154
JL
10522011-09-18 Juri Linkov <juri@jurta.org>
1053
1054 * buff-menu.el (Buffer-menu-mode-map):
1055 * dired.el (dired-mode-map):
1056 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
1057 (lisp-interaction-mode-map):
1058 * emacs-lisp/package.el (package-menu-mode-map):
1059 * epa.el (epa-key-list-mode-map):
1060 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
1061 (menu-bar-options-menu):
1062 * outline.el (outline-mode-menu-bar-map):
1063 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
1064 * vc/vc-dir.el (vc-dir-menu-map):
1065 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
1066 Capitalize non-function content words in menu item strings.
1067
1068 * dired.el (dired-mode-map): Add menu item for
1069 `image-dired-dired-toggle-marked-thumbs'.
1070
80302a81
JL
10712011-09-18 Juri Linkov <juri@jurta.org>
1072
1073 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
1074 to `isearch-case-fold-search' and restore its original value
1075 after the `isearch-mode' call.
1076
46c5cf66
JL
10772011-09-18 Juri Linkov <juri@jurta.org>
1078
1079 * progmodes/grep.el (grep-process-setup): Don't check code for 1
1080 because `zgrep' returns 1 for successful matches (bug#9226).
1081
d18b513b
JL
10822011-09-18 Juri Linkov <juri@jurta.org>
1083
1084 * info.el (Info-extract-menu-node-name): Check the second match
1085 for empty string (second test-case of bug#9528).
1086 (Info-last-preorder): Let-bind `Info-history' to nil to not add
1087 intermediate nodes to the history (first test-case of bug#9528).
1088
72753f87
JL
10892011-09-18 Juri Linkov <juri@jurta.org>
1090
1091 * info.el (Info-mode-syntax-table): New variable.
1092 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table'. (Bug#3312)
1093
c9384295
JL
10942011-09-18 Juri Linkov <juri@jurta.org>
1095
1096 * info.el (Info-file-supports-index-cookies): Increment
1097 line-beginning-position's arg from 3 to 4 because makeinfo outputs
1098 one more line for long file names (bug#4142).
1099
d473dce8
CY
11002011-09-18 Chong Yidong <cyd@stupidchicken.com>
1101
1102 * newcomment.el (comment-normalize-vars): If prompting for
1103 comment-start, set comment-start-skip too (Bug#8424).
1104
2176854d
JB
11052011-09-18 Johan Bockgård <bojohan@gnu.org>
1106
1107 * icomplete.el: Fix previous fix of Bug#5849.
1108 (icomplete-mode): Don't set completion-show-inline-help.
1109 (icomplete-minibuffer-setup): Set completion-show-inline-help
1110 locally during icompletion.
1111
3aace4e4
CY
11122011-09-18 Chong Yidong <cyd@stupidchicken.com>
1113
c940224f
CY
1114 * woman.el (woman2-process-escapes): Don't delete unrecognized
1115 escapes (Bug#7843).
1116
3aace4e4
CY
1117 * files.el (inhibit-first-line-modes-regexps): Add image files.
1118 (hack-local-variables-prop-line): Return nil for malformed
1119 prop-lines (Bug#9044).
1120
710dec63
MA
11212011-09-18 Michael Albinus <michael.albinus@gmx.de>
1122
1123 * net/tramp.el (top): Don't require 'shell.
1124 (tramp-methods): Fix docstring.
1125 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
1126 Return complete remote file name. Handle "smb" case.
1127 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
1128 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
1129
1130 * net/tramp-compat.el (top): Require 'shell.
1131
1132 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1133 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
1134 `tramp-current-host'.
1135 (tramp-get-remote-tmpdir): Remove.
1136
1137 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
1138 `tramp-tmpdir' entries.
1139 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
1140 (tramp-smb-handle-file-attributes): Ignore errors.
1141 (tramp-smb-wait-for-output): Check also for process end.
1142
5d5ac8ec
LMI
11432011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
1144
1145 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
1146 when sending QUIT (bug#9312).
1147
8c0f49f0
CY
11482011-09-17 Chong Yidong <cyd@stupidchicken.com>
1149
1150 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
1151 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
1152 occur-mode-display-occurrence.
1153 (occur-edit-mode): Add usage message.
1154 (occur-cease-edit): New command.
1155 (occur-after-change-function): Use text properties to find the
1156 position of the prefix text.
1157 (occur-engine): Set stickiness of prefix text properties.
1158
8f1383f7
GM
11592011-09-17 Glenn Morris <rgm@gnu.org>
1160
1161 * progmodes/etags.el (complete-tag):
1162 Fix call to completion-in-region. (Bug#9526)
1163
744ba0e3
JL
11642011-09-17 Juri Linkov <juri@jurta.org>
1165
1166 * textmodes/ispell.el (ispell-word): Add to the error message
1167 the word, ispell program name and current dictionary (bug#9121).
1168 (ispell-tex-arg-end): Capitalize "error" in the error message.
1169
d9bbf400
AS
11702011-09-17 Andreas Schwab <schwab@linux-m68k.org>
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
1173 check. (Bug#4251)
1174
8da11505
JL
11752011-09-17 Juri Linkov <juri@jurta.org>
1176
1177 * window.el (window-safe-min-height, window-safe-min-width):
1178 Fix typos (followup to bug#9522).
1179
a91adc7e
SJ
11802011-09-17 Sven Joachim <svenjoac@gmx.de>
1181
1182 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
1183
064f328a
EZ
11842011-09-16 Eli Zaretskii <eliz@gnu.org>
1185
1186 * simple.el (line-move): If goal-column is set, move by logical
1187 lines, not by display lines. (Bug#971)
1188 (next-line, previous-line, goal-column, line-move-visual): Doc fix
1189 to reflect the above change.
1190
e69df516
SM
11912011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1192
1193 * image.el (imagemagick-register-types): Use regexp-opt.
1194
cbb0f9ab
CY
11952011-09-15 Chong Yidong <cyd@stupidchicken.com>
1196
1197 * window.el (display-buffer-base-action): Rename from
1198 display-buffer-default-action. Make default value empty.
1199 (display-buffer-overriding-action): Convert to defvar.
1200 (display-buffer-fallback-action): New var.
1201
25322144
CY
12022011-09-15 Chong Yidong <cyd@stupidchicken.com>
1203
1204 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
1205 declaration.
1206 (package--add-to-archive-contents): If there is a duplicate entry
1207 with an older version, remove it.
1208 (package-menu-mark-delete, package-menu-mark-install)
1209 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
1210 (package-menu-mark-obsolete-for-deletion):
1211 Use package-menu-get-status instead of a regexp search.
25322144
CY
1212 (package-menu-get-status): Use tabulated-list-entry.
1213 (package-menu-mark-upgrades): New command.
d770725a 1214 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
1215 (package-menu-execute): Do installation before deletion.
1216 (package-menu-refresh, package-menu-execute): Use derived-mode-p
1217 instead of checking major-mode.
1218 (package-menu--find-upgrades): New function.
1219
7520339c
LMI
12202011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
1221
1222 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
1223 passwords in the log buffer.
65a046c4
LMI
1224 (smtpmail-process-filter): Update the process marker so that the
1225 "broken by peer" status message is inserted in the right place.
7520339c 1226
d3c30954
SM
12272011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1228
3fe48822
SM
1229 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
1230 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
1231 bibtex-completion-at-point-function.
1232 (bibtex-completion-at-point-function): Use them.
1233
1b8b3954
SM
1234 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
1235
d3c30954
SM
1236 * mpc.el (mpc-constraints-tag-lookup): New function.
1237 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
1238 also to browser "album|playlist".
1239
72779976
JL
12402011-09-14 Juri Linkov <juri@jurta.org>
1241
1242 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
1243 (isearch-edit-string): Use length of `isearch-string' when
1244 `isearch-fail-pos' returns nil.
1245 (isearch-message): Remove duplicate code and call
1246 `isearch-fail-pos' with arg `t'.
1247
a0bf2bcd
CY
12482011-09-14 Chong Yidong <cyd@stupidchicken.com>
1249
17bb0a2d
CY
1250 * replace.el (occur-mode-goto-occurrence): Don't force using other
1251 window (Bug#9499).
1252
a0bf2bcd
CY
1253 * dired-aux.el (dired-do-chmod): Don't provide initial input.
1254
f678e0b6
MR
12552011-09-14 Martin Rudalics <rudalics@gmx.at>
1256
1257 * window.el (display-buffer-window): Remove.
1258 (display-buffer-record-window): Use help-setup window parameter
1259 instead of variable display-buffer-window.
1260 (display-buffer-function, special-display-buffer-names)
1261 (special-display-function): Mention help-setup parameter instead
1262 of display-buffer-window in doc-string.
d3c30954
SM
1263 * help.el (help-window-setup): New argument help-window.
1264 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
1265 Reword some messages.
1266 (with-help-window): Pass window used for displaying the buffer
1267 to help-window-setup. Don't set display-buffer-window.
1268
8e39b2e8
GM
12692011-09-13 Glenn Morris <rgm@gnu.org>
1270
1271 * emacs-lisp/debug.el (debugger-make-xrefs):
1272 Preserve point. (Bug#9462)
1273
85e9c04b
CY
12742011-09-13 Chong Yidong <cyd@stupidchicken.com>
1275
1276 * window.el (window-deletable-p): Use next-frame.
1277
1b36ed6a
MR
12782011-09-13 Martin Rudalics <rudalics@gmx.at>
1279
1280 * window.el (window-auto-delete): Remove.
1281 (window-deletable-p): Remove argument FORCE. Don't deal with
1282 dedicatedness and previous buffers.
1283 (switch-to-prev-buffer): Don't delete window.
1284 (delete-windows-on): Delete a window's frame if and only if the
1285 window is dedicated.
1286 (replace-buffer-in-windows): Delete buffer's window or frame if
1287 and only if window is dedicated.
1288 (quit-window): Handle quit-restore as before last change.
4d61f28d 1289 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 1290
ef8ef9fb
CY
12912011-09-13 Chong Yidong <cyd@stupidchicken.com>
1292
1293 * window.el (window-deletable-p): Never delete the last frame on a
1294 given terminal.
1295
b2cba41e
GM
12962011-09-13 Glenn Morris <rgm@gnu.org>
1297
1298 * help.el (describe-key-briefly): Copy previous standard-output change.
1299
51553db6 13002011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
1301
1302 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
1303
b7556719
GM
13042011-09-13 Glenn Morris <rgm@gnu.org>
1305
1306 * emacs-lisp/lisp-mode.el (lisp-indent-function):
1307 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
1308
64b51947
CY
13092011-09-12 Chong Yidong <cyd@stupidchicken.com>
1310
1311 * dired-aux.el (dired-mark-read-string): Don't return default
1312 value on empty input (Bug#9361).
1313 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
1314 Omit initial minibuffer contents.
1315 (dired-do-chmod): Signal an error on empty input.
1316 (dired-mark-read-string): Don't return default on empty input.
1317
1318 * files.el (file-modes-symbolic-to-number): Doc fix.
1319
393a301e
SM
13202011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1321
1322 * international/mule-cmds.el (ucs-completions): Remove.
1323 (read-char-by-name): Use complete-with-action instead; add metadata.
1324
fa5660f9
CY
13252011-09-11 Chong Yidong <cyd@stupidchicken.com>
1326
1327 * window.el (display-buffer--action-function-custom-type)
1328 (display-buffer--action-custom-type): New vars.
1329 (display-buffer-alist, display-buffer-default-action)
1330 (display-buffer-overriding-action): Add defcustom types.
1331
4a592f66
CY
1332 * frame.el (delete-other-frames): Doc fix (Bug#276).
1333
73d56dbd
LMI
13342011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1335
1336 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
1337
37ac18a3
CY
13382011-09-11 Chong Yidong <cyd@stupidchicken.com>
1339
1340 Change modes that used same-window-* vars to use switch-to-buffer.
1341
1342 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
1343 Use switch-to-buffer.
1344
1345 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
1346 (customize-browse, custom-buffer-create-other-window):
1347 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
1348
1349 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
1350 (Info-prev, Info-up, Info-speedbar-goto-node)
1351 (info-display-manual): Use switch-to-buffer.
1352 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
1353
1354 * mail/sendmail.el (mail): Use switch-to-buffer.
1355 (mail-recover): Use switch-to-buffer-other-window.
1356
1357 * cmuscheme.el (run-scheme, switch-to-scheme):
1358 * ielm.el (ielm):
1359 * shell.el (shell):
1360 * net/rlogin.el (rlogin):
1361 * net/telnet.el (telnet, rsh):
1362 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
1363
10195bd6
AS
13642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
1367
b322f63a
LMI
13682011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
1369
39d7fed6
LMI
1370 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
1371 so don't mention it (bug#9301).
ba5a81f1 1372 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 1373
ee0e9f11
LMI
1374 * faces.el (face-spec-set-match-display): Make `(type graphic)'
1375 match `x', `w32' and `ns', like the manual says (bug#9029).
1376
0b1c89c1 1377 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
1378 (process-kill-buffer-query-function): Mention the buffer name in
1379 the query.
0b1c89c1 1380
77549ea8
LMI
1381 * image-mode.el (image-next-line): The line parameter is mandatory
1382 (bug#9258).
1383
803ef892
LMI
1384 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
1385 which can be useful (bug#9301).
1386
12980837
LMI
1387 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
1388
91054f8f
LMI
1389 * subr.el (match-string): Mention that the current buffer should
1390 be the same as the search was done in (bug#9282).
1391
b322f63a
LMI
1392 * facemenu.el: Disable the remove-* commands if the mark isn't
1393 active (bug#9162).
1394
3199b96f
CY
13952011-09-10 Chong Yidong <cyd@stupidchicken.com>
1396
1397 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
1398 of display-buffer.
1399 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
1400
1401 * replace.el (occur-mode-goto-occurrence)
1402 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
1403 and display-buffer.
1404
1405 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
1406 display-buffer.
1407
1408 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
1409 special-display and same-window variables.
1410 (mail-other-window): Use switch-to-buffer-other-window.
1411 (mail-other-frame): USe switch-to-buffer-other-frame.
1412
393a301e
SM
1413 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
1414 Use display-buffer-other-frame.
3199b96f
CY
1415 (gdb-display-gdb-buffer): Use pop-to-buffer.
1416
1417 * progmodes/gud.el (gud-goto-info): Use info-other-window.
1418
1419 * progmodes/python.el: Don't set same-window-buffer-names.
1420
1421 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
1422
1423 * window.el (display-buffer-alist): Add *Python*.
1424
8319e0bf
CY
14252011-09-10 Chong Yidong <cyd@stupidchicken.com>
1426
1427 * window.el (display-buffer-alist): Add entry for buffers
1428 previously handled same-window-*.
1429 (display-buffer-alist, display-buffer-default-action)
1430 (display-buffer-overriding-action): Mark as risky.
1431 (display-buffer-alist): Document action function changes.
1432 (display-buffer--same-window-action)
1433 (display-buffer--other-frame-action): New variables.
1434 (switch-to-buffer, display-buffer-other-frame): Use them.
1435 (display-buffer): Rename reuse-frame entry to reusable-frames.
1436 (display-buffer-reuse-selected-window): Function deleted.
1437 (display-buffer-reuse-window): Handle reusable-frames alist entry.
1438 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
1439 (display-buffer-special): New function.
1440 (display-buffer--maybe-pop-up-frame-or-window): Rename from
1441 display-buffer-reuse-or-pop-window. Split off special-display
1442 part into display-buffer-special.
1443 (display-buffer-use-some-window): Don't perform any special
1444 pop-up-frames handling.
1445 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 1446 (display-buffer--maybe-same-window): Rename from
0d3ff375 1447 display-buffer-maybe-same-window.
8319e0bf 1448
919a69aa
CY
1449 * info.el: Don't set same-window-regexps.
1450 (info-setup): New function.
1451 (info-other-window, info): Call it.
1452
1453 * cus-edit.el: Don't set same-window-regexps.
1454 (customize-group): New argument.
1455 (customize-group-other-window): Use it.
1456 (customize-face, customize-face-other-window): Likewise.
1457 (custom-buffer-create-other-window): Use pop-to-buffer directly.
1458
8319e0bf
CY
1459 * net/rlogin.el:
1460 * net/telnet.el:
1461 * progmodes/gud.el: Don't set same-window-regexps.
1462
1463 * cmuscheme.el:
1464 * ielm.el:
1465 * shell.el:
1466 * mail/sendmail.el:
1467 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
1468
25173000
JL
14692011-09-10 Juri Linkov <juri@jurta.org>
1470
1471 * isearch.el (isearch-edit-string): Remove obsolete mention of
1472 `C-w' (`isearch-yank-word-or-char') from docstring.
1473 (isearch-query-replace): Fix typo in docstring (bug#9466).
1474
056e44ef
JL
14752011-09-10 Juri Linkov <juri@jurta.org>
1476
1477 * paren.el (show-paren-function): Don't show escaped parens.
1478 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
1479
c3760c17
EZ
14802011-09-10 Eli Zaretskii <eliz@gnu.org>
1481
1482 * mail/sendmail.el (mml-to-mime, mml-attach-file)
1483 (mm-default-file-encoding): Remove autoload forms, they are
1484 replaced with autoload cookies in mml.el and mm-encode.el.
1485 (mail-add-attachment): New command.
1486 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
1487 (mail-mode): Mention mail-insert-file and mail-add-attachment in
1488 the doc string.
1489 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
1490
fece895e
RT
14912011-09-10 Reuben Thomas <rrt@sc3d.org>
1492
e69df516
SM
1493 * simple.el (count-words-region): Use buffer if there's no region
1494 (bug#9429).
fece895e 1495
5e68ce4a
JL
14962011-09-09 Juri Linkov <juri@jurta.org>
1497
1498 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
1499 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
1500 (wdired-isearch-filter-read-only): New function. (Bug#6362)
1501
0a6b9622
AM
15022011-09-09 Alan Mackenzie <acm@muc.de>
1503
1504 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
1505 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
1506
14a29deb
EZ
15072011-09-09 Eli Zaretskii <eliz@gnu.org>
1508
1509 Fix for Savannah bug#9392.
1510 * simple.el (mail-encode-mml): New defvar.
1511
1512 * mail/rmail.el (mail-encode-mml): Add a defvar.
1513 (rmail-enable-mime-composing): Default to t.
1514 (rmail-forward): Use MIME method of forwarding only if both
1515 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
1516 Set mail-encode-mml non-nil if the MIME method was used.
1517
1518 * mail/sendmail.el (mml-to-mime): Add autoload form.
1519 (mail-encode-mml): Add a defvar.
1520 (mail-mode): Make mail-encode-mml buffer-local and initialize it
1521 to nil.
1522 (mail-send): If mail-encode-mml is non-nil, run the outgoing
1523 message through mml-to-mime, and reset mail-encode-mml to nil.
1524
28c45130
GM
15252011-09-09 Glenn Morris <rgm@gnu.org>
1526
1527 * woman.el (woman-if-body): When processing an .el block,
1528 do not delete the next .el block as well. (Bug#9447)
69f4b618 1529 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 1530
9b1c252e
MR
15312011-09-08 Martin Rudalics <rudalics@gmx.at>
1532
1533 * window.el (window-deletable-p): Make sure window is live before
1534 invoking window-prev-buffers.
1535
567457e3
LL
15362011-09-08 Leo Liu <sdl.web@gmail.com>
1537
1538 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
1539
97f05794
JL
15402011-09-08 Juri Linkov <juri@jurta.org>
1541
1542 * progmodes/compile.el (compilation-environment): Make it
1543 a defcustom (bug#8340).
1544
8b0874b5
MR
15452011-09-08 Martin Rudalics <rudalics@gmx.at>
1546
1547 * window.el (frame-auto-delete): Rename to window-auto-delete.
1548 Make it control auto-deletion of windows and/or frames.
1549 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 1550 for deleting window/frame. (Bug#9419)
8b0874b5
MR
1551 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
1552 Rewrite handling of case when window/frame can be deleted.
1553 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 1554 argument t. (Bug#9456)
8b0874b5 1555
4feb6e73
CY
15562011-09-07 Chong Yidong <cyd@stupidchicken.com>
1557
1558 * help-mode.el (help-mode): Restore autoload.
1559
91ab9c13
JL
15602011-09-07 Juri Linkov <juri@jurta.org>
1561
1562 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
1563 `compilation-environment'. Set buffer-local
1564 `compilation-environment' to `thisenv' later after (funcall mode).
1565 (Bug#8340)
1566
1567 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
1568 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
1569 instead of replacing its value. (Bug#8340)
1570
0527e251
JL
15712011-09-07 Juri Linkov <juri@jurta.org>
1572
1573 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
1574 based on text properties put by `grep-filter' instead of matching
1575 escape sequences.
1576 (grep-mode): Set buffer-local `compilation-error-screen-columns'
1577 to the value of `grep-error-screen-columns' (bug#9438).
1578
249f792c
JL
15792011-09-07 Juri Linkov <juri@jurta.org>
1580
1581 * simple.el (next-error-highlight, next-error-highlight-no-select):
1582 Doc fix (bug#9432).
1583
ff7271b9
OT
15842011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1585
1586 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
1587 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
1588
183fc730
LL
15892011-09-07 Leo Liu <sdl.web@gmail.com>
1590
1591 * net/rcirc.el (rcirc-mode): Conditionally initialize
1592 rcirc-input-ring.
1593
77694924
SM
15942011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
1595
1596 * emacs-lisp/find-func.el (find-function-C-source): Only set
1597 find-function-C-source-directory after checking that we found a source
1598 file there (bug#9440).
1599
d809b8eb
AM
16002011-09-06 Alan Mackenzie <acm@muc.de>
1601
1602 * isearch.el (isearch-other-meta-char): Wherever a key list is
1603 unread, "unread" the prefix arg, too. This fixes bug #8901.
1604
453de99f
OG
16052011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
1606
1607 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
1608
90439906
JL
16092011-09-05 Juri Linkov <juri@jurta.org>
1610
1611 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
1612
f62bd846
JL
16132011-09-05 Juri Linkov <juri@jurta.org>
1614
1615 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
1616 keeping point where processing of grep matches begins, and
1617 continue to delete remaining escape sequences from the same point.
1618 (grep-filter): Make leading zero optional in "0?1;31m" because
1619 git-grep emits "\033[1;31m" escape sequences unlike expected
1620 "\033[01;31m" as GNU Grep does (bug#9408).
1621 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
1622
045820ec
JL
16232011-09-05 Juri Linkov <juri@jurta.org>
1624
1625 * subr.el (y-or-n-p): Capitalize "yes".
1626
f5e29b9b
MA
16272011-09-04 Michael Albinus <michael.albinus@gmx.de>
1628
1629 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
1630 `tramp-cache-unload-hook' where appropriate.
1631 (tramp-methods): Rename `tramp-remote-sh' to
1632 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
1633 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
1634
1635 * net/tramp-sh.el (top): Don't require 'shell.
1636 (tramp-methods): Add `tramp-remote-shell' and
1637 `tramp-remote-shell-args' entries.
1638 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
1639 (tramp-sh-handle-shell-command): Remove.
1640 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1641 Use `tramp-remote-shell'.
1642
2784c434
CY
16432011-09-03 Chong Yidong <cyd@stupidchicken.com>
1644
393a301e 1645 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
1646 (sendmail-query-once): Save directly to send-mail-function.
1647 Update message-send-mail-function too.
1648
1649 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
1650
464cdf56
CS
16512011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1652
1653 * progmodes/python.el (python-mode-map): Use correct function to
1654 start python interpreter from menu-bar (as reported by Geert
1655 Kloosterman).
1656 (inferior-python-mode-map): Fix typo.
393a301e 1657 (python-shell-map): Remove.
464cdf56 1658
d37e5c87
DD
16592011-09-03 Deniz Dogan <deniz@dogan.se>
1660
1661 * net/rcirc.el (rcirc-print): Simplify code for
1662 rcirc-scroll-show-maximum-output. There is no need to walk
1663 through all windows to find the right one.
1664
f3ada0ee
CS
16652011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
1666
1667 * help.el (help-return-method): Doc fix.
1668
1f3c99ca
MR
16692011-09-03 Martin Rudalics <rudalics@gmx.at>
1670
1671 * window.el (window-deletable-p): Don't return a non-nil value
1672 when there's a buffer that was shown in the window before.
1673 (Bug#9419)
393a301e
SM
1674 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
1675 Set window's previous buffers to nil.
1f3c99ca 1676
a3cf097f
EZ
16772011-09-03 Eli Zaretskii <eliz@gnu.org>
1678
1679 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
1680 newline before and after the tag line, so it doesn't interfere
1681 with determining the paragraph direction of bidirectional text.
1682
3d03de90
LL
16832011-09-03 Leo Liu <sdl.web@gmail.com>
1684
1685 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
1686
c3313451
CY
16872011-09-02 Chong Yidong <cyd@stupidchicken.com>
1688
393a301e 1689 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
1690 (pop-to-buffer): Change interactive spec. Pass second argument
1691 directly to display-buffer.
1692 (display-buffer): Fix interactive spec. Use functionp to
1693 distinguish between a function and a list of functions.
1694
1695 * abbrev.el (edit-abbrevs):
1696 * arc-mode.el (archive-extract):
1697 * autoinsert.el (auto-insert):
1698 * bookmark.el (bookmark-bmenu-list):
1699 * files.el (find-file):
1700 * view.el (view-buffer):
1701 * progmodes/compile.el (compilation-goto-locus):
1702 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
1703
89894cd8
CY
17042011-09-02 Chong Yidong <cyd@stupidchicken.com>
1705
1706 * window.el (display-buffer-alist): Doc fix.
1707 (display-buffer): Add docstring. Don't treat
1708 display-buffer-default specially.
1709 (display-buffer-reuse-selected-window)
1710 (display-buffer-same-window, display-buffer-maybe-same-window)
1711 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1712 (display-buffer-pop-up-window)
1713 (display-buffer-reuse-or-pop-window)
1714 (display-buffer-use-some-window): New functions.
1715 (display-buffer-default-action): Use them.
393a301e 1716 (display-buffer-default): Delete.
89894cd8
CY
1717 (pop-to-buffer-1): Fix choice of actions.
1718
ae0bc9fb
SM
17192011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
1720
1721 * minibuffer.el (completion--insert-strings): Don't get confused by
1722 completion entries that end with an LF char.
1723
e9d90883
EZ
17242011-09-01 Eli Zaretskii <eliz@gnu.org>
1725
1726 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
1727
437014c8
CY
17282011-09-01 Chong Yidong <cyd@stupidchicken.com>
1729
1730 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
1731 (display-buffer-same-window, display-buffer-other-window):
1732 New functions.
437014c8
CY
1733 (pop-to-buffer-1): New function. Use the above.
1734 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 1735 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
1736
1737 * view.el (view-buffer-other-window, view-buffer-other-frame):
1738 Just use pop-to-buffer.
1739
a5e063d5
TV
17402011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1741
1742 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
1743
793d32bb
WH
17442011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
1745
1746 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
1747
d65e4c15
RS
17482011-08-31 Richard Stallman <rms@gnu.org>
1749
1750 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
1751 of the separation of rmail-view-buffer from rmail-buffer.
1752 If you say no to "replace original", the decrypt is in the
1753 view buffer. If you say yes, the decrypt goes into the
1754 rmail buffer also.
1755
f818cd2a
MR
17562011-08-31 Martin Rudalics <rudalics@gmx.at>
1757
1758 * window.el (display-buffer-window): Rewrite doc-string.
1759 (display-buffer-record-window): New function.
1760 (display-buffer-macro-specifiers)
1761 (display-buffer-even-window-sizes, display-buffer-set-height)
1762 (display-buffer-set-width, display-buffer-in-window)
1763 (display-buffer-reuse-window, display-buffer-split-specifiers)
1764 (display-buffer-side-specifiers, display-buffer-split-window-1)
1765 (display-buffer-split-window, display-buffer-split-atom-window)
1766 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
1767 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
1768 (display-buffer-other-window-means-other-frame)
1769 (display-buffer-normalize-special)
1770 (display-buffer-normalize-default)
1771 (display-buffer-normalize-argument)
1772 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
1773 (display-buffer-normalize-specifiers, display-buffer-frame)
1774 (display-buffer-same-window, display-buffer-same-frame)
1775 (display-buffer-other-window)
1776 (display-buffer-same-frame-other-window)
1777 (display-buffer-other-frame, pop-to-buffer-same-window)
1778 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
1779 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
1780 (switch-to-buffer-same-frame)
1781 (switch-to-buffer-other-window-same-frame)
1782 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
1783 (display-buffer-alist-set-1, display-buffer-alist-set-2)
1784 (display-buffer-alist-set): Remove.
1785 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
1786 (special-display-regexps, special-display-function):
1787 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
1788 parameter.
1789 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
1790 (special-display-frame-alist, special-display-popup-frame)
1791 (same-window-buffer-names, same-window-regexps, same-window-p)
1792 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
1793 (split-window-preferred-function, split-height-threshold)
1794 (split-width-threshold, window-splittable-p)
1795 (split-window-sensibly, window--try-to-split-window)
1796 (window--frame-usable-p, even-window-heights)
1797 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
1798 (window--display-buffer-2, display-buffer-other-frame):
1799 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
1800 (display-buffer-default, display-buffer-assq-regexp): New functions.
1801 (display-buffer-alist): Rewrite doc-string.
1802 (display-buffer-default-action)
1803 (display-buffer-overriding-action): New variables.
1804 (display-buffer, switch-to-buffer): Rewrite.
1805 (pop-to-buffer): Restore Emacs 23 behavior but use
1806 window-normalize-buffer-to-display.
1807 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
1808 Restore Emacs 23 behavior but use
1809 window-normalize-buffer-to-switch-to.
1810 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
1811 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
1812 Rewrite using Emacs 23 options.
f818cd2a 1813
5bc3b51d
MA
18142011-08-31 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp.el (tramp-root-regexp): Remove.
1817 (tramp-completion-file-name-regexp-unified)
1818 (tramp-completion-file-name-regexp-separate)
1819 (tramp-completion-file-name-regexp-url): Don't use leading volume
1820 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
1821 (tramp-drop-volume-letter): Simplify definition.
1822 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 1823
b1a4f8e1
SM
18242011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1825
1826 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
1827 (bug#9356).
1828
5664fa7b
RT
18292011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
1830
b1a4f8e1 1831 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 1832
9a45d6c3
JL
18332011-08-29 Juri Linkov <juri@jurta.org>
1834
1835 * isearch.el (isearch-done): Don't display message "Mark saved"
1836 when arg `edit' is non-nil to prevent its flicker in the echo area.
1837
fb87e0fb
CY
18382011-08-28 Chong Yidong <cyd@stupidchicken.com>
1839
1840 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
1841 obsolete packages for deletion.
1842
09ac1c2a
CS
18432011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
1844
1845 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 1846 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
1847 view-mode from help-mode.
1848 (help-xref-override-view-map): Remove.
1849 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
1850 view-mode is not used anymore.
1851
7a1ff57f
CY
18522011-08-28 Chong Yidong <cyd@stupidchicken.com>
1853
1854 * server.el (server-port): Doc fix.
1855
b9696605
CY
1856 * cus-theme.el (custom-theme-choose-mode): Inherit from
1857 special-mode (Bug#9124).
1858 (custom-theme-choose-mode-map): Add special-mode to parent.
1859
ef8cdf8c
AM
18602011-08-28 Alan Mackenzie <acm@muc.de>
1861
1862 * progmodes/cc-fonts.el
1863 (c-make-font-lock-BO-decl-search-function): New function.
1864 (c-basic-matchers-after - "Fontify the clauses after various
1865 keywords"): Extract the three keyword lists for the 3 erroneous
1866 constructs from the list of four, and use the new function above
1867 in place of an old one.
1868
27de4e20
DD
18692011-08-28 Deniz Dogan <deniz@dogan.se>
1870
1871 * net/rcirc.el (rcirc-insert-prev-input)
1872 (rcirc-insert-next-input): Remove unused argument.
1873
356a3681
SM
18742011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1875
1876 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
1877
3fc9b218
AM
18782011-08-27 Alan Mackenzie <acm@muc.de>
1879
1880 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
1881 handle function pointer parameters properly.
1882
538a061c
MR
18832011-08-27 Martin Rudalics <rudalics@gmx.at>
1884
1885 * window.el (display-buffer-reuse-window): Fix case where
1886 selected window was reused with non-nil OTHER-WINDOW argument.
1887 (Bug#9381)
1888
35b1c40c
DD
18892011-08-27 Deniz Dogan <deniz@dogan.se>
1890
1891 * net/rcirc.el (rcirc-check-auth-status): Adding support for
1892 oftc's NickServ messages.
1893
2f6a3e79
GM
18942011-08-27 Glenn Morris <rgm@gnu.org>
1895
1896 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
1897
7254299e
CY
18982011-08-26 Chong Yidong <cyd@stupidchicken.com>
1899
1900 * emacs-lisp/package.el (package-install): Call package-initialize
1901 if called interactively.
1902
f8ccf167
LL
19032011-08-26 Leo Liu <sdl.web@gmail.com>
1904
1905 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
1906
3e8cd5ce
JL
19072011-08-25 Juri Linkov <juri@jurta.org>
1908
1909 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
1910 `search-whitespace-regexp' (bug#9364).
1911
93eb7113
JL
19122011-08-25 Juri Linkov <juri@jurta.org>
1913
1914 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
1915 `regexp-search-ring' to their global values to protect from
1916 updating by `read-from-minibuffer' (bug#9185).
1917
f65d1611
JL
19182011-08-25 Juri Linkov <juri@jurta.org>
1919
1920 * textmodes/ispell.el (ispell-command-loop): Add newline
1921 at the end of the "Use option `i'..." line.
1922
f1cf7a31
JL
19232011-08-25 Juri Linkov <juri@jurta.org>
1924
1925 * battery.el (display-battery-mode): If `battery-status-function'
1926 or `battery-mode-line-format' is nil, display the message and set
1927 `display-battery-mode' to nil (bug#9363).
1928
0c95fcf7
EZ
19292011-08-25 Eli Zaretskii <eliz@gnu.org>
1930
1931 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
1932 bidi-string-mark-left-to-right; they are unnecessary now.
1933
a2ebe600
DD
19342011-08-25 Deniz Dogan <deniz@dogan.se>
1935
1936 * net/quickurl.el: Documentation typo fixes.
1937
e4ed06f1
CY
19382011-08-25 Chong Yidong <cyd@stupidchicken.com>
1939
1940 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
1941
e5f1c99e
GM
19422011-08-25 Glenn Morris <rgm@gnu.org>
1943
b2948976
GM
1944 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
1945
e5f1c99e
GM
1946 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
1947 (smtpmail-via-smtp): Handle nil response from smtp.
1948
f22f4808
JL
19492011-08-24 Juri Linkov <juri@jurta.org>
1950
1951 * proced.el (proced-marked): Inherit from `error' instead of
1952 `font-lock-warning-face'.
1953
1954 * ibuffer.el (ibuffer-marked-face): Change default face from
1955 `font-lock-warning-face' to `warning'.
1956 (ibuffer-deletion-face): Change default face from
1957 `font-lock-type-face' to `error'.
1958
1959 * battery.el (battery-update): Use the face `error' instead of
1960 `font-lock-warning-face' (bug#6117).
1961
6a93965e
JL
19622011-08-24 Juri Linkov <juri@jurta.org>
1963
1964 * faces.el (success): Change face color from "Green3" to
1965 "ForestGreen" on light background (bug#9353).
1966
1ed43b09
CY
19672011-08-24 Chong Yidong <cyd@stupidchicken.com>
1968
5664fa7b
RT
1969 * window.el (quit-window): Rename from quit-restore-window.
1970 Use same arglist as old quit-window.
1ed43b09
CY
1971 (frame-auto-delete): Doc fix.
1972
1973 * view.el (view-mode-exit): Use quit-window.
1974
11dcdbb2
JL
19752011-08-24 Juri Linkov <juri@jurta.org>
1976
1977 * isearch.el (isearch-ring-adjust1): Start visiting previous
1978 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
1979 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
1980 for empty search string (when the last search string is reused
1981 automatically) to adjust the isearch ring to the last element and
1982 prepare the correct index for further M-p commands (bug#9185).
1983
de62b4df
KH
19842011-08-24 Kenichi Handa <handa@m17n.org>
1985
1986 * international/ucs-normalize.el: If decomposition property of
1987 CHAR is the default one (i.e. a list of CHAR itself), treat it as
1988 nil.
1989 (nfd, nfkd): Likewise.
1990
963b492b
SM
19912011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
1994 from process filters aren't reliably transmitted to the surrounding
1995 accept-process-output.
1996 (mpc-proc-check): New function.
1997 (mpc-proc-sync): Use it (bug#8293)
1998
93b6b5e1
SM
19992011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2000
2001 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
2002 Add compatibility functions (bug#9313).
2003
bca633fb
EZ
20042011-08-23 Eli Zaretskii <eliz@gnu.org>
2005
b177498a
EZ
2006 * cus-start.el (all): Add entry for bidi-paragraph-direction.
2007
bca633fb
EZ
2008 * international/uni-bidi.el: Regenerated.
2009
0902a04e
KH
20102011-08-23 Kenichi Handa <handa@m17n.org>
2011
2012 * international/charprop.el:
2013 * international/uni-bidi.el:
2014 * international/uni-category.el:
2015 * international/uni-combining.el:
2016 * international/uni-comment.el:
2017 * international/uni-decimal.el:
2018 * international/uni-decomposition.el:
2019 * international/uni-digit.el:
2020 * international/uni-lowercase.el:
2021 * international/uni-mirrored.el:
2022 * international/uni-name.el:
2023 * international/uni-numeric.el:
2024 * international/uni-old-name.el:
2025 * international/uni-titlecase.el:
2026 * international/uni-uppercase.el: Regenerate.
2027
3bbf23bc
MR
20282011-08-23 Martin Rudalics <rudalics@gmx.at>
2029
2030 * help.el (help-window-setup): Fix message displayed when other
2031 window is reused. (Bug#9341)
2032
b3fd59bd
SM
20332011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2034
1802e444
SM
2035 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
2036 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
2037
b3fd59bd
SM
2038 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
2039 Mark obsolete.
2040 * shell.el (shell-parse-pcomplete-arguments): New function.
2041 (shell-completion-vars): Use it instead (bug#9160).
2042
4eb61348
SM
20432011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2044
867cab74
SM
2045 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
2046 strings and comments (bug#9333).
2047
4eb61348
SM
2048 * emacs-lisp/debug.el (debug-arglist): New function.
2049 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
2050 (debug-on-entry-1): Handle interpreted closures (bug#9120).
2051
262a1439
JL
20522011-08-22 Juri Linkov <juri@jurta.org>
2053
56ee679c
JL
2054 * progmodes/compile.el (compilation-mode-font-lock-keywords):
2055 Revert regexp that highlights output switches to its old
2056 pre-2010-10-28 value and remove one `?' from it (bug#9319).
2057
262a1439
JL
2058 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
2059 to check for empty output (bug#9226).
2060
f13f86fb
CY
20612011-08-22 Chong Yidong <cyd@stupidchicken.com>
2062
2063 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
2064 symbol-constituent as the default, as that stops font-lock from
2065 working properly (Bug#8843).
2066
c65c9622
LMI
20672011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2068
2069 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
2070 `coding-system-for-*' around the process open call to avoid
2071 auth-source side effects.
e7f2c178 2072 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
2073 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
2074 probe hangs.
c65c9622 2075
23a8a5ab
CY
20762011-08-21 Chong Yidong <cyd@stupidchicken.com>
2077
ff98b2dd
CY
2078 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
2079
23a8a5ab
CY
2080 * emacs-lisp/find-func.el (find-function-noselect): New arg
2081 lisp-only.
2082
2083 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
2084 signal an error for built-in functions (Bug#6664).
2085
f5e3c598
LMI
20862011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2087
2088 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
2089 (smtpmail-try-auth-methods): Use it.
2090
a3f2468a
CY
20912011-08-21 Chong Yidong <cyd@stupidchicken.com>
2092
2c34e8da
CY
2093 * font-lock.el (font-lock-fontify-region)
2094 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
2095 (font-lock-default-unfontify-buffer)
2096 (font-lock-default-fontify-region)
2097 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
2098
b3fd59bd
SM
2099 * progmodes/compile.el (compilation-error-properties):
2100 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
2101 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
2102 `ant' regexp.
ee31aabc 2103
a3f2468a
CY
2104 * net/browse-url.el (browse-url-firefox): Don't call
2105 browse-url-firefox-sentinel unless using -remote (Bug#9328).
2106
8e999f70
GM
21072011-08-20 Glenn Morris <rgm@gnu.org>
2108
c21a496a
GM
2109 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
2110
59ee0542
GM
2111 * tutorial.el (tutorial--default-keys): Update some default bindings.
2112
8e999f70
GM
2113 * files.el (hack-local-variables): Fully ignore case for "mode:".
2114
e3715033
AM
21152011-08-20 Alan Mackenzie <acm@muc.de>
2116
2117 Resolve invalid use of a regexp in regexp-opt.
2118
4d61f28d
JB
2119 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
2120 detection for a java annotation.
e3715033 2121
4d61f28d 2122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
2123 detection for a java annotation.
2124
4d61f28d
JB
2125 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
2126 handling for java.
e3715033
AM
2127 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
2128
04ed2e9c
CY
21292011-08-20 Chong Yidong <cyd@stupidchicken.com>
2130
2131 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
2132 (Bug#9274).
2133
826cee64
AM
21342011-08-20 Alan Mackenzie <acm@muc.de>
2135
2136 * Fontify CPP expressions correctly when starting in the middle of
2137 such a construct. Mainly for when jit-lock etc. starts a chunk
2138 here.
2139
2140 * progmodes/cc-fonts.el (c-font-lock-context): new buffer local
2141 variable.
2142 (c-make-font-lock-search-form): new function, extracted from
2143 c-make-font-lock-search-function.
2144 (c-make-font-lock-search-function): Use the above function.
2145 (c-make-font-lock-context-search-function): New function.
2146 (c-cpp-matchers): Enhance the preprocessor expression case with
2147 the above function
2148 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
2149 which takes an expression.
2150
2151 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
2152
13009bd8
MR
21532011-08-20 Martin Rudalics <rudalics@gmx.at>
2154
2155 * window.el (display-buffer-reuse-window)
2156 (display-buffer-pop-up-window): Don't reuse or split a side
2157 window.
2158
9234ff7f
GM
21592011-08-19 Glenn Morris <rgm@gnu.org>
2160
2161 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 2162 Downcase "Mode:". (Bug#9331)
9234ff7f 2163
f635daa1
CY
21642011-08-18 Chong Yidong <cyd@stupidchicken.com>
2165
2166 * international/characters.el: Add L and R categories.
2167
2168 * subr.el (bidi-string-mark-left-to-right): Rename from
2169 string-mark-left-to-right. Use category search.
2170
2171 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
2172
bc987f8b
JL
21732011-08-18 Juri Linkov <juri@jurta.org>
2174
2175 * faces.el (error, warning, success): New faces with definitions
2176 copied from old default values of `font-lock-warning-face',
2177 `compilation-warning', `compilation-info' (bug#6117).
2178
2179 * font-lock.el (font-lock-warning-face): Inherit from `error'.
2180
2181 * progmodes/compile.el (compilation-error): Inherit from `error'.
2182 (compilation-warning): Inherit from `warning'.
2183 (compilation-info): Inherit from `success'.
2184
2185 * dired.el (dired-marked): Inherit from `warning'.
2186 (dired-flagged): Inherit from `error'.
2187
57173b96
LMI
21882011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2189
3e79eb87
LMI
2190 * mail/smtpmail.el (auth-source): Require to avoid problems with
2191 binding variables (bug#9298). Also clean up some unused
2192 autoloads.
2193
b3fd59bd
SM
2194 * net/network-stream.el (network-stream-open-starttls):
2195 Support using starttls.el without using gnutls-cli.
57173b96 2196
02b404de
JL
21972011-08-17 Juri Linkov <juri@jurta.org>
2198
2199 * progmodes/grep.el (rgrep): Handle the case when
2200 `grep-find-command' is a cons cell (bug#9278).
2201
8c9177f2
MR
22022011-08-17 Martin Rudalics <rudalics@gmx.at>
2203
2204 * window.el (display-buffer-pop-up-frame): Run frame creation
2205 function with BUFFER current (as special-display-popup-frame
2206 does). Reported by Drew Adams.
2207
3644a0ab
DU
22082011-08-17 Daiki Ueno <ueno@unixuser.org>
2209
2210 * epa-mail.el: Simplify GnuPG group expansion using
2211 epg-expand-group.
2212 (epa-mail-group-alist, epa-mail-group-modtime)
2213 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
2214 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
2215 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
2216 Remove.
2217
5e617bc2 22182011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
2219
2220 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
2221
9c4aeabf
AM
22222011-08-16 Alan Mackenzie <acm@muc.de>
2223
2224 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
2225 Correct, to avoid the inside of macros.
2226
3a99bf64
RS
22272011-08-16 Richard Stallman <rms@gnu.org>
2228
04963aa8
RS
2229 * epa-mail.el: Handle GnuPG group definitions.
2230 (epa-mail-group-alist, epa-mail-group-modtime)
2231 (epa-mail-gnupg-conf-file): New variables.
2232 (epa-mail-parse-groups, epa-mail-sync-groups)
2233 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
2234 (epa-mail-expand-recipients): New functions.
2235 (epa-mail-encrypt): Call epa-mail-expand-recipients.
2236
177549d0
RS
2237 * mail/rmail.el (rmail-epa-decrypt): New command.
2238
fe38beef
RS
2239 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
2240 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
2241 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
2242 (epa-decrypt-armor-in-region): Make error message clearer.
2243
934eacb9
SM
22442011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
2247 and "a2b" to "ab" for `prefix'.
2248
d024fb4e
CY
22492011-08-14 Chong Yidong <cyd@stupidchicken.com>
2250
2251 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
2252 filter groups.
de148fee
CY
2253 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
2254 Fourquet (Bug#8804).
d024fb4e 2255
62f1ca49
JB
22562011-08-12 Juanma Barranquero <lekktu@gmail.com>
2257
2258 * startup.el (argi): Declare as global variable (bug#9275).
2259
9ccaaa4b
CY
22602011-08-12 Chong Yidong <cyd@stupidchicken.com>
2261
2262 * subr.el (string-mark-left-to-right): Search the entire string
2263 for RTL script, not just the terminating character. Doc fix.
2264
a3dae87a
SM
22652011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2266
6cd18349
SM
2267 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
2268 New function.
2269 (js--regexp-literal, js-syntax-propertize-function): Remove.
2270 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
2271 (js-mode-map): Don't rebind electric keys.
2272 (js-insert-and-indent): Remove.
2273 (js-mode): Setup electric-layout and electric-indent instead.
2274
a3dae87a
SM
2275 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
2276
9d5cb631
DU
22772011-08-12 Daiki Ueno <ueno@unixuser.org>
2278
2279 * epa.el (epa-progress-callback-function): Fix the logic of
2280 displaying progress.
2281 * epa-file.el (epa-file-insert-file-contents): Make progress
2282 display more user-friendly.
2283 (epa-file-write-region): Ditto.
2284
3e26a4a2
CY
22852011-08-10 Chong Yidong <cyd@stupidchicken.com>
2286
2287 * subr.el (string-mark-left-to-right): New function.
2288
2289 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
2290 Use string-mark-left-to-right.
2291 (list-buffers-noselect): Caller changed.
2292
a3dae87a
SM
2293 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2294 Use string-mark-left-to-right.
3e26a4a2
CY
2295 (tabulated-list-print): Recenter after moving point.
2296
ac8cf6e6
JL
22972011-08-10 Juri Linkov <juri@jurta.org>
2298
2299 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
2300 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
2301 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
2302
8d96c9a4
CY
23032011-08-09 Chong Yidong <cyd@stupidchicken.com>
2304
2305 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
2306 (Bug#7554).
2307
7be1c708 23082011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
2309
2310 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
2311 character. (Bug#6594)
2312
37e11a63
CY
23132011-08-08 Chong Yidong <cyd@stupidchicken.com>
2314
839dde57
CY
2315 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
2316 (image-dired--with-db-file): New macro.
2317 (image-dired-write-tags, image-dired-remove-tag)
2318 (image-dired-create-gallery-lists, image-dired-write-comments)
2319 (image-dired-get-comment, image-dired-mark-tagged-files)
2320 (image-dired-list-tags, image-dired-gallery-generate): Use it.
2321 (image-dired-gallery-generate): Use insert-file-contents.
2322
37e11a63
CY
2323 * time.el (display-time-world-list, display-time-world-display):
2324 * time-stamp.el (time-stamp-string):
2325 * vc/add-log.el (add-change-log-entry): Use setenv instead of
2326 set-time-zone-rule (Bug#7337).
2327
0b4946c4
DU
23282011-08-08 Daiki Ueno <ueno@unixuser.org>
2329
2330 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
2331 (epg-error-to-string, epg-errors-to-string): New function.
2332 (epg-wait-for-completion): Reverse errors list.
2333 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
2334 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
2335 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
2336 (epg-sign-keys, epg-generate-key-from-file)
2337 (epg-generate-key-from-string): Format errors by using
2338 epg-errors-to-string (bug#9255).
2339 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
2340
75bfc667
JL
23412011-08-07 Juri Linkov <juri@jurta.org>
2342
2343 * faces.el (list-faces-display): Remove extra angle bracket
2344 from `help-mode-map'.
2345
2346 * info.el (Info-history-toc-nodes): Doc fix.
2347
2348 * longlines.el (longlines-mode): Doc fix.
2349
673e08bb
SM
23502011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2351
4640dd88
SM
2352 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
2353 of statements and in a few more cases (bug#9183).
2354
673e08bb
SM
2355 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
2356 New functions.
2357 (cl-transform-lambda): Use them (bug#9239).
2358
89b3f019
MR
23592011-08-05 Martin Rudalics <rudalics@gmx.at>
2360
2361 * window.el (display-buffer-same-window)
2362 (display-buffer-same-frame, display-buffer-other-window)
2363 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
2364 (pop-to-buffer-other-window)
2365 (pop-to-buffer-same-frame-other-window)
2366 (pop-to-buffer-other-frame): Make them defuns.
2367 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
2368
640c8776
SM
23692011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * subr.el (make-composed-keymap): Move from C. Change calling
2372 convention, and improve docstring to bring attention to a subtle point.
2373 * minibuffer.el (completing-read-default): Adjust accordingly.
2374
63648a95
MA
23752011-08-03 Michael Albinus <michael.albinus@gmx.de>
2376
2377 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2378 (tramp-open-shell): Use `tramp-shell-quote-argument'.
2379
2380 * net/trampver.el: Update release number.
2381
b796c9b7
SM
23822011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
2383
2384 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
2385 "in" (bug#9190).
2386
2239d7d5
LMI
23872011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
2388
e07dd7c3
LMI
2389 * mail/sendmail.el (sendmail-query-once): Restore the current
2390 buffer after querying (bug#9074).
2391
0e6a2bd7
LMI
2392 * dired.el (dired-flagged): Use different faces for marked and
2393 flagged files (bug#6117).
2394
ce887515
LMI
2395 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
2396 (bug#4433).
2397
92f2affc
LMI
2398 * ido.el (ido-mode): Switch off the message if called
2399 non-interactively.
2400
57d5aff0
LMI
2401 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
2402 before 587, since it appears that that's more likely to work for
2403 more people.
2404
98cd6c18
LMI
2405 * cus-edit.el (custom-file): When running under emacs -q, always
2406 refuse to save the customisations, even if the .emacs file doesn't
2407 exist.
2408
b96dec83
LMI
2409 * info.el: Remove the `Info-beginning-of-buffer' function
2410 (bug#8325).
2411
b796c9b7
SM
2412 * net/network-stream.el (network-stream-open-starttls):
2413 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 2414
d90e2ea0
MR
24152011-08-01 Martin Rudalics <rudalics@gmx.at>
2416
2417 * window.el (display-buffer-in-window): Don't set dedicated status
2418 of window here (Bug#9215).
2419 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
2420 (display-buffer-pop-up-side-window)
b796c9b7 2421 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 2422
cca09170
SM
24232011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
2426 before binding generated-autoload-file.
2427
027b979c
DD
24282011-08-01 Deniz Dogan <deniz@dogan.se>
2429
2430 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
2431
3c7ee4f3
MA
24322011-07-30 Michael Albinus <michael.albinus@gmx.de>
2433
2434 Sync with Tramp 2.2.2.
2435
2436 * net/trampver.el: Update release number.
2437
2cc8e51a
JL
24382011-07-30 Juri Linkov <juri@jurta.org>
2439
2440 * dired-aux.el (dired-touch-initial): Remove function.
2441 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
2442 current time, and `default' to the last modification time of the
2443 current marked file (bug#6887).
2444
a514d856
JM
24452011-07-28 Jose E. Marchesi <jemarch@gnu.org>
2446
2447 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 2448 numeric argument to read-number (bug#9163).
a514d856 2449
8a7eddd7
MA
24502011-07-27 Michael Albinus <michael.albinus@gmx.de>
2451
2452 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
2453 connection process, it could be nil.
2454
1ddd96f5
LL
24552011-07-27 Leo Liu <sdl.web@gmail.com>
2456
2457 Simplify url handling in rcirc-mode.
2458
2459 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
2460 (rcirc-browse-url-at-mouse): Remove.
2461 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
2462
b248a85d
AM
24632011-07-26 Alan Mackenzie <acm@muc.de>
2464
2465 Fontify bitfield declarations properly.
2466
2467 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
2468 (c-symbol-chars): Now exported as a lang variable.
2469 (c-not-primitive-type-keywords): New lang variable.
2470
2471 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
2472 QT keyword "more" to prevent "more slots: ...." being spuriously
2473 parsed as a bitfield declaraion.
2474
b796c9b7
SM
2475 * progmodes/cc-engine.el (c-beginning-of-statement-1):
2476 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
2477 (c-punctuation-in): New function.
2478 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
2479 declarations properly.
2480
68575ab0
UJ
24812011-07-26 Ulf Jasper <ulf.jasper@web.de>
2482
2483 * calendar/icalendar.el (icalendar--all-events): Take care of
2484 multiple vcalendars in a single file.
b796c9b7 2485 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 2486
0f0a88b9
DD
24872011-07-25 Deniz Dogan <deniz@dogan.se>
2488
2489 * image.el (insert-image): Clarifying docstring.
2490
0b3f36df
MA
24912011-07-24 Michael Albinus <michael.albinus@gmx.de>
2492
2493 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
2494 `tramp-send-command-and-check' if there is no error.
2495 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2496
a9901f61
AM
24972011-07-22 Alan Mackenzie <acm@muc.de>
2498
2499 Prevent cc-langs.elc being loaded at run time.
2500
2501 * progmodes/cc-mode.el: Remove two autoload forms which loaded
2502 cc-langs.
2503
4d61f28d 2504 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
2505 "(require 'cc-langs)". Quote a form so it will evaluate at
2506 (cc-mode's) compilation time.
2507
11d074b2
MA
25082011-07-22 Michael Albinus <michael.albinus@gmx.de>
2509
2510 * net/tramp.el (tramp-file-name-handler): Avoid recursive
2511 loading. (Bug#9114)
2512
938b94c8
MR
25132011-07-21 Martin Rudalics <rudalics@gmx.at>
2514
2515 * window.el (display-buffer-pop-up-window)
2516 (display-buffer-pop-up-side-window)
2517 (display-buffer-in-side-window): Call display-buffer-set-height
2518 and display-buffer-set-width after setting the new window's
b796c9b7 2519 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 2520
bfa4f190
SS
25212011-07-20 Sam Steingold <sds@gnu.org>
2522
2523 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
2524 (etags-tags-included-tables): Call `convert-standard-filename' on
2525 the file names contained in TAGS so that windows Emacs can handle
2526 TAGS files created by cygwin ctags.
2527
8ca42262
LMI
25282011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2529
2530 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
2531 which apparently didn't work.
2532
5db2afd2 25332011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 2534
5db2afd2
RW
2535 * proced.el (proced-send-signal): For *Marked Processes* buffer
2536 put point at beginning of buffer.
2537
92e15d10
SB
25382011-07-19 Stephen Berman <stephen.berman@gmx.net>
2539
2540 * proced.el (proced-format): Make header lines align with the text
2541 (bug#1779).
2542
1bfd59e5
LMI
25432011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
2544
2545 * view.el (view-buffer): Allow running in `special' modes if we're
2546 visiting a file (bug#8615).
2547
f5aae37c
MR
25482011-07-19 Martin Rudalics <rudalics@gmx.at>
2549
2550 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
2551 (display-buffer-alist-set-1, display-buffer-alist-set-2):
2552 New functions.
f5aae37c
MR
2553 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
2554 more accurately.
2555
bf2c1571
AM
25562011-07-18 Alan Mackenzie <acm@muc.de>
2557
2558 Fontify declarators properly when, e.g., a jit-lock chunk begins
2559 inside a declaration.
2560
2561 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
2562
b796c9b7
SM
2563 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
2564 New function.
bf2c1571
AM
2565 (c-complex-decl-matchers): Insert reference to
2566 c-font-lock-enclosing-decls.
2567
2568 * progmodes/cc-engine.el (c-backward-single-comment):
2569 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
2570 to nil around calls to (forward-comment -1).
2571
4e190b80
LMI
25722011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
2573
12dc863d
LMI
2574 * image.el (put-image): Doc typo fix.
2575
a762e966
LMI
2576 * progmodes/etags.el (tags-search): Doc typo fix.
2577
4e190b80
LMI
2578 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
2579 password if we get errors 550 to 554.
2580
f019fb21
LMI
25812011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2582
b796c9b7 2583 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 2584
81746738
LMI
2585 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
2586 indentation character (bug#6380).
2587
3ee3a1b5
LMI
2588 * files.el (buffer-offer-save): Made permanently local (bug#6241).
2589
c82f64de
LMI
2590 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
2591 to clarify what the problem is (bug#4291).
2592
f019fb21
LMI
2593 * simple.el (current-kill): Clarify what
2594 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
2595 (auto-fill-mode): Document `auto-fill-function' in relation to
2596 `auto-fill-mode' (bug#2470).
f019fb21 2597
0794775d
LM
25982011-07-16 Lawrence Mitchell <wence@gmx.li>
2599
2600 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
2601 method if slot is read-only (bug#9035).
2602
be39b8cc
MR
26032011-07-16 Martin Rudalics <rudalics@gmx.at>
2604
b796c9b7 2605 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 2606 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
2607 selected before, see discussion of (Bug#8615), (Bug#6954).
2608 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 2609
6ccf7859
GM
26102011-07-15 Glenn Morris <rgm@gnu.org>
2611
2612 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 2613 Respect help-form.
6ccf7859 2614
87e86684
LM
26152011-07-09 Lawrence Mitchell <wence@gmx.li>
2616
2617 * net/gnutls.el (gnutls-min-prime-bits): New variable.
2618 (gnutls-negotiate): Use it.
2619
d6066239
LMI
26202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2621
b796c9b7
SM
2622 * net/gnutls.el (gnutls-negotiate):
2623 Upcase `gnutls-algorithm-priority'.
d6066239 2624
bd23ebc0
GM
26252011-07-15 Glenn Morris <rgm@gnu.org>
2626
c65bca65
GM
2627 * jka-compr.el (jka-compr-verbose): Move from here...
2628 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
2629 Add missing :version tag.
2630 * info.el: No need to require jka-compr when compiling.
bd23ebc0 2631
478615cc
LMI
26322011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
2633
7b41decb
LMI
2634 * net/gnutls.el (gnutls-algorithm-priority): New variable.
2635 (gnutls-negotiate): Use it.
2636
dbc44fcd
LMI
2637 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
2638
06789f97
LMI
2639 * info.el (Info-beginning-of-buffer): New command.
2640 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
2641 announcing `b' as the key (bug#8325).
ab896c37 2642 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 2643
c39da690
LMI
2644 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
2645
3aa5f34b
LMI
2646 * international/mule-cmds.el
2647 (describe-specified-language-support): Make the error message
2648 clearer (bug#8905).
2649
4bf0979f
LMI
2650 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
2651
478615cc
LMI
2652 * isearch.el (isearch-barrier): Add a doc string, since it's
2653 mentioned in a function doc string (bug#8678).
2654
75c68aa1
MR
26552011-07-15 Martin Rudalics <rudalics@gmx.at>
2656
2657 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
2658 buffer argument (Bug#9083) and self-identifying label argument.
2659
a7c33da2
GM
26602011-07-15 Glenn Morris <rgm@gnu.org>
2661
2662 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
2663
2f5c6024
LMI
26642011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2665
2666 * man.el (Man-fontify-manpage): Fix message when formatting the
2667 man page (bug#7929).
2668
0bb23927 26692011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
2670
2671 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
2672 argument LRM; if non-nil, append an invisible LRM character to the
2673 buffer name.
2674 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
2675 last argument non-nil, when formatting buffer names.
0bb23927
EZ
2676 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
2677 paragraph direction.
cce4b0a7 2678
621ef9ab
LMI
26792011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
2680
d1583c48
LMI
2681 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
2682 the man page name (bug#7929).
2683
6a57fb5f
LMI
2684 * image.el (put-image): Mention the `put-image' overlay property
2685 (bug#7834).
2686
d7956b14
LMI
2687 * scroll-bar.el (set-scroll-bar-mode): Mention that
2688 `scroll-bar-mode' lists the values (bug#7772).
2689
5b2d4a66
LMI
2690 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
2691 command (bug#7729).
2692
7509a874
LMI
2693 * rect.el (apply-on-rectangle): Return the point after the last
2694 operation.
2695 (string-rectangle): Go to the point after the last operation
2696 (bug#7522).
2697
4fe74b19
LMI
2698 * printing.el (pr-toggle-region): Clarify the documentation
2699 slightly (bug#7493).
2700
b796c9b7
SM
2701 * time.el (display-time-update):
2702 Allow `display-time-mail-function' to return nil (bug#7158).
2703 Fix suggested by Detlev Zundel.
ab283561 2704
fc233c9d
LMI
2705 * vc/diff.el (diff): Clarify the order the file names are read
2706 (bug#7111).
2707
43f5740b
LMI
2708 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
2709 the doc string (bug#7015).
2710
f2182a76
LMI
2711 * font-lock.el (font-lock-maximum-decoration): Mention what
2712 numeric levels mean (bug#6935).
2713
621ef9ab
LMI
2714 * startup.el (initial-buffer-choice): Don't mention the `none'
2715 selection, which is against policy.
2716
adc47434
MR
27172011-07-14 Martin Rudalics <rudalics@gmx.at>
2718
b796c9b7
SM
2719 * window.el (display-buffer-normalize-special):
2720 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 2721
7e5bfb8f
EZ
27222011-07-14 Eli Zaretskii <eliz@gnu.org>
2723
2724 * subr.el (version<, version<=, version=): Mention "-CVS" and
2725 "-12345" alpha version numbers.
2726
27fa387a
CY
27272011-07-14 Chong Yidong <cyd@stupidchicken.com>
2728
2729 * bindings.el: Add advertised binding for set-mark-command
2730 (Bug#5772).
2731
8bdfa064
CY
27322011-07-14 Chong Yidong <cyd@stupidchicken.com>
2733
2734 * bindings.el (mode-line-other-buffer):
2735 * bookmark.el (bookmark-bmenu-2-window):
2736 * bs.el (bs-cycle-next, bs-cycle-previous):
2737 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
2738 switch-to-buffer.
2739
2740 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 2741 Delete.
8bdfa064 2742
5eba16a3
JB
27432011-07-14 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * follow.el (follow-debug-message, follow-redisplay):
2746 * jka-cmpr-hook.el (with-auto-compression-mode):
2747 Fix typos in docstrings.
2748
15853710
LMI
27492011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2750
a28e4607
LMI
2751 * subr.el (with-silent-modifications): Clarify somewhat what the
2752 macro inhibits (bug#6525).
2753
15853710
LMI
2754 * simple.el (eval-expression): Note what it does if called
2755 interactively (bug#6495).
2756
bee0fcef
CY
27572011-07-13 Chong Yidong <cyd@stupidchicken.com>
2758
b796c9b7
SM
2759 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
2760 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
2761
2762 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2763 Remove switch-to-buffer.
2764
58274504
LMI
27652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2766
bd2fcc8d
LMI
2767 * files.el (make-directory): Clarify that an error will be raised
2768 if there's an error (bug#6397).
2769
0f04b32c
LMI
2770 * startup.el (initial-buffer-choice): Add `none' as a choice
2771 (bug#6234).
2772
465c5fc8
LMI
2773 * subr.el (add-hook): Clarify section about buffer-local hooks
2774 (bug#6218).
2775
58274504
LMI
2776 * dired.el (dired-flagged): Clarify doc string (bug#6117).
2777
bead9a43
JB
27782011-07-13 Juanma Barranquero <lekktu@gmail.com>
2779
2780 * tabify.el (untabify): Preserve the current column so that point
2781 doesn't move (bug#6032).
2782
3af98a7b
LMI
27832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2784
b796c9b7
SM
2785 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
2786 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 2787
6240145a
GM
27882011-07-13 Glenn Morris <rgm@gnu.org>
2789
2790 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
2791 (dired-insert-directory): Give a message the first time
2792 if ls is found not to support --dired.
2793
1d8c2ccc
LMI
27942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2795
2796 * simple.el (toggle-truncate-lines): Clarify what is toggled
2797 (bug#5580). Text by Drew Adams.
2798
5fc4038e
CY
27992011-07-13 Chong Yidong <cyd@stupidchicken.com>
2800
2801 * simple.el (blink-matching-open): Make the error message from the
2802 last change less verbose.
2803
bf6012e5
DN
28042011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
2805
2806 * font-lock.el (font-lock-comment-face): Use the high contrast
2807 "yellow" color for font-lock-comment-face on low color terminals
2808 using a dark background color (bug#4221).
2809
343c3b5a
LMI
28102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2811
7e9505c5
LMI
2812 * dired.el (dired-insert-set-properties): Make the doc string
2813 reflect what it does now (bug#5325).
2814
c26fdcf5
LMI
2815 * simple.el (blink-matching-open): Say that we were unable to find
2816 the match within the limit, if we're limited (bug#5122).
2817
bb388cc5
LMI
2818 * international/mule-cmds.el (prefer-coding-system): Add an
2819 example (bug#4869).
2820
343c3b5a
LMI
2821 * progmodes/etags.el (tags-search): Document `file-list-form'
2822 (bug#4731).
2823
2a517d45
LM
28242011-07-13 Lawrence Mitchell <wence@gmx.li>
2825
2826 * net/browse-url.el (browse-url-default-browser)
2827 (browse-url-browser-function): Make the default browser choice a
2828 bit more logical (bug#4300). Also clean up the doc string.
2829
b6c78ef2
JB
28302011-07-13 Juanma Barranquero <lekktu@gmail.com>
2831
2832 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
2833 binary endings (bug#4440).
2834
1c4dd947
LMI
28352011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2836
a2014063
LMI
2837 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
2838 which can be pretty annoying (bug#8971).
2839
9c9c2d88
LMI
2840 * jka-compr.el (jka-compr-verbose): New variable, and use
2841 throughout (bug#8971).
2842
1c4dd947
LMI
2843 * info.el (Info-find-file): Fall back on the installation
2844 directory if we can't find the info node anywhere else.
2845
a1c9f41b
SO
28462011-07-13 Sergei Organov <osv@javad.com> (tiny change)
2847
2848 * vc/vc.el (vc-revert-file):
2849 Don't set file time-stamp in the past. (Bug#5181)
2850
536f3d36
LMI
28512011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2852
7152b011
LMI
2853 * files.el (after-find-file): Give a better error message when
2854 trying to find a symlink that points to a file that doesn't exist
2855 (bug#4398).
2856
536f3d36
LMI
2857 * progmodes/cc-vars.el: Remove (probably) misleading comment
2858 (bug#4396).
2859
460c0fba
JB
28602011-07-12 Johan Bockgård <bojohan@gnu.org>
2861
2862 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
2863
7a6bda45
CY
28642011-07-12 Chong Yidong <cyd@stupidchicken.com>
2865
2866 * mouse-sel.el: Hack restoring functionality, while keeping
2867 compatibility with 2010-07-03 changes to mouse selection.
2868 (mouse-sel-primary-overlay): New var.
2869 (mouse-sel-selection-alist): Use it.
2870 (mouse-sel-mode): Doc fix; remove points that are default features
2871 of mouse.el.
2872
c79598ef
JB
28732011-07-12 Johan Bockgård <bojohan@gnu.org>
2874
2875 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2876 Fix previous fix (bug#2490).
2877
ff8be6ef
RW
28782011-07-12 Roland Winkler <winkler@gnu.org>
2879
b796c9b7
SM
2880 * textmodes/bibtex.el (bibtex-initialize):
2881 Use pop-to-buffer-same-window.
ff8be6ef
RW
2882 (bibtex-search-entries): Fix interactive call.
2883
296ba3ee
LMI
28842011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
2885
f5242a02 2886 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
2887 Fontise bytecomp Error lines more correctly (bug#2490).
2888 Fix suggested by Johan Bockgård.
f5242a02 2889
296ba3ee
LMI
2890 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
2891
2892 * dired-x.el (dired-guess-default): Use `delete-dups'.
2893
f69fd0d2
CY
28942011-07-12 Chong Yidong <cyd@stupidchicken.com>
2895
2896 * dired.el (dired-mark-prompt):
2897 * dired-aux.el (dired-read-shell-command): Doc fix.
2898
eab5dc07
LMI
28992011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2900
b796c9b7
SM
2901 * mail/sendmail.el (sendmail-query-once):
2902 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
2903 emacs -Q.
2904
2905 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
2906
eab5dc07
LMI
2907 * cus-edit.el (custom-file): Take an optional no-error variable.
2908 (customize-save-variable): Set the variable, and give a warning if
2909 running under "emacs -q".
2910
a1e65d42
JB
29112011-07-11 Juanma Barranquero <lekktu@gmail.com>
2912
2913 * loadhist.el (unload-feature-special-hooks):
2914 Add `auto-coding-functions', `fill-nobreak-predicate' and
2915 `find-directory-functions' (bug#5327).
2916
1d52da10
LMI
29172011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2918
be958f1d
LMI
2919 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
2920
5bedb26c
LMI
2921 * cus-edit.el (custom-guess-name-alist): -alist variables should
2922 use the `alist' type (bug#3120). Suggested by Drew Adams.
2923
1d52da10
LMI
2924 * printing.el: Add documentation to all the `pr-toggle-' commands.
2925
481a51b6
LL
29262011-07-11 Leo <sdl.web@gmail.com> (tiny change)
2927
2928 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
2929 backends where it makes sense (bug#2623).
2930
dcc88d8a
LMI
29312011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2932
c3de9feb
LMI
2933 * dired-x.el (dired-guess-default): Remove duplicate shell command
2934 entries (bug#2028).
8a93078b 2935 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 2936 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 2937
dcc88d8a
LMI
2938 * subr.el (remove-duplicates): New conveniency function.
2939
505e3645
LMI
29402011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2941
2942 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
2943 (bug#1526).
2944
29452011-07-10 Martin Rudalics <rudalics@gmx.at>
2946
2947 * window.el (display-buffer-normalize-default): Don't invert
2948 meaning of even-window-heights. Reported by Eli Zaretskii
2949 <eliz@gnu.org>.
2950
455e4fa1
BR
29512011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
2952
2953 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
2954
8e0bc3e9
CY
29552011-07-10 Chong Yidong <cyd@stupidchicken.com>
2956
2957 * window.el (display-buffer): Fix arguments to
2958 display-buffer-reuse-window in last change.
2959
fa7c3228
CY
2960 * faces.el (link): Use a less saturated blue on light backgrounds.
2961
2962 * startup.el (fancy-startup-text, fancy-about-text)
2963 (fancy-startup-tail): Use font-lock faces, for background safety.
2964
c0a7f300
BN
29652011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
2966
b796c9b7
SM
2967 * emulation/viper-cmd.el (viper-change-state-to-vi):
2968 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 2969
4dc2a129
MR
29702011-07-09 Martin Rudalics <rudalics@gmx.at>
2971
2972 * window.el (display-buffer-default-specifiers): Remove.
2973 (display-buffer-macro-specifiers): Remove default specifiers.
2974 (display-buffer-alist): Default to nil.
b796c9b7 2975 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
2976 (display-buffer-pop-up-window): Allow splitting internal
2977 windows. Check whether a live window was created.
2978 (display-buffer-other-window-means-other-frame)
2979 (display-buffer-normalize-arguments): Rename to
2980 display-buffer-normalize-argument and rewrite. Set the
2981 other-window specifier.
2982 (display-buffer-normalize-special): New function.
2983 (display-buffer-normalize-options): Rename to
2984 display-buffer-normalize-default and rewrite.
2985 (display-buffer-normalize-options-inhibit): Remove.
2986 (display-buffer-normalize-specifiers): Rewrite.
2987 (display-buffer): Process other-window specifier and call
2988 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
2989 more faithfully.
b796c9b7 2990 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 2991 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
2992 (display-buffer-in-window, display-buffer-alist-set):
2993 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
2994 <tassilo@member.fsf.org>.
2995
2d43b8c9
LL
29962011-07-09 Leo Liu <sdl.web@gmail.com>
2997
2998 * register.el (insert-register): Restore accidental change on
2999 2011-06-26. (Bug#9028)
3000
7f9b7c53
GM
30012011-07-09 Glenn Morris <rgm@gnu.org>
3002
3003 * subr.el (remq): Handle the empty list. (Bug#9024)
3004
f042cfd8
AS
30052011-07-08 Andreas Schwab <schwab@linux-m68k.org>
3006
3007 * mail/sendmail.el (send-mail-function): No longer delay custom
3008 initialization.
3009 * custom.el (custom-initialize-delay): Doc fix.
3010
856b2f11
SM
30112011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3012
3013 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
3014
afae1d68
MA
30152011-07-08 Michael Albinus <michael.albinus@gmx.de>
3016
3017 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
3018 human-friendly prompt.
3019
0757af94
SM
30202011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
3021
3022 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
3023 provided by a particular plugin.
3024
d760b731
LMI
30252011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
3026
3027 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
3028 save customizations (with "emacs -Q"), just set the variable
3029 instead of erroring out.
3030
3031 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
3032
cd79ce90
JL
30332011-07-08 Juri Linkov <juri@jurta.org>
3034
3035 * arc-mode.el (archive-zip-expunge, archive-zip-update)
3036 (archive-zip-update-case): Use 7z if found by `executable-find'.
3037 The order of searching the available programs is the same as in
3038 `archive-zip-extract' (bug#8968).
3039
14cc04aa
CY
30402011-07-07 Chong Yidong <cyd@stupidchicken.com>
3041
3042 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
3043 (menu-bar-options-menu): Tweak descriptions.
3044
0a1848ec
LMI
30452011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3046
3047 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
3048 menu items into verb phrases (bug#1421). Also refill to fit under
3049 80 columns.
3050
f5bd0689
CY
30512011-07-07 Chong Yidong <cyd@stupidchicken.com>
3052
538e85c6
CY
3053 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
3054 (Info-read-node-name): Doc fix (Bug#1084).
3055
f5bd0689
CY
3056 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
3057 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
3058 (end-of-sexp, beginning-of-sexp)
3059 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
3060 (forward-symbol, forward-same-syntax, word-at-point)
3061 (sentence-at-point): Doc fix (Bug#1144).
3062
56ec5115
LMI
30632011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3064
f3f8e37f
LMI
3065 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
3066 should cover it (bug#1281).
3067
0757af94 3068 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 3069
12b9eb35
LMI
3070 * net/network-stream.el (network-stream-open-starttls): If gnutls
3071 negotiation fails, then possibly try again with a non-encrypted
3072 connection (bug#9017).
3073
56ec5115
LMI
3074 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
3075 be used.
3076
c2f9aec8
RS
30772011-07-07 Richard Stallman <rms@gnu.org>
3078
3079 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
3080 property, and handle its changed format.
3081 Look for the correct line number.
3082 Use file's line contents (but not past first =) to find
3083 correct line in message.
3084
ef7b981d 30852011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
3086
3087 * international/characters.el (build-unicode-category-table):
3088 Delete it.
0757af94 3089 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 3090
0757af94 3091 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
3092 to src/chartab.c.
3093 (get-char-code-property): Call unicode-property-table-internal to
3094 load a file. Call get-unicode-property-internal where necessary.
3095 (put-char-code-property): Call unicode-property-table-internal to
3096 load a file. Call put-unicode-property-internal where necessary.
3097 put-unicode-property-internal where necessary.
0757af94
SM
3098 (char-code-property-description):
3099 Call unicode-property-table-internal to load a file.
c805dec0
KH
3100
3101 * international/charprop.el:
3102 * international/uni-bidi.el:
3103 * international/uni-category.el:
3104 * international/uni-combining.el:
3105 * international/uni-comment.el:
3106 * international/uni-decimal.el:
3107 * international/uni-decomposition.el:
3108 * international/uni-digit.el:
3109 * international/uni-lowercase.el:
3110 * international/uni-mirrored.el:
3111 * international/uni-name.el:
3112 * international/uni-numeric.el:
3113 * international/uni-old-name.el:
3114 * international/uni-titlecase.el:
3115 * international/uni-uppercase.el: Regenerate.
3116
3117 * loadup.el: Load international/charprop.el before
3118 international/characters.
3119
e14b388a
CY
31202011-07-07 Chong Yidong <cyd@stupidchicken.com>
3121
3122 * window.el (next-buffer, previous-buffer): Signal an error if
3123 called from a minibuffer window.
3124
3125 * bindings.el: Revert 2011-07-04 change.
3126
354cf0ba
RS
31272011-07-06 Richard Stallman <rms@gnu.org>
3128
3129 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
3130 (rmail-mime-insert-bulk, rmail-mime-insert-text):
3131 Treat markers like ints.
3132 (rmail-mime-entity): Doc fix.
3133
a48868a7
LMI
31342011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3135
4906cd3d
LMI
3136 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
3137 defcustom again for backwards compatibility.
3138
e0457abe
LMI
3139 * simple.el (shell-command-on-region): Fill.
3140
d67f7e1f
LMI
3141 * dired-aux.el (dired-kill-line): Add a doc string.
3142
fe204702
LMI
3143 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
3144 to "\\sw\\|\\s_" (bug#358).
3145
a48868a7
LMI
3146 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
3147 (dired-unmark-backward): Ditto.
3148 (dired-flag-backup-files): Ditto.
3149
3150 * dired-x.el (dired-mark-sexp): Ditto.
3151
aa8a705c
RS
31522011-07-06 Richard Stallman <rms@gnu.org>
3153
3154 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
3155 (rmail-mime-entity): New arg TRUNCATED.
3156 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
3157 New functions.
3158 (rmail-mime-save): Warn if entity is truncated.
3159 (rmail-mime-toggle-hidden): Likewise, for showing.
3160 (rmail-mime-process-multipart): Record when an entity is truncated.
3161
a9a936b9
RS
3162 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
3163 if ENTITY is a string.
3164
1f2b92cb
LMI
31652011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3166
f4f73198 3167 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
3168 of faces when `M-C-x'-ing their definitions (bug#8378).
3169 Also clean up the code slightly.
f4f73198 3170
12b16734
LMI
3171 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
3172 because that makes the colours go away.
3173
f0691d22
LMI
3174 * mail/sendmail.el (send-mail-function): Change the default to
3175 `sendmail-query-once'.
9e87df06 3176 (sendmail-query-once): Add an autoload cookie.
f0691d22 3177
1f2b92cb
LMI
3178 * net/network-stream.el (network-stream-open-starttls): Try using
3179 a plain connection even if the server offered STARTTLS, and we
3180 kinda wanted to use it, if Emacs doesn't have any STARTTLS
3181 capability. This should make smtpmail.el work in slightly more
3182 configurations.
3183
1cdd2a1b
MA
31842011-07-06 Michael Albinus <michael.albinus@gmx.de>
3185
3186 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
3187 New defun.
3188 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
3189
fbcc67e2
MM
31902011-07-06 Michael R. Mauger <mmaug@yahoo.com>
3191
3192 * progmodes/sql.el: Version 3.0
0757af94 3193 (sql-product-alist): Add product :completion-object,
fbcc67e2 3194 :completion-column, and :statement attributes.
0757af94 3195 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 3196 (sql-mode-syntax-table): Mark all punctuation.
0757af94 3197 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
3198 ansi keywords.
3199 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 3200 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
3201 (sql-oracle-show-reserved-words): New function for development.
3202 (sql-product-font-lock): Simplify for source code buffers.
3203 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
3204 New functions.
3205 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
3206 (sql-mode-map): Add statement movement functions.
3207 (sql-ansi-statement-starters, sql-oracle-statement-starters):
3208 New variable.
fbcc67e2
MM
3209 (sql-statement-regexp, sql-beginning-of-statement)
3210 (sql-end-of-statement, sql-signum): New functions.
0757af94 3211 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
3212 (sql-show-sqli-buffer): Bug fix.
3213 (sql-interactive-mode): Store connection data as buffer local.
0757af94 3214 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
3215 with sql-interactive-mode.
3216 (sql-save-connection): Save buffer local settings.
0757af94 3217 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
3218 (sql-product-interactive): Bug fix.
3219 (sql-preoutput-hold): New variable.
3220 (sql-interactive-remove-continuation-prompt): Bug fixes.
3221 (sql-debug-redirect): New variable.
3222 (sql-str-literal): New function.
3223 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 3224 Redesign.
fbcc67e2
MM
3225 (sql-oracle-save-settings, sql-oracle-restore-settings)
3226 (sql-oracle-list-all, sql-oracle-list-table): New functions.
3227 (sql-completion-object, sql-completion-column)
3228 (sql-completion-sqlbuf): New variables.
3229 (sql-build-completions-1, sql-build-completions)
3230 (sql-try-completion): New functions.
3231 (sql-read-table-name): Use them.
3232 (sql-contains-names): New buffer local variable.
3233 (sql-list-all, sql-list-table): Use it.
3234 (sql-oracle-completion-types): New variable.
3235 (sql-oracle-completion-object, sql-sqlite-completion-object)
3236 (sql-postgres-completion-object): New functions.
3237
d4eaeab1
GM
32382011-07-06 Glenn Morris <rgm@gnu.org>
3239
3240 * window.el (pop-to-buffer): Doc fix.
3241
322b7dab 32422011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
3243
3244 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
3245
322b7dab 32462011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 3247
322b7dab 3248 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 3249
322b7dab 3250 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 3251
605dd5bf
CY
32522011-07-05 Chong Yidong <cyd@stupidchicken.com>
3253
3254 * button.el (button): Inherit from link face. Suggested by Dan
3255 Nicolaescu.
3256
7dbfa719
SM
32572011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3258
3db614b0
SM
3259 * progmodes/gdb-mi.el: Fit in 80 columns.
3260 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
3261 switch-to-buffer.
3262
7dbfa719
SM
3263 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
3264 if imenu is simply not configured (bug#8941).
3265
919d884a
KM
32662011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
3267
3268 * allout.el (allout-post-undo-hook): New allout outline-change
3269 event hook to signal undo activity.
3270 (allout-post-command-business): Run allout-post-undo-hook if an
3271 undo just occurred.
7dbfa719
SM
3272 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
3273 * allout-widgets.el (allout-widgets-after-undo-function):
3274 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
3275 in the vicinity of an undo.
3276 (allout-widgets-mode): Include allout-widgets-after-undo-function
3277 on the new allout-post-undo-hook.
3278
450a0f09
SM
32792011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3280
3281 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
3282 Let define-derived-mode define it.
3283 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
3284 cycles of abbrev-table inheritance (bug#8998).
3285
2de69e00
RW
32862011-07-05 Roland Winkler <winkler@gnu.org>
3287
3288 * textmodes/bibtex.el: Add support for biblatex.
3289 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
3290 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
3291 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
3292 (bibtex-entry-alist, bibtex-field-alist): New variables.
3293 (bibtex-entry-field-alist): Obsolete alias for
3294 bibtex-BibTeX-entry-alist.
3295 (bibtex-entry-alist, bibtex-field-alist): New widgets.
3296 (bibtex-set-dialect): New command.
3297 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
3298 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
3299 Bind via bibtex-set-dialect.
2de69e00
RW
3300 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
3301 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
3302 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
3303 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
3304 Define via bibtex-set-dialect.
450a0f09
SM
3305 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
3306 Obey bibtex-no-opt-remove-re.
2de69e00
RW
3307 (bibtex-vec-push, bibtex-vec-incr): New functions.
3308 (bibtex-format-entry, bibtex-field-list)
3309 (bibtex-print-help-message, bibtex-validate)
3310 (bibtex-search-entries): Use new format of bibtex-entry-alist.
3311
2dcdbdd9
SM
33122011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * progmodes/compile.el (compilation-goto-locus):
3315 * net/tramp-cmds.el (tramp-append-tramp-buffers):
3316 * bs.el (bs-cycle-next, bs-cycle-previous):
3317 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
3318 * bindings.el (mode-line-other-buffer):
3319 * autoinsert.el (auto-insert):
3320 * arc-mode.el (archive-extract):
3321 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
3322
b27640fe
JB
33232011-07-05 Juanma Barranquero <lekktu@gmail.com>
3324
3325 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
3326 Fix check of `emacs-lock-unlockable-modes'.
3327 Coerce true values of `emacs-lock--try-unlocking' to t.
3328
53bbe3ad
JB
33292011-07-05 Juanma Barranquero <lekktu@gmail.com>
3330
3331 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
3332 * emacs-lock.el: New file.
3333
1d3cdbc7
JD
33342011-07-05 Julien Danjou <julien@danjou.info>
3335
3336 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
3337 than `boundp' to check if face is set.
3338
9173deec
JB
33392011-07-05 Juanma Barranquero <lekktu@gmail.com>
3340
3341 * register.el (registerv-make):
3342 * window.el (window-min-height): Fix typos in docstrings.
3343
869795d6
JD
33442011-07-05 Jan Djärv <jan.h.d@swipnet.se>
3345
9173deec 3346 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
3347 Update doc string.
3348
b768cdcd
JB
33492011-07-04 Juanma Barranquero <lekktu@gmail.com>
3350
3351 * server.el (server-execute): Catch quit and call
3352 `server-return-error' to pass the error back to emacsclient and
3353 close the connection (bug#8942).
3354
13aa217b
KM
33552011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
3356
3357 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
3358 insecure exception for current topic. Also note that auto-saves
3359 are handled differently.
3360
3361 (allout-auto-save-temporarily-disabled), (allout-just-did-undo):
3362 State variables for tracking auto-save inhibition situation.
3363
3364 (allout-write-contents-hook-handler): Rename from
3365 'allout-write-file-hook-handler', and describe how it depends on
3366 write-contents-functions sensitivity to non-nil value to prevent
3367 file write.
3368
3369 (allout-auto-save-hook-handler): Remove. auto-save does not check
3370 this in individual buffers, only in the starting buffer, so this
3371 is not the right way for us to inhibit auto-save in a buffer
3372 according to its condition.
3373
3374 (allout-mode): Use new allout-write-contents-hook-handler, and
3375 only with write-contents-functions. Remove auto-save provisions -
3376 they're implemented elsewhere.
3377
3378 (allout-before-change-handler): If undo is in progress, note that
3379 for attention of allout-post-command-business.
3380
3381 (allout-post-command-business): If the command we're following was
3382 an undo, check for change in the status of encrypted items and
3383 adjust auto-save inhibitions accordingly.
3384
3385 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
3386 according to whether there are or aren't any plain-text topics
3387 pending encryption.
3388
2dcdbdd9
SM
3389 (allout-inhibit-auto-save-info-for-decryption):
3390 Adjust buffer-saved-size and some allout state to inhibit auto-saves if
13aa217b
KM
3391 there are plain-text topics pending encryption.
3392
3393 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
3394 buffer-saved-size and some allout state to not inhibit auto-saves
3395 if there are no longer any plain-text topics pending encryption.
3396
0757af94
SM
3397 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
3398 No longer provide for exemption of the current topic.
13aa217b 3399
ac89b32c
JL
34002011-07-04 Juri Linkov <juri@jurta.org>
3401
3402 Add 7z operations to delete and save changed members (bug#8968).
3403 * arc-mode.el (archive-7z-expunge, archive-7z-update):
3404 New defcustoms.
3405 (archive-7z-write-file-member): New function.
3406 (archive-7z-summarize): Fix the number of dashes in the
3407 listing output.
3408
8fa39615
SM
34092011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3410
3411 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
3412 (bug#8958).
3413
2f11b3f1
CY
34142011-07-04 Chong Yidong <cyd@stupidchicken.com>
3415
d66fef2b
CY
3416 * bindings.el: Ignore next-buffer and previous-buffer in
3417 minibuffer-local-map.
3418
2f11b3f1
CY
3419 * font-lock.el (font-lock-builtin-face): Change light background
3420 color to dark slate blue (Bug#6693).
3421
f932a347
WD
34222011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
3423
3424 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
3425
c8af70e1
SM
34262011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
3429 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3430 Add switch-to-buffer.
3431
f158badc
LMI
34322011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3433
3434 * isearch.el (isearch-search-fun-function): Clarify further the
3435 meaning of the function returned.
3436
6d95bd46
MA
34372011-07-04 Michael Albinus <michael.albinus@gmx.de>
3438
3439 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
3440
3441 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
3442 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
3443 Use it.
3444 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
3445 `tramp-default-remote-path' does not exist.
3446 (tramp-send-command-and-read): New optional argument NOERROR.
3447 (tramp-open-connection-setup-interactive-shell)
3448 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
3449 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
3450 (tramp-process-sentinel): Flush also process' connection property.
3451 (tramp-sh-handle-start-file-process): Do not set process
3452 sentinel. It is done now ...
3453 (tramp-maybe-open-connection): ... here. (Bug#8929)
3454
909e6b67
MK
34552011-07-04 MON KEY <monkey@sandpframing.com>
3456
3457 * play/animate.el (animate-string): Doc fixes and allow changing
3458 the buffer name (bug#5417).
3459
34602011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3461
c8af70e1 3462 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 3463
f34755dc
PE
34642011-07-04 Paul Eggert <eggert@cs.ucla.edu>
3465
396cec72
PE
3466 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
3467 This is simpler and helps future-proof the code.
3468 (timer-until): Use time-subtract and float-time.
08235028 3469 (timer--time-less-p): Use time-less-p.
f34755dc 3470
56e6cc31
JB
34712011-07-04 Juanma Barranquero <lekktu@gmail.com>
3472
3abb79e5
JB
3473 * type-break.el (timep): Use the value of `float-time' to avoid a
3474 byte-compiler warning.
3475
56e6cc31
JB
3476 * server.el (server-eval-and-print): Return any result, even nil.
3477
7b9430b4
PE
34782011-07-03 Paul Eggert <eggert@cs.ucla.edu>
3479
3480 * type-break.el: Accept time formats that the builtins accept.
3481 (timep, type-break-time-difference): Accept any format that
3482 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
3483 This is simpler and helps future-proof the code.
3484 (type-break-time-difference): Round rather than ignoring
3485 subseconds components.
3486
3034e9e7
LMI
34872011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3488
3489 * info.el (Info-apropos-matches): Make non-interactive, since it
3490 doesn't seem to do anything useful as a command (bug#8829).
3491
1485f4c0
CY
34922011-07-03 Chong Yidong <cyd@stupidchicken.com>
3493
3494 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 3495 Move from faces.el.
1485f4c0
CY
3496 (frame-default-terminal-background): New function.
3497
3498 * custom.el (custom-push-theme): Don't record faces in `changed'
3499 theme; this doesn't work correctly for per-frame face settings.
3500 (disable-theme): Use face-set-after-frame-default to reset faces.
3501 (custom--frame-color-default): New function.
3502
9fa3dd45
LMI
35032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3504
c8af70e1 3505 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
3506 (bug#8769).
3507
6cbbc20c
KR
35082011-03-29 Kevin Ryde <user42@zip.com.au>
3509
3510 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3511 `perl-Test2' extend to match possible "fail #N" rep count
3512 (bug#8377).
3513
c7f98048
LMI
35142011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3515
65676592
LMI
3516 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
3517 `smtpmail-via-smtp' now returns the error instead of nil.
3518
c7f98048
LMI
3519 * isearch.el (isearch-search-fun-function): Clarify the doc string
3520 (bug#8101).
3521
56e6cc31 35222011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
3523
3524 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
3525 unnecessary spaces (bug#8987).
3526
2b216704
LMI
35272011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3528
3529 * net/network-stream.el (open-network-stream): Use the
3530 :end-of-capability command thoughout.
3531
35322011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3533
3534 * net/network-stream.el (open-network-stream): Add the
3535 :end-of-capability command parameter, used by pop3.el.
3536
36adf6ce
LMI
35372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
3538
1ca0da0e
LMI
3539 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
3540
fc00f69c
LMI
3541 * fringe.el (fringe-query-style): Remove redundant text " (type ?
3542 for list)" (bug#6475).
3543
28fd8759
LMI
3544 * files.el (file-expand-wildcards): Ignore non-readable
3545 sub-directories while trying to find matches instead of signalling
3546 an error (bug#6297).
3547
0dd8b6da
LMI
3548 * man.el (Man-reference-regexp): Allow matching possible
3549 word-wrapped references (bug#6289).
3550
ce1438d6
LMI
3551 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
3552 for consistency with the other vc buffers (bug#6197).
3553 (vc-checkin): Ditto.
3554
3555 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
3556
36adf6ce
LMI
3557 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
3558
e83cc1f7
LMI
35592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3560
8a20ca4c
LMI
3561 * custom.el (defcustom): Clarify that :set is only used in the
3562 Customize user interface (bug#6089).
3563
83319045
LMI
3564 * progmodes/flymake.el (flymake-mode): If the buffer isn't
3565 associated with a file, refuse to run instead of erroring out
3566 (bug#6084).
3567
a8392169
LMI
3568 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
3569 the doc string, since it appears that using `fill-column' always
3570 controls the width (bug#7845).
3571
e83cc1f7
LMI
3572 * simple.el (shell-command-on-region): Say where the error output
3573 went if `shell-command-default-error-buffer' is set (bug#6857).
3574
e47ca23b
KM
35752011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
3576
3577 * allout.el (allout-yank-processing): Adjust cursor position for
3578 backwards-deleted space.
3579
3580 (allout-rebullet-heading): Register changes with
3581 allout-exposure-changed-hook, so the modified topic is properly
3582 decorated.
3583
5cf56143
LMI
35842011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3585
08549772
LMI
3586 * minibuffer.el (completion-in-region): Document PREDICATE
3587 (bug#7136).
3588
48e96771
LMI
3589 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
3590 of keyword/argument pairs (bug#6904).
3591
c8af70e1
SM
3592 * replace.el (multi-occur):
3593 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 3594
e17d05e2
LMI
35952011-07-02 Drew Adams <drew.adams@oracle.com>
3596
3597 * dired.el (dired-mark-if): Make the message about whether it's
3598 marking or unmarking clearer (bug#8523).
3599
063b0e45
LMI
36002011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
3601
3602 * disp-table.el (display-table-print-array): New function.
3603 (describe-display-table): Use it to print the vectors more pretty
3604 (Bug#8859).
3605
28545e04
MR
36062011-07-02 Martin Rudalics <rudalics@gmx.at>
3607
3608 * window.el (window-state-get-1): Don't assign clone numbers.
3609 Add clone-of item to list of window parameters.
3610 (window-state-put-2): Don't process clone numbers.
3611 (display-buffer-alist): Fix doc-string.
3612
3349e122
SM
36132011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
3614
3615 * subr.el (remq): Don't allocate if it's not needed.
3616 (keymap--menu-item-binding, keymap--menu-item-with-binding)
3617 (keymap--merge-bindings): New functions.
3618 (keymap-canonicalize): Use them to refine the canonicalization.
3619 * minibuffer.el (minibuffer-local-completion-map)
3620 (minibuffer-local-must-match-map): Move initialization from C.
3621 (minibuffer-local-filename-completion-map): Move initialization from C;
3622 don't inherit from anything here.
3623 (minibuffer-local-filename-must-match-map): Make obsolete.
3624 (completing-read-default): Use make-composed-keymap to combine
3625 minibuffer-local-filename-completion-map with either
3626 minibuffer-local-must-match-map or
3627 minibuffer-local-filename-completion-map.
3628
d224ac83
GM
36292011-07-01 Glenn Morris <rgm@gnu.org>
3630
3de63bf8
GM
3631 * type-break.el (type-break-time-sum): Use dolist.
3632
d224ac83
GM
3633 * textmodes/flyspell.el (flyspell-word-search-backward):
3634 Replace CL function.
3635
1a1e3f32
SM
36362011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3637
fe3f64d5
SM
3638 * mouse.el (mouse--strip-first-event): New function.
3639 (function-key-map): Use it to map fringe clicks to normal clicks
3640 by default.
3641
eb604e34
SM
3642 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
3643 (vc-bzr-revision-completion-table): Add support for annotate and date.
3644
1a1e3f32
SM
3645 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
3646 inherit from parent.
3647
5bd35902
LMI
36482011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3649
ace6c69c 3650 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 3651 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 3652
191e2bed
LMI
3653 * dired.el (dired-mode): Fix up the doc string as suggested by
3654 Drew Adams (bug#8817).
3655
5bd35902
LMI
3656 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
3657 cookie, since the manual says that it should be possible to add
3658 this function to `find-file-hook' (bug#8709).
3659
eee8207a
TZ
36602011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3661
3662 * progmodes/cfengine.el: Moved all cfengine3.el functionality
3663 here. Noted Ted Zlatanov as the maintainer.
3664 (cfengine-common-settings, cfengine-common-syntax): New functions
3665 to set up common things between `cfengine-mode' and
3666 `cfengine3-mode'.
3667 (cfengine3-mode): New mode.
3668 (cfengine3-defuns cfengine3-defuns-regex
3669 (cfengine3-class-selector-regex cfengine3-category-regex)
3670 (cfengine3-vartypes cfengine3-font-lock-keywords)
3671 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 3672 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 3673
36b148cf
MA
36742011-07-01 Michael Albinus <michael.albinus@gmx.de>
3675
3676 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
3677
3678 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
3679
0bf4ba9a
MR
36802011-07-01 Martin Rudalics <rudalics@gmx.at>
3681
3682 * window.el (same-window-buffer-names, same-window-regexps)
3683 (same-window-p, special-display-frame-alist)
3684 (special-display-popup-frame, special-display-function)
3685 (special-display-buffer-names, special-display-regexps)
3686 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
3687 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
3688 (split-window-preferred-function, split-height-threshold)
3689 (split-width-threshold, even-window-heights)
3690 (display-buffer-mark-dedicated, window-splittable-p)
3691 (split-window-sensibly, window-safely-shrinkable-p):
3692 Un-obsolete.
3693 (display-buffer): Don't spread args with function specifier
3694 because special-display-popup-frame won't like it.
3695
35837f51
PE
36962011-07-01 Paul Eggert <eggert@cs.ucla.edu>
3697
d0672f86
PE
3698 Time-stamp simplifications and fixes.
3699 These improve accuracy slightly, and future-proof the code
3700 against some potential changes to current-time format.
3701
b9444d97
PE
3702 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
3703 by using time-since and float-time.
3704
0ef923dc
PE
3705 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
3706 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
3707 + NNN microseconds".
3708
2f81380d
PE
3709 * type-break.el (type-break-time-sum): Rewrite using time-add.
3710
845b5c3e
PE
3711 * play/hanoi.el (hanoi-current-time-float): Remove.
3712 All uses replaced by float-time.
3713
ee6f1be0
PE
3714 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
3715 This yields a more-accurate answer.
3716 (rng-time-to-float): Remove; no longer needed.
3717
fe955043
PE
3718 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
3719
5777162a
PE
3720 * calendar/timeclock.el (timeclock-seconds-to-time):
3721 Defalias to seconds-to-time, since they're the same thing.
3722
3103f8b6 3723 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 3724 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
3725 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
3726
0e61a35f
SM
37272011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3728
3729 * window.el (bury-buffer): Don't iconify the only frame.
3730 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
3731 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
3732
ddd63a1e
CY
37332011-07-01 Chong Yidong <cyd@stupidchicken.com>
3734
0e61a35f
SM
3735 * eshell/em-smart.el (eshell-smart-display-navigate-list):
3736 Add mouse-yank-primary.
ddd63a1e 3737
055f4923
TZ
37382011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
3739
3740 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
3741
6a2fb145
SM
37422011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
3743
3744 * emacs-lisp/find-func.el (find-library--load-name): New fun.
3745 (find-library-name): Use it to find relative load names when provided
3746 absolute file name (bug#8803).
3747
fd4983f2
LMI
37482011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3749
887d14ad
LMI
3750 * textmodes/flyspell.el (flyspell-word): Consider words that
3751 differ only in case as potential doublons (bug#5687).
3752
c53dc7fc
LMI
3753 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
3754 Remove two rather uninteresting debugging-like messages to make
3755 debbugs.el more silent.
3756
fd4983f2
LMI
3757 * comint.el (comint-password-prompt-regexp): Accept "Response" as
3758 a password-like phrase.
3759
b14c0c55
AM
37602011-06-30 Mastake YAMATO <yamato@redhat.com>
3761
3762 * progmodes/cc-guess.el: New file.
3763
6a2fb145 3764 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
3765
3766 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
3767 derived from `c-basic-common-init'.
3768
3769 * progmodes/cc-mode.el (top-level): Require cc-guess.
3770 (c-basic-common-init): Use `cc-choose-style-for-mode'.
3771
1fa280a3
LM
37722011-06-30 Lawrence Mitchell <wence@gmx.li>
3773
3774 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
3775
e6597158
AM
37762011-06-30 Alan Mackenzie <acm@muc.de>
3777
1fa280a3
LM
3778 * progmodes/cc-engine.el (c-guess-continued-construct):
3779 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
3780 lock is disabled. Name this case as "CASE G".
3781
68ba37fb
KM
37822011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
3783
3784 * allout.el (allout-yank-processing): Fix injection of extra space
3785 between bullet and non-whitespace character in first topic when
3786 pasting, ensuring that the actual spacing in the pasted topic
3787 following the bullet char is preserved. This extra space was
3788 causing pasted encrypted topics to get a decrypted status even
3789 when the content was actually still encrypted. Now the decryption
3790 status from before the paste is preserved.
3791
3792 (allout-flag-region): Set all allout overlays so they evaporate
3793 when reduced to zero length (evanescent), to prevent overlay
3794 leakage.
3795
887a0b34
GM
37962011-06-30 Glenn Morris <rgm@gnu.org>
3797
94b9acce
GM
3798 * w32-fns.el (w32-charset-info-alist): Declare.
3799
1d9b46d4
GM
3800 * find-dired.el (find-grep-options): Simplify.
3801
cc232200
GM
3802 * term/ns-win.el (ns-set-resource): Declare.
3803
28e77c46
GM
3804 * ses.el (row, col): Declare dynamic variables honestly.
3805
887a0b34
GM
3806 * textmodes/reftex-parse.el (index-tags): Declare.
3807
658d8eb8
CY
38082011-06-30 Chong Yidong <cyd@stupidchicken.com>
3809
3810 * cus-edit.el (customize-push-and-save): New function.
3811
3812 * files.el (hack-local-variables-confirm): Use it.
3813
1fa280a3
LM
3814 * custom.el (load-theme): New arg NO-CONFIRM.
3815 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
3816 (custom-enabled-themes): Doc fix.
3817
3818 * cus-theme.el (customize-create-theme)
3819 (custom-theme-merge-theme): Callers to load-theme changed.
3820
bb617717
LMI
38212011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3822
d61bdd5d
LMI
3823 * thingatpt.el (thing-at-point-short-url-regexp): Require that
3824 short URLs have at least one dot in them (bug #7614).
3825
bb617717
LMI
3826 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
3827 nil, because using a pty is apparently too slow (bug #895).
3828
2f31f37a
LMI
38292011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
3830
3831 * mail/sendmail.el (sendmail-query-once): New function.
3832 (sendmail-query-once-function): New variable.
3833
3076b24e
GM
38342011-06-29 Glenn Morris <rgm@gnu.org>
3835
faf2a174
GM
3836 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
3837
3076b24e
GM
3838 * ses.el (top-level): Require cl when compiling.
3839 (ses-set-localvars): Fix error statement.
3840 Call it at compile time to silence a storm of warnings.
3841
5386012d
MR
38422011-06-29 Martin Rudalics <rudalics@gmx.at>
3843
3844 * window.el (normalize-live-buffer): Rename to
3845 window-normalize-buffer.
3846 (normalize-live-frame): Rename to window-normalize-frame.
3847 (normalize-any-window): Rename to window-normalize-any-window.
3848 (normalize-live-window): Rename to window-normalize-live-window.
3849 (make-window-atom): Rename to window-make-atom.
3850 (window-resize-reset): Rename to window--resize-reset.
3851 (window-resize-reset-1): Rename to window--resize-reset-1.
3852 (resize-mini-window): Rename to window--resize-mini-window.
3853 (resize-subwindows-skip-p): Rename to
3854 window--resize-subwindows-skip-p.
3855 (resize-subwindows-normal): Rename to
3856 window--resize-subwindows-normal.
3857 (resize-subwindows): Rename to window--resize-subwindows.
3858 (resize-other-windows): Rename to window--resize-siblings.
3859 (resize-this-window): Rename to window--resize-this-window.
3860 (resize-root-window): Rename to window--resize-root-window.
3861 (resize-root-window-vertically): Rename to
3862 window--resize-root-window-vertically.
3863 (normalize-buffer-to-display): Rename to
3864 window-normalize-buffer-to-display.
3865 (normalize-buffer-to-switch-to): Rename to
3866 window-normalize-buffer-to-switch-to.
3867 Correspondingly update all callers of the functions listed
3868 above.
3869 (display-buffer-alist, display-buffer-normalize-arguments)
3870 (display-buffer-normalize-options, display-buffer)
3871 (display-buffer-alist-set): Use "function" instead of
3872 "fun-with-args".
3873
1176868d
CY
38742011-06-28 Chong Yidong <cyd@stupidchicken.com>
3875
3876 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
3877 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
3878 debbugs.gnu.org. Mention acknowledgment email.
3879
20a7a65f
LMI
38802011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
3881
3882 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
3883 buffer multibyteness, since it shouldn't matter.
3884
5f45cca5
MR
38852011-06-28 Martin Rudalics <rudalics@gmx.at>
3886
3887 * window.el (display-buffer-in-side-window): Handle dedicated
3888 windows as in display-buffer-reuse-window.
3889 (display-buffer-normalize-alist): Use value of override
3890 specifier.
3891 (display-buffer-normalize-specifiers): Use value of
3892 other-window-means-other-frame specifier.
3893 (display-buffer-alist): Rewrite some texts in widgets.
3894 (display-buffer): Spread arguments when calling function
3895 specified by fun-with-args.
3896
ad85fe1f
DD
38972011-06-28 Deniz Dogan <deniz@dogan.se>
3898
1fa280a3
LM
3899 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
3900 Unnest `let'.
da68c4c8 3901
ad85fe1f
DD
3902 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
3903 selectors (Bug#5732).
ec49bd31 3904 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 3905
a08cc025
JA
39062011-06-27 Jari Aalto <jari.aalto@cante.net>
3907
3908 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
3909 (eshell-ls-date-format): New defcustom.
3910 (eshell-ls-file): Use it.
3911
e2b551c5
SM
39122011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
3913
3914 * help-fns.el (describe-variable): Fix message for terminal-local vars.
3915
8982b231
KY
39162011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
3917
3918 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
3919 (ange-ftp-make-tmp-name): New arg.
3920 (ange-ftp-file-local-copy): Use it.
3921
36c9fa27
J
39222011-06-27 Jambunathan K <kjambunathan@gmail.com>
3923
3924 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
3925 no-conversion (Bug#8870).
3926
d68443dc
MR
39272011-06-27 Martin Rudalics <rudalics@gmx.at>
3928
3929 * window.el (window-right, window-left, window-child)
3930 (window-child-count, window-last-child)
3931 (window-iso-combination-p, walk-window-tree-1)
3932 (window-atom-check-1, window-tree-1, delete-window)
3933 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
3934 new naming conventions - window-vchild, window-hchild,
3935 window-next and window-prev are now called window-top-child,
3936 window-left-child, window-next-sibling and window-prev-sibling
3937 respectively.
d615d6d2
MR
3938 (resize-window-reset): Rename to window-resize-reset.
3939 (resize-window-reset-1): Rename to window-resize-reset-1.
3940 (resize-window): Rename to window-resize.
3941 (window-min-height, window-min-width)
3942 (resize-mini-window, resize-this-window, resize-root-window)
3943 (resize-root-window-vertically, adjust-window-trailing-edge)
3944 (enlarge-window, shrink-window, maximize-window)
3945 (minimize-window, delete-window, quit-restore-window)
3946 (split-window, balance-windows, balance-windows-area-adjust)
3947 (balance-windows-area, window-state-put-2)
3948 (display-buffer-even-window-sizes, display-buffer-set-height)
3949 (display-buffer-set-width, set-window-text-height)
3950 (fit-window-to-buffer): Rename all "resize-window" prefixed
3951 calls to use the "window-resize" prefix convention.
3952 (display-buffer-alist): Fix symbol for label specifier.
3953 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
3954 corresponding specifier.
3955 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 3956
b6458526
VB
39572011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3958
3959 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
3960 convention.
3961 (ses-call-printer): Does not pass an empty string to formatter when the
3962 cell is empty to keep from barking printer Calc math-format-value.
3963
d31fd9ac
RS
39642011-06-27 Richard Stallman <rms@gnu.org>
3965
43d5bf84
RS
3966 * battery.el (battery-mode-line-limit): New variable.
3967 (battery-update): Handle it.
3968
d31fd9ac
RS
3969 * mail/rmailmm.el (rmail-mime-process-multipart):
3970 Handle truncated messages.
3971
819a6054
GM
39722011-06-27 Glenn Morris <rgm@gnu.org>
3973
3974 * progmodes/flymake.el (flymake-err-line-patterns):
3975 Allow for column numbers in the ant/javac pattern. (Bug#8866)
3976
cedc73f2
VB
39772011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
3978
819a6054 3979 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
3980 (ses--clean-!, ses--clean-_): New functions.
3981 (ses-range): Add configurability of readout order, and conversion
3982 to Calc vector.
3983
5e5d49b6
VB
3984 * ses.el (ses-repair-cell-reference-all): New function.
3985 (ses-cell-symbol): Set macro as safe, so that it can be used in
3986 formulas.
3987
56e6cc31 3988 * ses.el: Update cycle detection algorithm.
90ca8b49 3989 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 3990 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
3991 (ses-set-localvars): New function.
3992 (ses-make-cell): Add property-list as a cell element.
3993 (ses-cell-property-get-fun, ses-cell-property-get)
3994 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
3995 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
3996 New functions.
90ca8b49
VB
3997 (ses-cell-property-set, ses-cell-property-pop)
3998 (ses-cell-property-get-handle): New macro.
3999 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
4000 New aliases, used for code readability.
4001 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
4002 cycle detection.
4003 (ses-self-reference-early-detection): New defcustom.
4004 (ses-formula-references): Robustify against self-refering cells.
4005 (ses-mode): Use ses-set-localvars.
4006 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
4007 before lauching the update processing.
4008 (ses-initialize-Dijkstra-attempt): New function.
4009 (ses-recalculate-cell): Update for cycle detection based on
4010 Dijkstra algorithm.
4011
2bb63e81
VB
4012 * ses.el: Fix commenting and indenting convention.
4013
c9d29fb8
SM
40142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * bs.el (bs-cycle-next): Complete last change.
4017
d8e4b68b
JB
40182011-06-27 Drew Adams <drew.adams@oracle.com>
4019
4020 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
4021
40098786
LMI
40222011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4023
c9d29fb8
SM
4024 * net/network-stream.el (network-stream-open-starttls):
4025 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
4026 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
4027
40098786
LMI
4028 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
4029 to binary to possibly avoid line encoding issues on Windows (among
4030 other things).
4031
468d09d4
LMI
40322011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4033
4034 * net/network-stream.el (open-network-stream): Return an :error
4035 saying what the problem was, if possible.
4036
4037 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
4038 server.
4039
4040 * net/network-stream.el (network-stream-open-starttls): If we
4041 wanted to use STARTTLS, and the server offered it, but we weren't
4042 able to because we had no STARTTLS support, then close the connection.
4043 (open-network-stream): Return an :error element, if present.
4044
16f07dd7
CY
40452011-06-26 Chong Yidong <cyd@stupidchicken.com>
4046
88821ca0
CY
4047 * hl-line.el (hl-line-sticky-flag): Doc fix.
4048 (global-hl-line-sticky-flag): New option (Bug#8323).
4049 (global-hl-line-highlight): Obey it.
4050
16f07dd7
CY
4051 * vc/vc.el (vc-revert-show-diff): Default to t.
4052
6b5ccddf
KM
40532011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
4054
c9d29fb8
SM
4055 * allout-widgets.el (allout-widgets-post-command-business):
4056 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
4057 undecorated when an isearch is continued past, and isearch
4058 automatically collapses them. This leads to "widget leaks", where
4059 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
4060 hidden widgets can slow down cursor travel, substantially.
4061 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
4062 so we're doing without this nicety.
4063
4064 (allout-widgets-tally-string): Don't try to do a hash-table-count
4065 of allout-widgets-tally when it's nil. This eliminates spurious "Error
4066 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
4067 *Messages* when allout-widgets-maintain-tally is t.
4068
355f2e07
MR
40692011-06-26 Martin Rudalics <rudalics@gmx.at>
4070
4071 * window.el (display-buffer-normalize-argument): Rename to
4072 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
4073 LABEL argument. Respect special-display-function when popping up
4074 a new frame. Fix code searching for a window showing the buffer
4075 on another frame.
c9d29fb8
SM
4076 (display-buffer-normalize-specifiers):
4077 Call display-buffer-normalize-arguments.
355f2e07
MR
4078 (display-buffer-in-window): Don't undedicate the window if its
4079 buffer remains the same.
4080 Reported by Drew Adams <drew.adams@oracle.com>.
4081 (display-buffer-alist): Add choice for same-window macro
4082 specfier.
4083 (display-buffer): Mention special meaning of LABEL argument in
4084 doc-string. Fix quoting. Don't pop up a new frame even as
4085 fallback.
4086
7ca8fc42
JB
40872011-06-26 Juanma Barranquero <lekktu@gmail.com>
4088
4089 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
4090 avoid deleting the current window in some cases (bug#8911).
4091
bc312254
AS
40922011-06-26 Andreas Schwab <schwab@linux-m68k.org>
4093
4094 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
4095 (Bug#8934)
4096
2db18f3f
LMI
40972011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4098
c9d29fb8
SM
4099 * net/network-stream.el (network-stream-open-starttls):
4100 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
4101 (network-stream-open-tls): Ditto.
4102
6302e0d3
LL
41032011-06-26 Leo Liu <sdl.web@gmail.com>
4104
4105 * register.el (registerv): New struct.
4106 (registerv-make): New function.
c9d29fb8
SM
4107 (jump-to-register, describe-register-1, insert-register):
4108 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
4109 struct. (Bug#8415)
4110
5fdd4046
CY
41112011-06-26 Chong Yidong <cyd@stupidchicken.com>
4112
2afef60a
CY
4113 * vc/vc.el (vc-revert-show-diff): New defcustom.
4114 (vc-diff-internal): New arg specifying diff buffer.
4115 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
4116 reuse an existing *vc-diff* buffer (Bug#8927).
4117
5fdd4046
CY
4118 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
4119
e93db24a
GM
41202011-06-26 Glenn Morris <rgm@gnu.org>
4121
4122 * progmodes/f90.el (f90-critical-indent): New option.
4123 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
4124 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
4125 (f90-mode): Doc fix.
4126 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
4127 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
4128 (f90-beginning-of-block, f90-next-block, f90-indent-region)
4129 (f90-match-end): Handle block, critical.
4130
eefff499
GM
41312011-06-25 Glenn Morris <rgm@gnu.org>
4132
f6ba4cc9
GM
4133 * calendar/diary-lib.el (diary-included-files): Doc fix.
4134 (diary-include-files): New function, extracted from
4135 diary-include-other-diary-files and diary-mark-included-diary-files.
4136 (diary-include-other-diary-files, diary-mark-included-diary-files):
4137 Just call diary-include-files.
4138 (diary-mark-entries): Reset diary-included-files on first call.
4139
16712304
GM
4140 * calendar/diary-lib.el (diary-mark-entries)
4141 (diary-mark-included-diary-files):
4142 Visit included diary-files in temp buffers.
4143
5d8e0d43
GM
4144 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
4145 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
4146 (f90-start-block-re, f90-imenu-generic-expression)
4147 (f90-looking-at-program-block-start, f90-no-block-limit):
4148 Add support for submodules.
4149
ccf7a5d5
GM
4150 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
4151 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 4152
11fdef7d 41532011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
4154
4155 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
4156 buffer-file-type before setting its value, to avoid disastrous
eefff499 4157 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 4158
74f53697
JB
41592011-06-25 Juanma Barranquero <lekktu@gmail.com>
4160
4161 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
4162
4163 * ses.el (ses-unload-function):
4164 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
4165
4166 * proced.el (proced-unload-function):
4167 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
4168
18a4ce5e
AR
41692011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
4170
4171 * server.el (server-create-window-system-frame): Add parameters arg.
4172 (server-process-filter): Doc fix. Handle frame-parameters.
4173
519d22cc
JB
41742011-06-25 Juanma Barranquero <lekktu@gmail.com>
4175
4176 Fix bug#8730, bug#8781.
4177
4178 * loadhist.el (unload--set-major-mode): New function.
4179 (unload-feature): Use it.
4180
4181 * progmodes/python.el (python-after-info-look): Add autoload cookie.
4182 (python-unload-function): New function.
4183
c206f5b0
SM
41842011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4185
4186 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
4187
f9ad64f3
GS
41882011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
4189
4190 * net/browse-url.el (browse-url-firefox-program): Add icecat to
4191 the candidates list.
4192
7d0da90e
JB
41932011-06-24 Juanma Barranquero <lekktu@gmail.com>
4194
4195 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
4196
14b4e83d
RS
41972011-06-23 Richard Stallman <rms@gnu.org>
4198
4199 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
4200 (rmail-variables): Set next-error-move-function.
4201 (rmail-what-message): Take argument POS.
4202 (rmail-next-error-move): New function.
4203
273d2baf
SM
42042011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
4205
4206 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
4207 messages for adjacent non-terminals.
4208
56c2cc9a
RS
42092011-06-23 Richard Stallman <rms@gnu.org>
4210
4211 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 4212 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
4213 (rmail-start-mail): Don't specify use of rmail-mail-return;
4214 that's done by mail-bury now.
4215 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 4216
d59eb518
MA
42172011-06-23 Michael Albinus <michael.albinus@gmx.de>
4218
4219 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
4220 SIZE is a number.
4221
02cfc6d6
MR
42222011-06-23 Martin Rudalics <rudalics@gmx.at>
4223
4224 * window.el (get-lru-window, get-mru-window)
4225 (get-largest-window): Never return a minibuffer window.
4226 (display-buffer-pop-up-window): Fix a bug that could lead to
4227 reusing the minibuffer window.
4228 (display-buffer): Pass original specifier argument to
4229 display-buffer-function instead of the normalized one.
4230 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4231
4e323265
LL
42322011-06-22 Leo Liu <sdl.web@gmail.com>
4233
4234 * minibuffer.el (completing-read-function)
4235 (completing-read-default): Move from minibuf.c
4236
7a70468f
RS
42372011-06-22 Richard Stallman <rms@gnu.org>
4238
50718fc2
RS
4239 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
4240 to Rmail even if not started by a special Rmail command.
4241
7a70468f
RS
4242 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
4243 Copy the buffer currently showing just one message.
4244
297dde5a
RW
42452011-06-22 Roland Winkler <winkler@gnu.org>
4246
4247 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
4248 (bibtex-clean-entry): First delete the old key so that a
4249 customized algorithm for generating the new key does not get
4250 confused by the old key.
4251 (bibtex-url): Obey regexp of first step.
4252 (bibtex-search-entries): Do not use add-to-list with local
4253 list-var.
4254
97bb1093
LMI
42552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4256
4257 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
4258 stored a user name, then query for the password first, instead of
4259 waiting for SMTP to give an error message and the trying again.
4260
1c0f1a19
JD
42612011-06-22 Lawrence Mitchell <wence@gmx.li>
4262
4263 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
4264 BUFFER in call-process.
4265
396f7c9d
LMI
42662011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
4267
4268 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
4269 QUIT twice.
ddb7ffee
LMI
4270 (smtpmail-try-auth-methods): Require user name and password from
4271 auth-source.
396f7c9d 4272
8998d1b3
MR
42732011-06-22 Martin Rudalics <rudalics@gmx.at>
4274
4275 * window.el (display-buffer-default-specifiers)
4276 (display-buffer-alist): Remove entries for pop-up-frame-alist.
4277 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 4278 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
4279
4280 * frame.el (pop-up-frame-alist, pop-up-frame-function)
4281 (special-display-frame-alist, special-display-popup-frame):
4282 Remove duplicate declarations. These are now in window.el.
4283
4ea31e07
LMI
42842011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4285
c9d29fb8
SM
4286 * mail/smtpmail.el (smtpmail-via-smtp):
4287 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
4288 server supports it. SMTP servers that support STARTTLS commonly
4289 require it.
4290
4291 * net/network-stream.el (network-stream-open-starttls): Support
4292 upgrading to STARTTLS always, even if we don't have built-in support.
4293 (open-network-stream): Add the :always-query-capabilies keyword.
4294
95f41d9a
LMI
4295 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
4296 upgrades with `open-network-stream', and rely solely on
4297 auth-source for all credentials. Big changes throughout the file,
4298 but in particular:
c9d29fb8
SM
4299 (smtpmail-auth-credentials): Remove.
4300 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
4301 (smtpmail-via-smtp): Check for servers saying they want AUTH after
4302 MAIL FROM, too.
95f41d9a 4303
c9d29fb8
SM
4304 * net/network-stream.el (network-stream-open-starttls):
4305 Provide support for client certificates both for external and built-in
4ea31e07
LMI
4306 STARTTLS.
4307 (auth-source): Require.
4308 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
4309 (network-stream-certificate): Change cert-cert to cert and
4310 cert-key to key.
4ea31e07 4311
065ec2c7
MA
43122011-06-21 Michael Albinus <michael.albinus@gmx.de>
4313
4314 * net/tramp-cache.el (top): Don't load the persistency file when
4315 "emacs -Q" has been called.
4316
cd93b359
DR
43172011-06-21 Tim Harper <timcharper@gmail.com>
4318
d8e4b68b
JB
4319 * term/ns-win.el (ns-initialize-window-system):
4320 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
4321 resource to NO as it is not yet supported by the NS port.
4322
ae9c0411
JB
43232011-06-21 Juanma Barranquero <lekktu@gmail.com>
4324
4325 * misc.el (list-dynamic-libraries--refresh): Compute header here...
4326 (list-dynamic-libraries): ...not here.
4327
7f3f739f
LL
43282011-06-21 Leo Liu <sdl.web@gmail.com>
4329
4330 * subr.el (sha1): Implement sha1 using secure-hash.
4331
327c8fb1
MR
43322011-06-21 Martin Rudalics <rudalics@gmx.at>
4333
4334 * window.el (display-buffer-alist): In default value do not
4335 enforce searching a window on any but the selected frame.
4336 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
4337 (display-buffer-select-window): Remove function.
4338 (display-buffer-in-window): When a window on another frame gets
4339 reused, do not select it any more but just raise its frame if
4340 necessary (Bug#8851) and (Bug#8856).
4341 (display-buffer-normalize-options): Handle pop-up-frames related
4342 options more faithfully.
4343 (pop-to-buffer): Don't rely on `display-buffer' selecting the
4344 window if it is on another frame.
c9d29fb8
SM
4345 (display-buffer-alist, display-buffer-default-specifiers):
4346 Don't make new frame unsplittable by default.
9e9de014
MR
4347 (display-buffer-normalize-argument): Fix doc-string typo and use
4348 'same-frame-other-window instead of 'other-window when associating
4349 with display-buffer-macro-specifiers.
327c8fb1 4350
7cf3f556
VB
43512011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
4352
4353 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
4354 New functions.
4355 (5x5-mode-map, 5x5-mode-menu): Bind them.
4356 (5x5-draw-grid): Tweak the solver's rendering.
4357
60a406cf
SM
43582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4359
4360 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
4361 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
4362
d8e4b68b 43632011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
4364
4365 * menu-bar.el: Use function variable instead of switch-to-buffer.
4366 (menu-bar-select-buffer-function): New variable.
60a406cf 4367 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 4368
478d6f95
SM
43692011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4370
4371 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
4372 variable's status.
4373
ca530739
JD
43742011-06-20 Jan Djärv <jan.h.d@swipnet.se>
4375
4376 * x-dnd.el (x-dnd-version-from-flags)
4377 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
4378 and long as number (Bug#8899).
4379 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
4380
bcd70d97
SM
43812011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
4382
60a406cf 4383 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
4384 (completion-try-completion, completion-all-completions): Compute the
4385 metadata argument if it's missing; make it optional (bug#8795).
4386
60a406cf 4387 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
4388 (widget-complete): Use new :completion-function property.
4389 (widget-completions-at-point): New function.
4390 (default): Use :completion-function instead of :complete.
60a406cf
SM
4391 (widget-default-completions): Rename from widget-default-complete;
4392 Rewrite.
bcd70d97
SM
4393 (widget-string-complete, widget-file-complete, widget-color-complete):
4394 Remove functions.
4395 (file, symbol, function, variable, coding-system, color):
4396 * international/mule-cmds.el (default-input-method, charset)
4397 (language-info-custom-alist):
4398 * cus-edit.el (face): Use new property :completions.
4399
4400 * progmodes/pascal.el (pascal-completions-at-point): New function.
4401 (pascal-mode): Use it.
4402 (pascal-mode-map): Use completion-at-point.
4403 (pascal-toggle-completions): Make obsolete.
4404 (pascal-complete-word, pascal-show-completions):
4405 * progmodes/octave-mod.el (octave-complete-symbol):
4406 Redefine as obsolete alias.
4407 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
4408 Signal absence of completion info for old Octave,
4409 (inferior-octave-complete): Redefine as obsolete alias.
4410 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
4411 (meta-completions-at-point): Rename from meta-complete-symbol and
4412 adapt it for use on completion-at-point-functions.
4413 (meta-common-mode): Use it.
4414 (meta-looking-at-backward, meta-match-buffer): Remove.
4415 (meta-complete-symbol): Redefine as obsolete alias.
4416 (meta-common-mode-map): Use completion-at-point.
4417 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
4418 (makefile-mode-map): Use completion-at-point.
4419 (makefile-completions-at-point): Rename from makefile-complete and
4420 adapt it for use on completion-at-point-functions.
4421 (makefile-mode): Use it.
4422 (makefile-complete): Redefine as obsolete alias.
4423
aebf69c8
DD
44242011-06-20 Deniz Dogan <deniz@dogan.se>
4425
4426 * net/rcirc.el: Delete trailing whitespaces once and for all.
4427
bfbbb27d
DC
44282011-06-20 Daniel Colascione <dan.colascione@gmail.com>
4429
4430 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
4431
d264a46b
CY
44322011-06-19 Chong Yidong <cyd@stupidchicken.com>
4433
4ca009e5
CY
4434 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
4435
d264a46b
CY
4436 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
4437
fbf5b3ce
MR
44382011-06-19 Martin Rudalics <rudalics@gmx.at>
4439
4440 * window.el (display-buffer-other-window-means-other-frame):
4441 Call display-buffer-normalize-alist.
4442 (display-buffer-normalize-specifiers-1): Rename to
4443 display-buffer-normalize-argument. New argument other-frame.
4444 Rewrite.
4445 (display-buffer-normalize-specifiers-2): Rename to
4446 display-buffer-normalize-options.
4447 (display-buffer-normalize-alist-1): New function.
4448 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
4449 display-buffer-normalize-alist.
4450 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
4451 (display-buffer-normalize-options-inhibit): New variable.
4452 (display-buffer-normalize-specifiers): Rewrite calling
4453 display-buffer-normalize-alist,
4454 display-buffer-normalize-argument, and
4455 display-buffer-normalize-options. Don't call the latter if
4456 display-buffer-normalize-options-inhibit is non-nil.
4457 (frame-auto-delete): New option.
4458 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
4459 (window-list-no-nils, window-state-ignored-parameters)
4460 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
4461 (window-state-put-1, window-state-put-2, window-state-put):
4462 New functions.
9a028c23
MR
4463 (display-buffer-normalize-options): Move special-display-p group
4464 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 4465
6d10d800
CY
44662011-06-18 Chong Yidong <cyd@stupidchicken.com>
4467
6420d28b
CY
4468 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
4469 groups (Bug#8776).
4470 (rx-submatch-n): New function.
4471 (rx): Document it.
4472
ddb8b596
CY
4473 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
4474 (Bug#8768).
4475
4476 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
4477
77080289
CY
4478 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
4479
61dfb316
CY
4480 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
4481 anytime existing face settings are present (Bug#8889).
4482
6d10d800
CY
4483 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
4484 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
4485 Remove unused argument.
4486
be3fb2b8
MR
44872011-06-18 Martin Rudalics <rudalics@gmx.at>
4488
bcd70d97
SM
4489 * window.el (display-buffer-default-specifiers):
4490 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
4491 pop-up-window-min-width, and another reuse-window specifier
4492 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
4493 (display-buffer-normalize-specifiers-2):
4494 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
4495 pop-up-windows is unset. Add a reuse-window specifier for the
4496 case popping up a new window fails.
4497 (special-display-popup-frame): Remove double quoting.
28dec25a 4498 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 4499
1c6d8c76
SM
45002011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * shell.el (shell-completion-vars): Set pcomplete-termination-string
4503 according to comint-completion-addsuffix.
4504
4505 * pcomplete.el: Convert to lexical binding and fix bug#8819.
4506 (pcomplete-suffix-list): Mark as obsolete.
4507 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
4508 pcomplete-seen in the closure.
4509 (pcomplete-comint-setup): Setup completion-at-point as well.
4510 (pcomplete--entries): New function.
4511 (pcomplete--env-regexp): New var.
4512 (pcomplete-entries): Rewrite to work with partial-completion and
4513 without relying on pcomplete-suffix-list.
4514 (pcomplete-pare-list): Remove, unused.
4515
25aef8b8
MR
45162011-06-17 Martin Rudalics <rudalics@gmx.at>
4517
4518 * window.el (display-buffer-alist): Set pop-up-window-min-height
4519 and pop-up-window-min-width in default value. Reported by
4520 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
4521 other-window-means-other-frame.
4522 (display-buffer-macro-specifiers): Comment out entry for
4523 other-window specifier.
4524 (display-buffer-other-window-means-other-frame): New function.
4525 (display-buffer-normalize-specifiers-1): New arguments
4526 buffer-name and label. Treat other-window case specially.
4527 (display-buffer-normalize-specifiers-2): Treat other-window case
4528 specially.
4529 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
4530 (display-buffer-normalize-specifiers):
4531 Call display-buffer-normalize-specifiers-3.
25aef8b8 4532
dbad4f69
MR
45332011-06-17 Martin Rudalics <rudalics@gmx.at>
4534
4535 * window.el (same-window-p): Fix two typos introduced when
4536 adding with-no-warnings.
d1067961
MR
4537 (display-buffer-normalize-specifiers-1): Don't check
4538 pop-up-frames for 'unset initialization.
4539 (display-buffer-normalize-specifiers-2): Major rewrite using
4540 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
4541 (pop-up-frames, display-buffer-reuse-frames)
4542 (display-buffer-mark-dedicated): Don't initialize to 'unset.
4543 Suggested by David Engster <deng@randomsample.de>.
4544 (even-window-heights): Initialize to 'unset.
4545 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
4546 (display-buffer-macro-specifiers): Don't pop up a new frame in the
4547 other window case.
dbad4f69 4548
9b9c9e3a
MR
45492011-06-16 Martin Rudalics <rudalics@gmx.at>
4550
bcd70d97
SM
4551 * window.el (display-buffer-normalize-specifiers-1):
4552 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 4553 second argument of display-buffer (Bug#8865).
981d5c09
MR
4554 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
4555 (switch-to-buffer-other-window-same-frame)
4556 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
4557 Adams (Bug#8875).
9c2755e9
MR
4558 (display-buffer): Don't check noninteractive when calling
4559 display-buffer-pop-up-frame.
4560 (display-buffer-pop-up-frame): Never pop up a frame in
4561 noninteractive mode (Bug#8857).
67222e1d
MR
4562 (enlarge-window, shrink-window): Don't report an error when the
4563 window can't be resized as requested (Bug#8862).
9b9c9e3a 4564
2b75be67
SM
45652011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4566
9ffdd3ba
SM
4567 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
4568
cb581a67
SM
4569 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
4570
2b75be67
SM
4571 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
4572
8c0e3589
AM
45732011-06-15 Alan Mackenzie <acm@muc.de>
4574
cb581a67
SM
4575 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
4576 for declarators, disable knr checking to speed up for normal files.
4577 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 4578
b96e6cde
LMI
45792011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
4580
4bba86e6
LMI
4581 * net/network-stream.el (open-network-stream): Add the keyword
4582 :always-query-capabilities for the case where you want to force a
4583 `plain' network connection, but the protocol still requires the
4584 capabilitiy command (i.e., SMTP and EHLO).
4585
2b75be67 4586 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
4587 consistency with other `-live-p' functions.
4588
efdcdbf8
SM
45892011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * window.el (same-window-buffer-names, same-window-regexps)
4592 (special-display-frame-alist, special-display-popup-frame)
4593 (special-display-function, special-display-buffer-names)
4594 (special-display-regexps, pop-up-frame-alist)
4595 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
4596 (pop-up-windows, split-window-preferred-function)
4597 (split-height-threshold, split-width-threshold, even-window-heights)
4598 (display-buffer-mark-dedicated): Don't encourage the use of
4599 display-buffer-alist from Elisp code.
4600
c5cde042
DN
46012011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
4602
4603 * progmodes/python.el (python-mode): Derive from prog-mode.
4604 * progmodes/ps-mode.el (ps-mode):
4605 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 4606 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
4607 * progmodes/ld-script.el (ld-script-mode): Likewise.
4608
baa1c9ab
MR
46092011-06-15 Martin Rudalics <rudalics@gmx.at>
4610
4611 * window.el (display-buffer-alist): Trim default value to avoid
4612 popping up a new frame (Bug#8857) or reusing an arbitrary window
4613 on another frame.
4614 (display-buffer): Do not fall back on popping up a new frame in
4615 batch mode (Bug#8857).
4616
c5dd5a51
CY
46172011-06-14 Chong Yidong <cyd@stupidchicken.com>
4618
4619 * cus-theme.el (describe-theme-1): Use custom-theme-p.
4620 (custom-theme-summary): New function.
4621 (customize-themes): Use it.
4622
d647b7c4
GM
46232011-06-13 Glenn Morris <rgm@gnu.org>
4624
4625 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
4626
9481c002
MR
46272011-06-13 Martin Rudalics <rudalics@gmx.at>
4628
357f93d2
MR
4629 * help.el (help-window): Remove variable.
4630 (help-window-point-marker, temp-buffer-max-height)
4631 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
4632 (help-print-return-message): Don't set help-window.
4633 (resize-temp-buffer-window): Rewrite cod eand doc-string.
4634 (help-window-setup-finish): Remove.
4635 (help-window-display-message, help-window-setup)
4636 (with-help-window): Major rewrite based on new
4637 display-buffer-window variable.
4638
4639 * help-mode.el (help-mode-finish): Remove help-window related
4640 code.
4641
4642 * view.el (view-exits-all-viewing-windows): Remove reference to
4643 view-return-to-alist in doc-string.
4644 (view-return-to-alist): Make obsolete.
4645 (view-buffer): Call pop-to-buffer-same-window and remove
4646 undo-window code.
4647 (view-buffer-other-window): Call pop-to-buffer-other-window and
4648 simplify code. Ignore second argument.
4649 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
4650 simplify code. Ignore second argument.
4651 (view-return-to-alist-update): Make obsolete.
4652 (view-mode-enter): Rename second argument to QUIT-RESTORE.
4653 Rewrite using quit-restore window parameters.
2b75be67
SM
4654 (view-mode-exit): Rename second argument to EXIT-ONLY.
4655 Rewrite using quit-restore-window.
357f93d2
MR
4656 (View-exit, View-exit-and-edit, View-leave, View-quit)
4657 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
4658 appropriate arguments.
4659 (view-end-message): Use quit-restore window parameter.
4660
9481c002
MR
4661 * window.el (display-buffer-function): Rewrite doc-string.
4662 (display-buffer-window, display-buffer-alist): New variables.
4663 (display-buffer-split-specifiers)
4664 (display-buffer-side-specifiers)
4665 (display-buffer-macro-specifiers): New constants.
4666 (display-buffer-even-window-sizes, display-buffer-set-height)
4667 (display-buffer-set-width, display-buffer-select-window)
4668 (display-buffer-in-window, display-buffer-reuse-window)
4669 (display-buffer-split-window-1, display-buffer-split-window)
4670 (display-buffer-split-atom-window, display-buffer-pop-up-window)
4671 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
4672 (display-buffer-in-side-window, normalize-buffer-to-display)
4673 (display-buffer-normalize-specifiers-1)
4674 (display-buffer-normalize-specifiers-2)
2b75be67
SM
4675 (display-buffer-normalize-specifiers, display-buffer-frame):
4676 New functions.
9481c002
MR
4677 (display-buffer): Major rewrite.
4678 (display-buffer-other-window, display-buffer-other-frame)
4679 (pop-to-buffer, switch-to-buffer-other-window)
4680 (switch-to-buffer-other-frame): Rewrite.
4681 (display-buffer-same-window, display-buffer-same-frame)
4682 (display-buffer-same-frame-other-window)
4683 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
4684 (pop-to-buffer-other-window)
4685 (pop-to-buffer-same-frame-other-window)
4686 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
4687 (switch-to-buffer-other-window-same-frame): New functions.
4688 (same-window-p, special-display-p): Rewrite disabling warnings.
4689 Make obsolete.
4690 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
4691 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
4692 Make obsolete
4693 (same-window-buffer-names, same-window-regexps)
4694 (special-display-frame-alist, special-display-popup-frame)
4695 (special-display-function, special-display-buffer-names)
4696 (special-display-regexps, pop-up-frame-alist)
4697 (pop-up-frame-function, split-window-preferred-function)
4698 (split-height-threshold, split-width-threshold)
4699 (even-window-heights): Make obsolete.
4700
9db51aca
GM
47012011-06-12 Glenn Morris <rgm@gnu.org>
4702
4703 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 4704 Misc simplifications.
9db51aca 4705
39cffb44
MR
47062011-06-12 Martin Rudalics <rudalics@gmx.at>
4707
4708 * window.el (window-safely-shrinkable-p): Restore function which
4709 was inadvertently removed in change from 2011-06-11. Declare as
4710 obsolete.
4711
2b75be67
SM
4712 * calendar/calendar.el (calendar-generate-window):
4713 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
4714 window-safely-shrinkable-p.
4715
a8955be7
GM
47162011-06-12 Glenn Morris <rgm@gnu.org>
4717
4718 * progmodes/fortran.el (fortran-mode-syntax-table):
4719 * progmodes/f90.el (f90-mode-syntax-table):
4720 Set % to punctuation. (Bug#8820)
4721 (f90-find-tag-default): Remove, no longer needed.
4722
f0d4059d
DC
47232011-06-12 Daniel Colascione <dan.colascione@gmail.com>
4724
4725 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
4726
1100a63c
CY
47272011-06-11 Chong Yidong <cyd@stupidchicken.com>
4728
4729 * image.el (image-animated-p): Return animation delay in seconds.
4730 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
4731 (image-animate-timeout): Remove DELAY argument. Don't assume
4732 every subimage has the same delay; get it from image-animated-p.
4733 (image-animate): Caller changed.
4734
def722bf
MA
47352011-06-11 Michael Albinus <michael.albinus@gmx.de>
4736
4737 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
4738 to ignored backtrace functions.
4739
0a2bb1a9
GM
47402011-06-11 Glenn Morris <rgm@gnu.org>
4741
4742 * calendar/appt.el (appt-disp-window-function): Doc fix.
4743 (appt-check): Handle overlapping appointments. (Bug#8337)
4744
6198ccd0
MR
47452011-06-11 Martin Rudalics <rudalics@gmx.at>
4746
4747 * window.el (window-tree-1, window-tree): New functions, moving
4748 the latter to window.el.
4749 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
4750 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
4751 (bw-refresh-edges): Remove.
4752 (balance-windows-1, balance-windows-2): New functions.
4753 (balance-windows): Rewrite in terms of window tree functions,
4754 balance-windows-1 and balance-windows-2.
4755 (bw-adjust-window): Remove.
4756 (balance-windows-area-adjust): New function with functionality of
4757 bw-adjust-window but using resize-window.
2b75be67
SM
4758 (set-window-text-height): Rewrite doc-string.
4759 Use normalize-live-window and resize-window.
4760 (enlarge-window-horizontally, shrink-window-horizontally):
4761 Rename argument to DELTA.
6198ccd0
MR
4762 (window-buffer-height): New function.
4763 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
4764 Rewrite using new window resize routines.
2b75be67
SM
4765 (kill-buffer-and-window, mouse-autoselect-window-select):
4766 Use ignore-errors instead of condition-case.
6198ccd0
MR
4767 (quit-window): Call delete-frame instead of delete-windows-on
4768 for the only buffer on frame.
4769
9397e56f
MR
47702011-06-10 Martin Rudalics <rudalics@gmx.at>
4771
4772 * loadup.el (top-level): Load window before files for the sake
4773 of replace-buffer-in-windows.
4774
4775 * files.el (read-buffer-to-switch)
4776 (switch-to-buffer-other-window)
2b75be67
SM
4777 (switch-to-buffer-other-frame, display-buffer-other-frame):
4778 Move to window.el.
9397e56f
MR
4779
4780 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
4781 (previous-buffer): Move to window.el.
4782
4783 * bindings.el (unbury-buffer): Move to window.el.
4784
4785 * window.el (delete-other-windows-vertically): Move after
4786 definition of delete-other-windows.
4787 (other-window, delete-windows-on, replace-buffer-in-windows):
4788 Move here from window.c.
4789 (record-window-buffer, unrecord-window-buffer)
4790 (set-window-buffer-start-and-point, switch-to-prev-buffer)
4791 (switch-to-next-buffer): New functions.
4792 (get-next-valid-buffer, last-buffer, next-buffer): Move here
4793 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
4794 (previous-buffer): Move here from simple.el.
4795 Call switch-to-prev-buffer.
9397e56f
MR
4796 (bury-buffer): Move here from buffer.c. Switch to previous
4797 buffer when window cannot be deleted.
4798 (unbury-buffer): Move here from bindings.el.
4799 (ctl-x-map): Move binding for other-window from window.c to
4800 here.
4801 (read-buffer-to-switch, switch-to-buffer-other-window)
4802 (switch-to-buffer-other-frame): Move here from files.el.
4803 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
4804 (switch-to-buffer): Move here from buffer.c.
4805 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 4806
562dd5e9
MR
48072011-06-10 Martin Rudalics <rudalics@gmx.at>
4808
4809 * window.el (window-min-height, window-min-width): Move here
4810 from window.c. Add defcustoms and rewrite doc-strings.
4811 (resize-mini-window, resize-window): New functions.
4812 (adjust-window-trailing-edge, enlarge-window, shrink-window):
4813 Move here from window.c.
4814 (maximize-window, minimize-window): New functions.
4815 (delete-window, delete-other-windows, split-window): Move here
4816 from window.c.
4817 (window-split-min-size): New function.
4818 (split-window-keep-point): Mention split-window-above-each-other
4819 instead of split-window-vertically.
2b75be67
SM
4820 (split-window-above-each-other, split-window-vertically):
4821 Rename split-window-vertically to split-window-above-each-other and
562dd5e9
MR
4822 provide defalias for old definition.
4823 (split-window-side-by-side, split-window-horizontally): Rename
4824 split-window-horizontally to split-window-side-by-side and provide
4825 defalias for the old definition.
4826 (ctl-x-map): Move bindings for delete-window,
4827 delete-other-windows and enlarge-window here from window.c.
4828 Replace bindings for split-window-vertically and
4829 split-window-horizontally by bindings for
4830 split-window-above-each-other and split-window-side-by-side.
4831
4832 * cus-start.el (all): Remove entries for window-min-height and
4833 window-min-width. Add entries for window-splits and
4834 window-nest.
4835
f0da764a
GM
48362011-06-09 Glenn Morris <rgm@gnu.org>
4837
80675c21
GM
4838 * calendar/appt.el (appt-mode-line): New function.
4839 (appt-check, appt-disp-window): Use it.
4840
f0da764a
GM
4841 * files.el (hack-one-local-variable-eval-safep):
4842 Allow minor-modes with explicit +/-1 arguments.
4843
59f623b7
TZ
48442011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
4845
4846 * term/xterm.el (xterm): Add defgroup.
4847 (xterm-extra-capabilities): Add defcustom to supply known xterm
4848 capabilities, skip querying them, or query them (default).
4849 (terminal-init-xterm): Use it.
4850 (terminal-init-xterm-modify-other-keys): New function to set up
4851 modifyOtherKeys support to simplify `terminal-init-xterm'.
4852
9aab8e0d
MR
48532011-06-09 Martin Rudalics <rudalics@gmx.at>
4854
4855 * window.el (resize-window-reset, resize-window-reset-1)
4856 (resize-subwindows-skip-p, resize-subwindows-normal)
4857 (resize-subwindows, resize-other-windows, resize-this-window)
4858 (resize-root-window, resize-root-window-vertically)
4859 (window-deletable-p, window-or-subwindow-p)
4860 (frame-root-window-p): New functions.
4861
e8b08aee
GM
48622011-06-09 Glenn Morris <rgm@gnu.org>
4863
4864 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
4865 (ange-ftp-get-files): Use it.
4866
254c37a5
AK
48672011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
4868
4869 * mail/sendmail.el (mail-recover-1, mail-recover):
4870 * files.el (recover-file, recover-session):
4871 Handle dired-listing-switches not being just a single short option.
4872
35d7dbd3
GM
48732011-06-09 Glenn Morris <rgm@gnu.org>
4874
4875 * calendar/appt.el (appt-display-message, appt-disp-window):
4876 Handle lists of appointments.
4877
387522b2
MR
48782011-06-08 Martin Rudalics <rudalics@gmx.at>
4879
2b75be67
SM
4880 * window.el (one-window-p): Move down in code.
4881 Rewrite doc-string.
4882 (window-current-scroll-bars): Rewrite doc-string.
4883 Normalize live window argument.
387522b2
MR
4884 (walk-windows, get-window-with-predicate, count-windows):
4885 Rewrite doc-string. Use window-list-1.
4886 (window-in-direction-2, window-in-direction, get-mru-window):
4887 New functions.
4888
d8e4b68b 48892011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
4890
4891 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
4892 Doc fix (Bug#8713).
4893
48942011-06-08 Chong Yidong <cyd@stupidchicken.com>
4895
4896 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
4897
48982011-06-08 Juanma Barranquero <lekktu@gmail.com>
4899
4900 * loadhist.el (unload-feature-special-hooks):
4901 Add `comint-output-filter-functions'.
4902
0de12c52
IK
49032011-06-08 Ivan Kanis <gnu@kanis.fr>
4904
4905 * calendar/appt.el (appt-check): Move some initializations into the let.
4906
f3d1777e
MR
49072011-06-08 Martin Rudalics <rudalics@gmx.at>
4908
4909 * window.el (window-height): Defalias to window-total-height.
4910 (window-width): Defalias to window-body-width.
4911
18af70d0
CY
49122011-06-07 Chong Yidong <cyd@stupidchicken.com>
4913
4914 * image-mode.el (image-toggle-animation): New command.
4915 (image-mode-map): Bind it to RET.
4916 (image-mode): Update message.
4917 (image-toggle-display-image): Avoid a spurious cache flush.
4918 (image-transform-rotation): Doc fix.
4919 (image-transform-properties): Return quickly in the normal case.
4920 (image-animate-loop): Rename from image-animate-max-time.
4921
2b75be67 4922 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
4923 (create-animated-image): Remove unnecessary function.
4924 (image-animate): Rename from image-animate-start. New arg.
2b75be67 4925 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
4926 (image-animate-timer): Use car-safe.
4927 (image-animate-timeout): Rename argument.
4928
190b47e6
MR
49292011-06-07 Martin Rudalics <rudalics@gmx.at>
4930
4931 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
4932 window.c. Rename first argument to ALL-FRAMES.
4933 Rephrase doc-strings.
4934 (get-buffer-window-list): Rewrite using window-list-1.
4935 Rephrase doc-string.
a1511caf
MR
4936 (window-safe-min-height, window-safe-min-width): New constants.
4937 (window-size-ignore, window-min-size, window-min-size-1)
4938 (window-sizable, window-sizable-p, window-size-fixed-1)
4939 (window-size-fixed-p, window-min-delta-1, window-min-delta)
4940 (window-max-delta-1, window-max-delta, window-resizable)
4941 (window-resizable-p, window-total-height, window-total-width)
4942 (window-body-width): New functions.
4943 (window-full-height-p, window-full-width-p): Rewrite using
4944 window-total-size.
4945 (window-body-height): Rewrite using window-body-size.
190b47e6 4946
85cc1f11
MR
49472011-06-06 Martin Rudalics <rudalics@gmx.at>
4948
4949 * window.el (window-right, window-left, window-child)
4950 (window-child-count, window-last-child, window-any-p)
4951 (normalize-live-buffer, normalize-live-frame)
4952 (normalize-any-window, normalize-live-window)
4953 (window-iso-combination-p, window-iso-combined-p)
4954 (window-iso-combinations)
4955 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
4956 (windows-with-parameter, window-with-parameter)
4957 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
4958 (window-atom-check, window-side-check, window-check):
4959 New functions.
85cc1f11
MR
4960 (ignore-window-parameters, window-sides, window-sides-vertical)
4961 (window-sides-slots): New variables.
4962 (window-size-fixed): Move down in code. Minor doc-string fix.
4963
e7156492
AS
49642011-06-05 Andreas Schwab <schwab@linux-m68k.org>
4965
4966 * comint.el (comint-dynamic-complete-as-filename)
4967 (comint-dynamic-complete-filename): Correctly call
4968 completion-in-region.
4969
7e821d0d
DD
49702011-06-05 Deniz Dogan <deniz@dogan.se>
4971
4972 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
4973 in last change.
4974
ac09b8a1
DD
49752011-06-05 Deniz Dogan <deniz@dogan.se>
4976
4977 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
4978 (rcirc): Use it to prompt for encryption.
4979
34699b85
RW
49802011-06-05 Roland Winkler <winkler@gnu.org>
4981
4982 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
4983 (bibtex-search-entries): New command bound to C-c C-a.
4984 (bibtex-display-entries): New function.
4985
004dedd3
RW
49862011-06-05 Roland Winkler <winkler@gnu.org>
4987
4988 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
4989 (bibtex-insert-kill): After yanking insert newline if necessary.
4990 (bibtex-initialize): Call bibtex-string-files-init only once.
4991 (bibtex-mode): Do not call easy-menu-add.
4992 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
4993 (bibtex-yank): Set arg properly if nil.
4994
022fe7ce
RW
49952011-06-05 Roland Winkler <winkler@gnu.org>
4996
2b75be67
SM
4997 * textmodes/bibtex.el (bibtex-search-entry-globally):
4998 New variable.
022fe7ce
RW
4999 (bibtex-search-entry): Use it.
5000
b7c3692a
RW
50012011-06-05 Roland Winkler <winkler@gnu.org>
5002
5003 * textmodes/bibtex.el (bibtex-entry-format): New option
5004 sort-fields.
5005 (bibtex-format-entry, bibtex-reformat): Honor this option.
5006 (bibtex-parse-entry): Return fields in proper order.
5007
8eda563d
JB
50082011-06-05 Juanma Barranquero <lekktu@gmail.com>
5009
5010 * doc-view.el (doc-view-remove-if): Move computation of result out
5011 of `dolist' to silence misleading lexical-binding warning.
5012
7dbe3dbc
CY
50132011-06-04 Chong Yidong <cyd@stupidchicken.com>
5014
5015 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
5016 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
5017
0c33dd17
MA
50182011-06-04 Michael Albinus <michael.albinus@gmx.de>
5019
5020 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
5021 "SunOS 5.10".
5022
f8f91c2b
MA
50232011-06-04 Michael Albinus <michael.albinus@gmx.de>
5024
5025 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
5026 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
5027 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
5028 (tramp-parse-putty):
5029 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
5030 (tramp-completion-function-alist-ssh)
5031 (tramp-completion-function-alist-telnet)
5032 (tramp-completion-function-alist-su)
5033 (tramp-completion-function-alist-putty): Set `tramp-autoload'
5034 cookie.
5035
5036 * net/tramp-ftp.el:
5037 * net/tramp-sh.el:
5038 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
5039 load "tramp.el" `tramp-set-completion-function'.
5040
e17d9003
SM
50412011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
5042
5043 * shell.el: Require and use pcomplete.
5044 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
5045 (shell-completion-vars): Set pcomplete-default-completion-function.
5046
6c4cab03
DD
50472011-06-04 Deniz Dogan <deniz@dogan.se>
5048
5049 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
5050 `memq' (Bug#8799).
5051
ea9fafe0
SM
50522011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5053
5054 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
5055
b3e945d3
JB
50562011-06-02 Juanma Barranquero <lekktu@gmail.com>
5057
5058 * bs.el (bs--mark-unmark, bs--nth-wrapper):
5059 * mpc.el (mpc-select-extend, mpc-songpointer-context):
5060 * vc/log-view.el (log-view-beginning-of-defun):
5061 * vc/smerge-mode.el (smerge-apply-resolution-patch)
5062 (smerge-refine-forward, smerge-refine-chopup-region):
5063 Silence warning for unused `dotimes' counter variables.
5064
7d520089
SM
50652011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * net/tramp.el (tramp-with-progress-reporter): Rename from
5068 with-progress-reporter. Use `declare'.
5069 * net/tramp-smb.el:
5070 * net/tramp-sh.el:
5071 * net/tramp-gvfs.el: Update all uses.
5072
a1c2400f
JB
50732011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
5074
5075 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
5076 buffer isn't killed before making it current.
5077
2403c841
SM
50782011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5079
5080 Silence various byte-compiler warnings.
5081 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
5082 `access-type' and new obsolescence format.
5083 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
5084 new format.
5085 (byte-compile-check-variable): New `access-type' argument.
5086 Only warn if the access-type is obsolete.
5087 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
5088 (byte-compile-variable-set): Adjust callers.
5089 * help-fns.el (describe-variable): Adjust to new obsolescence format.
5090 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
5091 setting it as obsolete.
5092 * simple.el (minibuffer-completing-symbol):
5093 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
5094 access as obsolete.
5095 * minibuffer.el (minibuffer-completing-file-name): Don't make it
5096 obsolete yet.
5097 * international/quail.el (quail-mouse-choose-completion): Remove unused
5098 code referring to obsolete var.
5099 (quail-choose-completion-string): Remove.
5100 * server.el (server-clients-with, server-kill-buffer-query-function)
5101 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
5102 * proced.el (proced-send-signal):
5103 * emacs-lisp/lisp.el (lisp-complete-symbol):
5104 Replace completion-annotate-function with completion-extra-properties.
5105
2462470b
SM
51062011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
5107
fb5b2591
SM
5108 * simple.el (goto-line): Use read-number.
5109 (overriding-map-is-bound): Remove.
5110 (saved-overriding-map): Change default.
5111 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
5112 Take the map as argument.
5113 (universal-argument, negative-argument, digit-argument): Use it.
5114 (restore-overriding-map): Adjust.
5115 (do-auto-fill): Use fill-forward-paragraph.
5116 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
5117
fd6fa53f
SM
5118 * minibuffer.el (minibuffer-inactive-mode-map): New var.
5119 (minibuffer-inactive-mode): New major mode.
5120 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
5121 the *Messages* buffer" hack.
5122 (mouse-popup-menubar): Don't burp if the event is a normal key.
5123
2462470b
SM
5124 Miscellaneous tweaks.
5125 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
5126 lexical scoping as in subr.el's dolist and dotimes.
5127 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
5128 Silence compiler warning.
5129 * thingatpt.el (forward-whitespace): Trivial coding style fix.
5130 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
5131 * international/ccl.el (ccl-compile): Trivial simplification.
5132 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
5133 * emacs-lisp/testcover.el (testcover-end): Remove spurious
5134 `printflag' argument.
5135 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
5136 Purecopy the whole obsolescence data.
5137
108bf785
LL
51382011-06-01 Leo Liu <sdl.web@gmail.com>
5139
5140 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
5141 improve doc-string as suggested by Marco Pessotto
5142 <melmothx@gmail.com>.
5143 (rcirc-print): Fix last change.
5144
30a23501
SM
51452011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * minibuffer.el (complete-with-action): Return nil for the metadata and
5148 boundaries of non-functional tables.
5149 (completion-table-dynamic): Return nil for the metadata.
5150 (completion-table-with-terminator): Add default case, using
5151 complete-with-action.
5152 (completion--metadata): New function.
5153 (completion-all-sorted-completions, minibuffer-completion-help): Use it
5154 to try and avoid pathological performance problems.
5155 (completion--embedded-envvar-table): Return `category' metadata.
5156
bcd54f83
LMI
51572011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
5158
5159 * subr.el (process-alive-p): New tiny convenience function.
5160
e227544d
SM
51612011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5162
5163 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
5164 content but also its previous major mode.
5165
e8296fdc
HE
51662011-05-31 Helmut Eller <eller.helmut@gmail.com>
5167
4d61f28d 5168 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
5169 *Backtrace* buffer when we exit with C-M-c.
5170
620c53a6
SM
51712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
5172
5173 * minibuffer.el: Add metadata method to completion tables.
5174 (completion-category-overrides): New defcustom.
5175 (completion-metadata, completion--field-metadata)
5176 (completion-metadata-get, completion--styles)
5177 (completion--cycle-threshold): New functions.
5178 (completion-try-completion, completion-all-completions):
5179 Add `metadata' argument to choose completion-styles.
5180 (completion--do-completion): Use metadata to choose cycling.
5181 (completion-all-sorted-completions): Use metadata for sorting.
5182 Remove :completion-cycle-penalty which is not needed any more.
5183 (completion--try-word-completion): Add `metadata' argument.
5184 (minibuffer-completion-help): Check metadata for annotation function
5185 and sorting.
5186 (completion-file-name-table): Return `category' metadata.
5187 (minibuffer-completing-file-name): Make obsolete.
5188 * simple.el (minibuffer-completing-symbol): Make obsolete.
5189 * icomplete.el (icomplete-completions): Pass new `metadata' param to
5190 completion-try-completion.
5191
1257e755
SM
51922011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
5193
5194 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
5195
3767e706
LL
51962011-05-30 Leo Liu <sdl.web@gmail.com>
5197
5198 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
5199 (rcirc-print): Decode all incoming messages (bug#8744).
5200 (rcirc-decode-coding-system): Allow value nil for automatic coding
5201 system detection.
3767e706 5202
d1a5d56a
GM
52032011-06-01 Glenn Morris <rgm@gnu.org>
5204
5205 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
5206
e8cbec34
CY
52072011-05-29 Chong Yidong <cyd@stupidchicken.com>
5208
5209 * image.el (image-animate-max-time): Allow nil and t values.
5210 Default to nil.
5211 (create-animated-image): Doc fix.
5212 (image-animate-start): Remove second arg; just use
5213 image-animate-max-time.
5214 (image-animate-timeout): Doc fix. Args changed.
5215
5216 * image-mode.el (image-toggle-display-image): Ensure that the
5217 image spec passed to the animate timer is the same object as in
5218 the the buffer's display property (Bug#6981).
5219 (image-transform-properties): Doc fix.
5220
5221 * image.el (image-animate-max-time): Default to nil.
5222
159daf87
MR
52232011-05-29 Martin Rudalics <rudalics@gmx.at>
5224
5225 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
5226 entire buffer list (Bug#8184).
5227
d66c4c7c
CY
52282011-05-29 Chong Yidong <cyd@stupidchicken.com>
5229
5230 * image.el (imagemagick-types-inhibit)
5231 (imagemagick-register-types): Doc fix.
5232
80aec780
DD
52332011-05-29 Deniz Dogan <deniz@dogan.se>
5234
5235 * net/rcirc.el (rcirc): Use the user's stored encryption method by
5236 default.
5237
1dd3c2d9
CY
52382011-05-29 Chong Yidong <cyd@stupidchicken.com>
5239
5240 * select.el: Don't perform clipboard-manager saving in hooks;
5241 leave the hooks empty.
5242
60e56523
LL
52432011-05-28 Leo Liu <sdl.web@gmail.com>
5244
5245 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
5246 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
5247 (occur-edit-mode): New major mode (Bug#8463).
5248 (occur-after-change-function): New function.
5249 (occur-engine): Give Occur tags a read-only property.
5250
2b1e1a22
KR
52512011-05-28 Kevin Ryde <user42@zip.com.au>
5252
5253 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
5254
5d344e88
CY
52552011-05-28 Chong Yidong <cyd@stupidchicken.com>
5256
8e6ca83d
CY
5257 * bindings.el (help-echo): Make the initial non-indicator dash
5258 empty on graphical terminals (Bug#7295).
5259
5d344e88
CY
5260 * files.el (auto-mode-alist): Move config rule after the
5261 in-stripping one (Bug#8547).
5262
bfbbace7
CY
5263 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
5264
fbeba6e2
CY
5265 * startup.el (normal-splash-screen): Remove gratuitous mode-line
5266 setting (Bug#8740).
5267
60ed8c72
AA
52682011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
5269
4ac619f0
AA
5270 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
5271 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
5272 (Bug#8539).
60ed8c72 5273
23db196e
CY
52742011-05-28 Chong Yidong <cyd@stupidchicken.com>
5275
5276 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
5277
5012f24c
DK
52782011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
5279
5280 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
5281 (hs-hide-block-at-point, hs-find-block-beginning)
5282 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
5283 (Bug#8279).
5284
6a639b16
GM
52852011-05-28 Glenn Morris <rgm@gnu.org>
5286
5287 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
5288
d43eaf2c
CY
52892011-05-28 Chong Yidong <cyd@stupidchicken.com>
5290
5199bde1
CY
5291 * help-fns.el (describe-function-1): If the function is a derived
5292 major mode, print the parent mode.
5293
d43eaf2c
CY
5294 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
5295 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
5296
423428a8
SM
52972011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
5298
0ff8e1ba
SM
5299 * minibuffer.el (completion--capf-wrapper): Check applicability before
5300 retuning non-nil for non-exclusive completion data.
5301 * progmodes/etags.el (tags-completion-at-point-function):
5302 * info-look.el (info-lookup-completions-at-point): Mark as
5303 non-exclusive.
5304 (info-complete): Adjust accordingly.
5305
423428a8
SM
5306 * info-look.el: Convert to lexical-binding and completion-at-point.
5307 (info-lookup-completions-at-point): New function.
5308 (info-complete): Use it and completion-in-region.
5309
b74aa22b
DA
53102011-05-28 Drew Adams <drew.adams@oracle.com>
5311
5312 * isearch.el: Let M-e start with point at the first mismatched char.
5313 (isearch-fail-pos): New function.
5314 (isearch-edit-string): Use it.
5315
66e2e71d
DK
53162011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5317
5318 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5319
eb95d01d
TC
53202009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5321
5322 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
5323 traversal functions for avl-trees.
5324 (avl-tree--stack): New struct.
5325 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
5326 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
5327 (avl-tree--do-enter): Add optional `updatefun' arg.
5328 Change return value.
eb95d01d 5329 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
5330 (avl-tree--do-delete): Add `test' and `nilflag' args.
5331 Change return value.
eb95d01d
TC
5332 (avl-tree-member): Add optional `nilflag'
5333 (avl-tree-member-p): New function.
5334 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
5335 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
5336 (avl-tree-stack-empty-p): New functions.
5337
3769ddcf
TC
53382009-11-23 Toby Cubitt <toby-predictive@dr-qubit.org>
5339
5340 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
5341 avl-tree--del-balance1 and make it work both ways.
5342 (avl-tree--del-balance2): Remove.
5343 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
5344 make it work both ways.
5345 (avl-tree--enter-balance2): Remove.
5346 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
5347 New macros.
5348 (avl-tree--mapc, avl-tree-map): Add direction argument.
5349
eb95d01d 53502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
5351
5352 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
5353
a9f737ee
CY
53542011-05-27 Chong Yidong <cyd@stupidchicken.com>
5355
5356 * select.el: Support clipboard managers with built-in function
5357 x-clipboard-manager-save, via delete-frame-functions and
5358 kill-emacs-hook.
5359 (xselect-convert-to-targets): Add MULTIPLE target to list.
5360 (xselect-convert-to-save-targets): New function.
5361
c92a1e54
KH
53622011-05-27 Kenichi Handa <handa@m17n.org>
5363
5364 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
5365 let-binding rfc2047-encode-encoded-words to nil.
5366
e145f188
GM
53672011-05-27 Glenn Morris <rgm@gnu.org>
5368
5ec8a862
GM
5369 * mail/emacsbug.el: Don't require url-util.
5370
4b29d9fb
GM
5371 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
5372
e145f188
GM
5373 * files.el (set-auto-mode):
5374 Also respect mode: entries at the end of the file. (Bug#8586)
5375
7d15102b
GM
53762011-05-26 Glenn Morris <rgm@gnu.org>
5377
98f593b8
GM
5378 * files.el (hack-local-variables-prop-line, hack-local-variables):
5379 Downcase mode names, as seems to be traditional.
27b48e63 5380 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 5381
7d15102b
GM
5382 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
5383 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
5384
51d5b4ec
JD
53852011-05-25 Julien Danjou <julien@danjou.info>
5386
5387 * textmodes/rst.el (rst-define-level-faces): Do not define face
5388 symbol if it is already defined.
5389
91513f63
VB
53902011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
5391
5392 * play/5x5.el (5x5-new-game, 5x5-randomize):
5393 Reset 5x5-solver-output to nil when a new grid is cast.
5394 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
5395 these debugging traces, as defmacro breaks the compiled code.
5396
4d90d6d0
DK
53972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
5398
5399 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
5400
e1b90ef6
LL
54012011-05-24 Leo Liu <sdl.web@gmail.com>
5402
5403 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
5404 (vc-bzr-sha1): Adapt.
5405
d8e4b68b 5406 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
5407
5408 * bindings.el: Provide sha1 feature.
5409
db0406bb 54102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
5411
5412 * mail/sendmail.el: Require `rfc2047'.
5413 (mail-insert-from-field): Do not perform RFC2047 encoding.
5414 (mail-encode-header): New function.
5415 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
5416 buffer to the return value of select-message-coding-system.
5417 Call mail-encode-header.
b8d747b9
KH
5418
5419 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
5420
db0406bb 54212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 5422
4d90d6d0
DK
5423 * mail/supercite.el (sc-default-cite-frame):
5424 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 5425
eb8a5e9b
GM
54262011-05-24 Glenn Morris <rgm@gnu.org>
5427
f8630703
GM
5428 * progmodes/python.el (brm-menu): Declare.
5429
8831bbed
GM
5430 * emulation/viper.el (viper-set-hooks): Declare.
5431
eb8a5e9b
GM
5432 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
5433 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
5434 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
5435 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
5436 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
5437 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
5438
a2a25d24
SM
54392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
5440
5441 Add an :exit-function for completion-at-point.
5442
5443 * minibuffer.el (completion--done): New fun.
5444 (completion--do-completion): Use it. New arg `expect-exact'.
5445 (minibuffer-complete, minibuffer-complete-word): Don't output message,
5446 since completion--do-completion does it for us now.
5447 (minibuffer-force-complete): Use completion--done and
5448 completion--replace. Handle sole-completion case with more care.
5449 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
5450 (completion-extra-properties): New var.
5451 (completion-annotate-function): Make obsolete.
5452 (minibuffer-completion-help): Adjust accordingly.
5453 Use completion-list-insert-choice-function.
5454 (completion-at-point, completion-help-at-point):
5455 Bind completion-extra-properties.
5456 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
5457 * simple.el (completion-list-insert-choice-function): New var.
5458 (completion-setup-function): Preserve it.
5459 (choose-completion): Pay attention to it, shuffle the code a bit.
5460 (choose-completion-string): New arg `insert-function'.
5461
5462 * textmodes/bibtex.el: Convert to lexical binding.
5463 (bibtex-mode-map): Use completion-at-point.
5464 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
5465 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
5466 (bibtex-complete): Define as obsolete alias.
5467 (bibtex-complete-internal): Remove.
5468 (bibtex-format-entry): Remove unused sub-group in regexp.
5469 * shell.el (shell--command-completion-data)
5470 (shell-environment-variable-completion):
5471 * pcomplete.el (pcomplete-completions-at-point):
5472 * comint.el (comint--complete-file-name-data): Use :exit-function
5473 instead of completion-table-with-terminator so it also works for
5474 choose-completion.
5475
e44e373d
SM
54762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5477
4f91a816
SM
5478 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
5479
782fc819
SM
5480 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
5481 (bug#8710).
5482
e44e373d
SM
5483 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
5484
381987c3
KM
54852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
5486
5487 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
5488 customization variable and implement: If non-nil, auto-fill will
5489 be inhibited while on topic's header line.
5490
b776bc70
VB
54912011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
5492
5493 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 5494 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
5495 always have a solution in grid size = 5 cases.
5496 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
5497 (5x5-solver-output, 5x5-log-buffer): New vars.
5498 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
5499 Make these variables buffer local to achieve 5x5 multi-session-ness.
5500 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
5501 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
5502 (5x5-solve-suggest): New funs.
5503 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
5504 randomize a grid so that we ensure that there is always a solution.
5505 (5x5-make-random-grid): Allow other movement than flipping.
5506
7de88b6e
KR
55072011-05-23 Kevin Ryde <user42@zip.com.au>
5508
5509 * emacs-lisp/advice.el (ad-read-advised-function):
5510 Use `function-called-at-point' as the default default, if it has
5511 advice and passes PREDICATE.
5512
b1ef1257
SM
55132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
5514
bbca48fe
SM
5515 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
5516 byte-compile-lambda if it's actually a lambda.
5517
b1ef1257
SM
5518 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
5519 Fix function quoting. Use backquote better.
5520
92a9cc65
YS
55212011-05-22 Yuanle Song <sylecn@gmail.com>
5522
5523 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
5524 matching (Bug#8516).
5525
f0fb8059
JA
55262011-01-22 Jari Aalto <jari.aalto@cante.net>
5527
5528 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
5529 different face (Bug#8178).
5530
d5b44c93
CY
55312011-05-22 Chong Yidong <cyd@stupidchicken.com>
5532
5533 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
5534 defface (Bug#8144).
5535
79106a44
SM
55362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
5537
9c848d8a
SM
5538 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
5539 funcall as well (bug#8712). Warn when performing those conversions.
5540 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
5541
79106a44
SM
5542 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
5543
88dfa756
GM
55442011-05-22 Glenn Morris <rgm@gnu.org>
5545
5546 * files.el (hack-local-variables-prop-line): Small simplifications.
5547 (hack-local-variables, hack-local-variables-prop-line):
5548 If MODE-ONLY, return the mode, rather than just `t'.
5549
b7cf2c79
SM
55502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
5553
3f1a8558
GM
55542011-05-21 Glenn Morris <rgm@gnu.org>
5555
7e4ccca3
GM
5556 * files.el (hack-local-variables-prop-line, hack-local-variables):
5557 If only interested in the mode, don't bother doing the other stuff.
5558
637d46ca
GM
5559 * image-mode.el (image-after-revert-hook):
5560 Redraw all frames on which the image is visible. (Bug#8567)
5561
973d955b
GM
5562 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
5563
3f1a8558
GM
5564 * wid-edit.el (widget-checklist-match-inline):
5565 Fix 2011-04-19 change. (Bug#8649)
5566
96479927
SM
55672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
5568
1dcf791f
SM
5569 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
5570 Also allow singlespace after single-letter capitals followed by a dot.
5571
96479927
SM
5572 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
5573 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
5574
35fd0881
N
55752011-05-20 Nix <nix@esperi.org.uk>
5576
5577 * files.el (basic-save-buffer-2):
5578 Fix handling of break-hardlink-on-save with non-existent files.
5579
82745640
DD
55802011-05-19 Deniz Dogan <deniz@dogan.se>
5581
5582 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 5583 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 5584
4a720484
GM
55852011-05-19 Glenn Morris <rgm@gnu.org>
5586
d1f21341
GM
5587 * progmodes/f90.el (f90-type-def-re):
5588 Handle "type, bind(c)". (Bug#8691)
5589
4a720484
GM
5590 * emacs-lisp/autoload.el (batch-update-autoloads):
5591 Set autoload-excludes by parsing loadup.el rather than Makefiles.
5592
2fb0a219
MA
55932011-05-18 Michael Albinus <michael.albinus@gmx.de>
5594
5595 * net/tramp.el (tramp-process-actions): Set "first-password-request"
5596 property for the correct connection in case of multihops.
5597
e565dd37
GM
55982011-05-18 Glenn Morris <rgm@gnu.org>
5599
c2571358 5600 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
5601 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
5602
e565dd37
GM
5603 Rationalize calendar handling of day and month abbrev-arrays.
5604 * calendar/calendar.el (calendar-customized-p): New function.
5605 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
5606 (calendar-day-name-array, calendar-month-name-array): Doc fix.
5607 Add :set function.
5608 (calendar-abbrev-length, calendar-day-abbrev-array)
5609 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
5610 (calendar-day-abbrev-array, calendar-month-abbrev-array):
5611 Elements may no longer be nil.
5612 (calendar-day-name, calendar-month-name):
5613 Update for changed nature of abbrev arrays.
5614 * calendar/diary-lib.el (diary-name-pattern):
5615 Update for changed nature of abbrev arrays.
5616 (diary-mark-entries-1): Update calendar-make-alist calls.
5617 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
5618 * calendar/cal-html.el (cal-html-day-abbrev-array):
5619 Simply inherit from calendar-day-abbrev-array.
5620
1d99a745
SM
56212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * progmodes/grep.el (grep-mode): Disable default
5624 compilation-directory-matcher setting (bug#8684).
5625
7c1d9aa0
MA
56262011-05-17 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
5629 instead of "head" and "tail". There were problems with SunOS 5.9,
5630 and it performs better.
5631
3952e9d8
GM
56322011-05-17 Glenn Morris <rgm@gnu.org>
5633
2dd12e7f
GM
5634 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
5635
e4157b9c
GM
5636 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5637 Replace obsolete function.
5638
8e249bbd
GM
5639 * shell.el (pcomplete-parse-arguments-function): Declare.
5640
3952e9d8
GM
5641 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
5642 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
5643 (appt-check): Doc fixes.
5644 (appt-disp-window-function, appt-delete-window-function):
5645 Remove needless special case in custom :type.
5646 (appt-display-count): Default to 0, not nil.
5647 (appt-check): Reset appt-display-count to 0, not nil.
5648
c71a0d48 56492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 5650
c71a0d48
GM
5651 * progmodes/python.el (python-font-lock-keywords):
5652 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 5653
31d55be9
SM
56542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
5657
3bfacb2f
KR
56582011-05-16 Kevin Ryde <user42@zip.com.au>
5659
5660 * info-look.el (makefile-automake-mode): New setups, looking in
5661 automake manual, then makefile-mode.
5662 (makefile-mode): Remove automake manual, have it just in
5663 makefile-automake-mode since there's various things different or
5664 not relevant to plain make.
5665 (makefile-mode): Remove "other-modes" non-existent automake-mode,
5666 believe a hypothetical automake-mode would go to makefile-mode,
5667 not the other way around.
5668
c8e83751
CY
56692011-05-15 Chong Yidong <cyd@stupidchicken.com>
5670
5e9e35cd
CY
5671 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
5672 hunk-end tags (Bug#8672).
5673
c8e83751
CY
5674 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
5675 vc-annotate-show-diff-revision-at-line (Bug#8671).
5676
50b23e5a
GM
56772011-05-14 Glenn Morris <rgm@gnu.org>
5678
7210a739
GM
5679 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
5680 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
5681 (change-log-font-lock-keywords): Also handle multiple author lines
5682 with leading tabs. (Bug#8644)
7210a739 5683
4691905a
GM
5684 * calendar/appt.el (appt-check): Rename some local variables.
5685 Some simplification/reordering.
5686
50b23e5a
GM
5687 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
5688 (feedmail-sendmail-f-doesnt-sell-me-out)
5689 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5690 (feedmail-debug-sit-for, feedmail-queue-express-hook)
5691 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
5692 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
5693 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
5694 (feedmail-binmail-gnulinuxish-template):
5695 Rename from feedmail-binmail-linuxish-template.
5696 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
5697 Use insert-buffer-substring.
5698
215cda7c
BC
56992011-05-14 Bill Carpenter <bill@carpenter.org>
5700
5701 * mail/feedmail.el (feedmail-patch-level): Increase.
5702 (feedmail-debug): New custom group.
5703 (feedmail-confirm-outgoing-timeout)
5704 (feedmail-sendmail-f-doesnt-sell-me-out)
5705 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
5706 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
5707 (feedmail-sender-line, feedmail-from-line)
5708 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 5709 (feedmail-spray-this-address)
215cda7c
BC
5710 (feedmail-spray-address-fiddle-plex-list)
5711 (feedmail-queue-use-send-time-for-date)
5712 (feedmail-queue-use-send-time-for-message-id)
5713 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
5714 (feedmail-buffer-eating-function):
5715 Doc fixes.
5716 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
5717 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
5718 (feedmail-message-action-scroll-down): New functions.
5719 (feedmail-queue-directory, feedmail-queue-draft-directory):
5720 Use expand-file-name.
5721 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
5722 Remove C-v help entry.
5723 (feedmail-queue-buffer-file-name): New variable.
5724 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
5725 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
5726 (feedmail-message-action-send-strong, feedmail-message-action-edit)
5727 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
5728 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
5729 (feedmail-message-action-toggle-spray)
5730 (feedmail-run-the-queue-no-prompts)
5731 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
5732 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
5733 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
5734 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
5735 (feedmail-envelope-deducer, feedmail-fiddle-from)
5736 (feedmail-fiddle-sender, feedmail-default-date-generator)
5737 (feedmail-fiddle-date, feedmail-fiddle-message-id)
5738 (feedmail-fiddle-spray-address)
5739 (feedmail-fiddle-list-of-spray-fiddle-plexes)
5740 (feedmail-fiddle-list-of-fiddle-plexes)
5741 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
5742 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
5743 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
5744 Change default. Doc fix.
5745 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
5746 (feedmail-binmail-linuxish-template): New constant.
5747 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
5748 Respect feedmail-sendmail-f-doesnt-sell-me-out.
5749 (feedmail-send-it): Add debug call.
5750 Use feedmail-queue-buffer-file-name, and
5751 feedmail-send-it-immediately-wrapper.
5752 (feedmail-message-action-send): Add debug call.
5753 Use feedmail-send-it-immediately-wrapper.
5754 (feedmail-queue-express-to-queue): Add debug call.
5755 Run feedmail-queue-express-hook.
5756 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
5757 (feedmail-message-action-help-blat):
5758 Rename from feedmail-queue-send-edit-prompt-help-first.
5759 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
5760 Check line-endings. Handle errors better.
5761 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
5762 Doc fix. Add debug call.
5763 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
5764 Use feedmail-queue-send-edit-prompt-inner.
5765 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
5766 (feedmail-queue-send-edit-prompt-inner): New function, extracted
5767 from feedmail-queue-send-edit-prompt.
5768 (feedmail-queue-send-edit-prompt-help)
5769 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
5770 (feedmail-tidy-up-slug): Add debug call.
5771 Respect feedmail-queue-slug-suspect-regexp.
5772 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
5773 (feedmail-dump-message-to-queue): Add debug call.
5774 Expand queue-directory.
5775 (feedmail-dump-message-to-queue): Change message slightly.
5776 Use feedmail-say-chatter.
5777 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
5778 (feedmail-send-it-immediately-wrapper): New function.
5779 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
5780 Insert empty string rather than newline. Handle full-frame case.
5781 Use catch/throw. Use feedmail-say-chatter.
5782 (feedmail-fiddle-from): Try mail-host-address.
5783 (feedmail-default-message-id-generator): Doc fix.
5784 Bind system-time-locale. Handle missing end.
5785 (feedmail-fiddle-x-mailer): Add debug call.
5786 Handle feedmail-x-mailer-line being nil.
5787 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
5788 Add debug call. Use buffer-substring-no-properties.
5789 (feedmail-say-debug, feedmail-say-chatter): New functions.
5790 (feedmail-find-eoh): Give an explicit error.
5791
42c7e61e
UJ
57922011-05-13 Ulf Jasper <ulf.jasper@web.de>
5793
c2571358 5794 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 5795 family from helvetica to sans.
c2571358 5796 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5797 etc/images/newsticker.
5798
c2571358 5799 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
5800 family from helvetica to sans.
5801
5802 * net/newst-plainview.el (newsticker-new-item-face)
5803 (newsticker-old-item-face, newsticker-immortal-item-face)
5804 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 5805 (newsticker-statistics-face): Change default family from
42c7e61e 5806 helvetica to sans.
c2571358 5807 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
5808 etc/images/newsticker.
5809
5810 * net/newst-backend.el (newsticker--do-run-auto-mark-filter),
5811 (newsticker--process-auto-mark-filter-match): : Tell user about
5812 auto-marking.
5813
8497a297
DV
58142011-05-13 Didier Verna <didier@xemacs.org>
5815
5816 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
5817 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
5818 TODO entries.
8497a297
DV
5819 (lisp-lambda-list-keyword-parameter-indentation)
5820 (lisp-lambda-list-keyword-parameter-alignment)
5821 (lisp-lambda-list-keyword-alignment): New customizable user options.
5822 (lisp-indent-defun-method): Improve docstring.
5823 (extended-loop-p): Fix comment.
5824 (lisp-indent-lambda-list-keywords-regexp): New variable.
5825 (lisp-indent-lambda-list): New function.
5826 (lisp-indent-259): Use it.
5827 (lisp-indent-defmethod): Support for more than one
5828 method qualifier and properly indent methods lambda-lists.
5829 (defgeneric): Provide a missing common-lisp-indent-function property.
5830
f278f87f
SM
58312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5832
5833 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
5834 bounds for the empty string (bug#8667).
5835
5233edd7
GM
58362011-05-13 Glenn Morris <rgm@gnu.org>
5837
5237a44f
GM
5838 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
5839
8340026c 5840 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 5841 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 5842
5233edd7 5843 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 5844 (appt-time-msg-list): Doc fix.
a5464014 5845 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 5846
92d10796
AS
58472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
5848
5849 * progmodes/ld-script.el (ld-script-keywords)
5850 (ld-script-builtins): Update keywords list.
5851
914a0ae1
SM
58522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5853
c89be45f
SM
5854 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
5855
914a0ae1
SM
5856 * shell.el (shell-completion-vars): New function.
5857 (shell-mode):
5858 * simple.el (read-shell-command): Use it.
5859 (blink-matching-open): No need for " [...]" in minibuffer-message.
5860
98dc3df3
GM
58612011-05-12 Glenn Morris <rgm@gnu.org>
5862
5863 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
5864 (appt-check): Simplify.
5865
d2fc7e3d 58662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 5867
4d61f28d 5868 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
5869 literal "/dev/null".
5870
d2fc7e3d 58712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
5872
5873 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
5874 Fix typo.
5875
d2fc7e3d 58762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 5877
3f254caa
SM
5878 * progmodes/which-func.el (which-function):
5879 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
5880 which might not be defined (Bug#8260).
5881
d45885f7
GM
58822011-05-12 Glenn Morris <rgm@gnu.org>
5883
5884 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
5885 Let byte-compile-initial-macro-environment always take precedence.
5886
488086f4
SM
58872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
5888
5889 * net/rcirc.el: Add support for SSL/TLS connections.
5890 (rcirc-server-alist): New field `encryption'.
5891 (rcirc): Check `encryption' settings.
5892 (rcirc-connect): New arg `encryption'. Use open-network-stream.
5893 Merge make-local-variable into `set'.
5894 (rcirc--connection-open-p): New function.
5895 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
5896 the process is not a network process (e.g. running gnutls-cli).
5897 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
5898 Make rcirc-(en|de)code-coding-system local here.
5899 (rcirc-mode): Merge make-local-variable into `set'.
5900 (rcirc-parent-buffer): Make permanent buffer-local.
5901 (rcirc-multiline-minor-mode): Don't do it here.
5902 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
5903 there's no server buffer.
5904
7d3b9d44
GM
59052011-05-11 Glenn Morris <rgm@gnu.org>
5906
f64049c6
GM
5907 * newcomment.el (comment-kill): Prefix "unused" local.
5908
93c9df73
GM
5909 * term/w32console.el (get-screen-color): Declare.
5910
7d3b9d44
GM
5911 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5912 Handle symbol elements of byte-compile-initial-macro-environment.
5913
9e2dd53f
LL
59142011-05-10 Leo Liu <sdl.web@gmail.com>
5915
488086f4
SM
5916 * bookmark.el (bookmark-bmenu-mode-map):
5917 Bind bookmark-bmenu-search to `/'.
8b340240 5918
9e2dd53f 5919 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
5920 (footnote-unicode-string, footnote-unicode-regexp): New variable.
5921 (Footnote-unicode): New function.
5922 (footnote-style-alist): Add unicode style to the list.
5923 (footnote-style): Doc fix.
9e2dd53f 5924
79b70037
GM
59252011-05-10 Jim Meyering <meyering@redhat.com>
5926
5927 Fix doubled-word typos.
5928 * international/quail.el (quail-insert-kbd-layout): and and -> and
5929 * kermit.el: and and -> and
5930 * net/ldap.el (ldap-search-internal): to to -> to
5931 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
5932 * progmodes/js.el (js-mode): and and -> and
5933 * textmodes/artist.el (artist-move-to-xy): at at -> at
5934 (artist-draw-region-trim-line-endings): if if -> if
5935 And Safetyc -> Safety.
5936 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
5937
b8f82dc1 59382011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 5939 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
5940
5941 * files.el (hack-one-local-variable-eval-safep):
5942 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
5943
4f99f44b
GM
59442011-05-10 Glenn Morris <rgm@gnu.org>
5945
5946 * calendar/diary-lib.el (diary-list-entries-hook)
5947 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
5948 (diary-nongregorian-marking-hook, diary-list-entries)
5949 (diary-include-other-diary-files, diary-mark-entries)
5950 (diary-mark-included-diary-files): Doc fixes.
5951
84f29e6b
JB
59522011-05-09 Juanma Barranquero <lekktu@gmail.com>
5953
5954 * misc.el: Require tabulated-list.el during compilation.
5955
9bedd73a
CY
59562011-05-09 Chong Yidong <cyd@stupidchicken.com>
5957
488086f4
SM
5958 * progmodes/compile.el (compilation-start):
5959 Run compilation-filter-hook for the async case too.
9bedd73a
CY
5960 (compilation-filter-hook): Doc fix.
5961
797c735c
DD
59622011-05-09 Deniz Dogan <deniz@dogan.se>
5963
5964 * wdired.el: Remove outdated installation comment. Fix usage
5965 comment.
5966
5f4b1dfe
JB
59672011-05-09 Juanma Barranquero <lekktu@gmail.com>
5968
5969 * misc.el: Implement new command `list-dynamic-libraries'.
5970 (list-dynamic-libraries--loaded-only-p): New variable.
5971 (list-dynamic-libraries--refresh): New function.
5972 (list-dynamic-libraries): New command.
5973
4c44026c
CY
59742011-05-09 Chong Yidong <cyd@stupidchicken.com>
5975
488086f4
SM
5976 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5977 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
5978 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
5979 higher priority to avoid clobbering by gnu.
5980
027f966d
CY
59812011-05-08 Chong Yidong <cyd@stupidchicken.com>
5982
5983 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
5984 if the face has existing theme settings (Bug#8454).
5985
085f5d7d
CY
59862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
5987
488086f4
SM
5988 * progmodes/perl-mode.el (perl-imenu-generic-expression):
5989 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 5990
2a86a00c
RS
5991 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
5992 special file names `.' and `..' (Bug#8259).
5993
d9c54a06
CY
59942011-05-08 Chong Yidong <cyd@stupidchicken.com>
5995
488086f4
SM
5996 * progmodes/grep.el (grep-mode-font-lock-keywords):
5997 Remove buffer-changing entries.
d9c54a06
CY
5998 (grep-filter): New function.
5999 (grep-mode): Add it to compilation-filter-hook.
6000
6001 * progmodes/compile.el (compilation-filter-hook)
6002 (compilation-filter-start): New defvars.
6003 (compilation-filter): Call compilation-filter-hook prior to
6004 updating the process mark.
6005
c4662635
SM
60062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
6009
b0512a1d
EZ
60102011-05-07 Eli Zaretskii <eliz@gnu.org>
6011
605c9376
EZ
6012 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
6013 mailclient-send-it even if window-system is nil. (Bug#8595)
6014
c4662635
SM
6015 * term/w32console.el (terminal-init-w32console):
6016 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
6017 background-mode. (Bug#8597)
6018
d1dc2cc2
SM
60192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 Make bytecomp.el understand that defmethod defines funs (bug#8631).
6022 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
6023 New functions.
6024 (defgeneric, eieio--defmethod): Use them.
6025 (eieio-defgeneric): Remove.
6026 (defmethod): Call defgeneric in a way visible to the byte-compiler.
6027
915d1300
GM
60282011-05-07 Glenn Morris <rgm@gnu.org>
6029
a3961c3e
GM
6030 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
6031 Use let rather than let*.
6032 (timeclock-find-discrep): Remove unused local.
6033
314347b9
GM
6034 * calendar/diary-lib.el (diary-comment-start): Doc fix.
6035
915d1300
GM
6036 * calendar/appt.el (appt-time-msg-list): Doc fix.
6037
275b59b0
NF
60382011-05-06 Noah Friedman <friedman@splode.com>
6039
6040 * apropos.el (apropos-print-doc): Only use
6041 emacs-lisp-docstring-fill-column when it is bound to an integer,
6042 per that variable's documentation.
6043
6c19f744
SM
60442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 6047 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 6048
60f884b2
GM
60492011-05-06 Glenn Morris <rgm@gnu.org>
6050
5006e634
GM
6051 * calendar/appt.el (appt-message-warning-time): Doc fix.
6052 (appt-warning-time-regexp): New option.
6053 (appt-make-list): Respect appt-message-warning-time.
6054
548d0a63
GM
6055 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
6056 New options.
6057 (diary-add-to-list): Strip comments from the displayed string.
6058 (diary-mode): Set comment-start and comment-end.
6059
60f884b2
GM
6060 * vc/diff-mode.el (smerge-refine-subst): Declare.
6061 (diff-refine-hunk): Don't require smerge-mode when compiling.
6062
989681bb
JB
60632011-05-06 Juanma Barranquero <lekktu@gmail.com>
6064
6065 * simple.el (list-processes): Return nil as the docstring says.
6066
a6bc05e1
MA
60672011-05-05 Michael Albinus <michael.albinus@gmx.de>
6068
6069 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
6070 to "".
6071 (ange-ftp-write-region, ange-ftp-insert-file-contents)
6072 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
6073 determining of binary transfer. (Bug#7383)
6074
23c22e9a
MA
60752011-05-05 Michael Albinus <michael.albinus@gmx.de>
6076
c4662635
SM
6077 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6078 Fix port computation bug. (Bug#8618)
23c22e9a 6079
0bff894f
GM
60802011-05-05 Glenn Morris <rgm@gnu.org>
6081
b8296902
GM
6082 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
6083
1f522ce8
GM
6084 * simple.el (shell-dynamic-complete-functions)
6085 (comint-dynamic-complete-functions): Declare.
6086
cf5bee67
GM
6087 * net/network-stream.el (gnutls-negotiate):
6088 * simple.el (tabulated-list-print): Fix declarations.
6089
6090 * progmodes/gud.el (syntax-symbol, syntax-point):
6091 Remove unnecessary and incorrect declarations.
6092
0bff894f
GM
6093 * emacs-lisp/check-declare.el (check-declare-scan):
6094 Handle byte-compile-initial-macro-environment in bytecomp.el
6095
9869b3ae
SM
60962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
6097
6098 Fix earlier half-done eieio-defmethod change (bug#8338).
6099 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
6100 Streamline and change calling convention.
6101 (defmethod): Adjust accordingly and simplify.
6102 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
6103 new eieio--defmethod.
6104 (slot-boundp): Minor CSE simplification.
6105
9c1d5ac5
MZ
61062011-05-05 Milan Zamazal <pdm@zamazal.org>
6107
6108 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
6109 (glasses-make-readable): Use glasses-separate-capital-groups.
6110
455c834e
JB
61112011-05-05 Juanma Barranquero <lekktu@gmail.com>
6112
6113 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
6114 (warning-series): Doc fix.
6115 (display-warning): Don't try to create the buffer if we just found it.
6116
9ed7c8cb
CY
61172011-05-04 Chong Yidong <cyd@stupidchicken.com>
6118
6119 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
6120 (autoload-find-generated-file): New function.
6121 (generate-file-autoloads): Bind generated-autoload-file to
6122 buffer-file-name.
9869b3ae
SM
6123 (update-file-autoloads, update-directory-autoloads):
6124 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
6125 output file (Bug#7989).
6126 (batch-update-autoloads): Doc fix.
6127
0898ca10
JB
61282011-05-04 Juanma Barranquero <lekktu@gmail.com>
6129
6130 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
6131
31dfb76c
GM
61322011-05-04 Glenn Morris <rgm@gnu.org>
6133
f330b642
GM
6134 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
6135 function, so it follows changes in calendar-date-style.
6136 (diary-fancy-date-matcher): New function.
6137 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
6138 (diary-fancy-font-lock-fontify-region-function):
6139 Use diary-fancy-date-pattern as a function.
6140
31dfb76c
GM
6141 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
6142 non-numbers for `year' etc pseudo-variables. (Bug#8583)
6143
48e79d6a
TZ
61442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
6145
6146 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
6147 instead of positional arguments. Allow :keylist and :crlfiles
6148 arguments.
6149 (open-gnutls-stream): Call it.
6150
6151 * net/network-stream.el (network-stream-open-starttls): Adjust to
6152 call `gnutls-negotiate' with :process and :hostname arguments.
6153
dd5a5ee0
SM
61542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
6155
ef80fc09
SM
6156 * minibuffer.el (completion--message): New function.
6157 (completion--do-completion, minibuffer-complete)
6158 (minibuffer-force-complete, minibuffer-complete-word): Use it.
6159 (completion--do-completion): Don't ignore completion-auto-help when in
6160 icomplete-mode.
6161
dd5a5ee0
SM
6162 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
6163 internal encoding (e.g. tibetan zero is not whitespace).
6164 (global-whitespace-mode): Prefer save-current-buffer.
6165 (whitespace-trailing-regexp): Remove useless save-match-data.
6166 (whitespace-empty-at-bob-regexp): Minor simplification.
6167
b7d22a83
CY
61682011-05-03 Chong Yidong <cyd@stupidchicken.com>
6169
6170 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
6171
5192af46
AM
61722011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6173
6174 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 6175 Use `concat' to create string for insertion.
5192af46 6176
5767d190
SM
61772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6178
6179 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
6180 Avoid open-line which runs post-self-insert-hook.
6181 (bibtex-fill-entry): Remove unused `end' var.
6182
bf242939
AM
61832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
6184
5767d190
SM
6185 * textmodes/ispell.el (ispell-add-per-file-word-list):
6186 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 6187
25666126
LL
61882011-05-03 Leo Liu <sdl.web@gmail.com>
6189
6190 * isearch.el (isearch-yank-pop): New command.
5767d190 6191 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
6192 (isearch-forward): Mention it.
6193
52d3c2d0
SM
61942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
6195
1bcace58
SM
6196 * simple.el (minibuffer-complete-shell-command): Remove.
6197 (minibuffer-local-shell-command-map): Use completion-at-point.
6198 (read-shell-command): Setup completion vars here instead.
6199 (read-expression-map): Bind TAB to symbol completion.
6200
52d3c2d0
SM
6201 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
6202 error directly rather via storing it into `results'.
6203
35813471
LL
62042011-05-02 Leo Liu <sdl.web@gmail.com>
6205
6206 * vc/diff.el: Fix description.
6207
e793a940
LMI
62082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
6209
6210 * server.el (server-eval-at): New function.
6211
8de66e05
LMI
62122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6213
6214 * net/network-stream.el (open-network-stream): Take a :nowait
6215 parameter and pass it on to `make-network-process'.
6216 (network-stream-open-plain): Ditto.
6217
dcb79f20
AS
62182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
6219
6220 * faces.el (face-spec-set-match-display): Don't match toolkit
6221 options on terminal frames.
6222
14a7fbd8
SM
62232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
6224
7eabc1be
SM
6225 * progmodes/pascal.el: Use lexical binding.
6226 (pascal-mode-map): Remove author preferences.
6227
14a7fbd8
SM
6228 * pcomplete.el (pcomplete-std-complete): Don't abuse
6229 completion-at-point.
6230
50f84510
JB
62312011-04-28 Juanma Barranquero <lekktu@gmail.com>
6232
6e087a44
JB
6233 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
6234 removing code that has been dead since 1991 or so.
6235
50f84510
JB
6236 * startup.el (command-line): When warning about "_emacs", use a
6237 delayed warning to allow the user to filter it out.
6238
0ba690bd
DD
62392011-04-28 Deniz Dogan <deniz@dogan.se>
6240
6241 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
6242 user has not joined.
6243
08abfaad
SM
62442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
6247 aren't any completions at point.
6248
638f053a
JB
62492011-04-28 Juanma Barranquero <lekktu@gmail.com>
6250
6251 * subr.el (display-delayed-warnings): New function.
6252 (delayed-warnings-hook): New variable.
6253
8fff8daa
SM
62542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
6255
08abfaad
SM
6256 * minibuffer.el (completion-at-point, completion-help-at-point):
6257 Don't presume that a given completion-at-point-function will always
6258 use the same calling convention.
6259
8fff8daa
SM
6260 * pcomplete.el (pcomplete-completions-at-point):
6261 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
6262 pcomplete-seen is non-nil.
6263 (pcomplete-comint-setup): Also recognize the new comint/shell
6264 completion functions.
6265 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
6266 pcomplete-seen is non-nil.
6267
841a1577 62682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 6269
841a1577 6270 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 6271 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 6272 the first character in the entry. This allows for code to add its
211ec907
UJ
6273 own uid to the entry.
6274 (icalendar--convert-float-to-ical): Add export of
6275 `diary-float'-entries save for those with the optional DAY
6276 argument.
6277
2a782793
DC
62782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
6279
6280 * subr.el (shell-quote-argument): Use alternate escaping strategy
6281 when we spot a variable reference in a string.
6282
0438ce91
DC
62832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
6284
6285 * cus-start.el (all): Define customization for debug-on-event.
6286
841a1577 62872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
6288
6289 * subr.el (shell-quote-argument): Escape correctly under Windows.
6290
d090ed6c
SM
62912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
6294
bfd31217
MA
62952011-04-25 Michael Albinus <michael.albinus@gmx.de>
6296
d090ed6c
SM
6297 * net/tramp.el (tramp-process-actions): Add POS argument.
6298 Delete region between POS and (pos).
bfd31217 6299
d090ed6c
SM
6300 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
6301 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
6302 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
6303
6304 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
6305 position in `tramp-process-actions' call.
6306
6307 * net/trampver.el: Update release number.
6308
e92f3bd3
SM
63092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
6310
850256b5
SM
6311 * custom.el (defcustom): Obey lexical-binding.
6312
e92f3bd3
SM
6313 Fix octave-inf completion problems reported by Alexander Klimov.
6314 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
6315 Inherit from octave-mode-syntax-table.
6316 (inferior-octave-mode): Set info-lookup-mode.
6317 (inferior-octave-completion-at-point): New function.
6318 (inferior-octave-complete): Use it and completion-in-region.
6319 (inferior-octave-dynamic-complete-functions): Use it as well, and use
6320 comint-filename-completion.
6321 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
6322 symbol elements which shouldn't be word elements.
6323 (octave-font-lock-keywords, octave-beginning-of-defun)
6324 (octave-function-header-regexp): Adjust regexps accordingly.
6325 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
6326
cd22b309
JB
63272011-04-25 Juanma Barranquero <lekktu@gmail.com>
6328
6329 * net/gnutls.el (gnutls-errorp): Declare before first use.
6330
8b492194
TZ
63312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
6332
6333 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
6334 verify-error, and verify-hostname-error parameters. Check whether
cd22b309
JB
6335 default trustfile exists before going to use it. Add missing
6336 argument to gnutls-message-maybe call. Return return value.
8b492194
TZ
6337 Reported by Claudio Bley <claudio.bley@gmail.com>.
6338 (open-gnutls-stream): Add usage example.
6339
6340 * net/network-stream.el (network-stream-open-starttls): Give host
6341 parameter to `gnutls-negotiate'.
6342 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 6343 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 6344
841a1577 63452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 6346
cd22b309
JB
6347 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6348 Use correct match group (bug#8438).
05842630 6349
3ba7869c
CY
63502011-04-24 Chong Yidong <cyd@stupidchicken.com>
6351
512e3ae1
CY
6352 * emacs-lisp/package.el (package-built-in-p): Fix typo.
6353 (package-menu--generate): New arg specifying packages to show.
6354 (package-menu-refresh, package-menu-execute, list-packages):
6355 Callers changed.
6356 (package-show-package-list): New function, replacing deleted
6357 package--list-packages (renamed because it is non-internal).
6358
6359 * finder.el (finder-list-matches): Use package-show-package-list
6360 instead of deleted package--list-packages.
6361
e92f3bd3
SM
6362 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
6363 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
6364 (vc-annotate-mode-map): Bind it to RET.
6365
7031be6d
UR
63662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
6367
6368 * progmodes/etags.el (next-file): Don't use set-buffer to change
6369 buffers (Bug#8478).
6370
4ef177aa
CY
63712011-04-24 Chong Yidong <cyd@stupidchicken.com>
6372
c8d173eb
CY
6373 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
6374
4ef177aa
CY
6375 * apropos.el (apropos-label-face): Avoid variable-pitch face.
6376 (apropos-accumulator): Doc fix.
6377 (apropos-function, apropos-macro, apropos-command)
6378 (apropos-variable, apropos-face, apropos-group, apropos-widget)
6379 (apropos-plist): Add face property.
6380 (apropos-symbols-internal): Fix indentation.
6381 (apropos-print): Simplify help, and recognize apropos-multi-type.
6382 (apropos-print-doc): Use button-type-get to extract the button's
6383 face property. Fill docstring (Bug#8352).
6384
4ffd0d6b 63852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
6386
6387 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
6388
c6c32125 6389 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 6390 (mpuz-mode-map): Use mapc.
c6c32125
JB
6391 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
6392 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
6393 Fix typos in docstrings.
6394
58d468b4
JB
6395 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
6396 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
6397
6470c3c6
JB
6398 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
6399
4ffd0d6b 64002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
6401
6402 * minibuffer.el (completion--do-completion): Avoid the "Next char
6403 not unique" prompt if icomplete-mode is enabled (Bug#5849).
6404
3ad8bad0
CY
6405 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
6406 mouse-2 into unread-command-events, it is interpreted correctly.
6407
71d73c9c 6408 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 6409 (image-toggle-display): Doc fix.
71d73c9c 6410
841a1577 64112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 6412
4ffd0d6b
GM
6413 * textmodes/page.el (what-page): Use line-number-at-pos to
6414 calculate line number (Bug#6825).
6e1dbaa9 6415
c2fb1b60
JB
64162011-04-22 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * eshell/esh-mode.el (find-tag-interactive): Declare function.
6419 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
6420 Pass argument NO-DEFAULT to `find-tag-interactive'.
6421
e02f48d7
JB
64222011-04-22 Juanma Barranquero <lekktu@gmail.com>
6423
6424 Lexical-binding cleanup.
6425
6426 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
6427 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
6428 * progmodes/ada-prj.el (ada-prj-initialize-values)
6429 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
6430 (ada-prj-show-value):
6431 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
6432 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
6433 (antlr-invalidate-context-cache, antlr-options-menu-filter)
6434 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
6435 * progmodes/bug-reference.el (bug-reference-push-button):
6436 * progmodes/fortran.el (fortran-line-length):
6437 * progmodes/glasses.el (glasses-change):
6438 * progmodes/octave-mod.el (octave-fill-paragraph):
6439 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
6440 (python-pdbtrack-grub-for-buffer, python-sentinel):
6441 * progmodes/sql.el (sql-save-connection):
6442 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
6443 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
6444 Mark unused parameters.
6445
6446 * progmodes/compile.el (compilation--flush-directory-cache)
6447 (compilation--flush-parse, compile-internal): Mark unused parameters.
6448 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
6449 (compilation-next-error-function): Remove unused variable `timestamp'.
6450
6451 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
6452 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
6453
6454 * progmodes/dcl-mode.el (dcl-end-of-command):
6455 Remove unused variable `start'.
6456 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
6457 (dcl-option-value-basic, dcl-option-value-offset)
6458 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
6459 Mark unused parameters.
6460 (dcl-save-local-variable): Remove unused variable `val'.
6461 (mode): Declare.
6462
6463 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
6464 Mark unused parameters.
6465 (delphi-ignore-changes): Move before first use.
6466 (delphi-charset-token-at): Remove unused variable `start'.
6467 (delphi-else-start): Remove unused variable `if-count'.
6468 (delphi-comment-block-start, delphi-comment-block-end):
6469 Remove unused variable `kind'.
6470 (delphi-indent-line): Remove unused variable `new-point'.
6471
6472 * progmodes/ebrowse.el (ebrowse-files-list)
6473 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
6474 Mark unused parameters. Don't quote `lambda'.
6475 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
6476 Don't quote `lambda'.
6477 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
6478 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
6479 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
6480 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
6481 Use `ignore-errors'.
6482 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
6483 (ebrowse-view/find-file-and-search-pattern)
6484 (ebrowse-view/find-member-declaration/definition):
6485 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
6486 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
6487 Rename parameter PREFIX-ARG to PREFIX.
6488 (ebrowse-tags-read-name): Remove unused variables `start' and
6489 `member-info'.
6490 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
6491 to `tags-file'.
6492
6493 * progmodes/etags.el (local-find-tag-hook): Declare.
6494 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
6495 Mark unused parameters.
6496
6497 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
6498 (executable-interpret): Mark unused parameter.
6499
6500 * progmodes/flymake.el (flymake-process-sentinel)
6501 (flymake-after-change-function)
6502 (flymake-create-temp-with-folder-structure)
6503 (flymake-get-include-dirs-dot): Mark unused parameters.
6504 (flymake-safe-delete-directory): Remove unused variable `err'.
6505
6506 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
6507 (speedbar-timer-fn, speedbar-line-text)
6508 (speedbar-change-expand-button-char, speedbar-delete-subblock)
6509 (speedbar-center-buffer-smartly): Declare functions.
6510 (gdb-find-watch-expression): Remove unused variable `array'.
6511 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
6512 (gdb-starting): Mark unused parameters.
6513 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
6514 (gdb-table-string): Remove unused variable `res'.
6515 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
6516 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
6517 (gdb-display-buffer): Remove unused variable `cur-size'.
6518
6519 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
6520 allow lexical-binding compilation.
6521 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
6522 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
6523 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
6524 Mark unused parameters.
6525 (gud-gdb-marker-filter): Remove unused variable `match'.
6526 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
6527 lambda expressions and funcall them, instead of using `fset'.
6528
6529 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
6530 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
6531
6532 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
6533 variable `header-beg'; use `let'.
6534
6535 * progmodes/icon.el (indent-icon-exp): Remove unused variables
6536 `restart', `last-sexp' and `at-do'.
6537
6538 * progmodes/js.el (js--debug): Mark unused parameter.
6539 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
6540 (js--splice-into-items): Remove unused variable `item'.
6541 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
6542
6543 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
6544 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
6545 (makefile-complete): Remove unused variable `try'.
6546 (makefile-fill-paragraph, makefile-match-function-end):
6547 Mark unused parameters.
6548
6549 * progmodes/octave-inf.el (inferior-octave-complete):
6550 Remove unused variable `proc'.
6551 (inferior-octave-output-digest): Mark unused parameter.
6552
6553 * progmodes/perl-mode.el (perl-calculate-indent):
6554 Remove unused variable `err'.
6555
6556 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
6557 (prolog-indent-line): Mark unused parameters.
6558 (prolog-indent-line): Remove unused variable `beg'.
6559
6560 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
6561 (reporter-dont-compact-list): Declare.
6562
6563 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
6564 Remove unused variable `char'.
6565 (sh-debug): Mark unused parameter.
6566 (sh-get-indent-info): Remove unused variable `start'.
6567 (sh-calculate-indent): Remove unused variable `var'.
6568
6569 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
6570 (simula-electric-keyword): Remove unused variable `null'.
6571 (simula-search-backward, simula-search-forward): Remove unused
6572 variables `begin' and `end'.
6573
6574 * progmodes/vera-mode.el (vera-guess-basic-syntax):
6575 Remove unused variable `pos'.
6576 (vera-electric-tab, vera-comment-uncomment-region):
6577 Mark unused parameters.
6578 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
6579
7ede3b65
CY
65802011-04-22 Chong Yidong <cyd@stupidchicken.com>
6581
6582 * emacs-lisp/package.el (package--builtins, package-alist)
6583 (package-load-descriptor, package-built-in-p, package-activate)
6584 (define-package, package-installed-p)
6585 (package-compute-transaction, package-buffer-info)
6586 (package--push): Doc fix. Distinguish more clearly between
6587 version strings and version lists.
6588
121656e9
JB
65892011-04-21 Juanma Barranquero <lekktu@gmail.com>
6590
6591 Lexical-binding cleanup.
6592
6593 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
6594 (5x5-make-mutate-best):
6595 * play/fortune.el (fortune-in-buffer):
6596 * play/gomoku.el (gomoku-init-display):
6597 * play/solitaire.el (solitaire, solitaire-do-check):
6598 * play/tetris.el (tetris-default-update-speed-function):
6599 Mark unused parameters.
6600
6601 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
6602 (bubbles--shift): Remove unused variable `char-org'.
6603 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
6604 (bubbles--show-images): Remove unused variable `char'.
6605
6606 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
6607 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
6608 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
6609 (decipher-analyze-buffer): Use ?\s.
6610 (decipher-make-checkpoint): Remove unused variable `mapping'.
6611
6612 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
6613
6614 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
6615 Remove unused variable `result'; use `let'.
6616
6617 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
6618 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
6619 (gametree-children-shown-p, gametree-compute-reduced-score):
6620 Use `ignore-errors'.
6621
6622 * play/handwrite.el (ps-lpr-switches): Declare.
6623 (handwrite): Remove unused variables `pmin' and `lastp'.
6624
6625 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
6626
6627 * play/landmark.el (landmark-init-display)
6628 (landmark-update-naught-weights): Mark unused parameters.
6629 (landmark-y): Remove unused variable `noise'. Simplify.
6630 (landmark-human-plays): Remove unused variable `score'.
6631
6632 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
6633 (mpuz-try-proposal): Remove unused variable `game'.
6634
6635 * play/zone.el (life-patterns): Declare.
6636
80f499c7
JB
66372011-04-20 Juanma Barranquero <lekktu@gmail.com>
6638
6639 * vc/vc.el (ediff-vc-internal): Declare function.
6640
024ff170
SM
66412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6642
c0a193ea
SM
6643 * shell.el: Use lexical-binding and std completion UI.
6644 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
6645 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
6646 comint-preoutput-filter-functions rather than on
6647 comint-output-filter-functions.
6648 (shell-command-completion, shell--command-completion-data)
6649 (shell-filename-completion, shell-environment-variable-completion)
6650 (shell-c-a-p-replace-by-expanded-directory): New functions.
6651 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
6652 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
6653 (shell-dynamic-complete-environment-variable): Use them.
6654 (shell-dynamic-complete-as-environment-variable)
6655 (shell-dynamic-complete-as-command): Remove.
6656 (shell-match-partial-variable): Match past point.
6657 * comint.el: Clean up use of completion-at-point-functions.
6658 (comint-completion-at-point): New function.
6659 (comint-mode): Use it completion-at-point-functions.
6660 (comint-dynamic-complete): Make it obsolete.
6661 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
6662 (comint-c-a-p-replace-by-expanded-history): New function.
6663 (comint-dynamic-complete-functions)
6664 (comint-replace-by-expanded-history): Use it.
6665 * minibuffer.el (completion-table-with-terminator): Allow dynamic
6666 termination strings. Try harder to avoid second try-completion.
6667 (completion-in-region-mode-map): Disable bindings that don't work yet.
6668
2dbaa080
SM
6669 * comint.el: Use lexical-binding. Require CL.
6670 (comint-dynamic-complete-functions): Use comint-filename-completion.
6671 (comint-completion-addsuffix): Tweak custom type.
6672 (comint-filename-completion, comint--common-suffix)
6673 (comint--common-quoted-suffix, comint--table-subvert)
6674 (comint--complete-file-name-data): New functions.
6675 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
6676 (comint-dynamic-list-filename-completions): Use them.
6677 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 6678
2dbaa080
SM
6679 * minibuffer.el (completion-in-region-mode):
6680 Keep completion-in-region-mode--predicate global.
6681 (completion-in-region--postch):
6682 Assume completion-in-region-mode--predicate is not null.
6683
c79a6f38
SM
6684 * progmodes/flymake.el (flymake-start-syntax-check-process):
6685 Obey `dir'. Simplify.
6686
024ff170
SM
6687 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
6688 we're in VC after all.
6689
1c6c854e
CS
66902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
6691
6692 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 6693 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
6694 (vc-version-diff): Use vc-diff-build-argument-list-internal.
6695
bed7f140
SM
66962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6697
332e62ab
SM
6698 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
6699 add sanity check.
6700
bed7f140
SM
6701 * obsolete/erc-hecomplete.el: Make obsolete.
6702 * obsolete/: Standardize obsolescence info in the header.
6703
f195c582
GM
67042011-04-20 Glenn Morris <rgm@gnu.org>
6705
6706 * calendar/solar.el (solar-horizontal-coordinates):
6707 Use the longitude argument rather than `calendar-longitude'.
6708 (solar-date-next-longitude): Remove unused locals.
6709
cb79b8c0
VJL
67102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6711
6712 * whitespace.el: New version 13.2.1.
6713
67142011-04-20 felix <EmacsWiki> (tiny change)
6715
d8e4b68b 6716 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
6717 switching between major modes on a file.
6718
602ea69d
SM
67192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6720
6721 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
6722 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
6723 multi-line comments as well.
6724
06b60517
JB
67252011-04-19 Juanma Barranquero <lekktu@gmail.com>
6726
6727 Lexical-binding cleanup.
6728
6729 * arc-mode.el (archive-mode-revert):
6730 * cmuscheme.el (scheme-interactively-start-process):
6731 * custom.el (custom-initialize-delay):
6732 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
6733 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
6734 * emacs-lock.el (emacs-lock-clear-sentinel):
6735 * ezimage.el (defezimage):
6736 * follow.el (follow-avoid-tail-recenter):
6737 * fringe.el (set-fringe-mode-1):
6738 * generic-x.el (bat-generic-mode-compile):
6739 * help-mode.el (help-info-variable, help-do-xref)
6740 (help-mode-revert-buffer):
6741 * help.el (view-emacs-todo):
6742 * iswitchb.el (iswitchb-completion-help):
6743 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
6744 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
6745 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
6746 * locate.el (locate-update):
6747 * longlines.el (longlines-encode-region)
6748 (longlines-after-change-function):
6749 * outline.el (outline-isearch-open-invisible):
6750 * ps-def.el (declare-function, charset-dimension, char-width)
6751 (encode-char):
6752 * ps-mule.el (ps-mule-plot-string):
6753 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
6754 (recentf-edit-list-select, recentf-edit-list-validate)
6755 (recentf-open-files-action):
6756 * rect.el (delete-whitespace-rectangle-line)
6757 (rectangle-number-line-callback):
6758 * register.el (window-configuration-to-register)
6759 (frame-configuration-to-register):
6760 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
6761 * select.el (xselect-convert-to-string, xselect-convert-to-length)
6762 (xselect-convert-to-targets, xselect-convert-to-delete)
6763 (xselect-convert-to-filename, xselect-convert-to-charpos)
6764 (xselect-convert-to-lineno, xselect-convert-to-colno)
6765 (xselect-convert-to-os, xselect-convert-to-host)
6766 (xselect-convert-to-user, xselect-convert-to-class)
6767 (xselect-convert-to-name, xselect-convert-to-integer)
6768 (xselect-convert-to-atom, xselect-convert-to-identity):
6769 * subr.el (declare, ignore, process-kill-without-query)
6770 (text-clone-maintain):
6771 * terminal.el (te-get-char, te-tic-sentinel):
6772 * tool-bar.el (tool-bar-make-keymap):
6773 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
6774 * type-break.el (type-break-mode, type-break-noninteractive-query):
6775 * view.el (View-back-to-mark):
6776 * wid-browse.el (widget-browse-action, widget-browse-widget)
6777 (widget-browse-widgets, widget-browse-sexp):
6778 * widget.el (define-widget-keywords):
6779 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
6780 Mark unused parameters.
6781
6782 * align.el (align-adjust-col-for-rule): Mark unused parameter.
6783 (align-areas): Remove unused variable `look'.
6784 (align-region): Remove unused variables `real-end' and `pos-list'.
6785
6786 * apropos.el (apropos-score-doc): Remove unused variable `i'.
6787
6788 * bindings.el (mode-line-modified, mode-line-remote):
6789 Mark unused parameters.
6790 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
6791
6792 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
6793 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
6794
6795 * comint.el (comint-history-isearch-pop-state)
6796 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
6797 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
6798 (comint-substitute-in-file-name): Doc fix.
6799
6800 * completion.el (cmpl-statistics-block): Mark unused parameter.
6801 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
6802 (save-completions-to-file, load-completions-from-file):
6803 Remove unused local variable `e'.
6804
6805 * composite.el (compose-chars): Remove unused variable `len'.
6806 (lgstring-insert-glyph): Remove unused variable `g'.
6807 (compose-glyph-string): Remove unused variables `ascent',
6808 `descent', `lbearing' and `rbearing'.
6809 (compose-glyph-string-relative): Remove unused variables
6810 `lbearing', `rbearing' and `wadjust'.
6811 (compose-gstring-for-graphic): Remove unused variables `header',
6812 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
6813 (compose-gstring-for-terminal): Remove unused variables `header'
6814 and `nchars'. Use `let', not `let*'.
6815
6816 * cus-edit.el (Custom-set, Custom-save, custom-reset)
6817 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
6818 (Custom-buffer-done, custom-buffer-create-internal)
6819 (custom-browse-visibility-action, custom-browse-group-tag-action)
6820 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
6821 (widget-magic-mouse-down-action, custom-toggle-parent)
6822 (custom-add-parent-links, custom-toggle-hide-variable)
6823 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
6824 (custom-toggle-hide-face, face, hook, custom-group-link-action)
6825 (custom-face-menu-create, custom-variable-menu-create, get)
6826 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
6827 (custom-reset-standard-save-and-update): Remove unused variable `value'.
6828 (customize-apropos): Remove unused variable `tests'.
6829 (custom-group-value-create): Remove unused variable `hidden-p'.
6830 (sort-fold-case): Declare.
6831
6832 * cus-theme.el (custom-reset-standard-faces-list)
6833 (custom-reset-standard-variables-list): Declare.
6834 (customize-create-theme, custom-theme-revert, custom-theme-write)
6835 (custom-theme-choose-mode, customize-themes, custom-theme-save):
6836 Mark unused parameters.
6837
6838 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
6839
6840 * delim-col.el (delimit-columns-max): Move defvar before first use.
6841
6842 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 6843 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
6844
6845 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
6846 (auto-insert): Declare.
6847 (desktop-restore-file-buffer): Rename desktop-* parameters;
6848 mark unused ones.
6849 (desktop-create-buffer): Rename desktop-* parameters and bind them.
6850 (desktop-buffer): Rename desktop-* parameters.
6851
6852 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6853 (dframe-reposition-frame-xemacs, dframe-help-echo)
6854 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
6855 Mark unused parameters.
6856
6857 * dired-aux.el (backup-extract-version-start, overwrite-query)
6858 (overwrite-backup-query, rename-regexp-query)
6859 (rename-non-directory-query): Declare.
6860 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
6861 (dired-add-entry): Remove unused variable `orig-file-name'.
6862 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
6863 Use parameter PRESERVE-TIME instead of accessing dynamic variable
6864 `dired-copy-preserve-time' directly.
6865 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
6866 (dired-insert-subdir-newpos): Rename unused variable `pos'.
6867
6868 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
6869 (dired-virtual-revert, dired-make-relative-symlink):
6870 Mark unused parameters.
6871 (manual-program): Declare.
6872 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
6873 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
6874 wrapped in `with-no-warnings' to avoid replacing one warning by another.
6875
6876 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
6877
6878 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
6879
6880 * echistory.el (electric-history-in-progress, Helper-return-blurb):
6881 Declare.
6882
6883 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
6884
6885 * electric.el (Electric-command-loop): Rename parameter
6886 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
6887
6888 * expand.el (expand-in-literal): Remove unused variable `here'.
6889
6890 * facemenu.el (facemenu-add-new-color):
6891 Remove unused variable `docstring'.
6892
6893 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
6894 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
6895 (face-attr-construct): Mark unused parameter. Doc fix.
6896 (read-color): Remove unused variable `hex-string'.
6897
6898 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
6899 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
6900 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
6901 (display-buffer-other-frame): Remove unused variable `old-window'.
6902 (kill-buffer-hook): Declare.
6903 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
6904 Mark unused parameters.
6905 (after-find-file): Pass 1 to `auto-save-mode', not t.
6906
6907 * files-x.el (auto-insert): Declare.
6908 (modify-file-local-variable-prop-line): Remove unused variable `val'.
6909
6910 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 6911 variable `buf'. Mark unused parameter.
06b60517
JB
6912 (find-lisp-insert-directory): Mark unused parameter.
6913
6914 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
6915 (format-encode-region): Remove unused variables `cur-buf' and `result'.
6916 (format-common-tail): Remove, unused.
6917 (format-deannotate-region): Remove unused variable `loc'.
6918 (format-annotate-region): Remove unused variable `p'.
6919 (format-annotate-single-property-change): Remove unused variables
6920 `default' and `tail'.
6921
6922 * forms.el (read-file-filter): Declare.
6923 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
6924
6925 * frame.el (frame-creation-function-alist): Mark unused parameter.
6926 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
6927
6928 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
6929 Remove unused parameters.
6930 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
6931 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
6932
6933 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
6934 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
6935 (hfy-prepare-tag-map): Mark unused parameters.
6936 (htmlfontify-buffer): Use `called-interactively-p'.
6937
6938 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
6939 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
6940 (ibuffer-do-occur): Mark unused parameters.
6941 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
6942 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
6943
6944 * ibuffer.el: Don't quote `lambda'.
6945 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
6946 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
6947 Mark unused parameters.
6948
6949 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
6950 (ido-completing-read): Mark unused parameters.
6951 (ido-copy-current-word): Mark unused parameters;
6952 remove unused variable `name'.
6953 (ido-sort-merged-list): Remove unused parameter `dirs'.
6954
6955 * ielm.el (ielm-input-sender): Mark unused parameter.
6956 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
6957 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
6958 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
6959 `ielm-string' as a dynamic variable accessible from the IELM prompt.
6960 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
6961
6962 * image-dired.el (image-dired-display-thumbs): Remove unused
6963 variables `curr-file' and `count'.
6964 (image-dired-remove-tag): Remove unused variable `start'.
6965 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
6966 variable `curr-file'
6967 (image-dired-rotate-original): Remove unused variable `temp-file'.
6968 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
6969 Remove unused variable `file'.
6970 (image-dired-gallery-generate): Remove unused variable `curr'.
6971 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
6972
6973 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
6974
6975 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
6976
6977 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
6978
6979 * isearch.el (minibuffer-history-symbol): Declare.
6980 (isearch-edit-string): Remove unused variable `err'.
6981 (isearch-message-prefix, isearch-message-suffix):
6982 Mark unused parameters.
6983
6984 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
6985
6986 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
6987
6988 * makesum.el (double-column): Remove unused variable `cnt'.
6989
6990 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
6991 (ido-ignore-item-temp-list): Declare.
6992
6993 * mouse-drag.el (mouse-drag-throw): Remove unused variables
6994 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
6995 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
6996 (mouse-drag-drag): Remove unused variables `mouse-delta' and
6997 `mouse-col-delta'.
6998
6999 * mouse-sel.el (mouse-extend-internal):
7000 Remove unused variable `orig-window-frame'.
7001
7002 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
7003 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
7004 Move declarations before first use.
7005 (pcomplete-opt): Mark unused parameters; doc fix.
7006
7007 * proced.el (proced-revert): Mark unused parameter.
7008 (proced-send-signal): Remove unused variable `err'.
7009
7010 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
7011 Rename parameter PREFIX-ARG to ARG.
7012 (ps-basic-plot-string, ps-basic-plot-whitespace):
7013 Mark unused parameters.
7014
7015 * replace.el (replace-count): Define.
7016 (occur-revert-function): Mark unused parameters.
7017 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
7018 (isearch-case-fold-search, isearch-string): Declare.
7019 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
7020 bind `case-fold-search'. Remove unused variables `beg' and `end',
7021 and simplify.
7022 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
7023 COUNT and bind `replace-count'.
7024 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
7025 to COUNT.
7026
7027 * savehist.el (print-readably, print-string-length): Declare.
7028
7029 * shadowfile.el (shadow-expand-cluster-in-file-name):
7030 Remove unused variable `cluster'.
7031 (shadow-copy-file): Remove unused variable `i'.
7032 (shadow-noquery, shadow-clusters, shadow-site-cluster)
7033 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
7034 (shadow-define-literal-group, shadow-define-regexp-group)
7035 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
7036
7037 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
7038 (shell): Use `called-interactively-p'.
7039 (shell-directory-tracker): Remove unused variable `chdir-failure'.
7040
7041 * simple.el (compilation-context-lines, comint-file-name-quote-list)
7042 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
7043 (delete-backward-char): Remove unused variable `ocol'.
7044 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
7045 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
7046 (event-apply-hyper-modifier, event-apply-shift-modifier)
7047 (event-apply-control-modifier, event-apply-meta-modifier):
7048 Mark unused parameters.
7049 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
7050 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
7051
7052 * speedbar.el (speedbar-ignored-directory-expressions)
7053 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
7054 (speedbar-find-file, speedbar-dir-follow)
7055 (speedbar-directory-buttons-follow, speedbar-tag-find)
7056 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
7057 (speedbar-buffers-line-directory, speedbar-buffer-click):
7058 Mark unused parameters.
7059 (speedbar-tag-file): Remove unused variable `mode'.
7060 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
7061
7062 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
7063
7064 * talk.el (talk): Remove unused variable `display'.
7065
7066 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
7067 (tar-write-region-annotate): Mark unused parameter.
7068
7069 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
7070 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
7071 Declare them, wrapped in `with-no-warnings' to avoid replacing one
7072 warning by another.
7073
7074 * time-stamp.el (time-stamp-string-preprocess):
7075 Remove unused variable `require-padding'.
7076
7077 * tree-widget.el (widget-glyph-enable): Declare.
7078 (tree-widget-action): Mark unused parameter.
7079
7080 * w32-fns.el (x-get-selection): Mark unused parameter.
7081 (autoload-make-program, generated-autoload-file): Declare.
7082
7083 * wdired.el (wdired-revert): Mark unused parameters.
7084 (wdired-xcase-word): Remove unused variable `err'.
7085
7086 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
7087 (whitespace-help-scroll): Remove unused variable `data-help'.
7088
7089 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
7090 (widget-image-insert, widget-after-change, default)
7091 (widget-default-format-handler, widget-default-notify)
7092 (widget-default-prompt-value, widget-info-link-action)
7093 (widget-url-link-action, widget-function-link-action)
7094 (widget-variable-link-action, widget-file-link-action)
7095 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
7096 (widget-field-prompt-internal, widget-field-action, widget-field-match)
7097 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
7098 (widget-insert-button-action, widget-delete-button-action, visibility)
7099 (widget-documentation-link-action, widget-documentation-string-action)
7100 (widget-const-prompt-value, widget-regexp-match, symbol)
7101 (widget-coding-system-prompt-value)
7102 (widget-key-sequence-value-to-external, sexp)
7103 (widget-sexp-value-to-internal, character, vector, cons)
7104 (widget-choice-prompt-value, widget-boolean-prompt-value)
7105 (widget-color--choose-action): Mark unused parameters.
7106 (widget-item-match-inline, widget-choice-match-inline)
7107 (widget-checklist-match, widget-checklist-match-inline)
7108 (widget-group-match): Rename parameter VALUES to VALS.
7109 (widget-field-value-set): Remove unused variable `size'.
7110 (widget-color-action): Remove unused variables `value' and `start'.
7111
7112 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 7113 variable `dir'. Doc fix.
06b60517
JB
7114 (windmove-find-other-window): Don't pass it.
7115
7116 * window.el (count-windows): Mark unused parameter.
7117 (bw-adjust-window): Remove unused variable `err'.
7118
7119 * woman.el (woman-file-name): Remove unused variable `default'.
7120 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
7121 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
7122 (global-font-lock-mode): Declare.
7123 (woman-decode-region): Mark unused parameter.
7124 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
7125
7126 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
7127 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
7128 (x-dnd-handle-moz-url): Remove unused variable `title'.
7129 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
7130
7131 * xml.el (xml-parse-tag, xml-parse-attlist):
7132 Remove unused variable `pos'.
7133
bc4f7f3d
GM
71342011-04-19 Glenn Morris <rgm@gnu.org>
7135
7136 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
7137 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
7138 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
7139 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
7140 * calendar/cal-html.el (cal-html-insert-minical):
7141 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
7142 (calendar-mark-date-pattern):
7143 Prefix "unused" locals.
7144
7145 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
7146 optional argument `style'.
7147
7148 * calendar/appt.el (appt-make-list):
7149 * calendar/cal-china.el (calendar-chinese-date-string):
7150 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
7151 (diary-hebrew-yahrzeit):
7152 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
7153 * calendar/calendar.el (calendar-generate-window):
7154 * calendar/time-date.el (time-to-days):
7155 Remove unused local variables.
7156
16a43933
CY
71572011-04-18 Chong Yidong <cyd@stupidchicken.com>
7158
7159 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
7160 glyphless-char-display table.
7161 (tabulated-list-glyphless-char-display): New var.
7162
7eed1860
SS
71632011-04-18 Sam Steingold <sds@gnu.org>
7164
7165 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
7166 to acknowledgments.
7167
4d2d1ccd
GM
71682011-04-17 Glenn Morris <rgm@gnu.org>
7169
7170 * calendar/diary-lib.el (diary-sexp-entry):
7171 * calendar/holidays.el (holiday-sexp):
7172 Set debug-on-error rather than the removed stack-trace-on-error.
7173
239da61d
GM
71742011-04-16 Glenn Morris <rgm@gnu.org>
7175
7176 * progmodes/f90.el: Use lexical-binding.
7177 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
7178
8b05752a
SM
71792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7180
daca8ba5
SM
7181 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
7182 (mail-mode): Setup mailalias completion here instead.
7183 * mail/mailalias.el: Use lexical-binding.
7184 (pattern, mailalias-done): Declare dynamic.
7185 (mail-completion-at-point-function): New function, from mail-complete.
7186 (mail-complete): Use it.
7187 (mail-completion-expand): New function.
7188 (mail-get-names): Use it.
7189 (mail-directory, mail-directory-process, mail-directory-stream):
7190 Don't use `pattern' for lexically bound arg.
7191
6f542485
SM
7192 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
7193
037e7c3f
SM
7194 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
7195 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
7196 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
7197
8b05752a
SM
7198 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
7199 (byte-save-window-excursion, byte-temp-output-buffer-setup)
7200 (byte-interactive-p): Define them again, for use when inlining
7201 old code.
7202
49093f60
JB
72032011-04-15 Juanma Barranquero <lekktu@gmail.com>
7204
7205 * loadup.el: Use `string-to-number', not `string-to-int'.
7206
b5b8e7de
SM
72072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
7208
7209 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
7210 gud-gdb-complete-command.
7211 (gud-gdb-completions): New function, from gud-gdb-complete-command.
7212 (gud-gdb-completion-at-point): New function.
7213 (gud-gdb-completions): Remove.
7214
f42efeb5
MA
72152011-04-14 Michael Albinus <michael.albinus@gmx.de>
7216
49093f60
JB
7217 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
7218 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
7219 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
7220 whether `executable-find' is bound.
f42efeb5
MA
7221
7222 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
7223
e240cc21
SM
72242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
7225
7226 * minibuffer.el (completion-in-region-mode-predicate)
7227 (completion-in-region-mode--predicate): New vars.
7228 (completion-in-region, completion-in-region--postch)
7229 (completion-in-region-mode): Use them.
7230 (completion--capf-wrapper): Also return the hook function.
7231 (completion-at-point, completion-help-at-point):
7232 Adjust and provide a predicate.
c2bd2ab0
SM
7233
7234 Preserve arg names for advice of subr and lexical functions (bug#8457).
7235 * help-fns.el (help-function-arglist): Consolidate the subr and
7236 new-byte-code cases. Add argument `preserve-names' to extract names
7237 from the docstring when needed.
7238 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
7239 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
7240 (ad-arglist): Use help-function-arglist's new arg.
7241 (ad-definition-type): Use cond.
7242
c183f693
JB
72432011-04-13 Juanma Barranquero <lekktu@gmail.com>
7244
06641a47
JB
7245 * autorevert.el (auto-revert-handler):
7246 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
7247 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
7248 Don't quote lambda.
7249
c183f693
JB
7250 * image-mode.el (image-transform-set-scale):
7251 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
7252
1e3b6001
G
72532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
7254
7255 * net/network-stream.el (network-stream-open-starttls): Only do
7256 opportunistic STARTTLS upgrades if we have built-in gnutls support.
7257 Upgrades via gnutls-cli are too slow to be done opportunistically.
7258
2d6af8dd
JB
72592011-04-12 Juanma Barranquero <lekktu@gmail.com>
7260
7261 * dframe.el (dframe-current-frame): Remove spurious quote.
7262
c0749a51
GM
72632011-04-12 Glenn Morris <rgm@gnu.org>
7264
088d0d61
GM
7265 * calendar/cal-tex.el (cal-tex-end-document):
7266 Try to automatically use latin1 input if needed.
7267
c0749a51
GM
7268 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
7269 Don't try to cons a mark onto an empty element.
7270
5c90fde0
LL
72712011-04-11 Leo Liu <sdl.web@gmail.com>
7272
7273 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
7274 buffers.
7275 (ido-kill-buffer-at-head): Support killing virtual buffers.
7276
369e974d
CY
72772011-04-10 Chong Yidong <cyd@stupidchicken.com>
7278
7279 * minibuffer.el (completion-show-inline-help): New var.
7280 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
7281 (minibuffer-force-complete, minibuffer-complete-word):
7282 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
7283
7284 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
7285 to avoid interference from inline help (Bug#5849).
7286
37f1c930
LL
72872011-04-10 Leo Liu <sdl.web@gmail.com>
7288
099c39a4
JB
7289 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7290 Fix typo.
37f1c930 7291
a32d4040
CY
72922011-04-09 Chong Yidong <cyd@stupidchicken.com>
7293
7294 * image-mode.el (image-toggle-display-image): Signal an error if
7295 not in Image mode.
7296 (image-transform-mode, image-transform-resize)
7297 (image-transform-set-rotation): Doc fix.
daca8ba5 7298 (image-transform-set-resize): Delete.
a32d4040
CY
7299 (image-transform-set-scale, image-transform-fit-to-height)
7300 (image-transform-fit-to-width): Handle image-toggle-display-image
7301 and image-transform-resize directly.
7302
099c39a4 73032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
7304
7305 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
7306 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
7307 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
7308 (doc-view-mode-map): Add bindings for the new functions.
7309
099c39a4 73102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 7311
4d61f28d 7312 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
7313 Fix typo in docstring.
7314
3726838a
EZ
73152011-04-08 Eli Zaretskii <eliz@gnu.org>
7316
04f33f1e
EZ
7317 * files.el (file-size-human-readable): Produce one digit after
7318 decimal, like "ls -lh" does.
7319
7320 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
7321 the file size representation.
7322
3726838a
EZ
7323 * simple.el (list-processes): If async subprocesses are not
7324 available, error out with a clear error message.
7325
cbb59342
CY
73262011-04-08 Chong Yidong <cyd@stupidchicken.com>
7327
7328 * help.el (help-form-show): New function, to be called from C.
7329 Put help-form output in a buffer named differently than *Help*.
7330
e3971c44
EZ
73312011-04-08 Eli Zaretskii <eliz@gnu.org>
7332
7333 * files.el (file-size-human-readable): New function.
7334
7335 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
7336 computing the representation inline. Don't require `cl'.
7337
12544bbe
GM
73382011-04-08 Glenn Morris <rgm@gnu.org>
7339
a1de6c6a
GM
7340 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
7341
3c4671f4
GM
7342 * net/browse-url.el (browse-url-firefox):
7343 Test system-type, not system-configuration.
7344
b605679c
GM
7345 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
7346 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
7347 Use log-edit-empty-buffer-p. (Bug#7598)
7348
56442f0c
GM
7349 * net/rlogin.el (rlogin-process-connection-type): Simplify.
7350 (rlogin-mode-map): Initialize in the defvar.
7351 (rlogin): Use ignore-errors.
7352
12544bbe
GM
7353 * replace.el (occur-mode-map): Some fixes for menu items.
7354
eb237b0f
AH
73552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7356
7357 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
7358
7d668f2c
CY
73592011-04-06 Chong Yidong <cyd@stupidchicken.com>
7360
e67a13ab
CY
7361 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
7362 issuing unused warnings.
7363
7364 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
7365 macro directly.
7366
7d668f2c
CY
7367 * simple.el: Lisp reimplement of list-processes. Based on an
7368 earlier reimplementation by Leo Liu, but using tabulated-list.el.
7369 (process-menu-mode): New major mode.
7370 (list-processes--refresh, list-processes):
7371 (process-menu-visit-buffer): New functions.
7372
7373 * files.el (save-buffers-kill-emacs): Don't assume any return
7374 value of list-processes, which is undocumented anyway.
7375
a83ec3c9
CY
73762011-04-06 Chong Yidong <cyd@stupidchicken.com>
7377
7378 * emacs-lisp/tabulated-list.el: New file.
7379
e91a96fe
CY
7380 * emacs-lisp/package.el: Use Tabulated List mode.
7381 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
7382 (package-menu-mode): Derive from tabulated-list-mode. Set up the
7383 table format using Tabulated List mode variables.
7384 (package--push): New macro, replacing package-list-maybe-add.
7385 (package-menu--generate): Use package--push. Renamed from
7386 package--generate-package-list.
7387 (package-menu-refresh, list-packages): Use it.
daca8ba5 7388 (package-menu--print-info): Rename from package-print-package.
e91a96fe 7389 Return insertion data instead of inserting it directly.
099c39a4
JB
7390 (package-menu-describe-package, package-menu-execute):
7391 Use tabulated-list-get-id.
e91a96fe
CY
7392 (package-menu-mark-delete, package-menu-mark-install)
7393 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
7394 (package-menu-mark-obsolete-for-deletion):
7395 Use tabulated-list-put-tag.
e91a96fe
CY
7396 (package--list-packages, package-menu-revert)
7397 (package-menu-get-package, package-menu-get-version)
7398 (package-menu-sort-by-column): Functions deleted.
7399 (package-menu-package-list, package-menu-sort-key): Vars deleted.
7400 (package-menu--status-predicate, package-menu--version-predicate)
7401 (package-menu--name-predicate)
7402 (package-menu--description-predicate): Handle arguments in the
7403 Tabulated List format.
7404 (package-list-packages-no-fetch): Call list-packages.
7405
3e214b50
JB
74062011-04-06 Juanma Barranquero <lekktu@gmail.com>
7407
7408 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 7409 (after-find-file): Don't bind it.
3e214b50
JB
7410 (revert-buffer-in-progress-p): New variable.
7411 (revert-buffer): Bind it.
7412 Pass nil for `after-find-file-from-revert-buffer'.
7413
7414 * saveplace.el (save-place-find-file-hook): Use new variable
7415 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
7416
3f0f1700
GM
74172011-04-06 Glenn Morris <rgm@gnu.org>
7418
c0274801
GM
7419 * Makefile.in (AUTOGEN_VCS): New variable.
7420 (autoloads): Use $AUTOGEN_VCS.
7421
3f0f1700
GM
7422 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
7423 * calendar/calendar.el (calendar-mode-map):
7424 Check for toolkit scroll bars. (Bug#8305)
7425
41ea9e48
CY
74262011-04-05 Chong Yidong <cyd@stupidchicken.com>
7427
7428 * minibuffer.el (completion-in-region--postch)
7429 (completion-in-region-mode): Remove unnecessary messages.
7430
6194c800
JB
74312011-04-05 Juanma Barranquero <lekktu@gmail.com>
7432
33256f14
JB
7433 * font-lock.el (font-lock-refresh-defaults):
7434 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
7435 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
7436
6194c800
JB
7437 * info.el (Info-directory-list, Info-read-node-name-2)
7438 (Info-split-parameter-string): Doc fixes.
7439 (Info-virtual-nodes): Reflow docstring.
7440 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
7441 (Info-apropos-toc-nodes, info-finder, Info-get-token)
7442 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
7443 Fix typos in docstrings.
7444 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
7445 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
7446 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
7447 (Info-restore-desktop-buffer): Mark unused parameters.
7448 (Info-directory-find-file, Info-directory-find-node)
7449 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
7450 (Info-virtual-index-find-node, Info-apropos-find-file)
7451 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 7452 Mark unused parameters; fix typos in docstrings.
6194c800
JB
7453 (Info-virtual-index): Remove unused local variable `nodename'.
7454
b87a8200 74552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 7456
b87a8200
DD
7457 * net/rcirc.el: Update my e-mail address.
7458 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 7459
3b2ff876
CY
74602011-04-05 Chong Yidong <cyd@stupidchicken.com>
7461
7462 * startup.el (command-line): Save the cursor's theme-face
7463 directly, instead of using face-override-spec.
7464
7465 * custom.el (load-theme): Minor optimization in assigning faces.
7466
8d17e7ca
JB
74672011-04-04 Juanma Barranquero <lekktu@gmail.com>
7468
7469 * help-fns.el (describe-variable): Complete all variables having
7470 documentation, including keywords.
7471 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
7472
2fbc1934
JB
74732011-04-04 Juanma Barranquero <lekktu@gmail.com>
7474
7475 Convert to lexical-binding.
7476
7477 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
7478 (bs--get-marked-string, bs--get-modified-string)
7479 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
7480 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
7481 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
7482
7483 * ehelp.el (electric-help-execute-extended)
7484 (electric-help-ctrl-x-prefix):
7485 * hexl.el (hexl-revert-buffer-function):
7486 * linum.el (linum-after-change, linum-after-scroll):
7487 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
7488
7489 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
7490
74f50695
DU
74912011-04-04 Daiki Ueno <ueno@unixuser.org>
7492
7493 * epa-dired.el:
7494 * epa-mail.el:
7495 * epa-hook.el:
7496 * epa-file.el:
7497 * epa.el:
7498 * epg.el: Use lexical binding.
7499
c11325f7
CY
75002011-04-03 Chong Yidong <cyd@stupidchicken.com>
7501
0d9e9a12
CY
7502 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
7503
c11325f7 7504 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
7505 dictionary case for flyspell-mark-duplications-exceptions.
7506 Use regexp matching for languages.
c11325f7
CY
7507 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
7508 default dictionary (Bug#7926).
7509
da91b5f2
CY
75102011-04-02 Chong Yidong <cyd@stupidchicken.com>
7511
099c39a4
JB
7512 * emacs-lisp/package.el (package--with-work-buffer):
7513 Recognize https URLs.
da91b5f2 7514
099c39a4
JB
7515 * net/network-stream.el: Move from gnus/proto-stream.el.
7516 Change prefix to network-stream throughout.
da91b5f2
CY
7517 (open-protocol-stream): Merge into open-network-stream, leaving
7518 open-protocol-stream as an alias. Handle nil BUFFER args.
7519
7520 * subr.el (open-network-stream): Move to net/network-stream.el.
7521
afa8e9f6
GM
75222011-04-02 Glenn Morris <rgm@gnu.org>
7523
1d2e369d
GM
7524 * find-dired.el (find-exec-terminator): New option.
7525 (find-ls-option): Test for -ls support.
7526 (find-ls-subdir-switches): Test for -b in find-ls-option.
7527 (find-dired, find-grep-dired): Doc fixes.
7528 (find-dired): Use find-exec-terminator.
7529
8abb7da8 7530 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
7531 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
7532 (find-name-arg): Remove purecopy.
8abb7da8 7533
f3ca7378
GM
7534 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
7535 (grep-compute-defaults): Check for `-exec COMMAND +' support.
7536 Set grep-find-use-xargs, grep-find-command, and grep-find-template
7537 accordingly. Don't add the null-device if not needed.
7538
afa8e9f6
GM
7539 * files.el (save-some-buffers): Doc fix.
7540
35eae264
EZ
75412011-04-02 Eli Zaretskii <eliz@gnu.org>
7542
7543 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
7544
26b51db5
JB
75452011-04-01 Juanma Barranquero <lekktu@gmail.com>
7546
7547 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
7548 Use `dolist' rather than `mapcar'.
7549
7200d79c
SM
75502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
7551
03408648 7552 Add lexical binding.
7200d79c 7553
03408648
SM
7554 * subr.el (apply-partially): Use new closures rather than CL.
7555 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
7556 (dolist, dotimes): Use slightly different expansion for lexical code.
7557 (functionp): Move to C.
7558 (letrec): New macro.
7559 (with-wrapper-hook): Use it and apply-partially instead of CL.
7560 (eval-after-load): Preserve lexical-binding.
7561 (save-window-excursion, with-output-to-temp-buffer): Turn them
7562 into macros.
7200d79c 7563
03408648
SM
7564 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
7565
7566 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
7567 than the arglist.
7568 (help-add-fundoc-usage): Don't add `Not documented'.
7569 (help-function-arglist): Handle closures, subroutines, and new
7570 byte-code-functions.
7571 (help-make-usage): Remove leading underscores.
7572 (describe-function-1): Handle closures.
7573 (describe-variable): Use special-variable-p for completion.
7574
7575 * files.el (lexical-binding): Declare safe.
f488fb65 7576
03408648
SM
7577 * emacs-lisp/pcase.el: Don't use destructuring-bind.
7578 (pcase--memoize): Rename from pcase-memoize. Change weakness.
7579 (pcase): Add `let' pattern.
7580 Change memoization so it actually works.
7581 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
7582 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
7583 <let>: New case.
f488fb65 7584
03408648
SM
7585 * emacs-lisp/macroexp.el: Use lexical binding.
7586 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
7587 Don't convert ' to #' without checking that it's indeed quoting
7588 a lambda.
7589
7590 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 7591 Use eval-sexp-add-defvars.
03408648
SM
7592 (eval-sexp-add-defvars): New fun.
7593
7594 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
7595
7596 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
7597 Don't autoload.
7598 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
7599 than the internal `byte-compile-lambda'.
7600 (defmethod): Don't hide code under quotes.
7601 (eieio-defmethod): New `code' argument.
7602
7603 * emacs-lisp/eieio-comp.el: Remove.
7604
7605 * emacs-lisp/edebug.el (edebug-eval-defun)
7606 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
7607 (edebug-toggle): Avoid `eval'.
7608
7609 * emacs-lisp/disass.el (disassemble-internal): Handle new
7610 `closure' objects.
7611 (disassemble-1): Handle new byte codes.
7612
7613 * emacs-lisp/cl.el (pushnew): Silence warning.
7614
7615 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
7616 (cl-byte-compile-throw): Remove.
7617 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
7618
7619 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
7620 closures.
7621
7622 * emacs-lisp/cconv.el: New file.
7623
7624 * emacs-lisp/bytecomp.el: Use lexical binding instead of
7625 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
7626 (byte-compile-initial-macro-environment):
7627 Handle declare-function here.
7628 (byte-compile--lexical-environment): New var.
7629 (byte-stack-ref, byte-stack-set, byte-discardN)
7630 (byte-discardN-preserve-tos): New lap codes.
7631 (byte-interactive-p): Don't use any more.
7632 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
7633 New macros.
7634 (byte-compile-lapcode): Use them and handle new lap codes.
7635 (byte-compile-obsolete): Remove.
7636 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
7637 (byte-compile-arglist-warn): Check late def of inlinable funs.
7638 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
7639 since they should have been expanded by now.
7640 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
7641 (byte-compile-from-buffer): Remove unused second arg.
7642 (byte-compile-preprocess): New function.
7643 (byte-compile-toplevel-file-form): New function to distinguish
7644 file-form calls from outside from file-form calls from hunk-handlers.
7645 (byte-compile-file-form): Simplify.
7646 (byte-compile-file-form-defsubst): Remove.
7647 (byte-compile-file-form-defmumble): Simplify now that
7648 byte-compile-lambda always returns a byte-code-function.
7649 (byte-compile): Preprocess.
7650 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
7651 Remove, not used any more.
7652 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
7653 (byte-compile-make-args-desc): New funs.
7654 (byte-compile-lambda): Handle lexical functions. Always return
7655 a byte-code-function.
7656 (byte-compile-reserved-constants): New var, to make up room for
7657 closed-over variables.
7658 (byte-compile-constants-vector): Obey it.
7659 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
7660 (byte-compile-macroexpand-declare-function): New function.
7661 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
7662 byte-code-functions.
7663 (byte-compile-form): Check obsolescence here.
7664 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
7665 (byte-compile-variable-ref): Remove.
7666 (byte-compile-dynamic-variable-op): New fun.
7667 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
7668 (byte-compile-variable-set): New funs.
7669 (byte-compile-discard): Add 2 args.
7670 (byte-compile-stack-ref, byte-compile-stack-set)
7671 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
7672 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
7673 macroexpand-all instead.
7674 (byte-compile-quote-form): Remove.
7675 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
7676 (byte-compile-bind, byte-compile-unbind): New funs.
7677 (byte-compile-let): Handle let* and lexical binding.
7678 (byte-compile-let*): Remove.
7679 (byte-compile-catch, byte-compile-unwind-protect)
7680 (byte-compile-track-mouse, byte-compile-condition-case):
7681 Handle a new :fun-body form, used for lexical scoping.
7682 (byte-compile-save-window-excursion)
7683 (byte-compile-with-output-to-temp-buffer): Remove.
7684 (byte-compile-defun): Simplify.
7685 (byte-compile-stack-adjustment): New fun.
7686 (byte-compile-out): Use it.
7687 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
7688
7689 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
7690 handler any more.
7691
7692 * emacs-lisp/byte-opt.el: Use lexical binding.
7693 (byte-inline-lapcode): Remove (to bytecomp).
7694 (byte-compile-inline-expand): Pay attention to inlining to/from
7695 lexically bound code.
7696 (byte-compile-unfold-lambda): Don't handle byte-code-functions
7697 any more.
7698 (byte-optimize-form-code-walker): Don't handle save-window-excursion
7699 any more and don't call compiler-macros.
7700 (byte-compile-splice-in-already-compiled-code): Remove.
7701 (byte-code): Don't inline any more.
7702 (disassemble-offset): Receive `bytes' as argument rather than via
7703 dynamic scoping.
7704 (byte-compile-tag-number): Declare before first use.
7705 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
7706 `return' even if make-spliceable.
7707 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
7708 obsolete interactive-p.
7709 (byte-optimize-lapcode): Optimize new lap-codes.
7710 Don't trip up on new form of `byte-constant' lap code.
7711
7712 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
7713
7714 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
7715
7716 * custom.el (custom-initialize-default, custom-declare-variable):
7717 Use `defvar'.
7718
7719 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
7720 New variables.
7721 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
7722 (COMPILE_FIRST): Add macroexp and cconv.
7723 * makefile.w32-in: Mirror changes in Makefile.in.
7724
7725 * vc/cvs-status.el:
7726 * vc/diff-mode.el:
7727 * vc/log-edit.el:
7728 * vc/log-view.el:
7729 * vc/smerge-mode.el:
7730 * textmodes/bibtex-style.el:
7731 * textmodes/css.el:
7732 * startup.el:
7733 * uniquify.el:
da91b5f2
CY
7734 * minibuffer.el:
7735 * newcomment.el:
7736 * reveal.el:
7737 * server.el:
7738 * mpc.el:
7739 * emacs-lisp/smie.el:
7740 * doc-view.el:
7741 * dired.el:
03408648
SM
7742 * abbrev.el: Use lexical binding.
7743
0f0c1f27
EZ
77442011-04-01 Eli Zaretskii <eliz@gnu.org>
7745
7746 * info.el (info-display-manual): New function.
7747
c82b2579
SM
77482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
7749
7750 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
7751
221ddf68
TH
77522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
7753
7754 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 7755 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 7756
cba6e77e
GM
77572011-03-31 Glenn Morris <rgm@gnu.org>
7758
e040639f
GM
7759 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
7760
cba6e77e
GM
7761 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
7762
6d0f1c9e
CS
77632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
7764
7765 * progmodes/python.el (python-default-interpreter)
7766 (python-python-command-args, python-jython-command-args)
7767 (python-which-shell, python-which-args, python-which-bufname)
7768 (python-file-queue, python-comint-output-filter-function)
7769 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
7770 variables and functions.
7771
3e2d70fd
SM
77722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
7775 (completion-in-region-mode): New minor mode.
7776 (completion-in-region): Use it.
7777 (completion-in-region--data, completion-in-region-mode-map): New vars.
7778 (completion-in-region--postch): New function.
7779 (completion--capf-misbehave-funs, completion--capf-safe-funs):
7780 New vars.
7781 (completion--capf-wrapper): New function.
7782 (completion-at-point): Use it to track well-behavedness of
7783 hook functions.
7784 (completion-help-at-point): New command.
7785
f3e4086c
JM
77862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
7787
7788 * vc/add-log.el (add-change-log-entry): Don't use whitespace
7789 syntax class to search for whitespace on a single line
7790 (Message-ID: <4D938140.4030905@redhat.com>).
7791
eb7ffc14
LL
77922011-03-30 Leo Liu <sdl.web@gmail.com>
7793
7794 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
7795 New commands.
7796 (edit-abbrevs-map): Bind them here.
7797 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
7798
d806ab68
KM
77992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
7800
7801 * allout.el (allout-hide-by-annotation, allout-flag-region):
7802 Reduce possibility of overlay leakage by making them volatile.
7803
7804 * allout-widgets.el (allout-widgets-tally): Define as nil so the
7805 hash is not shared between buffers. Mode initialization is
7806 responsible for giving it a useful starting value.
7807 (allout-item-span): Reduce possibility of overlay leakage by
7808 making them volatile.
7809 (allout-widgets-count-buttons-in-region): Add diagnostic function
7810 for tracking down button overlay leaks.
7811
ea622834
LL
78122011-03-29 Leo Liu <sdl.web@gmail.com>
7813
7814 * ido.el (ido-read-internal): Use the default history var
7815 minibuffer-history if no HISTORY is specified.
7816
b62f8267
G
78172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
7818
03408648
SM
7819 * net/imap.el (imap-shell-open, imap-process-connection-type):
7820 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
7821 Kerberos, SSL, other subprocesses.
7822
947b6566
LL
78232011-03-28 Leo Liu <sdl.web@gmail.com>
7824
7825 * abbrev.el (abbrev-table-empty-p): New function.
7826 (prepare-abbrev-list-buffer): Place empty abbrev tables after
7827 nonempty ones. (Bug#5937)
7828
5ffb62aa
JD
78292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
7830
7831 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
7832
7a097943
LL
78332011-03-27 Leo Liu <sdl.web@gmail.com>
7834
7835 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
7836 for foreground and background colors.
7837 (ansi-color-make-color-map): Adapt.
7838
c5b40130
LL
78392011-03-25 Leo Liu <sdl.web@gmail.com>
7840
1f48f7d2
LL
7841 * midnight.el (midnight-time-float): Remove. Note it calculates
7842 the microsecond component incorrectly and seconds-to-time does the
7843 same job.
625897ec 7844 Remove redundant (require 'timer).
1f48f7d2 7845
c5b40130
LL
7846 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
7847 (ido-completions): Remove unused arguments. (Bug#8329)
7848
d86d2721
SM
78492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
7850
7851 * minibuffer.el (completion--flush-all-sorted-completions):
7852 Remove itself from hook.
7853 (completion-at-point): Let the functions perform the completion
7854 immediately and return nil or t.
7855 * comint.el (comint-dynamic-complete-functions): Now identical to
7856 completion-at-point-functions.
7857 (comint-dynamic-list-input-ring): Remove unused var `index'.
7858 (comint--match-partial-filename, comint--unquote&expand-filename):
7859 New funs, split from comint-match-partial-filename.
7860 (comint-dynamic-complete): Use completion-at-point.
7861 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
7862
e8974c48
DA
78632011-03-24 Drew Adams <drew.adams@oracle.com>
7864
7865 * thingatpt.el: Support `defun'.
7866
def71b5e
LL
78672011-03-23 Leo Liu <sdl.web@gmail.com>
7868
cb5af48e
LL
7869 * abbrevlist.el: Move to obsolete/abbrevlist.el.
7870
def71b5e
LL
7871 * help-mode.el (help-mode-finish): Tweak regexp.
7872
927c53e7
GM
78732011-03-23 Glenn Morris <rgm@gnu.org>
7874
18d05bed
GM
7875 * eshell/esh-opt.el (eshell-eval-using-options):
7876 Do not bind unused local variable `eshell-option-stub'.
7877
927c53e7
GM
7878 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
7879
9d0da923
JB
78802011-03-22 Juanma Barranquero <lekktu@gmail.com>
7881
7882 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
7883 keymap variable in `with-no-warnings' to avoid a warning when the
7884 keymap has been already `defconst'ed.
7885
4b978a67
LL
78862011-03-22 Leo Liu <sdl.web@gmail.com>
7887
7888 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
7889 encode all chars in abbrevs; otherwise use emacs-mule or
7890 utf-8-emacs. (Bug#8308)
7891
5fd62452
JB
78922011-03-22 Juanma Barranquero <lekktu@gmail.com>
7893
0b1596c6
JB
7894 * simple.el (backward-delete-char-untabify):
7895 Avoid warning about using `delete-backward-char'.
7896
5fd62452
JB
7897 * image.el (image-type-file-name-regexps): Make it variable.
7898 `imagemagick-register-types' modifies it, and the user may want
7899 to add new extensions for known image types.
7900 (imagemagick-register-types): Throw error if not using ImageMagick.
7901
0b4e93f1
LL
79022011-03-22 Leo Liu <sdl.web@gmail.com>
7903
7904 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
7905 located before rcirc-prompt-end-marker.
7906 (rcirc-complete): Error if point is not after rcirc prompt.
7907 Handle the case when table is nil.
9882e214 7908 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 7909
fccee4ab
CY
79102011-03-22 Chong Yidong <cyd@stupidchicken.com>
7911
7912 * custom.el (custom--inhibit-theme-enable): Make it affect only
7913 custom-theme-set-variables and custom-theme-set-faces.
7914 (provide-theme): Ignore custom--inhibit-theme-enable.
7915 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
7916 (custom-enabling-themes): Delete variable.
d86d2721
SM
7917 (enable-theme): Accept only loaded themes as arguments.
7918 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
7919 (custom-enabled-themes): Forbid themes from setting this.
7920 Eliminate use of custom-enabling-themes.
7921 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 7922
af896da6
LL
79232011-03-21 Leo Liu <sdl.web@gmail.com>
7924
7925 * ido.el (ido-read-internal): Add ido-selected to history instead
7926 of user input.
7927
78f64af0
SM
79282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * subr.el (deferred-action-list, deferred-action-function):
7931 Mark obsolete.
7932
b16ac1ec
LL
79332011-03-21 Leo Liu <sdl.web@gmail.com>
7934
810f7698
LL
7935 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
7936 change on 2011-02-13 (bug#8309).
7937
b16ac1ec
LL
7938 * minibuffer.el (read-file-name-function): Change default value.
7939 (read-file-name--defaults): Rename from read-file-name-defaults.
7940 (read-file-name-default): Rename from read-file-name.
7941 (read-file-name): Call read-file-name-function.
7942
4e05e67e
GM
79432011-03-21 Glenn Morris <rgm@gnu.org>
7944
7945 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
7946 Doc fixes.
7947
4359915b
CY
79482011-03-21 Chong Yidong <cyd@stupidchicken.com>
7949
7950 * cus-theme.el: Add missing provide statement.
7951 (customize-create-theme): Extract theme value correctly.
7952 (custom-theme-visit-theme): Autoload.
7953 (customize-create-theme): Prompt before inserting default faces.
7954
1fe275ee
JB
79552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
7956
7957 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
7958 units and musical notes.
7959
3ec03f7e
LL
79602011-03-20 Leo <sdl.web@gmail.com>
7961
7962 * ido.el (ido-read-internal): Use completing-read-default.
7963 (ido-completing-read): Fix compatibility with completing-read.
7964
7d476bde
CO
79652011-03-20 Christian Ohler <ohler@gnu.org>
7966
7967 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
7968 (ert-delete-all-tests): Use `called-interactively-p' rather than
7969 `interactive-p'.
7970 (ert--make-xrefs-region): Respect END.
7971
fe0fb33e
CY
79722011-03-19 Chong Yidong <cyd@stupidchicken.com>
7973
ff854b0b
CY
7974 * dired-aux.el (dired-create-directory): Signal an error if the
7975 directory already exists (Bug#8246).
7976
fe0fb33e
CY
7977 * facemenu.el (list-colors-display): Call list-faces-display
7978 inside with-help-window.
7979 (list-colors-print): Use display property to align the final
7980 column, instead of checking window-width.
7981
576bce32
EZ
79822011-03-19 Eli Zaretskii <eliz@gnu.org>
7983
4d61f28d 7984 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
7985 windows-nt systems.
7986 (emerge-protect-metachars): Quote correctly for ms-dos and
7987 windows-nt systems.
7988
89c41d68 79892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
7990
7991 * info.el (info-initialize): Replace all uses of `:' with
7992 path-separator for compatibility with non-Unix systems.
7993 Cache quoting of path-separator. (Bug#8258)
7994
b14e3e21 79952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
7996
7997 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
7998 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
7999 (mouse-avoidance-mode): Fix typos in docstrings.
8000
4525ce3e
CY
80012011-03-19 Chong Yidong <cyd@stupidchicken.com>
8002
8003 * startup.el (package-subdirectory-regexp): Move from package.el.
8004 Omit \\` and \\', and let callers add them.
8005
8006 * emacs-lisp/package.el (package-strip-version)
8007 (package-load-all-descriptors): Add \\` and \\' to
8008 package-subdirectory-regexp before using it.
8009 (package-untar-buffer): New arg DIR; ensure that file untars only
8010 into this expected directory. Remove superfluous delete-region.
8011 (package-unpack): Caller changed.
8012 (package-tar-file-info): Use package-subdirectory-regexp.
8013
a904a09a 80142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 8015
a904a09a
SM
8016 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
8017 diff-mode-shared-map (bug#8284).
8018 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
8019
80202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8021
8022 * calendar/time-date.el (format-seconds): Use assoc instead of
8023 assoc-string, since assoc-string doesn't exist in XEmacs.
8024
171fc304
JB
80252011-03-17 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * custom.el (custom-known-themes): Reflow docstring.
8028 (custom-theme-load-path): Fix typo in docstring.
8029 (load-theme): Fix typo in error message.
8030 (custom-available-themes, custom-variable-theme-value):
8031 Use `let', not `let*'.
8032
d71990a1
JB
80332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8034
8035 * calc/README: Mention inclusion of musical notes.
8036
8037 * calc/calc-units.el (calc-lu-quant): Rename from
8038 `calc-logunits-quantity'.
8039 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
8040 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
8041 (calc-db): Rename from `calc-dblevel'.
8042 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
8043 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
8044 (calc-np): Rename from `calc-nplevel'.
8045 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
8046 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
8047 (calc-lu-plus): Rename from `calc-logunits-add'.
8048 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
8049 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
8050 (calc-lu-minus): Rename from `calc-logunits-sub'.
8051 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
8052 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
8053 (calc-lu-times): Rename from `calc-logunits-mul'.
8054 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
8055 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
8056 (calc-lu-divide): Rename from `calc-logunits-div'.
8057 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
8058 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
8059
8060 * calc/calc-ext.el (calc-init-extensions): Update the names of the
8061 functions being autoloaded.
8062
8063 * calc/calc.el (calc-lu-power-reference): Rename from
8064 `calc-logunits-power-reference'.
8065 (calc-lu-field-reference): Rename from
8066 `calc-logunits-field-reference'.
8067
8068 * calc/calc-help (calc-l-prefix-help): Mention musical note functions.
8069
40c2934b
SM
80702011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
8071
8072 * minibuffer.el (completion-all-sorted-completions):
8073 Use :completion-cycle-penalty text property if present.
8074
b0911414
KM
80752011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
8076
8077 * allout.el (allout-yank-processing): Adjust for new rebulleting
8078 regime so bullet being yanked is used without prompting the user
8079 for a choice.
8080
8a05b668
JB
80812011-03-16 Juanma Barranquero <lekktu@gmail.com>
8082
8083 * startup.el (command-line): Warn the user that _emacs is deprecated.
8084
5ba5fb81
JB
80852011-03-16 Juanma Barranquero <lekktu@gmail.com>
8086
8087 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
8088 (delphi-verbose, delphi-comment-face, delphi-string-face)
8089 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
8090 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
8091 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
8092 (delphi-new-comment-line, delphi-font-lock-defaults)
8093 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
8094 Fix typos in docstrings.
8095
2dab465b
KM
80962011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
8097
5ba5fb81 8098 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
8099 Invert the roles of character and string values for INSTEAD, so a
8100 string is used for the more common case of a defaulting prompt.
8101
0adf5618
SM
81022011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * progmodes/ruby-mode.el (ruby-backward-sexp):
8105 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
8106 * play/gamegrid.el (gamegrid-make-face):
8107 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
8108 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
8109 * notifications.el (notifications-notify):
8110 * net/xesam.el (xesam-search-engines):
8111 * net/quickurl.el (quickurl-list-insert):
8112 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
8113
d72700e5
CY
81142011-03-15 Chong Yidong <cyd@stupidchicken.com>
8115
8116 * startup.el (command-line): Update package subdirectory regexp.
8117
49c5410a
SM
81182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8119
c6eee9aa
SM
8120 * allout.el (allout-abbreviate-flattened-numbering)
8121 (allout-mode-deactivate-hook): Fix up obsolescence "date".
8122
49c5410a
SM
8123 * subr.el (read-char-choice): Only show the cursor after the prompt,
8124 not after the answer.
8125
047b2bb9
KR
81262011-03-15 Kevin Ryde <user42@zip.com.au>
8127
8128 * help-fns.el (variable-at-point): Skip leading quotes, if any
8129 (bug#8253).
8130
0a57d256
SM
81312011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
8132
8133 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
8134 warning message.
8135
77c992bc
MA
81362011-03-14 Michael Albinus <michael.albinus@gmx.de>
8137
8138 * shell.el (shell): When called interactively, offer to change the
8139 shell file name on remote hosts.
8140
eebc475d
TZ
81412011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
8142
8143 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
8144 integration for LDAP parameters. The host, base, user or binddn,
8145 and secret tokens can be specified in a netrc file, for instance.
8146 This is optional because an `auth-source' parameter must be
8147 specified in the search attributes.
8148
9d05d1ba
JB
81492011-03-13 Juanma Barranquero <lekktu@gmail.com>
8150
8151 * help.el (describe-mode): Link to the mode's definition (bug#8185).
8152
09d9db2c
GM
81532011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
8156 into declaration. Remove redundant and harmful binding.
8157
81582011-03-12 Eli Zaretskii <eliz@gnu.org>
8159
8160 * files.el (file-ownership-preserved-p): Pass `integer' as an
8161 explicit 2nd argument to `file-attributes'. If the file's owner
8162 is the Administrators group on Windows, and the current user is
8163 Administrator, consider that a match.
8164
8165 * server.el (server-ensure-safe-dir): Consider server directory
8166 safe on MS-Windows if its owner is the Administrators group while
8167 the current Emacs user is Administrator. Use `=' to compare
8168 numerical UIDs, since they could be integers or floats.
8169
219bd536
JB
81702011-03-12 Juanma Barranquero <lekktu@gmail.com>
8171
8172 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
8173
f3afd36b
MA
81742011-03-12 Michael Albinus <michael.albinus@gmx.de>
8175
8176 Sync with Tramp 2.2.1.
8177
8178 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
8179
8180 * net/trampver.el: Update release number.
8181
3aaaa6f1
SM
81822011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8183
94642599
SM
8184 * progmodes/compile.el (compilation--previous-directory): Fix up
8185 various nil/dead-marker mismatches (bug#8014).
8186 (compilation-directory-properties, compilation-error-properties):
8187 Don't call it at a position past the one we're about to change.
8188
3aaaa6f1
SM
8189 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
8190 Disable obsolescence warnings in the file that declares it.
8191
14239447
KM
81922011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
8193
099c39a4
JB
8194 * allout-widgets.el (allout-widgets-tally):
8195 Initialize allout-widgets-tally as a hash table rather than nil to
8196 prevent mode-line redisplay warnings. Also, clarify the module
8197 description and fix a comment typo.
14239447 8198
135e287c
JB
81992011-03-11 Juanma Barranquero <lekktu@gmail.com>
8200
8201 * help-fns.el (describe-variable): Don't complete keywords.
8202 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
8203
ffbf300e
CY
82042011-03-10 Chong Yidong <cyd@stupidchicken.com>
8205
ba08b241
CY
8206 * emacs-lisp/package.el (package-version-join): Impose a standard
8207 string representation for pre/alpha/beta version lists.
8208 (package-unpack-single): Standardize the directory name by passing
8209 it through package-version-join.
8210 (package-strip-rcs-id): Accept any version string that does not
8211 signal an error in version-to-list.
ffbf300e 8212
f346fd6b
MA
82132011-03-10 Michael Albinus <michael.albinus@gmx.de>
8214
8215 * simple.el (delete-trailing-whitespace): Return nil for the
8216 benefit of `write-file-functions'.
8217
ccb55d27
GM
82182011-03-10 Glenn Morris <rgm@gnu.org>
8219
5ceaac0c
GM
8220 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
8221
02da65ff
GM
8222 * vc/vc-git.el (vc-git-program): New option.
8223 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
8224 (vc-git--call): Use it.
8225
b2f603cc
GM
8226 * eshell/esh-util.el (eshell-condition-case): Doc fix.
8227
5772caab
GM
8228 * cus-edit.el (Custom-newline): If no button at point, look
8229 for a subgroup button at start-of-line. (Bug#2298)
8230
ccb55d27
GM
8231 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
8232
ec6ecaed
JD
82332011-03-10 Julien Danjou <julien@danjou.info>
8234
8235 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
8236 `cursor-type' is nil.
8237
9d5aa01d
JB
82382011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
8239
8240 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
8241
b6a5875b
KM
82422011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
8243
8244 * allout.el Summary: Change so yank of distinctive-bullet items
8245 preserves the existing header prefix, rebulleting it if necessary,
8246 rather than replacing it. This is necessary for proper operation
8247 of cooperative addons like allout-widgets.
219bd536 8248 (allout-make-topic-prefix, allout-rebullet-heading): Change
b6a5875b
KM
8249 SOLICIT arg to INSTEAD, and interpret additionally a string value
8250 as alternate bullet to be used, instead of prompting the user for
8251 a bullet character.
8252
ee545c35
MA
82532011-03-09 Michael Albinus <michael.albinus@gmx.de>
8254
d86d2721
SM
8255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
8256 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
8257 `tramp-default-port'.
8258
c47971d7
DD
82592011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8260
8261 * net/rcirc.el (rcirc-handler-001): Remove useless
8262 with-rcirc-process-buffer.
8263 (rcirc-check-auth-status): Swap arguments to string-match.
8264
13522cb4
GM
82652011-03-09 Glenn Morris <rgm@gnu.org>
8266
0be6f4f1
GM
8267 * shell.el (shell-mode):
8268 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
8269
13522cb4
GM
8270 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
8271 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
8272
515de2e3
CY
82732011-03-08 Chong Yidong <cyd@stupidchicken.com>
8274
8275 * emacs-lisp/package.el (package-refresh-contents)
8276 (package-menu-execute): Use condition-case-no-debug.
8277
b511b994
MA
82782011-03-08 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * simple.el (shell-command-to-string): Use `process-file'.
8281
8282 * emacs-lisp/package.el (package-tar-file-info): Handle also
8283 remote files.
8284
d86d2721
SM
8285 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8286 Use `equal' for upload base check.
b511b994 8287
25bbfb31
AM
82882011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
8289
8290 * textmodes/texinfo.el (texinfo-environments):
8291 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
8292
be996521
GM
82932011-03-08 Glenn Morris <rgm@gnu.org>
8294
e9c8529f
GM
8295 * cus-start.el (cursor-in-non-selected-windows):
8296 Fix :set quoting oddness. (Bug#8192)
8297
be996521
GM
8298 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
8299 in some setf expressions. (Bug#2159)
8300
2bb5649e
CY
83012011-03-08 Chong Yidong <cyd@stupidchicken.com>
8302
8303 * custom.el (custom-available-themes): Return themes in
8304 alphabetical order.
8305
33383987 8306See ChangeLog.15 for earlier changes.
e3d51b27
MR
8307
8308;; Local Variables:
8309;; coding: utf-8
e3d51b27
MR
8310;; End:
8311
33383987 8312 Copyright (C) 2011 Free Software Foundation, Inc.
e3d51b27
MR
8313
8314 This file is part of GNU Emacs.
8315
8316 GNU Emacs is free software: you can redistribute it and/or modify
8317 it under the terms of the GNU General Public License as published by
8318 the Free Software Foundation, either version 3 of the License, or
8319 (at your option) any later version.
8320
8321 GNU Emacs is distributed in the hope that it will be useful,
8322 but WITHOUT ANY WARRANTY; without even the implied warranty of
8323 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8324 GNU General Public License for more details.
8325
8326 You should have received a copy of the GNU General Public License
8327 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.