Merge from emacs-24; up to 2012-11-23T06:23:28Z!cyd@gnu.org
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c5bc2d1d 12012-12-03 Leo Liu <sdl.web@gmail.com>
ff3d86d0
LL
2
3 * files.el (dir-locals-read-from-file): Check file non-empty
4 before reading. (Bug#13038)
5
c5bc2d1d 62012-12-03 Glenn Morris <rgm@gnu.org>
6247eff5
GM
7
8 * jka-cmpr-hook.el (jka-compr-get-compression-info):
9 Remove any version extension before checking filename. (Bug#13006)
10 (jka-compr-compression-info-list): Belated :version bump.
11
c5bc2d1d 122012-12-03 Chong Yidong <cyd@gnu.org>
a5bf43ba 13
8ecba97d
CY
14 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
15
a5bf43ba
CY
16 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
17 (buffer-menu): Doc fix (Bug#12294).
18
c5bc2d1d 192012-12-03 Roland Winkler <winkler@gnu.org>
34755291
RW
20
21 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
22 of diary-show-all-entries in the diary buffer (Bug#12994).
23
c5bc2d1d 242012-12-03 Michael Albinus <michael.albinus@gmx.de>
c2f5b60a
MA
25
26 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
27 "<STDIN>". This is binary safe.
28
682ceaf8
JB
292012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
30
31 * calc/calc-forms.el (math-absolute-from-iso-dt)
32 (math-date-to-iso-dt, math-parse-iso-date-validate)
33 (math-iso-dt-to-date): New functions.
34 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
35 (math-fd-isoweekday): New variables.
36 (calc-date-notation, math-parse-standard-date, math-format-date)
37 (math-format-date-part): Add support for more formatting codes.
38
db47d5e9
DG
392012-12-02 Dmitry Gutov <dgutov@yandex.ru>
40
41 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
42 current buffer's file name when called interactively (Bug#12488).
43
3faf4944
JL
442012-12-02 Juri Linkov <juri@jurta.org>
45
46 * info.el (info-display-manual): Don't clobber an existing Info
010db6da 47 buffer (Bug#10770). Add completion (Bug#10771).
3faf4944 48
cb5d51dc
YN
492012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
50
51 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
52 before using it for comparison (Bug#5297).
53
f38cd76e
JA
542012-12-01 Jari Aalto <jari.aalto@cante.net>
55
56 * textmodes/css-mode.el (css-current-defun-name): New function.
57 (css-mode): Use it.
58
59 * textmodes/sgml-mode.el (html-current-defun-name): New function.
60 (html-mode): Use it.
61
ba03d0d9
CY
622012-12-01 Chong Yidong <cyd@gnu.org>
63
64 Modularize add-log-current-defun (Bug#2224).
65 Suggested by Jari Aalto.
66
67 * vc/add-log.el (add-log-current-defun-function): Doc fix.
68 (add-log-current-defun): Move mode-specific code to other files.
69 (add-log-lisp-like-modes, add-log-c-like-modes)
70 (add-log-tex-like-modes): Variables deleted.
71
72 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
73 (lisp-mode-variables): Use it.
74
75 * progmodes/cc-mode.el (c-common-init):
76 * progmodes/cperl-mode.el (cperl-mode): Set a value for
77 add-log-current-defun-function.
78
79 * progmodes/m4-mode.el (m4-current-defun-name): New function.
80 (m4-mode): Use it.
81
82 * progmodes/perl-mode.el (perl-current-defun-name): New.
83 (perl-mode): Use it.
84
85 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
86 lisp-current-defun-name.
87
88 * textmodes/tex-mode.el (tex-current-defun-name): New.
89 (tex-common-initialization): Use it.
90
91 * textmodes/texinfo.el (texinfo-current-defun-name): New.
92 (texinfo-mode): Use it.
93
92eadba5
CY
942012-12-01 Chong Yidong <cyd@gnu.org>
95
96 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
97 * progmodes/autoconf.el (autoconf-mode):
98 * progmodes/js.el (js-mode):
99 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
100 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
101 * progmodes/perl-mode.el (perl-mode):
102 * progmodes/sh-script.el (sh-mode, sh-set-shell):
103 * textmodes/css-mode.el (css-mode):
104 * textmodes/sgml-mode.el (html-mode, sgml-mode)
105 (sgml-tags-invisible, sgml-guess-indent):
106 * textmodes/tex-mode.el (tex-common-initialization)
107 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
108 (doctex-mode, plain-tex-mode, latex-mode):
109 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
110
3ddbf803
KK
1112012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
112
113 * vc/vc-hg.el (vc-hg-next-revision):
114 Ensure use of default "tip" output format. (Bug#6968)
115
f0b6ae63
KS
1162012-12-01 Kim F. Storm <storm@cua.dk>
117
118 * startup.el (fancy-startup-tail): Add a clickable link
119 (Bug#2176).
120
c01bf73e
CY
1212012-12-01 Chong Yidong <cyd@gnu.org>
122
123 * startup.el (fancy-startup-tail): Improve the message about
124 auto-save files (Bug#2176).
125
f0b6ae63
KS
126 * files.el (recover-session): Improve the descriptive message, and
127 use substitute-command-keys.
128
a9400458
GM
1292012-12-01 Glenn Morris <rgm@gnu.org>
130
131 * ido.el (ido-file-internal):
132 Handle other-window, other-frame for dired. (Bug#13036)
133
fb3bf6ce
GM
1342012-11-30 Glenn Morris <rgm@gnu.org>
135
136 * icomplete.el (icomplete-separator): Fix :version.
137
a813fe3f
CY
1382012-11-30 Chong Yidong <cyd@gnu.org>
139
140 * shell.el (shell): For C-u M-x shell, use an inactive shell
141 buffer as the default (Bug#1975).
276479fd
CY
142 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
143 (shell-mode): Use them to reapply ansi colorization if Shell mode
144 is re-enabled.
a813fe3f 145
a8b733a5
CY
1462012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
147
148 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
149
6fccd6e8
SB
1502012-11-30 Samuel Bronson <naesten@gmail.com>
151
152 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
153 flag to xargs, for compatibility with BSD xargs (Bug#11703).
154
53c9a337
TT
1552012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
156
157 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
158 by move-to-column (Bug#3234).
159
ccf520bb
CY
1602012-11-30 Chong Yidong <cyd@gnu.org>
161
162 * longlines.el (longlines-wrap-line, longlines-encode-region):
163 Preserve text properties (Bug#1425).
164
171b0949
OT
1652012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
166
167 * vc/vc.el (vc-register): Allow registering a file which is
168 already registered with a different backend (Bug#10589).
169
cc37e70f
J
1702012-11-29 Jambunathan K <kjambunathan@gmail.com>
171 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * icomplete.el: Change separator; add ido-style commands.
174 (icomplete-show-key-bindings): Remove custom var.
175 (icomplete-get-keys): Remove function.
176 (icomplete-forward-completions, icomplete-backward-completions):
177 New commands.
178 (icomplete-minibuffer-map): New var.
179 (icomplete-minibuffer-setup): Use it.
180 (icomplete-exhibit): Don't delay if the list of completions is known.
181 (icomplete-separator): New custom.
182 (icomplete-completions): Use it.
183 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
184 (minibuffer-force-complete-and-exit): New command.
185 (minibuffer--complete-and-exit): New function extracted from
186 minibuffer-complete-and-exit.
187 (minibuffer-complete-and-exit): Use it.
83e12fe0
SM
188
189 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
190 error message when the file doesn't exist (bug#12974).
191
31646597
KD
1922012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
193
194 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
195
e9df8f87
GM
1962012-11-29 Glenn Morris <rgm@gnu.org>
197
824eefe4
GM
198 * files.el (hack-dir-local-variables): Warn if try to set
199 coding via dir-locals, since it doesn't work. (Bug#7169)
200
4ad900d9
GM
201 Add desktop support for restoring vc-dir buffers. (Bug#10606)
202 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
203 Set buffer-local value of desktop-save-buffer.
204 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
205 New functions.
206 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
207 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
208
e9df8f87
GM
209 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
210 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
211 Doc fix.
212 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
213 Doc fixes.
214
e7c8fcc4
JB
2152012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
216
217 * calc/calc-forms.el (calc-date-notation): Fix regexp
218 used to find time codes. Fix symbol for seconds.
219
48d6d9c0
GM
2202012-11-27 Glenn Morris <rgm@gnu.org>
221
222 * emacs-lisp/derived.el (derived-mode-make-docstring):
223 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
224
369f945d
SM
2252012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
226
227 * textmodes/table.el (table-insert): Don't use `symbol-name' on
228 lexically scoped variables (bug#13005).
229
5c9cf0a3 2302012-11-27 Glenn Morris <rgm@gnu.org>
98f99594 231
999e745e
GM
232 * vc/vc-hooks.el (vc-mistrust-permissions):
233 Default to t, to avoid data-loss. (Bug#11490)
98f99594 234
5c9cf0a3 2352012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
207cb73c 236
999e745e
GM
237 * progmodes/python.el (python-indent-guess-indent-offset):
238 If indentation is guessed make python-indent-offset buffer-local.
239
207cb73c 240 Fix Imenu regression.
999e745e
GM
241 * progmodes/python.el (python-nav-beginning-of-defun):
242 Fix forward movement when statement(s) separates point from defun.
207cb73c
FEG
243 (python-imenu-prev-index-position): New function.
244
5c9cf0a3 2452012-11-27 Eli Zaretskii <eliz@gnu.org>
33a488e4
EZ
246
247 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
248
249 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
865f7d8f 250 Don't set buffer-file-type. Return nil. (Bug#12989)
33a488e4 251
5c9cf0a3 2522012-11-27 Glenn Morris <rgm@gnu.org>
50207191
GM
253
254 * hippie-exp.el (hippie-expand-try-functions-list):
255 Re-autoload it. (Bug#12982)
256
5c9cf0a3 2572012-11-27 Eli Zaretskii <eliz@gnu.org>
2147c6ab 258
369f945d
SM
259 * descr-text.el (describe-char-padded-string):
260 Call internal-char-font only on GUI frames. (Bug#11964)
2147c6ab 261
5c9cf0a3 2622012-11-27 Andreas Schwab <schwab@linux-m68k.org>
58b1ae1e
AS
263
264 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
265 and obsoletion message.
266
5c9cf0a3 2672012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
35a10516
SM
268
269 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
270 the constructs to keep outside of the `cl-block' (bug#12977).
271
5c9cf0a3 2722012-11-27 Chong Yidong <cyd@gnu.org>
0c5ef133
CY
273
274 * mouse.el (mouse-drag-line): Even if the line is not draggable,
275 keep reading until we get the up-event anyway, in order to process
276 the up-event for mouse-1-click-follows-link (Bug#12971).
277
848a2dd1
SM
2782012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
281 base function is not yet defined (bug#12965).
282 (ad-activate-advised-definition): Use ad-compile-function.
283 (ad-activate): Use cond.
284
9ad79506
LL
2852012-11-25 Leo Liu <sdl.web@gmail.com>
286
287 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
288 (Bug#12979)
289
e2cb57f5
VB
2902012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
291
292 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
293 reftex-section-info-function in order to be compatible with
294 Texinfo integration.
295
296 * textmodes/reftex.el (reftex-section-pre-regexp)
848a2dd1
SM
297 (reftex-section-post-regexp, reftex-section-info-function):
298 New variable.
299 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
300 reftex-section-post-regexp, and reftex-section-info-function in order
301 to be compatible with Texinfo integration.
302
303 * textmodes/reftex-toc.el (reftex-toc-promote-action):
304 use reftex-section-pre-regexp variable in order to be compatible with
e2cb57f5
VB
305 Texinfo integration.
306
1c4f115d
CY
3072012-11-25 Chong Yidong <cyd@gnu.org>
308
309 * faces.el: Make face-spec-set more analogous to setq.
310 (face-spec-set): Change the third arg to specify whether this
311 function is being called via defface, customize, or a third party.
312 Set the appropriate symbol properties. Clear the override spec if
313 setting via Custom. Initialize face if necessary. (Bug#4988)
314 (face-spec-recalc): Allow theme faces to completely replace the
315 defface spec, in the same way as custom faces (Bug#8454).
316
317 * cus-face.el (custom-declare-face): Move face initialization to
318 face-spec-set.
319 (custom-theme-set-faces): Don't initialize the face name here, as
320 that is now done in face-spec-set.
321
322 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
323 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
324 Simplify by using the new arg to face-spec-set.
325
326 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
327 reset face-override-spec too, and use custom-declare-face.
328
c2350548
JD
3292012-11-24 Jan Djärv <jan.h.d@swipnet.se>
330
331 * term/ns-win.el (ns-initialize-window-system): Move creation of
332 fontsets here (Bug#11964).
333
ecfc364c
VB
3342012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
335
336 * ses.el (ses-rename-cell): Correct bug on mode-line update after
337 cell renaming.
338
0917cc54
CY
3392012-11-24 Chong Yidong <cyd@gnu.org>
340
433212bf
CY
341 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
342 obsolete.
343
0917cc54
CY
344 * custom.el (custom-theme-set-variables): Use a topological sort
345 for ordering by custom dependencies (Bug#12952).
346 (custom--sort-vars, custom--sort-vars-1): New functions.
347
d125ca15 3482012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
002c019c
SM
349
350 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
351 lexical-binding (bug#12938).
352
d125ca15 3532012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
977f9325
WJ
354
355 * image-mode.el (image-transform-check-size): Use assertions only
356 for images of type imagemagick.
357
358 Otherwise no error, image-transform-fit-to-{width,height} is
359 silently ignored, as before. Doc fix.
360
d125ca15 3612012-11-24 Chong Yidong <cyd@gnu.org>
bccffa83
CY
362
363 * faces.el (color-defined-p): Doc fix (Bug#12853).
364
d125ca15 3652012-11-24 Juri Linkov <juri@jurta.org>
61a2a122
JL
366
367 * dired.el (dired-mark): Add optional arg `interactive'.
368 Check for `use-region-p' if `interactive' is non-nil.
369 (dired-unmark, dired-flag-file-deletion): Add optional arg
370 `interactive'. Call `dired-mark' with the arg `interactive'.
371 (Bug#10624)
372
cc4c01bd
JL
373 * wdired.el: Revert 2012-10-17 change partly and replace it with
374 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
375 (wdired-finish-edit): Add marks for new file names to
376 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
377 after `revert-buffer'.
378 (wdired-do-renames): Remove calls to `dired-remove-file',
379 `dired-add-file', `dired-add-entry'. (Bug#11795)
380
d125ca15 3812012-11-24 Alan Mackenzie <acm@muc.de>
b03aabda 382
dc310ed0
AM
383 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
384
b03aabda
AM
385 Fix bugs in the state cache. Enhance a debugging mechanism.
386 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
387 "brace at column zero" strategy for C++.
388 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
389 (c-parse-state-point): New variable.
390 (c-record-parse-state-state): Record old parse state with
391 `copy-tree'. Record previous value of point.
392 (c-debug-parse-state-double-cons): New debugging function.
393 (c-debug-parse-state): Call the above new function.
394 (c-toggle-parse-state-debug): Output a confirmatory message.
395
002c019c
SM
396 * progmodes/cc-mode.el (c-before-change, c-after-change):
397 Call c-invalidate-state-cache from `c-before-change' instead of
b03aabda
AM
398 `c-after-change'.
399
930a6273
CY
4002012-11-23 Chong Yidong <cyd@gnu.org>
401
402 * find-cmd.el (find-constituents): Add executable, ipath,
403 readable, samefile, writable, daystart, regextype (Bug#12856).
404
15c9d04e
SM
4052012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
406
407 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
408
2ecb2679
PE
4092012-11-22 Paul Eggert <eggert@cs.ucla.edu>
410
411 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
412 definition. This fixes a bootstrap failure.
a14a5a40
PE
413 (calc-gregorian-switch): In menu, put dates before regions.
414 This is easier to follow, lines up better in the menu, and lets us
415 coalesce regions that switch at the same time. Give country
15c9d04e
SM
416 names, not "Vatican", as that's better for non-expert users.
417 Use names that are stable between the date of switch and now, e.g.,
a14a5a40
PE
418 Bohemia and Moravia (which existed then and now) and not
419 Czechoslovakia (which didn't exist then and doesn't exist now).
420 What is now the U.S. mostly did not switch at the same time as
421 Britain, so omit the U.S. Correct spelling of "Britain".
422 Catholic Switzerland was too much of a mess, so omit it.
2ecb2679 423
723da6aa
JB
4242012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
425
426 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
427 after the variable is changed.
428
21fa2482
DC
4292012-11-21 Daniel Colascione <dancol@dancol.org>
430
431 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
b6096e85
DC
432 in SQL declarations for font-lock.
433 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
21fa2482 434
3ca2f1bf
GM
4352012-11-21 Glenn Morris <rgm@gnu.org>
436
1bf335cf
GM
437 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
438 (face-italic-p): Add optional argument "inherit".
439
3ca2f1bf
GM
440 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
441 Remove -p suffix from names, for consistency with other set-face-*.
442 (set-face-inverse-video): Fix interactive spec.
443 * play/gamegrid.el (gamegrid-make-mono-tty-face):
444 * textmodes/table.el (table--update-cell-face):
445 Use set-face-inverse-video rather than now obsolete alias.
446
6ef2e5ef 4472012-11-21 Eli Zaretskii <eliz@gnu.org>
7cf95797
EZ
448
449 * simple.el (line-move): Don't call line-move-partial if
450 scroll-conservatively is in effect. (Bug#12927)
451
6ef2e5ef 4522012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
63f25172 453
93b05041
SM
454 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
455 Fallback on completion-at-point rather than
456 pcomplete-expand-and-complete, and only if pcomplete actually failed.
457 (eshell-cmpl-initialize): Setup completion-at-point.
458
459 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
460
bc715d67
SM
461 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
462
6ef2e5ef 4632012-11-21 Michael Albinus <michael.albinus@gmx.de>
d7f2a65c
MA
464
465 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
466 are remote, check out-of-band property for both.
467
6ef2e5ef 4682012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
d1c0cddf
SM
469
470 * window.el (switch-to-buffer): Re-add the warning that was lost in the
471 code rewrite.
472
6ef2e5ef 4732012-11-21 Paul Eggert <eggert@cs.ucla.edu>
0c93aa38 474
535efd4a
PE
475 More minor time fixes.
476 * calendar/time-date.el: Commentary fix.
477 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
478 too much other code depends on (0 0) time stamps.
479 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
480 Add a couple of FIXME comments.
481
0c93aa38
PE
482 Minor cleanup for times as lists of four integers.
483 * files.el (dir-locals-directory-cache):
484 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
485 Doc fixes.
486 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
487 * ps-bdf.el (bdf-file-newer-than-time):
488 Process four-integers time stamps, not two. Doc fixes.
489
23ba2705
SM
4902012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
491
2e31777b
SM
492 * uniquify.el (uniquify-managed): Use defvar-local.
493 (rename-buffer, create-file-buffer): Advise with advice-add.
494 (uniquify-unload-function): Unadvise accordingly.
495
8b62d742
SM
496 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
497 (trace-buffer): Don't purecopy.
498 (trace-entry-message, trace-exit-message): Add `context' arg.
499 (trace--timer): New var.
500 (trace-make-advice): Adjust for use in nadvice.
501 Add `context' argument. Delay `display-buffer' via a timer.
502 (trace-function-internal): Use advice-add.
503 (trace--read-args): New function.
504 (trace-function-foreground, trace-function-background): Use it.
505 (trace-function): Rename to trace-function-foreground and redefine as
506 an alias to that new name.
507 (untrace-function, untrace-all): Adjust to the use of nadvice.
508
5d0ccd95
SM
509 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
510
3837d988
SM
511 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
512
23ba2705
SM
513 * subr.el (called-interactively-p-functions): New var.
514 (internal--called-interactively-p--get-frame): New macro.
515 (called-interactively-p, interactive-p): Rewrite in Lisp.
516 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
517 (called-interactively-p-functions): Use it.
518 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
519 (called-interactively-p-functions): Use it.
520 * allout.el (allout-called-interactively-p): Don't assume
521 called-interactively-p is a subr.
522
b0636be7
GM
5232012-11-20 Glenn Morris <rgm@gnu.org>
524
525 * profiler.el (profiler-report-mode-map): Add a menu.
526 No need to bind `q' because we derive from special-mode.
527 (profiler-report-find-entry): Handle calls from the menu-bar.
528
855b17af
SM
5292012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
530
14146222
SM
531 * emacs-lisp/byte-run.el (defun-declarations-alist):
532 Allow a compiler-macro to be a lambda expression.
533
534 * progmodes/python.el: Use cl-lib. Move var declarations outside of
535 eval-when-compile.
536 (python-syntax-context): Add compiler-macro.
537 (python-font-lock-keywords): Simplify with De Morgan.
538
1000d895
SM
539 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
540
ac5392dc
SM
541 * files.el (load-file): Require match in minibuffer selection, as was
542 the case in Emacs-20 before we changed the spec to allow .elc files
543 (bug#12935).
544
19dc7206
SM
545 * json.el: Don't require cl since we don't use it.
546 * color.el: Don't require cl.
547 (color-complement): `caddr' -> `nth 2'.
548
855b17af
SM
549 * calendar/time-date.el (time-to-seconds): De-obsolete.
550
e8909bdc
JB
5512012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
552
553 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
554 year numbers.
555 (math-date-to-julian-dt): Adjust the initial approximation for the
556 year to deal with the new definition of the DATE.
557
6e9f7997
DC
5582012-11-19 Daniel Colascione <dancol@dancol.org>
559
855b17af
SM
560 * term/w32-win.el (cygwin-convert-path-from-windows):
561 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
6e9f7997 562
6a3dd257
CY
5632012-11-18 Chong Yidong <cyd@gnu.org>
564
565 * filecache.el (file-cache--read-list): New function.
566 (file-cache-add-directory-list, file-cache-add-file-list)
567 (file-cache-delete-file-list, file-cache-delete-directory-list):
568 Use it to read a list of files or directories (Bug#12846).
569 (file-cache-add-file, file-cache-add-directory)
570 (file-cache-delete-file-list, file-cache-delete-file-regexp)
571 (file-cache-delete-directory): Print an message.
572
eef97f35
JB
5732012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
574
575 * calc/calc-forms.el (math-date-to-dt): Use integer date when
576 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
577
913c8291
GM
5782012-11-18 Glenn Morris <rgm@gnu.org>
579
580 * image.el (insert-image, insert-sliced-image): Doc fix.
581
2ac9538d 5822012-11-18 Chong Yidong <cyd@gnu.org>
ec6f8ce6
CY
583
584 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
585 (Bug#12810).
586
2ac9538d 5872012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
c2d07557
CY
588
589 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
590 response when the target file is in a subdirectory (Bug#12757).
591
2ac9538d 5922012-11-18 Chong Yidong <cyd@gnu.org>
33f8917c
CY
593
594 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
595
2ac9538d 5962012-11-18 Glenn Morris <rgm@gnu.org>
65463c40 597
9a5e2ee3
GM
598 * emacs-lisp/cl-lib.el (face-underline-p):
599 Use set-face-underline rather than the alias set-face-underline-p.
600
65463c40 601 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
602 * subr.el (with-output-to-temp-buffer):
603 Add doc xref to with-temp-buffer-window.
65463c40 604
c9ed8e3d
JB
6052012-11-18 Juanma Barranquero <lekktu@gmail.com>
606
607 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
608 * calc/calc.el (math-format-date-cache): Declare.
609
310e60d9
PE
6102012-11-17 Paul Eggert <eggert@cs.ucla.edu>
611
6f6b82d6
PE
612 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
613 It also uses January 1, 1 AD as its day number 1.
310e60d9 614 * calc/calc-forms.el (math-julian-date-beginning)
6f6b82d6 615 (math-julian-date-beginning-int): Implement this.
310e60d9 616
d7fe6352
JB
6172012-11-17 Juanma Barranquero <lekktu@gmail.com>
618
619 * descr-text.el (quail-find-key):
620 * dired.el (desktop-file-name):
621 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
622 * generic-x.el (comint-mode, comint-exec):
623 * image-dired.el (widget-forward):
624 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
625 (speedbar-change-expand-button-char)
626 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
627 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
628 * printing.el (easy-menu-add-item, easy-menu-remove-item)
629 (widget-field-action, widget-value-set):
630 * speedbar.el (imenu--make-index-alist):
631 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
632 (ring-length, ring-insert):
633 * vcursor.el (compare-windows-skip-whitespace):
634 * woman.el (dired-get-filename):
635 Declare functions.
636
637 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
638
c9f618db
JB
6392012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
640
641 * calc/calc.el (calc-gregorian-switch): New variable.
642
643 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
644 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
645 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
646 (math-leap-year-p): Add option to distinguish between Julian
647 and Gregorian calendars.
648 (math-day-number): Use `math-day-in-year' to do the computations.
649 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
650 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
651 to do the computations.
652 (math-date-to-dt): Use `math-date-to-julian-dt' and
653 `math-date-to-gregorian-dt' to do the computations.
654 (calcFunc-weekday, math-format-date-part): Use the new version of
655 the DATE to determine the weekday.
656 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
657 when necessary.
658
3804f7bc
EZ
6592012-11-17 Eli Zaretskii <eliz@gnu.org>
660
661 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
662 Cygwin; otherwise use 'file:'. (Bug#12914)
663 (cygwin-convert-path-from-windows): Declare, to avoid
664 byte-compiler warnings.
665
de959d4d
AP
6662012-11-17 Andreas Politz <politza@fh-trier.de>
667
668 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
669 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
670 prefix and negative numeric prefix args (Bug#12795).
671
e45deaef
SB
6722012-11-17 Stephen Berman <stephen.berman@gmx.net>
673
674 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
675 Don't signal an error with a score that is too low to add to the
676 list of top scores. (Bug#12779)
677
ec15e0ff
CY
6782012-11-17 Chong Yidong <cyd@gnu.org>
679
8e7696a1
CY
680 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
681
ec15e0ff
CY
682 * filecache.el (file-cache-add-file): Handle relative file name in
683 the argument (Bug#12694).
684
60c4ee66
JH
6852012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
686
687 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
688
cdc5d88c
SM
6892012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
690
dd0c5bbb
SM
691 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
692
cdc5d88c
SM
693 * emacs-lisp/cl-lib.el: Set more meaningful version number.
694
0ff7851c
MR
6952012-11-16 Martin Rudalics <rudalics@gmx.at>
696
697 * window.el (enlarge-window, shrink-window): Don't mention return
698 value in doc-string (Bug#12896).
699 (window--display-buffer): Don't resize frames - it won't work
700 with all window managers and defeat pop-up-frame-alist.
701 (display-buffer-alist): In doc-string explain that CONDITION can
702 be a function and which arguments are passed to it (Bug#12854).
703 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
704 expressions (Bug#12854).
705 (display-buffer): Pass ACTION argument to
706 display-buffer-assq-regexp.
707
dedd1884
GM
7082012-11-16 Glenn Morris <rgm@gnu.org>
709
7c82753d
GM
710 * window.el (fit-frame-to-buffer-bottom-margin)
711 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
712
dedd1884
GM
713 * faces.el (face-underline-p): Use face-attribute-specified-or.
714
96e05507 7152012-11-16 Juanma Barranquero <lekktu@gmail.com>
662b0ee6
JB
716
717 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
718
96e05507 7192012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
eb31fa40
SM
720
721 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
722
96e05507 7232012-11-16 Glenn Morris <rgm@gnu.org>
e2e13f18 724
17c083ac
GM
725 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
726 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
727
bde3c6c0
GM
728 * faces.el (face-underline-p): Doc fix. Handle :underline being
729 things other than `t' (a string, a list).
730 (face-inverse-video-p): Doc fix.
731 (set-face-underline): Rename it back from set-face-underline-p.
732 Doc fix. Allow interactive input of values other than t.
733 (read-face-attribute): Apply formatting to :underline,
734 since like :box and :stipple it can take list values.
735
e2e13f18
GM
736 * term.el (ansi-term): Don't let C-x escape-char binding
737 clobber the more standard C-c binding. (Bug#12842)
738
e0ea8060
GM
739 * subr.el (set-temporary-overlay-map): Doc fix.
740
96e05507 7412012-11-16 Martin Rudalics <rudalics@gmx.at>
92346275
MR
742
743 * window.el (record-window-buffer)
744 (display-buffer-record-window): When copying the markers to
745 window-point preserve window-point-insertion-type. (Bug#12588)
746
96e05507 7472012-11-16 Glenn Morris <rgm@gnu.org>
7b1bf173
GM
748
749 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
750 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
751 Use new names for hooks rather than obsolete aliases.
752
faeafc01
DC
7532012-11-15 Daniel Colascione <dancol@dancol.org>
754
755 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
9533048d
DC
756 prefix instead of "file:" so that when FILE-NAME begins with "//",
757 as it does when the target file is on a network share, url-handler
758 isn't confused.
759
1232d6c2
SM
7602012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
763 a preactivated advice from an old advice.el; they're not compatible!
764
47f01a8a
KY
7652012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
766
767 * emacs-lisp/nadvice.el (advice--make-interactive-form):
768 Fix string-spec case.
769
770 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
771
a61428c4
SM
7722012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
773
774 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
775 (advice--buffer-local-function-sample): New var.
776 (advice--set-buffer-local, advice--buffer-local): New functions.
777 (add-function, remove-function): Use them.
778
875ce3a7
DA
7792012-11-15 Drew Adams <drew.adams@oracle.com>
780
781 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
782
589fc479
SM
7832012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
786 potential binding of print-gensym to t, and prettify (back)quotes in
787 case they appear in args's default values (bug#12884).
788
1668ea90
SM
7892012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
792 (advice-eval-interactive-spec): New function.
793 (advice--make-interactive-form): Support around advice (bug#12844).
794
8619323f
DG
7952012-11-14 Dmitry Gutov <dgutov@yandex.ru>
796
797 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
798 more strict. Add docstring.
c62792e7
DG
799 (ruby-expression-expansion-re): Extract from
800 `ruby-match-expression-expansion'.
801 (ruby-syntax-propertize-function): After everything else, search
802 for expansions in string literals, mark their insides as
803 whitespace syntax and save match data for font-lock.
804 (ruby-font-lock-keywords): Use the 2nd group from expression
805 expansion matches.
806 (ruby-match-expression-expansion): Use the match data saved to the
807 text property in ruby-syntax-propertize-function.
8619323f 808
9c3912d3
SM
8092012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
810
811 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
812 (bug#12879).
813
5e9419e8
DG
8142012-11-13 Dmitry Gutov <dgutov@yandex.ru>
815
816 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
817 start/end keyword a bit harder. Works with different values of N.
818 Add more comments.
819 (ruby-end-of-block): Update accordingly.
820
3c442f8b
SM
8212012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
822
fa470af0
SM
823 * woman.el (woman-file-name): Don't mess with unread-command-events
824 (bug#12861).
825
3c442f8b
SM
826 * emacs-lisp/advice.el: Layer on top of nadvice.el.
827 Remove out of date self-require hack.
828 (ad-do-advised-functions): Use simple `dolist'.
829 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
830 (ad-advice-definition): Redefine as functions.
831 (ad-advice-classes): Move before first use.
832 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
fa470af0 833 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3c442f8b 834 (ad--defalias-fset): Remove functions.
fa470af0 835 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3c442f8b
SM
836 (ad-get-orig-definition): Rewrite.
837 (ad-make-advised-definition-docstring): Change base docstring.
838 (ad-real-orig-definition): Rewrite.
839 (ad-map-arglists): Change name of called function.
840 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
841 (ad-make-advised-definition): Simplify.
842 (ad-assemble-advised-definition): Tweak for new calling context.
fa470af0 843 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3c442f8b
SM
844 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
845 function and call ad-activate if needed.
846 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
847 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
848 (ad-compile-function): Compile ad-Advice-*.
849 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
850 (ad-start-advice, ad-stop-advice): Remove.
851
5745cae6
DG
8522012-11-13 Dmitry Gutov <dgutov@yandex.ru>
853
854 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
855 period before class method names, not after. Remove handling of
856 one impossible case. Add comments.
857
413d4689
SM
8582012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
859
7db1bda8
SM
860 * emacs-lisp/advice.el: Remove support for freezing.
861 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
862 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
863 Remove support for `freeze'.
864
413d4689
SM
865 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
866 override the default.
867 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
868 cl--dotimes/dolist.
869 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
870 `cl' is loaded.
871
872 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
873 from add-advice.
874 (advice--strip-macro): New function.
875 (advice--defalias-fset): Use them to handle macros.
876 (advice-add): Use them.
877 (advice-member-p): Correctly handle macros.
878
f178c32d
DG
8792012-11-13 Dmitry Gutov <dgutov@yandex.ru>
880
7db1bda8
SM
881 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
882 Never font-lock the beginning of singleton class as heredoc.
f178c32d 883
f78ee6af 8842012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
f8705f6e
SM
885
886 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
887
f78ee6af 8882012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
9db94175
WJ
889
890 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
f78ee6af
GM
891 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
892 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
9db94175 893
f78ee6af 8942012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
2e6625b5
FEG
895
896 Fix end-of-defun misbehavior.
897 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
898 python-beginning-of-defun-function. Handle nested defuns
899 correctly.
900 (python-nav-end-of-defun): Rename from
901 python-end-of-defun-function. Ensure forward movement.
f8705f6e 902 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
903 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
904 parent defuns as soon as possible.
905
f78ee6af 9062012-11-13 Glenn Morris <rgm@gnu.org>
24c38527
GM
907
908 * progmodes/flymake.el (flymake-error-bitmap)
909 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
910 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
911
f78ee6af 9122012-11-13 Dmitry Gutov <dgutov@yandex.ru>
d1e1e53d
DG
913
914 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
915 backward, always stop at indentation. Reverts the change from
916 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
917
f78ee6af 9182012-11-13 Glenn Morris <rgm@gnu.org>
68146aa5 919
a1d3e07e
GM
920 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
921 Add ibuffer-filter-by-derived-mode.
922
84acf328
GM
923 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
924 the same name shadowing each other.
925
38785e75
GM
926 * window.el (with-temp-buffer-window): Doc tweak.
927
57fc0fee
GM
928 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
929
6ba6a3e5
GM
930 * help.el (temp-buffer-max-height):
931 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
932 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
933
231d8498
SM
9342012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
935
936 * emacs-lisp/nadvice.el: New package.
937 * subr.el (special-form-p): New function.
938 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
939 (elp-all-instrumented-list): Remove var.
940 (elp-not-profilable): Remove elp-wrapper.
941 (elp-profilable-p): Use autoloadp and special-form-p.
942 (elp--advice-name): New const.
943 (elp-instrument-function): Use advice-add.
944 (elp--instrumented-p): New predicate.
945 (elp-restore-function): Use advice-remove.
946 (elp-restore-all, elp-reset-all): Use mapatoms.
947 (elp-set-master): Use elp--instrumented-p.
948 (elp--make-wrapper): Rename from elp-wrapper, return a function
949 suitable for advice-add. Use cl-inf.
950 (elp-results): Use mapatoms+elp--instrumented-p.
951 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
952 (debug-function-list): Remove var.
953 (debug): Rename arg, and then let-bind it explicitly inside.
954 (debugger-setup-buffer): Rename arg.
955 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
956 (debugger-frame-number): Adjust to new debug-on-entry setup.
957 (debug--implement-debug-on-entry): Rename from
958 implement-debug-on-entry, add argument.
959 (debugger-special-form-p): Remove, use special-form-p instead.
960 (debug-on-entry): Use advice-add.
961 (debug--function-list): New function.
962 (cancel-debug-on-entry): Use it, along with advice-remove.
963 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
964 (debugger-list-functions): Use debug--function-list instead of
965 debug-function-list.
966 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
967 (ad-special-form-p): Remove, use special-form-p instead.
968 (ad-set-advice-info): Use add-function and remove-function.
969 (ad--defalias-fset): Adjust accordingly.
970
19e09879
GM
9712012-11-10 Glenn Morris <rgm@gnu.org>
972
714cebd1
GM
973 * mail/emacsbug.el (report-emacs-bug-tracker-url)
974 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
975 (report-emacs-bug-create-existing-bugs-buffer)
976 (report-emacs-bug-parse-query-results)
977 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
978
bf67dafa
GM
979 * term.el (term-default-fg-color, term-default-bg-color):
980 Make obsolete, rather than just saying "deprecated" in the doc.
981
19e09879
GM
982 * term.el (term): Rename from `term-face'.
983 (term-current-face, ansi-term-color-vector)
984 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
985 Update all users.
986
6baf66d5 9872012-11-10 Jan Djärv <jan.h.d@swipnet.se>
531bdce6
JD
988
989 * server.el (server-create-window-system-frame): Handle Nextstep
990 specially (Bug#12780).
991
6baf66d5 9922012-11-10 Glenn Morris <rgm@gnu.org>
fedb154e
GM
993
994 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
995 Unautoload, and make obsolete. (Bug#7449)
996
6baf66d5 9972012-11-10 Chong Yidong <cyd@gnu.org>
9d9e48d9
CY
998
999 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1000 rename from diff-remove-trailing-whitespace (Bug#12831).
1001
6baf66d5 10022012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
32170f7f
SM
1003
1004 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1005 miscompilation of trace.el.
1006
6baf66d5 10072012-11-10 Glenn Morris <rgm@gnu.org>
26f59676
GM
1008
1009 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1010
6baf66d5 10112012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
41626722
SM
1012
1013 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1014 (bug#12812).
1015
6baf66d5 10162012-11-10 Chong Yidong <cyd@gnu.org>
7d806bfe
CY
1017
1018 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1019 a defcustom with an appropriate :set function.
1020 (minibuffer-default--in-prompt-regexps): New function.
1021
6baf66d5 10222012-11-10 Glenn Morris <rgm@gnu.org>
2ee1d59f 1023
031b2ea7
GM
1024 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1025 (define-modify-macro): Doc fixes.
1026
2ee1d59f
GM
1027 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1028 (gv-define-simple-setter): Update doc of `fix-return'.
1029
6baf66d5 10302012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
d57c286e 1031
b715ed44
SM
1032 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1033 twice when `fix-return' is set (bug#12813).
1034
d57c286e
SM
1035 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1036 gv-define-simple-setter (bug#12812).
1037
c9cac599
SM
1038 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1039 (bug#12756).
1040
6baf66d5 10412012-11-10 Glenn Morris <rgm@gnu.org>
6b3770fb
GM
1042
1043 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1044
5593ed90
GM
1045 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1046 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1047 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1048 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1049
1050 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1051
05a859c1
LL
10522012-11-10 Leo Liu <sdl.web@gmail.com>
1053
1054 * ido.el (ido-set-matches-1): Improve flex matching performance by
1055 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1056
32e5c58c
SM
10572012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1060 (ad--defalias-fset): New function.
1061 (ad-safe-fset): Remove.
1062 (ad-make-freeze-definition): Use cl-letf*.
1063
f5925cd9
SM
10642012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1065
da03ef8a
SM
1066 * subr.el (dolist): Don't bind VAR in RESULT.
1067
6858633a
SM
1068 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1069 (fset, documentation): Don't save real def since we don't advise.
1070 (ad-do-advised-functions): Remove problematic `result-form'.
1071 (ad-safe-fset): `ad-real-fset' => `fset'.
1072 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1073 uses CL's dolist internally.
1074 (ad-arglist): Remove unused arg `name'.
1075 (ad-docstring, ad-make-advised-docstring):
1076 `ad-real-documentation' => `documentation'.
1077 (warning-suppress-types): Declare.
1078 (ad-set-arguments): Simple CSE.
1079 (ad-recover-normality): Sanity check.
1080
f5925cd9
SM
1081 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1082 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1083
93a66b3a
VB
10842012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1085
1086 * ses.el: symbol to coordinate mapping is made by symbol property
f5925cd9
SM
1087 `ses-cell'. This means that the same mapping is done for all SES
1088 sheets. That is good enough for cells with standard A1 names, but
1089 not for named cell. So a hash map is added for the latter.
1090 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
93a66b3a
VB
1091 (ses-sym-rowcol): Use hashmap for named cell.
1092 (ses-is-cell-sym-p): New defun.
1093 (ses-decode-cell-symbol): New defun.
f5925cd9
SM
1094 (ses-create-cell-variable): Add cell to hashmap when name is not
1095 A1-like.
93a66b3a
VB
1096 (ses-rename-cell): Check that cell new name is not already in
1097 spreadsheet with the use of ses-is-cell-sym-p
1098 (ses-rename-cell): Use hash map for named cells, but accept also
1099 renaming back to A1-like.
1100
67dd8ad1
SM
11012012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1102
57618ecf
SM
1103 * emacs-lisp/advice.el: Use new dynamic docstrings.
1104 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1105 Use dynamic-docstring-function instead of ad-advice-info.
1106 (ad--make-advised-docstring): New function extracted from
1107 ad-make-advised-docstring.
1108 (ad-make-advised-docstring): Use it.
1109 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1110 from sql-help.
1111 (sql-help): Use it with dynamic-docstring-function.
1112
67dd8ad1
SM
1113 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1114
be883b34
SM
11152012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1116
d41706aa
SM
1117 * files.el (hack-one-local-variable--obsolete): New function.
1118 (hack-one-local-variable): Use it for obsolete settings.
1119
85e55412
SM
1120 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1121 the new name.
1122
be883b34
SM
1123 * progmodes/js.el (js--filling-paragraph): New var.
1124 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1125 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1126 less sneaky.
1127
cabc040a
JD
11282012-11-08 Julien Danjou <julien@danjou.info>
1129
1130 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1131 `auto-mode-alist' (Bug#12835).
1132
d14bb752
SM
11332012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1134
79b3e376
SM
1135 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1136 (perl--prettify-symbols-alist): New const.
1137 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1138 New functions.
1139 (perl-font-lock-keywords-2): Use them.
1140 (perl-electric-noindent-p): New function.
1141 (perl-mode): Use it to set up electric-indent-mode.
1142 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1143 (perl-mode-map): Remove bindings for them.
1144 (perl-imenu-generic-expression, perl-outline-level):
1145 Match functions&packages in column>0.
1146
3b11e6ac
SM
1147 * env.el (env--substitute-vars-regexp): New const.
1148 (substitute-env-vars): Use it. Add `only-defined' arg.
1149 * net/tramp.el (tramp-replace-environment-variables): Use it.
1150
784c1a7b
SM
1151 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1152 Byte-compile *before* eval in eval-and-compile.
1153 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1154 (byte-compile-file-form-autoload): Don't hide actual definition.
1155 (byte-compile-maybe-guarded): Accept `functionp' as well.
1156
d14bb752
SM
1157 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1158
499a0f7a
MA
11592012-11-07 Michael Albinus <michael.albinus@gmx.de>
1160
1161 * notifications.el (notifications-get-server-information-method):
1162 New defconst.
1163 (notifications-get-capabilities): Fix docstring.
1164 (notifications-get-server-information): New defun.
1165
f0704a9a
AM
11662012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1167
1168 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1169 readability.
1170
b159a1fd
AM
1171 * textmodes/ispell.el: Experimental support for support debugging.
1172 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1173 buffer for ispell.
1174 (ispell-print-if-debug): New function to print stuff to
1175 `ispell-debug-buffer' if debugging is enabled.
1176 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1177 show some debugging info.
1178 (ispell-buffer-with-debug): New function that creates a debugging
1179 buffer and calls `ispell-buffer' with debugging enabled.
1180
056cb3a1
AM
1181 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1182 comment in autoconf mode. (Bug#12768)
1183
8e6a67b7
DA
11842012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1185
1186 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1187 frame-first-window, frame-root-window, frame-selected-window,
1188 minibuffer-selected-window, minibuffer-window,
1189 window-absolute-pixel-edges, window-at, window-body-height,
1190 window-body-width, window-display-table, window-combination-limit,
1191 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1192 window-inside-edges, window-inside-pixel-edges, window-left-child,
1193 window-left-column, window-margins, window-next-buffers,
1194 window-next-sibling, window-new-normal, window-new-total,
1195 window-normal-size, window-parameter, window-parameters, window-parent,
1196 window-pixel-edges, window-point, window-prev-buffers,
1197 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1198 window-start, window-text-height, window-top-child, window-top-line,
1199 window-total-height, window-total-width and window-use-time to the list
1200 of functions without side-effects.
1201 (toplevel): Add window-valid-p to the list of error-free functions
1202 without side-effects.
1203
53fc914f
AM
12042012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1205
f5925cd9
SM
1206 * textmodes/ispell.el (ispell-program-name):
1207 Update spellchecker parameters when customized.
53fc914f 1208
9749e2b0
GM
12092012-11-04 Glenn Morris <rgm@gnu.org>
1210
1211 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1212
2cbafa56
CY
12132012-11-04 Chong Yidong <cyd@gnu.org>
1214
1215 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1216 same-window-* variables.
1217
85178ca1
JL
12182012-11-04 Juri Linkov <juri@jurta.org>
1219
1220 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1221 (isearch-describe-key, isearch-describe-mode): Use a display
1222 action instead of binding same-window-* variables (Bug#10040).
1223
5c677d44
GM
12242012-11-03 Glenn Morris <rgm@gnu.org>
1225
49138400
GM
1226 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1227 Rename handler properties back from cl-- to cl-. (Bug#12788)
1228
5c677d44
GM
1229 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1230
1d4341f9
EZ
12312012-11-03 Eli Zaretskii <eliz@gnu.org>
1232
1233 * term/pc-win.el: Don't load term/internal from here.
1234
1235 * loadup.el: Load term/internal from here.
1236
12fd5ee1
FEG
12372012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1238
1239 * progmodes/python.el (inferior-python-mode): Fix hang in
1240 jit-lock (Bug#12645).
1241
43bcfda6
MR
12422012-11-03 Martin Rudalics <rudalics@gmx.at>
1243
1244 * window.el (switch-to-visible-buffer)
1245 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1246
376a8e83
GM
12472012-11-03 Glenn Morris <rgm@gnu.org>
1248
1249 * emacs-lisp/cl-lib.el (cl--random-time):
1250 Rename from cl-random-time. (Bug#12773)
1251 (cl--gensym-counter, cl--random-state): Update callers.
1252 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1253
0f7b074f
CY
12542012-11-03 Chong Yidong <cyd@gnu.org>
1255
1256 * cus-start.el: Make cursor-type customizable (Bug#11633).
1257
3a6851d9
GM
12582012-11-02 Glenn Morris <rgm@gnu.org>
1259
00a3b041
GM
1260 * filecache.el: No need to load find-lisp when compiling.
1261 (find-lisp-find-files): Autoload it.
1262 (file-cache-add-directory-recursively): Don't require find-lisp.
1263
11fef14a
GM
1264 * image.el (image-type-from-file-name): Trivial simplification.
1265
3a6851d9
GM
1266 * emacs-lisp/bytecomp.el (byte-compile-eval):
1267 Decouple "noruntime" and "cl-functions" warnings.
1268
b4b096e4
SB
12692012-11-01 Stephen Berman <stephen.berman@gmx.net>
1270
1271 * play/gomoku.el (gomoku-display-statistics): Update mode line
1272 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1273
218e997a
MR
12742012-10-31 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (quit-restore-window): If the window has been
1277 created on an existing frame and ended up as the sole window on
1278 that frame, do not delete it (Bug#12764).
1279
b08b6da7
SM
12802012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
1281
3618df45
SM
1282 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1283 Rename from sh--inside-arithmetic-expression, handle more cases
1284 (bug#11263).
1285
b08b6da7
SM
1286 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1287 (sh-font-lock-open-heredoc): Use it (bug#12770).
1288
4ddedf94
GM
12892012-10-30 Glenn Morris <rgm@gnu.org>
1290
f43a5263
GM
1291 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
1292
4ddedf94
GM
1293 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
1294
748b0d84
CY
12952012-10-29 Chong Yidong <cyd@gnu.org>
1296
b5dd9a77
CY
1297 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1298 function key is stored in a keyboard macro (Bug#4894).
1299
748b0d84
CY
1300 * thingatpt.el (number-at-point): Apply a thing-at-point property.
1301
e07fcbdc
SM
13022012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1303
d7f9cc85
SM
1304 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1305 header comments".
1306 (diff-unified->context, diff-context->unified)
1307 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1308
c606253c
SM
1309 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1310
e07fcbdc
SM
1311 * files.el (find-alternate-file): Only ask one question (bug#12487).
1312
894b9dd9
CY
13132012-10-29 Chong Yidong <cyd@gnu.org>
1314
1dc2755a
CY
1315 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1316 Suggested by Dan Nicolaescu (Bug#6326).
1317
329c48d8
CY
1318 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1319
2230fa5b 1320 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 1321
e84cad57
CY
1322 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1323
1913c5f5
CY
1324 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1325
894b9dd9
CY
1326 * face-remap.el (face-remap-add-relative): Handle the case where a
1327 face-remapping-alist entry is a cons cell (Bug#12762).
1328
329c48d8
CY
13292012-10-29 Kevin Ryde <user42@zip.com.au>
1330
1331 * woman.el (woman-parse-numeric-value): Handle picas correctly
1332 (Bug#12639).
1333
a0ccbcbd
GM
13342012-10-29 Glenn Morris <rgm@gnu.org>
1335
1336 * emacs-lisp/cl.el (defsetf): Doc fix.
1337
b3871e59
SM
13382012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1341 syntax to the matching opener, if any (bug#12547).
1342 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1343 matching open as a "case-(".
1344 (sh-smie-rc-grammar): Add a corresponding rule for it.
1345
cd44022c
DH
13462012-10-28 Daniel Hackney <dan@haxney.org>
1347
1348 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1349 "PKGNAME-autoloads.el" in case we created it.
1350
70edffb1
SM
13512012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
1352
86957a0c
SM
1353 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1354 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 1355 (completion--twq-all): Disable too-strict assertions.
86957a0c 1356
70edffb1
SM
1357 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1358
d069271c
EZ
13592012-10-27 Eli Zaretskii <eliz@gnu.org>
1360
1361 * profiler.el (profiler-report-make-entry-part): Fix help-echo
1362 text to match the real keybindings.
1363
e2f022a3
JL
13642012-10-27 Juri Linkov <juri@jurta.org>
1365
1366 * wdired.el (wdired-keep-marker-rename): New defcustom.
1367 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1368 (Bug#11795)
1369
1370 * dired.el (dired-keep-marker-rename): Add reference to
1371 `wdired-keep-marker-rename' in the docstring.
1372 Add default character value ?R to display initially in
1373 Customization UI instead of ?@.
1374
df171c23
MR
13752012-10-27 Martin Rudalics <rudalics@gmx.at>
1376
1377 * window.el (display-buffer): In doc-string describe
1378 window-height and window-width alist entries.
1379
1380 * time.el (display-time-world): Restore fit-window-to-buffer
1381 behavior.
1382
05b621a6
CY
13832012-10-27 Chong Yidong <cyd@gnu.org>
1384
1385 * subr.el (insert-buffer-substring-as-yank): Doc fix.
1386
55f197b2
J
13872012-10-26 Jambunathan K <kjambunathan@gmail.com>
1388
1389 * minibuffer.el (completion-category-overrides): New completion
1390 category `bookmark' (bug#11131).
1391
372212df
SM
13922012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1393
150f809c
SM
1394 * emacs-lisp/advice.el (ad-assemble-advised-definition):
1395 Silence bogus compiler warnings for ad-do-it.
1396
372212df
SM
1397 * bookmark.el (bookmark-completing-read): Set the completion category
1398 to `bookmark' (bug#11131).
1399
c5772569
B
14002012-10-26 Bastien <bzg@altern.org>
1401 Stefan Monnier <monnier@iro.umontreal.ca>
1402
1403 * face-remap.el: Use lexical-binding.
1404 (text-scale-adjust): Improve docstring. Use itself for the temporary
1405 overlay-map bindings, so as to repeat the "Use..." message each time.
1406
a2be0357
SM
14072012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
1408
63314e57
SM
1409 * emacs-lisp/macroexp.el (macroexp--expand-all):
1410 Obey byte-compile-warning-enabled-p (bug#12486).
1411
a2be0357
SM
1412 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1413 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1414
8c7727c3
MR
14152012-10-26 Martin Rudalics <rudalics@gmx.at>
1416
1417 * mouse.el (mouse-drag-line): Move last form into preceding when
1418 clause (Bug#12731).
1419
1420 * help.el (resize-temp-buffer-window): Fix doc-string.
1421
3f2a848d
DE
14222012-10-25 David Engster <deng@randomsample.de>
1423
1424 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 1425 Remove. This feature is already integrated in imenu.
3f2a848d
DE
1426
1427 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1428 always loaded. Require `speedbar' unconditionally.
1429
a7723be6
SM
14302012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
1431
aaabfc8b
SM
1432 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1433
414a8595
SM
1434 * minibuffer.el (minibuffer-force-complete): Fix thinko.
1435
fb5b9475
SM
1436 * net/ldap.el (ldap-search-internal): The official ldif format starts
1437 with a "version: 1" header (bug#12724).
1438
a7723be6
SM
1439 * emacs-lisp/package.el (package-installed-p): Warn if not ready
1440 (bug#12721).
1441
a05cb6e3
GM
14422012-10-25 Glenn Morris <rgm@gnu.org>
1443
1444 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1445
3c92de70
SM
14462012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1447
1448 * minibuffer.el (minibuffer-force-complete): Use one more marker
1449 for the temporary-overlay-map command (bug#12619).
1450
a4b6d7c6
CY
14512012-10-24 Chong Yidong <cyd@gnu.org>
1452
1453 * time.el (display-time-world-mode): Derive from special-mode.
1454 (display-time-world): Use display-buffer (Bug#12708).
1455 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
1456 (display-time-world-display): Wrap the final delete-char inside
1457 inhibit-read-only.
a4b6d7c6 1458
75e8f9d2
CY
14592012-10-24 Chong Yidong <cyd@gnu.org>
1460
cd996018
CY
1461 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1462 Doc fix.
1463
75e8f9d2
CY
1464 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1465
d92df117
SM
14662012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * minibuffer.el (completion--all-sorted-completions-location): New var.
1469 (completion--cache-all-sorted-completions)
1470 (completion--flush-all-sorted-completions): Use it.
1471 (completion-in-region, completion-in-region--postch)
1472 (completion-at-point, completion-help-at-point): Use markers in
1473 completion-in-region--data (bug#12619).
1474
9c3e39f3
SM
14752012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1476
c79825bd
SM
1477 * progmodes/compile.el (compilation-start): Try to handle common
1478 quoting of `cd' argument (bug#12640).
1479
9c3e39f3
SM
1480 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1481 (bug#12671).
1482
a6709bc7
GM
14832012-10-23 Glenn Morris <rgm@gnu.org>
1484
1485 * progmodes/gud.el (gud-menu-map):
1486 Check gdb-active-process is bound. (Bug#12358)
1487
d1069532
SM
14882012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1489
d20d69c0
SM
1490 * repeat.el (repeat): Set real-this-command (bug#12232).
1491
d1069532
SM
1492 * htmlfontify.el (hfy-post-html-hook):
1493 * filesets.el (filesets-cache-fill-content-hook):
1494 * arc-mode.el (archive-extract-hook):
1495 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1496 * net/rcirc.el (rcirc-sentinel-functions)
1497 (rcirc-receive-message-functions, rcirc-activity-functions)
1498 (rcirc-print-functions):
1499 * net/dbus.el (dbus-event-error-functions):
1500 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1501 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1502 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1503 * term/sun.el (sun-raw-prefix-hooks):
1504 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1505
f7eac6d8
MA
15062012-10-23 Michael Albinus <michael.albinus@gmx.de>
1507
d1069532
SM
1508 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1509 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
1510 (tramp-smb-wait-for-output): Add timeout to
1511 `tramp-accept-process-output' calls.
1512
608d9d7c
CY
15132012-10-23 Chong Yidong <cyd@gnu.org>
1514
49238e7f
CY
1515 * faces.el (font-list-limit): Define as an obsolete variable.
1516
1517 * startup.el (command-line):
1518 * cus-start.el: Don't refer to font-list-limit.
1519
608d9d7c
CY
1520 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1521
4ff5b1b2
SM
15222012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
1523
1524 * subr.el (internal-temp-output-buffer-show): Rename from
1525 temp-output-buffer-show, since previously compiled files expect this name.
1526
ea1d4aac
GM
15272012-10-23 Glenn Morris <rgm@gnu.org>
1528
1529 * image.el (image-type-from-file-name): If multiple types match,
1530 return the first one that is supported. (Bug#9045)
1531
eda82a31
GM
15322012-10-22 Glenn Morris <rgm@gnu.org>
1533
1534 * image.el (imagemagick-enabled-types): Doc fix.
1535
4f020bec
TA
15362012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
1537
1538 * progmodes/which-func.el (which-func-current): The hash-table may have
1539 an explicit nil (bug#12338).
1540
c77d37e2
SM
15412012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
1542
1543 * electric.el (electric-pair-delete-selection-self-insert-function):
1544 Rename to electric-pair-will-use-region, return a boolean.
1545 (electric-pair-mode): Adjust accordingly. Don't require delsel.
1546
1547 * delsel.el (delete-selection-helper): Use a function instead of a hook.
1548 (delete-selection-pre-hook): Use use-region-p.
1549 (delete-selection-self-insert-function): Remove.
1550 (self-insert-command): Obey self-insert-uses-region-functions.
1551 (self-insert-iso): Revert to previous setting, since we don't actually
1552 know what that command does.
1553 (delete-selection-self-insert-hooks): Remove.
1554
b1d39ccc
SL
15552012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
1556
1557 * delsel.el (delete-selection-helper): New function, extracted from
1558 delete-selection-pre-hook.
1559 (delete-selection-pre-hook): Use it.
1560 (delete-selection-self-insert-function): New function.
1561 (delete-selection-self-insert-hooks): New hook.
1562 (self-insert-command, self-insert-iso): Use it.
1563 * electric.el (electric-pair-syntax): New function, extracted from
1564 electric-pair-post-self-insert-function.
1565 (electric-pair-post-self-insert-function): Use it.
1566 (electric-pair-delete-selection-self-insert-function): New function.
1567 (electric-pair-mode): Require delsel and setup
1568 delete-selection-self-insert-hooks (bug#11520).
1569
045ef729
CY
15702012-10-20 Chong Yidong <cyd@gnu.org>
1571
4c5d08a8
CY
1572 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1573 no changes to show (Bug#12586).
1574
045ef729
CY
1575 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1576 list explicitly (Bug#12571).
1577
3503c798 15782012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 1579
b1d39ccc
SL
1580 * progmodes/flymake.el (flymake-create-temp-inplace):
1581 Use file-truename.
79e1997a 1582
2068905b
EZ
15832012-10-20 Eli Zaretskii <eliz@gnu.org>
1584
1585 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
1586
4c9e9550
JB
15872012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
1588
1589 * calc/calc-units.el (math-extract-units): Properly extract powers
1590 of units.
1591
1a6e7e38
DC
15922012-10-20 Daniel Colascione <dancol@dancol.org>
1593
1594 * frame.el (make-frame): Set x-display-name as we used to in order
1595 to unbreak creating an X11 frame from an Emacs daemon started
1596 without a display.
1597
8e808318
SM
15982012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * minibuffer.el (minibuffer-force-complete): Make the next completion use
f5925cd9 1601 the same completion-field (bug#12221).
8e808318 1602
fb0104da
MR
16032012-10-19 Martin Rudalics <rudalics@gmx.at>
1604
1605 * emacs-lisp/debug.el (debug): Record height of debugger window
1606 also when debugger will be back (Bug#8789).
1607
8c27235e
CY
16082012-10-18 Chong Yidong <cyd@gnu.org>
1609
1610 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1611 Convert to defcustom.
1612 (gdb-get-source-file): Don't bind pop-up-windows.
1613
1614 * progmodes/gud.el (gud-display-line): Don't specially re-use
1615 other frames for the gdb-mi case (Bug#12648).
1616
90eacf99
SM
16172012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
1618
aaf0c300
SM
1619 * emacs-lisp/advice.el: Clean up commentary a bit.
1620 (ad-do-advised-functions, ad-with-originals): Use `declare'.
1621 (byte-code-function-p): Never redefine.
1622
90eacf99
SM
1623 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1624
281c9d2b
GM
16252012-10-18 Glenn Morris <rgm@gnu.org>
1626
40714e3d
GM
1627 * dired.el (dired-sort-toggle): Some ls implementations only allow
1628 a single option string. (Bug#12666)
1629
281c9d2b
GM
1630 * minibuffer.el (completion-cycle-threshold): Doc fix.
1631
b278604e
KH
16322012-10-17 Kenichi Handa <handa@gnu.org>
1633
90eacf99
SM
1634 * international/mule.el (set-keyboard-coding-system):
1635 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
1636 Supply TERMINAL arg to set-input-meta-mode.
1637
df171c23 16382012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
1639
1640 * wdired.el (wdired-old-marks): New variable.
1641 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1642 (wdired-do-renames): Move point with renamed file and don't lose
1643 mark status (Bug#11795).
1644
e5a94ec4
JL
16452012-10-16 Juri Linkov <juri@jurta.org>
1646
1647 * replace.el (query-replace-help): Mention multi-buffer replacement
1648 keys in the Help message. (Bug#12655)
1649
d18a0d24
CY
16502012-10-15 Chong Yidong <cyd@gnu.org>
1651
1652 * emacs-lisp/byte-run.el (defsubst): Doc fix.
1653
8111f5e6
EZ
16542012-10-14 Eli Zaretskii <eliz@gnu.org>
1655
7b9abf24
EZ
1656 * window.el (display-buffer): Doc fix.
1657
8111f5e6
EZ
1658 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1659 Adjust the msft regexp to the output of Studio 2010, and move msft
1660 before edg-1. See the discussion on emacs-devel,
1661 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1662 for the details.
1663
5046ef67
SM
16642012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
1665
9760c73c
SM
1666 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1667 (oset): Move uses of object-class-fast macro after its definition.
1668
5046ef67
SM
1669 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1670
0d11ff1c
CY
16712012-10-13 Chong Yidong <cyd@gnu.org>
1672
1673 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1674 enabled, re-enable it (Bug#11963).
1675
88ded8ac
MR
16762012-10-13 Martin Rudalics <rudalics@gmx.at>
1677
1678 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1679 non-nil, restore window configuration (Bug#12623).
1680
bd0ffffd
SM
16812012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1682
06485aa8
SM
1683 * help-fns.el (describe-variable, describe-function-1):
1684 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1685
bd0ffffd
SM
1686 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1687
3a989246
GM
16882012-10-12 Glenn Morris <rgm@gnu.org>
1689
1690 * mail/rmailsum.el (rmail-header-summary):
1691 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
1692
55cd00c8
FEG
16932012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
1694
bd0ffffd
SM
1695 * progmodes/python.el (python-mode-map):
1696 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
1697 (python-nav--up-list): Fix behavior for blocks on the same level.
1698
ac9fc2c7
SM
16992012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1700
d8cc4c00 1701 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 1702
5253a5fd
SM
1703 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1704 changes to the format of load-history.
1705
ac9fc2c7
SM
1706 * international/mule-cmds.el (read-char-by-name): Move let-binding of
1707 completion-ignore-case in case that var is buffer-local (bug#12615).
1708
cde44a77
KH
17092012-10-11 Kenichi Handa <handa@gnu.org>
1710
1711 * international/eucjp-ms.el: Re-generated.
1712
4ef4a10d
KH
17132012-10-10 Kenichi Handa <handa@gnu.org>
1714
1715 * select.el (xselect--encode-string): If a coding is specified for
1716 selection, and that is compatible with COMPOUND_TEXT, use it.
1717
9d7f027b
MR
17182012-10-10 Martin Rudalics <rudalics@gmx.at>
1719
1720 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
1721 (switch-to-buffer):
1722 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 1723
238f3a58
SM
17242012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1725
1726 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1727 Don't document nil as a useful value (bug#12583).
1728
1d51f99c
MA
17292012-10-09 Michael Albinus <michael.albinus@gmx.de>
1730
238f3a58
SM
1731 * net/tramp.el (tramp-debug-message):
1732 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
1733 (with-tramp-progress-reporter): Rename from
1734 `tramp-with-progress-reporter'.
238f3a58
SM
1735 (with-tramp-file-property, with-tramp-connection-property):
1736 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
1737 `with-connection-property', respectively.
1738
1739 * net/tramp-cache.el: Remove `with-file-property' and
1740 `with-connection-property'.
1741
1742 * net/tramp.el:
1743 * net/tramp-gvfs.el:
1744 * net/tramp-sh.el:
1745 * net/tramp-smb.el: Adapt callees.
1746
1747 * net/trampver.el: Update release number.
1748
26b77251
GM
17492012-10-09 Glenn Morris <rgm@gnu.org>
1750
9a5f296f
GM
1751 * w32-fns.el (set-message-beep):
1752 * term/w32-win.el (set-message-beep): Update declarations.
1753
94c66ce5
SM
17542012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1755
10766e9e
SM
1756 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1757 (mode-line-widen, mode-line-input-method-map)
1758 (mode-line-coding-system-map, mode-line-remote)
1759 (mode-line-unbury-buffer, mode-line-bury-buffer)
1760 (mode-line-next-buffer, mode-line-previous-buffer):
1761 Replace save-selected-window+select-window => with-selected-window.
1762
f754db08
SM
1763 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1764 * progmodes/cc-vars.el (bq-process): Remove, unused.
1765
94c66ce5
SM
1766 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1767
a4ff7fe1
FEG
17682012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
1769
1770 Implemented `backward-up-list'-like navigation.
1771 * progmodes/python.el (python-nav-up-list)
1772 (python-nav-backward-up-list): New functions.
1773 (python-mode-map): Define substitute key for backward-up-list to
1774 python-nav-backward-up-list.
1775
24517d82
FEG
17762012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1777
1778 * progmodes/python.el (python-fill-paragraph): Rename from
1779 python-fill-paragraph-function. Fixed fill-paragraph for
1780 decorators (Bug#12605).
1781
51867ae2
FEG
17822012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1783
1784 * progmodes/python.el (python-shell-output-filter): Handle extra
1785 carriage return in OSX (Bug#12409).
1786
a5b773c4
FEG
17872012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1788
1789 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 1790 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
1791 (python-syntax-propertize-function): Use it.
1792 (python-shell-output-syntax-table): New var.
1793 (inferior-python-mode): Prevent unbalanced parens/quotes from
1794 previous output mess with current input context.
1795
13373538
JB
17962012-10-08 Juanma Barranquero <lekktu@gmail.com>
1797
1798 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1799 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1800
775a132d
MA
18012012-10-08 Michael Albinus <michael.albinus@gmx.de>
1802
1803 * ffap.el (ffap-replace-file-component): Support Tramp file name
1804 syntax, not only ange-ftp's one.
1805
3ab44929
GM
18062012-10-08 Glenn Morris <rgm@gnu.org>
1807
57f1dee4
GM
1808 * cus-start.el (message-log-max): Set :version.
1809
3ab44929
GM
1810 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1811
6a088630
MR
18122012-10-08 Martin Rudalics <rudalics@gmx.at>
1813
1814 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1815 the minibuffer window (Bug#10851).
1816
8dbce54c
FEG
18172012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
1818
1819 Enhancements on forward-sexp movement.
1820 * progmodes/python.el (python-nav-beginning-of-statement)
1821 (python-nav-end-of-statement): Return point-marker.
1822 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1823 (python-info-current-symbol)
1824 (python-info-statement-starts-block-p): Rename from
1825 python-info-beginning-of-block-p.
1826 (python-info-statement-ends-block-p): Rename from
1827 python-info-end-of-block-p.
1828 (python-info-beginning-of-statement-p)
1829 (python-info-end-of-statement-p)
1830 (python-info-beginning-of-block-p, python-info-end-of-block-p):
1831 New functions.
1832
5acd2b3e
SM
18332012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1834
1835 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1836 frame-selected-windows.
1837
e08348a0
DC
18382012-10-08 Daniel Colascione <dancol@dancol.org>
1839
1840 * battery.el (battery-status-function): Check for
1841 w32-battery-status itself, not system-time windows-nt.
1842
1843 * frame.el: Require cl-lib.
1844 (display-format-alist): New variable mapping frame types to
1845 functions that initialize them.
1846 (window-system-for-display): New function: interprets
1847 display-format-alist.
1848 (make-frame-on-display): Remove existing display-selection logic
1849 and just forward to make-frame, which will now DTRT.
1850 (make-frame): Restructure to use window-system-for-display to
1851 figure out how to create a frame on a given display.
1852 (display-mouse-p): Look for frame-type w32, not a particular
1853 system-type.
1854
1855 * loadup.el: Load w32 lisp code when we have the w32 feature.
1856
1857 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1858 system-type windows-nt.
1859
1860 * server.el (server-create-window-system-frame): Look for window
1861 type.
1862 (server-proces-filter): Only force a window system when windows-nt
1863 _and_ w32. Explain why.
1864
1865 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1866 of window systems we configure for the mode.
1867
1868 * startup.el (command-line): Mark window system is initialized
1869 after we've done it.
1870
1871 * common-win.el (x-select-text): Look for w32, not windows-nt.
1872
1873 * ns-win.el: Require cl-lib. Add ourselves to
1874 display-format-alist.
1875 (ns-initialize-window-system): Assert we're not initialized twice.
1876
1877 * w32-win.el: Enable lexical binding; require cl-lib; add
1878 ourselves to display-format-alist.
1879 (w32-handle-dropped-file): Convert incoming dropped files from
1880 Windows paths to Cygwin ones before passing them on to the rest of
1881 Emacs.
1882 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
1883 (w32-initialize-window-system): Assert we're not initialized twice.
1884
1885 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1886 (x-initialize-window-system): Assert we're not initialized twice.
1887
1888 * w32-common-fns.el: New File.
1889 (w32-version, w32-using-nt, w32-get-clipboard-data)
1890 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1891 (w32-charset-info-alist, x-last-selected, text)
1892 (x-get-selection-value, x-selection-value): Move here.
1893
1894 * w32-fns.el: Require w32-common-fns.
1895 (w32-version, w32-using-nt, w32-get-clipboard-data)
1896 (w32-set-clipboard-data, x-set-selection, x-get-selection)
1897 (w32-charset-info-alist, x-last-selected, text)
1898 (x-get-selection-value, x-selection-value): Move to
1899 w32-common-fns.
1900
1901 * w32-vars.el:
1902 (w32-allow-system-shell, w32-system-shells): Define only in
1903 non-cygwin case.
1904
795b1482
SM
19052012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1906
1907 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1908 (read-passwd): Remove a few more potential sources of leaks.
1909
f27c99dc
FEG
19102012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1911
1912 * progmodes/python.el (inferior-python-mode)
795b1482 1913 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
1914 variables copied from parent buffer.
1915
fcacb558
JD
19162012-10-07 Jan Djärv <jan.h.d@swipnet.se>
1917
1918 * term/ns-win.el (ns-read-file-name): Update declaration to match
1919 nsfns.m.
1920 (ns-respond-to-change-font): Change fontsize separatly so we are sure
1921 it is set when font is acted upon.
1922
be0d5bae
FEG
19232012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1924
1925 Enhancements to indentation.
1926 * progmodes/python.el (python-indent-context): Give priority to
1927 inside-string context. Make comments indentation markers.
1928 (python-indent-region): Do not mess with strings, unless it's the
1929 enclosing set of quotes.
1930
13af0d10
SM
19312012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1932
662a9d0e
SM
1933 * window.el (internal--before-save-selected-window)
1934 (internal--after-save-selected-window): New functions extracted from
1935 save-selected-window. Make sure we return the `alist' we construct.
1936 (save-selected-window): Use them.
1937
1938 * textmodes/tex-mode.el (tex-recenter-output-buffer):
1939 Use with-selected-window.
1940
13af0d10
SM
1941 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
1942 forms that define macros (bug#12593).
1943
6aa75fb6
KH
19442012-10-07 Kenichi Handa <handa@gnu.org>
1945
13af0d10
SM
1946 * international/mule-conf.el (compound-text-with-extensions):
1947 Add :mime-charset property as x-ctext.
6aa75fb6 1948
78d876b9
SM
19492012-10-07 Stefan Merten <smerten@oekonux.de>
1950
1951 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1952 (rst-indent-literal-normal, rst-indent-literal-minimized)
1953 (rst-indent-comment): Correct :version tag.
557337e9 1954 (rst-official-cvs-rev): Correct version string.
78d876b9 1955
99a1e701
GM
19562012-10-07 Glenn Morris <rgm@gnu.org>
1957
1958 * mail/rmailmm.el (rmail-mime-process-multipart):
1959 Do not confuse a multipart message with an epilogue
1960 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
1961
08f18c3d
FEG
19622012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
1963
1964 Fix shell output retrieval and comint-prompt-regexp init.
1965 * progmodes/python.el (inferior-python-mode):
1966 (python-shell-make-comint): Fix initialization of
1967 comint-prompt-regexp from copied file local variables.
1968 (python-shell-fetched-lines): Remove var.
1969 (python-shell-output-filter-in-progress): Rename from
1970 python-shell-fetch-lines-in-progress.
1971 (python-shell-output-filter-buffer): Rename from
1972 python-shell-fetch-lines-string.
1973 (python-shell-fetch-lines-filter): Delete function.
1974 (python-shell-output-filter): New function.
1975 (python-shell-send-string-no-output): Use them.
1976
82ed3ab4
GM
19772012-10-07 Glenn Morris <rgm@gnu.org>
1978
1595ecfa
GM
1979 * hi-lock.el (hi-lock-process-phrase):
1980 Try to make it less fragile. (Bug#7161)
1981
82ed3ab4
GM
1982 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
1983
f1f4dba0
GM
19842012-10-06 Glenn Morris <rgm@gnu.org>
1985
addc11ed 1986 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
1987 non-existent mode `help'.
1988 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 1989
460042b8
GM
1990 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
1991 (reftex-create-bibtex-footer): Fix custom types.
1992
67667c70
GM
1993 * progmodes/sh-script.el (sh-indent-after-continuation):
1994 Add explicit :group.
1995
18dec750
GM
1996 * textmodes/rst.el (rst-preferred-decorations)
1997 (rst-shift-basic-offset): Clarify obsolescence versions.
1998
d1a1c7e6
GM
1999 * profiler.el (profiler): Add missing group :version tag.
2000 * avoid.el (mouse-avoidance-banish-position):
2001 * proced.el (proced-renice-command):
2002 * calc/calc.el (calc-ensure-consistent-units):
2003 * calendar/icalendar.el (icalendar-import-format-uid):
2004 * net/tramp.el (tramp-save-ad-hoc-proxies):
2005 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2006 * progmodes/flymake.el (flymake-error-bitmap)
2007 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2008 * progmodes/sh-script.el (sh-indent-after-continuation):
2009 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2010 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2011 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2012 (vhdl-array-index-record-field-in-sensitivity-list)
2013 (vhdl-indent-comment-like-next-code-line):
2014 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2015 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2016 (reftex-cite-key-separator, reftex-create-bibtex-header)
2017 (reftex-create-bibtex-footer):
2018 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2019 (rst-indent-literal-normal, rst-indent-literal-minimized)
2020 (rst-indent-comment): Add missing custom :version tags.
2021
ef35abb4
GM
2022 * calendar/timeclock.el (timeclock-modeline-display):
2023 Add missing obsolete alias for renamed user option.
2024
d1aae614
GM
2025 * strokes.el (strokes-modeline-string):
2026 * emulation/crisp.el (crisp-mode-modeline-string):
2027 * eshell/esh-mode.el (eshell-status-in-modeline):
2028 Aliases to defcustoms must come before the defcustom.
2029
f1f4dba0
GM
2030 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2031 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2032 (cal-tex-cursor-week-monday): Doc fixes.
2033 (cal-tex-cursor-week2-summary): Doc fix.
2034 Rename from cal-tex-cursor-week-at-a-glance.
2035
2036 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2037 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2038
2039 * calendar/calendar.el (calendar-mode-map):
2040 Add cal-tex-cursor-week2-summary.
2041
d39109c3
SM
20422012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2043
685f87b0
SM
2044 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2045
d39109c3
SM
2046 * subr.el (read-passwd-map): New var.
2047 (read-passwd): Use `read-string' again.
2048 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2049
5694896d
J
20502012-10-06 Jambunathan K <kjambunathan@gmail.com>
2051
2052 * register.el (append-to-register, prepend-to-register):
2053 Deactivate mark, as does `copy-to-register' (bug#12389).
2054
9414dd8d
CY
20552012-10-06 Chong Yidong <cyd@gnu.org>
2056
2057 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2058
2b89bca4
KH
20592012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2060
2061 * international/characters.el: Fix simple mistake ((car chars) ->
2062 elt), delete duplicated code.
2063
d5acb99a
GM
20642012-10-06 Glenn Morris <rgm@gnu.org>
2065
2066 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2067
123ec157
JS
20682012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2069
2070 * color.el (color-hsl-to-rgb): Fix incorrect results for
2071 small and large hue values. (Bug#12559)
2072
7fa36ccb
FEG
20732012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2074
2075 Enhancements to docstring formatting when filling paragraphs.
2076 * progmodes/python.el (python-fill-docstring-style): Rename from
2077 python-fill-string-style. Added new style.
2078 (python-fill-string): Use new style. Better checks for
2079 docstrings.
2080
d8788e1e
GM
20812012-10-05 Glenn Morris <rgm@gnu.org>
2082
204f3953
GM
2083 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2084
d8788e1e
GM
2085 * color.el (color-name-to-rgb, color-rgb-to-hex)
2086 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2087 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2088 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2089 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2090
8d956cef
GM
2091 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2092
e8757f09 20932012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
2094
2095 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2096 to get the correct size across symlinks.
2097
e8757f09
GM
2098 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2099
0e2ae83d
JL
21002012-10-04 Juri Linkov <juri@jurta.org>
2101
2102 * replace.el (query-replace-interactive): Declare obsolete.
2103 (query-replace-read-from): Add the last incremental search string
2104 to the list of default values accessible via M-n.
2105 (map-query-replace-regexp): Use `read-regexp'.
2106 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2107 (map-query-replace-regexp, replace-string, replace-regexp):
2108 Fix docstrings to replace mentions of `query-replace-interactive'
2109 with alternatives. (Bug#12526)
2110
93cacb6d
JL
21112012-10-04 Juri Linkov <juri@jurta.org>
2112
2113 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2114 (dired-pop-to-buffer): Declare obsolete.
2115 (dired-mark-pop-up): Doc fix.
2116
fc345011
FEG
21172012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2118
2119 Allow user to set docstring style for fill-paragraph.
2120 * progmodes/python.el
2121 (python-fill-comment-function, python-fill-string-function)
2122 (python-fill-decorator-function, python-fill-paren-function):
2123 Remove :safe for defcustoms.
2124 (python-fill-string-style): New defcustom
5694896d 2125 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
2126 (python-fill-string): Honor python-fill-string-style settings.
2127
6bab5d8b
MR
21282012-10-04 Martin Rudalics <rudalics@gmx.at>
2129
2130 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2131 after setting its buffer (Bug#10805).
2132
a1a9f411
FEG
21332012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2134
2135 Fix cornercase for string syntax.
2136 * progmodes/python.el (python-syntax-propertize-function):
2137 Simplify and enhance the regexp for unescaped quotes. Now it also
2138 matches quotes in weird situations like the single quote in
2139 "something\"'".
2140 (python-syntax-stringify): Simplify num-quotes detecting code.
2141
05e153a6
GM
21422012-10-03 Glenn Morris <rgm@gnu.org>
2143
2144 * help-macro.el (three-step-help):
2145 Revert 2012-09-29 change. (Bug#12567)
2146
2e566ecb
MR
21472012-10-03 Martin Rudalics <rudalics@gmx.at>
2148
96ef9ccd
MR
2149 * menu-bar.el (kill-this-buffer): Don't do anything when
2150 `menu-frame' is not alive or visible (Bug#8184).
2151
2e566ecb
MR
2152 * emacs-lisp/debug.el (debug): When quitting the debugger window
2153 restore current buffer (Bug#12502).
2154
a96e1cb7
CY
21552012-10-02 Chong Yidong <cyd@gnu.org>
2156
5694896d
J
2157 * progmodes/hideif.el (hif-lookup, hif-defined):
2158 Handle semantic-c-takeover-hideif.
a96e1cb7 2159
b3ecad33
PE
21602012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2161
2162 Change sampling interval units from ms to ns.
2163 * profiler.el (profiler-sampling-interval): Change units
2164 from ms to ns, multiplying the default by 1000000 so that
2165 it remains 1 ms.
2166 (profiler-report-cpu-line-format): Give enough room for
2167 the maximum counters on 64-bit hosts.
2168 (profiler-report-render-calltree-1): Call them "CPU samples",
2169 not "Time (ms)", since they are not milliseconds now (and
2170 never really were).
2171
8cb51b66 21722012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 2173
5694896d
J
2174 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2175 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 2176
fd795bf4
CY
21772012-10-02 Chong Yidong <cyd@gnu.org>
2178
2179 * emacs-lisp/eieio.el: Restore Version header.
2180
fe0a74f9
SM
21812012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2182
6be9197e
SM
2183 * vc/diff-mode.el (diff--auto-refine-data): New var.
2184 (diff-hunk): Use it to delay refinement.
2185 (diff-mode): Remove overlays when we turn off font-lock.
2186
18486139
SM
2187 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2188 (table-initialize-table-fixed-width-mode)
2189 (table-set-table-fixed-width-mode): Remove functions.
2190 (table-command-list): Move initialization into declaration.
2191 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2192 (table-with-cache-buffer): Use `declare'.
2193 (table-span-cell): Simplify via CSE.
2194 (table-fixed-width-mode): Use define-minor-mode.
2195 (table-call-interactively, table-funcall, table-apply): Remove.
2196 (table-function): New function, to replace them.
2197
d83ef976
SM
2198 * bookmark.el (bookmark-search-pattern): Remove var.
2199 (bookmark-read-search-input): Remove function.
2200 (bookmark-bmenu-search): Reimplement using a minibuffer.
2201
cd386662
SM
2202 * faces.el (modeline): Remove obsolete face name.
2203
fe0a74f9
SM
2204 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2205 and give a non-nil default value.
2206 (add-change-log-entry): Simplify accordingly.
2207
9f7b98f8
DG
22082012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2209
2210 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2211 (vc-git-log-edit-toggle-amend): New function.
2212 (vc-git-log-edit-toggle-signoff): New function.
2213 (vc-git-log-edit-mode): New major mode.
2214 (vc-git-log-edit-mode-map): Keymap for it.
2215 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2216
2217 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2218 header names.
2219 (log-edit-toggle-header): New function.
2220 (log-edit-extract-headers): Accept function values in HEADERS alist.
2221
62a81506
CY
22222012-10-01 David Engster <deng@randomsample.de>
2223
2224 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2225 from symbol property and change message to be more consistent with
2226 Emacs proper.
2227 (eieio-describe-generic): Add filename for each implementation.
2228 Fix indices for generic and normal methods.
2229 (eieio-method-def, eieio-class-def): New buttons.
2230 (eieio-help-find-method-definition)
2231 (eieio-help-find-class-definition): New functions.
2232 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2233 class, constructor and method definitions.
2234
2235 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2236 information in symbol property.
2237 (scoped-class): Remove.
2238 (eieio-slot-name-index, call-next-method): Check if it is bound.
2239
22402012-10-01 Leo P. White <lpw25@cam.ac.uk>
2241
2242 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2243 (eieio-custom-mode): New major mode.
2244 (eieio-customize-object): Use it.
2245
22462012-10-01 Eric Ludlam <zappo@gnu.org>
2247
2248 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2249 specifying the expected class, and whether subclassing is allowed.
2250 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
2251 (eieio-persistent-validate/fix-slot-value)
2252 (eieio-persistent-slot-type-is-class-p): New functions.
2253 (eieio-named::slot-missing): Doc fix.
62a81506
CY
2254
2255 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2256 Stop using unused publd variable.
2257
2258 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2259 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2260 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2261 (eieio-speedbar-handle-click): Do not specify a class for the
2262 method. Fixes method invocation order problems with EDE.
2263
375e49d4
SM
22642012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
2265
2266 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2267 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2268
16ce6ccd
KF
22692012-10-01 Karl Fogel <kfogel@red-bean.com>
2270
2271 * bookmark.el (bookmark-version-control): Give tags in the
2272 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
2273 (bookmark-write-file): Bind `print-circle' to `t' to allow
2274 circular custom bookmark types. (Bug#12503)
16ce6ccd 2275
19e54a4d
PE
22762012-10-01 Paul Eggert <eggert@cs.ucla.edu>
2277
86ec63ba
PE
2278 Revert the FOLLOW-SYMLINKS change for file-attributes.
2279 * files.el (remote-file-name-inhibit-cache, after-find-file):
2280 * time.el (display-time-file-nonempty-p): Undo last change.
2281
19e54a4d
PE
2282 * profiler.el (profiler-sampling-interval): Change default back to 1.
2283 See Stefan Monnier in
2284 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2285
0478776b
FEG
22862012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
2287
2288 Shell output catching a la gud-gdb.
2289 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
2290 (python-shell-fetch-lines-string, python-shell-fetched-lines):
2291 New Vars.
0478776b
FEG
2292 (python-shell-fetch-lines-filter): New function.
2293 (python-shell-send-string-no-output): Use them.
2294
c22bac2c
TM
22952012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
2296
2297 * profiler.el (profiler-sampling-interval): Rename from
2298 profiler-sample-interval.
2299 (profiler-sampling-interval): Default to 10.
2300 (profiler-find-profile): New command (was profiler-find-log).
2301 (profiler-find-profile-other-window): New command.
2302 (profiler-find-profile-other-frame): New command.
2303 (profiler-profile): Introduce API-level data structure.
2304
e7a2937b
PE
23052012-09-30 Paul Eggert <eggert@cs.ucla.edu>
2306
2307 file-attributes has a new optional arg FOLLOW-SYMLINKS.
2308 * files.el (remote-file-name-inhibit-cache):
2309 * time.el (display-time-file-nonempty-p): Use it.
2310 * files.el (after-find-file): Don't chase links before calling
2311 file-exists-p, as file-exists-p already does the right thing.
2312
4f595e15
RA
23132012-09-30 Ralf Angeli <angeli@caeruleus.net>
2314
2315 Merge from standalone RefTeX repository.
2316
2317 The following ChangeLog entries are shortened versions of the
2318 original ones with file paths adapted. A not so strongly edited
2319 version of the original ChangeLog can be found in the commit log.
2320
2321 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
2322 (reftex-arg-cite): Use `reftex-cite-key-separator'.
2323 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
2324
2325 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
2326 that entries with whitespace at various places are found.
2327 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
2328 Include @String definitions in the resulting bib file. Add header
2329 and footer defined in `reftex-create-bibtex-header' and
2330 `reftex-create-bibtex-footer'.
2331 (reftex-do-citation): Make it possible again to insert
2332 non-existent entries. Save match data when asking for optional
2333 arguments. Return all keys, not just the first one.
2334 (reftex-all-used-citation-keys): Fix regexp to correctly extract
2335 all citations in the same line.
2336 (reftex-parse-bibtex-entry): Accept additional optional argument
2337 `raw' and keep quotes or braces if it is non-nil. Match fields
2338 containing hyphens besides word constituents.
2339 (reftex-get-string-refs): New function.
2340 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2341 and ask if it should be reread in case it did.
2342 (reftex-pop-to-bibtex-entry)
2343 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2344 entries with spaces or tabs in front of arguments.
2345 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
2346 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2347 Match entries containing numbers and symbol constituents.
2348 (reftex-do-citation, reftex-figure-out-cite-format):
2349 Use `reftex-cite-key-separator'.
4f595e15
RA
2350
2351 * textmodes/reftex-dcr.el: Move provide statement to end of file.
2352 (reftex-mouse-view-crossref): Explain why point is set.
2353
2354 * textmodes/reftex-global.el: Whitespace changes.
2355
2356 * textmodes/reftex-index.el: Move provide statement to end of
2357 file.
2358 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2359 (reftex-index-visit-phrases-buffer): Set marker when visiting
2360 buffer. This allows for returning from the phrases file to the
2361 file one was just editing instead of the file where the last
2362 phrases was added from.
2363 (reftex-index-phrases-syntax-table): New variable. Give ?\"
2364 punctuation syntax as it usually is not used as string quote in
2365 TeX-related modes and may occur unmatched. The change also
2366 prevents fontification of quoted content.
2367 (reftex-index-phrases-mode): Use it.
2368
375e49d4
SM
2369 * textmodes/reftex-parse.el (reftex-parse-from-file):
2370 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
2371 (reftex-parse-from-file): Use beginning of match instead of end as
2372 bound.
2373
2374 * textmodes/reftex-ref.el: Adapt creation of
2375 `reftex-<package>-<macro>' functions to new structure of
2376 `reftex-ref-style-alist'.
375e49d4
SM
2377 (reftex-reference): Use `reftex-ref-style-list' function.
2378 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
2379 reference macro if `reftex-ref-macro-prompt' is non-nil.
2380 (reftex-reference): Pass refstyle to `reftex-format-special'.
2381 Determine reference macro by looking at
375e49d4
SM
2382 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2383 Use only one special format function.
4f595e15
RA
2384 (reftex-varioref-vref, reftex-fancyref-fref)
2385 (reftex-fancyref-Fref): Remove definitions. The functions are now
2386 generated from `reftex-ref-style-alist'.
2387 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2388 Remove.
2389 (reftex-format-special): New function.
2390
2391 * textmodes/reftex-sel.el
2392 (reftex-select-cycle-ref-style-internal): Adapt to new structure
2393 of `reftex-ref-style-alist'. Remove code for testing macro type.
2394 (reftex-select-toggle-varioref)
2395 (reftex-select-toggle-fancyref): Remove.
2396 (reftex-select-cycle-ref-style-internal)
2397 (reftex-select-cycle-ref-style-forward)
2398 (reftex-select-cycle-ref-style-backward): New functions.
2399 (reftex-select-label-map): Use `v' and `V' for general cycling
2400 through reference styles. Add `p' for switching between number
2401 and page reference types.
2402
375e49d4
SM
2403 * textmodes/reftex-toc.el (reftex-re-enlarge):
2404 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
2405 the horizontal version throws an error even if the parameter is 0.
2406
2407 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2408 (reftex-plug-into-AUCTeX): Doc fix.
2409 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2410 string. Adapt to new name.
2411 (reftex-ref-style-alist): Change structure so that it is not
2412 possible to use multiple different package names within a style.
375e49d4
SM
2413 Remove the symbols for symbols for macro type distinction.
2414 Add characters for macro selection.
4f595e15
RA
2415 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2416 (reftex-create-bibtex-footer): New variables.
2417 (reftex-format-ref-function): Mention third argument of special
2418 format function.
375e49d4
SM
2419 (reftex-ref-style-alist, reftex-ref-style-default-list):
2420 New variables.
4f595e15
RA
2421 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2422 to new implementation. Mark as obsolete. Add compatibility code
2423 for honoring the variable values in case they are set.
375e49d4
SM
2424 (reftex-cite-format-builtin, reftex-bibliography-commands):
2425 Add support for ConTeXt.
2426 (reftex-format-ref-function, reftex-format-cite-function):
2427 Fix custom type.
4f595e15
RA
2428 (reftex-cite-key-separator): New variable.
2429
2430 * textmodes/reftex.el (reftex-syntax-table-for-bib)
2431 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2432 `reftex-syntax-table' because parens have to retain their paren
2433 syntax in order for parsing of BibTeX entries like @book(...) to
2434 work.
2435 (reftex-in-comment): Do not error out if `comment-start-skip' is
2436 not set. Deal correctly with escaped comment characters.
375e49d4
SM
2437 (reftex-tie-multifile-symbols): Add doc string.
2438 Initialize `reftex-ref-style-list'.
4f595e15
RA
2439 (reftex-untie-multifile-symbols): Add doc string.
2440 (reftex-add-index-macros): Doc fix.
2441 (reftex-ref-style-activate, reftex-ref-style-toggle)
2442 (reftex-ref-style-list): New functions.
2443 (reftex-mode-menu): Use them. Adapt to new structure of
2444 `reftex-ref-style-alist'.
2445 (reftex-select-with-char): Kill the RefTeX Select buffer when
2446 done.
2447 (reftex-remove-if): New function.
2448 (reftex-erase-all-selection-and-index-buffers)
2449 (reftex-mode-menu): Reference styles are now computed from
2450 `reftex-ref-style-alist'. Fix typo.
2451 (reftex-report-bug): New function.
2452 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2453 algorithms with O(n log n). Introduce optional argument SORT (not
2454 yet used).
2455
440ba395
FEG
24562012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
2457
2458 Enhancements for triple-quote string syntax.
375e49d4
SM
2459 * progmodes/python.el (python-syntax-propertize-function):
2460 Match both quote cases in one regexp.
440ba395
FEG
2461 (python-syntax-stringify): Handle matches properly.
2462
4c478e6b
JL
24632012-09-30 Juri Linkov <juri@jurta.org>
2464
2465 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 2466 to nil around the call to `insert' to prevent
4c478e6b
JL
2467 directory time modification by lock_file. (Bug#2295)
2468 * tar-mode.el (tar-summarize-buffer): Idem.
2469
d80d54b2
JL
24702012-09-30 Juri Linkov <juri@jurta.org>
2471
2472 * facemenu.el (list-colors-sort): Add option "Luminance".
2473 (list-colors-sort-key): Implement it.
2474
2475 * vc/diff-mode.el (diff-refine-removed):
2476 * vc/ediff-init.el (ediff-fine-diff-A):
2477 * vc/smerge-mode.el (smerge-refined-removed):
2478 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
2479
d7e642cc
JD
24802012-09-30 Jan Djärv <jan.h.d@swipnet.se>
2481
2482 * term/ns-win.el (x-file-dialog): New function.
2483
ee41332b
JB
24842012-09-30 Juanma Barranquero <lekktu@gmail.com>
2485
2486 * ido.el (ido-max-directory-size): Default to nil; the current
2487 default is small for POSIX systems, and impractical on Windows 7
2488 now that lstat returns directory sizes for NTFS.
2489
5938d519
MR
24902012-09-30 Martin Rudalics <rudalics@gmx.at>
2491
2492 In buffer display functions handle window-height/window-width
2493 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
2494 * window.el (window--display-buffer): New argument ALIST.
2495 Obey window-height and window-width alist entries.
2496 (window--try-to-split-window): New argument ALIST.
2497 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
2498 changed and window-combination-limit equals `window-size'.
2499 (display-buffer-in-atom-window)
2500 (display-buffer-in-major-side-window)
2501 (display-buffer-in-side-window, display-buffer-same-window)
2502 (display-buffer-reuse-window, display-buffer-pop-up-frame)
2503 (display-buffer-pop-up-window, display-buffer-below-selected)
2504 (display-buffer-at-bottom, display-buffer-in-previous-window)
2505 (display-buffer-use-some-window): Adjust all callers of
2506 window--display-buffer and window--try-to-split-window.
2507 (fit-frame-to-buffer): New option.
2508 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2509 is non-nil.
2510 (display-buffer-in-major-side-window): Evaluate window-height /
2511 window-width alist entries.
2512
2513 * help.el (temp-buffer-resize-frames)
2514 (temp-buffer-resize-regexps): Remove options.
2515 (temp-buffer-resize-mode): Adjust doc-string.
2516 (resize-temp-buffer-window): Don't consult
2517 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
2518 temp-buffer-resize-frames.
2519
375e49d4
SM
2520 * dired.el (dired-mark-pop-up):
2521 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
2522 entry.
2523
c4c0c2df
CY
25242012-09-30 Chong Yidong <cyd@gnu.org>
2525
48de8b12
CY
2526 * server.el (server-host): Document the security implications.
2527 (server-auth-key): Doc fix.
2528
2529 * startup.el (initial-buffer-choice): Doc fix.
2530
2531 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2532
a97dc380
CY
2533 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2534 restriction change.
2535
d39d3c8e
CY
2536 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2537
c4c0c2df
CY
2538 * help-fns.el (help-fns--obsolete): Fix last change.
2539
98a5e33b
SM
25402012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
2541
34cf6f39
SM
2542 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2543 (minor-mode-map-alist): Remove redundant code.
2544
e01c13fe
SM
2545 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2546 visited in a buffer.
2547 (cvs-insert-visited-file): New function.
2548 (find-file-hook): Use it.
2549
2550 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2551
02661b3a
SM
2552 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2553 chose face.
2554 (log-edit-empty-buffer-p): Don't require a space after a header.
2555
43711d4b
SM
2556 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2557
38a30d64
SM
2558 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2559
4ffb41a9
SM
2560 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2561 a proper minor-mode.
2562
98a5e33b
SM
2563 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2564
de82e29b
GM
25652012-09-29 Glenn Morris <rgm@gnu.org>
2566
5cc2e639
GM
2567 * winner.el (winner-mode): Remove variable (let define-minor-mode
2568 handle it).
2569 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2570 Doc fixes.
2571 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2572 (winner-mode): Use define-minor-mode.
2573
7bd302eb
GM
2574 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2575 the full definition in loaddefs, rather than duplicating it.
2576
2923922f 2577 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 2578
0e3e4156
GM
2579 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2580 (inferior-lisp-program, inferior-lisp-load-command)
2581 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 2582 No need to autoload defcustoms.
0e3e4156 2583
de82e29b
GM
2584 * hippie-exp.el (hippie-expand-try-functions-list)
2585 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2586 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2587 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 2588 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
2589 * progmodes/vhdl-mode.el (vhdl-line-expand):
2590 Explicitly load hippie-exp, so it does not get autoloaded
2591 while hippie-expand-try-functions-list is let-bound.
2592
e60b51ab
GM
25932012-09-28 Glenn Morris <rgm@gnu.org>
2594
277f0cfa
GM
2595 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2596
e60b51ab
GM
2597 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2598 Only "cl.el" counts as cl these days.
2599
53baf48a
JL
26002012-09-28 Juri Linkov <juri@jurta.org>
2601
2602 Display archive errors in the echo area instead of inserting
2603 to the file buffer.
2604
2605 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2606 to STDERR-TEST that can be a regexp matching a successful output.
2607 Create a temporary file and redirect stderr to it. Search for
2608 STDERR-TEST in the stderr output and display it in the echo area
2609 if no match is found.
2610 (archive-extract-by-file): New function like
2611 `archive-extract-by-stdout' but extracting archives to files
2612 and looking for successful matches in stdout. Function body is
2613 mostly copied from `archive-rar-extract'.
2614 (archive-rar-extract): Use `archive-extract-by-file'.
2615 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
2616
9c1228c3
LL
26172012-09-28 Leo Liu <sdl.web@gmail.com>
2618
375e49d4
SM
2619 * pcomplete.el (pcomplete-show-completions):
2620 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 2621
9c1228c3
LL
2622 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2623
7f457c06
SM
26242012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
2625
3df749b0
SM
2626 * type-break.el: Use lexical-binding.
2627 (type-break-mode): Use define-minor-mode.
2628
7f457c06
SM
2629 * emacs-lisp/pcase.el (pcase--mark-used): New.
2630 (pcase--u1): Use it (bug#12512).
2631
2632 * custom.el (load-theme): Set buffer-file-name so the load is recorded
2633 in load-history with the right file name.
2634
c00ebc98
TH
26352012-09-28 Tassilo Horn <tsdh@gnu.org>
2636
2637 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2638 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2639 (doc-view-get-bounding-box): Make bounding box slicing work for
2640 ODF and DVI documents.
2641
96fb7170
GM
26422012-09-28 Glenn Morris <rgm@gnu.org>
2643
2644 * type-break.el (type-break-mode, type-break-interval)
2645 (type-break-good-rest-interval, type-break-keystroke-threshold):
2646 No need to autoload.
2647 (type-break-good-rest-interval, type-break-keystroke-threshold):
2648 Add :set-after.
2649
5bc93c67
CY
26502012-09-28 Chong Yidong <cyd@gnu.org>
2651
2652 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2653 Add :version tag.
2654
9cad61d6
SM
26552012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2656
e28e67b3 2657 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 2658
daee954c
GM
26592012-09-27 Glenn Morris <rgm@gnu.org>
2660
a88324d4
GM
2661 * faces.el (x-display-name): Declare (for without-x builds).
2662
8e5064e5
GM
2663 * linum.el (linum-format): Don't autoload it. Improve :type.
2664
cc1783c2
GM
2665 * progmodes/tcl.el: Don't require outline when compiling.
2666 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
2667 * textmodes/sgml-mode.el: Don't require outline when compiling.
2668 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2669
48c339f2
GM
2670 * term.el (term-ansi-reset):
2671 Try setting term-ansi-face-already-done to nil. (Bug#11785)
2672
daee954c
GM
2673 * vc/vc.el (vc-next-action): Only gripe about committing read-only
2674 files for RCS and SCCS. (Bug#9781)
2675
b7f42161
CY
26762012-09-27 Chong Yidong <cyd@gnu.org>
2677
2678 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2679 change; value should be t.
2680
a2e770db
SM
26812012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
2682
83600dc8
SM
2683 * image-mode.el: Use lexical-binding.
2684 (image-mode-winprops): Use t to stand for the window of
2685 a buffer that's not displayed.
2686 * doc-view.el (doc-view-new-window-function): Handle the new
2687 t in winprops.
2688 (doc-view-enlarge): Make it a real nop if the size is not changed.
2689 (doc-view-display): Handle the case where the buffer is not (yet?)
2690 displayed in any window.
2691 (doc-view-saved-settings): New var.
2692 (doc-view-mode): Use it.
2693 (doc-view-fallback-mode): Set it.
2694
a2e770db
SM
2695 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2696 Set lexical-binding.
2697 (minibuffer-eldef-shorten-default): New var.
2698 (minibuffer-default-in-prompt-regexps): Use it for new default.
2699 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2700
e3b60857
JB
27012012-09-26 Juanma Barranquero <lekktu@gmail.com>
2702
2703 * international/uni-bidi.el:
2704 * international/uni-category.el:
2705 * international/uni-name.el:
2706 * international/uni-numeric.el: Regenerate.
2707
3a880af4
SM
27082012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
2709 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * profiler.el: New file.
2712
07b1a5fb
SM
27132012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
2714
2715 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2716 (testcover-reinstrument): Simplify with CSE.
2717
42019c2e
JB
27182012-09-26 Juanma Barranquero <lekktu@gmail.com>
2719
2720 * window.el (temp-buffer-window-setup): Fix typo in docstring.
2721
179f044b
WS
27222012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
2723
2724 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2725 (verilog-auto-input, verilog-auto-insert-lisp)
2726 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2727 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2728 (verilog-auto-unused, verilog-auto-wire)
2729 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2730 newline. Reported by Andrew Jones.
2731 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2732 Reported by Brad Dobbie.
07b1a5fb
SM
2733 (verilog-batch-delete-trailing-whitespace):
2734 Create verilog-batch-delete-trailing-whitespace.
2735 Reported by Brad Dobbie.
179f044b
WS
2736 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2737 parameters from another module. Reported by Dan Katz.
2738 (verilog-auto, verilog-auto-assign-modport)
2739 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2740 AUTOINOUTMODPORT for UVM interface module shell generation.
2741 Reported by Brad Dobbie.
2742 (verilog-auto-inst-interfaced-ports): Make default nil, as more
2743 standard behavior.
2744 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2745 Reported by Matt Martin.
2746
9c52dd5a
MR
27472012-09-25 Martin Rudalics <rudalics@gmx.at>
2748
2749 * window.el (window--resize-child-windows): When resizing child
2750 windows proportionally, process them in reverse order to
2751 preserve the "when splitting a window the new one gets the odd
2752 line" behavior.
2753 (window--resize-root-window-vertically): When resizing the
2754 minibuffer window try to affect only windows at the bottom of the
2755 frame. (Bug#12419)
2756
863666eb
CY
27572012-09-25 Chong Yidong <cyd@gnu.org>
2758
2759 * subr.el (declare): Doc fix.
2760
2761 * help-fns.el (help-fns--obsolete): Handle macros properly.
2762
59f7af81
CY
27632012-09-25 Chong Yidong <cyd@gnu.org>
2764
2765 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2766 this function obsolete.
2767
2768 * calendar/cal-x.el (calendar-two-frame-setup)
2769 (calendar-only-one-frame-setup, calendar-one-frame-setup):
2770 * calendar/calendar.el (american-calendar, european-calendar)
2771 (calendar-for-loop):
2772 * comint.el (comint-dynamic-simple-complete)
2773 (comint-dynamic-complete-as-filename, comint-unquote-filename):
2774 * desktop.el (desktop-load-default):
2775 * dired-x.el (dired-omit-here-always)
2776 (dired-hack-local-variables, dired-default-directory):
2777 * emacs-lisp/derived.el (derived-mode-class):
2778 * emacs-lisp/timer.el (timer-set-time-with-usecs):
2779 * emacs-lock.el (toggle-emacs-lock):
2780 * epa.el (epa-display-verify-result):
2781 * epg.el (epg-sign-keys, epg-start-sign-keys)
2782 (epg-passphrase-callback-function):
2783 * eshell/esh-util.el (eshell-for):
2784 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2785 (eshell-add-to-window-buffer-names):
2786 * files.el (locate-file-completion):
2787 * imenu.el (imenu-example--create-c-index)
2788 (imenu-example--create-lisp-index)
2789 (imenu-example--lisp-extract-index-name)
2790 (imenu-example--name-and-position):
2791 * international/mule-cmds.el (princ-list):
2792 * international/mule-diag.el (decode-codepage-char):
2793 * international/mule-util.el (detect-coding-with-priority):
2794 * iswitchb.el (iswitchb-read-buffer):
2795 * mail/mailalias.el (mail-complete):
2796 * mail/sendmail.el (mail-sent-via):
2797 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2798 (mouse-major-mode-menu):
2799 * password-cache.el (password-read-and-add):
2800 * pcomplete.el (pcomplete-parse-comint-arguments):
2801 * progmodes/sh-script.el (sh-maybe-here-document):
2802 * replace.el (query-replace-regexp-eval):
2803 * savehist.el (savehist-load):
2804 * simple.el (choose-completion-delete-max-match):
2805 * term.el (term-dynamic-simple-complete):
2806 * vc/ediff-init.el (ediff-check-version):
2807 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2808 * vc/vc.el (vc-diff-switches-list):
2809 * view.el (view-return-to-alist-update): Likewise.
2810
2811 * subr.el (eval-next-after-load, makehash, insert-string)
2812 (assoc-ignore-representation, assoc-ignore-case): Use declare to
2813 mark obsolete.
2814 (mode-line-inverse-video): Variable deleted.
2815
2816 * international/mule-util.el (string-to-sequence): Remove.
2817
2818 * calendar/calendar.el (calendar-version):
2819 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2820 (icalendar-convert-diary-to-ical):
2821 * cus-edit.el (custom-mode):
2822 * ansi-color.el (ansi-color-unfontify-region):
2823 * international/latin1-disp.el (latin1-char-displayable-p):
2824 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
2825 * progmodes/which-func.el (which-func-update-1):
2826 Use define-obsolete-function-alias.
59f7af81
CY
2827
2828 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
2829 * net/newst-treeview.el (newsticker-groups-filename):
2830 Fix incorrect obsolescence declaration.
59f7af81
CY
2831
2832 * allout.el (allout-passphrase-hint-string): Likewise.
2833 (allout-init): Use a declare form to mark obsolete.
2834
2835 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2836 this applies to functions.
2837
2838 * iswitchb.el (iswitchb-read-buffer): Move code of
2839 iswitchb-define-mode-map here, and delete that obsolete function.
2840
2841 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2842 font-lock-reference-face.
2843
cca96c97
GM
28442012-09-25 Glenn Morris <rgm@gnu.org>
2845
b06eeda8
GM
2846 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2847 Doc fixes.
2848
cca96c97
GM
2849 * eshell/em-term.el (eshell-term-name):
2850 Default to term-term-name. (Bug#12485)
2851
dc4f818b
FEG
28522012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2853
cca96c97
GM
2854 * progmodes/python.el (python-shell-send-buffer): Better handling
2855 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 2856
289c24bd
GM
28572012-09-24 Glenn Morris <rgm@gnu.org>
2858
2859 * eshell/esh-cmd.el (eshell-find-alias-function):
2860 Tighten up file-name regexp. (Bug#12499)
2861
8fb8b88f
FEG
28622012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
2863
2864 Enhancements for triple-quote string syntax.
2865 * progmodes/python.el (python-quote-syntax): Remove.
2866 (python-syntax-propertize-function): New value.
07b1a5fb
SM
2867 (python-syntax-count-quotes, python-syntax-stringify):
2868 New functions.
8fb8b88f 2869
6c27f0f8
CY
28702012-09-24 Chong Yidong <cyd@gnu.org>
2871
a5f2b6ec
CY
2872 * mail/supercite.el (sc-version): Remove obsolete function.
2873 (sc-describe): Don't mark as obsolete, since it is bound.
2874 (sc-submit-bug-report): Remove.
2875
2876 * vc/log-edit.el (cvs-changelog-full-paragraphs)
2877 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
2878 (log-edit-require-final-newline)
2879 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
2880
2881 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2882 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2883 * vc/vc.el (vc-checkout-carefully): Likewise.
2884
2885 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2886 (emerge-version): Remove.
2887
2888 * progmodes/compile.el (compile-internal): Remove.
2889 (compilation-parse-errors-function): Fix typo.
2890
2891 * international/mule.el (set-char-table-default): Remove.
2892 (set-coding-priority, make-coding-system, generic-char-p)
2893 (charset-list, charset-bytes, charset-id): Use declare to mark
2894 functions as obsolete.
2895
2896 * vc/pcvs-defs.el (cvs-buffer-name-alist)
2897 (cvs-invert-ignore-marks): Remove references to obsolete vars.
2898 * vc/vc-hooks.el (vc-default-registered): Don't use
2899 vc-master-templates.
2900
07b1a5fb
SM
2901 * font-lock.el (font-lock-reference-face):
2902 Use define-obsolete-variable-alias.
6c27f0f8
CY
2903
2904 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2905 * calendar/calendar.el (calendar-font-lock-keywords):
2906 * calendar/diary-lib.el (diary-font-lock-keywords)
2907 (diary-fancy-font-lock-keywords):
2908 * textmodes/reftex-sel.el (reftex-insert-docstruct):
2909 * textmodes/reftex-index.el (reftex-insert-index):
2910 * textmodes/reftex-cite.el (reftex-format-bib-entry):
2911 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2912 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2913 * progmodes/prolog.el (prolog-font-lock-keywords):
2914 * progmodes/idlwave.el (idlwave-idl-keywords):
2915 * progmodes/ada-mode.el (ada-font-lock-keywords):
2916 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2917
bcc0adbf
GM
29182012-09-24 Glenn Morris <rgm@gnu.org>
2919
2920 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2921
095bb823
FEG
29222012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
2923
2924 * progmodes/python.el (python-indent-line): More consistent cursor
2925 movement behavior.
2926
70efc5c9
SM
29272012-09-23 Stefan Merten <smerten@oekonux.de>
2928
2929 * textmodes/rst.el: Fix compiler warning.
2930
2f438239
RW
29312012-09-23 Roland Winkler <winkler@gnu.org>
2932
07b1a5fb
SM
2933 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
2934 Transcribe also LaTeX hyphenation.
2f438239
RW
2935 (bibtex-reformat): Bug fix. Do not quote twice the elements of
2936 bibtex-reformat-previous-options.
2937
936ad041
RW
29382012-09-23 Roland Winkler <winkler@gnu.org>
2939
2940 * proced.el (proced-renice-command): New variable.
2941 (proced-marked-processes): New function.
2942 (proced-with-processes-buffer): New macro.
2943 (proced-send-signal): Use them.
2944 (proced-renice): New command bound to r.
2945
6fab0274
RW
29462012-09-23 Roland Winkler <winkler@gnu.org>
2947
2948 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
2949 ibuffer-saved-filter-groups has one element, shortcut the call of
2950 completing-read. (Bug#12331)
2951
9a930676
CY
29522012-09-23 Chong Yidong <cyd@gnu.org>
2953
2954 * bindings.el (mode-line-toggle-read-only):
2955 * bs.el (bs-toggle-readonly):
2956 * buff-menu.el (Buffer-menu-toggle-read-only):
2957 * dired.el (dired-toggle-read-only):
2958 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
2959
d07ff9db
CY
29602012-09-23 Chong Yidong <cyd@gnu.org>
2961
2962 * image.el (image-type-available-p): Adapt to init-image-library
2963 argument changes.
2964
51c4474e
JL
29652012-09-22 Juri Linkov <juri@jurta.org>
2966
2967 * dired.el (dired-mode-map): Add [remap read-only-mode] for
2968 `dired-toggle-read-only'. (Bug#12462)
2969
43bf5e8e
MR
29702012-09-22 Martin Rudalics <rudalics@gmx.at>
2971
2972 * subr.el (temp-output-buffer-show): New function.
2973 (with-output-to-temp-buffer): Call temp-output-buffer-show
2974 instead of internal-temp-output-buffer-show.
2975
c88b867f
CY
29762012-09-22 Chong Yidong <cyd@gnu.org>
2977
3df47cd5
CY
2978 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
2979 (Bug#12462).
2980
c88b867f
CY
2981 * repeat.el (repeat): Doc fix (Bug#12348).
2982
2983 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
2984 (Bug#10909).
2985
2986 * simple.el (shell-command-on-region): Doc fix.
3171e303 2987 (read-only-mode): Doc fix.
c88b867f 2988
df9685f3
EZ
29892012-09-22 Eli Zaretskii <eliz@gnu.org>
2990
2991 * emacs-lisp/timer.el (run-with-idle-timer)
2992 (timer-activate-when-idle): Warn against reinvoking an idle timer
2993 from within its own timer action. (Bug#12447)
2994
8e17c9ba
MR
29952012-09-22 Martin Rudalics <rudalics@gmx.at>
2996
2997 * cus-start.el (window-combination-limit): Add new optional
2998 values.
2999 * window.el (temp-buffer-window-show)
3000 (window--try-to-split-window): Handle new values of
3001 window-combination-limit (Bug#1806).
3002 (split-window): Test window-combination-limit for t instead of
3003 non-nil.
3004 (display-buffer-at-bottom): New buffer display action function.
3005 * help.el (temp-buffer-resize-regexps): New option.
3006 (temp-buffer-resize-mode): Rewrite doc-string.
3007 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 3008 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 3009
48a24920
SM
30102012-09-22 Stefan Merten <smerten@oekonux.de>
3011
70efc5c9 3012 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
3013 (rst-official-version)
3014 (rst-package-emacs-version-alist): Sync with official version
3015 V1.4.0.
3016 (rst-faces-defaults, rst-set-level-default)
3017 (rst-level-face-max, rst-level-face-base-color)
3018 (rst-level-face-base-light, rst-level-face-format-light)
3019 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3020 (rst-adornment-faces-alist): Match new setup.
3021 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3022 (rst-level-5, rst-level-6): New faces.
3023
82f8cd94
CY
30242012-09-22 Chong Yidong <cyd@gnu.org>
3025
3026 * simple.el (undo): Handle indirect buffers (Bug#8207).
3027
acfa068f 30282012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
3029
3030 IDO: Disable match re-ordering for buffer switching.
2bc9406c 3031 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
3032 (ido-set-matches-1): Use it. (Bug#2042)
3033
acfa068f 30342012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
3035
3036 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3037 Fix 2011-05-17 change. (Bug#12418)
3038
acfa068f 30392012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
3040
3041 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3042
acfa068f 30432012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
3044
3045 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3046 Be more robust about locating simple.el.
3047
acfa068f 30482012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
3049
3050 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3051
acfa068f
CY
30522012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3053
3054 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3055
41a97e6f
JL
30562012-09-20 Juri Linkov <juri@jurta.org>
3057
eb2deaff
JL
3058 * replace.el (query-replace-read-from): Use `read-regexp' instead
3059 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3060 (occur-read-primary-args): Use `read-regexp' instead of
3061 `read-string'.
3062 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3063 `read-from-minibuffer'.
3064 * isearch.el (isearch-occur): Use `read-regexp' instead of
3065 `read-string'.
3066 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3067 `read-from-minibuffer'.
3068 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3069 of `read-string'. (Bug#7567)
3070
5825610b
JL
3071 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3072 and allow accepting a list of strings prepended to a list of
3073 standard default values. Doc fix. (Bug#12321)
3074
eebbf404
JL
3075 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3076
41a97e6f
JL
3077 * replace.el (read-regexp): Don't add ": " when PROMPT already
3078 ends with a colon and space. (Bug#12321)
3079
c9e452d3
TH
30802012-09-20 Tassilo Horn <tsdh@gnu.org>
3081
3082 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3083 error.
3084
ee97deee
SM
30852012-09-20 Stefan Merten <smerten@oekonux.de>
3086
70efc5c9 3087 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
3088 Fixes feature request bug#11711.
3089 (rst-mode): Create `imenu-create-index-function'.
3090 (rst-get-stripped-line): Delete after refactoring.
3091 (rst-section-tree, rst-section-tree-rec)
3092 (rst-section-tree-point): Refactor and document properly.
3093 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
3094 (rst-imenu-convert-cell, rst-imenu-create-index):
3095 New function.
ee97deee 3096
f490dab9
SM
30972012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3098
95b9712e
SM
3099 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3100 (macroexp--expand-all): Use it.
3101 (macroexp--funcall-and-return): Remove by folding it into its sole
3102 caller (macroexp--warn-and-return).
3103 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3104 Use macroexp--obsolete-warning.
3105
f490dab9
SM
3106 * calc/calc.el: Fix last change by removing the whole chunk, since it
3107 was only needed back when Calc was not bundled.
3108
96e8d411
MR
31092012-09-20 Martin Rudalics <rudalics@gmx.at>
3110
3111 * emacs-lisp/debug.el (debug): Restore assignment to
3112 debugger-old-buffer removed on 2012-09-08.
3113
0876a82d
JL
31142012-09-20 Juri Linkov <juri@jurta.org>
3115
3116 * dired-aux.el (dired-diff): Remove (require 'diff) since
3117 `diff-latest-backup-file' is now autoloaded.
3118
9f7c28f0
CY
31192012-09-20 Chong Yidong <cyd@gnu.org>
3120
3121 * vc/diff.el (diff-latest-backup-file): Autoload.
3122
7a04bee9
SM
31232012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3124
e6f0a80d
SM
3125 * calc/calc.el: Remove redundant autoload shape check.
3126 (sel-mode): Don't defvar.
3127 (calc-get-stack-element): Add `sel-mode' arg instead.
3128 (calc-top, calc-top-list): Pass it this additional argument.
3129 * calc/calc-store.el (calc-store-map):
3130 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3131 (calc-map-equation, calc-outer-product, calc-inner-product):
3132 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3133
7a04bee9
SM
3134 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3135
12734222
JL
31362012-09-19 Juri Linkov <juri@jurta.org>
3137
3138 * dired-aux.el (dired-diff): Add (require 'diff) because
3139 `diff-latest-backup-file' is not autoloaded.
3140 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3141 of `dired-get-filename' to t to not report error when there is
3142 no default file on the current line.
3143
46624b4f
SM
31442012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3145
ce97595b
SM
3146 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3147 macroexp--eval-if-compile.
3148 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3149 (macroexp--expand-all): Use them (bug#12371).
3150
46624b4f
SM
3151 * doc-view.el (doc-view-guess-paper-size)
3152 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3153
db8a5a18
TH
31542012-09-19 Tassilo Horn <tsdh@gnu.org>
3155
3156 New feature: set optimal slice from BoundingBox information.
3157 * doc-view.el (doc-view-mode-map): Add keybinding.
3158 (doc-view-menu): Add menu entry.
3159 (doc-view-set-slice): Adapt docstring.
3160 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3161 (doc-view-scale-bounding-box)
3162 (doc-view-set-slice-from-bounding-box): New functions.
3163 (doc-view-paper-sizes): New defvar.
3164
69f6644c
GM
31652012-09-19 Glenn Morris <rgm@gnu.org>
3166
35f5b19d
GM
3167 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3168 (byte-compile-log-warning): Autoload. (Bug#12371)
3169
69f6644c
GM
3170 * calendar/calendar.el (calendar-american-month-header)
3171 (calendar-european-month-header, calendar-iso-month-header)
3172 (calendar-month-header): New options.
3173 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3174 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3175
e543ae91
JD
31762012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3177
3178 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3179
2fd5e67d
JL
31802012-09-18 Juri Linkov <juri@jurta.org>
3181
3182 * dired-aux.el (dired-diff): Restore original functionality of
3183 getting the default value, but keep new feature of using the
3184 latest existing backup file (`diff-latest-backup-file').
3185
42917e79
JL
31862012-09-18 Juri Linkov <juri@jurta.org>
3187
3188 * dired.el (dired-mark): If the region is active in Transient Mark
3189 mode, mark all files in the active region. Doc fix.
3190 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3191 Doc fix. (Bug#10624)
3192
20f70ede
JL
31932012-09-18 Juri Linkov <juri@jurta.org>
3194
3195 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3196 attributes for M-n are pulled from the file at point.
3197 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3198 Suggested by Drew Adams. (Bug#10624)
3199
32fb8162
DG
32002012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3201
3202 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3203 whitespace after "end".
3204 (ruby-do-end-to-brace): Collapse block to one line if it fits
3205 within fill-column.
3206
37ab5092
MR
32072012-09-18 Martin Rudalics <rudalics@gmx.at>
3208
3209 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3210 value.
3211 (debug): Don't remove debugger window when debugger is expected
3212 to be back.
3213
ed1f0bd3
CY
32142012-09-18 Chong Yidong <cyd@gnu.org>
3215
3216 * custom.el (defface): Doc fix.
3217
3218 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3219
a11035b8
MB
32202012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3221
3222 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3223 to initialize query-on-exit; then test that instead (bug#12288).
3224
64f6a736
SM
32252012-09-17 Stefan Merten <smerten@oekonux.de>
3226
70efc5c9 3227 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
3228 (rst-defcustom-testcover, rst-testcover-add-compose)
3229 (rst-testcover-add-1value): New functions.
3230 (rst-portable-mark-active-p): Replace by `use-region-p'.
3231 (rst-update-section, rst-classify-adornment)
3232 (rst-find-title-line): Mark `1value' forms.
3233 (rst-classify-adornment): Remove superfluous form.
3234 (rst-update-section, rst-get-adornments-around)
3235 (rst-adornment-complete-p, rst-get-next-adornment)
3236 (rst-adjust, rst-promote-region)
3237 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3238 (rst-find-pfx-in-region, rst-section-tree-rec)
3239 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3240 (rst-toc-node, rst-toc, rst-forward-section)
3241 (rst-iterate-leftmost-paragraphs)
3242 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3243 (rst-bullet-list-region)
3244 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3245 (rst-compile-find-conf, rst-compile)
3246 (rst-repeat-last-character): Fix style.
3247
580bd868
CY
32482012-09-17 Chong Yidong <cyd@gnu.org>
3249
3250 * comint.el (comint--complete-file-name-data): Don't add a space
3251 if the status is `sole'; that adds a gratuitous space in the
3252 completion-cycling case (Bug#12092).
3253
3254 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3255
69de3ec6
RS
32562012-09-17 Richard Stallman <rms@gnu.org>
3257
0dee970c
RS
3258 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3259 only in the mime-shown mode, not in raw mode.
3260 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 3261 mime processing. (Bug#12305)
0dee970c 3262
6b250df6
GM
3263 * mail/rmail.el (rmail-retry-failure):
3264 Turn off mime processing first. (Bug#12037)
acb1c47b 3265
69de3ec6
RS
3266 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3267
d079ee5f
CY
32682012-09-17 Chong Yidong <cyd@gnu.org>
3269
3270 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3271 (shell-dynamic-complete-functions): Convert to defcustom.
3272 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3273
865fe16f
CY
3274 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3275 * comint.el (comint-prompt-read-only):
3276 * custom.el (defcustom):
3277 * hi-lock.el (hi-lock-mode):
3278 * ibuffer.el (ibuffer-formats):
3279 * ielm.el (ielm-prompt-read-only):
3280 * novice.el (disable-command):
3281 * saveplace.el (toggle-save-place):
3282 * speedbar.el (speedbar-supported-extension-expressions):
3283 * startup.el (auto-save-list-file-prefix, init-file-user)
3284 (after-init-hook, inhibit-startup-echo-area-message):
3285 * strokes.el (strokes-help):
3286 * time-stamp.el (time-stamp):
3287 * calendar/calendar.el (calendar, diary-file):
3288 * calendar/diary-lib.el (diary-mail-entries, diary)
3289 (diary-list-entries-hook):
3290 * calendar/holidays.el (holidays, calendar-holidays):
3291 * calendar/lunar.el (lunar-phases):
3292 * calendar/solar.el (sunrise-sunset):
3293 * emulation/edt.el (edt-load-keys):
3294 * emulation/viper.el (viper-mode):
3295 * eshell/em-alias.el (eshell-command-aliases-list):
3296 * eshell/esh-util.el (eshell-convert-numeric-arguments):
3297 * international/ogonek.el (ogonek-information):
3298 * net/tramp-cmds.el (tramp-bug):
3299 * net/quickurl.el (quickurl-reread-hook-postfix):
3300 * play/decipher.el (decipher-font-lock-keywords):
3301 * progmodes/cc-styles.el (c-set-style):
3302 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3303 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3304 * progmodes/octave-mod.el (octave-mode):
3305 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3306 * progmodes/verilog-mode.el (verilog-read-defines):
3307 * textmodes/two-column.el (2C-mode): Likewise.
3308
48093eb9
KY
33092012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
3310
3311 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3312 that holds many addresses.
3313
c584eaf9
CY
33142012-09-16 Chong Yidong <cyd@gnu.org>
3315
40d70ecb
CY
3316 * align.el (align-areas): Call the indication function with
3317 positions instead of markers for arguments (Bug#12343).
3318
1667e065
CY
3319 * files.el (parse-colon-path): Use split-string (Bug#12351).
3320
fdc2806d 3321 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 3322 (display-buffer-function): Mark as obsolete.
fdc2806d 3323
f1be615c 3324 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
3325 values similar to font-lock-keywords (Bug#12136).
3326 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
3327 (compilation-error-regexp-alist): Doc fix.
3328
f40a9709
GM
33292012-09-15 Glenn Morris <rgm@gnu.org>
3330
72aa16e1
GM
3331 * version.el (emacs-bzr-version-bzr): New function.
3332 (emacs-bzr-get-version): Add optional EXTERNAL argument.
3333
82375160
GM
3334 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3335 checkouts, check the parent dirstate matches the branch.
3336 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
3337 empty string.
3338
f40a9709
GM
3339 * version.el (emacs-bzr-version): Doc fix.
3340 (emacs-bzr-version-dirstate): New function.
3341 (emacs-bzr-get-version): For lightweight checkouts, if the parent
3342 is local try and check that it matches the branch. If not, just
3343 use dirstate information. (Bug#12441)
3344
cb26b7f5
JL
33452012-09-14 Juri Linkov <juri@jurta.org>
3346
3347 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3348 (Bug#12399)
3349
2de39f08
SM
33502012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
3351
0fb3cb7c
SM
3352 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3353
2de39f08
SM
3354 * emacs-lisp/edebug.el: Miscellaneous cleanup.
3355 Remove obsolete byte-compiler hack that tried to silence some warnings.
3356 (edebug-submit-bug-report): Remove.
3357 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3358 Remove aliases, use the un-prefixed name instead.
3359 (edebug-pop-to-buffer): Consider other frames.
3360 (edebug-original-read):: Make it more obvious that it's always defined.
3361 (edebug--make-form-data-entry, edebug--form-data-name)
3362 (edebug--form-data-begin, edebug--form-data-end): Rename from the
3363 single-dashed name, and implement with cl-defstruct.
3364 (edebug-set-form-data-entry): Use the standard accessors.
3365 (edebug-make-top-form-data-entry): Use push.
3366 (edebug-no-match): Drop useless `funcall'.
3367 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3368 to functions.
3369 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3370 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3371 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3372 (easy-menu-define, with-custom-print): Remove redundant specs.
3373 (edebug-outside-overriding-local-map)
3374 (edebug-outside-overriding-terminal-local-map): Remove, unused.
3375 (edebug--display): Bind unread-command-events directly to nil rather
3376 than binding it to unread-command-events and later setting it to nil.
3377 (edebug--display): Kill edebug-eval-buffer here...
3378 (edebug--recursive-edit): ...rather than here.
3379 Bind standard-output and standard-input.
3380 (edebug-eval): Check cl-macroexpand-all is fboundp.
3381 (edebug-temp-display-freq-count): Fix last change.
3382
3383 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3384 * subr.el (noreturn, 1value): Add `debug' spec.
3385 * emacs-lisp/advice.el: Require cl-lib.
3386 (ad-copy-tree): Remove, use copy-tree instead.
3387 (ad-dolist): Remove use dolist or cl-dolist instead.
3388 (ad-do-return): Remove, use cl-return instead.
3389 (defadvice): Add `debug' spec.
3390
5b68b333
JL
33912012-09-13 Juri Linkov <juri@jurta.org>
3392
3393 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3394 (Bug#12399)
3395
b9800ec4
GM
33962012-09-13 Glenn Morris <rgm@gnu.org>
3397
6a2e6868
GM
3398 * calc/calc.el (math-compose-expr):
3399 * calc/calc-ext.el (math-compose-expr):
3400 * progmodes/cc-defs.el (cl-macroexpand-all):
3401 * progmodes/cc-langs.el (delete-duplicates, mapcan)
3402 (cl-macroexpand-all): Update declarations.
3403
b9800ec4
GM
3404 * vc/vc.el: No need to require ediff.
3405 (ediff-load-version-control): Declare.
3406 (ediff-vc-internal): Fix declaration.
3407 (vc-version-ediff): Require ediff.
3408
c18e885b
PE
34092012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3410
3411 Use a more backwards-compatible timer format (Bug#12430).
3412 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3413 being right after USECS, as that better supports old code that
3414 inadvisedly looked directly at the timer vector.
3415
d607d303
KH
34162012-09-13 Kenichi Handa <handa@gnu.org>
3417
3418 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3419 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3420 `coding-priority' property of these language environment.
3421
72eac303
PE
34222012-09-13 Paul Eggert <eggert@cs.ucla.edu>
3423
3424 Fix glitches caused by addition of psec to timers (Bug#12430).
3425 * image.el (image-animate-timer):
3426 * time.el (display-time-world-timer):
3427 Use timer--function and timer--args rather than raw access to
3428 timer vector.
3429
2168fe4f
GM
34302012-09-13 Glenn Morris <rgm@gnu.org>
3431
3432 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3433 If not compiling a file, try using load-file-name.
3434
bd8d6108
SM
34352012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
3436
c0c54fbd
SM
3437 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3438 Fix last change.
3439 (edebug-update-eval-list): Use `push'.
3440
bd8d6108
SM
3441 * emacs-lisp/edebug.el: Use lexical-binding.
3442 Remove the "edebug-" prefix from non-dynamically-scoped variables.
3443 Mark unused args with underscore.
3444 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3445 (edebug-form-data): Use defvar-local.
3446 (edebug-make-before-and-after-form, edebug-make-after-form):
3447 Use backquote.
3448 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3449 Not dynamically scoped any more.
3450 (edebug--enter-trace): Add arguments `function' and `args'.
3451 Rename from edebug-enter-trace.
3452 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
3453 (edebug--update-coverage): Add `after-index' and `value' args.
3454 Rename from edebug-update-coverage.
3455 (edebug-slow-after): Call it accordingly.
3456 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
3457 edebug-recursive-edit.
3458 (edebug--display): Call it accordingly. Add args `value',
3459 `offset-index', and `arg-mode'. Rename from edebug-display.
3460 (edebug-debugger, edebug): Call it accordingly.
3461 (edebug-eval-display-list): Use dolist.
3462
a9f9d9de
JL
34632012-09-12 Juri Linkov <juri@jurta.org>
3464
3465 * info.el (Info-search): Don't check for isearch-mode and
3466 isearch-regexp before let-binding search-spaces-regexp to
3467 Info-search-whitespace-regexp.
3468 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3469 search-whitespace-regexp if isearch-lax-whitespace or
3470 isearch-regexp-lax-whitespace is non-nil.
3471 (Info-mode): Don't set local variable search-whitespace-regexp.
3472 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3473
bfeae2cf
SM
34742012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3477 (debugger-env-macro): Remove support for unread-command-char.
3478
3479 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3480 the temporary map re-appearing on emulation-mode-map-alists.
3481
3482 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3483 since 22.1.
3484
3485 * ehelp.el (with-electric-help): Accept functions in
3486 electric-help-form-to-execute.
3487 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3488 And replace unread-command-char -> unread-command-events.
3489
fbbcaf1b
MA
34902012-09-12 Michael Albinus <michael.albinus@gmx.de>
3491
3492 Sync with Tramp 2.2.6.
3493
3494 * net/tramp.el (tramp-accept-process-output): Don't use
3495 JUST-THIS-ONE in the XEmacs case.
3496
3497 * net/trampver.el: Update release number.
3498
4dece104
MR
34992012-09-12 Martin Rudalics <rudalics@gmx.at>
3500
bfeae2cf
SM
3501 * emacs-lisp/debug.el (debugger-previous-window-height):
3502 New variable.
4dece104
MR
3503 (debug): When debugger-jumping-flag is non-nil try to restore
3504 height of debugger window. (Bug#8789)
3505
45b82ad0
SM
35062012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
3507
60c49c0f
SM
3508 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3509 overriding-local-map and pre/post-command-hook here.
3510 (edebug-recursive-edit): Do it here instead (bug#12345).
3511 (edebug-outside-unread-command-char): Remove all uses of
3512 unread-command-char.
3513
45b82ad0
SM
3514 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3515 inhibit-debugger is bound instead.
3516
baa26ea0
BG
35172012-09-11 Bastien Guerry <bzg@gnu.org>
3518
3519 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 3520 (Bug#12346)
baa26ea0 3521
04e8abfa
BG
35222012-09-11 Bastien Guerry <bzg@gnu.org>
3523
96d03571 3524 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 3525 (Bug#12347)
96d03571
BG
3526
35272012-09-11 Bastien Guerry <bzg@gnu.org>
3528
fc0c31f8 3529 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 3530
04e082b0
MM
35312012-09-10 Michael R. Mauger <mmaug@yahoo.com>
3532
3533 * progmodes/sql.el: Version 3.1
3534 (sql-db2-escape-newlines): New variable.
3535 (sql-escape-newlines-filter): Use it.
3536
399a361b
JB
35372012-09-10 Juanma Barranquero <lekktu@gmail.com>
3538
3539 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3540
0780c517
DN
35412012-09-10 Dan Nicolaescu <dann@gnu.org>
3542
45b82ad0
SM
3543 * vc/diff-mode.el (diff-mode-menu):
3544 Bind diff-remove-trailing-whitespace.
0780c517 3545
9b851e25
SM
35462012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
3547
3548 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
3549 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3550 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
3551 (eval-sexp-add-defvars): Don't skip defvars in column >0.
3552 (eval-defun-2): Remove bogus interactive spec.
3553 (lisp-indent-line): Remove redundant whole-exp code, now done in
3554 indent-according-to-mode.
3555 (save-match-data): Remove redundant indent data.
3556
3557 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3558 Use `declare'.
3559
3231d532
JL
35602012-09-09 Juri Linkov <juri@jurta.org>
3561
3562 * replace.el (replace-regexp-lax-whitespace): New defcustom.
3563 (replace-lax-whitespace, query-replace-regexp)
3564 (query-replace-regexp-eval, replace-regexp): Doc fix.
3565 (perform-replace, replace-highlight): Let-bind
3566 isearch-lax-whitespace to replace-lax-whitespace and
3567 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3568
3569 * isearch.el (isearch-query-replace): Let-bind
3570 replace-lax-whitespace to isearch-lax-whitespace and
3571 replace-regexp-lax-whitespace to
3572 isearch-regexp-lax-whitespace. (Bug#10885)
3573
70fe8236
SM
35742012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
3575
3576 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3577
8ed43f15
AM
35782012-09-09 Alan Mackenzie <acm@muc.de>
3579
70fe8236
SM
3580 * progmodes/cc-engine.el (c-state-cache-init):
3581 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3582 (c-record-parse-state-state):
3583 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 3584
bfabf70a
AS
35852012-09-09 Andreas Schwab <schwab@linux-m68k.org>
3586
3587 * register.el (register-separator): Rename from
3588 separator-register. All uses changed. Doc fix.
3589 (register): Fix version.
3590
011474aa
CY
35912012-09-09 Chong Yidong <cyd@gnu.org>
3592
3593 * replace.el (query-replace-map): Bind four new symbols for
3594 requesting window scrolling.
3595
3596 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3597 query-replace-map (Bug#8948).
3598
3599 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3600
3601 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3602 since they are now in query-replace-map.
3603
3604 * window.el (scroll-other-window-down): Make the arg optional.
3605
a8b7cd8d
CY
36062012-09-09 Chong Yidong <cyd@gnu.org>
3607
3608 * files.el (hack-local-variables-confirm): Use quit-window to kill
3609 the *Local Variables* buffer.
3610
c3268831
DG
36112012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3612
3613 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3614 not just expect to be at its beginning. Adjust callees.
3615 Succeed when do-end block has no space before the pipe character.
3616 (ruby-brace-to-do-end): When the original block is one-liner,
3617 convert to multiline. Reindent the result.
3618
0979429b
J
36192012-09-08 Jambunathan K <kjambunathan@gmail.com>
3620
3621 * register.el (register): New group.
27359e99 3622 (separator-register): New user option.
0979429b
J
3623 (increment-register): Route it to `append-to-register', if
3624 register contains text. Implication is that `C-x r +' can now be
3625 used for appending to a text register (bug#12217).
3626 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 3627 `separator-register'.
0979429b 3628
ace2989a
AM
36292012-09-08 Alan Mackenzie <acm@muc.de>
3630
3631 AWK Mode: make auto-newline work when there's "==" in the pattern.
3632 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3633 correctly.
0979429b
J
3634 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3635 Test more rigorously for "=" token.
ace2989a 3636
616c6c36
DG
36372012-09-08 Dmitry Gutov <dgutov@yandex.ru>
3638
0979429b
J
3639 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3640 Only fail when reached LIMIT.
616c6c36 3641
35d98877
CY
36422012-09-08 Chong Yidong <cyd@gnu.org>
3643
3644 * dired.el (dired-mode-map): Don't bind M-=.
3645
3646 * dired-aux.el (dired-diff): Use backup file as default.
3647
1715f2db
DA
36482012-09-08 Drew Adams <drew.adams@oracle.com>
3649
3650 * subr.el (add-to-history): Fix delete usage (Bug#12314).
3651
6dcef6ec
CY
36522012-09-08 Chong Yidong <cyd@gnu.org>
3653
3654 * subr.el (syntax-after, syntax-class): Doc fix.
3655
fa2bcf43
MR
36562012-09-08 Martin Rudalics <rudalics@gmx.at>
3657
3658 * window.el (display-buffer-in-previous-window): New buffer
3659 display action function.
3660
3661 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3662 (debugger-previous-window): New variable.
3663 (debug): Rewrite using display-buffer-in-previous-window,
3664 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
3665
daac280a
SM
36662012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
3667
3668 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
3669
9dd40b00
MM
36702012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
3671
daac280a
SM
3672 * progmodes/python.el (python-shell-send-string):
3673 When default-directory is remote, create temp file on remote
9dd40b00
MM
3674 filesystem.
3675 (python-shell-send-file): When file is remote, pass local view of
3676 file paths to remote Python interpreter. (Bug#12340)
3677
145823ec
CY
36782012-09-07 Chong Yidong <cyd@gnu.org>
3679
cee2e90d
CY
3680 * window.el (switch-to-buffer): Doc fix (Bug#12181).
3681
0d7eb2ea
CY
3682 * files.el (after-find-file): Don't fail on a read-only buffer if
3683 require-final-newline is `visit' or `visit-save' (Bug#11156).
3684
145823ec
CY
3685 * subr.el (read-char-choice): Allow quitting via ESC ESC.
3686
daac280a
SM
3687 * userlock.el (ask-user-about-supersession-threat):
3688 Use read-char-choice (Bug#12093).
145823ec 3689
74c582e6
CY
36902012-09-07 Chong Yidong <cyd@gnu.org>
3691
e5c2edf7
CY
3692 * subr.el (buffer-narrowed-p): New function.
3693
3694 * ses.el (ses-widen):
3695 * simple.el (count-words--buffer-message):
1f9f395d 3696 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
3697
3698 * simple.el (count-words-region): Don't signal an error if there
3699 is a non-nil prefix arg and the mark is not set.
c640e87d 3700
74c582e6
CY
3701 * help.el (describe-key-briefly): Allow the message to be seen
3702 when invoked from the minibuffer (Bug#7014).
3703
d81ceaaf
DG
37042012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-end-of-defun)
3707 (ruby-beginning-of-defun): Simplify, allow indentation before
3708 block beginning and end keywords.
8f06acce
DG
3709 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3710 (ruby-end-of-defun): Expect that the point is at the beginning of
3711 the defun.
d81ceaaf 3712
d458ef98
SM
37132012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3716 (bug#12367).
3717 (cl--make-usage-args): Strip _ from argument names.
3718
20367d28
RS
37192012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3720
3721 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3722 obsolete alias speedbar-key-map.
3723 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3724 (vhdl-index-menu-init): Don't use obsolete variable
3725 font-lock-maximum-size.
3726
3424a4f6
CY
37272012-09-06 Chong Yidong <cyd@gnu.org>
3728
3729 * frame.el (window-system-version): Mark as obsolete.
3730
fcbfbdea
CY
3731 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3732 of obsolete variable speedbar-key-map.
3733
826b3235
JL
37342012-09-06 Juri Linkov <juri@jurta.org>
3735
3736 * replace.el (replace-lax-whitespace): New defcustom.
3737 (query-replace, query-replace-regexp, query-replace-regexp-eval)
3738 (replace-string, replace-regexp): Mention it in docstrings.
3739 (perform-replace, replace-highlight): Let-bind
3740 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3741 to the values of replace-lax-whitespace and regexp-flag.
3742 Don't let-bind search-whitespace-regexp. (Bug#10885)
3743
3744 * isearch.el (isearch-query-replace): Let-bind
3745 replace-lax-whitespace instead of let-binding
3746 replace-search-function and replace-re-search-function.
3747 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3748 and isearch-regexp-lax-whitespace to lazy-highlight variables.
3749 (isearch-toggle-symbol): Set isearch-regexp to nil
3750 in isearch-word mode (like in isearch-toggle-word).
3751
1ec5e41d
JL
37522012-09-06 Juri Linkov <juri@jurta.org>
3753
3754 * replace.el (replace-search-function)
3755 (replace-re-search-function): Set default values to nil.
3756 (perform-replace): Let-bind isearch-related variables based on
3757 replace-related values, call `isearch-search-fun' and let-bind
3758 the result to `search-function'. Remove code that sets
3759 `search-function' and `search-string' separately for
3760 `delimited-flag'.
3761 (replace-highlight): Add new argument `delimited-flag' and
3762 rename other arguments to the names used in `perform-replace'.
3763 Let-bind `isearch-word' to the argument `delimited-flag'.
3764 (Bug#10885, bug#10887)
3765
0ba2d4b6
DG
37662012-09-07 Dmitry Gutov <dgutov@yandex.ru>
3767
3768 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3769 ruby-beginning-of-indent, simplify, allow all keywords to have
3770 indentation before them.
3771 (ruby-beginning-of-indent): Adjust for above. Search until the
3772 found point is not inside a string or comment.
3773 (ruby-font-lock-keywords): Allow symbols to start with "@"
3774 character, give them higher priority than variables.
3775 (ruby-syntax-propertize-function)
3776 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3777 matchers. Expression expansions are not comments when inside a
3778 string, and there comment syntax status is irrelevant.
3779 (ruby-match-expression-expansion): New function. Check that
3780 expression expansion is inside a string, and it's not escaped.
3781 (ruby-font-lock-keywords): Use it.
3782
ef654460
MR
37832012-09-05 Martin Rudalics <rudalics@gmx.at>
3784
3785 * help.el (temp-buffer-max-height): New default value.
3786 (temp-buffer-resize-frames): New option.
3787 (resize-temp-buffer-window): Optionally resize frame.
3788
3789 * window.el (fit-frame-to-buffer-bottom-margin): New option.
3790 (fit-frame-to-buffer): New function.
3791
7e570fbf 37922012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
3793
3794 * emulation/cua-rect.el (cua--init-rectangles):
3795 * textmodes/picture.el (picture-mode-map):
3796 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3797 like forward-char and backward-char. (Bug#12317)
3798
7e570fbf 37992012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
3800
3801 * progmodes/flymake.el (flymake-warning-re): New variable.
3802 (flymake-parse-line): Use it.
3803
7e570fbf 38042012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
3805
3806 * calendar/holidays.el (holiday-christian-holidays):
3807 Rename an entry. (Bug#12289)
3808
7e570fbf 38092012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
3810
3811 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3812 (bug#12222).
3813
972debf2
SM
38142012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * loadup.el: Load macroexp. Remove hack.
3817 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3818 (macroexp--expand-all): Use it to get better warnings.
3819 (macroexp--backtrace, macroexp--trim-backtrace-frame)
3820 (internal-macroexpand-for-load): New functions.
3821 (macroexp--pending-eager-loads): New var.
3822 (emacs-startup-hook): New hack to replace one in loadup.el.
3823 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3824 (cl--compiler-macro-cXXr): Move to top, before they can be used.
3825 (cl-psetf): Simplify.
3826 (cl-defstruct): Add indent rule.
3827
8ce192e3
LI
38282012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
3829
3830 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3831 over `user-mail-address' for the SMTP MAIL FROM envelope.
3832 (smtpmail-via-smtp): Ditto.
3833
6578b4d8
DG
38342012-09-04 Dmitry Gutov <dgutov@yandex.ru>
3835
3836 * progmodes/ruby-mode.el: Clean up keybindings.
3837 (ruby-mode-map): Don't bind ruby-electric-brace,
3838 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3839 backward-kill-word, reindent-then-newline-and-indent.
3840 (ruby-mark-defun): Remove.
3841 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
3842 (ruby-mode): Set local beginning-of-defun-function and
3843 end-of-defun-function values.
3844
c5e28e39
MR
38452012-09-03 Martin Rudalics <rudalics@gmx.at>
3846
3847 * window.el (temp-buffer-window-setup-hook)
3848 (temp-buffer-window-show-hook): New hooks.
3849 (temp-buffer-window-setup, temp-buffer-window-show)
3850 (with-temp-buffer-window): New functions.
972debf2
SM
3851 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3852 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
3853
3854 * help.el (temp-buffer-resize-mode): Fix doc-string.
3855 (resize-temp-buffer-window): New optional argument WINDOW.
3856
3857 * files.el (recover-file, save-buffers-kill-emacs):
3858 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3859
73406194
MA
38602012-09-02 Michael Albinus <michael.albinus@gmx.de>
3861
3862 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3863 remote definition of `default-directory', ensure we can connect.
3864
63dd1c6f
JL
38652012-09-02 Juri Linkov <juri@jurta.org>
3866
3867 Toggle whitespace matching mode with M-s SPC.
3868 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3869
3870 * isearch.el (search-whitespace-regexp): Doc fix.
3871 Remove cons cell customization.
3872 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3873 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3874 New variables.
3875 (isearch-forward, isearch-forward-regexp): Doc fix.
3876 (isearch-toggle-lax-whitespace): New command.
3877 (search-forward-lax-whitespace, search-backward-lax-whitespace)
3878 (re-search-forward-lax-whitespace)
3879 (re-search-backward-lax-whitespace): New functions.
3880 (isearch-whitespace-regexp): Remove function.
3881 (isearch-query-replace): Let-bind replace-search-function and
3882 replace-re-search-function.
3883 (isearch-occur): Let-bind search-spaces-regexp according to the
3884 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3885 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3886 condition for C-q SPC.
3887 (isearch-search-fun-default): Use new functions mentioned above.
3888 (isearch-search-forward, isearch-search-backward): Remove functions.
3889 (isearch-search): Don't let-bind search-spaces-regexp.
3890 (isearch-lazy-highlight-space-regexp): Remove variable.
3891 (isearch-lazy-highlight-lax-whitespace)
3892 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3893 (isearch-lazy-highlight-new-loop): Use them.
3894 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3895
af7dda05
CY
38962012-09-02 Chong Yidong <cyd@gnu.org>
3897
3898 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3899
d67d3afd
GM
39002012-09-02 Glenn Morris <rgm@gnu.org>
3901
3902 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
3903
69678719
GM
39042012-09-01 Glenn Morris <rgm@gnu.org>
3905
3906 * term.el: Tidy up menu definitions.
3907 (term-mode-map): Use easymenu for In/Out, Complete menus.
3908 (term-pager-break-map): Initialize in the defvar.
3909 (term-terminal-menu, term-signals-menu): Define with easymenu.
3910 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
3911 (term-pager-menu): New, extracted from term-process-pager.
3912 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3913 (term-update-mode-line): Propertize line/char and page items.
3914 (term-process-pager): Move keymap initialization elsewhere.
3915
78dd6ab1
MR
39162012-09-01 Martin Rudalics <rudalics@gmx.at>
3917
3918 * window.el (switch-to-prev-buffer): Handle additional values of
3919 BURY-OR-KILL argument. Don't switch in minibuffer window.
3920 (switch-to-next-buffer): Don't switch in minibuffer window.
3921 (quit-restore-window): New function based on quit-window.
3922 Handle additional values of former KILL argument.
3923 (quit-window): Call quit-restore-window with appropriate
3924 interpretation of KILL argument.
3925 (display-buffer-below-selected): New buffer display action
3926 function.
3927
3d10e134
SM
39282012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
3929
3930 * minibuffer.el (completion-at-point-functions): Complete docstring
3931 (bug#12254).
3932
0e23ef9d
PE
39332012-09-01 Paul Eggert <eggert@cs.ucla.edu>
3934
3935 Better seed support for (random).
3936 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
3937 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
3938 * play/mpuz.el, play/tetris.el, play/zone.el:
3939 * calc/calc-comb.el (math-init-random-base):
3940 * play/blackbox.el (bb-init-board):
3941 * play/life.el (life):
3942 * server.el (server-use-tcp):
3943 * type-break.el (type-break):
3944 Remove unnecessary call to (random t).
3945 * net/sasl.el (sasl-unique-id-function):
3946 Change (random t) to (random), now that the latter is more random.
3947 * play/life.el (life-initialized): Remove no-longer-needed var.
3948
862382df
MR
39492012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
3950
3951 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3952 Consider frame's buffer predicate when choosing the buffer.
3953 (Bug#12081)
3954
262a66e1
RS
39552012-08-30 Richard Stallman <rms@gnu.org>
3956
3957 * simple.el (special-mode-map): Delete binding for `z'.
3958
f17e1d00
AS
39592012-08-30 Andreas Schwab <schwab@linux-m68k.org>
3960
3961 * progmodes/compile.el (compilation-always-kill): Doc fix.
3962
24777832
CY
39632012-08-30 Chong Yidong <cyd@gnu.org>
3964
3965 * window.el (display-buffer-reuse-frames): Make the obsolescence
3966 message more informative.
3967
69ba1f04
GM
39682012-08-30 Glenn Morris <rgm@gnu.org>
3969
3970 * paren.el (show-paren-delay):
3971 Add a :set function. Doc fix. (Bug#12297)
3972
f0019ede
MB
39732012-08-29 Martin Blais <blais@furius.ca> (tiny change)
3974
3975 * progmodes/compile.el (compilation-always-kill): New var.
3976 (compilation-start): Use it.
3977
35e62fc9
SM
39782012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3979
af070a1c
SM
3980 * simple.el (read-only-mode): Move from files.el for bootstrapping.
3981 * files.el (read-only-mode): Move to simple.el.
3982
35e62fc9
SM
3983 * files.el (read-only-mode): New minor mode.
3984 (toggle-read-only): Use it and mark obsolete.
3985 (find-file--read-only):
3986 * vc/vc.el (vc-next-action, vc-checkout):
3987 * vc/vc-cvs.el (vc-cvs-checkout):
3988 * obsolete/vc-mcvs.el (vc-mcvs-update):
3989 * ffap.el (ffap--toggle-read-only): Update callers.
3990
c2c43c23
MA
39912012-08-29 Michael Albinus <michael.albinus@gmx.de>
3992
3993 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
3994 remote shell scripts.
3995 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
3996
3997 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
3998 "/usr/local/sbin".
3999
9fba804b
SM
40002012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4001
4002 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4003
eada0861 40042012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 4005
806f0cc7
LL
4006 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4007 completion-at-point. (Bug#12220)
4008
3bb213b9
LL
4009 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4010
22ab32ef
LL
4011 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4012
eada0861 40132012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 4014
19c17fc1
CY
4015 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4016 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 4017
eada0861 40182012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
4019
4020 * progmodes/hideif.el (hif-compress-define-list):
4021 Fix typo. (Bug#11951)
4022
eada0861 40232012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
4024
4025 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4026 buffer local setting.
4027
27d6c5a8
LL
4028 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4029 rcirc-encode-coding-system.
4030
eada0861 40312012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
4032
4033 * net/rcirc.el (rcirc-split-message): New function.
4034 (rcirc-send-message): Use it. (Bug#12051)
4035
d44688e4
JL
40362012-08-28 Juri Linkov <juri@jurta.org>
4037
4038 * info.el (Info-fontify-node): Hide empty lines at the end of
4039 the node. (Bug#12272)
4040
34f10d41
MR
40412012-08-27 Drew Adams <drew.adams@oracle.com>
4042
4043 * dired.el (dired-pop-to-buffer): Make window start at beginning
4044 of buffer (Bug#12281).
4045
77f1f99c
CY
40462012-08-26 Chong Yidong <cyd@gnu.org>
4047
4048 * window.el (special-display-regexps, special-display-frame-alist)
4049 (special-display-buffer-names, special-display-function)
4050 (display-buffer-reuse-frames): Mark as obsolete.
4051
4052 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4053
4054 * help.el (help-print-return-message): Don't treat
4055 display-buffer-reuse-frames specially.
4056
d97af5a0
CY
40572012-08-26 Chong Yidong <cyd@gnu.org>
4058
9fba804b
SM
4059 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4060 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
4061 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4062 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4063 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4064 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4065 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4066 the functions directly with gdb-display-buffer-other-frame-action.
4067 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4068 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4069 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4070 (gdb-display-registers-buffer): Define directly.
4071 (def-gdb-display-buffer): Macro deleted.
4072 (gdb-display-buffer): Remove second and third args, callers don't
4073 use them. Defer to the default display-buffer behavior, apart
4074 from making windows dedicated.
4075 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4076
4077 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4078
4079 * window.el (display-buffer-pop-up-frame): Handle a
4080 pop-up-frame-parameters alist entry.
4081 (display-buffer): Document it.
4082
dd7ffad6
CY
40832012-08-26 Chong Yidong <cyd@gnu.org>
4084
4085 * isearch.el (search-whitespace-regexp): Make string and nil
4086 values apply to both ordinary and regexp search. Allow a cons
4087 cell value to distinguish between the two.
4088 (isearch-whitespace-regexp, isearch-search-forward)
4089 (isearch-search-backward): New functions.
4090 (isearch-occur, isearch-search-fun-default, isearch-search)
4091 (isearch-lazy-highlight-new-loop): Use them.
4092 (isearch-forward, isearch-forward-regexp): Doc fix.
4093
4c47bd1e
CY
40942012-08-26 Chong Yidong <cyd@gnu.org>
4095
4096 * faces.el (help-argument-name): Always inherit from italic
4097 (Bug#12213).
4098
9aba119d
MR
40992012-08-25 Martin Rudalics <rudalics@gmx.at>
4100
4101 * window.el (window--even-window-heights): Even heights when
4102 WINDOW and the selected window form a vertical combination.
4103 (display-buffer-use-some-window): Provide that window used gets
4104 sized back by quit-window. (Bug#11880) and (Bug#12091)
4105
ca5256ad
PE
41062012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4107
4108 Fix file time stamp problem with bzr and CVS (Bug#12001).
4109 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4110 in the file's time stamp, since the version control system loses
4111 that information.
4112
d1c0d176
JL
41132012-08-22 Juri Linkov <juri@jurta.org>
4114
4115 * info.el (Info-fontify-node): Hide the suffix of the
4116 Info file name in the header line. (Bug#12187)
4117
141562ff
GM
41182012-08-22 Glenn Morris <rgm@gnu.org>
4119
4120 * calendar/cal-tex.el (cal-tex-weekly-common):
4121 Restore leading blank page.
4122
61a48e19 41232012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
4124
4125 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
4126 the region under `shift-select-mode'. (Bug#12231)
4127
41282012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
4129
4130 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4131 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4132 gives details on why the space is never needed.
4133
ea95074e
MR
41342012-08-22 Martin Rudalics <rudalics@gmx.at>
4135
9fba804b
SM
4136 * window.el (walk-window-tree, window-with-parameter):
4137 New optional argument MINIBUF to control whether these functions
ea95074e
MR
4138 should run on the minibuffer window.
4139 (window-at-side-list): Don't operate on minibuffer window.
4140 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
4141 (window--size-ignore): Rename to window--size-ignore-p.
4142 Update callers.
caceae25
MR
4143 (display-buffer-in-atom-window, window--major-non-side-window)
4144 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
4145 (delete-side-window, display-buffer-in-side-window):
4146 New functions.
caceae25
MR
4147 (window--side-check, window-deletable-p, delete-window)
4148 (delete-other-windows, split-window): Handle side windows and
4149 atomic windows appropriately.
4150 (window--display-buffer): Call display-buffer-record-window also
4151 when the window buffer did not change.
ea95074e 4152
80a51fa0
CS
41532012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4154
4155 * help-fns.el (help-fns--key-bindings):
4156 Abbreviate non-symbol remap targets. (Bug#12174)
4157
fbb6300b
MR
41582012-08-22 Martin Rudalics <rudalics@gmx.at>
4159
4160 * dired.el (dired-mark-remembered): Don't clobber point.
4161 (Bug#11795)
4162
2b2c0794
GM
41632012-08-22 Glenn Morris <rgm@gnu.org>
4164
4165 * progmodes/bug-reference.el (bug-reference): New custom group.
4166 (bug-reference-bug-regexp): Make it a defcustom.
4167
37219830
DU
41682012-08-22 Daiki Ueno <ueno@unixuser.org>
4169
4170 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4171 (js-paren-indent-offset, js-square-indent-offset)
4172 (js-curly-indent-offset): Add :safe (Bug#12257).
4173
94e0e559
EC
41742012-08-22 Edward O'Connor <hober0@gmail.com>
4175
4176 * json.el (json-key-format): Add error properties.
4177 (json-encode-key): New function.
4178 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4179 Use json-encode-key.
4180
da485f5e
GM
41812012-08-22 Glenn Morris <rgm@gnu.org>
4182
4183 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4184 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4185 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4186 Update for above change.
4187
c6cc78b8
AS
41882012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4189
4190 * cus-face.el (custom-face-attributes): Fix customize type for the
4191 :underline attribute. (Bug#11805)
4192
5481664a
MR
41932012-08-21 Martin Rudalics <rudalics@gmx.at>
4194
4195 * window.el (window-point-1, set-window-point-1): Remove.
4196 (window-in-direction, record-window-buffer)
4197 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
4198 (window--state-get-1, display-buffer-record-window):
4199 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
4200 window-point and set-window-point respectively.
4201
6d74698e
GM
42022012-08-21 Glenn Morris <rgm@gnu.org>
4203
b7fa2691
GM
4204 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4205 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4206 Use it.
4207
52f56d5a
GM
4208 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4209 (cal-tex-shortday): New function.
4210 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4211 (cal-tex-cursor-filofax-daily): Use the above.
4212
9f1ee09e
GM
4213 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4214 New functions.
4215 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4216 (cal-tex-cursor-filofax-week): Use them.
4217
79858159
GM
4218 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4219 New constants.
4220 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4221 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4222
d346b2b4
GM
4223 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4224 (cal-tex-end-document): Don't rely on buffer name.
4225
b2403709
GM
4226 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4227 Use cal-tex-vspace.
4228 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4229 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
4230 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4231 Use cal-tex-arg.
b2403709 4232
1cebb5c0
GM
4233 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4234 (cal-tex-cursor-week, cal-tex-cursor-week2)
4235 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4236 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4237 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4238 (cal-tex-insert-preamble, cal-tex-b-document)
4239 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4240 Improve cal-tex-cmd usage.
4241
c68cd5d4
GM
4242 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4243 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4244 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4245 (cal-tex-weekly-paper): New function.
4246 (cal-tex-cursor-week, cal-tex-cursor-week2)
4247 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4248 (cal-tex-cursor-day): Use it.
4249
9dca4801
GM
4250 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4251 (cal-tex-cursor-filofax-week): Remove leading blank page.
4252
1941e134
GM
4253 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4254 Add autoload cookie. For now at least, don't use color, since
4255 no other cal-tex function does.
4256
6d74698e
GM
4257 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4258 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4259 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4260
64cde199
JL
42612012-08-21 Juri Linkov <juri@jurta.org>
4262
4263 * info.el (Info-file-attributes): New variable.
4264 (info-insert-file-contents): Add file attributes to
4265 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
4266 `Info-toc-nodes' when previous modtime of the Info file is less
4267 than new modtime.
4268 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4269 of info.el. (Bug#12230)
4270
32757648
GM
42712012-08-20 Glenn Morris <rgm@gnu.org>
4272
4273 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4274 * calendar/holidays.el (calendar-holiday-list):
4275 Report errors with display-warning rather than beep'n'sleep.
4276
a32fbbcf
MA
42772012-08-20 Michael Albinus <michael.albinus@gmx.de>
4278
4279 * net/tramp.el (tramp-accept-process-output): Accept only output
4280 from PROC. Otherwise, process filters and sentinels might be
4281 confused. (Bug#12145)
4282
a05731a0
CY
42832012-08-20 Chong Yidong <cyd@gnu.org>
4284
4285 * descr-text.el (describe-text-properties-1): Use overlays-in to
4286 report on empty overlays (Bug#3322).
4287
36e8d1eb
GM
42882012-08-20 Glenn Morris <rgm@gnu.org>
4289
3d300447
GM
4290 * mail/rmailout.el (rmail-output-read-file-name):
4291 Trap and report errors in rmail-output-file-alist elements.
4292
36e8d1eb
GM
4293 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4294 since most non-font-lock faces are not also variables).
4295
b96e5814
ER
42962012-08-20 Edward Reingold <reingold@iit.edu>
4297
4298 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4299 New function. (Bug12160)
4300
7cef3569
GM
43012012-08-19 Glenn Morris <rgm@gnu.org>
4302
4303 * mail/rmailout.el (rmail-output-read-file-name):
4304 Fix previous change (when the alist is nil or does not match).
4305
17975d7f
CY
43062012-08-19 Chong Yidong <cyd@gnu.org>
4307
4308 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4309 (Bug#12228).
4310
2170b1bd
CY
43112012-08-18 Chong Yidong <cyd@gnu.org>
4312
4313 * simple.el (yank-handled-properties): New defcustom.
4314 (yank-excluded-properties): Add font-lock-face and category.
4315 (yank): Doc fix.
4316
9fba804b
SM
4317 * subr.el (remove-yank-excluded-properties):
4318 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
4319 and category is now done this way, instead of being hard-coded.
4320 (insert-for-yank-1): Remove font-lock-face handling.
4321 (yank-handle-font-lock-face-property)
4322 (yank-handle-category-property): New function.
4323
ee218151
GM
43242012-08-17 Glenn Morris <rgm@gnu.org>
4325
4326 * mail/rmailout.el (rmail-output-read-file-name):
4327 Check rmail-output-file-alist against the full message body
4328 in the correct rmail buffer. (Bug#12214)
4329
4a6bc3fd
MA
43302012-08-17 Michael Albinus <michael.albinus@gmx.de>
4331
9fba804b
SM
4332 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4333 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 4334
383dcbf9
CY
43352012-08-17 Chong Yidong <cyd@gnu.org>
4336
4337 * mouse.el (mouse-appearance-menu): If x-select-font returns a
4338 font spec, set the font directly (Bug#3228).
4339
998c4a6a
MR
43402012-08-17 Martin Rudalics <rudalics@gmx.at>
4341
4342 * window.el (delete-window): Fix last fix.
4343
52162052
MR
43442012-08-16 Martin Rudalics <rudalics@gmx.at>
4345
4346 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
4347 (window-child, window-child-count, window-last-child)
4348 (window-normalize-window, window-combined-p)
4349 (window-combinations, window-atom-root, window-min-size)
4350 (window-sizable, window-sizable-p, window-size-fixed-p)
4351 (window-min-delta, window-max-delta, window--resizable)
4352 (window--resizable-p, window-resizable, window-total-size)
4353 (window-full-height-p, window-full-width-p, window-body-size)
4354 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4355 (minimize-window, window-deletable-p, delete-window)
4356 (delete-other-windows, set-window-buffer-start-and-point)
4357 (next-buffer, previous-buffer, split-window, balance-windows-2)
4358 (set-window-text-height, window-buffer-height)
4359 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
4360 (truncated-partial-width-window-p): Minor code adjustments.
4361 In doc-strings state whether the argument window has to denote a
85c2386b 4362 live, valid or any window.
52162052 4363
1c308380
PS
43642012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
4365
4366 * progmodes/subword.el (subword-forward-function)
4367 (subword-backward-function, subword-forward-regexp)
4368 (subword-backward-regexp): New variables.
4369 (subword-forward, subword-forward-internal, subword-backward-internal):
4370 Use new variables, eg so that different "word" definitions
4371 can be easily used. (Bug#11411)
4372
94c9ece1
SM
43732012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4374
4375 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4376 for composite selectors.
4377 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4378 operation just because we can't find a previous revision.
4379
f2045622
CY
43802012-08-15 Chong Yidong <cyd@gnu.org>
4381
4382 * frame.el (set-frame-font): Accept font objects.
4383
582db660
SM
43842012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4387
2f29c200
WJ
43882012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
4389
456e62c2
WJ
4390 * man.el (Man-overstrike-face, Man-underline-face)
4391 (Man-reverse-face): Remove variables.
4392 (Man-overstrike, Man-underline, Man-reverse): New faces.
4393 (Man-fontify-manpage): Use them instead of the variables.
4394 (Man-cleanup-manpage): Comment change.
4395 (Man-ansi-color-map): New variable.
4396 (Man-fontify-manpage): Use it.
4397 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4398
2f29c200
WJ
4399 Implement ANSI SGR parameters 22-27 (bug#12146).
4400 * ansi-color.el (ansi-colors): Doc fix.
4401 (ansi-color-context, ansi-color-context-region): Doc fix.
4402 (ansi-color--find-face): New function.
4403 (ansi-color-apply, ansi-color-apply-on-region): Use it.
4404 Rename the local variable `face' to `codes' since it is now a list of
4405 ansi codes. Doc fix.
4406 (ansi-color-get-face): Remove.
4407 (ansi-color-parse-sequence): New function, derived from
4408 ansi-color-get-face.
4409 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
4410 codes 22-27.
4411
b4f5e9df
SM
44122012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * subr.el (read-passwd): Allow use from a minibuffer.
4415
ba025fbd
EZ
44162012-08-14 Eli Zaretskii <eliz@gnu.org>
4417
4418 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4419 inside comments and strings as identifiers.
4420
4421 * progmodes/gud.el (gud-tooltip-print-command): Quote the
4422 expression to evaluate. This allows to evaluate expressions with
4423 embedded whitespace.
4424 (gud-tooltip-tips): Add a blank before the newline in the
4425 message-box text, for the benefit of message-box emulation on
4426 MS-Windows.
4427
4428 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4429 messages from GDB, pop them up in a tooltip to give feedback to
4430 user.
b4f5e9df
SM
4431 (gdb-tooltip-print-1): Quote the expression to evaluate.
4432 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
4433 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4434 if the TTY name is nil or empty (which happens when communicating
4435 with the inferior via pipes, e.g. on MS-Windows).
4436 (gdb-internals): If GDB sends a "&\n" empty debugging message,
4437 don't send that to the GUD buffer.
4438
c548f821
GM
44392012-08-14 Glenn Morris <rgm@gnu.org>
4440
4441 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4442 Optimize away setq-default with no args, as for setq. (Bug#12195)
4443
55802e4a
CY
44442012-08-14 Chong Yidong <cyd@gnu.org>
4445
4abcdac8
CY
4446 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4447
55802e4a
CY
4448 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4449 (Bug#12085).
4450
3c3cda1a
GM
44512012-08-14 Glenn Morris <rgm@gnu.org>
4452
4453 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4454
e1873bd0
MA
44552012-08-14 Michael Albinus <michael.albinus@gmx.de>
4456
4457 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4458 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4459 Use cached shell name.
4460
925411b4
FEG
44612012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4462
4463 * progmodes/python.el (python-shell-send-string):
3c3cda1a 4464 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 4465
e636fafe
DG
44662012-08-14 Dmitry Gutov <dgutov@yandex.ru>
4467
4468 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4469 (ruby-percent-literal-beg-re): New constant.
4470 (ruby-syntax-general-delimiters-goto-beg): Rename to
4471 `ruby-syntax-enclosing-percent-literal', improve literal type check.
4472 (ruby-syntax-propertize-general-delimiters): Rename to
4473 `ruby-syntax-propertize-percent-literal', it's a shorter and more
4474 popular term. Adjust comments everywhere.
4475 (ruby-syntax-propertize-percent-literal): Only propertize when not
4476 inside a simple string or comment. When the literal is unclosed,
4477 leave the text after it unpropertized.
f063063a
DG
4478 (ruby-syntax-methods-before-regexp): New constant.
4479 (ruby-syntax-propertize-function): Use it to recognize regexps.
4480 Don't look at the text after regexp, just use the whitelist.
e636fafe 4481
e5b19827
AS
44822012-08-14 Andreas Schwab <schwab@linux-m68k.org>
4483
4484 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4485 non-nil always load the compiled file if it exists. (Bug#12197)
4486
a9f6f311
CY
44872012-08-14 Chong Yidong <cyd@gnu.org>
4488
4489 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4490 (hi-lock-set-pattern): When deciding whether to use font lock or
4491 overlays, look at font-lock-mode instead of font-lock-fontified
4492 (Bug#12168).
4493 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4494 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4495
7d806b1e
DU
44962012-08-14 Daiki Ueno <ueno@unixuser.org>
4497
4498 * subr.el (internal--after-with-selected-window): Fix typo
4499 (Bug#12193).
4500
5beed586
FEG
45012012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
4502
4503 Use `completion-table-dynamic' for completion functions.
4504 * progmodes/python.el
4505 (python-shell-completion--do-completion-at-point)
e636fafe
DG
4506 (python-shell-completion--get-completions):
4507 Remove functions.
5beed586
FEG
4508 (python-shell-completion-complete-at-point): New function.
4509 (python-completion-complete-at-point): Use it.
4510
92cb3b04
J
45112012-08-13 Jambunathan K <kjambunathan@gmail.com>
4512
4513 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4514 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4515
89660017
SM
45162012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
4517
3c98c962
SM
4518 * subr.el (function-get): Refine `autoload' arg so it can also
4519 autoload functions for gv.el (bug#12191).
4520 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4521 autoloads macros.
4522
aa7c6dbe
SM
4523 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4524 Prefer pcase-let over destructuring-bind.
4525 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4526 Also, remove whitespace as we go, rather than after accumulating the
4527 various places.
4528
89660017
SM
4529 * subr.el (internal--before-with-selected-window)
4530 (internal--after-with-selected-window): Fix typo seleted->selected.
4531 (with-selected-window): Adjust callers.
4532 Reported by Dmitry Gutov <dgutov@yandex.ru>.
4533
31cd32c9
BG
45342012-08-13 Bastien Guerry <bzg@gnu.org>
4535
0fcd3d9f 4536 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
4537 enhancement. (Bug#12172)
4538
1b15d8ad
AS
45392012-08-13 Andreas Schwab <schwab@linux-m68k.org>
4540
31e54db0
AS
4541 * tar-mode.el (tar-header-data-end): Only ignore size for files of
4542 type 1-6.
4543 (tar-header-block-summarize, tar-get-descriptor): Handle pax
4544 extended headers.
4545
1b15d8ad
AS
4546 * files.el (hack-local-variables-filter): Remove useless eval.
4547
35cb9c06
MR
45482012-08-13 Martin Rudalics <rudalics@gmx.at>
4549
4550 * subr.el (with-selected-window): Fix last change.
4551
1439443b
SM
45522012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * subr.el (internal--before-with-seleted-window)
4555 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
4556 (with-selected-window): Use them, to replace dependency on
4557 tty-top-frame.
1439443b 4558
0d9e2599
NN
45592012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
4560
4561 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4562 binding for `newline'.
4563 (ruby-move-to-block): When moving backward, stop at block opening,
4564 not indentation.
4565 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4566 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4567 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4568 `ruby-toggle-block'.
4569
ba10c48c
SM
45702012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
4571
4572 * ibuffer.el (ibuffer-do-toggle-read-only):
4573 * dired.el (dired-toggle-read-only):
4574 * buff-menu.el (Buffer-menu-toggle-read-only):
4575 * bindings.el (mode-line-toggle-read-only):
4576 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4577
9229c658
AS
45782012-08-12 Andreas Schwab <schwab@linux-m68k.org>
4579
4580 * descr-text.el (describe-char): Put the overlays over the
4581 "displayed as" character.
4582
0fd09128
JB
45832012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
4584
4585 * calc/calc-units.el (math-default-units-table): Give an
4586 initial value.
4587 (math-put-default-units): Add options to put composite units and
4588 unit systems in the default units table.
4589 (calc-convert-units): Send composite units to
4590 `math-put-default-units' when appropriate.
4591
9ff9402d 45922012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 4593
fbb5e336
GM
4594 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4595
7aacaf15
GM
4596 * tutorial.el (help-with-tutorial):
4597 * emacs-lisp/copyright.el (copyright-update-directory):
4598 * emacs-lisp/autoload.el (autoload-find-generated-file)
4599 (autoload-find-file): Disable local eval: (for insurance).
4600
f40b9f10
GM
4601 * files.el (hack-local-variables-filter): If an eval: form is not
4602 known to be safe, and enable-local-variables is :safe, then ignore
4603 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 4604 This is CVE-2012-3479.
f40b9f10 4605
daa9f1a6
SM
46062012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4607
4608 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4609 (rx-form): Simplify.
4610
9cd80478
DG
46112012-08-09 Dmitry Gutov <dgutov@yandex.ru>
4612
0d9e2599
NN
4613 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4614 ?, _, and : are symbol constituents, ! is not (but kinda should be).
4615 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4616 (ruby-syntax-propertize-function): Adjust for changes in
4617 `ruby-syntax-propertize-heredoc'.
4618
46192012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
4620
9cd80478
DG
4621 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4622 binding (use `M-;' instead).
9cd80478 4623 (ruby-singleton-class-p): New function.
0d9e2599 4624 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 4625
d301b413
SM
46262012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4627
4628 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4629
1530c98e
CY
46302012-08-10 Chong Yidong <cyd@gnu.org>
4631
4632 * progmodes/python.el (python-shell-get-process-name): Don't mess
4633 with same-window-buffer-names.
4634
4635 * eshell/eshell.el (eshell-add-to-window-buffer-names)
4636 (eshell-remove-from-window-buffer-names): Make obsolete.
4637 (eshell-buffer-name, eshell-unload-hook): Don't use them.
4638 (eshell): Just use pop-to-buffer-same-window instead.
4639
e1293765
CY
46402012-08-10 Chong Yidong <cyd@gnu.org>
4641
4642 * bindings.el: Bind M-= back to count-words-region.
4643
4644 * simple.el (count-words-region): Accept a prefix arg for acting
4645 on the entire buffer.
4646 (count-words--buffer-message): New helper function.
4647
e1894109
SM
46482012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
4649
4650 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4651 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4652 (event-start, event-end): Use posn-at-point to return a more
4653 informative posn.
4654 (posnp): New function.
4655 * mouse.el (popup-menu-normalize-position): Use it.
4656
c69f56a2
MY
46572012-08-10 Masatake YAMATO <yamato@redhat.com>
4658
4659 * mouse.el (popup-menu-normalize-position): New function.
4660 (popup-menu): Use `popup-menu-normalize-position' to normalize
4661 the form for POSITION argument.
4662
4663 * term/x-win.el (x-menu-bar-open):
4664 Use the value returend from (posn-at-point) as position
4665 passed to `popup-menu'.
4666
31673780
JB
46672012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4668
4669 * calc/calccomp.el (math-compose-expr): Add extra argument
4670 indicating that parentheses should be put around products in
4671 denominators. Give multiplication precedence over division during
4672 composition.
4673
dab7711b
CY
46742012-08-09 Chong Yidong <cyd@gnu.org>
4675
dee4ef93
CY
4676 * man.el (Man-switches, Man-sed-command, Man-awk-command)
4677 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4678 (Man-untabify-command, manual-program): Convert to defcustom
4679 (Bug#10429).
4680
73e2bbc5
CY
4681 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4682
3e861c8a
CY
4683 * descr-text.el (describe-char): Don't insert extra newlines
4684 (Bug#10127).
4685
a9f5a649
CY
4686 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4687 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4688
dab7711b
CY
4689 * align.el (align-region): Delete temporary markers (Bug#10047).
4690 Plus some code cleanups.
4691
e0cc4efa
FEG
46922012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4693
4694 * progmodes/python.el (python-pdbtrack-tracked-buffer)
4695 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4696 (python-shell-internal-last-output): Use make-local-variable
4697 instead of make-variable-buffer-local.
4698
489af14f
FEG
46992012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
4700
4701 * progmodes/python.el: Enhancements to forward-sexp.
4702 (python-nav-forward-sexp): Rename from
4703 python-nav-forward-sexp-function.
c69f56a2
MY
4704 (python-nav--forward-sexp, python-nav--backward-sexp):
4705 New functions.
489af14f 4706
0fc50303
JB
47072012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
4708
4709 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4710 modes and simplification modes.
4711
5d65606a
SM
47122012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * delsel.el (delete-selection-pre-hook): Don't propagate the
4715 file-supersession signals (bug#12161).
4716
4250fdf5
SM
47172012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
4718
4719 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4720 (cl-map-extents): Add compatibility aliases (bug#12135).
4721
d9f9b465
MA
47222012-08-08 Michael Albinus <michael.albinus@gmx.de>
4723
4724 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4725 tests by `ignore-error'.
4726 (tramp-find-shell): Open also a new shell, when cache is already
4727 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
4728
ce0fcefa
JL
47292012-08-08 Juri Linkov <juri@jurta.org>
4730
4731 * bookmark.el: Add `defaults' property to the bookmark record.
4732 (bookmark-current-buffer): Doc fix.
4733 (bookmark-make-record): Add `defaults' property with default values
4734 to the bookmark record.
4735 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4736 with `bookmark-insert-current-bookmark'.
4737 (bookmark-set): Get `defaults' property from the bookmark record
4738 and use it in `read-from-minibuffer'.
4739 (bookmark-insert-current-bookmark): Remove function.
4740
4741 * info.el (Info-bookmark-make-record): Add `defaults' property
4742 with values of canonical Info node name, the current Info file
4743 name and the current Info node name. (Bug#12107)
4744
53fa8652
JL
47452012-08-08 Juri Linkov <juri@jurta.org>
4746
4747 * files.el (basic-save-buffer): Use `buffer-name' as the default
4748 of `read-file-name' when buffer is not visiting a file (bug#12128).
4749
242c0a95
JL
47502012-08-08 Juri Linkov <juri@jurta.org>
4751
4752 * info.el (Info-isearch-search): Doc fix.
4753 (Info-search): Change search-failed message from "initial node" to
4754 "end of node" (bug#12078).
4755 (Info-isearch-search): Change `isearch-string-state' to
4756 `isearch--state-string'.
4757
32ac3a6b
GM
47582012-08-08 Glenn Morris <rgm@gnu.org>
4759
4760 * language/persian.el: Remove file.
f8c1afd5 4761 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
4762 * loadup.el: Remove language/persian.
4763
2c2d9c9c
OF
47642012-08-08 Óscar Fuentes <ofv@wanadoo.es>
4765
4766 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4767
2d79ec42
FEG
47682012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
4769
4770 * progmodes/python.el Fixed defsubst warning.
4771 (python-syntax-context) Rename from python-info-ppss-context.
4772 (python-syntax-context-type): Rename from
4773 python-info-ppss-context-type.
4774 (python-syntax-comment-or-string-p): Rename from
4775 python-info-ppss-comment-or-string-p.
4776
2bd255dd
JB
47772012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
4778
4779 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4780
c395097f
AS
47812012-08-07 Andreas Schwab <schwab@linux-m68k.org>
4782
6125983e
AS
4783 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4784 a defcustom that is quoted with backquote.
4785
4250fdf5
SM
4786 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4787 Fix handling of interactive spec when the body uses return.
651eaf36
AS
4788 (math-do-arg-check, math-define-function-body): Use backquote forms.
4789 * calc/calc-ext.el (math-defcache): Likewise.
4790 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4791 * allout.el (allout-new-exposure): Likewise.
4792 * calc/calcalg2.el (math-tracing-integral): Likewise.
4793 * info.el (Info-last-menu-item): Likewise.
4794 * emulation/vip.el (vip-loop): Likewise.
4795 * textmodes/artist.el (artist-funcall): Likewise.
4796 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4797 Construct menu-item directly.
4798
4250fdf5
SM
4799 * progmodes/autoconf.el (font-lock-syntactic-keywords):
4800 Don't declare.
c395097f 4801
5fb50dd3
CY
48022012-08-07 Chong Yidong <cyd@gnu.org>
4803
4804 * simple.el (deactivate-mark): Preserve text properties when
4805 saving the primary selection (Bug#8384).
4806
54eea618
KR
48072012-08-07 Kevin Ryde <user42@zip.com.au>
4808
4809 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4810 (woman-parse-numeric-value): On a bad .IP line, issue a warning
4811 and continue processing (Bug#12110).
4812
638eaeb9
SM
48132012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4814
4815 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4816 syntax-propertize-function (bug#10095).
4817
ea376861
SM
48182012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
4819
f91b35be
SM
4820 * help-fns.el (help-fns--key-bindings, help-fns--signature)
4821 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4822 describe-function-1.
4823 (describe-function-1): Use them. Move compiler macro after sig.
4824 (help-fns--compiler-macro): Use function-get. Assume we're already in
4825 standard-output. Adjust layout to new call order.
4826
ea376861
SM
4827 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4828 re-binding a symbol that has a symbol-macro (bug#12119).
4829
d5be7bd0
MB
48302012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
4831
4832 * language/persian.el: New file. (Bug#11812)
4833 * loadup.el: Add language/persian.el.
4834
90749b53
CY
48352012-08-06 Chong Yidong <cyd@gnu.org>
4836
4837 * window.el (window--maybe-raise-frame): New function.
4838 (window--display-buffer): Split off from here.
4839 (display-buffer-reuse-window, display-buffer-pop-up-frame)
4840 (display-buffer-pop-up-window, display-buffer-use-some-window):
4841 Obey an inhibit-switch-frame action alist entry.
4842 (display-buffer): Update doc.
4843
4844 * replace.el (occur-after-change-function): Avoid losing focus by
4845 using the inhibit-switch-frame display parameter (Bug#12139).
4846
ba7b0154
FEG
48472012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
4848
4849 Make internal shell process buffer names start with space.
4850 * progmodes/python.el (python-shell-make-comint): Add optional
4851 argument INTERNAL.
4852 (run-python-internal): Use it.
4853 (python-shell-internal-get-or-create-process): Check for new
4854 internal buffer names.
4855
5eaeacb5
GM
48562012-08-06 Glenn Morris <rgm@gnu.org>
4857
e296d94b 4858 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
4859 Do less getting and setting of environment variables.
4860
b7ccbdc2
CY
48612012-08-05 Chong Yidong <cyd@gnu.org>
4862
777fe95e
CY
4863 * proced.el (proced): Add substitution string to docstring to
4864 trigger autoloading of the proced library on C-h f (Bug#1768).
4865
4250fdf5
SM
4866 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4867 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
4868
4869 * imenu.el (imenu-generic-expression): Move documentation here
4870 from imenu--generic-function.
4871 (imenu--generic-function): Refer to imenu-generic-expression.
4872
9e3b7800 48732012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
4874
4875 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4876 indentation declaration.
4877 (viper-loop): Add indentation declaration (Bug#7025).
4878
e5d9c0d1
CY
48792012-08-05 Chong Yidong <cyd@gnu.org>
4880
f0422feb
CY
4881 * help-fns.el (describe-variable): Add hyperlink for
4882 directory-local variables files. Improve buffer-local and
4883 permanent-local reporting; suggested by MON KEY (Bug#6644).
4884
4885 * help-mode.el (help-dir-local-var-def): New button type.
4886
e5d9c0d1
CY
4887 * files.el (kill-buffer-hook): Provide a defvar.
4888
a4f2deaa
GM
48892012-08-05 Glenn Morris <rgm@gnu.org>
4890
4891 * eshell/esh-ext.el (eshell/addpath):
4892 Also update eshell-path-env. (Bug#12013)
4893
a9dd5754
CY
48942012-08-05 Chong Yidong <cyd@gnu.org>
4895
a4f2deaa 4896 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 4897
d014c740
CY
4898 * fringe.el (fringe-styles): Add docstring.
4899 (fringe--check-mode): New function.
4900 (set-fringe-mode, set-fringe-style): Use it.
4901 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4902
a9dd5754
CY
4903 * files.el (set-auto-mode): Fix invalid setq call.
4904
7c2dc8bd
SM
49052012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4906
4907 * isearch.el: Misc simplification; use defstruct.
4908 (isearch-mode-map): Dense maps now work like sparse ones.
4909 (isearch--state): New defstruct.
4910 (isearch-string-state, isearch-message-state, isearch-point-state)
4911 (isearch-success-state, isearch-forward-state)
4912 (isearch-other-end-state, isearch-word-state, isearch-error-state)
4913 (isearch-wrapped-state, isearch-barrier-state)
4914 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4915 replaced by defstruct's accessors.
4916 (isearch--set-state): Rename from isearch-top-state and change
4917 calling convention.
4918 (isearch-push-state): Use new isearch--get-state.
4919 (isearch-toggle-word): Disable regexp when enabling word.
4920 (isearch-message-prefix): Remove unused arg _c-q-hack.
4921 (isearch-message-suffix): Remove unused arg _ellipsis.
4922
7fcc0070
AS
49232012-08-04 Andreas Schwab <schwab@linux-m68k.org>
4924
4925 * simple.el (list-processes--refresh): For a server use :host or
4926 :local as the address.
97ad0769 4927 (list-processes): Doc fix.
7fcc0070 4928
a11035b8 49292012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
4930
4931 * lisp/mpc.el: Support password in host argument.
4932 (mpc--proc-connect): Parse and use new password element.
4933 Set mpc-proc variable instead of returning process.
4934 (mpc-proc): Adjust accordingly.
4935
6dad7178
EZ
49362012-08-03 Eli Zaretskii <eliz@gnu.org>
4937
18949c2f
EZ
4938 * whitespace.el (whitespace-display-mappings): Use Unicode
4939 codepoints, instead of emacs-mule codepoints. See
4940 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
4941 for the details.
4942
6dad7178
EZ
4943 * files.el (file-truename): Don't skip symlink-chasing part on
4944 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
4945 Windows into the loop that recursively chases symlinks.
4946 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
4947 MS-DOS.
4948
385b0198
CY
49492012-08-03 Chong Yidong <cyd@gnu.org>
4950
6200f3c4
CY
4951 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
4952
385b0198
CY
4953 * sort.el (sort-regexp-fields): Doc fix.
4954
b9e74744
TH
49552012-08-03 Tassilo Horn <tsdh@gnu.org>
4956
4957 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
4958 labels regex position point at the expected place.
4959
41013cb4
MK
49602012-08-03 MON KEY <monkey@sandpframing.com>
4961
4962 * net/imap.el (imap-interactive-login, imap-authenticate)
4963 (imap-mailbox-lsub, imap-mailbox-list)
4964 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
4965 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
4966 (imap-parse-response): Doc fix.
4967
0ffee616
JT
49682012-08-03 João Távora <joaotavora@gmail.com>
4969
4970 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
4971 if sexp scanning does not move point (Bug#5734).
4972
cfcc9cc8
TH
49732012-08-02 Tassilo Horn <tsdh@gnu.org>
4974
4975 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
4976 Add listings, minted, and ctable packages.
4977 (reftex-label-alist-builtin): Move listings, minted, and ctable
4978 entries before LaTeX.
a01bbb84 4979 (reftex-label-alist): Docfix.
cfcc9cc8 4980
66ec2442
BG
49812012-08-02 Bastien Guerry <bzg@gnu.org>
4982
4983 * replace.el (occur): Fix docstring (bug#12122).
4984
837b365b
GM
49852012-08-02 Glenn Morris <rgm@gnu.org>
4986
4987 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
4988
e098de97
PE
49892012-08-02 Paul Eggert <eggert@cs.ucla.edu>
4990
4991 Obsolete alias inactivate-current-input-method-function (Bug#10150).
4992 * international/mule-cmds.el: Create
4993 inactivate-current-input-method-function as an obsolete alias for
4994 deactivate-current-input-method-function. See Katsumi Yamaoka in
4995 <http://bugs.gnu.org/10150#46>.
4996
a0f95636
JB
49972012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
4998
4999 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5000 of nested `if's.
5001
0d26d7c4
GM
50022012-08-01 Glenn Morris <rgm@gnu.org>
5003
5004 * progmodes/autoconf.el (autoconf-definition-regexp):
5005 Add AH_TEMPLATE, adjust submatch numbering.
5006 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5007 (autoconf-current-defun-function): Update for above change.
5008 (autoconf-current-defun-function): First skip to end of current word.
5009
b686ba06
RS
50102012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5011
5012 * calendar/cal-html.el (cal-html-insert-agenda-days):
5013 Fix typo. (Bug#12018)
5014
0d49da68
FEG
50152012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5016
5017 Shell processes: enhancements to startup and CEDET compatibility.
5018 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5019 (python-shell-make-comint): accept-process-output at startup.
5020 (run-python-internal): Set inferior-python-mode-hook to nil.
5021 (python-shell-internal-get-or-create-process): call sit-for.
5022 (python-preoutput-result): Add obsolete alias.
5023 (python-shell-internal-send-string): Use it.
5024 (python-shell-send-setup-code): Remove call to
5025 accept-process-output.
5026
f1a71c6e
AS
50272012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5028
5029 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5030 (Bug#12108)
5031
d2605269
JB
50322012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5033
5034 * calc-mode.el (calc-basic-simplification-mode): Rename from
5035 `calc-limited-simplification-mode'.
5036 (calc-alg-simplification-mode): New function.
fc0c31f8 5037 (calc-set-simplify-mode): Adjust message.
f1a71c6e 5038
d2605269
JB
5039 * calc.el (calc-set-mode-line): Adjust mode line display for
5040 basic simplification mode.
5041
5042 * calc-help.el (calc-m-prefix-help): Update help message.
5043
5044 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5045 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5046
a3827a43
BG
50472012-07-31 Bastien Guerry <bzg@gnu.org>
5048
5049 * man.el (man): Fix comment. (bug#12101)
5050
502e3f89
MR
50512012-07-31 Martin Rudalics <rudalics@gmx.at>
5052
5053 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5054 Don't return a non-nil value when no suitable buffer was found.
5055
d7714961
FEG
50562012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5057
5058 * progmodes/python.el (run-python-internal): Disable font lock for
5059 internal shells.
5060
1f45e27e
SM
50612012-07-30 Stefan Merten <smerten@oekonux.de>
5062
70efc5c9 5063 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
5064 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5065 (rst-official-version, rst-official-cvs-rev)
5066 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5067 (rst-mode-map): New key binding.
5068
0aee6912
PE
50692012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5070
5071 Update .PHONY listings in makefiles.
5072 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5073 autoloads, update-subdirs, updates, bzr-update, update-authors,
5074 compile-onefile, compile-calc, backup-compiled-files,
5075 compile-after-backup, compile-one-process, mh-autoloads,
5076 bootstrap-clean, distclean, maintainer-clean.
5077
9052f9f0
JB
50782012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5079
1823ac5a
JB
5080 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5081 (calc-set-mode-line): Don't display "AlgSimp ".
5082
5083 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5084 (calc-lim-simplify-mode): New function.
5085 (calc-set-simplify-mode): Default to 'alg.
5086 (calc-default-simplify-mode): Make algebraic simplifications
5087 the default.
5088
5089 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5090 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5091
8d7c7eed 5092 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
5093 indicate new simplification modes.
5094
1823ac5a
JB
5095 * calc/README: Mention new default simplification mode.
5096
9052f9f0
JB
5097 * calc/calc.el (math-normalize-error): New variable.
5098 (math-normalize): Set `math-normalize-error' to t
5099 when there's an error.
5100
5101 * calc/calc-alg.el (math-simplify): Don't simplify when
5102 `math-normalize' returns an error.
5103
20ba0cb4
EZ
51042012-07-29 Eli Zaretskii <eliz@gnu.org>
5105
5106 * international/mule-cmds.el (set-locale-environment): Revert last
5107 change, since display-graphic-p returns nil when this function is
5108 called during startup. Instead...
5109
5110 * term/w32console.el (terminal-init-w32console): ...setup the
5111 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5112
a5dcc929
JL
51132012-07-29 Juri Linkov <juri@jurta.org>
5114
5115 * simple.el (goto-line): Don't display default line number in the
5116 prompt because it should be displayed by `read-number' (bug#9952).
5117 Add the current line number to the defaults of `goto-line' to
5118 allow its easier modification by users with `M-n' (bug#9201).
5119
5120 * subr.el (read-number): Support multiple default values like in
5121 other minibuffer reading functions. Replace `read' with
5122 `string-to-number' for consistency with `number-to-string'.
5123
72b255c7
PE
51242012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5125
5126 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5127 * emulation/viper-init.el (viper-deactivate-input-method-action):
5128 Rename from viper-inactivate-input-method-action.
5129 (viper-deactivate-input-method):
5130 Rename from viper-inactivate-input-method.
5131 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5132 * international/mule-cmds.el (deactivate-input-method):
5133 Rename from inactivate-input-method.
5134 Also run input-method-deactivate-hook.
5135 (deactivate-current-input-method-function):
5136 Rename from inactivate-current-input-method-function.
5137 (input-method-deactivate-hook): New hook.
5138 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
5139 (inactivate-input-method): Mark obsolete.
5140
72b255c7
PE
5141 * international/quail.el (quail-activate):
5142 Also run quail-deactivate-hook.
5143 (quail-deactivate): Rename from quail-inactivate.
5144 * international/robin.el (robin-activate):
5145 Also run robin-deactivate-hook.
5146 (robin-deactivate): Rename from robin-inactivate.
5147
2549c068
CY
51482012-07-29 Chong Yidong <cyd@gnu.org>
5149
5150 * simple.el (indicate-copied-region): New function.
5151 (kill-ring-save): Split off from here.
5152
5153 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5154 (kill-rectangle): Set deactivate-mark to t on read-only error.
5155
5156 * register.el (copy-to-register, copy-rectangle-to-register):
5157 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
5158 (append-to-register, prepend-to-register): Call indicate-copied-region.
5159
51602012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
5161
5162 * simple.el (async-shell-command-buffer): New defcustom.
5163 (shell-command): Use it. (Bug#4719)
5164
01bd1b0d
EZ
51652012-07-28 Eli Zaretskii <eliz@gnu.org>
5166
5167 * international/mule-cmds.el (set-locale-environment): In a
5168 console session on MS-Windows, set up keyboard and terminal
5169 encoding from the OEM codepage, not the ANSI codepage.
5170 (Bug#12055)
5171
a55739d3
CY
51722012-07-28 Chong Yidong <cyd@gnu.org>
5173
5174 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5175 gdb-get-location.
5176
0e1a094f 51772012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
5178
5179 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5180 the alist (bug#12029).
5181
20329d73
EZ
51822012-07-28 Eli Zaretskii <eliz@gnu.org>
5183
5184 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5185 (compile-always, compile-first)
5186 ($(lisp)/calendar/cal-loaddefs.el)
5187 ($(lisp)/calendar/diary-loaddefs.el)
5188 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5189 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5190 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5191 instead of on update-subdirs.
5192 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5193
345a2258
CY
51942012-07-28 Chong Yidong <cyd@gnu.org>
5195
1eee6341
CY
5196 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5197 directory if vc-deduce-backend returns nil (Bug#7350).
5198
345a2258
CY
5199 * simple.el (delete-trailing-lines): New option.
5200 (delete-trailing-whitespace): Obey it (Bug#11879).
5201
049a0936
DE
52022012-07-28 David Engster <deng@randomsample.de>
5203
5204 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5205 Explanation of new 'symbol-qnames feature in doc-strings.
5206 (xml-maybe-do-ns): Return expanded names as plain symbols if
5207 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5208 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5209
aa81af71
FEG
52102012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5211
5212 Consistent completion in inferior python with emacs -nw.
5213 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5214 binding in inferior-python-mode-map with "\t".
5215 (python-shell-completion-complete-at-point)
5216 (python-completion-complete-at-point): Remove interactive spec.
5217
e827b1eb
JB
52182012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5219
5220 * calc/calccomp.el (math-compose-expr): Undo previous change.
5221
a90dfb95
FEG
52222012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5223
4250fdf5 5224 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
5225 run-python.
5226 (python-shell-make-comint): Fix pop-to-buffer call.
5227 (run-python): Autoload. New arg SHOW.
5228 (python-shell-get-or-create-process): Do not pop python process
5229 buffer.
5230
32770973 52312012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
5232
5233 * notifications.el (notifications-on-action-signal)
5234 (notifications-on-closed-signal): Use also the bus address for the map.
5235 (notifications-notify, notifications-close-notification)
fc0c31f8 5236 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 5237
86332df2
TH
52382012-07-27 Tassilo Horn <tsdh@gnu.org>
5239
4250fdf5
SM
5240 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5241 Add support for the lstlisting and minted environments, and for the
86332df2
TH
5242 ctable macro.
5243 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5244 labels written in keyvals syntax.
5245
ca1302a4
JB
52462012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5247
5248 * calc/calccomp.el (math-compose-expr): Use parentheses when
5249 there is a product in the denominator of a fraction.
5250
f8b91036
EZ
52512012-07-26 Eli Zaretskii <eliz@gnu.org>
5252
5253 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5254 ($(lisp)/calendar/diary-loaddefs.el)
5255 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
5256 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5257 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
5258 rewritten while the autoload files are built at the same time,
5259 which needs to load subdirs.el.
5260
c8e5a42c
MR
52612012-07-26 Martin Rudalics <rudalics@gmx.at>
5262
5263 * mouse.el (popup-menu): Fix doc-string and re-indent code.
5264 (mouse-drag-line): Don't exit tracking when a switch-frame or
5265 switch-window event occurs (Bug#12006).
5266
670d85ea
SM
52672012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * mouse.el (popup-menu): Fix last change.
5270
7abaf5cc
SM
52712012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
5272
5273 Autoload from Lisp with more care. Follow aliases when looking for
5274 function properties.
5275 * subr.el (autoloadp): New function.
5276 (symbol-file): Use it.
5277 (function-get): New function.
5278 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5279 autoload-do-load.
5280 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5281 (lisp-indent-function):
5282 * emacs-lisp/gv.el (gv-get):
5283 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5284 * emacs-lisp/byte-opt.el (byte-optimize-form):
5285 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5286 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5287 Use function-get.
5288 * emacs-lisp/cl.el: Don't propagate function properties any more.
5289
5290 * speedbar.el (speedbar-add-localized-speedbar-support):
5291 * emacs-lisp/disass.el (disassemble-internal):
5292 * desktop.el (desktop-load-file):
5293 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5294 (describe-function-1):
5295 * emacs-lisp/find-func.el (find-function-noselect):
5296 * emacs-lisp/elp.el (elp-instrument-function):
5297 * emacs-lisp/advice.el (ad-has-proper-definition):
5298 * apropos.el (apropos-safe-documentation, apropos-macrop):
5299 * emacs-lisp/debug.el (debug-on-entry):
5300 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5301 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5302 * calc/calc.el (name): Use autoloadp & autoload-do-load.
5303
b1364986
AA
53042012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
5305
5306 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5307 function, not an obsolete variable (Bug#12046).
5308
67ada220
AS
53092012-07-25 Andreas Schwab <schwab@linux-m68k.org>
5310
5311 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
5312
f08088e3
CS
53132012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
5314
5315 * emacs-lisp/pp.el (pp-display-expression): Select old selected
5316 window only if it is still live (Bug#12034).
5317
8137e7b3
MR
53182012-07-25 Martin Rudalics <rudalics@gmx.at>
5319
5320 * subr.el (redirect-frame-focus): Add advertised calling
5321 convention (Bug#12030).
5322
09ae5da1
PE
53232012-07-25 Paul Eggert <eggert@cs.ucla.edu>
5324
5325 Prefer typical American spelling for "acknowledgment".
5326 * vc/add-log.el (change-log-acknowledgment): Rename from
5327 change-log-acknowledgement, with an alias for the old name.
5328
3cc5a3a8
JB
53292012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
5330
5331 * calc-alg.el (math-simplify-divide): Don't cross multiply
5332 in an equation when the lhs is a variable.
5333
b7af7f62
JD
53342012-07-24 Julien Danjou <julien@danjou.info>
5335
5336 * net/netrc.el (netrc-find-service-number, netrc-store-data):
5337 Remove, unused.
5338
ec1b09b1
EZ
53392012-07-23 Eli Zaretskii <eliz@gnu.org>
5340
5341 * startup.el (command-line): Don't display an empty user name in
5342 the error message about non-existent home directory, when
5343 init-file-user was set to an empty string. See
5344 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5345 for the details and context.
5346
b525fd8a
VB
53472012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
5348
5349 * ses.el (ses-cell-formula-aset): New macro.
5350 (ses-cell-references-aset): New macro.
5351 (ses-cell-p): New function.
5352 (ses-rename-cell): Do no longer rely on complex operations like
5353 ses-cell-set-formula or ses-set-cell to change the cell and handle
5354 the undo at the same time, but rather use lower level new macros
5355 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 5356 the undo directly. Refresh the mode line.
b525fd8a 5357
2c73e345
LL
53582012-07-21 Leo Liu <sdl.web@gmail.com>
5359
670d85ea
SM
5360 * progmodes/cc-cmds.el (c-defun-name):
5361 Use match-string-no-properties instead for consistency.
2c73e345 5362
542dfbde
LL
53632012-07-20 Leo Liu <sdl.web@gmail.com>
5364
3646bcd6
LL
5365 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5366 (Bug#7879)
5367
542dfbde
LL
5368 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5369
25721031
CY
53702012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
5371
5372 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5373 * progmodes/bug-reference.el, misearch.el: Provide themselves
5374 (bug#11915).
5375
5376 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5377 of narrowed buffer (bug#11966).
5378
316e68a7
VB
53792012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
5380
5381 * ses.el (ses-rename-cell): Set new name also in reference list of
5382 cells of which the renamed cell depends.
5383
bbf0e7d9
MY
53842012-07-20 Masatake YAMATO <yamato@redhat.com>
5385
5386 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5387 to check whether menu-bar is shown or not. If not shown,
5388 show the menu-bar as a popup menu instead of using tmm.
5389 * mouse.el (popup-menu): Accept `point' as `position' argument.
5390
c28662a8
DG
53912012-07-20 Dmitry Gutov <dgutov@yandex.ru>
5392
5393 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5394 up inside string symbol literal (bug#11923).
5395
87ab808f
EZ
53962012-07-20 Eli Zaretskii <eliz@gnu.org>
5397
5398 * startup.el (fancy-startup-text): Read the whole tutorial, not
5399 just its first 256 bytes. Prevents gibberish in display of the
5400 tutorial title.
5401
89dea803
DA
54022012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
5403
5404 Drop idle buffer compaction due to an absence of the
5405 proved efficiency.
5406 * compact.el: Remove.
5407
8a4e6db8
SS
54082012-07-19 Sam Steingold <sds@gnu.org>
5409
5410 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5411 vc-bzr-pull & vc-bzr-merge-branch.
5412 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5413 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5414 for consistency with compilation-error-regexp-alist.
5415 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5416 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5417 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5418 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5419
5db81e33
SM
54202012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/chart.el: Use lexical-binding.
5423 (chart-emacs-storage): Don't hardcode the list of entries.
5424
5b835e1d
DA
54252012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5426
5427 Next round of tweaks caused by Fgarbage_collect changes.
5428 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5429
9cd47b72
DA
54302012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
5431
5432 Compact buffers when idle.
5433 * compact.el: New file.
5434
1d6fc0df
SM
54352012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
5436
5437 * subr.el (eventp): Presume that if it looks vaguely like an event,
5438 it's an event (bug#10190).
5439
1d29cc7d
FEG
54402012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
5441
5442 Enhancements to ppss related code (thanks Stefan).
5443 * progmodes/python.el (python-indent-context)
5444 (python-indent-calculate-indentation, python-indent-dedent-line)
5445 (python-indent-electric-colon, python-nav-forward-block)
5446 (python-mode-abbrev-table)
1d6fc0df 5447 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
5448 for ppss context.
5449 (python-info-continuation-line-p): Cleanup.
5450 (python-info-ppss-context): Do not catch 'quote.
5451 (python-info-ppss-context-type)
5452 (python-info-ppss-comment-or-string-p): Simplify.
5453
d583cbe6
FEG
54542012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
5455
5456 * progmodes/python.el: Enhancements to eldoc support.
5457 (python-info-current-symbol): New function.
5458 (python-eldoc-at-point): Use python-info-current-symbol.
5459 (python-info-current-defun): Fix cornercase on first defun scan.
5460 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5461 and signal error when no inferior python process is available.
5462
eceb6feb
DG
54632012-07-18 Dmitry Gutov <dgutov@yandex.ru>
5464
5465 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5466 assume it's always t.
5467 (vc-git-registered): Remove caching, the function is only called
5468 once.
5469 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5470
4c8ff0fe
CY
54712012-07-18 Chong Yidong <cyd@gnu.org>
5472
19fb7186
CY
5473 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5474
9587c688
CY
5475 * simple.el (count-words): Report on narrowing (Bug#9959).
5476
0fe776a1
CY
5477 * bindings.el: Bind M-= to count-words.
5478
4c8ff0fe
CY
5479 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5480
7f5331cc
MY
54812012-07-18 Masatake YAMATO <yamato@redhat.com>
5482
5483 * progmodes/sh-script.el (sh-imenu-generic-expression):
5484 Capture a function with `function' keyword and without parentheses
5485 like "function FOO" (bug#11856).
5486
2dc2a609
TH
54872012-07-18 Tassilo Horn <tassilo@member.fsf.org>
5488
5489 * window.el (split-window-sensibly): Make WINDOW argument
5490 optional.
5491
439f7677
CY
54922012-07-18 Chong Yidong <cyd@gnu.org>
5493
9aeb25a6
CY
5494 * subr.el (keyboard-translate): Doc fix (Bug#7261).
5495
439f7677
CY
5496 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5497 and make C-x 8 RET exit isearch (Bug#11439).
5498
5499 * international/iso-transl.el: Move isearch-mode-map key
5500 definitions to isearch.el.
5501
12999ea8
SM
55022012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
5503
5504 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5505 (eieio-defclass): Use gv-define-setter when possible.
5506
3ab6e069
DA
55072012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
5508
5509 Reflect recent changes in Fgarbage_collect.
5510 * emacs-lisp/chart.el (chart-emacs-storage): Change to
5511 reflect new format of data returned by Fgarbage_collect.
5512
0a60bc10
FEG
55132012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5514
5515 New utility functions + python-info-ppss-context fix (Bug#11910).
5516 * progmodes/python.el (python-info-beginning-of-block-statement-p)
5517 (python-info-ppss-comment-or-string-p): New functions.
5518 (python-info-ppss-context): Small fix for string check.
5519
6dafa0d5
JL
55202012-07-17 Juri Linkov <juri@jurta.org>
5521
5522 * dired-aux.el (dired-do-async-shell-command): Doc fix.
5523 (dired-do-async-shell-command): Don't add `*' at the end of the
5524 command (Bug#11815).
5525 (dired-do-shell-command): Doc fix.
5526 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5527 Join the individual commands using either "&" or ";" as the
5528 separator depending on the values of these trailing characters.
5529 At the end re-add the trailing "&". (Bug#10598)
5530
5531 * simple.el (async-shell-command): Sync the interactive spec with
5532 `shell-command'. Doc fix.
5533 (shell-command): Doc fix.
5534
b19dd9d1
JL
55352012-07-17 Juri Linkov <juri@jurta.org>
5536
5537 * descr-text.el (describe-char): Fix format args. (Bug#10129)
5538
bcdc27d7 55392012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 5540
bcdc27d7 5541 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
5542 * progmodes/python.el (python-nav-beginning-of-statement):
5543 Rename from python-nav-statement-start.
bcdc27d7
FEG
5544 (python-nav-end-of-statement): Rename from
5545 python-nav-statement-end.
5546 (python-nav-beginning-of-block): Rename from
5547 python-nav-block-start.
5548 (python-nav-end-of-block): Rename from python-nav-block-end.
5549
191da00e
FEG
55502012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
5551
7f5331cc
MY
5552 * progmodes/python.el (python-shell-send-string-no-output):
5553 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
5554 future interactions (Bug#11868).
5555
4dc7c8d5 55562012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 5557
88ecaf8f
SM
5558 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5559
ef501ef0
SM
5560 * emacs-lisp/elint.el (elint-find-args-in-code):
5561 Use help-function-arglist, so as to handle lexical byte-code.
5562
aa7aaf8f
SM
5563 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5564 change (bug#11826).
5565
45fd731c
SM
55662012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
5567
2143fa32
SM
5568 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5569 Avoid spuriously marking the buffer as modified because of c-is-sws.
5570
efc26dbe
SM
5571 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5572 as not-a-comment (bug#11946).
5573
f5695c9a
SM
5574 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5575 for uninterned vars.
5576
5577 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5578 Use read-event since we don't really want to read chars but bytes.
5579
45fd731c
SM
5580 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5581 $$..$$ but also $..$ using regexps (bug#11953).
5582 Use tex-verbatim for \url and \path.
5583 (tex-font-lock-keywords): Define as defconst like the others.
5584 (tex-common-initialization): Don't use font-lock-syntax-table any more.
5585
ddfc8813
RK
55862012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
5587
5588 * international/mule-cmds.el (ucs-insert): Make it an obsolete
5589 alias for insert-char.
5590
758e556a
FEG
55912012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5592
5593 * progmodes/python.el: Simplified imenu implementation.
5594 (python-nav-jump-to-defun): Remove command.
5595 (python-mode-map): Use `imenu' instead.
5596 (python-nav-list-defun-positions-cache)
5597 (python-imenu-include-defun-type, python-imenu-make-tree)
5598 (python-imenu-subtree-root-label, python-imenu-index-alist):
5599 Remove vars.
5600 (python-nav-list-defun-positions, python-nav-read-defun)
5601 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
5602 (python-imenu-make-tree, python-imenu-create-index):
5603 Remove functions.
758e556a
FEG
5604 (python-mode): Update to interact with imenu by setting
5605 `imenu-extract-index-name-function' only.
5606
032d23ab
FEG
56072012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
5608
5609 * progmodes/python.el: Enhancements to navigation commands.
5610 (python-nav-backward-sentence)
5611 (python-nav-forward-sentence): Remove.
5612 (python-nav-backward-statement, python-nav-forward-statement)
5613 (python-nav-statement-start, python-nav-statement-end)
5614 (python-nav-backward-block, python-nav-forward-block)
5615 (python-nav-block-start, python-nav-block-end)
5616 (python-nav-forward-sexp-function)
5617 (python-info-current-line-comment-p)
5618 (python-info-current-line-empty-p): New functions.
5619 (python-indent-context): Use `python-nav-statement-start'.
5620
01795a1b
MA
56212012-07-16 Michael Albinus <michael.albinus@gmx.de>
5622
9328d9aa
MA
5623 * eshell/em-ls.el (eshell/ls): Use `apply'.
5624
5625 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5626 multi-hops, instead of Tramp internals.
5627
01795a1b
MA
5628 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5629
5630 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5631 when F1 and F2 are located on different hosts.
5632
63408057
CY
56332012-07-14 Chong Yidong <cyd@gnu.org>
5634
5635 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5636 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5637 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5638 (xterm-mouse--read-event-sequence-1000)
5639 (xterm-mouse--read-event-sequence-1006): New functions. For old
5640 mouse protocol, handle M-mouse-X events correctly.
5641 (xterm-mouse-event): New arg specifying mouse protocol.
5642 (turn-on-xterm-mouse-tracking-on-terminal)
5643 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
5644 sequence to toggle extended coordinates on newer XTerms.
5645 This appears to be harmless on terminals which do not support this.
63408057 5646
cd276f6e
LL
56472012-07-14 Leo Liu <sdl.web@gmail.com>
5648
28ca98ac
LL
5649 Add fringe bitmap indicators for flymake. (Bug#11253)
5650 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5651 (flymake-make-overlay): New arg BITMAP.
5652 (flymake-error-bitmap, flymake-warning-bitmap)
5653 (flymake-fringe-indicator-position): New user variables.
5654
cd276f6e
LL
5655 * fringe.el: New bitmap exclamation-mark.
5656
04408072
JD
56572012-07-14 Jan Djärv <jan.h.d@swipnet.se>
5658
5659 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5660 also (Bug#7879).
5661
b5cf7fc4
CY
56622012-07-14 Chong Yidong <cyd@gnu.org>
5663
5664 * electric.el (electric-pair-post-self-insert-function): Fix pair
5665 insertion in empty-region case (Bug#11520).
5666
be755c79
RT
56672012-07-14 Chong Yidong <cyd@gnu.org>
5668
45fd731c
SM
5669 * bindings.el: Consolidate ctl-x-r-map bindings.
5670 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
5671
5672 * rect.el, register.el: Move bindings to bindings.el.
5673
56742012-07-14 Reuben Thomas <rrt@sc3d.org>
5675
5676 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5677
7f5b3198
AS
56782012-07-13 Andreas Schwab <schwab@linux-m68k.org>
5679
5680 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
5681
97662200
JB
56822012-07-13 Juanma Barranquero <lekktu@gmail.com>
5683
80185fed
JB
5684 * bindings.el (top): Use `mapc' instead of `mapcar'.
5685
97662200
JB
5686 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5687
2bb1ae55
MA
56882012-07-13 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * progmodes/sql.el (sql-comint): Suppress the check for program on
5691 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
5692 (Bug#11908)
5693
dea31bd3
CY
56942012-07-13 Chong Yidong <cyd@gnu.org>
5695
5696 * bindings.el: Assign a non-nil permanent-local property to
5697 per-buffer variables which lack a default value (Bug#11930).
5698
5699 * help-fns.el (describe-variable): In the "automatically becomes
5700 local" notice, take note of permanent-local variables.
5701
b68b3337
CY
57022012-07-13 Chong Yidong <cyd@gnu.org>
5703
5704 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
5705 to allow printing the message when called from Lisp.
5706
5707 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5708 Remove toggle-read-only.
5709
5710 * bs.el (bs-toggle-readonly):
45fd731c
SM
5711 * buff-menu.el (Buffer-menu-toggle-read-only):
5712 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
5713
5714 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5715 Remove with-no-warnings around toggle-read-only.
5716 (ffap-read-only, ffap-read-only-other-window)
5717 (ffap-read-only-other-frame): Callers changed.
5718
5719 * help-mode.el: Don't require view package.
5720 (help-mode-finish): Set buffer-read-only instead of calling
5721 toggle-read-only.
5722
5723 * bindings.el (mode-line-toggle-read-only):
5724 * dired.el (dired-toggle-read-only):
5725 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5726 with non-nil second arg.
5727
5728 * emacs-lisp/eieio-custom.el (eieio-customize-object):
5729 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5730 directly.
5731
56bc1586
EZ
57322012-07-12 Eli Zaretskii <eliz@gnu.org>
5733
5734 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5735 not incf.
5736
a464a6c7
SM
57372012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 More CL cleanups and reduction of use of cl.el.
5740 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5741 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5742 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5743 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5744 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5745 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5746 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5747 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5748 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5749 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5750 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5751 * eshell/em-cmpl.el, eshell/em-banner.el:
5752 * calendar/parse-time.el: Use cl-lib.
5753 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5754 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5755 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5756 * term/ns-win.el, term.el, shell.el, ps-samp.el:
5757 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5758 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5759 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5760 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5761 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5762 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5763 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5764 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5765 `lambda' rather than with `quote'.
5766 (eshell-do-opt): Adjust accordingly.
5767 (eshell-process-option): Simplify.
5768 * eshell/esh-var.el:
5769 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5770 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5771 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5772 to `pcase--dontcare'.
5773 * emacs-lisp/cl.el (labels): Mark obsolete.
5774 (cl--letf, letf): Move to cl-lib.
5775 (cl--letf*, letf*): Remove.
5776 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5777 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5778 (cl-progv): Rewrite.
5779 (cl--letf, cl-letf): Move from cl.el.
5780 (cl-letf*): New macro.
5781 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5782
7ad4afe1
MA
57832012-07-11 Michael Albinus <michael.albinus@gmx.de>
5784
5785 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5786
9af57756
CY
57872012-07-11 Chong Yidong <cyd@gnu.org>
5788
5789 * vc/log-edit.el (log-edit-vc-backend): New variable.
5790 (log-edit): Doc fix.
5791
5792 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
5793 argument of log-edit to set up all local variables.
5794 (vc-start-logentry): New optional arg specifying VC backend.
5795
5796 * vc/vc.el (vc-checkin): Use it.
5797 (vc-deduce-fileset): Handle Log Edit buffers.
5798 (vc-diff): Make first argument optional too.
5799
5800 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5801
8477cc7a
MA
58022012-07-10 Michael Albinus <michael.albinus@gmx.de>
5803
5804 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5805 command, just in case. The function is not needed anymore.
5806 (eshell-external-command): Do not call `eshell-remote-command'.
5807
19faa8e8
SM
58082012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
5809
f58e0fd5
SM
5810 Reduce use of (require 'cl).
5811 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5812 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5813 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5814 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5815 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5816 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5817 * battery.el, avoid.el, abbrev.el: Use cl-lib.
5818 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5819 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5820 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5821 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5822 * calculator.el, autorevert.el, apropos.el: Don't require CL.
5823 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5824 (byte-compile-unfold-bcf, byte-compile-check-variable):
5825 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5826 (byte-compile-nilconstp):
5827 * emacs-lisp/autoload.el (make-autoload): Use pcase.
5828 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5829
2519d43a
SM
5830 * emacs-lisp/gv.el (cond): Make it a valid place.
5831 (if): Simplify slightly.
5832
19faa8e8
SM
5833 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5834 (pcase--self-quoting-p): New function.
5835 (pcase--u1): Use it.
5836
c4907a5e
GM
58372012-07-10 Glenn Morris <rgm@gnu.org>
5838
5839 * emacs-lisp/authors.el (authors-fixed-entries):
5840 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5841
c4444d16
PE
58422012-07-09 Paul Eggert <eggert@cs.ucla.edu>
5843
5844 Rename configure.in to configure.ac (Bug#11603).
5845 * emacs-lisp/authors.el (authors-canonical-file-name):
5846 * progmodes/autoconf.el (autoconf-mode):
5847 Prefer configure.ac to configure.in.
5848
d75be97d
CY
58492012-07-08 Chong Yidong <cyd@gnu.org>
5850
01ac65bd
CY
5851 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5852 Implement the mouse-1-click-follows-link handling properly.
5853
5854 * info.el (Info-link-keymap): Use follow-link mechanism for
5855 header-line links (Bug#374).
5856
d75be97d
CY
5857 * simple.el (deactivate-mark): Do not set the primary selection
5858 if another program has acquired it (Bug#11772).
5859
87a92845 58602012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
5861
5862 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5863 (woman-decode-region): Replace escaped-escapes without destroying
5864 bold or underline (Bug#11552).
87a92845 5865 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 5866
621b9d6c
CY
58672012-07-07 Chong Yidong <cyd@gnu.org>
5868
5869 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
5870 (interprogram-cut-function, interprogram-paste-function):
5871 Mention that we typically mean the clipboard.
621b9d6c 5872
133a11fc
GM
58732012-07-06 Glenn Morris <rgm@gnu.org>
5874
0d27a45e
GM
5875 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
5876
133a11fc
GM
5877 * files.el (toggle-read-only): Restrict message to interactive use.
5878
07b151f1
MA
58792012-07-06 Michael Albinus <michael.albinus@gmx.de>
5880
5881 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5882
5883 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5884
211b896b
GM
58852012-07-06 Glenn Morris <rgm@gnu.org>
5886
50394322
GM
5887 * Makefile.in (compile-one-process): Rename from "recompile".
5888
211b896b
GM
5889 * Makefile.in (bzr-update): "compile" is the same as "recompile
5890 autoloads", but parallelizable, so use that instead.
5891
4737eec9
DG
58922012-07-06 Dmitry Gutov <dgutov@yandex.ru>
5893
5894 * window.el (quit-window): Always restore window height when
8137e7b3 5895 it's saved in quit-restore parameter (Bug#11810).
4737eec9 5896
226c3633 58972012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
5898
5899 * simple.el (kill-whole-line): Doc tweak.
5900
226c3633 59012012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
5902
5903 * files.el (file-relative-name): Compare file names
5904 case-insensitively if on MS-Windows or MS-DOS, or if
5905 read-file-name-completion-ignore-case is non-nil. Don't use
5906 case-fold-search for this purpose. (Bug#11827)
5907
4dc7c8d5
SM
59082012-07-17 Andreas Schwab <schwab@linux-m68k.org>
5909
5910 * calendar/cal-dst.el (calendar-current-time-zone):
5911 Return calendar-current-time-zone-cache if non-nil.
5912
59132012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 59142012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5915
19faa8e8
SM
5916 * calendar/cal-dst.el (calendar-current-time-zone):
5917 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5918
60198fc9
GM
59192012-07-06 Glenn Morris <rgm@gnu.org>
5920
5921 * Makefile.in (cvs-update): Remove old alias.
5922
957b3189
MA
59232012-07-05 Michael Albinus <michael.albinus@gmx.de>
5924
5925 Sync with Tramp 2.2.6-pre.
5926
5927 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5928 compatible declaration.
5929
19faa8e8
SM
5930 * net/tramp-cmds.el (tramp-append-tramp-buffers):
5931 Protect `list-load-path-shadows' call.
957b3189
MA
5932
5933 * net/tramp-compat.el (top): Require packages, which aren't
5934 autoloaded anymore for XEmacs. Protect call of
5935 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
5936 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
5937 it hurts at least for SXEmacs.
5938 (tramp-compat-temporary-file-directory): In XEmacs, there is no
5939 standard-value for `temporary-file-directory'.
5940
5941 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
5942 Redirect stderr to /dev/null.
5943 (tramp-sh-handle-write-region): uid and gid can be floats.
5944 Reported by Russell Sim <russell.sim@gmail.com>.
5945 (tramp-sh-handle-vc-registered): Hide errors.
5946 (tramp-vc-file-name-handler): Use dummy results for `process-file'
5947 and `start-file-process'.
5948 (tramp-maybe-open-connection): Check also whether `non-essential'
5949 is bound.
5950
566df3fc
CY
59512012-07-04 Chong Yidong <cyd@gnu.org>
5952
5953 * xml.el (xml--parse-buffer): Use xml-syntax-table.
5954 (xml-parse-tag): Likewise, and avoid changing entity tables.
5955 (xml-syntax-table): Define from scratch, making sure not to give
5956 x2000 and other Unicode spaces whitespace syntax, since those are
5957 not spaces in XML.
5958 (xml-parse-fragment): Delete unused function.
5959 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
5960 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
5961 (xml-entity-ref, xml-pe-reference-re)
5962 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
5963 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
5964 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
5965 (xml-entity-value-re): Use syntax references in regexps where
5966 possible; no need to define inside a let-binding.
5967 (xml-parse-dtd): Use xml-pe-reference-re.
5968 (xml-entity-or-char-ref-re): New defconst.
5969 (xml-parse-string, xml-substitute-special): Use it.
5970
30eabd7a
SM
59712012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
5972
0781098a
SM
5973 * files.el (locate-dominating-file): Allow `name' to be a predicate.
5974 (find-file--read-only): New function.
5975 (find-file-read-only, find-file-read-only-other-window)
5976 (find-file-read-only-other-frame): Use it.
5977 (insert-file-contents-literally): Don't `fset'.
5978 (get-free-disk-space): Use locate-dominating-file.
5979
b5771c0d
SM
5980 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
5981 function is already compiled.
5982
30eabd7a
SM
5983 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
5984
b4886f6e
MA
59852012-07-03 Michael Albinus <michael.albinus@gmx.de>
5986
5987 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
5988 files on the same host.
5989
b9d82339
AS
59902012-07-03 Andreas Schwab <schwab@linux-m68k.org>
5991
5992 * help-fns.el (describe-function-1): Only call
5993 help-fns--autoloaded-p when we have a file name. (Bug#11848)
5994
a76e6535
CY
59952012-07-03 Chong Yidong <cyd@gnu.org>
5996
5997 * xml.el: Protect parser against XML bombs.
5998 (xml-entity-expansion-limit): New variable.
5999 (xml-parse-string, xml-substitute-special): Use it.
6000 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6001
b544fef2
GM
60022012-07-03 Glenn Morris <rgm@gnu.org>
6003
6004 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6005 Allow linking to specific messages in debbugs reports (eg 123#5).
6006
a7aef6f5
CY
60072012-07-02 Chong Yidong <cyd@gnu.org>
6008
6009 * xml.el: Fix entity and character reference expansion, allowing
6010 them to expand into markup as per XML spec.
6011 (xml-default-ns): New variable.
6012 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
6013 (xml-parse-region): Make first two arguments optional.
6014 Discard text properties.
6015 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6016 All callers changed.
a7aef6f5
CY
6017 (xml-parse-tag): Call xml-parse-tag-1. For backward
6018 compatibility, this function should not modify buffer contents.
6019 (xml-parse-tag-1): Fix opening-tag regexp.
6020 (xml-parse-string): Rewrite, handling entity and character
6021 references properly.
6022 (xml--entity-replacement-text): Signal an error if a parameter
6023 entity is undefined.
6024
3df31c9f
SM
60252012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6026
2b5208f1
SM
6027 * comint.el (comint-output-filter): Filter out repeated prompts.
6028
3df31c9f
SM
6029 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6030 and file-name-absolute-p.
6031 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6032 internal calls.
6033
e3ac1281
PE
60342012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6035
6036 Spelling fixes.
6037 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6038 Rename from byte-compile--refiy-function. All uses changed.
6039
fbf2e7ad
CY
60402012-07-01 Chong Yidong <cyd@gnu.org>
6041
6042 * xml.el (xml--parse-buffer): New function. Move most of
6043 xml-parse-region here.
6044 (xml-parse-region): Copy region into a temporary buffer, since
6045 parameter entity substitution requires changing buffer contents.
6046 Use xml--parse-buffer.
6047 (xml-parse-file): Use xml--parse-buffer.
6048 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 6049 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 6050
9bf0aa15
GM
60512012-06-30 Glenn Morris <rgm@gnu.org>
6052
bbce2853
GM
6053 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6054
9bf0aa15
GM
6055 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6056 Remove outdated and unnecessary dbus declarations.
6057
0d23c240
EZ
60582012-06-30 Eli Zaretskii <eliz@gnu.org>
6059
6060 * emacs-lisp/timer.el (timer-until): Subtract results of
6061 float-time, instead of taking float-time of the result of
6062 time-subtract, since float-time signals an error for negative time
6063 arguments.
6064
b3218de1
CY
60652012-06-30 Chong Yidong <cyd@gnu.org>
6066
6067 * xml.el (xml-*-re): Convert defvars into defconsts, and
6068 eval-and-compile them so eval-and-compile works on derivatives.
6069 (xml--entity-replacement-text): Use eval-and-comple.
6070
a40c87a0
MA
60712012-06-30 Michael Albinus <michael.albinus@gmx.de>
6072
6073 * vc/vc-git.el (vc-git-registered): Use cache property
6074 `git-registered'.
6075 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6076 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 6077 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 6078
ac87de97
DG
60792012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6080
6081 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 6082 removed (likely outside Emacs). (Bug#11757)
ac87de97 6083
ac10fe06
SM
60842012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6085
3df31c9f 6086 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 6087
7f3fbd5d
CY
60882012-06-30 Chong Yidong <cyd@gnu.org>
6089
6090 * xml.el: Implement XML parameter entities.
6091 (xml-parameter-entity-alist): New variable.
6092 (xml-parse-region, xml-parse-fragment): Preserve previous values
6093 of xml-entity-alist and xml-parameter-entity-alist, so that
6094 repeated calls on different documents do not change them.
6095 (xml-parse-tag): Fix doctype regexp.
6096 (xml--entity-replacement-text): New function.
6097 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6098 properly requires url retrieval which is unimplemented.
6099 (xml-escape-string): Doc fix.
6100
3cfbebba
SM
61012012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6102
6103 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6104
2af3565e
DA
61052012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6106
6107 * fringe.el (fringe-mode): Doc fix.
6108
929df0e7
MA
61092012-06-29 Michael Albinus <michael.albinus@gmx.de>
6110
6111 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6112 is non-nil.
6113 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6114 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6115
c8d3a25c 61162012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 6117
c8d3a25c
GM
6118 * calendar/cal-dst.el (calendar-current-time-zone):
6119 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 6120
c8d3a25c 61212012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
6122
6123 * progmodes/which-func.el (which-func-format):
6124 Add mouse-face. (Bug#11698)
6125
c8d3a25c
GM
61262012-06-29 Leo Liu <sdl.web@gmail.com>
6127
6128 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6129
61302012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * minibuffer.el (minibuffer-confirm-exit-commands):
6133 Add completion-at-point (bug#11725).
6134
61352012-06-29 Glenn Morris <rgm@gnu.org>
6136
6137 * progmodes/f90.el (f90-font-lock-keywords-2):
6138 Add some preprocessor elements. (Bug#10499)
6139
61402012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6141
6142 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6143 Use syntax-propertize (bug#11739).
6144
2badeec4
JB
61452012-06-28 Juanma Barranquero <lekktu@gmail.com>
6146
6147 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6148
ae4969c2
JD
61492012-06-28 Julien Danjou <julien@danjou.info>
6150
6151 * term.el (term-handle-colors-array): Use a set of new faces to
6152 color the terminal. Also uses :inverse-video property.
6153 (term-default-fg-color): Set to nil by default, deprecate in favor
6154 of `term-face'.
6155 (term-default-bg-color): Set to nil by default, deprecate in favor
6156 of `term-face'.
6157 (term-current-face): Use `term-face' by default.
6158 (term-bold-attribute): Variable deleted.
6159
1c9bd870
GM
61602012-06-28 Glenn Morris <rgm@gnu.org>
6161
6162 * simple.el (completion-list-mode-finish):
6163 Don't use toggle-read-only. (Since completion-list-mode has
6164 a special mode-class, it wasn't doing anything extra anyway.)
6165
c207708c
SM
61662012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6167
6168 Make inlining of other-mode interpreted functions work (bug#11799).
6169 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6170 (byte-compile): Use it to fix compilation of lexical-binding closures.
6171 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6172 function, if needed.
6173
3fd56834
SM
61742012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6175
04901786
SM
6176 * help-mode.el (help-make-xrefs): Don't just withstand
6177 cyclic-variable-indirection but any error in documentation-property.
6178
1ec4b7b2
SM
6179 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6180 memory use.
6181 * bindings.el (bindings--define-key): New function.
6182 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6183 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6184 * bindings.el: Use it to purecopy define-key bindings.
6185
e309e2a5
SM
6186 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6187
d5c6faf9
SM
6188 * emacs-lisp/cl.el (flet): Mark obsolete.
6189 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6190 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6191 * progmodes/js.el (js-c-fill-paragraph):
6192 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6193 (ebrowse-switch-member-buffer-to-derived-class):
6194 * play/5x5.el (5x5-solver): Use cl-flet.
6195
6e9590e2
SM
6196 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6197 (cl--symbol-function): New macro.
6198 (cl--letf, cl--letf*): Use it.
6199
3fd56834
SM
6200 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6201 Strip "toggle-" if any.
6202
35ff222c
GM
62032012-06-27 Glenn Morris <rgm@gnu.org>
6204
1ba6038a
GM
6205 * info.el (Info-default-directory-list): Move here from paths.el.
6206 * paths.el: Remove file, which is now empty.
6207 * loadup.el: No longer load "paths".
6208
0ea0e51b
GM
6209 * custom.el (custom-initialize-delay): Doc fix.
6210
35ff222c
GM
6211 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6212 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6213 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6214 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6215 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6216 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6217 * eshell/eshell.el (eshell-defgroup): Remove alias.
6218
c89926a5
CY
62192012-06-27 Chong Yidong <cyd@gnu.org>
6220
6221 * help.el (help-enable-auto-load): New variable.
6222
6223 * help-fns.el (help-fns--autoloaded-p): New function.
6224 (describe-function-1): Refer to a function as "autoloaded" if it
6225 was autoloaded at any time in the past. Perform autoloading if
6226 help-enable-auto-load is non-nil.
6227
cc06e7e7
EZ
62282012-06-26 Eli Zaretskii <eliz@gnu.org>
6229
6230 * makefile.w32-in (compile, compile-always): Depend on
6231 update-subdirs, not on subdirs.el. Otherwise, several different
6232 sub-targets of 'bootstrap' running in parallel could
6233 simultaneously write to subdirs.el, producing a garbled file.
6234
d2c32364
SS
62352012-06-26 Sam Steingold <sds@gnu.org>
6236
6237 * files.el (file-name-base): New convenience function.
0d14cc21
GM
6238 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6239 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6240 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6241 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6242 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
6243 * textmodes/tex-mode.el: Use it.
6244 Did not touch cedet and org because they are maintained elsewhere.
6245
5cf983b2
MR
62462012-06-26 Martin Rudalics <rudalics@gmx.at>
6247
6248 * calendar/calendar.el (calendar-exit): Don't try to delete or
6249 iconify last frame. See:
6250 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6251
8c4f2952
JD
62522012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6253
6254 * server.el (server-process-filter): Remember dir in the
6255 process's `server-client-directory' properties.
6256
772b2e2c
CY
62572012-06-24 Chong Yidong <cyd@gnu.org>
6258
6259 * xml.el (xml-parse-tag): Correctly handle comment embedded in
6260 non-tag text.
6261
711b11e1
JB
62622012-06-23 Juanma Barranquero <lekktu@gmail.com>
6263
6264 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6265
dc5d230c
SM
62662012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6267
6268 * help-fns.el (describe-variable): Don't croak when doc is not found.
6269 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6270 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6271 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6272 * emacs-lisp/smie.el (smie-next-sexp): CSE.
6273 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6274 ((lambda ..) ..).
6275 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6276
136e1c1d
CY
62772012-06-23 Chong Yidong <cyd@gnu.org>
6278
e8c1cabf
CY
6279 * info.el (Info-mouse-follow-link): Accept symbol values of
6280 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
6281 (Info-fontify-node): Use Info-link-keymap for all navigation
6282 buttons, with link-args property to perform the desired action.
6283 (Info-link-keymap): Doc fix.
6284 (Info-next-link-keymap, Info-prev-link-keymap)
6285 (Info-up-link-keymap): Delete now-unused keymaps.
6286
0e9e6c6a
CY
62872012-06-23 Chong Yidong <cyd@gnu.org>
6288
05e89fea
CY
6289 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6290
0e9e6c6a
CY
6291 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6292 system abbrevs.
6293
6294 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6295
e33c6771
SM
62962012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
6297
b68581e2
SM
6298 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6299 (bug#11719).
6300
e33c6771
SM
6301 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6302 the requote function doesn't work properly (bug#11714).
6303
7117e105
GM
63042012-06-23 Glenn Morris <rgm@gnu.org>
6305
6306 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6307
36cec983
SM
63082012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 Further GV/CL cleanups.
6311 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6312 gv-expander.
6313 (gv--defun-declaration): New function.
6314 (defun-declarations-alist): Use it.
6315 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6316 (gv-place): Autoload.
6317 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6318 original definition of dotimes and dolist.
6319 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6320 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6321 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6322 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6323 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6324 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6325 to the function's definition.
6326 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6327 * window.el:
6328 * files.el:
6329 * faces.el:
6330 * env.el: Don't use CL.
6331
d35af63c
PE
63322012-06-22 Paul Eggert <eggert@cs.ucla.edu>
6333
6334 Support higher-resolution time stamps (Bug#9000).
6335
6336 * calendar/time-date.el (with-decoded-time-value): New arg
6337 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
6338 (encode-time-value): New optional arg PICO. New type 3.
6339 (time-to-seconds) [!float-time]: Support the new picoseconds
6340 component if it's used.
6341 (seconds-to-time, time-subtract, time-add):
6342 Support ps-resolution time stamps as well.
6343
6344 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
6345 (timerp): Timer vectors now have length 9, not 8.
6346 (timer--time): Support new-style (4-part) time stamps.
6347 (timer-next-integral-multiple-of-time): Time stamps now have
6348 picosecond resolution, so take a bit more care about rounding.
6349 (timer-relative-time, timer-inc-time): New optional arg psecs.
6350 (timer-set-time-with-usecs): Set psecs to 0.
6351 (timer--activate): Check psecs component, too.
6352
6353 * proced.el (proced-time-lessp): Support ps-resolution stamps.
6354
ac77b21a
SM
63552012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6356
f143bfe3
SM
6357 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6358 Move the non-essential binding to the post/pre-command-hook where it is
6359 more obviously correct.
6360
ac77b21a
SM
6361 * subr.el (read-passwd): Don't use a history at all.
6362 * savehist.el (savehist-save): Remove password saved accidentally
6363 because of the above bug.
6364
76386c5a
BG
63652012-06-22 Bastien Guerry <bzg@gnu.org>
6366
6367 * files.el (toggle-read-only): Display a message telling whether
6368 the buffer is read-only or not (bug#11726).
6369
2ee3d7f0
SM
63702012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
6371
6372 * emacs-lisp/gv.el: New file.
6373 * subr.el (push, pop): Extend to generalized variables.
6374 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6375 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6376 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
6377 gv-define-simple-setter, and gv-define-expander.
6378 Remove setf-methods defined in gv. Rename cl-setf -> setf.
6379 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6380 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6381 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6382 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6383 gv-letplace.
6384 (cl-defstruct): Don't define setf-method any more.
6385 * emacs-lisp/cl.el (flet): Don't autoload.
6386 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6387 (define-setf-expander, defsetf, define-modify-macro)
6388 (cl-struct-setf-expander): Move from cl-lib.el.
6389 * emacs-lisp/syntax.el:
6390 * emacs-lisp/ewoc.el:
6391 * emacs-lisp/smie.el:
6392 * emacs-lisp/cconv.el:
6393 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6394 (timer--time): Use gv-define-simple-setter.
6395 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6396 to avoid coding-system problems in subr.el. Adjust all users.
6397 (macroexp--maxsize, macroexp-small-p): New functions.
6398 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6399 * scroll-bar.el (scroll-bar-mode):
6400 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6401 (normal-erase-is-backspace-mode): Don't use the `eq' place.
6402 * winner.el (winner-configuration, winner-make-point-alist)
6403 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6404 * files.el (locate-file-completion-table): Avoid list*.
6405
c5695d1d
CY
64062012-06-22 Chong Yidong <cyd@gnu.org>
6407
6408 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6409 (dired-create-files): Doc fix (Bug#11329).
6410 (dired-do-copy): Doc fix (Bug#11334).
6411 (dired-mark-read-string): Doc fix (Bug#11553).
6412
2ee3d7f0
SM
6413 * dired.el (dired-recursive-copies, dired-recursive-deletes):
6414 Doc fix (Bug#11326).
c5695d1d
CY
6415 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
6416 (dired-dwim-target): Doc fix.
6417
6418 * wdired.el (wdired-mode): Doc fix.
6419
89b5595a
GM
64202012-06-22 Glenn Morris <rgm@gnu.org>
6421
575db3f1
GM
6422 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6423 (pcmpl-rpm-cache-stamp-file): New constant.
6424 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6425 (pcmpl-rpm-packages): Optionally cache list of packages.
6426
a4c8dd51
GM
6427 * pcmpl-rpm.el (pcmpl-rpm): New group.
6428 (pcmpl-rpm-query-options): New option.
6429 (pcmpl-rpm-packages): No need to inline it.
6430 Use pcmpl-rpm-query-options.
6431
89b5595a
GM
6432 * calendar/calendar.el (calendar-in-read-only-buffer):
6433 Avoid some needless mode changes.
6434
e76f0800
CY
64352012-06-21 Chong Yidong <cyd@gnu.org>
6436
6437 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6438 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 6439 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 6440
297a8f1d
CY
64412012-06-20 Chong Yidong <cyd@gnu.org>
6442
6443 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6444
d34c18b1
DR
64452012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
6446
6447 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6448 (bug#11201).
6449
32f7f28e
CY
64502012-06-20 Chong Yidong <cyd@gnu.org>
6451
6452 * term.el (term-window-width): Handle the case of a missing right
6453 fringe (Bug#8837).
6454 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
6455 (term-mode): Use define-derived-mode. Minor cleanups.
6456 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
6457 (term-move-columns, term-insert-char, term-emulate-terminal)
6458 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 6459
493c6688
MA
64602012-06-20 Michael Albinus <michael.albinus@gmx.de>
6461
d34c18b1
DR
6462 * net/ange-ftp.el (ange-ftp-get-passwd):
6463 Bind `enable-recursive-minibuffers'.
493c6688
MA
6464 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6465
3f06ecf4
DR
64662012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
6467
6468 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6469
68f12411
GM
64702012-06-19 Glenn Morris <rgm@gnu.org>
6471
6472 * progmodes/python.el (python-mode): Derive from prog-mode.
6473
b3820318
KG
64742012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
6475
6476 * emulation/edt.el (edt-default-menu-bar-update-buffers)
6477 (edt-user-menu-bar-update-buffers): New functions.
6478 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6479
c6bf3022
CY
64802012-06-19 Chong Yidong <cyd@gnu.org>
6481
6482 * subr.el (with-selected-window): Preserve the selected window's
6483 terminal's top-frame (Bug#4702).
6484
6485 * window.el (save-selected-window): Likewise.
6486
25f09295
SM
64872012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6488
6489 * progmodes/python.el (python-rx-constituents): Move backquote.
6490 (python-skeleton-define, python-define-auxiliary-skeleton):
6491 Use `declare'.
6492
6b11952a
MA
64932012-06-18 Michael Albinus <michael.albinus@gmx.de>
6494
6495 * minibuffer.el (read-file-name-default): Revert the patch from
6496 2012-06-17.
6497
ee4b1330
SM
64982012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6499
6500 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6501 (pcase--u1, pcase--q1): Don't use apply-partially.
6502
35647f79
GM
65032012-06-18 Glenn Morris <rgm@gnu.org>
6504
6505 * progmodes/python.el (python-proc, python-buffer)
6506 (python-send-receive, python-send-string): Fix obsolete versions.
6507
24b0cff0
MR
65082012-06-18 Martin Rudalics <rudalics@gmx.at>
6509
6510 * window.el (special-display-p): Completely remove stringp
6511 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6512
29855149
MA
65132012-06-17 Michael Albinus <michael.albinus@gmx.de>
6514
6515 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6516
6517 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6518
6519 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6520 * net/tramp-sh.el (tramp-maybe-open-connection):
6521 Throw if `non-essential' is non-nil.
6522
07463363
MR
65232012-06-17 Martin Rudalics <rudalics@gmx.at>
6524
6525 * window.el (special-display-p): Signal an error if BUFFER-NAME
6526 is not a string (Bug#11713).
6527
48d1354e
PE
65282012-06-17 Paul Eggert <eggert@cs.ucla.edu>
6529
6530 * progmodes/python.el (python-info-beginning-of-backslash):
6531 Rename from python-info-beginning-of-backlash, as a spelling fix.
6532
eb4a8a9a
CY
65332012-06-17 Chong Yidong <cyd@gnu.org>
6534
6535 * term.el (term-emulate-terminal): If term-check-size is called,
6536 move point to the process mark without resetting point (Bug#4635).
6537
ddfbf826 65382012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
6539
6540 * international/mule-cmds.el (mule-menu-keymap)
6541 (set-language-environment, set-locale-environment): Doc tweaks.
6542
9b0e3eba
AA
65432012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
6544
6545 * cus-face.el (custom-face-attributes): Add wave-style underline
6546 attribute.
6547 * faces.el (set-face-attribute): Update docstring to describe
6548 wave-style underline attribute.
6549
771e3eae
CY
65502012-06-16 Chong Yidong <cyd@gnu.org>
6551
6552 * term/xterm.el (terminal-init-xterm): Discard input before
6553 querying background mode (Bug#10959).
6554
7ae2ea10
SM
65552012-06-16 Stefan Merten <smerten@oekonux.de>
6556
6557 * textmodes/rst.el: Added and corrected some comments.
6558 (rst-re-alist-def): Improve symbol syntax.
6559 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
6560 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6561 (rst-official-version, rst-official-cvs-rev): Update version
6562 information.
7ae2ea10 6563
b6974efa
JB
65642012-06-15 Juanma Barranquero <lekktu@gmail.com>
6565
6566 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6567 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6568
8826d473
GM
65692012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
6570
6571 * progmodes/python.el: New python.el merge.
6572 (python-guess-indent): Obsolete var.
6573 (python-indent-guess-indent-offset): New defcustom.
6574 (python-indent): Obsolete var.
6575 (python-indent-offset): New defcustom.
6576 (python-python-command, python-jython-command): Delete var.
6577 (python-shell-interpreter): New defcustom.
6578 (python-pdbtrack-do-tracking-p): Delete var.
6579 (python-pdbtrack-activate): New defcustom.
6580 (python-use-skeletons): Obsolete var.
6581 (python-skeleton-autoinsert): New defcustom.
6582 (inferior-python-filter-regexp, python-continuation-offset)
6583 (python-honour-comment-indentation, python-indent-string-contents)
6584 (python-jython-packages, python-mode-hook)
6585 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6586 (python-shell-prompt-alist)
6587 (python-source-modes): Delete defcustoms.
6588 (python-check-buffer-name, python-eldoc-setup-code)
6589 (python-eldoc-string-code, python-ffap-setup-code)
6590 (python-ffap-string-code, python-fill-comment-function)
6591 (python-fill-decorator-function, python-fill-paren-function)
6592 (python-fill-string-function, python-imenu-include-defun-type)
6593 (python-imenu-make-tree, python-imenu-subtree-root-label)
6594 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6595 (python-shell-compilation-regexp-alist)
6596 (python-shell-completion-module-string-code)
6597 (python-shell-completion-pdb-string-code)
6598 (python-shell-completion-setup-code)
6599 (python-shell-completion-string-code)
6600 (python-shell-enable-font-lock, python-shell-exec-path)
6601 (python-shell-extra-pythonpaths)
6602 (python-shell-internal-buffer-name, python-shell-interpreter-args)
6603 (python-shell-process-environment)
6604 (python-shell-prompt-block-regexp)
6605 (python-shell-prompt-output-regexp)
6606 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6607 (python-shell-send-setup-max-wait, python-shell-setup-codes)
6608 (python-shell-virtualenv-path): New defcustoms.
6609 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6610 (inferior-python-mode-syntax-table, python--prompt-regexp)
6611 (python-buffer, python-command python-python-command)
6612 (python-default-template, python-imports, python-indent-index)
6613 (python-indent-list, python-indent-list-length)
6614 (python-mode-running, python-pdbtrack-is-tracking-p)
6615 (python-preoutput-continuation, python-preoutput-leftover)
6616 (python-preoutput-result, python-preoutput-skip-next-prompt)
6617 (python-prev-dir/file, python-recursing)
6618 (python-saved-check-command, python-version-checked)
6619 (python-which-func-length-limit)
6620 (view-return-to-alist): Delete vars.
6621 (python-check-custom-command, python-dotty-syntax-table)
6622 (python-imenu-index-alist, python-indent-current-level)
6623 (python-indent-dedenters, python-indent-levels)
6624 (python-nav-beginning-of-defun-regexp)
6625 (python-nav-list-defun-positions-cache)
6626 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6627 (python-shell-internal-buffer)
6628 (python-skeleton-available): New vars.
6629 (def-python-skeleton): Delete macro.
6630 (python-skeleton-define): New macro.
6631 (python-define-auxiliary-skeleton, python-rx): New macros.
6632 (python-insert-class): Delete command.
6633 (python-skeleton-class): New command.
6634 (python-insert-def): Delete command.
6635 (python-skeleton-def): New command.
6636 (python-insert-for): Delete command.
6637 (python-skeleton-for): New command.
6638 (python-insert-if): Delete command.
6639 (python-skeleton-if): New command.
6640 (python-insert-try/except, python-insert-try/finally): Delete commands.
6641 (python-skeleton-try): New command.
6642 (python-insert-while): Delete command.
6643 (python-skeleton-while): New command.
6644 (python-backspace): Delete command.
6645 (python-indent-dedent-line-backspace): New command.
6646 (python-electric-colon): Delete command.
6647 (python-indent-electric-colon): New command.
6648 (python-guess-indent): Delete command.
6649 (python-indent-guess-indent-offset): New command.
6650 (python-shift-left): Delete command.
6651 (python-indent-shift-left): New command.
6652 (python-shift-right): Delete command.
6653 (python-indent-shift-right): New command.
6654 (python-find-function): Delete command.
6655 (python-nav-jump-to-defun): New command.
6656 (python-next-statement): Delete command.
6657 (python-nav-forward-sentence): New command.
6658 (python-previous-statement): Delete command.
6659 (python-nav-backward-sentence): New command.
6660 (python-fill-paragraph): Delete command.
6661 (python-fill-paragraph-function): New command.
6662 (python-send-buffer): Delete command.
6663 (python-shell-send-buffer): New command.
6664 (python-send-defun): Delete command.
6665 (python-shell-send-defun): New command.
6666 (python-send-region, python-send-region-and-go): Delete commands.
6667 (python-shell-send-region)
6668 (python-shell-switch-to-shell): New commands.
6669 (python-send-string): Delete command.
6670 (python-shell-send-string): New command.
6671 (python-switch-to-python): Delete command.
6672 (python-shell-switch-to-shell): New command.
6673 (python-describe-symbol): Delete command.
6674 (python-eldoc-at-point): New command.
6675 (python--set-prompt-regexp, python-args-to-list)
6676 (python-after-info-look, python-check-version)
6677 (python-check-comint-prompt, python-find-imports)
6678 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6679 (python-unload-function, python-expand-template)
6680 (python-maybe-jython, python-preoutput-filter)
6681 (python-pdbtrack-get-source-buffer)
6682 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6683 (python-pdbtrack-toggle-stack-tracking)
6684 (python-pdbtrack-track-stack-file, python-initial-text)
6685 (python-first-word, python-comment-line-p, python-send-command)
6686 (python-setup-brm, python-sentinel, python-set-proc)
6687 (python-skip-out, python-input-filter, python-outdent-p)
6688 (python-outline-level, python-backslash-continuation-line-p)
6689 (python-end-of-block, python-end-of-statement, python-mark-block)
6690 (python-beginning-of-block, python-beginning-of-statement)
6691 (python-blank-line-p, python-beginning-of-string)
6692 (python-open-block-statement-p): Delete functions.
6693 (python-indent-line, python-indent-line-1): Delete functions.
6694 (python-indent-line): New function.
6695 (python-indentation-levels): Delete function.
6696 (python-indent-calculate-levels): New function.
6697 (python-proc): Delete function.
6698 (python-shell-get-process): New function.
6699 (python-send-receive): Delete function.
6700 (python-shell-send-string-no-output): New function.
6701 (python-module-path): Delete function.
6702 (python-ffap-module-path): New function.
6703 (python-completion-at-point)
6704 (python-symbol-completions): Delete functions.
6705 (python-completion-complete-at-point): New function.
6706 (python-load-file): Delete function.
6707 (python-shell-send-file): New function.
6708 (python-calculate-indentation): Delete function.
6709 (python-indent-calculate-indentation): New function.
6710 (python-skip-comments/blanks): Delete function.
6711 (python-util-forward-comment): New function.
6712 (python-continuation-line-p): Delete function.
6713 (python-info-continuation-line-p): New function.
6714 (python-which-func, python-current-defun): Delete function.
6715 (python-info-current-defun): New function.
6716 (python-beginning-of-defun): Delete function.
6717 (python-nav-beginning-of-defun): New function.
6718 (python-close-block-statement-p)
6719 (python-block-end-p): Delete function.
6720 (python-info-closing-block): New function.
6721 (python-comint-output-filter-function)
6722 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6723 (python-fill-comment, python-fill-decorator, python-fill-paren)
6724 (python-fill-string, python-imenu-make-element-tree)
6725 (python-imenu-make-tree, python-imenu-tree-assoc)
6726 (python-indent-context, python-indent-dedent-line)
6727 (python-indent-line-function)
6728 (python-indent-post-self-insert-function)
6729 (python-indent-toggle-levels)
6730 (python-info-assignment-continuation-line-p)
6731 (python-info-beginning-of-backlash)
6732 (python-info-block-continuation-line-p)
6733 (python-info-closing-block-message)
6734 (python-info-line-ends-backslash-p)
6735 (python-info-looking-at-beginning-of-defun)
6736 (python-info-ppss-context, python-info-ppss-context-type)
6737 (python-nav-list-defun-positions, python-nav-read-defun)
6738 (python-nav-sentence-end, python-nav-sentence-start)
6739 (python-pdbtrack-comint-output-filter-function)
6740 (python-pdbtrack-set-tracked-buffer)
6741 (python-shell-calculate-exec-path)
6742 (python-shell-calculate-process-environment)
6743 (python-shell-completion--do-completion-at-point)
6744 (python-shell-completion--get-completions)
6745 (python-shell-completion-complete-at-point)
6746 (python-shell-completion-complete-or-indent)
6747 (python-shell-get-or-create-process)
6748 (python-shell-get-process-name)
6749 (python-shell-internal-get-or-create-process)
6750 (python-shell-internal-get-process-name)
6751 (python-shell-internal-send-string, python-shell-make-comint)
6752 (python-shell-parse-command, python-shell-send-setup-code)
6753 (python-skeleton-add-menu-items)
6754 (python-util-clone-local-variables, python-util-position)
6755 (run-python-internal, python-indentation-levels)
6756 (python-nav-beginning-of-defun)
6757 (python-completion-complete-at-point): New functions.
6758 (run-python): Change arguments. New API requirements.
6759
4302f5ba
SM
67602012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6761
f38ea36d
SM
6762 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6763 (bug#11649).
6764
6765 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6766 (macroexp--expand-all): Use it.
6767
4302f5ba
SM
6768 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6769 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6770 Use `cl-function' instead.
6771
33377562
JB
67722012-06-14 Juanma Barranquero <lekktu@gmail.com>
6773
6774 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6775 Suggested by Stefan Monnier while discussing bug#11657.
6776
54c5ba1a
SS
67772012-06-14 Sam Steingold <sds@gnu.org>
6778
6779 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6780
f9f1b1fe
AS
67812012-06-14 Andreas Schwab <schwab@linux-m68k.org>
6782
6783 * play/doctor.el (doctor-doc): Remove parameter and use
6784 doctor-sent instead of sent.
6785 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6786
a81068ba
SM
67872012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6788
5a315f9c
SM
6789 * files.el: Require cl-lib.
6790 (file-name-non-special): Replace case -> cl-case.
6791
6792 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6793
a81068ba
SM
6794 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6795 mapping from #' to function*.
6796
8cca9703
CY
67972012-06-13 Chong Yidong <cyd@gnu.org>
6798
6799 * mouse.el (mouse-drag-track): Do not set the mark if the user
6800 releases the mouse without selecting anything (Bug#11588).
6801
a12ac9d7
SM
68022012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6803
ccf1dc18
SM
6804 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6805 as well (bug#11646).
6806
ef62b23d
SM
6807 * loadup.el: Count byte-code functions as well.
6808
c4c8444a
SM
6809 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6810 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6811
a12ac9d7
SM
6812 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6813 (bug#11649). Add cl-defun and cl-defmacro.
6814
87e6e64f
DA
68152012-06-13 Drew Adams <drew.adams@oracle.com>
6816
6817 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6818 Fix last change.
6819
682cefaf
MA
68202012-06-13 Michael Albinus <michael.albinus@gmx.de>
6821
6822 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6823 Otherwise, it blocks in batch mode.
6824
773e1f08
JB
68252012-06-13 Juanma Barranquero <lekktu@gmail.com>
6826
6827 * help-mode.el (bookmark-make-record-default): Declare.
6828
60057926
CY
68292012-06-13 Chong Yidong <cyd@gnu.org>
6830
6831 * emacs-lisp/package.el (list-packages): Compute a list of
6832 packages that are newly-available since the last list-packages
6833 invocation.
6834 (package-menu--new-package-list): New var.
6835 (package-menu--generate, package-menu--print-info)
6836 (package-menu--status-predicate, package-menu-mark-install):
6837 Handle new status label "new".
6838
ad4d226c
SM
68392012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6840
6841 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6842 conversion to backquotes.
6843
f1a4e679
CY
68442012-06-12 Chong Yidong <cyd@gnu.org>
6845
6846 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6847 Rename from gud-inhibit-global-bindings.
6848
6849 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6850
6851 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6852 hook from nxml-glyph-set-hook.
6853
6854 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6855 declaration.
6856
6857 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6858
6859 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6860 Convert to defcustom.
6861
0c9e42b5
DA
68622012-06-12 Drew Adams <drew.adams@oracle.com>
6863
6864 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6865 New functions.
6866 (help-mode): Use them.
6867
09e06855
GM
68682012-06-11 Glenn Morris <rgm@gnu.org>
6869
6870 * progmodes/fortran.el (fortran-font-lock-keywords-3):
6871 Use preprocessor face for directives.
6872 (fortran-directive-re): Doc fix.
6873
71adb94b
SM
68742012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6875
2eb87922
SM
6876 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6877 conversion to backquotes (bug#11652).
6878
71adb94b
SM
6879 Fix compiler-expansion of CL's cXXr functions (bug#11673).
6880 * emacs-lisp/cl-lib.el (cl--defalias): New function.
6881 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6882 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6883 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6884 (cl-ninth, cl-tenth): Mark them as inlinable.
6885 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6886 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6887 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6888 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6889 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6890 (cl-list*, cl-adjoin): Don't put an autoload manually.
6891 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6892 (cl--compiler-macro-list*): Add autoload cookie.
6893 (cl--compiler-macro-cXXr): New function.
2eb87922 6894
71adb94b
SM
6895 * help-fns.el (help-fns--compiler-macro): New function extracted from
6896 describe-function-1; follow aliases and use `compiler-macro' property.
6897 (describe-function-1): Use it.
6898
a6674402
CY
68992012-06-11 Chong Yidong <cyd@gnu.org>
6900
6901 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6902 is uninstalled, if imagemagick is installed.
6903
bb3faf5b
SM
69042012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * emacs-lisp/cl-lib.el: Use lexical-binding.
6907 (cl-map-extents, cl-maclisp-member): Remove.
6908 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6909 (cl--set-substring, cl--block-wrapper, cl--block-throw)
6910 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6911 * emacs-lisp/cl-extra.el: Use lexical-binding.
6912 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6913 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6914 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6915 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6916 * emacs-lisp/cl-seq.el: Use lexical-binding.
6917 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6918 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6919 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6920 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6921 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6922 CL's internals.
6923
2fe4b125
MA
69242012-06-11 Michael Albinus <michael.albinus@gmx.de>
6925
6926 Sync with Tramp 2.2.6-pre.
6927
6928 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6929 `print-length' and `print-level' to nil, in order to avoid
6930 truncation. Reported by Christopher Schmidt
6931 <christopher@ristopher.com>.
6932
6933 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
6934
6935 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
6936 New defmacro.
6937 (tramp-compat-copy-directory): Add optional argument
6938 COPY-CONTENTS. It is not handled yet.
6939
6940 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
6941 (tramp-ftp-file-name-p): Simplify.
6942
6943 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
6944 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
6945 connection vector.
6946
6947 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
6948 (tramp-methods): Do not use `tramp-password-end-of-line'.
6949 (tramp-completion-function-alist-putty): Handle UNIX case.
6950 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
6951 (tramp-do-file-attributes-with-stat)
6952 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
6953 gid as real numbers. They could run out of integer range on cygwin.
6954 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
6955 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
6956 (tramp-open-connection-setup-interactive-shell):
6957 Use `tramp-cleanup'. Move check for busyboxes ...
6958 (tramp-find-shell): ... here. Simplify implementation.
6959 Set "remote-shell" property also for alternative shells.
6960 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
6961 If failing, a regular file would be written otherwise.
6962 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
6963 (tramp-find-inline-encoding): Cache the coding commands in the
6964 process cache. Apply test command on the remote side, if defined.
6965 (tramp-find-inline-compress): Cache the compress commands in the
6966 process cache.
6967 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
6968 when requested. Handle hops.
6969 (tramp-current-connection): New defvar.
87e6e64f
DA
6970 (tramp-maybe-open-connection): Use `tramp-cleanup'.
6971 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 6972 Handle user interrupt. (Bug#10187)
87e6e64f
DA
6973 (tramp-get-inline-compress, tramp-get-inline-coding):
6974 Read connection properties from the process cache.
2fe4b125
MA
6975
6976 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
6977 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
6978 New defconsts.
2fe4b125
MA
6979 (tramp-smb-prompt): Extend for powershell prompt.
6980 (tramp-smb-file-name-handler-alist): Add handlers for
6981 `process-file', `shell-command' and `start-file-process'.
6982 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
6983 (tramp-smb-winexe-shell-command-switch): New defcustoms.
6984 (tramp-smb-file-name-p): Simplify.
6985 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
6986 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
6987 (tramp-smb-shell-quote-argument): New defuns.
6988 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
6989 Implement using "tar". By this, time-stamps are preserved.
6990 (tramp-smb-handle-copy-file): Handle also the case of directories.
6991 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
6992 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
6993 Use `tramp-get-connection-buffer').
2fe4b125
MA
6994 (tramp-smb-handle-rename-file): Use "rename", when source and
6995 target are on the same share.
87e6e64f
DA
6996 (tramp-smb-maybe-open-connection): Handle wrong passwords.
6997 Use `tramp-smb-server-version'.
2fe4b125
MA
6998 (tramp-smb-wait-for-output): Remove prompt.
6999
7000 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
7001 (tramp-methods, tramp-rsh-end-of-line):
7002 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
7003 (tramp-save-ad-hoc-proxies): New defcustom.
7004 (tramp-completion-function-alist): Adapt docstring.
7005 (tramp-default-password-end-of-line): Remove defcustom.
7006 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7007 (tramp-user-regexp, tramp-file-name-regexp-unified)
7008 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7009 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7010 (tramp-remote-file-name-spec-regexp): New defconst.
7011 (tramp-file-name-structure): Extend structure for hops.
7012 (tramp-get-method-parameter): Move up.
7013 (tramp-file-name-p, tramp-dissect-file-name)
7014 (with-parsed-tramp-file-name): Handle hops.
7015 (tramp-file-name-hop): New defun.
7016 (tramp-make-tramp-file-name): New optional arg HOP.
7017 (tramp-message-show-progress-reporter-message): New defvar.
7018 (tramp-with-progress-reporter): Use it. We cannot use
7019 `tramp-message-show-message' here, because this suppresses also
7020 error buffers.
7021 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
7022 `tramp-message-show-message' is nil.
7023 Use `tramp-get-connection-buffer'.
2fe4b125
MA
7024 (tramp-cleanup): New defun.
7025 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7026 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7027 an error unchanged.
7028 (tramp-completion-handle-file-name-all-completions): Handle hops.
7029 Fix an error when called from ido.
7030 (tramp-completion-dissect-file-name): Use better local variable
7031 name. Add hop to the vector.
7032 (tramp-handle-insert-file-contents): Use progress-reporter for the
7033 whole scenario.
7034 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7035 to `t'.
7036 (tramp-check-for-regexp): Simplify search.
7037 (tramp-enter-password): Remove it. Move implementation ...
7038 (tramp-action-password): ... here.
7039 (tramp-mode-string-to-int, tramp-local-host-p)
7040 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
7041 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7042 Set tramp-autoload cookie.
2fe4b125
MA
7043
7044 * net/trampver.el: Update release number.
7045
70462012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7047 Michael Albinus <michael.albinus@gmx.de>
7048
7049 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7050 (tramp-parse-group, tramp-parse-file)
7051 (tramp-parse-shostkeys-sknownhosts): New defuns.
7052 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7053 (tramp-parse-shosts-group, tramp-parse-sconfig)
7054 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7055 (tramp-parse-sknownhosts, tramp-parse-hosts)
7056 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7057 Use them.
7058 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7059 (tramp-parse-putty-group): Don't narrow.
7060 (tramp-parse-putty): Make a loop.
7061 (tramp-file-name-handler): Catch the `suppress' signal.
7062
72834e10
CY
70632012-06-11 Chong Yidong <cyd@gnu.org>
7064
7065 * image.el (imagemagick-register-types): Put the ImageMagick entry
7066 at the end of image-type-file-name-regexps.
7067
a4712e11
JB
70682012-06-11 Johan Bockgård <bojohan@gnu.org>
7069
7070 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7071 (pcase, pcase-let*, pcase-dolist): Use them.
7072
82ad98e3
SM
70732012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * emacs-lisp/pcase.el (pcase--let*): New function.
7076 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7077 (pcase--expand): Use macroexp-let².
7078
f80efb86
SM
70792012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7080
7081 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7082 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7083 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7084 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7085 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7086 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7087
31ca4639 70882012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 7089
31ca4639
CY
7090 * mail/rmail.el (rmail-yank-current-message): Leave point at
7091 correct position. (Bug#11660)
94f0aa34 7092
31ca4639 70932012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 7094
31ca4639 7095 * allout-widgets.el: Fix code header.
9e1b8ec4 7096
31ca4639 70972012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 7098
f80efb86
SM
7099 * cus-edit.el (customize-changed-options-previous-release):
7100 Bump to 24.1.
31ca4639 7101
642b6d30
AS
71022012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7103
7104 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7105
4f5d2ba1
CY
71062012-06-09 Chong Yidong <cyd@gnu.org>
7107
7108 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7109
e75852fd
MR
71102012-06-09 Martin Rudalics <rudalics@gmx.at>
7111
7112 * window.el (special-display-popup-frame): Don't use
7113 window--display-buffer (Bug#11651).
7114
1e48e282
EZ
71152012-06-09 Eli Zaretskii <eliz@gnu.org>
7116
8a26b487
EZ
7117 Fix parallel builds: make sure loaddefs.el is not being written
7118 while Lisp files are compiled.
7119 (compile): Don't depend on 'mh-autoloads'.
7120 (compile-CMD, compile-SH): Depend on 'autoloads'.
7121 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7122
1e48e282
EZ
7123 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7124
6175e34b
CY
71252012-06-09 Chong Yidong <cyd@gnu.org>
7126
7127 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7128 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7129 Doc fixes (Bug#11225).
7130
d9857e53
SM
71312012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7134 a function if there's a clear indication that it has a compiler-macro.
7135 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7136 (macro-declarations-alist): Add arglist to declaration functions.
7137 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7138 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7139 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7140 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7141 Also add autoload to find the compiler macro.
7142 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7143 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7144 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7145 (cl--compiler-macro-get): New functions, replacing calls to
7146 cl-define-compiler-macro.
7147 (cl-typep) [compiler-macro]: Use macroexp-let².
7148
f81298f8 71492012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
7150
7151 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7152 string properly, fixes Bug#11473.
7153
4b56d0fe
CY
71542012-06-08 Chong Yidong <cyd@gnu.org>
7155
7156 * faces.el (set-face-attribute): Doc fix.
7157 (modify-face): Don't use :bold and :italic.
7158 (error, warning, success): Tweak definitions.
7159
7160 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7161 (custom-modified, custom-set, custom-changed, custom-themed)
7162 (custom-saved, custom-button, custom-button-mouse)
7163 (custom-button-pressed, custom-state, custom-comment-tag)
7164 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7165 (custom-group-subtitle): Use new-style face specs.
7166 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7167 (custom-set-face, custom-changed-face, custom-saved-face)
7168 (custom-button-face, custom-button-pressed-face)
7169 (custom-documentation-face, custom-state-face)
7170 (custom-comment-face, custom-comment-tag-face)
7171 (custom-variable-tag-face, custom-variable-button-face)
7172 (custom-face-tag-face, custom-group-tag-face-1)
7173 (custom-group-tag-face): Remove obsolete face alias.
7174
7175 * epa.el (epa-validity-high, epa-validity-medium)
7176 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7177 (epa-field-name, epa-field-body):
7178 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7179 (font-lock-keyword-face, font-lock-builtin-face)
7180 (font-lock-function-name-face, font-lock-variable-name-face)
7181 (font-lock-type-face, font-lock-constant-face):
7182 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7183 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7184 * speedbar.el (speedbar-button-face, speedbar-file-face)
7185 (speedbar-directory-face, speedbar-tag-face)
7186 (speedbar-selected-face, speedbar-highlight-face)
7187 (speedbar-separator-face):
7188 * whitespace.el (whitespace-newline, whitespace-space)
7189 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7190 (whitespace-line, whitespace-space-before-tab)
7191 (whitespace-space-after-tab, whitespace-indentation)
7192 (whitespace-empty):
7193 * emulation/cua-base.el (cua-global-mark):
7194 * eshell/em-prompt.el (eshell-prompt):
7195 * net/newst-plainview.el (newsticker-new-item-face)
7196 (newsticker-old-item-face, newsticker-immortal-item-face)
7197 (newsticker-obsolete-item-face, newsticker-date-face)
7198 (newsticker-statistics-face, newsticker-default-face):
7199 * net/newst-reader.el (newsticker-feed-face)
7200 (newsticker-extra-face, newsticker-enclosure-face):
7201 * net/newst-treeview.el (newsticker-treeview-face)
7202 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7203 (newsticker-treeview-immortal-face)
7204 (newsticker-treeview-obsolete-face)
7205 (newsticker-treeview-selection-face):
7206 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7207 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7208 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7209 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7210 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7211 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7212 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7213 (mpuz-text):
7214 * progmodes/vera-mode.el (vera-font-lock-number)
7215 (vera-font-lock-function, vera-font-lock-interface):
7216 * textmodes/table.el (table-cell): Use new-style face specs, and
7217 don't use the old :bold and :italic attributes.
7218
7219 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7220 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7221 (ebrowse-member-class, ebrowse-progress): Likewise.
7222 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7223 (ebrowse-file-name-face, ebrowse-default-face)
7224 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7225 (ebrowse-progress-face): Remove obsolete faces.
7226
7227 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7228 Inherit from error and warning faces respectively.
7229
7230 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7231 Likewise.
f80efb86
SM
7232 (flyspell-incorrect-face, flyspell-duplicate-face):
7233 Remove obsolete aliases.
4b56d0fe 7234
03310646
MA
72352012-06-08 Michael Albinus <michael.albinus@gmx.de>
7236
7237 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7238 Avoid infloop.
7239
513749ee
SM
72402012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7241
7242 * startup.el (argv, argi): Make lexically scoped.
7243 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7244 * emacs-lisp/cl-macs.el: Use lexical-binding.
7245 Rename cl-bind-* to cl--bind-*.
7246 * files.el: Don't require `cl' since it doesn't use it.
7247 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7248
595ef4ad
JB
72492012-06-08 Juanma Barranquero <lekktu@gmail.com>
7250
7251 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7252 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7253 instead of calling external sort utility.
7254 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7255
e9f66fcb
EZ
72562012-06-08 Eli Zaretskii <eliz@gnu.org>
7257
7258 * descr-text.el (describe-char): Mention how to insert the
7259 character, if the current input method doesn't support it.
7260 See the discussion in this thread for the details:
7261 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7262
3d10db47
SS
72632012-06-08 Sam Steingold <sds@gnu.org>
7264
7265 * bindings.el (global-map): Bind XF86Forward to next-buffer and
7266 XF86Back to previous-buffer.
7267 (minibuffer-local-map): Bind them to next-history-element and
7268 previous-history-element respectively.
7269 * help-mode.el (help-mode-map): Bind them to help-go-forward and
7270 help-go-back respectively.
7271 * info.el (Info-mode-map): Bind them to Info-history-forward and
7272 Info-history-back respectively.
7273 These are the keys next to Up on the ThinkPad keyboard.
7274
de7e2b36
SM
72752012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7276
7277 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7278 * emacs-lisp/cl-macs.el: Provide itself.
7279 (cl--labels-convert-cache): New var.
7280 (cl--labels-convert): New function.
7281 (cl-flet, cl-labels): New implementation with new semantics, relying on
7282 lexical-binding.
7283 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7284 (cl-closure-vars, cl--function-convert-cache)
7285 (cl--function-convert): Move from cl-macs.el.
7286 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7287 rename by removing the "cl-" prefix.
7288 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7289
6fa6c4ae
SM
72902012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7291
7292 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7293 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7294 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7295 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7296 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7297 (cl-hash-table-count): Add old compatibility aliases.
7298
7299 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7300 Use macroexpand-all-environment instead.
7301 (cl--old-macroexpand): New var.
7302 (cl--sm-macroexpand): New function.
7303 (cl-symbol-macrolet): Use it during macro expansion.
7304 (cl--function-convert-cache): New var.
7305 (cl--function-convert): New function, extracted from
7306 cl-macroexpand-all.
7307 (cl-lexical-let): Use it.
7308
7309 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7310 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7311 (cl-member): Remove old alias.
7312
7313 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7314 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7315 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7316 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7317 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7318 (cl-macroexpand-cmacs): Remove var.
7319 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7320 Use macroexpand-all instead.
7321
4dd1c416
SM
73222012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7323
7324 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7325 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7326 (macroexp-copyable-p): New functions and macros.
7327 * emacs-lisp/edebug.el (edebug-unwrap):
7328 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7329 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7330 (pcase--let*): Remove.
7331 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7332 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
7333 macroexp-const-p instead.
7334 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7335
7336 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7337 instead of "cl-" for internal definitions. Use macroexp-const-p.
7338 (cl-old-bc-file-form): Remove var.
7339 (cl-const-exprs-p): Remove fun.
7340 (cl-labels, cl-macrolet): Use backquote.
7341 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
7342 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7343 (cl-define-setf-expander): Rename from cl-define-setf-method.
7344 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7345
7346 * international/mule-cmds.el: Don't require CL.
7347 (view-hello-file): Don't use `letf'.
7348
ed8bd4d7
SM
73492012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7287f2f3
SM
7351 * tmm.el (tmm-prompt): Use string-prefix-p.
7352 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7353 (tmm-add-prompt): Use minibuffer-completion-help.
7354 (tmm-delete-map): Remove.
7355
ed8bd4d7
SM
7356 * subr.el (kbd): Make it its own function.
7357
7b4cdbf4
SM
73582012-06-07 Stefan Merten <smerten@oekonux.de>
7359
7360 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7361 Silence compiler warnings. Fix versions.
ed8bd4d7 7362 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 7363 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 7364 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
7365 (rst-package-emacs-version-alist): Correct Emacs version to
7366 represent major merge with upstream.
ed8bd4d7 7367 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 7368
2b48d721
GM
73692012-06-06 Glenn Morris <rgm@gnu.org>
7370
7371 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7372 Only print environment variables if set.
7373
fa779ab0
SM
73742012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7375
7376 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7377 (macroexp--cons): Rename from maybe-cons.
7378 (macroexp--accumulate): Rename from macroexp-accumulate.
7379 (macroexp--all-forms): Rename from macroexpand-all-forms.
7380 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7381 (macroexp--expand-all): Rename from macroexpand-all-1.
7382
628299e0
SS
73832012-06-06 Sam Steingold <sds@gnu.org>
7384
7385 * calendar/calendar.el (calendar-in-read-only-buffer):
7386 Call `special-mode' to enable the standard read-only keybindings.
7387
b7bb5838
SM
73882012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
7389
7390 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7391 with "loading" messages (bug#11635).
7392
dfb308ba
MA
73932012-06-06 Michael Albinus <michael.albinus@gmx.de>
7394
7395 * files.el (enable-remote-dir-locals): New option.
7396 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
7397
0372ee92
MA
7398 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7399 Ensure, that the temp directory is local.
7400
7401 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7402 `temporary-file-directory'.
7403
eed0bb91
MA
7404 * progmodes/python.el (python-send-region): Ensure, that the
7405 temporary file is created also in the remote case.
7406
7a58f64d
GM
74072012-06-06 Glenn Morris <rgm@gnu.org>
7408
f7dd4e98
GM
7409 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7410 (vc-rcs-update-changelog): Use it.
7411
090bd7cb 7412 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 7413
7a58f64d
GM
7414 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7415 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7416 (vc-sccs-diff): Replace use of the external vcdiff script.
7417
daed4003
GM
74182012-06-05 Glenn Morris <rgm@gnu.org>
7419
7420 * ledit.el: Move to obsolete/.
7421
48c455c7
SS
74222012-06-05 Sam Steingold <sds@gnu.org>
7423
ed9265fc 7424 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
7425 patch (Bug#11140).
7426
57a7d507
SM
74272012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
7428
090bd7cb 7429 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 7430
53aacf21
SM
7431 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7432 compiler-macro expansion.
7433
57a7d507
SM
7434 Add native compiler-macro support.
7435 * emacs-lisp/macroexp.el (macroexpand-all-1):
7436 Support compiler-macros directly. Properly follow aliases and apply
7437 the compiler macros more thoroughly.
7438 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7439 macroexpand now properly follows aliases.
7440 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7441 (cl-compiler-macroexpand): Use new prop.
7442 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7443
7444 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7445
51a5f9d8
MR
74462012-06-05 Martin Rudalics <rudalics@gmx.at>
7447
7448 * window.el (get-lru-window, get-mru-window, get-largest-window):
7449 New argument NOT-SELECTED to avoid picking the selected window.
7450 (window--display-buffer-1, window--display-buffer-2): Replace by
7451 new function window--display-buffer
7452 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
7453 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7454 Use window--display-buffer.
51a5f9d8
MR
7455 (display-buffer-use-some-window): Remove temporary dedication
7456 hack by calling get-lru-window and get-largest-window with
7457 NOT-SELECTED argument non-nil. Call window--display-buffer.
7458
08f9f738
GM
74592012-06-05 Glenn Morris <rgm@gnu.org>
7460
7461 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7462 Replace external vcdiff script.
7463
e364a2b7
SM
74642012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7465
7466 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7467
041df390
CY
74682012-06-04 Chong Yidong <cyd@gnu.org>
7469
e364a2b7
SM
7470 * image.el (imagemagick-types-inhibit): Revert last change.
7471 Add INFO and M.
47b36b94 7472 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 7473
7c1898a7
SM
74742012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * emacs-lisp/cl-lib.el: Rename from cl.el.
7477 * emacs-lisp/cl.el: New compatibility file.
7478 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7479 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7480 to obey the "cl-" prefix.
7481 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7482
0c3461de
GM
74832012-06-03 Glenn Morris <rgm@gnu.org>
7484
1e266c88
GM
7485 * emacs-lisp/authors.el (authors-aliases): Addition.
7486
0c3461de
GM
7487 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7488 Fix :version.
7489
d8a52e15
SM
74902012-06-03 Stefan Merten <smerten@oekonux.de>
7491
7492 * textmodes/rst.el: Add comments.
7493 (rst-transition, rst-adornment): New faces.
7494 (rst-adornment-faces-alist): Make default safe to reevaluate.
7495 Fixes
7496 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7497 Improve customization tags.
7498 (rst-define-level-faces): Clarify meaning.
7499
5205d6f6
CY
75002012-06-03 Chong Yidong <cyd@gnu.org>
7501
7502 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
7503 (compilation-mode-line-run, compilation-mode-line-exit):
7504 New faces.
5205d6f6
CY
7505 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7506
757ee657
JD
75072012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
7508
7c1898a7
SM
7509 * progmodes/which-func.el (which-func-update-ediff-windows):
7510 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 7511
5f2c76c6
CY
75122012-06-03 Chong Yidong <cyd@gnu.org>
7513
7514 * bindings.el: Remove explicit help text from format-mode-line.
7515 It is now supplied by mode-line-default-help-echo.
7516 (mode-line-front-space, mode-line-end-spaces)
7517 (mode-line-misc-info): New variables.
7518 (mode-line-modes, mode-line-position): Move the default value to
7519 the variable definition.
7520 (mode-line-default-help-echo): New defcustom.
383f7350
CY
7521 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7522 (mode-line-modified-help-echo): New functions.
7523 (mode-line-mule-info, mode-line-modified): Use them.
7524 (mode-line-eol-desc, propertized-buffer-identification):
7525 Consistency fixes for help text.
cbe46e5f
CY
7526 (mode-line-coding-system-map): Allow using mouse-3 to invoke
7527 set-buffer-file-coding-system (Bug#289).
7528 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 7529
f2d6a3df
SM
75302012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
7531
7532 * simple.el (execute-extended-command): Set real-this-command
7533 (bug#11506).
7534
37269466
CY
75352012-06-02 Chong Yidong <cyd@gnu.org>
7536
7537 Remove incorrect uses of "modeline" in comments, docstrings, and
7538 function/variable names (Bug#10329).
7539
7540 * cus-edit.el (mode-line):
7541 * dframe.el (dframe-mouse-hscroll):
7542 * emacs-lisp/re-builder.el:
7543 * emacs-lisp/easy-mmode.el (define-minor-mode):
7544 * frame.el (set-frame-name):
7545 * help.el (lookup-minor-mode-from-indicator):
7546 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7547 * progmodes/cc-cmds.el (c-toggle-auto-newline)
7548 (c-toggle-hungry-state):
7549 * progmodes/antlr-mode.el (antlr-language-alist):
7550 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7551 * progmodes/vhdl-mode.el (vhdl-mode):
7552 * progmodes/which-func.el (which-func, which-func-cleanup-function):
7553 * term/ns-win.el (ns-face-at-pos):
7554 * term/sup-mouse.el (sup-mouse-report):
7555 * textmodes/flyspell.el (flyspell-mode-line-string):
7556 * textmodes/ispell.el (ispell-highlight-face):
7557 * textmodes/reftex-global.el:
7558 * vc/vc-arch.el (vc-arch-mode-line-string):
7559 * vc/vc-cvs.el (vc-cvs-mode-line-string):
7560 * vc/vc-git.el (vc-git-mode-line-string):
7561 * vc/vc-hooks.el (vc-display-status)
7562 (vc-default-mode-line-string):
7563 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7564
7565 * ansi-color.el (ansi-color-faces-vector): Change default faces.
7566
7567 * dired.el (dired-sort-set-mode-line): Rename from
7568 dired-sort-set-modeline. All callers changed.
7569
7570 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7571 eshell-status-in-modeline.
7572
7573 * foldout.el (foldout-mode-line-string): Rename from
7574 foldout-modeline-string. All callers changed.
7575 (foldout-update-mode-line): Rename from foldout-update-modeline.
7576
7577 * subr.el (redraw-modeline): Make into obsolete alias.
7578
7579 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7580 timeclock-modeline-display. Make old name an alias.
7581 (timeclock-update-mode-line): Likewise. All callers changed.
7582 (timeclock-mode-line-display): No need to check before using
7583 add-hook.
7584 (timeclock-relative, timeclock-day-over-hook)
7585 (timeclock-use-elapsed, timeclock-mode-string)
7586 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7587
7588 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7589 crisp-mode-modeline-string.
7590
7591 * play/solitaire.el (solitaire-build-mode-line): Rename from
7592 solitaire-build-modeline. All callers changed.
7593
7594 * play/zone.el (zone-hiding-mode-line): Rename from
7595 zone-hiding-modeline. All callers changed.
7596 (zone): Remove unusued `modeline-hidden-level' property.
7597
7598 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7599 xscheme-modeline-initialize. All callers changed.
7600
7601 * strokes.el (strokes-lighter): Rename from
7602 strokes-modeline-string.
7603
7604 * textmodes/sgml-mode.el (html-face-tag-alist)
7605 (html-tag-face-alist): Use mode-line face instead of obsolete
7606 alias modeline.
7607
42152ee4
SM
76082012-06-02 Stefan Merten <smerten@oekonux.de>
7609
7610 * textmodes/rst.el: Always require `cl'.
4cf9b38d 7611 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 7612
95f520b5
CY
76132012-06-02 Chong Yidong <cyd@gnu.org>
7614
7615 * image.el (imagemagick-enabled-types): Rename from
7616 imagemagick-types-enable. Add many more types.
7617 (imagemagick-types-inhibit): Change default to nil.
7618 (imagemagick-filter-types): Caller changed.
7619
4a5f187a
SM
76202012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
7621
03fef3e6
SM
7622 * emacs-lisp/cl-macs.el: Use backquotes.
7623 (cl-transform-function-property): Use eval-and-compile rather than
7624 abusing `require'.
7625 (defstruct): Use declare-function instead of with-no-warnings.
7626
4a5f187a
SM
7627 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7628 (byte-compile-output-docform): Re-add the print-circle bindings.
7629 (byte-compile-fix-header): Use #$ just because it's shorter.
7630 (byte-compile-output-file-form): Remove defun/defmacro.
7631
bd56924f
MR
76322012-06-01 Martin Rudalics <rudalics@gmx.at>
7633
7634 * simple.el (choose-completion): Remove now obsolete binding for
7635 owindow.
7636
046e38ce
MA
76372012-06-01 Michael Albinus <michael.albinus@gmx.de>
7638
7639 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7640 in order to avoid "Stack overflow in regexp matcher".
7641
32d72c2f
GM
76422012-05-31 Glenn Morris <rgm@gnu.org>
7643
7644 * image.el: For clarity, call imagemagick-register-types at
7645 top-level, rather than relying on a custom :initialize.
7646 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
7647 (imagemagick-filter-types): New function. (Bug#7406)
7648 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
7649 If disabling support, remove elements altogether rather
7650 than using an impossible regexp.
7651 (imagemagick-types-inhibit): Give it the default init function.
7652
dd41169b
SM
76532012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7654
4a5f187a
SM
7655 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7656 Handle arbitrary file name lengths (Bug#11585).
dd41169b 7657
efc00ab1 76582012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
7659
7660 * desktop.el (desktop-read): Clear previous and next buffers for
7661 all windows and bury *Messages* buffer (bug#11556).
7662
500fcedc
SM
76632012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 Add `declare' for `defun'. Align `defmacro's with it.
7666 * emacs-lisp/easy-mmode.el (define-minor-mode)
7667 (define-globalized-minor-mode): Don't autoload the var definitions.
7668 * emacs-lisp/byte-run.el: Use lexical-binding.
7669 (defun-declarations-alist, macro-declarations-alist): New vars.
7670 (defmacro, defun): Use them.
7671 (make-obsolete, define-obsolete-function-alias)
7672 (make-obsolete-variable, define-obsolete-variable-alias):
7673 Use `declare'.
7674 (macro-declaration-function): Mark obsolete.
7675 * emacs-lisp/autoload.el: Use lexical-binding.
7676 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
7677
6e8a1786
AM
76782012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7679
7680 * textmodes/ispell.el (ispell-with-no-warnings):
7681 Define as a macro.
500fcedc
SM
7682 (ispell-kill-ispell, ispell-change-dictionary):
7683 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
7684 `interactive-p'.
7685
61b108cc
SM
76862012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7687
7688 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7689 (macro-declaration-function): Move var from C code.
7690 (macro-declaration-function): Define function with defalias.
7691 * emacs-lisp/macroexp.el (macroexpand-all-1):
7692 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7693 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7694 defun/defmacro any more.
7695 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7696 Provide fallback for unknown arglist.
7697 (byte-compile-arglist-warn): Change calling convention.
7698 (byte-compile-output-file-form): Move print-vars binding.
7699 (byte-compile-output-docform): Simplify accordingly.
7700 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7701 (byte-compile-defmacro-declaration): Remove.
7702 (byte-compile-file-form-defmumble): Generalize to defalias.
7703 (byte-compile-output-as-comment): Return byte-positions.
7704 Simplify callers accordingly.
7705 (byte-compile-lambda): Use `assert'.
7706 (byte-compile-defun, byte-compile-defmacro): Remove.
7707 (byte-compile-file-form-defalias):
7708 Use byte-compile-file-form-defmumble.
7709 (byte-compile-defalias-warn): Remove.
7710
6d3f7c2f
SM
77112012-05-29 Stefan Merten <smerten@oekonux.de>
7712
7713 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 7714 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
7715
7716 (rst-mode-abbrev-table): Merge definition.
7717 (rst-mode): Make sure `font-lock-defaults' is buffer local.
7718 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7719
6dbaa1c7
UJ
77202012-05-29 Ulf Jasper <ulf.jasper@web.de>
7721
7722 * calendar/icalendar.el
7723 (icalendar-export-region): Export UID properly.
7724
d209e2fb 77252012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
7726 * calendar/icalendar.el (icalendar-import-format):
7727 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
7728 (icalendar-import-format-uid): New.
7729 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7730 Export UID.
7731
6876a58d
SM
77322012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7735 different alternative patterns.
7736 (pcase-codegen): Be more careful to preserve identity.
7737 (pcase--u1): Don't forget to mark vars as used.
7738
7739 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7740 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7741 (byte-compile-from-buffer): ...rather than here.
7742
7743 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7744 functions from byte-compile-function-environment.
7745
46b7967e
TN
77462012-05-29 Troels Nielsen <bn.troels@gmail.com>
7747
7748 * window.el (window-deletable-p): Avoid deleting the root window
7749 of a frame with an active minibuffer.
7750
69d565e2
MR
77512012-05-29 Martin Rudalics <rudalics@gmx.at>
7752
7753 * simple.el (choose-completion): Use quit-window (Bug#11567).
7754
a149fa51
CY
77552012-05-29 Chong Yidong <cyd@gnu.org>
7756
7757 * whitespace.el (whitespace-cleanup): Fix usage of
7758 whitespace-empty-at-bob-regexp (Bug#11492).
7759
2b311310
AH
77602012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7761
7762 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7763 revert (Bug#11488).
7764
b9cb2387
JL
77652012-05-29 Juri Linkov <juri@jurta.org>
7766
7767 * isearch.el (isearch-mode-map): Bind `M-s _' to
7768 `isearch-toggle-symbol'. Bind `M-s c' to
7769 `isearch-toggle-case-fold'.
7770 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7771 (isearch-forward): Add `M-s _' to the docstring.
7772 (isearch-forward-symbol, isearch-toggle-case-fold)
7773 (isearch-symbol-regexp): New functions. (Bug#11381)
7774
d5e61c1c
JL
77752012-05-29 Juri Linkov <juri@jurta.org>
7776
7777 * isearch.el (isearch-word): Add docstring. (Bug#11381)
7778 (isearch-occur, isearch-search-and-update): If `isearch-word' is
7779 a function, call it to get the regexp.
7780 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7781 property `isearch-message-prefix' instead of the string "word ".
7782 (isearch-search-fun-default): For the case of `isearch-word',
7783 return a lambda that calls re-search-forward/re-search-backward
7784 with a regexp returned by `word-search-regexp' or by the function
7785 in `isearch-word'.
7786
8cbd80f7
JL
77872012-05-29 Juri Linkov <juri@jurta.org>
7788
7789 * isearch.el (isearch-search-fun-default): New function.
7790 (isearch-search-fun): Move default part to the new function
7791 `isearch-search-fun-default'.
7792 (isearch-search-fun-function): Set the default value to
7793 `isearch-search-fun-default'. (Bug#11381)
7794
7795 * comint.el (comint-history-isearch-end):
7796 Use `isearch-search-fun-default'.
7797 (comint-history-isearch-search): Use `isearch-search-fun-default'
7798 and remove spacial case for `isearch-word'.
7799 (comint-history-isearch-wrap): Remove spacial case for
7800 `isearch-word'.
7801
7802 * hexl.el (hexl-isearch-search-function):
7803 Use `isearch-search-fun-default'.
7804
7805 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7806 Use `word-search-regexp' for `isearch-word'.
7807
7808 * misearch.el (multi-isearch-search-fun):
7809 Use `isearch-search-fun-default'.
7810
7811 * simple.el (minibuffer-history-isearch-search):
7812 Use `isearch-search-fun-default' and remove spacial case for
7813 `isearch-word'.
7814 (minibuffer-history-isearch-wrap): Remove spacial case for
7815 `isearch-word'.
7816
7817 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7818 Remove spacial case for `isearch-word'.
7819 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7820
85c8c5b6
AM
78212012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7822
7823 Decrease XEmacs incompatibilities.
7824 * textmodes/flyspell.el (flyspell-check-pre-word-p):
7825 Use `string-match'.
7826 (flyspell-delete-region-overlays): Use alternative definition for
7827 XEmacs.
7828 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7829 (flyspell-word): Use `process-kill-without-query' if XEmacs.
7830 (flyspell-mode-on): Use `interactive-p' if XEmacs.
7831 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7832 `define-obsolete-face-alias' under XEmacs, but old method.
7833
7834 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7835 `with-no-warnings' definition or Emacs alias.
7836 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7837 (ispell-word): Do not use `region-p' if XEmacs.
7838
8cab9efc
AM
78392012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7840
7841 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7842 Check for `ispell-dictionary-base-alist' instead of full
7843 `ispell-dictionary-alist'.
7844 (ispell-init-process): Show spellchecker when starting new Ispell
7845 process.
7846
fda91268
RZ
78472012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7850 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7851
694ea8e3
JB
78522012-05-27 Juanma Barranquero <lekktu@gmail.com>
7853
7854 * version.el (motif-version-string, gtk-version-string)
7855 (ns-version-string): Declare.
7856
e4d4f539
JL
78572012-05-27 Juri Linkov <juri@jurta.org>
7858
7859 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7860 after the `eval-defun-1' specialcaseing
7861 like in `edebug-eval-defun' (bug#10181).
7862
7863 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7864 like in `eval-defun-1'.
7865
33017faf 78662012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 7867
fda91268
RZ
7868 * mail/sendmail.el (mail-yank-region):
7869 Recognize rmail-yank-current-message in addition to insert-buffer.
7870 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
7871 a *mail* buffer created through rmail-start-mail with sendmail as
7872 mail-user-agent.
7873
33017faf
GM
78742012-05-27 Chong Yidong <cyd@gnu.org>
7875
7876 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7877 Default to 256 (Bug#11267).
7878
7879 * help.el (describe-mode): Doc fix.
7880
04188bb9
GM
78812012-05-26 Glenn Morris <rgm@gnu.org>
7882
38264cc9
GM
7883 * w32-fns.el (w32-init-info): Remove.
7884 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7885
eb7afdad
GM
7886 * info.el (info-initialize): For self-contained NS builds, put the
7887 included info/ directory at the front. (Bug#2791)
7888
04188bb9
GM
7889 * paths.el (Info-default-directory-list): Make it a defcustom,
7890 mainly so that we can use custom-initialize-delay.
7891
a179e3f7
SM
78922012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
7893
43416392
SM
7894 * subr.el (buffer-has-markers-at): Mark obsolete.
7895
a179e3f7 7896 * subr.el (lambda): Use declare.
43416392 7897
a179e3f7
SM
7898 * emacs-lisp/lisp-mode.el (lambda):
7899 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7900
34a008d9
AH
79012012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7902
7903 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
7904
0a3b289f
GM
79052012-05-26 Glenn Morris <rgm@gnu.org>
7906
7907 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7908
758c81e8
GM
79092012-05-25 Glenn Morris <rgm@gnu.org>
7910
f9f334f0
GM
7911 * paths.el: Remove no-byte-compile.
7912 * loadup.el: No need to load paths.el uncompiled.
7913
87eb79c2
GM
7914 * image.el (imagemagick-types-inhibit): Doc fix.
7915
758c81e8
GM
7916 * version.el: Remove no-byte-compile and associated formatting.
7917 * loadup.el: No need to load version.el uncompiled. AFAICS, this
7918 is ancient code from when there was an "inc-vers.el".
7919
e7e85dc0
SM
79202012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * progmodes/gdb-mi.el: Minor style changes.
7923 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7924 Turn into minor modes.
7925 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7926 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7927 (gdb-shell): Remove unneeded let-binding.
7928 (gdb-get-many-fields): Eliminate O(n²) behavior.
7929
f31237a4
EZ
79302012-05-25 Eli Zaretskii <eliz@gnu.org>
7931
7932 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7933 platforms that don't link in fontset.c.
7934
bc1b21bb
JL
79352012-05-25 Juri Linkov <juri@jurta.org>
7936
7937 Use the same diff color scheme as in modern VCSes (bug#10181).
7938
7939 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
7940 to avoid confusion with `diff-added' that now uses green colors.
7941 (diff-removed): Use shades of red.
7942 (diff-added): Use shades of green.
7943 (diff-changed): Leave just the yellow color.
7944 (diff-use-changed-face): New variable.
7945 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
7946 how to highlight context diff changes.
7947 (diff-refine-change): Use shades of yellow.
7948 (diff-refine-removed): New face that uses shades of red.
7949 (diff-refine-added): New face that uses shades of green.
7950 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
7951 `diff-refine-removed' in the call to `smerge-refine-subst'
7952 depending on the value of `diff-use-changed-face'.
7953
7954 * vc/smerge-mode.el (smerge-mine): Use shades of red.
7955 (smerge-other): Use shades of green.
7956 (smerge-base): Use shades of yellow.
7957 (smerge-refined-change): Empty face.
7958 (smerge-refined-removed): New face that uses shades of red.
7959 (smerge-refined-added): New face that uses shades of green.
7960 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
7961 args `props-r' and `props-a', and use them. Doc fix.
7962 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
7963 on its value use different faces `smerge-refined-change',
7964 `smerge-refined-removed', `smerge-refined-added' in the call to
7965 `smerge-refine-subst'.
7966
7967 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
7968 Add face condition `min-colors 88' with shades of red.
7969 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
7970 `min-colors 88' with shades of green.
7971 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
7972 `min-colors 88' with shades of yellow.
7973
6df9112c
GM
79742012-05-24 Glenn Morris <rgm@gnu.org>
7975
ead5edc0
GM
7976 * paths.el (prune-directory-list, remote-shell-program): Move to...
7977 * files.el (prune-directory-list, remote-shell-program): ...here.
7978 For the latter, delay initialization, prefer ssh, just search PATH.
7979
f18b81e6
GM
7980 * paths.el (term-file-prefix): Move to faces.el (the only user).
7981 * faces.el (term-file-prefix): Move here, make it a defcustom.
7982
ee2f89a6
GM
7983 * paths.el (news-directory, news-path, news-inews-program):
7984 Move to gnus/nnspool.el.
61a583ca 7985
f8815e4c
GM
7986 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
7987
c8f3b42c
GM
7988 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
7989 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
7990 Make the latter a defcustom, with a delayed initialization.
7991
6df9112c
GM
7992 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
7993 These were deleted from Gnus itself late 2010.
7994
5dadff36
JB
79952012-05-22 Juanma Barranquero <lekktu@gmail.com>
7996
9e1701c6
JB
7997 * progmodes/which-func.el (which-func-ff-hook):
7998 Check against user-error, not error.
7999
bd7239f5 8000 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
8001 cl-specs.el, which no longer exists.
8002
3290526d
GM
80032012-05-22 Glenn Morris <rgm@gnu.org>
8004
8005 * info.el (info-emacs-bug): New command.
8006 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8007 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8008
ff0c3cfb
GM
80092012-05-21 Glenn Morris <rgm@gnu.org>
8010
8011 * makefile.w32-in (update-subdirs-SH):
8012 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8013
5814f126
SM
80142012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8015
a52c0aa0
SM
8016 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8017
5814f126
SM
8018 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8019 Simplify Maven regexp, and make sure the file can't start with a space
8020 (bug#11517).
8021
b847032c
GM
80222012-05-21 Glenn Morris <rgm@gnu.org>
8023
8024 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8025 Scrap superfluous subshells.
8026
3858bfe7
SM
80272012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8028
8029 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8030 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8031
d14b0029
JB
80322012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8033
8034 * calc/calc.el (calc-ensure-consistent-units): New variable.
8035
a52c0aa0
SM
8036 * calc/calc-units.el (math-consistent-units-p)
8037 (math-check-unit-consistency): New functions.
8038 (calc-quick-units, calc-convert-units):
8039 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8040 is non-nil.
d14b0029
JB
8041 (calc-extract-units): Fix typo.
8042
60c4db3a
SM
80432012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8044
77f3b62e
SM
8045 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8046
60c4db3a
SM
8047 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8048 (flyspell-default-deplacement-commands): Don't spell check after
8049 repeated window/frame switches (e.g. triggered by mouse-movement).
8050 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8051 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8052 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8053 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8054 Remove unused vars.
8055 (flyspell-get-casechars, flyspell-get-not-casechars):
8056 Simplify; Don't bother removing a ] just to add it back.
8057 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8058
d209e2fb 80592012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
8060
8061 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8062 New functions.
bd7239f5 8063 (math-function-table): Add support for more C functions.
b1a10716 8064
3f1b25b5
AM
80652012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8066
090bd7cb
JB
8067 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8068 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8069 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 8070
b581bb5c
SM
80712012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8074 their respective macro declarations.
8075 * skeleton.el (define-skeleton):
8076 * progmodes/compile.el (define-compilation-mode):
8077 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8078 (define-ibuffer-filter):
8079 * emacs-lisp/generic.el (define-generic-mode):
8080 * emacs-lisp/easy-mmode.el (define-minor-mode)
8081 (define-globalized-minor-mode):
8082 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8083 * emacs-lisp/byte-run.el (defsubst):
8084 * custom.el (deftheme): Add doc-string metadata.
8085
70b8ef8f
SM
80862012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8087
8088 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8089
b1198e17
SM
80902012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8091
9abdc45d
SM
8092 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8093
b1198e17
SM
8094 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8095 * emacs-lisp/cl-macs.el: Idem.
8096 * emacs-lisp/cl-specs.el: Remove.
8097
4735906a
SM
80982012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8099
8100 Minor renaming of internal CL functions and variables.
8101 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8102 (cl--position): Rename from cl-position.
8103 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8104 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8105 (cl--random-state): Rename from *random-state*.
8106
ac348012
SM
81072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8108
8109 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8110 parens around the arg list (bug#11499).
8111
a0a79cde
JL
81122012-05-17 Juri Linkov <juri@jurta.org>
8113
8114 * isearch.el (word-search-regexp, word-search-backward)
8115 (word-search-forward, word-search-backward-lax)
8116 (word-search-forward-lax): Move functions from search.c
8117 (bug#10145, bug#11381).
8118
65034a51
AM
81192012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8120
090bd7cb
JB
8121 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8122 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8123 Delay for otherchars as for normal word components.
65034a51 8124
1a72a195
SM
81252012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8126
8127 * minibuffer.el (completion--sifn-requote): Fix last change.
8128 (minibuffer-local-must-match-filename-map):
8129 Move define-obsolete-variable-alias before its var.
8130
fdb058c2
SM
81312012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8132
c41045e6
SM
8133 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8134
036dfb8b
SM
8135 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8136 behavior.
8137 (completion--string-equal-p): New function.
8138 (completion--twq-all): Use it to get better assertion failure data.
8139
2473256d
SM
8140 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8141 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8142 (shell--requote-argument): New functions.
8143 (shell-completion-vars): Use them.
8144 (shell--parse-pcomplete-arguments): Rename from
8145 shell-parse-pcomplete-arguments.
8146 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8147 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8148 Obey comint-file-name-quote-list.
8149
fdb058c2
SM
8150 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8151 (smie-indent-keyword): Use it.
8152
51fa99f1
SM
81532012-05-14 Stefan Merten <smerten@oekonux.de>
8154
8155 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8156
e18afed7 81572012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
8158
8159 * net/rlogin.el (rlogin-mode-map): Fix last change.
8160
e18afed7 81612012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
8162
8163 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8164 the following \r\n using a single `process-send-string', since the
8165 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 8166 with two `process-send-string's (Bug#11444).
8633b1f4 8167
e18afed7 81682012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 8169
fdb058c2
SM
8170 * shell.el (shell-parse-pcomplete-arguments):
8171 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 8172
2d21d7f6
WJ
81732012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8174
e18afed7 8175 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
8176 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8177 (image-transform-width, image-transform-fit-width): New functions.
8178 (image-transform-properties): Use them.
8179 (image-transform-check-size): New function.
8180 (image-toggle-display-image): Use it (for testing).
8181 (image-transform-set-rotation): Reduce angle mod 360.
8182 Delete obsolete comment.
8183
7102e6d0
WJ
81842012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8185
8186 * image-mode.el: Fix scaling (bug#11399).
8187 (image-transform-resize): Doc fix.
8188 (image-transform-properties): Default scale is 1 and height should
8189 be an integer.
8190
06bc5e6e
SM
81912012-05-13 Johan Bockgård <bojohan@gnu.org>
8192
8193 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8194 than hard-coding `car', to fix misbehavior when moving forward.
8195
0ae03b6a
CY
81962012-05-13 Chong Yidong <cyd@gnu.org>
8197
8198 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8199 (tabulated-list-entries, tabulated-list-padding)
8200 (tabulated-list-sort-key): Make permanent-local.
8201
8202 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8203 (electric-buffer-list): Put electric buffer menu
8204 command descriptions in this docstring, instead of the docstring
8205 of electric-buffer-menu-mode. Code cleanups.
8206 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8207 Electric-buffer-menu-mode.
8208 (electric-buffer-update-highlight): Minor code cleanup.
8209
205a7391
MA
82102012-05-13 Michael Albinus <michael.albinus@gmx.de>
8211
8212 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8213 (Bug#11447)
8214
e5bd0a28
SM
82152012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8216
8217 Move define-obsolete-variable-alias before the var's definition.
8218 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8219 * tooltip.el (tooltip-hook):
8220 * textmodes/reftex-toc.el (reftex-toc-map):
8221 * textmodes/reftex-sel.el (reftex-select-label-map)
8222 (reftex-select-bib-map):
8223 * textmodes/reftex-index.el (reftex-index-map)
8224 (reftex-index-phrases-map):
8225 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8226 * progmodes/meta-mode.el (meta-mode-map):
8227 * novice.el (disabled-command-hook):
8228 * loadhist.el (unload-hook-features-list):
8229 * frame.el (blink-cursor):
8230 * files.el (find-file-not-found-hooks, write-file-hooks)
8231 (write-contents-hooks):
8232 * emulation/tpu-edt.el (GOLD-map):
8233 * emacs-lock.el (emacs-lock-from-exiting):
8234 * emacs-lisp/generic.el (generic-font-lock-defaults):
8235 * emacs-lisp/chart.el (chart-map):
8236 * dos-fns.el (register-name-alist):
8237 * dired-x.el (dired-omit-files-p):
8238 * desktop.el (desktop-enable):
8239 * cus-edit.el (custom-mode-hook):
8240 * buff-menu.el (buffer-menu-mode-hook):
8241 * bookmark.el (bookmark-read-annotation-text-func)
8242 (bookmark-exit-hooks):
8243 * allout.el (allout-mode-deactivate-hook)
8244 (allout-exposure-change-hook, allout-structure-added-hook)
8245 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8246 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8247 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8248 comes before the corresponding variable's definition.
8249
ac59c2f6
CY
82502012-05-12 Chong Yidong <cyd@gnu.org>
8251
8252 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
8253 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8254 (Buffer-menu-mode-map): Bind it.
8255 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 8256
dee6c9a3
SM
82572012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8258
2171cea5
SM
8259 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
8260 (prolog-upper-case-string, prolog-lower-case-string)
8261 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8262 (prolog-use-smie, prolog-smie-grammar): New vars.
8263 (prolog-smie-forward-token, prolog-smie-backward-token)
8264 (prolog-smie-rules): New funs.
8265 (prolog-comment-indent): Remove.
8266 (prolog-mode-variables): Use default comment indentation instead.
8267 Setup SMIE.
8268 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8269 (prolog-mode): Don't call them any more.
8270 (prolog-electric-colon, prolog-electric-dash)
8271 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8272
aa0382bd
SM
8273 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8274
dbacb4bd
SM
8275 * minibuffer.el (completion--twq-all): Again, allow case differences.
8276
13bdd94c
SM
8277 * term.el: Move keymap initialization code to be more idiomatic.
8278 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8279 (term-terminal-menu): Move initialization into declaration.
8280 (term-escape-char): Let the user set it in her .emacs.
8281
ff46c759
SM
8282 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8283 Provide SMIE-based indentation (not enabled by default yet).
8284 (sh-mode-map): Don't bind electric keys.
8285 Use electric-pair-mode instead of skeleton-pair.
8286 (sh-assignment-regexp): Fit within 80 columns.
8287 (sh-indent-supported): Specify actual shell name instead of boolean.
8288 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8289 (sh-maybe-here-document): Use it. Make obsolete.
8290 (sh-electric-here-document-mode) New minor mode.
8291 (sh-mode): Use it. Don't set sh-indent-supported-here here.
8292 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8293 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8294 (sh-smie-rc-grammar, sh-use-smie): New vars.
8295 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8296 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8297 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8298 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8299 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8300 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8301 (sh-set-shell): Use smie-setup if requested.
8302
dee6c9a3
SM
8303 * term.el (term-set-escape-char): Properly set term-escape-char.
8304 See http://stackoverflow.com/questions/10524656.
8305
9f9aa044
CY
83062012-05-10 Chong Yidong <cyd@gnu.org>
8307
8308 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8309 Use url-generic-parse-url, and handle host names and Windows
8310 filenames properly.
8311 (ffap-url-unwrap-remote): Use url-generic-parse-url.
8312 (ffap-url-unwrap-remote): Accept list values, specifying a list of
8313 URL schemes to work on.
8314 (ffap--toggle-read-only): New function.
8315 (ffap-read-only, ffap-read-only-other-window)
8316 (ffap-read-only-other-frame): Use it.
8317 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8318 necessary for ffap-url-unwrap-remote.
8319
836d29b3
DA
83202012-05-10 Dave Abrahams <dave@boostpro.com>
8321
8322 * cus-start.el (create-lockfiles): Add it.
8323
00fd78ed
CY
83242012-05-09 Chong Yidong <cyd@gnu.org>
8325
8326 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8327 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8328
666b903b 83292012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
8330
8331 * shell.el (shell-completion-vars): Fix last change (bug#11348).
8332
666b903b 83332012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
8334
8335 * ansi-color.el (ansi-color-process-output): Check for validity of
8336 comint-last-output-start before using it. This avoids a bad
8337 interaction with gdb-mi's input/output buffer.
8338
666b903b 83392012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
8340
8341 * files.el (dir-locals-read-from-file):
8342 Mention dir-locals in any error message.
8343
666b903b 83442012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
8345
8346 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8347 package (Bug#11410).
8348
f677562b
CY
8349 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8350 variables into description.
8351
666b903b 83522012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
8353
8354 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8355 shell-delimiter-argument-list (bug#11348).
8356 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8357
b499d8d0
JB
83582012-05-09 Juanma Barranquero <lekktu@gmail.com>
8359
8f6b6da8
JB
8360 * textmodes/rst.el: Silence byte-compiler warnings.
8361 (rst-re-alist, rst-reset-section-caches): Move around.
8362 (rst-re): Use `characterp', not `char-valid-p'.
8363 (font-lock-beg, font-lock-end): Declare.
8364
4824146a
JB
8365 * progmodes/idlw-shell.el (specs): Remove reference to deleted
8366 variable `idlwave-shell-activate-alt-keybindings' and simplify.
8367
b499d8d0
JB
8368 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8369
ad89bb83
GM
83702012-05-08 Glenn Morris <rgm@gnu.org>
8371
8372 * files.el (auto-mode-alist): Treat ".make" like ".mk".
8373
8bba5a75
SM
83742012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8375
49ed9c8e
SM
8376 * vc/log-edit.el: Add GNU coding standards highlighting.
8377 (log-edit-font-lock-gnu-style)
8378 (log-edit-font-lock-gnu-keywords): New vars.
8379 (log-edit-font-lock-keywords): New fun.
8380 (log-edit-mode): Don't fold case in font-lock.
8381 (log-edit-font-lock-keywords): Do not assume case-folding.
8382
07d00b56
SM
8383 * imenu.el: Misc cleanup. Make docstrings out of comments.
8384 Use lexical-binding.
8385 (imenu--index-alist, imenu--last-menubar-index-alist)
8386 (imenu-menubar-modified-tick): Use defvar-local.
8387 (imenu--split-menu): Remove unused var.
8388 (imenu--cleanup-seen): Declare as global.
8389 (imenu--cleanup): Use dolist.
8390
8bba5a75
SM
8391 * subr.el (defvar-local): Add debug spec and doc-string position.
8392
5075bdb5
GM
83932012-05-08 Glenn Morris <rgm@gnu.org>
8394
090bd7cb 8395 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
8396 * language/english.el, language/georgian.el, language/greek.el:
8397 * language/japanese.el, language/khmer.el, language/korean.el:
8398 * language/lao.el, language/misc-lang.el, language/romanian.el:
8399 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8400 * language/thai.el, language/utf-8-lang.el:
8401 Remove no-byte-compile setting.
8402
5075bdb5
GM
8403 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
8404
06f679a7
AH
84052012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8406
8407 * progmodes/make-mode.el (makefile-browse):
8408 Remove unnecessary interactive. (Bug#11324)
8409
03794570
GM
84102012-05-07 Glenn Morris <rgm@gnu.org>
8411
af8630f4
GM
8412 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8413
03794570
GM
8414 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8415
f0809a9d
SM
84162012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8417
28be5ce7
SM
8418 * loadup.el: Preload newcomment.el.
8419 * newcomment.el: Move autoload-only code to toplevel.
8420
f0809a9d
SM
8421 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8422 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8423 Handle new :right-align column property.
8424 (tabulated-list-print-col): Idem, plus use `display' text-property to
8425 try and preserve alignment for variable pitch fonts.
8426
1241b724
CY
84272012-05-07 Chong Yidong <cyd@gnu.org>
8428
8429 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8430 (tabulated-list-use-header-line): New var.
8431 (tabulated-list-init-header): Use it.
8432 (tabulated-list-print-fake-header): New function.
8433 (tabulated-list-print): Use it.
8434 (tabulated-list-sort-button-map): Add non-header-line commands.
8435 (tabulated-list-init-header): Add column name property to basic
8436 labels as well.
8437 (tabulated-list-col-sort): Handle non-header-line button case.
8438 (tabulated-list--sort-by-column-name): Fix a corner case.
8439
f0809a9d
SM
8440 * buff-menu.el (list-buffers--refresh):
8441 Handle Buffer-menu-use-header-line.
1241b724 8442
e5f9458f
CY
84432012-05-06 Chong Yidong <cyd@gnu.org>
8444
8445 * buff-menu.el: Convert to Tabulated List mode.
8446 (Buffer-menu-buffer+size-width): Make obsolete.
8447 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8448 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8449 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
8450 documentation into docstring of buffer-menu.
8451 (Buffer-menu-toggle-files-only): Add an informative message.
8452 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8453 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8454 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8455 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8456 (Buffer-menu-execute, Buffer-menu-select)
8457 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8458 (Buffer-menu-bury): Use Tabulated List machinery.
8459 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8460 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 8461 Delete.
e5f9458f
CY
8462 (list-buffers--refresh): New function.
8463 (list-buffers-noselect): Use it.
8464 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8465 (Buffer-menu--pretty-file-name): New helper functions.
8466
8467 * loadup.el: Preload tabulated-list.
8468
8469 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8470 tabulated-list-sort-column.
8471 (tabulated-list-init-header): Add the initial aligning space even
8472 if tabulated-list-padding is zero.
8473
e129292c
CS
84742012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
8475
8476 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8477 whose cdr is not a cons cell correctly (bug#11038).
8478
6632d361
CY
84792012-05-06 Chong Yidong <cyd@gnu.org>
8480
e129292c
CS
8481 * emacs-lisp/tabulated-list.el (tabulated-list-format):
8482 Accept additional plist in column descriptors.
6632d361
CY
8483 (tabulated-list-init-header): Obey it.
8484 (tabulated-list-get-entry): New function.
8485 (tabulated-list-put-tag): Use it. Use string-width instead of
8486 length.
8487 (tabulated-list--column-number): New function.
8488 (tabulated-list-print): Use it.
e129292c
CS
8489 (tabulated-list-print-col): New function.
8490 Set `tabulated-list-column-name' property on each column's text.
6632d361 8491 (tabulated-list-print-entry): Use it.
e129292c
CS
8492 (tabulated-list-delete-entry, tabulated-list-set-col):
8493 New functions.
6632d361
CY
8494 (tabulated-list-sort-column): New command (Bug#11337).
8495
3cc99f68
CY
8496 * buff-menu.el (list-buffers): Move C-x C-b binding from
8497 buff-menu.el to bindings.el.
8498
8499 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8500 :advertised-binding feature.
8501
52b61776
TN
85022012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
8503
8504 * progmodes/compile.el (compilation-internal-error-properties):
8505 Calculate start position correctly when end-col is set but
8506 end-line is not (Bug#11382).
8507
ebfe2597
WJ
85082012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
8509
8510 * man.el (Man-unindent): Use text-property-default-nonsticky to
8511 prevent untabify from inheriting face properties (Bug#11408).
8512
6d3f7c2f
SM
85132012-05-05 Stefan Merten <smerten@oekonux.de>
8514
8515 * textmodes/rst.el: Major merge with upstream development up to
8516 Docutils SVN r7399 / rst.el V1.2.1.
8517
8518 Clarify maintainership and authors.
8519
8520 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8521 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8522 (rst-official-version, rst-official-cvs-rev, rst-version)
8523 (rst-package-emacs-version-alist): New functions and variables
8524 for version information.
8525
8526 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8527 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8528 (rst-mode-syntax-table, rst-mode): New and corrected functions
8529 and variables representing reStructuredText features.
8530
8531 (rst-re): New function for reStructuredText regexes. Use in
8532 many places.
8533
8534 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8535 (rst-mode-map): Rebind keys.
8536
8537 (rst-mode-lazy, rst-font-lock-keywords)
8538 (rst-font-lock-extend-region)
8539 (rst-font-lock-extend-region-internal)
8540 (rst-font-lock-extend-region-extend)
8541 (rst-font-lock-find-unindented-line-limit)
8542 (rst-font-lock-find-unindented-line-match)
8543 (rst-adornment-level, rst-font-lock-adornment-level)
8544 (rst-font-lock-adornment-match)
8545 (rst-font-lock-handle-adornment-pre-match-form)
8546 (rst-font-lock-handle-adornment-matcher): Major revision of
8547 font-locking. Integrate with other code. Use `jit-lock-mode'.
8548
8549 (rst-preferred-adornments, rst-adjust-hook)
8550 (rst-new-adornment-down, rst-preferred-bullets)
8551 (rst-preferred-bullets, rst-indent, rst-indent-width)
8552 (rst-indent-field, rst-indent-literal-normal)
8553 (rst-indent-literal-minimized, rst-indent-comment): Change,
8554 extend and improve customization.
8555
8556 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8557 (rst-normalize-cursor-position, rst-get-decoration)
8558 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8559 (rst-rstrip, rst-toc-insert-find-delete-contents)
8560 (rst-shift-fill-region, rst-compute-bullet-tabs)
8561 (rst-debug-print-tabs, rst-debug-mark-found)
8562 (rst-shift-region-guts, rst-shift-region-right)
8563 (rst-shift-region-left, rst-use-char-classes)
8564 (rst-font-lock-keywords-function)
8565 (rst-font-lock-indentation-point)
8566 (rst-font-lock-find-unindented-line-begin)
8567 (rst-font-lock-find-unindented-line-end)
8568 (rst-font-lock-find-unindented-line)
8569 (rst-font-lock-adornment-point, rst-font-lock-level)
8570 (rst-adornment-level-alist): Remove functions and variables.
8571
8572 (rst-compare-adornments, rst-get-adornment-match)
8573 (rst-suggest-new-adornment, rst-get-adornments-around)
8574 (rst-adornment-complete-p, rst-get-next-adornment)
8575 (rst-adjust-adornment, rst-display-adornments-hierarchy)
8576 (rst-straighten-adornments): Standardize function names to
8577 use "adornment" instead of "decoration". Correct callers.
8578 Similar standardizing in many places.
8579
8580 (rst-update-section, rst-adjust, rst-promote-region)
8581 (rst-enumerate-region, rst-bullet-list-region)
8582 (rst-repeat-last-character): Correct use of `interactive'.
8583
8584 (rst-classify-adornment, rst-find-all-adornments)
8585 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8586 (rst-find-leftmost-column, rst-repeat-last-character):
8587 Refactor functions.
8588
8589 (rst-find-title-line, rst-reset-section-caches)
8590 (rst-get-adornments-around, rst-adjust-adornment-work)
8591 (rst-arabic-to-roman, rst-roman-to-arabic)
8592 (rst-insert-list-pos, rst-insert-list-new-item)
8593 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8594 New functions.
8595
8596 (rst-all-sections, rst-section-hierarchy)
8597 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8598 New variables.
8599
8600 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8601 configuration instead of only buffer. Change where necessary.
8602
8603 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8604 (rst-shift-region, rst-adaptive-fill): New functions for
8605 indentation and filling.
8606
8607 (rst-comment-line-break, rst-comment-indent)
8608 (rst-comment-insert-comment, rst-comment-region)
8609 (rst-uncomment-region): New functions for handling comments.
8610
8611 (rst-compile): Quote shell arguments.
8612
8613 (rst-compile-pdf-preview, rst-compile-slides-preview):
8614 Delete temporary files after use.
8615
a43f98b3
GM
86162012-05-05 Glenn Morris <rgm@gnu.org>
8617
48176e8b
GM
8618 * calendar/cal-html.el: Optionally include holidays in the output.
8619 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8620 (cal-html-holidays): New option.
8621 (cal-html-css-default): Add holiday entry.
8622 (holiday-in-range): Autoload it.
8623 (cal-html-htmlify-entry): Add optional class argument.
8624 (cal-html-htmlify-list): Add optional holidays argument.
8625 (cal-html-insert-agenda-days): Include holidays in the output.
8626 (cal-html-one-month): Maybe include holidays.
8627
a43f98b3
GM
8628 * calendar/holidays.el (holiday-in-range):
8629 Move here from cal-tex-list-holidays.
8630 * calendar/cal-tex.el (cal-tex-list-holidays):
8631 Make it an obsolete alias for holiday-in-range. Update all callers.
8632
fef9d149 86332012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
8634
8635 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8636 Nextstep.
8637
248da2f4
RW
86382012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
8639
8640 * files.el (file-auto-mode-skip): New var.
8641 (set-auto-mode-1): Use it.
8642
f95e9344
SM
86432012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8644
df96ab1e
SM
8645 * repeat.el: Use lexical-binding.
8646 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8647 (repeat-undo-count): Remove.
8648 (repeat):
8649 * progmodes/octave-mod.el (octave-abbrev-start):
8650 * progmodes/f90.el (f90-abbrev-start):
8651 * face-remap.el (text-scale-adjust):
8652 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8653
5342bb06
SM
8654 * emacs-lisp/pcase.el (pcase--let*): New function.
8655 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8656 a bit more.
8657 (pcase--split-pred): Be more clever about ruling out overlap between
8658 a predicate and some constant pattern.
8659 (pcase--q1): Use `null' instead of (eq foo nil).
8660
f95e9344
SM
8661 * subr.el (setq-local, defvar-local): New macros.
8662 (kbd): Redefine as an alias.
8663 (with-selected-window): Leave unrelated frames alone.
8664 (set-temporary-overlay-map): New function.
8665
71873e2b
SM
86662012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * subr.el (user-error): New function.
8669 * window.el (switch-to-buffer):
8670 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8671 (smerge-match-conflict):
8672 * simple.el (previous-matching-history-element)
8673 (next-matching-history-element, goto-history-element, undo-more)
8674 (undo-start):
8675 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8676 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8677 (next-file, tags-loop-scan, list-tags, complete-tag):
8678 * progmodes/compile.el (compilation-loop):
8679 * mouse.el (mouse-minibuffer-check):
8680 * man.el (Man-bgproc-sentinel, Man-goto-page):
8681 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8682 (Info-history-forward, Info-follow-reference, Info-menu)
8683 (Info-extract-menu-item, Info-extract-menu-counting)
8684 (Info-forward-node, Info-backward-node, Info-next-menu-item)
8685 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8686 (Info-next-reference, Info-prev-reference, Info-index)
8687 (Info-index-next, Info-follow-nearest-node)
8688 (Info-copy-current-node-name):
8689 * imenu.el (imenu--make-index-alist)
8690 (imenu-default-create-index-function, imenu-add-to-menubar):
8691 * files.el (basic-save-buffer, recover-file):
8692 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8693 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8694 (checkdoc-message-text, checkdoc-defun):
8695 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8696 * cus-edit.el (customize-changed-options, customize-rogue)
8697 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8698 (custom-variable-mark-to-reset-standard)
8699 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8700 (custom-file):
8701 * completion.el (check-completion-length):
8702 * comint.el (comint-search-arg)
8703 (comint-previous-matching-input-string-position)
8704 (comint-previous-matching-input)
8705 (comint-replace-by-expanded-history-before-point, comint-send-input)
8706 (comint-copy-old-input, comint-backward-matching-input)
8707 (comint-goto-process-mark, comint-set-process-mark):
8708 * calendar/calendar.el (calendar-cursor-to-date): Use it.
8709 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8710
8a61ee22
SM
87112012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8712
66408d1e
SM
8713 * dabbrev.el (dabbrev--ignore-case-p): New function.
8714 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8715 Use it.
8716
8a61ee22
SM
8717 * files.el (automount-dir-prefix): Mark as obsolete.
8718
3c74813a
GM
87192012-05-04 Glenn Morris <rgm@gnu.org>
8720
8721 * patcomp.el, play/bruce.el: Move to obsolete/.
8722
0bfcf5c5
PE
87232012-05-04 Paul Eggert <eggert@cs.ucla.edu>
8724
8725 Fix minor Y10k bugs.
8726 * arc-mode.el (archive-unixdate):
8727 * autoinsert.el (auto-insert-alist):
8728 * calc/calc-forms.el (math-this-year):
8729 * emacs-lisp/copyright.el (copyright-current-year)
8730 (copyright-update-year, copyright):
8731 * tar-mode.el (tar-clip-time-string):
8732 * time.el (display-time-update):
8733 Don't assume years have 4 digits.
8734
78f3273a
CY
87352012-05-04 Chong Yidong <cyd@gnu.org>
8736
8737 * dos-w32.el (file-name-buffer-file-type-alist)
8738 (direct-print-region-use-command-dot-com):
8739 * ffap.el (ffap-menu-regexp):
8740 * find-file.el (ff-special-constructs):
8741 * follow.el (follow-debug):
8742 * forms.el (forms--debug):
8743 * iswitchb.el (iswitchb-all-frames):
8744 * ido.el (ido-all-frames):
8745 * emacs-lisp/timer.el (timer-max-repeats):
8746 * mail/feedmail.el (feedmail-mail-send-hook)
8747 (feedmail-mail-send-hook-queued):
8748 * mail/footnote.el (footnote-signature-separator):
8749 * mail/mailabbrev.el (mail-alias-separator-string)
8750 (mail-abbrev-mode-regexp):
8751 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8752 * progmodes/idlwave.el (idlwave-libinfo-file)
8753 (idlwave-default-completion-case-is-down)
8754 (idlwave-library-routines): Convert defvars to defcustoms.
8755
8756 * mail/rmail.el (rmail-decode-mime-charset):
8757 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8758 (idlwave-shell-fix-inserted-breaks)
8759 (idlwave-shell-activate-alt-keybindings)
8760 (idlwave-shell-use-breakpoint-glyph):
8761 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8762
f7ae6719
SM
87632012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8766
47086495
WS
87672012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
8768
8769 * progmodes/verilog-mode.el (font-lock-keywords):
8770 Fix mis-highligting auto. Reported by Craig Barner.
8771 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 8772 defines from global name space. Reported by Dan Dever.
47086495
WS
8773 (verilog-auto-reset, verilog-auto-reset-widths)
8774 (verilog-auto-tieoff): Support using unbased numbers for
8775 AUTORESET and AUTOTIEOFF.
8776 (verilog-submit-bug-report): Update variable list.
8777 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 8778 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
8779 (verilog-auto-template-lint): Fix hash error when linting modules
8780 with no used templates.
8781 (verilog-warn, verilog-warn-error)
8782 (verilog-warn-fatal): When non-interactive report multiple
8783 warnings before exiting. Suggested by Brad Dobbie.
8784 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8785 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8786 to report unused template errors. Reported by Brad Dobbie.
8787 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 8788 nets, bug438. Reported by Vns Blore.
47086495
WS
8789 (verilog-auto-inout-module, verilog-auto-reg)
8790 (verilog-read-decls, verilog-read-sub-decls-sig)
8791 (verilog-signals-edit-wire-reg, verilog-signals-with):
8792 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 8793 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
8794 "reg" for backwards compatibility presuming Verilog 2001.
8795 (verilog-auto-ascii-enum): Add "auto enum" as alias.
8796 (verilog-preprocess): Fix replication of preprocess output.
8797 Reported by Brad Dobbie.
8798 (verilog-auto-inst-interfaced-ports):
8799 Create verilog-auto-inst-interfaced-ports, bug429.
8800 Reported by Julian Gorfajn.
8801 (verilog-after-save-font-hook)
8802 (verilog-before-save-font-hook): New variable.
8803 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8804 (verilog-save-font-mods): Wrap disabling fontification, reported
8805 by David Rogoff.
8806 (verilog-do-indent, verilog-pretty-declarations-auto)
8807 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8808 Reported by Pierre-David Pfister.
8809 (verilog-set-auto-endcomments): Fix endtask auto comments outside
8810 of class declarations, bug292. Reported by Kevin Heilman.
8811 (verilog-read-decls): Fix 'parameter type' not appearing in
8812 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
8813 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 8814 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
8815 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8816 Reported by David Kravitz.
8817
88182012-05-03 Michael McNamara <mac@mail.brushroad.com>
8819
8820 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8821 assignment with tests in ifs and for loops.
8822 (verilog-extended-complete-re, verilog-complete-reg): Change so
8823 that DPI inport functions don't look like fuction declarations.
8824 (verilog-pretty-expr): Don't line up assignment
8825 operations to the test and increment in if and for loops
8826 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 8827 that DPI inport functions don't look like fuction declarations.
47086495 8828
2e51d4b5
KH
88292012-05-03 Kenichi Handa <handa@m17n.org>
8830
8831 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 8832 decoding, and show a warning message without signaling an error
2e51d4b5
KH
8833 (Bug#11282).
8834
2bd785a2
SM
88352012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
8836
8837 * emacs-lisp/bytecomp.el
8838 (byte-compile-file-form-custom-declare-variable): Compile all elements,
8839 since cconv.el might have introduced :fun-body, internal-make-closure,
8840 and friends for bytecomp to handle (bug#11391).
8841 * custom.el (defcustom): Avoid ((λ ..) ..).
8842
99d27583
SM
88432012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
8844
8845 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8846
55a71479
JB
88472012-05-02 Juanma Barranquero <lekktu@gmail.com>
8848
8849 * notifications.el (dbus-debug):
8850 * term/linux.el (gpm-mouse-enable):
8851 * term/screen.el (xterm-register-default-colors): Declare.
8852
7b97c764
CY
88532012-05-02 Chong Yidong <cyd@gnu.org>
8854
2bc356d7
CY
8855 * cus-start.el (gc-cons-percentage, exec-suffixes)
8856 (dos-display-scancodes, dos-hyper-key, dos-super-key)
8857 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8858 (make-cursor-line-fully-visible, void-text-area-pointer)
8859 (font-list-limit): Add customization data.
8860
7b97c764
CY
8861 * allout.el (allout-exposure-change-functions)
8862 (allout-structure-added-functions)
8863 (allout-structure-deleted-functions)
8864 (allout-structure-shifted-functions): Rename abnormal hooks from
8865 *-hook, and convert to defcustoms.
5d3385a0
JB
8866 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8867 Convert to defcustoms.
7b97c764
CY
8868 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8869
8870 * allout-widgets.el: Hook callers changed.
8871
90207a15 88722012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
8873
8874 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8875 the yanked message in preference to the default value of
8876 buffer-file-coding-system.
8877
90207a15 88782012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 8879
5d3385a0
JB
8880 * window.el (display-buffer--action-function-custom-type):
8881 Fix entry.
d9558cad 8882
90207a15 88832012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
8884
8885 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8886
d80ac57b
GM
88872012-05-01 Glenn Morris <rgm@gnu.org>
8888
976f7668
GM
8889 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8890
beb83b5a
GM
8891 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
8892
d80ac57b
GM
8893 * cus-edit.el (custom-variable-documentation): Simplify with format.
8894
b593d6a9 88952012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 8896 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
8897
8898 * simple.el (suggest-key-bindings, execute-extended-command):
8899 Move from keyboard.c.
8900
782fbf2a
CY
89012012-05-01 Chong Yidong <cyd@gnu.org>
8902
8903 * follow.el: Eliminate advice.
8904 (set-process-filter, process-filter, sit-for): Advice deleted.
8905 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
8906 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8907 Vars deleted.
782fbf2a
CY
8908 (follow-auto): Use a :set function.
8909 (follow-mode): Rewritten. Don't advise process filters.
8910 (follow-switch-to-current-buffer-all, follow-scroll-up)
8911 (follow-scroll-down): Assume follow-mode is bound.
8912 (follow-comint-scroll-to-bottom)
8913 (follow-align-compilation-windows): New functions.
8914 (follow--window-sorter): New function.
8915 (follow-all-followers): Use it to explicitly sort windows by their
8916 positions; don't make assumptions about next-window order.
8917 (follow-windows-start-end, follow-delete-other-windows-and-split)
8918 (follow-calc-win-start): Doc fix.
8919 (follow-windows-aligned-p, follow-select-if-visible): Don't call
8920 vertical-motion unnecessarily.
8921 (follow-adjust-window): New function.
8922 (follow-post-command-hook): Use it.
8923 (follow-call-set-process-filter, follow-call-process-filter)
8924 (follow-intercept-process-output, follow-tidy-process-filter-alist)
8925 (follow-stop-intercept-process-output, follow-generic-filter):
8926 Functions deleted.
8927 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
8928 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8929 New functions, replacing advice on scroll-bar-* commands.
87233a14 8930 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
8931
8932 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
8933 (comint-postoutput-scroll-to-bottom): Use it.
8934 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 8935
290af740
GM
89362012-05-01 Glenn Morris <rgm@gnu.org>
8937
8938 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
8939 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
8940 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
8941 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
8942 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
8943 Remove no-byte-compile setting.
8944
6eac8dc9
SM
89452012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * minibuffer.el (completion-table-with-quoting): Fix compatibility
8948 all-completions code to not return a number in the last cdr.
8949
9cc7819c
LL
89502012-04-30 Leo Liu <sdl.web@gmail.com>
8951
8952 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
8953 read-only error.
8954
c93b886f
CY
89552012-04-29 Chong Yidong <cyd@gnu.org>
8956
8957 * follow.el (follow-calc-win-end): Rewrite to handle partial
8958 screen lines correctly (Bug#8390).
8959 (follow-avoid-tail-recenter): Minor cleanup.
8960
8b6c19f4
SM
89612012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 Avoid the obsolete `assoc' package.
8964 * speedbar.el (speedbar-refresh): Avoid adelete.
8965 (speedbar-file-lists): Simplify and avoid aput.
8966 * man.el (Man--sections, Man--refpages): New vars, replacing
8967 Man-sections-alist and Man-refpages-alist.
8968 (Man-build-section-alist, Man-build-references-alist):
8969 Use them; avoid aput.
8970 (Man--last-section, Man--last-refpage): New vars.
8971 (Man-follow-manual-reference): Use them.
8972 Use the `default' arg of completing-read.
8973 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
8974
c5bb7569
CY
89752012-04-27 Chong Yidong <cyd@gnu.org>
8976
d1d2e2e8
CY
8977 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
8978
15cd8efd
CY
8979 * startup.el (x-apply-session-resources): New function.
8980
8981 * term/ns-win.el (ns-initialize-window-system):
8982 * term/w32-win.el (w32-initialize-window-system):
8983 * term/x-win.el (x-initialize-window-system): Use it to properly
8984 set menu-bar-mode and other vars from X resources, even if the
8985 initial frame is not a window-system frame (Bug#2299).
8986
c5bb7569
CY
8987 * subr.el (read-key): Avoid running filter function when setting
8988 up temporary tool bar entries (Bug#9922).
8989
a8e7d6d7 89902012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
8991
8992 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
8993 (Bug#11344)
8994
a8e7d6d7 89952012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
8996
8997 * select.el (xselect--encode-string): New function, split from
8998 xselect-convert-to-string.
8999 (xselect-convert-to-string): Use it.
9000 (xselect-convert-to-filename, xselect-convert-to-os)
9001 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9002 returned strings are properly encoded (Bug#11315).
9003
a8e7d6d7 90042012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
9005
9006 * simple.el (delete-active-region): Move to killing custom group.
9007
a8e7d6d7 90082012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
9009
9010 * progmodes/which-func.el (which-func-current): Quote %
9011 characters for mode-line processing.
9012
578c1d4b 90132012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
9014
9015 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9016 reaching eob (Bug#11286).
9017
a8e7d6d7 90182012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
9019
9020 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9021 (gdb): Make it buffer-local and init to zero.
9022 (gdb-control-commands-regexp): New variable.
9023 (gdb-send): Don't wrap in "-interpreter-exec console" if
9024 gdb-control-level is positive. Increment gdb-control-level
9025 whenever the command matches gdb-control-commands-regexp, and
9026 decrement it each time the command is "end". (Bug#11279)
9027
a8e7d6d7 90282012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
9029
9030 * window.el (adjust-window-trailing-edge, enlarge-window)
9031 (shrink-window, window-resize):
9032 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9033 windows (Bug#11276).
9034
b3608390
CY
90352012-04-27 Chong Yidong <cyd@gnu.org>
9036
9037 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 9038 fix "missing prefix" warning. All callers changed.
b3608390 9039
797e6e88
SM
90402012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9041
9042 * emacs-lisp/assoc.el: Move to obsolete/.
9043
e95a67dc
SM
90442012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9045
657c21e4 9046 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
9047
9048 * term/ns-win.el (ns-define-service):
9049 * progmodes/pascal.el (pascal-goto-defun):
9050 * progmodes/js.el (js--read-tab):
9051 * progmodes/etags.el (tags-lazy-completion-table):
9052 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9053 * emacs-lisp/ewoc.el (ewoc--wrap):
9054 * emacs-lisp/assoc.el (aput, adelete, amake):
9055 * doc-view.el (doc-view-convert-current-doc):
9056 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9057
cb3e7ae0
CY
90582012-04-26 Chong Yidong <cyd@gnu.org>
9059
dce04f7f
CY
9060 * image.el (image-type-from-buffer): Only return supported image
9061 type (Bug#9045).
9062
cb3e7ae0
CY
9063 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9064 value, for symmetry with diff-end-of-hunk.
9065 (diff-split-hunk, diff-find-source-location)
9066 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9067 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9068 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9069 compute the relevant hunk or file properly (Bug#6005).
9070 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9071
0d42eb3e
SM
90722012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * vc/vc-mtn.el:
9075 * vc/vc-hg.el:
9076 * vc/vc-git.el:
9077 * vc/vc-dir.el:
9078 * vc/vc-cvs.el:
9079 * vc/vc-bzr.el:
9080 * vc/vc-arch.el:
9081 * vc/vc.el: Replace lexical-let by lexical-binding.
9082 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9083 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9084 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9085
f08ae1c9
CY
90862012-04-26 Chong Yidong <cyd@gnu.org>
9087
8b71081d
CY
9088 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9089 (diff-mode-shared-map): Bind it to / and [remap undo].
9090
f08ae1c9
CY
9091 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9092 (ediff-window-setup-function): Use it as the default, to set up
9093 windows based on whether the current frame is graphical (Bug#2138).
9094 (ediff-choose-window-setup-function-automatically): Make obsolete.
9095
9096 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9097
ef24141c
SM
90982012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9099
cc356a5d
SM
9100 * ffap.el: Remove old code for obsolete package.
9101 (ffap-complete-as-file-p): Remove.
9102
b4ff4f1f
SM
9103 Use completion-table-with-quoting for comint and pcomplete.
9104 * comint.el (comint--unquote&requote-argument)
9105 (comint--unquote-argument, comint--requote-argument): New functions.
9106 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9107 (comint-quote-filename): Use regexp-opt-charset.
9108 (comint--common-suffix, comint--common-quoted-suffix)
9109 (comint--table-subvert): Remove.
9110 (comint-unquote-function, comint-requote-function): New vars.
9111 (comint--complete-file-name-data): Use them with
9112 completion-table-with-quoting.
9113 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9114 * pcomplete.el (pcomplete-arg-quote-list)
9115 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9116 (pcomplete-unquote-argument-function): Default to non-nil.
9117 (pcomplete-unquote-argument): Simplify.
9118 (pcomplete--common-quoted-suffix): Remove.
9119 (pcomplete-requote-argument-function): New var.
9120 (pcomplete--common-suffix): New function.
9121 (pcomplete-completions-at-point): Use completion-table-with-quoting
9122 and completion-table-subvert.
9123
79c4eeb4
SM
9124 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9125 (minibuffer--double-dollars): Preserve properties.
9126 (completion--sifn-requote): New function.
9127 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9128
ef24141c
SM
9129 * minibuffer.el: Add support for completion of quoted/escaped data.
9130 (completion-table-with-quoting, completion-table-subvert): New funs.
9131 (completion--twq-try, completion--twq-all): New functions.
9132 (completion--nth-completion): New function.
9133 (completion-try-completion, completion-all-completions): Use it.
9134
784e7d6e
LL
91352012-04-25 Leo Liu <sdl.web@gmail.com>
9136
dd2ac746
SM
9137 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9138 Use compilation-message if available to find real filename.
784e7d6e 9139
07875ee7
CY
91402012-04-25 Chong Yidong <cyd@gnu.org>
9141
9142 * vc/diff-mode.el (diff-setup-whitespace): New function.
9143 (diff-mode): Use it.
9144
9145 * vc/diff.el (diff-sentinel):
9146 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9147 Whitespace mode variables based on diff style (Bug#8612).
9148
5055880d
LL
91492012-04-25 Leo Liu <sdl.web@gmail.com>
9150
daf75653
LL
9151 * progmodes/python.el (python-send-region): Add suffix .py to the
9152 temp file.
9153
5055880d
LL
9154 * files.el (auto-mode-alist): Use javascript-mode instead.
9155
db9b177b
AH
91562012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9157
ef24141c 9158 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 9159
090bd7cb 9160 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 9161 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 9162 references, see Bug#9.
ef24141c 9163 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 9164 when receiving a fault reply.
ef24141c 9165 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 9166
090bd7cb 9167 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 9168 (soap-inspect-simple-type): New function.
db9b177b 9169
090bd7cb 9170 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 9171 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
9172 (soap-decode-basic-type, soap-encode-basic-type):
9173 support unsignedInt and double basic types.
db9b177b 9174 (soap-resolve-references-for-simple-type)
ef24141c
SM
9175 (soap-parse-simple-type, soap-encode-simple-type): New function.
9176 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 9177
090bd7cb 9178 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
9179 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9180 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9181 the local name of "soapenc:Array".
9182 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
9183 decoding integer, byte and anyURI xsd types.
9184
1fc6097b
CY
91852012-04-25 Chong Yidong <cyd@gnu.org>
9186
9187 * cus-edit.el (custom-buffer-create-internal): Update header text.
9188
afc6df87
EZ
91892012-04-25 Eli Zaretskii <eliz@gnu.org>
9190
9191 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9192 settings on 'system-type', not on 'window-system'. On MS-Windows,
9193 set interactive-mode on in GDB.
9194
dfbd787f
SM
91952012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9196
9197 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9198 (ruby-syntax-propertize-regexp): Remove.
9199 (ruby-syntax-propertize-function): Split regexp into chunks.
9200 Match following code directly.
9201
85222d44
DG
92022012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9203
51a8ea2a
DG
9204 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9205 (ruby-syntax-propertize-regexp): New function.
9206 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9207 by a special keyword.
9208
85222d44
DG
9209 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9210 (ruby-syntax-general-delimiters-goto-beg)
9211 (ruby-syntax-propertize-general-delimiters): New functions.
9212 (ruby-syntax-propertize-function): Use them to handle GDL.
9213 (ruby-font-lock-keywords): Move old handling of GDL...
9214 (ruby-font-lock-syntactic-keywords): .. to here.
9215 (ruby-calculate-indent): Adjust indentation for GDL.
9216
b613912b
MA
92172012-04-24 Michael Albinus <michael.albinus@gmx.de>
9218
b5380639
MA
9219 * notifications.el (top): Remove unneeded declarations.
9220 (notifications-specification-version): Change to "1.2".
e43042fe 9221 (notifications-interface, notifications-notify-method)
b613912b
MA
9222 (notifications-close-notification-method): Fix docstring.
9223 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
9224 (notifications-notify): Add :action-items, :resident and
9225 :transient hints. Change "image_data" to "image-data" and
9226 "image_path" to "image-path".
b613912b
MA
9227 (notifications-get-capabilities): New defun.
9228
257440aa
LL
92292012-04-24 Leo Liu <sdl.web@gmail.com>
9230
9231 * progmodes/python.el: Move hideshow setup to the end.
9232
b1bac16e
MR
92332012-04-24 Martin Rudalics <rudalics@gmx.at>
9234
9235 * window.el (handle-select-window): Clear echo area since this is
9236 no more done by read_char (Bug#11304).
9237
d81bd059
SM
92382012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9239
9240 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9241 and `/ M' to filter-derived-mode.
9242 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9243 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9244 (ibuffer-mark-by-mode): Use default rather than initial-input.
9245 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9246
c4cf6d91
IA
92472012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9248
9249 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9250 (ibuffer-filter-by-derived-mode): New filter.
9251 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9252
7511ded8
CY
92532012-04-23 Andreas Politz <politza@fh-trier.de>
9254
9255 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9256
775c916b
CY
92572012-04-23 Chong Yidong <cyd@gnu.org>
9258
9259 * cus-edit.el (customize-apropos, customize-apropos-options):
9260 Disable matching of non-option variables (Bug#11176).
9261 (customize-option, customize-option-other-window)
9262 (customize-changed-options): Doc fix.
9263 (customize-apropos-options, customize-apropos-faces)
9264 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9265
9266 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 9267 Fix word list splitting (Bug#11132).
46c71e23
CY
9268 (apropos-symbol, apropos-keybinding, apropos-label)
9269 (apropos-property, apropos-function-button)
9270 (apropos-variable-button, apropos-misc-button): New faces.
9271 (apropos-symbol-face, apropos-keybinding-face)
9272 (apropos-label-face, apropos-property-face, apropos-match-face):
9273 Variables removed (Bug#8396).
9274 (apropos-library-button, apropos-format-plist, apropos-print)
9275 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 9276
2df41f9c
MA
92772012-04-23 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * net/xesam.el (xesam-mode-map): Use let-bound map in
9280 initialization. (Bug#11292)
9281
da00640a
AM
92822012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9283
9284 Preserve ispell session localwords when switching back to
9285 original buffer.
9286
090bd7cb
JB
9287 * textmodes/ispell.el (ispell-buffer-session-localwords):
9288 New buffer-local variable to hold buffer session localwords.
ed9265fc 9289 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
9290 localwords.
9291 (ispell-command-loop, ispell-change-dictionary)
9292 (ispell-buffer-local-words): Preserve session localwords when
9293 needed.
9294
090bd7cb
JB
9295 * textmodes/flyspell.el (flyspell-process-localwords)
9296 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 9297
f621ccf5
AM
92982012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9299
090bd7cb
JB
9300 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9301 using obsolete `translation-table-for-input'.
ef24141c
SM
9302 (ispell-word, ispell-process-line, ispell-complete-word):
9303 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 9304
c2d1019e
CY
93052012-04-22 Chong Yidong <cyd@gnu.org>
9306
9307 * cus-edit.el (custom-variable-menu)
9308 (custom-variable-reset-saved, custom-face-menu)
9309 (custom-face-reset-saved): If there is no saved value, make the
9310 "reset-saved" operation bring back the default (Bug#9509).
9311 (custom-face-state): Properly detect themed faces.
9312
eeddc531
CY
9313 * faces.el (face-spec-set): Stop supporting deprecated form of
9314 third arg.
9315
dcbf5805
MA
93162012-04-22 Michael Albinus <michael.albinus@gmx.de>
9317
9318 Move functions from C to Lisp. Make non-blocking method calls
9319 the default. Implement further D-Bus standard interfaces.
9320
ef24141c
SM
9321 * net/dbus.el (dbus-message-internal): Declare function.
9322 Remove unneeded function declarations.
dcbf5805
MA
9323 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9324 (dbus-message-type-method-return, dbus-message-type-error)
9325 (dbus-message-type-signal): Declare variables. Remove local
9326 definitions.
9327 (dbus-interface-dbus, dbus-interface-peer)
9328 (dbus-interface-introspectable, dbus-interface-properties)
9329 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9330 Adapt docstring.
9331 (dbus-interface-objectmanager): New defconst.
9332 (dbus-call-method, dbus-call-method-asynchronously)
9333 (dbus-send-signal, dbus-method-return-internal)
9334 (dbus-method-error-internal, dbus-register-service)
9335 (dbus-register-signal, dbus-register-method): New defuns, moved
9336 from dbusbind.c
9337 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
9338 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9339 New defuns.
dcbf5805
MA
9340 (dbus-call-method-non-blocking): Make it an obsolete function.
9341 (dbus-unregister-object, dbus-unregister-service)
9342 (dbus-handle-event, dbus-register-property)
9343 (dbus-property-handler): Obey the new structure of
9344 `bus-registered-objects'.
9345 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
9346 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9347 Use `dbus-call-method'.
9348
cf20dee0
CY
93492012-04-22 Chong Yidong <cyd@gnu.org>
9350
9351 * cus-edit.el (custom-commands, custom-reset-menu)
9352 (Custom-reset-standard): Tweak labels.
9353 (custom-reset-button-menu): Change default to t.
9354 (custom-buffer-create-internal): For the custom-reset-button-menu
9355 case, put the revert button first.
9356 (custom-group-subtitle): New face.
9357 (custom-group-value-create): Align docstring to a specific column.
9358
9359 * wid-edit.el (widget-documentation-link-add): Don't handle
9360 indentation in this function.
9361 (widget-documentation-string-indent-to): New function.
9362 (widget-documentation-string-value-create): Use it.
9363
9364 * autorevert.el (auto-revert):
9365 * epg-config.el (epg):
9366 * ibuffer.el (ibuffer):
9367 * mpc.el (mpc):
9368 * ses.el (ses):
9369 * eshell/eshell.el (eshell):
9370 * net/ange-ftp.el (ange-ftp):
9371 * progmodes/ebnf2ps.el (postscript):
9372 * progmodes/flymake.el (flymake):
9373 * progmodes/prolog.el (prolog):
9374 * progmodes/verilog-mode.el (verilog-mode):
9375 * progmodes/which-func.el (which-func):
9376 * term/xterm.el (xterm):
9377 * textmodes/picture.el (picture):
9378 * textmodes/tildify.el (tildify):
9379 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9380 customization buffers.
9381
583e23bd
AM
93822012-04-22 Alan Mackenzie <acm@muc.de>
9383
9384 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9385 Adding a ) can hide the resulting (..) from searches. Fix it.
9386 Bound the backward search to the position of the existing (.
9387
7dd51bf1
JB
93882012-04-21 Juanma Barranquero <lekktu@gmail.com>
9389
9390 * progmodes/verilog-mode.el (verilog-mode): Check whether
9391 which-func-modes is t before adding verilog-mode.
9392 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9393
d64a438f
LL
93942012-04-21 Leo Liu <sdl.web@gmail.com>
9395
7dd51bf1 9396 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 9397
081e8d65
MV
93982012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
9399
9400 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9401 filling of the last column of a table (Bug#5635).
9402 (woman-find-next-control-line): New arg, specifying an additional
9403 regexp component for the control line.
9404 (woman2-roff-buffer): Use it.
9405 (woman-break-table): New function.
9406 (woman2-TS): Use it.
9407
94082012-04-21 Chong Yidong <cyd@gnu.org>
9409
9410 * woman.el (woman-set-buffer-display-table, woman-decode-region)
9411 (woman-horizontal-escapes, woman-negative-vertical-space)
9412 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9413 (WoMan-warn-ignored): Use ?\s instead of ?\ .
9414
ed571ccb
SM
94152012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * minibuffer.el (completion-file-name-table): Complete user names.
9418
39773899
LL
94192012-04-20 Leo Liu <sdl.web@gmail.com>
9420
9421 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9422 and pcase-let*.
9423
de6ff46d
CY
94242012-04-20 Chong Yidong <cyd@gnu.org>
9425
9426 * server.el (server-execute): Respect initial-buffer-choice if it
9427 is a string and there are no files to open (Bug#2825).
9428 (server-create-window-system-frame, server-create-tty-frame):
9429 Don't switch buffers here.
2d0e8e61
CY
9430 (server-process-filter): Only try to open a window system frame if
9431 compiled with graphical support (Bug#8314).
de6ff46d 9432
54071013
DN
94332012-04-20 Dan Nicolaescu <dann@gnu.org>
9434
9435 * battery.el (battery-echo-area-format): Display remaining time
9436 for sysfs backend too (Bug#11269).
9437 (battery-linux-sysfs): Fix conditional for the charge.
9438
f30d612a
CY
94392012-04-20 Chong Yidong <cyd@gnu.org>
9440
c07a4c0b 9441 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
9442 (gdb-inferior-io--init-proc): New function.
9443 (gdb-init-1): Use it.
9444 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9445 responsible for allocating a new pty and hooking it to gdb when
9446 the old pty gets an EIO due to process exit.
9447 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
9448 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9449 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9450
2116e93c
EZ
94512012-04-20 Eli Zaretskii <eliz@gnu.org>
9452
9453 * window.el (window-min-size, window-sizable, window-min-delta)
9454 (window-max-delta, window--resizable, window-resizable)
9455 (window-total-size, window-full-height-p, window-full-width-p)
9456 (window-in-direction, window--resize-mini-window, window-resize)
9457 (window--resize-child-windows-normal)
9458 (window--resize-child-windows, window--resize-siblings)
9459 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 9460 (enlarge-window, shrink-window): Doc fixes.
2116e93c 9461
c07a4c0b 94622012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 9463
ef24141c
SM
9464 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9465 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
9466 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9467 pty process (Bug#11273).
9468 (gdb-update): New arg to suppress talking to the gdb process.
9469 (gdb-done-or-error): Use it.
9470 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9471 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9472 sentinel not being called.
9473
9474 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9475
d02766ab
CY
9476 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9477
c07a4c0b 94782012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
9479
9480 * net/network-stream.el (open-network-stream): Doc fix.
9481
c07a4c0b 94822012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
9483
9484 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9485
c07a4c0b 94862012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
9487
9488 Ensure searching for keywords is case sensitive.
9489
9490 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9491 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9492 (c-defun-name, c-mark-function, c-cpp-define-name)
9493 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 9494 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 9495
ef24141c
SM
9496 * progmodes/cc-mode.el (c-font-lock-fontify-region):
9497 Bind case-fold-search to nil.
f0f6bc35 9498
c07a4c0b 94992012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
9500
9501 * mail/sendmail.el (mail-bury): Call return action with the right
9502 Rmail buffer (Bug#11242).
9503
9a864fa2
CY
9504 * server.el (server-process-filter): Handle corner case where both
9505 tty and nowait options are present (Bug#11102).
9506
539aa513
EZ
95072012-04-20 Eli Zaretskii <eliz@gnu.org>
9508
9509 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
9510 (top level): Put into the executable the ident-style '$Id:' tag on
9511 windows-nt as well.
539aa513 9512
cfc7d5da
SM
95132012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9514
9515 * electric.el (electric-indent-post-self-insert-function): Check that
9516 electric-indent-mode is enabled in current buffer.
9517
5b01685c
JB
95182012-04-19 Juanma Barranquero <lekktu@gmail.com>
9519
9520 * imenu.el (imenu-progress-message): Restore; it is "used" in
9521 erc/erc-imenu.el and net/snmp-mode.el.
9522
4d6769e1
JB
95232012-04-19 Juanma Barranquero <lekktu@gmail.com>
9524
9525 * avoid.el (mouse-avoidance-mode): Mark unused arg.
9526 (mouse-avoidance-nudge-mouse): Remove unused binding.
9527
9528 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9529
9530 * descr-text.el (describe-char):
9531 * progmodes/python.el (python-describe-symbol):
9532 Don't call `toggle-read-only', set `buffer-read-only'.
9533
9534 * imenu.el (imenu-default-goto-function): Mark unused args.
9535 (imenu-progress-message): Remove obsolete macro; all callers changed.
9536
9537 * subr.el (keymap-canonicalize): Remove unused binding.
9538 (read-passwd): Mark unused arg.
9539
9540 * tutorial.el (tutorial--display-changes): Remove unused binding.
9541 (tutorial--save-tutorial-to): Remove unused variable.
9542
9543 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9544 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9545 (package-generate-autoloads, package-menu--generate)
9546 (package-menu--find-upgrades): Remove unused bindings.
9547
9548 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9549 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
9550 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9551 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9552 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9553 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9554 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9555 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9556 (cua-delete-char-rectangle): Mark unused args.
9557 (cua-align-rectangle): Remove unused binding.
9558
9559 * mail/rmail.el (compilation--message->loc)
9560 (epa--find-coding-system-for-mime-charset): Declare.
9561
9562 * net/dbus.el (dbus-register-service): Declare.
9563 (dbus-name-owner-changed-handler): Remove unused binding.
9564
9565 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9566 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9567 (nxml-scan-backward-within): Mark unused arg.
9568 (nxml-dynamic-markup-word): Remove unused binding.
9569
9570 * mouse.el (mouse-menu-major-mode-map):
9571 * emacs-lisp/authors.el (authors-scan-change-log)
9572 (authors-add-to-author-list):
9573 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9574 * emacs-lisp/smie.el (smie-auto-fill):
9575 * mail/sendmail.el (mail-bury):
9576 * mail/unrmail.el (unrmail):
9577 * net/tls.el (open-tls-stream):
9578 * textmodes/picture.el (picture-mouse-set-point):
9579 Remove unused bindings.
9580
8c8fc5df
MA
95812012-04-19 Michael Albinus <michael.albinus@gmx.de>
9582
9583 * net/tramp.el (tramp-action-password): Let-bind
9584 `enable-recursive-minibuffers' to t.
9585
a77b0ac9
SS
95862012-04-18 Sam Steingold <sds@gnu.org>
9587
9588 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9589 instead of 'string to accommodate values like [f11].
9590 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9591 * progmodes/gdb-mi.el: Likewise.
9592
12a106a9
LL
95932012-04-18 Leo Liu <sdl.web@gmail.com>
9594
9595 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9596 current buffer.
9597 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9598 LOCAL is nil.
9599
bc6494ef
CY
96002012-04-18 Chong Yidong <cyd@gnu.org>
9601
9602 * simple.el (line-move): Use forward-line if in batch mode
9603 (Bug#11053).
9604
c09c46b2
CS
96052012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
9606
9607 * files.el (after-find-file): Do not try to add a final newline if
9608 the buffer is read-only (Bug#11156).
9609
5f6530ea
RS
96102012-04-17 Richard Stallman <rms@gnu.org>
9611
9612 * mail/rmail.el (rmail-start-mail):
9613 Pass (rmail-mail-return...) for the return-action.
9614 Pass (rmail-yank-current-message...) for the yank-action.
9615 (rmail-yank-current-message): New function.
9616 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9617 (rmail-reply): Likewise.
9618 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9619
9620 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 9621 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
9622 buffer, not newbuf.
9623
197b6f3c
JB
96242012-04-17 Juanma Barranquero <lekktu@gmail.com>
9625
9626 * server.el (server-ensure-safe-dir): Simplify.
9627
2311d8e5 96282012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 9629
2311d8e5
GM
9630 * emacs-lisp/smie.el: Provide smarter auto-filling.
9631 (smie-auto-fill): New function.
9632 (smie-setup): Use it.
98fb480e 9633
2311d8e5
GM
9634 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9635
96362012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
9637
9638 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9639 (comment-indent): Use it.
9640
2311d8e5 96412012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
9642
9643 * ses.el: The overall change is to add cell renaming, that is
9644 setting fancy names for cell symbols other than name matching
9645 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 9646 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 9647 (ses-create-cell-variable): New defun.
2311d8e5 9648 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
9649 (ses-relocate-formula): Relocate formulas only for cells the
9650 symbols of which are not renamed, i.e. symbols whose names do not
9651 match regexp "\\`[A-Z]+[0-9]+\\'".
9652 (ses-relocate-all): Relocate values only for cells the symbols of
9653 which are not renamed.
9654 (ses-load): Create cells variables as the (ses-cell ...) are read,
9655 in order to check row col consistency with cell symbol name only
9656 for cells that are not renamed.
9657 (ses-replace-name-in-formula): New defun.
9658 (ses-rename-cell): New defun.
4bdf2ad2 9659
fc72b15c
PO
96602012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
9661
9662 * progmodes/perl-mode.el (perl-indent-parens-as-block):
9663 New option (bug#11118).
9664 (perl-calculate-indent): Respect it.
9665
12e10e61
GM
96662012-04-17 Glenn Morris <rgm@gnu.org>
9667
9668 * dired-aux.el (dired-mark-read-string): Doc fix.
9669
30009afd
DA
96702012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
9671
9672 * dired-aux.el (dired-mark-read-string): Offer optional completion.
9673 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
9674
41f03f4d
GM
96752012-04-17 Glenn Morris <rgm@gnu.org>
9676
9677 * mouse.el (mouse-drag-track):
9678 * speedbar.el (speedbar-frame-mode):
9679 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9680
f45f90f3
LL
96812012-04-16 Leo Liu <sdl.web@gmail.com>
9682
9683 * progmodes/python.el: Trivial cleanup.
9684
94ee8db5
GM
96852012-04-16 Glenn Morris <rgm@gnu.org>
9686
121b8917
GM
9687 * vc/vc.el (vc-string-prefix-p):
9688 * vc/pcvs-util.el (cvs-string-prefix-p):
9689 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9690 * mpc.el (mpc-string-prefix-p):
9691 Make all of these into obsolete aliases for string-prefix-p.
9692 Update callers.
9693 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9694
1197ecfa
GM
9695 * textmodes/two-column.el: Move custom options to the start.
9696 (frame-width): Remove compat definition.
9697 (2C-associate-buffer, 2C-dissociate):
9698 Use with-current-buffer rather than save-excursion.
9699 (2C-dissociate): Force a mode-line update.
9700 (2C-autoscroll): Use ignore-errors.
9701
099e7202
GM
9702 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9703 Autoload trivia.
9704
bf350d6a
GM
9705 * emacs-lisp/cl-extra.el (*random-state*):
9706 Remove unnecessary declaration.
9707
0e829eab
GM
9708 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9709
e3ad7552
GM
9710 * play/cookie1.el (cookie-snarf):
9711 Give an explicit error if input file cannot be read.
9712
68892d27
GM
9713 * play/yow.el (yow-file): Use expand-file-name rather than concat.
9714
20f0c46d
GM
9715 * progmodes/perl-mode.el (c-macro-expand):
9716 Remove unnecessary autoload (it is in loaddefs.el).
9717
5a0978ce
GM
9718 * textmodes/picture.el (picture-desired-column)
9719 (picture-update-desired-column): Convert comments to doc-strings.
9720 (picture-substitute): Remove function.
9721 (picture-mode-map): Initialize in the defvar.
9722
6b955486
GM
9723 * woman.el: Remove eval-after-load for tar-mode.
9724 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9725 (woman-tar-extract-file): Autoload it.
9726
94ee8db5
GM
9727 * frame.el (automatic-hscrolling): Make this alias obsolete.
9728
177eca34
AM
97292012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9730
090bd7cb 9731 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 9732 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
9733 (ispell-dictionary-base-alist): Revert to original XEmacs
9734 friendly version for default. [:alpha:] will be added in
090bd7cb 9735 `ispell-set-spellchecker-params' if needed.
177eca34 9736
c505aaeb
CY
97372012-04-16 Chong Yidong <cyd@gnu.org>
9738
b19dd9d1 9739 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
9740 (imagemagick-register-types): Use it.
9741 (imagemagick-types-inhibit): Add :set function. Allow new value
9742 of t to inhibit all types.
9743
9744 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9745 so we can preload it.
9746
9747 * loadup.el (fboundp): Preload regexp-opt, needed by
9748 imagemagick-register-types.
9749
60efac0f
CY
97502012-04-15 Chong Yidong <cyd@gnu.org>
9751
9752 * frame.el (scrolling): Remove nearly unused customization group.
9753
9754 * scroll-all.el (scroll-all-mode): Move to windows group.
9755
5dd1713e
CY
97562012-04-15 Chong Yidong <cyd@gnu.org>
9757
9758 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9759
e6fd457e
CY
97602012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9761
9762 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 9763 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 9764
e153c136
GM
97652012-04-15 Glenn Morris <rgm@gnu.org>
9766
9767 * simple.el (process-file-side-effects): Doc fix.
9768
e6fd457e 97692012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
9770
9771 * international/mule-cmds.el (set-language-environment): Doc fix.
9772
3603c3b1
JB
97732012-04-14 Juanma Barranquero <lekktu@gmail.com>
9774
9775 * server.el (server-auth-key, server-generate-key): Doc fixes.
9776 (server-get-auth-key): Doc fix. Use `string-match-p'.
9777 (server-start): Reflow docstring.
9778
e6de100c
LI
97792012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
9780
9781 * server.el (server-generate-key): `called-interactively-p'
9782 requires a parameter.
9783
29734c21
MN
97842012-04-14 Michal Nazarewicz <mina86@mina86.com>
9785
9786 * server.el (server-auth-key): New variable.
75f1671a 9787 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
9788 (server-start): Use the new variable and functions to allow
9789 setting a permanent server key (bug#9423).
9790
d65c9521
LL
97912012-04-14 Leo Liu <sdl.web@gmail.com>
9792
9793 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9794
5ae255c7
PE
97952012-04-14 Paul Eggert <eggert@cs.ucla.edu>
9796
9797 Spelling fixes.
9798 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9799 Emacs uses American spelling.
9800
d5e6342e
JB
98012012-04-14 Juanma Barranquero <lekktu@gmail.com>
9802
9803 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9804 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
9805 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9806 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
9807
ab036cd7
SM
98082012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9809
9810 * progmodes/which-func.el (which-func-modes): Change default.
9811
35dc09a1 98122012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
9813
9814 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9815 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9816
35dc09a1 98172012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
9818
9819 * custom.el (custom-theme-set-variables): Doc fix.
9820
35dc09a1 98212012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
9822
9823 * international/mule.el (set-auto-coding-for-load): Doc fix.
9824
35dc09a1 98252012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 9826
35dc09a1
GM
9827 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9828 imenu work again for Objective C Mode. Correct the *-index values,
9829 these having been disturbed by a previous change in 2011-08.
57f845ee 9830
0de3da9f
AM
9831 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9832 Correct two search limits.
9833
35dc09a1 98342012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
9835
9836 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9837
35dc09a1 98382012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
9839
9840 * international/characters.el: Fix sorting.
9841
35dc09a1 98422012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
9843
9844 * international/characters.el: Add more missing Latin case pairs.
9845
35dc09a1 98462012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
9847
9848 * files.el (dir-locals-set-class-variables): Doc fix.
9849
35dc09a1 98502012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 9851
3f1b5bf8
EZ
9852 * international/characters.el: Add set-case-syntax-pair call for
9853 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9854 counterpart. (Bug#11209)
9855
9f847f41
EZ
9856 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
9857
35dc09a1 98582012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
9859
9860 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9861
35dc09a1 98622012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 9863
35dc09a1
GM
9864 * textmodes/ispell.el (ispell-dictionary-base-alist):
9865 Add data for Hebrew.
e2627d21 9866
35dc09a1 98672012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 9868
35dc09a1
GM
9869 * net/rcirc.el (rcirc-cmd-quit):
9870 Revert 2012-03-18 change (Bug#11192).
5c14e333 9871
35dc09a1 98722012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
9873
9874 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9875
35dc09a1 98762012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 9877
4517fe3a
SM
9878 * minibuffer.el (completion-in-region-mode-map):
9879 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 9880
b472a594
VD
98812012-04-13 Vivek Dasmohapatra <vivek@etla.org>
9882
9883 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9884
09b95ce3
MY
98852012-04-13 Masatake YAMATO <yamato@redhat.com>
9886
9887 * minibuffer.el (minibuffer-local-filename-syntax): New variable
9888 to allow `C-M-f' and `C-M-b' to move to the nearest path
9889 separator (bug#9511).
9890
4b63a9ca
LI
98912012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
9892
9893 * avoid.el: Require cl when compiling. And also move the
9894 `provide' to the end.
9895
7b55b8bf
TV
98962012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9897
9898 * avoid.el (mouse-avoidance-banish-position): New variable.
9899 (mouse-avoidance-banish-destination): Use it (bug#10165).
9900
adedaa1f
LL
99012012-04-13 Leo Liu <sdl.web@gmail.com>
9902
9903 * progmodes/which-func.el (which-func-modes): Add objc-mode.
9904
70e74021
KB
99052012-04-13 Ken Brown <kbrown@cornell.edu>
9906
9907 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 9908 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
9909 (browse-url-filename-alist): For the same reason, don't modify
9910 file:// URLs on Cygwin.
9911
e75e89ba
SM
99122012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9915 the region on shift if the binding is already shifted (bug#11221).
9916
82f289a4
GM
99172012-04-12 Glenn Morris <rgm@gnu.org>
9918
9919 * mail/mailpost.el: Move to obsolete/.
9920
d333dc4c
DA
99212012-04-12 Drew Adams <drew.adams@oracle.com>
9922
9923 * imenu.el (imenu--generic-function): Ignore invisible definitions
9924 (bug#10123).
9925
0d15b5ba
VD
99262012-04-12 Vivek Dasmohapatra <vivek@etla.org>
9927
9928 * hexl.el (hexl-bits): New variable.
9929 (hexl-options): Mention the variable in the doc string.
75f1671a 9930 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 9931 (hexl-mode): Mention the new variable.
75f1671a
JB
9932 (hexl-mode, hexl-current-address, hexl-current-address):
9933 Use the displen.
0d15b5ba
VD
9934 (hexl-ascii-start-column): New function.
9935 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
9936 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
9937
64a440db
AM
99382012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9939
9940 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
9941 '("-i" ENCODING), in 2 separate command-line arguments, to specify
9942 the encoding, as expected by hunspell.
9943
6decb6c2
SM
99442012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
9945
9946 * battery.el (battery--linux-sysfs-regexp): New const.
9947 (battery-status-function): Use it. Remove yeeloong special case.
9948 (battery-yeeloong-sysfs): Remove.
9949 (battery-echo-area-format): Remove yeeloong special case.
9950
088be6fb
SM
99512012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9952
6622e416
SM
9953 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
9954 Reported by Noah Friedman.
9955
088be6fb
SM
9956 * subr.el (read-passwd): Use read-string.
9957
b49f886e
LMI
99582012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9959
9960 * vcursor.el (vcursor-move): Increase the priority of the overlay
9961 (bug#9663).
9962
a63067fc
DD
99632012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
9964
9965 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
9966 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
9967
ac3cf14a
WS
99682012-04-11 William Stevenson <yhvh2000@gmail.com>
9969
9970 * textmodes/artist.el (artist-mode): Convert artist-mode to use
9971 define-minor-mode (bug#10760).
9972
c4fc691b 99732012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 9974
4d6769e1 9975 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
9976 that directories matching `grep-find-ignored-files' won't be
9977 pruned (bug#10351).
9978
af23e2e5
CY
99792012-04-11 Chong Yidong <cyd@gnu.org>
9980
9981 * startup.el (command-line): Remove support for long-obsolete
9982 variable font-lock-face-attributes.
9983
ab7ce8c1
GM
99842012-04-11 Glenn Morris <rgm@gnu.org>
9985
9986 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
9987
de8c03dc
SM
99882012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9989
9990 * window.el (window--state-get-1): Obey window-point-insertion-type.
9991
050cc68b
LB
99922012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
9993
9994 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
9995 to previous function when point is on the first character of a
75f1671a 9996 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 9997
a38c310c
GM
99982012-04-11 Glenn Morris <rgm@gnu.org>
9999
effed0c2
GM
10000 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10001 not just file-errors.
10002
a38c310c
GM
10003 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10004 (vc-bzr-sha1): Use internal sha1.
10005
0221e323
SM
100062012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10007
10008 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10009
43956923
SG
100102012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10011
10012 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10013 that start in the middle of the line (bug#10496).
10014
6a8c9eaf
DN
100152012-04-10 Dan Nicolaescu <dann@gnu.org>
10016
10017 * battery.el (battery-linux-proc-acpi): Only one battery is
10018 discharged at a time, but that seems to confuse battery.el when
10019 computing `rate-type' for the battery not being discharged
10020 (bug#10332).
10021
1930bf5d
SM
100222012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10023
2a718f6f
SM
10024 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10025
599430d0
SM
10026 * international/quail.el: Use dolist and simplify.
10027 (quail-define-package, quail-update-keyboard-layout)
10028 (quail-define-rules): Use dolist.
10029 (quail-insert-kbd-layout, quail-get-translation): CSE.
10030
a2754b6c
SM
10031 * tmm.el: Use dolist, remove left over hook.
10032 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10033 Use dolist.
10034 (calendar-load-hook): Don't mess with it.
10035
1930bf5d
SM
10036 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10037 Use derived-mode-p. Run the diff asynchronously.
10038
9f67961c
LMI
100392012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10040
10041 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10042
2a8ce227
JB
100432012-04-10 Juanma Barranquero <lekktu@gmail.com>
10044
10045 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10046 (list-dynamic-libraries--loaded): New function.
10047 (list-dynamic-libraries--refresh): Use it.
10048
8f33b5f8
NW
100492012-04-10 Nathan Weizenbaum <nweiz@google.com>
10050
1930bf5d
SM
10051 * progmodes/python.el (python-fill-paragraph):
10052 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
10053 disabled (bug#7018).
10054
b12f0439
L
100552012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10056
1930bf5d 10057 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
10058 DOS/MS Windows for the Baltic languages. There are still plenty
10059 of texts written in this encoding/codepage (bug#6519).
b12f0439 10060
57c3bd01
GM
100612012-04-10 Glenn Morris <rgm@gnu.org>
10062
10063 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10064 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10065
6c3eab30
FA
100662012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10067
1930bf5d 10068 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
10069 next-line "n" and previous-line "p" in order to make recentf more
10070 consistent with ibuffer, dired or org-mode (bug#9387).
10071
24d78a88
LMI
100722012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10073
bc72b5d9
LMI
10074 * image.el (put-image): Return the overlay created instead of the
10075 optional input string (bug#7834). Note that this may break code
10076 that is (for some reason or other) depending on `put-image'
10077 returning the string.
10078
bd2dba5a
LMI
10079 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10080
74beb59f
LMI
10081 * simple.el (zap-to-char): Allow zapping using input methods
10082 (bug#1580).
10083
24d78a88
LMI
10084 * textmodes/fill.el (fill-region): Leave point and mark where they
10085 were before filling (bug#5399).
10086
263f20cd
GM
100872012-04-09 Glenn Morris <rgm@gnu.org>
10088
10089 * version.el (emacs-bzr-get-version):
10090 Handle lightweight checkouts of local branches.
10091
58d1f797
AS
100922012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10093
263f20cd 10094 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 10095
b4d3bc10
CY
100962012-04-09 Chong Yidong <cyd@gnu.org>
10097
10098 * custom.el (custom-variable-p): Return nil for non-symbol
10099 arguments instead of signaling an error.
10100 (user-variable-p): Obsolete alias for custom-variable-p.
10101
10102 * apropos.el (apropos-variable):
10103 * files-x.el (read-file-local-variable):
10104 * simple.el (set-variable):
10105 * woman.el (woman-mini-help):
10106 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10107
fd06db5d
GM
101082012-04-09 Glenn Morris <rgm@gnu.org>
10109
e5fcdb5e
GM
10110 * startup.el (normal-top-level): Don't look for leim-list.el
10111 in places where it will not be found. (Bug#910)
10112
fd06db5d
GM
10113 * international/mule-cmds.el (set-default-coding-systems):
10114 * files.el (normal-mode):
10115 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10116 This function was removed with ucs-tables.el in 2008.
10117
b39bb7e1
EZ
101182012-04-08 Eli Zaretskii <eliz@gnu.org>
10119
10120 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10121 ispell-encoding8-command to "-i", without a trailing space.
10122 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10123 separate command-line arguments, to specify the encoding, since
10124 that's how hunspell expects it.
10125
5c5b8e23
GM
101262012-04-08 Glenn Morris <rgm@gnu.org>
10127
10128 * loadup.el: Load bindings before cus-start.
10129 This reduces somewhat the number of "rogue" settings in emacs -Q.
10130
a1ed8b05
GM
101312012-04-07 Glenn Morris <rgm@gnu.org>
10132
10133 * version.el (emacs-bzr-get-version): New function.
dfae128a 10134 (emacs-bzr-version): New variable.
a1ed8b05
GM
10135 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10136 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10137
b142f158
EZ
101382012-04-07 Eli Zaretskii <eliz@gnu.org>
10139
dfae128a
GM
10140 * international/uni-bidi.el, international/uni-category.el:
10141 * international/uni-combining.el, international/uni-decimal.el:
10142 * international/uni-decomposition.el, international/uni-digit.el:
10143 * international/uni-lowercase.el, international/uni-mirrored.el:
10144 * international/uni-name.el, international/uni-numeric.el:
10145 * international/uni-titlecase.el, international/uni-uppercase.el:
10146 Update for Unicode 6.1.
b142f158 10147
9078ead6
EZ
101482012-04-07 Eli Zaretskii <eliz@gnu.org>
10149
10150 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10151
f23d2c7d
LMI
101522012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10153
10154 * window.el (shrink-window): Mention the `window-min-height'
10155 variable in the doc string.
10156
0a0a3573
BG
101572012-04-05 Bastien Guerry <bzg@altern.org>
10158
10159 * color.el (color-lighten-name): Fix typo.
10160
e5248ac9
SM
101612012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10162
10163 * server.el (server--on-display-p): New function.
10164 (server--on-display-p): Use it.
10165
b4243e22
GV
101662012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10167
10168 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10169 (bug#11145).
10170
305d9f44
SM
101712012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * comint.el (comint--common-quoted-suffix): Check string boundary
10174 before comparing (bug#11158).
10175 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10176
3d439cd1
CY
101772012-04-04 Chong Yidong <cyd@gnu.org>
10178
321cc491
CY
10179 * minibuffer.el (completion-extra-properties): Doc fix.
10180
3d439cd1
CY
10181 * subr.el (delayed-warnings-hook): Doc fix.
10182
2d562c0f
DU
101832012-04-04 Daiki Ueno <ueno@unixuser.org>
10184
10185 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10186 selection (Bug#11159).
10187 (epa-insert-keys): Inform that the default public key will be
10188 exported if no key is selected.
10189
4443f204
RS
101902012-04-04 Richard Stallman <rms@gnu.org>
10191
10192 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10193
529c06b6
CY
101942012-04-03 Chong Yidong <cyd@gnu.org>
10195
10196 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10197 mail-insert-file, not its obsolete alias mail-attach-file.
10198
66b907dc
MA
101992012-04-03 Michael Albinus <michael.albinus@gmx.de>
10200
10201 * notifications.el (notifications-notify): Fix docstring.
10202
c0ea195d
GM
102032012-04-02 Glenn Morris <rgm@gnu.org>
10204
10205 * emacs-lisp/authors.el (authors-aliases): Another addition.
10206
5ca64e00
MA
102072012-04-02 Michael Albinus <michael.albinus@gmx.de>
10208
10209 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10210 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10211 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10212
42ee526b
CY
102132012-04-01 Chong Yidong <cyd@gnu.org>
10214
10215 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10216 Handle root directory properly.
10217 (copy-directory): Caller changed.
10218
10219 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10220 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10221
0b021094
GM
102222012-03-31 Glenn Morris <rgm@gnu.org>
10223
40f86458
GM
10224 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10225
7019c177
GM
10226 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10227
a1daddd6
GM
10228 * calendar/calendar.el (calendar-window-list)
10229 (calendar-hide-window): Restore. (Bug#11140)
10230 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10231
0b021094
GM
10232 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10233
40311efc
TV
102342012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10235
10236 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10237 Check if file is a symlink (Bug#10489).
10238
10239 * files.el (copy-directory): Likewise.
10240
5319014e
CY
102412012-03-30 Chong Yidong <cyd@gnu.org>
10242
10243 * image.el (imagemagick-types-inhibit)
10244 (imagemagick-register-types): Doc fix.
10245
935d1290
AM
102462012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10247
090bd7cb 10248 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 10249 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 10250 and treats ~word as ordinary words in pipe mode.
935d1290 10251
61c6e8fd
GM
102522012-03-30 Glenn Morris <rgm@gnu.org>
10253
10254 * tutorial.el (help-with-tutorial): Ensure local variables don't
10255 happen to make the buffer read-only. (Bug#11127)
10256
81fdff00
SM
102572012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10258
10259 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10260 (perl-calculate-indent): Return `noindent' in strings.
10261
6e7a6ec0
SS
102622012-03-28 Sam Steingold <sds@gnu.org>
10263
10264 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10265 instead of the broken adhockery which does not prevent calendar
10266 buffers from being displayed at random after exit.
10267 (calendar-window-list, calendar-hide-window): Remove the broken
10268 adhockery.
10269
fee88ca0
GM
102702012-03-28 Glenn Morris <rgm@gnu.org>
10271
10272 * replace.el (query-replace-map): Doc fix.
10273
38de3354
AS
102742012-03-28 Andreas Schwab <schwab@linux-m68k.org>
10275
10276 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10277 contents. (Bug#11109)
10278
b973155e
SM
102792012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10282 (bug#11077).
10283 (avl-tree--check, avl-tree--check-node): New funs.
10284
dcb6e7b3
MR
102852012-03-27 Martin Rudalics <rudalics@gmx.at>
10286
10287 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
10288 (switch-to-prev-buffer, switch-to-next-buffer):
10289 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
10290 showing a buffer already is done on the same frame.
10291
b4fa35fa
GM
102922012-03-27 Glenn Morris <rgm@gnu.org>
10293
10294 * startup.el (mail-host-address): Doc fix.
10295
f9210e18
SM
102962012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10299 than 197 variables.
10300
c0bf7753
AF
103012012-03-26 Ami Fischman <ami@fischman.org>
10302
10303 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10304
33da7b16
GM
103052012-03-26 Glenn Morris <rgm@gnu.org>
10306
02243d9d
GM
10307 * files.el (save-buffers-kill-emacs): Doc fix.
10308
33da7b16
GM
10309 * startup.el (normal-top-level, command-line, command-line-1):
10310 Give them doc strings.
10311
e5a69fd0
EZ
103122012-03-25 Eli Zaretskii <eliz@gnu.org>
10313
10314 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 10315 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 10316
9a69676a
CY
103172012-03-25 Chong Yidong <cyd@gnu.org>
10318
4125cb8b
CY
10319 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10320 theme if it was previously enabled before (Bug#11031).
10321
dd470960
CY
10322 * cus-theme.el (custom-theme-write-faces): Retrieve current face
10323 spec with custom-face-get-current-spec if its :shown-value is not
10324 determined yet (Bug#9337).
4125cb8b 10325 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 10326
9a69676a
CY
10327 * button.el (button-at): Minor addition to docstring.
10328
6e7e90fa
SL
103292012-03-24 Simon Leinen <simon.leinen@gmail.com>
10330
10331 * vc/vc.el (vc-merge): Fix a prompt.
10332
f06e2758
CY
103332012-03-24 Chong Yidong <cyd@gnu.org>
10334
10335 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10336 point (Bug#9623).
10337
6e7e90fa
SL
10338 * button.el (button-at): Minor addition to docstring.
10339
b9d0879b
SM
103402012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * newcomment.el (comment-choose-indent): No space after BOL.
10343
e71cebb3
SS
103442012-03-22 Sam Steingold <sds@gnu.org>
10345
10346 * window.el (switch-to-prev-buffer): Revert last patch because the
10347 bug turned out to be an advertised feature (Elisp manual 28.14).
10348
335aff35
GM
103492012-03-22 Glenn Morris <rgm@gnu.org>
10350
10351 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
10352 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10353
c676576a
LMI
103542012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10355
10356 * net/network-stream.el (network-stream-open-starttls): Make error
10357 message under Windows be less misleading.
10358
126f3d39
LW
103592012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
10360
10361 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10362 understands (bug#9942).
10363
64fee311
CY
103642012-03-22 Chong Yidong <cyd@gnu.org>
10365
10366 * simple.el (end-of-visible-line): Handle return value of
10367 next-single-property-change properly (Bug#9371).
10368
a640d29a
KH
103692012-03-22 Kenichi Handa <handa@m17n.org>
10370
10371 * international/quail.el (quail-insert-kbd-layout): Fix previous
10372 change. To avoid unwanted bidi reordering, use
10373 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10374
39675016
DG
103752012-03-21 Dmitry Gutov <dgutov@yandex.ru>
10376
10377 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10378 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10379 (ruby-beginning-of-indent): Be more careful with the difference
10380 between word-boundary and symbol boundary.
10381 (ruby-mode-syntax-table): Make : a symbol constituent.
10382
0a6934fc 103832012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 10384
3d008e4f
SM
10385 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10386
0a6934fc
SM
103872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10388
af67c9d7
SM
10389 * progmodes/etags.el (tags-completion-at-point-function):
10390 Improve last fix.
10391
1acad97c
SM
10392 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10393
e298b5da
SS
103942012-03-21 Sam Steingold <sds@gnu.org>
10395
10396 * progmodes/etags.el (tags-completion-at-point-function):
10397 Avoid the error when point is inside the pattern.
10398
91d82a70
JY
103992012-03-21 John Yates <john@yates-sheets.org> (tiny change)
10400
10401 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10402 line (Bug#10855).
10403
69188b79
CY
104042012-03-21 Drew Adams <drew.adams@oracle.com>
10405
10406 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10407
99fc91fe
AK
104082012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
10409
10410 * ido.el (ido-set-current-directory, ido-read-internal)
10411 (ido-choose-completion-string, ido-completion-help): Handle nil
10412 value of ido-completion-buffer (Bug#11008).
10413
087bbb4c
SS
104142012-03-21 Sam Steingold <sds@gnu.org>
10415
10416 * window.el (switch-to-prev-buffer): Do not switch to a visible
10417 window previous buffer, just like with the frame previous buffers.
10418
fb5b8aca
CY
104192012-03-21 Chong Yidong <cyd@gnu.org>
10420
10421 * faces.el (make-face, make-empty-face, copy-face):
10422 * face-remap.el (face-remap-add-relative, face-remap-set-base):
10423 Doc fixes.
10424
dc9924b8
SM
104252012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
10426
10427 * wid-edit.el (widget-complete-field): Remove (bug#11051).
10428 (widget-complete): Remove broken use of it.
10429
f0bcceb9
CY
104302012-03-20 Chong Yidong <cyd@gnu.org>
10431
dc9924b8
SM
10432 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10433 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
10434 characters.
10435
ee52ebf3
TH
104362012-03-20 Tassilo Horn <tassilo@member.fsf.org>
10437
10438 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10439 to draw rectangles, not squares. (Regression introduced by revno
10440 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10441
4c5779ab
CY
104422012-03-18 Chong Yidong <cyd@gnu.org>
10443
10444 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10445 it is not yet defined (for temacs).
10446
15360934
LL
104472012-03-18 Leo Liu <sdl.web@gmail.com>
10448
735135f9
PE
10449 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10450 prefix.
15360934 10451
d9a8eb66
EZ
104522012-03-17 Eli Zaretskii <eliz@gnu.org>
10453
10454 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10455 (ispell-choices-win-default-height, ispell-silently-savep)
10456 (ispell-dictionary-alist, ispell-encoding8-command)
10457 (ispell-check-version, ispell-aspell-find-dictionary)
10458 (ispell-valid-dictionary-list, ispell-words-keyword)
10459 (ispell-get-word, ispell-internal-change-dictionary)
10460 (ispell-region, ispell-skip-region-list)
10461 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10462 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10463 (ispell-message-text-end, ispell-message)
10464 (ispell-buffer-local-parsing): Doc fix.
10465
f02ff80d
J
104662012-03-13 Jambunathan K <kjambunathan@gmail.com>
10467
10468 * htmlfontify.el: Add support for code block fontification for ODT
10469 export (Bug #9914).
10470 (hfy-optimisations): Define new option
10471 `body-text-only'
10472 (hfy-fontify-buffer): Honor above setting.
10473 (hfy-begin-span, hfy-end-span): New routines factored out form
10474 `hfy-fontify-buffer'.
10475 (hfy-begin-span-handler, hfy-end-span-handler): New variables
10476 that permit insertion of custom tags.
10477 (hfy-fontify-buffer): Use above handlers.
10478 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10479 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 10480 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 10481 over multiple runs. This is made possible by having the caller let
f02ff80d
J
10482 bind a special variable `hfy-user-sheet-assoc'.
10483 (htmlfontify-string): New defun.
10484 (hfy-compile-face-map): Make sure that the last char in the
10485 buffer is correctly fontified.
10486 (hfy-face-resolve-face): Whitespace only change.
10487
9ac7a13f
EZ
104882012-03-17 Eli Zaretskii <eliz@gnu.org>
10489
10490 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10491 message more clear.
10492
e2b5bdd7
LL
104932012-03-16 Leo Liu <sdl.web@gmail.com>
10494
10495 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10496
2e492df3
AM
104972012-03-16 Alan Mackenzie <acm@muc.de>
10498
10499 Further optimise the handling of large macros.
10500
10501 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10502 limit to a call of `c-literal-limits'.
10503 (c-determine-+ve-limit): New function.
dc9924b8
SM
10504 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10505 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
10506 In CASE 5B, restrict a search limit to 500.
10507 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10508
10509 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10510 Restrict macro bounds to +-500 from after-change's BEG END.
10511
50e94f0c
LL
105122012-03-16 Leo Liu <sdl.web@gmail.com>
10513
10514 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10515
6f09f6ed
AH
105162012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
10517
10518 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 10519 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 10520
c7e73d51
GM
105212012-03-16 Glenn Morris <rgm@gnu.org>
10522
da986230
GM
10523 * view.el (view-buffer, view-buffer-other-window)
10524 (view-buffer-other-frame): Doc fixes re special mode-class.
10525
0835f01e
GM
10526 * subr.el (eval-after-load): If named feature is provided not from
10527 a file, run after-load forms. (Bug#10946)
10528
c7e73d51
GM
10529 * calendar/calendar.el (calendar-insert-at-column):
10530 Handle non-unit-width characters a bit better. (Bug#10978)
10531
3f2eafd1
CY
105322012-03-15 Chong Yidong <cyd@gnu.org>
10533
10534 * emacs-lisp/ring.el (ring-extend): New function.
10535 (ring-insert+extend): Extend the ring correctly (Bug#11019).
10536
10537 * comint.el (comint-read-input-ring)
10538 (comint-add-to-input-history): Grow comint-input-ring lazily.
10539
103af3fe
SM
105402012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
10541
663b1677
SM
10542 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10543 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10544
103af3fe
SM
10545 * imenu.el: Fix multiple inheritance breakage (bug#9199).
10546 (imenu-add-to-menubar): Don't add a redundant index.
10547 (imenu-update-menubar): Handle a dynamically composed keymap.
10548
899cb7cb
KY
105492012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
10550
10551 * mail/sendmail.el (mail-encode-header):
10552 Bind rfc2047-encode-encoded-words to nil.
10553
3809f91d
GM
105542012-03-13 Glenn Morris <rgm@gnu.org>
10555
10556 * calendar/calendar.el (calendar-string-spread):
10557 Handle non-unit-width characters a bit better. (Bug#10978)
10558
9e345a01
LL
105592012-03-13 Leo Liu <sdl.web@gmail.com>
10560
10561 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10562 directory and file as argument (Bug#10822).
10563
4a07df36
KS
105642012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10565
10566 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10567 For dynamically generated code, follow $PC.
10568 (gdb-disassembly-handler-custom): Handle no function name case.
10569
4aaa9356
TL
105702012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
10571
10572 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10573 * emulation/ws-mode.el (ws-query-replace):
10574 * sort.el (sort-regexp-fields):
10575 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
10576
225979da
SM
105772012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10578
10579 * dabbrev.el: Fix cycle completion order (bug#10963).
10580 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10581 (dabbrev-completion): Don't use an obarray; provide
10582 a cycle-sort-function.
10583
e2f1fdab
LL
105842012-03-12 Leo Liu <sdl.web@gmail.com>
10585
dc9924b8 10586 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
10587 (kill-do-not-save-duplicates): Doc fix.
10588
b19490ed
SM
105892012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * dabbrev.el: Fix cycle completion (bug#10963).
10592 Use lexical binding and wrap to 80 columns.
10593 (dabbrev-completion): Delay computing the list of completions.
10594
4b05d722
KH
105952012-03-12 Kenichi Handa <handa@m17n.org>
10596
10597 * international/quail.el (quail-insert-kbd-layout): Surround each
10598 row by LRO and PDF instead of inserting many LRMs. Pad the left
10599 and right of each non-spacing marks. Insert invisible space
10600 between lower and upper characters to prevent composition.
10601
dbbc2e69
SM
106022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
10603
10604 * minibuffer.el (minibuffer-complete): Don't get confused when the
10605 function is run twice via different commands (bug#10958).
10606 (complete-with-action): Fix docstring.
10607
292112ed
CY
106082012-03-12 Chong Yidong <cyd@gnu.org>
10609
5d1ac394
CY
10610 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10611 (nxml-completion-at-point-function): New function.
10612 (nxml-mode): Use it.
10613 (nxml-bind-meta-tab-to-complete-flag): Default to t.
10614
292112ed
CY
10615 * emacs-lisp/package.el (package-unpack, package-unpack-single):
10616 Load generated autoloads file before byte compiling (Bug#10970).
10617 (package--make-autoloads-and-compile): New helper fun.
10618
4098f8f7
CS
106192012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
10620
10621 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10622
8f754691
MA
106232012-03-11 Michael Albinus <michael.albinus@gmx.de>
10624
10625 * autorevert.el (auto-revert-handler): Ensure, that
10626 file-readable-p is applied only for local files or in
10627 auto-revert-tail-mode.
10628
e29ab36b
AS
106292012-03-11 Andreas Schwab <schwab@linux-m68k.org>
10630
dbbc2e69
SM
10631 * server.el (server-eval-at): Handle non-tcp connections.
10632 Decode result string.
ad0bf5b6 10633
e29ab36b
AS
10634 * server.el (server-msg-size): New constant.
10635 (server-reply-print): New function.
10636 (server-eval-and-print): Use it.
10637 (server-eval-at): Use server-quote-arg and server-unquote-arg.
10638 Handle -print-nonl.
10639
de5939ba
CS
106402012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
10641
10642 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10643 (Bug#10987).
10644
0c93eabf
CY
106452012-03-11 Chong Yidong <cyd@gnu.org>
10646
397a688f
CY
10647 * simple.el (goto-line): Doc fix (Bug#9938).
10648
2cc775f9
CY
10649 * subr.el (save-window-excursion): Doc fix (Bug#9979).
10650
0c93eabf
CY
10651 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10652 when finished (Bug#10963).
10653
c491fa41
MR
106542012-03-11 Martin Rudalics <rudalics@gmx.at>
10655
10656 * window.el (split-window-below): Fix bug in case where
10657 split-window-keep-point is nil (Bug#10971).
10658
300e8fa5
JL
106592012-03-11 Juri Linkov <juri@jurta.org>
10660
10661 * replace.el (replace-highlight): Set isearch-word to nil
10662 unconditionally. (Bug#10887)
10663
dbf6c5a1
EZ
106642012-03-10 Eli Zaretskii <eliz@gnu.org>
10665
10666 * net/mairix.el (mairix-replace-invalid-chars): Rename from
10667 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 10668 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
10669 (mairix-widget-create-query): Add usage information about mairix
10670 search forms: negating words, searching for substrings, etc.
10671
b9e501de
JP
106722012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
10673
10674 * international/fontset.el (font-encoding-alist): Add an entry for
10675 ksx1001 (Bug#5667).
10676
92795c91
RS
106772012-03-10 Richard Stallman <rms@gnu.org>
10678
1694e6c1
RS
10679 * mail/sendmail.el (mail-encode-header):
10680 Set rfc2047-encode-encoded-words.
10681
607e8555
RS
10682 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10683
de3bc99a
RS
10684 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10685 view buffer means not swapped.
10686 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10687 (rmail-write-region-annotate): Error if real text has disappeared.
10688
92795c91
RS
10689 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10690
699bd04e
CY
106912012-03-10 Chong Yidong <cyd@gnu.org>
10692
10693 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
10694 * emulation/cua-base.el (cua--init-keymaps):
10695 Add delete-forward-char to remappings (Bug#9666).
699bd04e 10696
570a1714
MR
106972012-03-10 Martin Rudalics <rudalics@gmx.at>
10698
dbbc2e69
SM
10699 * speedbar.el (speedbar-unhighlight-one-tag-line):
10700 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 10701
82dcf4e4
CY
107022012-03-10 Chong Yidong <cyd@gnu.org>
10703
7a2c7ca7
CY
10704 * minibuffer.el (completion-in-region, completion-help-at-point):
10705 Give the completion field overlay a high priority (Bug#6830).
10706
82dcf4e4
CY
10707 * dired.el (dired-goto-file): Recognize absolute file name
10708 listings (Bug#7126).
10709 (dired-goto-file-1): New helper function.
10710 (dired-toggle-read-only): Inhibit warnings.
10711
052e28ac
MA
107122012-03-09 Michael Albinus <michael.albinus@gmx.de>
10713
75f1671a 10714 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
10715 there are no properties.
10716
95d5e396
LL
107172012-03-09 Leo Liu <sdl.web@gmail.com>
10718
10719 * savehist.el (savehist-printable): Stricter check for string
10720 value (Bug#10937).
10721
3f018d6d
EZ
107222012-03-09 Eli Zaretskii <eliz@gnu.org>
10723
dbbc2e69
SM
10724 * mail/smtpmail.el (smtpmail-send-it):
10725 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
10726 valid mbox format.
10727
f7fd3d79
GM
107282012-03-09 Glenn Morris <rgm@gnu.org>
10729
10730 * files.el (dir-locals-find-file):
10731 Don't check result is regular, readable.
10732 (dir-locals-read-from-file): Demote errors.
10733
6ff6e72f
EZ
107342012-03-08 Eli Zaretskii <eliz@gnu.org>
10735
dbbc2e69
SM
10736 * international/quail.el (quail-insert-kbd-layout):
10737 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
10738 layout cell, to prevent their reordering by bidi display engine.
10739 For details, see the discussion in
10740 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10741
9cec7834
AM
107422012-03-08 Alan Mackenzie <acm@muc.de>
10743
10744 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10745 the starting position; make it extend the marked region when
10746 invoked repeatedly - all under appropriate circumstances.
10747 Fixes bugs #5525, #10906.
10748
9a40b8d4
GM
107492012-03-08 Glenn Morris <rgm@gnu.org>
10750
10751 * files.el (locate-dominating-file, dir-locals-find-file):
10752 Undo 2012-03-06 change.
10753
7a08ed35
EZ
107542012-03-07 Eli Zaretskii <eliz@gnu.org>
10755
dbbc2e69
SM
10756 * international/quail.el (quail-help):
10757 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
10758 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10759 for the reason.
10760
5aca4f71 107612012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
10762
10763 Avoid superfluous registering of signals. (Bug#10807)
10764
10765 * notifications.el (notifications-on-action-object)
10766 (notifications-on-close-object): New defvars.
10767 (notifications-on-action-signal, notifications-on-closed-signal):
10768 Unregister the signal if not needed any longer.
10769 (notifications-notify): Register `notifications-action-signal' or
10770 `notifications-closed-signal', if :on-action or :on-close has been
10771 passed as argument.
10772
78e8b10a
CY
107732012-03-07 Chong Yidong <cyd@gnu.org>
10774
10775 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10776 non-X platforms.
10777
69481eb8
GM
107782012-03-06 Glenn Morris <rgm@gnu.org>
10779
10780 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10781 (x-disown-selection-internal, x-get-selection-internal):
10782 Doc fix (add arglist signatures). (Bug#10783)
10783
133b8e11
KS
107842012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
10785
10786 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10787 Handle breakpoints with no "type".
10788
99a83064
GM
107892012-03-06 Glenn Morris <rgm@gnu.org>
10790
10791 * files.el (locate-dominating-file): Add optional predicate argument.
10792 (dir-locals-find-file): Make use of above change.
10793
17798e78
TTN
107942012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
10795
10796 * info.el (Info-insert-dir): Also try "dir.gz".
10797
eb182446
GM
107982012-03-06 Glenn Morris <rgm@gnu.org>
10799
8f2114ee
GM
10800 * files.el (dir-locals-find-file):
10801 Ignore non-readable or non-regular files. (Bug#10928)
10802
eb182446
GM
10803 * files.el (locate-dominating-file): Doc fix.
10804
24679323
AS
108052012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
10806
10807 * calendar/calendar.el (calendar-set-mode-line):
10808 `getenv' returns a string. (Bug#10951)
10809
01d972a9
LL
108102012-03-05 Leo Liu <sdl.web@gmail.com>
10811
109aa8a9
LL
10812 * simple.el (backward-delete-char-untabify): Constrain point to
10813 field (Bug#10939).
10814
01d972a9
LL
10815 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10816
10607bea
CY
108172012-03-05 Chong Yidong <cyd@gnu.org>
10818
10819 * simple.el (count-words): If called from Lisp, return the word
10820 count, for symmetry with `count-lines'. Arglist changed.
10821 (count-words--message): Args changed. Consolidate counting code
10822 from count-words and count-words-region.
10823 (count-words-region): Caller changed.
10824 (count-lines-region): Make it an obsolete alias.
10825
5dd11cfe
TH
108262012-03-04 Tassilo Horn <tassilo@member.fsf.org>
10827
10828 * saveplace.el (save-place-to-alist)
10829 (save-place-ignore-files-regexp): Allow value nil to disable this
10830 feature.
10831
c349f4e6
CY
108322012-03-04 Chong Yidong <cyd@gnu.org>
10833
10834 * faces.el (face-spec-reset-face): For the default face, reset the
10835 attributes to default values (Bug#10748).
10836
e627be4c
LMI
108372012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10838
10839 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10840 previous patch: Check `message-send-mail-function', and not the
10841 default function (bug#10897).
10842
ebeabff4
MA
108432012-03-04 Michael Albinus <michael.albinus@gmx.de>
10844
a41a6cf4
MA
10845 * notifications.el (notifications-on-action-signal)
10846 (notifications-on-closed-signal): Check for unique service name of
10847 incoming event. Fix error in removing entry.
ebeabff4 10848 (top): Register for signals with wildcard service name.
a41a6cf4 10849 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 10850
c1ca42b4
CY
108512012-03-04 Chong Yidong <cyd@gnu.org>
10852
dc9924b8 10853 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 10854
ea16568d
GM
108552012-03-04 Glenn Morris <rgm@gnu.org>
10856
10857 * abbrev.el (copy-abbrev-table, abbrev-table-p)
10858 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10859 (expand-abbrev, define-abbrev-table): Doc fixes.
10860
fbae4637
LMI
108612012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10862
10863 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10864 `message-default-send-mail-function' and not `send-mail-function'
10865 when doing the prompting for `sendmail-query-once' before sending
10866 in Message buffers (bug#10897).
10867
a1e7225c
LMI
10868 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10869 This is inconsistent with all the other stream functions, which leave
10870 the setting up to the higher levels (if so wanted) (bug#10931).
10871
56d093a9
AM
108722012-03-02 Alan Mackenzie <acm@muc.de>
10873
10874 Depessimize the handling of very large macros.
10875
10876 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10877 (c-macro-cache-syntactic): New variables to implement a one
10878 element macro cache.
10879 (c-invalidate-macro-cache): New function.
10880 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10881 Adapt to use the new cache.
10882 (c-state-safe-place): Use better the cache of safe positions.
10883 (c-state-semi-nonlit-pos-cache)
10884 (c-state-semi-nonlit-pos-cache-limit):
10885 New variables for...
10886 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
10887 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
10888 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10889 Use c-state-semi-safe-place.
56d093a9 10890
dbbc2e69
SM
10891 * progmodes/cc-langs.el (c-get-state-before-change-functions):
10892 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 10893
817e5c3d
MA
108942012-03-02 Michael Albinus <michael.albinus@gmx.de>
10895
dbbc2e69
SM
10896 * jka-compr.el (jka-compr-call-process):
10897 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
10898 not remote.
10899
a032a702
MA
109002012-03-01 Michael Albinus <michael.albinus@gmx.de>
10901
10902 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
10903 access of FILE2, if FILE1 does not exist.
10904
99a54f21
MA
10905 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10906 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10907
10908 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10909 Add "PAGER=" to `process-environment'.
10910
f6561e1f
MM
109112012-03-01 Michael R. Mauger <mmaug@yahoo.com>
10912
10913 * progmodes/sql.el: Bug fix
10914 (sql-get-login-ext): Save login values in globals.
10915 (sql-get-login): Use new version of `sql-get-login-ext'.
10916 (sql-interactive-mode): Set global `sql-connection' to nil.
10917 (sql-connect): Set global values for connection.
10918 (sql-product-interactive): Save global values as buffer local.
10919
2d44d9cc
LL
109202012-02-29 Leo Liu <sdl.web@gmail.com>
10921
10922 * abbrev.el (define-abbrevs): Reset sys to nil.
10923
96b49301 109242012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10925
bf7f9bc5
JB
10926 * files.el (file-equal-p): Rename from `files-equal-p'.
10927 Return nil when one or both files don't exist.
96b49301 10928 (file-subdir-of-p): Now only top directory must exists,
10929 return nil if it doesn't.
bf7f9bc5
JB
10930 (copy-directory): No need to test with `file-subdir-of-p' after
10931 creating dir.
10932 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10933 to `file-equal-p'.
96b49301 10934
44e97401
GM
109352012-02-28 Glenn Morris <rgm@gnu.org>
10936
10937 * shell.el (shell-mode):
10938 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
10939 * play/landmark.el (landmark-font-lock-face-O):
10940 * play/handwrite.el (handwrite):
10941 * play/gomoku.el (gomoku-O):
10942 * net/browse-url.el (browse-url-browser-display):
10943 * international/mule.el (define-charset):
10944 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
10945 * filesets.el (filesets-find-file-delay):
10946 * eshell/em-xtra.el (eshell-xtra):
10947 * eshell/em-unix.el (eshell-grep):
10948 * emulation/viper.el (viper-mode):
10949 * emacs-lisp/regexp-opt.el (regexp-opt-group):
10950 * emacs-lisp/easymenu.el (easy-menu-define):
10951 * calendar/timeclock.el (timeclock-use-display-time):
10952 * bs.el (bs-mode):
10953 * bookmark.el (bookmark-save-flag):
10954 Doc fix (standardize possessive apostrophe usage).
10955
c98c6276
CY
109562012-02-27 Chong Yidong <cyd@gnu.org>
10957
bf7f9bc5
JB
10958 * emulation/viper-cmd.el (viper-intercept-ESC-key):
10959 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 10960
c98c6276
CY
10961 * font-lock.el (font-lock-specified-p): Rename from
10962 font-lock-spec-present. Callers changed.
10963
9c62cd04 109642012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 10965
bf7f9bc5
JB
10966 * emacs-lisp/package.el (package-compute-transaction):
10967 Handle holding a package version to t in package-load-list.
8ac9e529 10968
530739c9
MA
109692012-02-26 Michael Albinus <michael.albinus@gmx.de>
10970
10971 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
10972 (tramp-get-inode, tramp-get-device): Use cached values.
10973
487915d7
AM
109742012-02-26 Alan Mackenzie <acm@muc.de>
10975
10976 Check there is a font-lock specification before doing initial
10977 fontification.
10978
10979 * font-core.el (font-lock-mode): Move the conditional from
10980 :after-hook to font-lock-initial-fontify.
10981 (font-lock-default-function): Move the check for a specification
10982 to font-lock-spec-present.
10983
dc9924b8 10984 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
10985 (font-lock-spec-present): New function.
10986
4fd96557
JB
109872012-02-26 Jim Blandy <jimb@red-bean.com>
10988
10989 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
10990 (gdb-send): Apply it to the operand of the '-interpreter-exec
10991 console' command, so that we can pass arguments with (say) quotes
10992 in them. Store exact string sent in gdb-debug-log (Bug#10765).
10993
9a4888c0
CY
109942012-02-26 Chong Yidong <cyd@gnu.org>
10995
07498861
CY
10996 * help-fns.el (describe-function-1): Clarify description of
10997 remapping (Bug#10844).
10998
9a4888c0
CY
10999 * files.el (files-equal-p): Doc fix.
11000 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11001 and quit the loop once a mismatch is found.
11002
ea8fb88d
JB
110032012-02-25 Juanma Barranquero <lekktu@gmail.com>
11004
11005 * bs.el (bs--show-with-configuration): Don't throw an error
11006 if the window cannot be split; otherwise, subsequent calls to
11007 bs-show fail, restoring a stale window config. (Bug#10882)
11008
525795c1
JD
110092012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11010
11011 * term/ns-win.el (global-map): Bind ns-drag-file to
11012 ns-find-file (Bug#5855, Bug#10050).
11013
f008086f
AS
110142012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11015
11016 * calendar/parse-time.el (parse-time-string): Allow extractor to
11017 return nil.
11018
a3fcfa99
MA
110192012-02-25 Michael Albinus <michael.albinus@gmx.de>
11020
91027d08
JB
11021 * net/tramp.el (tramp-file-name-for-operation):
11022 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
11023
11024 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
11025 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11026 Add COPY-CONTENTS argument.
a3fcfa99 11027
67b0de11
CY
110282012-02-25 Chong Yidong <cyd@gnu.org>
11029
11030 Add custom groups for VC backends, for consistency with vc-bzr.
11031
11032 * vc/vc-arch.el (vc-arch):
11033 * vc/vc-cvs.el (vc-cvs):
11034 * vc/vc-git.el (vc-git):
11035 * vc/vc-hg.el (vc-hg):
11036 * vc/vc-mtn.el (vc-mtn):
11037 * vc/vc-rcs.el (vc-rcs):
11038 * vc/vc-sccs.el (vc-sccs):
11039 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11040 All relevant defcustoms reassigned.
11041
3c9dfce6
CY
110422012-02-25 Chong Yidong <cyd@gnu.org>
11043
1339bf43
CY
11044 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11045
3c9dfce6
CY
11046 * term/x-win.el (x-initialize-window-system): Reduce default for
11047 x-selection-timeout to 5 seconds (Bug#8869).
11048
25b2e303 110492012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11050
ec70a47d
GM
11051 * files.el (files-equal-p, file-subdir-of-p): New functions.
11052 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 11053 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
11054 * dired-aux.el (dired-copy-file-recursive): Same.
11055 (dired-create-files): Modify destination when source is equal to
11056 dest when copying files.
53a46cd0 11057 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 11058
914260cd
MA
110592012-02-24 Michael Albinus <michael.albinus@gmx.de>
11060
11061 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11062 (Bug#10874)
11063
2cb228f7
AM
110642012-02-23 Alan Mackenzie <acm@muc.de>
11065
11066 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11067 parameter "after-hook:" to allow the expansion to run code after
11068 the execution of the mode hooks.
11069
11070 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 11071 from font-lock-mode-internal.
2cb228f7 11072
91027d08 11073 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
11074 :after-hook.
11075
8f0fde21
SM
110762012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11077
3e88618b
SM
11078 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11079 (completion--cache-all-sorted-completions): New function.
11080 (completion-all-sorted-completions): Use it.
11081 (completion--do-completion, minibuffer-force-complete):
11082 Use it to re-instate the flush hook.
11083
8f0fde21
SM
11084 * icomplete.el (icomplete-completions): Replace last fix with a better
11085 one (bug#10850).
11086
8e911f6f
DG
110872012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11088
11089 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11090 when it might call us back infinitely (bug#10797).
11091
49fe4321
GM
110922012-02-23 Glenn Morris <rgm@gnu.org>
11093
11094 * minibuffer.el (completion-category-overrides): Doc fix.
11095
b291b572
SM
110962012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11097
11098 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11099 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11100
31a9ef2e
GM
111012012-02-23 Glenn Morris <rgm@gnu.org>
11102
5e6e6794 11103 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
11104 (authors-obsolete-files-regexps, authors-ignored-files)
11105 (authors-ambiguous-files, authors-renamed-files-alist):
11106 Add more entries.
11107
0bd1e074
JL
111082012-02-23 Juri Linkov <juri@jurta.org>
11109
11110 * isearch.el (isearch-occur): Sync interactive spec with occur's
11111 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11112
b617673c
JL
11113 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11114
19e9789e
JL
111152012-02-22 Juri Linkov <juri@jurta.org>
11116
11117 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11118 (ucs-insert): Doc fix. Check for hex digits in the string.
11119 Don't display `nil' in the error message. (Bug#10857)
11120
f41ce09d
AM
111212012-02-22 Alan Mackenzie <acm@muc.de>
11122
7a71b18d 11123 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 11124
ac2eceee
GM
111252012-02-22 Glenn Morris <rgm@gnu.org>
11126
11127 * ffap.el (ffap-c-path):
11128 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11129
abd1f678
CY
111302012-02-22 Chong Yidong <cyd@gnu.org>
11131
11132 * custom.el (load-theme): Doc fix.
11133
f25aef2e
GM
111342012-02-22 Glenn Morris <rgm@gnu.org>
11135
11136 * dired-x.el (dired-guess-shell-alist-default):
11137 Remove escape sequences from nroff output. (Bug#172)
11138
5f8dc2ca
GM
111392012-02-21 Glenn Morris <rgm@gnu.org>
11140
6ff86ec4
GM
11141 * vc/emerge.el (emerge-defvar-local):
11142 Set `permanent-local' property rather than unused `preserved'.
11143
be3223a3 11144 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
11145 (picture-mode-map): Use it. (Bug#10860)
11146 (picture-mode): Doc fix.
11147
3fe58f4f
JB
111482012-02-21 Juanma Barranquero <lekktu@gmail.com>
11149
11150 * newcomment.el (uncomment-region-default): Remove unused binding.
11151
f9a998c3
GM
111522012-02-21 Glenn Morris <rgm@gnu.org>
11153
11154 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11155 (picture-self-insert, picture-tab-chars): Doc fix.
11156 (picture-mode-map): Fix C-a, C-e.
11157
c6029348
GM
111582012-02-20 Glenn Morris <rgm@gnu.org>
11159
11160 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11161
ab1ce9d7
LL
111622012-02-20 Leo Liu <sdl.web@gmail.com>
11163
11164 * icomplete.el (icomplete-completions): Check FROM arg before
11165 passing to substring (Bug#10850).
11166
0fd40f89
CY
111672012-02-19 Chong Yidong <cyd@gnu.org>
11168
11169 * comint.el: Require ansi-color.
11170 (comint-output-filter-functions): Add ansi-color-process-output.
11171
11172 * ansi-color.el: Don't set comint-output-filter-functions; it is
11173 now in the initial value defined in comint.el.
11174 (ansi-color-apply-face-function): New variable.
11175 (ansi-color-apply-on-region): Use it.
11176 (ansi-color-apply-overlay-face): New function.
11177
11178 * shell.el (shell): No need to require ansi-color.
11179 (shell-mode): Use ansi-color-apply-face-function to highlight
11180 color escapes using font-lock-face property (Bug#10835).
11181
20af2394
CY
111822012-02-19 Chong Yidong <cyd@gnu.org>
11183
11184 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11185 mode-line formats (Bug#10839).
11186
e23a3fbe
GM
111872012-02-18 Glenn Morris <rgm@gnu.org>
11188
b474519e
GM
11189 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11190
11191 * mail/undigest.el (unforward-rmail-message): Doc fix.
11192
e23a3fbe
GM
11193 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11194
57939ff4
EZ
111952012-02-18 Eli Zaretskii <eliz@gnu.org>
11196
11197 * international/characters.el (script-list): Sync with the latest
11198 Unicode Character Database.
11199
0c23686e
AS
112002012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11201
11202 * international/titdic-cnv.el: Remove duplicate coding tag.
11203 * language/cham.el: Likewise.
11204 * language/tai-viet.el: Likewise.
11205
6818b449
GM
112062012-02-18 Glenn Morris <rgm@gnu.org>
11207
11208 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11209 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11210 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11211 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11212 * calendar/holidays.el (holiday-bahai-holidays)
11213 (calendar-holidays, list-holidays):
11214 Use utf-8 Bahá'í in doc-strings, menus, etc.
11215
0311a3fc
TH
112162012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11217
11218 * saveplace.el (save-place-ignore-files-regexp): New variable
11219 allowing for excluding files from saving their location of point.
11220 The default value matches the temporary commit message editing
11221 files from Git, SVN, Bazaar, and Mercurial.
11222 (save-place-to-alist): Use it.
11223
d209e2fb 112242012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 11225 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
11226
11227 * newcomment.el (uncomment-region-default): Don't leave extra space
11228 when an arg is provided (bug#8150).
11229
ee0ce425
TZ
112302012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11231
eb864a71 11232 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 11233
95ddf442
GM
112342012-02-17 Glenn Morris <rgm@gnu.org>
11235
11236 * net/socks.el: Require network-stream. (Bug#10599)
11237
48dd1e39 112382012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
11239
11240 * international/charprop.el:
11241 * international/uni-name.el:
11242 * international/uni-old-name.el:
11243 * international/uni-comment.el: Regenerate.
11244
d68cd087
GM
112452012-02-16 Glenn Morris <rgm@gnu.org>
11246
11247 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11248 Interactively in calendar buffer, give an error if not on a date.
11249
13932042
GM
112502012-02-15 Glenn Morris <rgm@gnu.org>
11251
11252 * shell.el (shell-delimiter-argument-list):
11253 Revert 2011-02-17 change. (Bug#8027)
11254
c3a70e2b
CY
112552012-02-15 Chong Yidong <cyd@gnu.org>
11256
60236b0d
CY
11257 * minibuffer.el (completion-at-point-functions): Doc fix.
11258
c3a70e2b
CY
11259 * custom.el (defcustom): Doc fix; note use of defvar.
11260
9f26dc24
GM
112612012-02-15 Glenn Morris <rgm@gnu.org>
11262
11263 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11264 Doc fixes.
11265
6546b134
GM
112662012-02-14 Glenn Morris <rgm@gnu.org>
11267
11268 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11269
d29b2b4c
LI
112702012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
11271
11272 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11273 way the ports list is computed.
835bdcba
LI
11274 (smtpmail-query-smtp-server): Prompt the user for a port number if
11275 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 11276
08dcdbc9
TZ
112772012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
11278
11279 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11280
2605051a
GM
112812012-02-13 Glenn Morris <rgm@gnu.org>
11282
11283 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
11284
7ee99f32
TZ
112852012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
11286
11287 * net/gnutls.el (gnutls-trustfiles): New variable.
11288 (gnutls-negotiate): Use it.
11289
5f0af64f
LI
112902012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
11291
11292 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11293 does its stuff if Gnus is running.
11294
c14fcc95
AM
112952012-02-13 Alan Mackenzie <acm@muc.de>
11296
11297 Fix a loop in c-set-fl-decl-start.
11298
7a71b18d 11299 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
11300 c-backward-syntactic-ws actually moves backwards.
11301
142b4d90
LL
113022012-02-13 Leo Liu <sdl.web@gmail.com>
11303
11304 * net/rcirc.el (rcirc-markup-attributes): Move point to the
11305 beginning so that all \C-o chars are removed.
11306
fa9958a6
TZ
113072012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
11308
dc9924b8 11309 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 11310
0bc5886a
AM
113112012-02-12 Alan Mackenzie <acm@muc.de>
11312
11313 Fix infinite loop with long macros.
4d6769e1 11314 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 11315
d4bd55e7
CY
113162012-02-12 Chong Yidong <cyd@gnu.org>
11317
11318 * window.el (display-buffer): Doc fix (Bug#10785).
11319
66f3fe22
GM
113202012-02-12 Glenn Morris <rgm@gnu.org>
11321
bd7da63e
GM
11322 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11323 (x-disown-selection-internal, x-get-selection-internal):
11324 Sync docs with the xselect.c versions.
11325
66f3fe22
GM
11326 * allout-widgets.el: Add missing license notice.
11327
3e0d2fa7
GM
113282012-02-11 Glenn Morris <rgm@gnu.org>
11329
cfecdf09
GM
11330 * select.el (x-get-selection-internal, x-own-selection-internal)
11331 (x-disown-selection-internal):
11332 * x-dnd.el (x-get-selection-internal): Update declarations.
11333
6d216d7f
GM
11334 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11335
2bed3f04
GM
11336 * window.el (window-sides-slots):
11337 * tool-bar.el (tool-bar-position):
11338 * term/xterm.el (xterm-extra-capabilities):
11339 * ses.el (ses-self-reference-early-detection):
11340 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11341 (verilog-auto-wire-type)
11342 (verilog-auto-delete-trailing-whitespace)
11343 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11344 (verilog-auto-tieoff-declaration):
11345 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11346 (sql-oracle-statement-starters, sql-oracle-scan-on):
11347 * progmodes/prolog.el (prolog-align-comments-flag)
11348 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11349 (prolog-left-indent-regexp, prolog-paren-indent-p)
11350 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11351 (prolog-types, prolog-mode-specificators)
11352 (prolog-determinism-specificators, prolog-directives)
11353 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11354 (prolog-electric-dot-flag)
11355 (prolog-electric-dot-full-predicate-template)
11356 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11357 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11358 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11359 (prolog-program-switches, prolog-prompt-regexp)
11360 (prolog-debug-on-string, prolog-debug-off-string)
11361 (prolog-trace-on-string, prolog-trace-off-string)
11362 (prolog-zip-on-string, prolog-zip-off-string)
11363 (prolog-use-standard-consult-compile-method-flag)
11364 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11365 (prolog-imenu-max-lines, prolog-info-predicate-index)
11366 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11367 (prolog-char-quote-workaround):
11368 * progmodes/cc-vars.el (c-defun-tactic):
11369 * net/tramp.el (tramp-encoding-command-interactive)
11370 (tramp-local-end-of-line):
11371 * net/soap-client.el (soap-client):
11372 * net/netrc.el (netrc-file):
11373 * net/gnutls.el (gnutls):
11374 * minibuffer.el (completion-category-overrides)
11375 (completion-cycle-threshold)
11376 (completion-pcm-complete-word-inserts-delimiters):
11377 * man.el (Man-name-local-regexp):
11378 * mail/feedmail.el (feedmail-display-full-frame):
11379 * international/characters.el (glyphless-char-display-control):
11380 * eshell/em-ls.el (eshell-ls-date-format):
11381 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11382 (lisp-lambda-list-keyword-parameter-indentation)
11383 (lisp-lambda-list-keyword-parameter-alignment):
11384 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11385 * dired-x.el (dired-omit-verbose):
11386 * cus-theme.el (custom-theme-allow-multiple-selections):
11387 * calc/calc.el (calc-highlight-selections-with-faces)
11388 (calc-lu-field-reference, calc-lu-power-reference)
11389 (calc-note-threshold):
11390 * battery.el (battery-mode-line-limit):
11391 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11392 (archive-7z-update):
11393 * allout.el (allout-prefixed-keybindings)
11394 (allout-unprefixed-keybindings)
11395 (allout-inhibit-auto-fill-on-headline)
11396 (allout-flattened-numbering-abbreviation):
11397 * allout-widgets.el (allout-widgets-auto-activation)
11398 (allout-widgets-icons-dark-subdir)
11399 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11400 (allout-widgets-theme-dark-background)
11401 (allout-widgets-theme-light-background)
11402 (allout-widgets-item-image-properties-emacs)
11403 (allout-widgets-item-image-properties-xemacs)
11404 (allout-widgets-run-unit-tests-on-load)
11405 (allout-widgets-time-decoration-activity)
11406 (allout-widgets-hook-error-post-time)
11407 (allout-widgets-track-decoration):
11408 Add missing :version tags to new defcustoms and defgroups.
11409
5fec1b8e
GM
11410 * progmodes/sql.el (sql-ansi-statement-starters)
11411 (sql-oracle-statement-starters): Add custom type.
11412
3e0d2fa7
GM
11413 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11414 (prolog-system-version): Give it a type.
11415
90b671e2
EZ
114162012-02-11 Eli Zaretskii <eliz@gnu.org>
11417
11418 * term/pc-win.el (x-select-text, x-selection-owner-p)
11419 (x-own-selection-internal, x-disown-selection-internal)
11420 (x-get-selection-internal): Sync doc strings and argument lists
11421 with xselect.c, common-win.el and x-win.el. (Bug#10783)
11422
5eac0c02
LL
114232012-02-11 Leo Liu <sdl.web@gmail.com>
11424
11425 * progmodes/python.el (python-end-of-statement): Fix infinite
11426 loop. (Bug#10788)
11427
f82cb659
GM
114282012-02-10 Glenn Morris <rgm@gnu.org>
11429
11430 * international/mule-cmds.el (unify-8859-on-encoding-mode)
11431 (unify-8859-on-decoding-mode): Properly mark as obsolete.
11432
cc26d239
LI
114332012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
11434
11435 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11436 about SMTP before checking the From header.
11437
91027d08 11438 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
11439 into own function for reuse by emacsbug.el.
11440
1be3ca5a
LL
114412012-02-10 Leo Liu <sdl.web@gmail.com>
11442
11443 * subr.el (condition-case-unless-debug): Rename from
11444 condition-case-no-debug. All callers changed.
11445 (with-demoted-errors): Fix caller.
11446
11447 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11448 * nxml/rng-valid.el (rng-do-some-validation):
11449 * emacs-lisp/package.el (package-refresh-contents)
11450 (package-menu-execute):
11451 * desktop.el (desktop-create-buffer):
91027d08 11452 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 11453
b011fbfe
GM
114542012-02-10 Glenn Morris <rgm@gnu.org>
11455
b2096d72
GM
11456 * textmodes/bibtex.el:
11457 Add missing :version tags for new/changed defcustoms.
11458
b011fbfe
GM
11459 * files.el (remote-file-name-inhibit-cache): Doc fixes.
11460
4c7e65bf
LI
114612012-02-09 Lars Ingebrigtsen <larsi@rusty>
11462
11463 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11464 (smtpmail-via-smtp): Use it, or fall back on the From address.
11465 (smtpmail-send-it): Ditto.
11466
f3934f6f
SM
114672012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
11468
11469 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11470 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
11471 (byte-compile-tmp-var): New const.
11472 (byte-compile-defvar): Use it to minimize .elc size.
11473 Just use `defvar' rather than simulate it (bug#10761).
11474
a075a2c5
GM
114752012-02-09 Glenn Morris <rgm@gnu.org>
11476
cf3aa21b
GM
11477 * files.el (rename-uniquely): Doc fix. (Bug#3806)
11478
354998cd
GM
11479 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11480 Add :version tags.
11481
dc9924b8
SM
11482 * progmodes/compile.el (compilation-error-screen-columns)
11483 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 11484
dab3703d
GM
11485 * vc/log-view.el (log-view-toggle-entry-display):
11486 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11487
3f88cd72
GM
11488 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11489 (report-emacs-bug-can-use-xdg-email):
11490 (report-emacs-bug-insert-to-mailer): Doc fixes.
11491 (report-emacs-bug): Message fix.
11492
d95b247d
GM
11493 * net/browse-url.el (browse-url-can-use-xdg-open)
11494 (browse-url-xdg-open): Doc fixes.
11495
a075a2c5
GM
11496 * electric.el (electric-indent-mode, electric-pair-mode)
11497 (electric-layout-rules, electric-layout-mode): Doc fixes.
11498 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11499
ffb6157e
MR
115002012-02-08 Martin Rudalics <rudalics@gmx.at>
11501
11502 * server.el (server-unselect-display): Don't inadvertently kill
11503 the current buffer. (Bug#10729)
11504
e1ac4066
GM
115052012-02-08 Glenn Morris <rgm@gnu.org>
11506
34e8a2da
GM
11507 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11508 (sql-list-table): Doc fixes.
11509
b4ac6e8c
GM
11510 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11511 Comment out (does nothing).
11512
e1ac4066
GM
11513 * completion.el (dynamic-completion-mode):
11514 * dirtrack.el (dirtrack-debug-mode):
11515 * electric.el (electric-layout-mode):
11516 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11517 * face-remap.el (text-scale-mode, buffer-face-mode):
11518 * iimage.el (iimage-mode):
11519 * image-mode.el (image-transform-mode):
11520 * minibuffer.el (completion-in-region-mode):
11521 * scroll-lock.el (scroll-lock-mode):
11522 * simple.el (next-error-follow-minor-mode):
11523 * tar-mode.el (tar-subfile-mode):
11524 * tooltip.el (tooltip-mode):
11525 * vcursor.el (vcursor-use-vcursor-map):
11526 * wid-browse.el (widget-minor-mode):
11527 * emulation/tpu-edt.el (tpu-edt-mode):
11528 * emulation/tpu-extras.el (tpu-cursor-free-mode):
11529 * international/iso-ascii.el (iso-ascii-mode):
11530 * language/thai-util.el (thai-word-mode):
11531 * mail/supercite.el (sc-minor-mode):
11532 * net/goto-addr.el (goto-address-mode):
11533 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11534 * progmodes/cwarn.el (cwarn-mode):
11535 * progmodes/flymake.el (flymake-mode):
11536 * progmodes/glasses.el (glasses-mode):
11537 * progmodes/hideshow.el (hs-minor-mode):
11538 * progmodes/pascal.el (pascal-outline-mode):
11539 * textmodes/enriched.el (enriched-mode):
11540 * vc/smerge-mode.el (smerge-mode):
11541 Doc fixes (minor mode argument).
11542
5e0d957f
EZ
115432012-02-07 Eli Zaretskii <eliz@gnu.org>
11544
11545 * ls-lisp.el (ls-lisp-sanitize): New function.
11546 (ls-lisp-insert-directory): Use it to fix or remove any elements
11547 in file-alist with missing attributes. (Bug#4673)
11548
98d7371e
AM
115492012-02-07 Alan Mackenzie <acm@muc.de>
11550
11551 Fix spurious recognition of c-in-knr-argdecl.
11552
11553 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11554 putative K&R region.
11555
667ced3a
AM
115562012-02-07 Alan Mackenzie <acm@muc.de>
11557
eb864a71
LM
11558 * progmodes/cc-engine.el (c-forward-objc-directive):
11559 Prevent looping in "#pragma mark @implementation".
667ced3a 11560
5b77774d
MA
115612012-02-07 Michael Albinus <michael.albinus@gmx.de>
11562
11563 * notifications.el (notifications-on-closed-signal): Make `reason'
11564 optional. (Bug#10744)
11565
af008560
GM
115662012-02-07 Glenn Morris <rgm@gnu.org>
11567
60d47423
GM
11568 * emacs-lisp/easy-mmode.el (define-minor-mode):
11569 Doc fixes for the macro and the mode it defines.
11570
dd605cc4
GM
11571 * image.el (imagemagick-types-inhibit): Doc fix.
11572
af008560
GM
11573 * cus-start.el (imagemagick-render-type): Add it.
11574
5cc59a37
LI
115752012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
11576
4d6769e1
JB
11577 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11578 Set the default at load time, too, so that `font-lock-fontify-buffer'
11579 can be called without setting up the entire mode first. This fixes
11580 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 11581
9a6dd747
CY
115822012-02-06 Chong Yidong <cyd@gnu.org>
11583
2d16b285
CY
11584 * simple.el (list-processes--refresh): Delete exited processes
11585 (Bug#8094).
11586
171e9b6e
CY
11587 * comint.el (comint-next-prompt): next-single-char-property-change
11588 and prev-single-char-property-change never return nil (Bug#8657).
11589
9a6dd747
CY
11590 * custom.el (defcustom): Doc fix (Bug#9711).
11591
aa4589a7
CY
115922012-02-05 Chong Yidong <cyd@gnu.org>
11593
5c2a252f
CY
11594 * cus-edit.el (custom-variable-reset-backup): Quote the value
11595 before storing it in the customized-value property (Bug#6712).
4aab9006 11596 (custom-display): Add a customization type tag.
983b9602 11597 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 11598
aa4589a7
CY
11599 * wid-edit.el (widget-field-value-get): New optional arg to
11600 suppress trailing whitespace truncation.
11601 (character): Use it (Bug#2689).
11602
1ff980ae
AS
116032012-02-05 Andreas Schwab <schwab@linux-m68k.org>
11604
11605 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11606 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11607
03988c98
CY
116082012-02-05 Chong Yidong <cyd@gnu.org>
11609
eeb6cc88
CY
11610 * cus-edit.el (custom-variable-value-create): For mismatched
11611 types, show the current value (Bug#7600).
11612
03988c98
CY
11613 * custom.el (defcustom): Doc fix.
11614
f8cdeef0
GM
116152012-02-05 Glenn Morris <rgm@gnu.org>
11616
11617 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11618
0696d255
JB
116192012-02-05 Juanma Barranquero <lekktu@gmail.com>
11620
11621 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11622 (pp-buffer): Use `ignore-errors', `looking-at-p'.
11623 (pp-last-sexp): Use `looking-at-p'.
11624
34c99998
GM
116252012-02-04 Glenn Morris <rgm@gnu.org>
11626
8f05da42
GM
11627 * files.el (revert-buffer):
11628 Doc fix (mention revert-buffer-in-progress-p).
11629
f160676e
GM
11630 * emacs-lisp/ert-x.el (ert-simulate-command):
11631 Check deferred-action-list (which is obsolete) is bound.
11632
c7291ad9
GM
11633 * subr.el (with-wrapper-hook): Doc fixes.
11634
34c99998
GM
11635 * simple.el (filter-buffer-substring-functions)
11636 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11637
6283a7d3
LL
116382012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
11639
11640 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11641 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
11642
e96e3013
LL
116432012-02-04 Leo Liu <sdl.web@gmail.com>
11644
11645 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11646
8ded50f2
GM
116472012-02-04 Glenn Morris <rgm@gnu.org>
11648
82ff1d13
GM
11649 * image.el (image-extension-data): Add obsolete alias.
11650
987a0a16
GM
11651 * isearch.el (isearch-update): Doc fix.
11652
ea32ef46
GM
11653 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11654
8ded50f2
GM
11655 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11656
eea14f31
GM
116572012-02-03 Glenn Morris <rgm@gnu.org>
11658
11659 * image.el (image-animated-p): Doc fix. Use image-animated-types.
11660 (image-animate-timeout): Doc fix.
11661
11662 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11663
12f381b7
GM
116642012-02-02 Glenn Morris <rgm@gnu.org>
11665
953cebf5
GM
11666 * server.el (server-auth-dir): Doc fix.
11667 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
11668
12f381b7
GM
11669 * subr.el (run-mode-hooks): Doc fix.
11670
953a8c3b
JL
116712012-02-02 Juri Linkov <juri@jurta.org>
11672
11673 * image-mode.el (image-toggle-display-image): Remove tautological
11674 `major-mode' from the `derived-mode-p' test.
11675
c5d3843c
KH
116762012-02-02 Kenichi Handa <handa@m17n.org>
11677
9f6e692e 11678 * composite.el (compose-region): Cancel previous change.
c5d3843c 11679
159462d4 116802012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
11681
11682 * composite.el (compose-region, compose-string): Signal error for
11683 a null string component (Bug#6988).
11684
9f562668
CY
116852012-02-01 Chong Yidong <cyd@gnu.org>
11686
e2cef717
CY
11687 * view.el (view-buffer-other-window, view-buffer-other-frame):
11688 Handle special modes like view-buffer (Bug#10650).
11689 (view-buffer): Simplify.
11690
9f562668
CY
11691 * frame.el (set-frame-font): Tweak meaning of third argument.
11692
9f6e692e
JB
11693 * dynamic-setting.el (font-setting-change-default-font):
11694 Use set-frame-font (Bug#9982).
9f562668 11695
781acb9f
GM
116962012-02-01 Glenn Morris <rgm@gnu.org>
11697
6035be52
GM
11698 * progmodes/compile.el (compilation-internal-error-properties):
11699 Respect compilation-first-column in the "*compilation*" buffer.
11700
781acb9f
GM
11701 * emacs-lisp/easy-mmode.el (define-minor-mode):
11702 Relax :variable's test for a named function.
11703
abbceb00
AM
117042012-01-31 Alan Mackenzie <acm@muc.de>
11705
11706 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11707 off by one error.
11708
fce3fdeb
CY
117092012-01-31 Chong Yidong <cyd@gnu.org>
11710
11711 * frame.el (set-frame-font): New arg ALL-FRAMES.
11712
11713 * menu-bar.el (menu-set-font): Use set-frame-font.
11714
11715 * faces.el (face-spec-reset-face): Don't apply unspecified
11716 attribute values to the default face.
11717
47893581
JB
117182012-01-31 Juanma Barranquero <lekktu@gmail.com>
11719
11720 * progmodes/cwarn.el (cwarn): Remove dead link.
11721 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11722 Remove * from defcustom docstrings.
11723 (turn-on-cwarn-mode): Make obsolete.
11724 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11725 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11726
e58e988a
GM
117272012-01-31 Glenn Morris <rgm@gnu.org>
11728
60dc2671 11729 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 11730 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 11731 Allow named functions to be used as the cdr of :variable.
e58e988a 11732
7a3f511d
GM
117332012-01-30 Glenn Morris <rgm@gnu.org>
11734
11735 * emacs-lisp/authors.el (authors-fixed-entries):
11736 Remove reference to deleted file rnewspost.el.
11737
cb882333
JB
117382012-01-29 Juanma Barranquero <lekktu@gmail.com>
11739
11740 * window.el (window-with-parameter): Remove unused variable `windows'.
11741 (window--side-check): Remove unused variable `code'.
11742 (window--resize-siblings): Remove unused variable `first'.
11743 (adjust-window-trailing-edge): Remove unused variable `failed'.
11744 (window-deletable-p, window--delete): Remove unused variable `buffer'.
11745 Use `let', not `let*'.
11746 (balance-windows-2): Remove unused variable `found'.
11747 (window--state-put-2): Remove unused variable `splits'.
11748 (window-state-put): Remove unused variable `selected'.
11749 (same-window-p): Use `string-match-p'.
11750 (display-buffer-assq-regexp): Remove unused variable `value'.
11751 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11752 Mark argument ALIST as ignored.
11753 (pop-to-buffer): Remove unused variable `old-window'.
11754
907201af
EZ
117552012-01-29 Eli Zaretskii <eliz@gnu.org>
11756
11757 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11758 and .lzma compressed files.
11759
ea162670
CY
117602012-01-29 Chong Yidong <cyd@gnu.org>
11761
5b95ee8a
CY
11762 * frame.el (window-system-default-frame-alist): Doc fix.
11763
ea162670
CY
11764 * dynamic-setting.el (font-setting-change-default-font): Don't
11765 change the default face if SET-FONT argument is non-nil (Bug#9982).
11766
6fccd6e8 117672012-01-29 Samuel Bronson <naesten@gmail.com>
d6e6f4b1
SB
11768
11769 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11770
0f29fa41 117712012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
11772
11773 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11774 breakpoints in files outside current directory (Bug#6098).
11775
db174434
CY
117762012-01-29 Chong Yidong <cyd@gnu.org>
11777
6b25e4e2
SE
11778 * progmodes/python.el: Require ansi-color at top-level.
11779
6df6ae42
JB
11780 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11781 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
11782 (lisp-mode-abbrev-table): Add doc.
11783 (lisp-mode-variables): Don't set local-abbrev-table.
11784 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11785
e70ee681
RW
117862012-01-28 Roland Winkler <winkler@gnu.org>
11787
11788 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11789
ace88aa2
RW
117902012-01-28 Roland Winkler <winkler@gnu.org>
11791
11792 * textmodes/bibtex.el (bibtex-entry-alist): New function.
11793 (bibtex-set-dialect): Use it. Either set global values of
11794 dialect-dependent variables or bind these variables buffer-locally
11795 (Bug#10254).
11796 (bibtex-mode): Call bibtex-set-dialect via
11797 hack-local-variables-hook.
eb864a71
LM
11798 (bibtex-dialect): Update docstring.
11799 Add safe-local-variable predicate.
ace88aa2
RW
11800 (bibtex-entry-alist, bibtex-field-alist): Initialize via
11801 bibtex-set-dialect.
11802 (bibtex-mode-map): Define menu for each dialect.
11803 (bibtex-entry): Fix docstring.
11804
93376c5b
CY
118052012-01-28 Chong Yidong <cyd@gnu.org>
11806
11807 * eshell/esh-arg.el (eshell-quote-argument): New function.
11808
11809 * eshell/esh-ext.el (eshell-invoke-batch-file):
11810 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11811 first arg to eshell-parse-command (Bug#10523).
11812
4372494f
DA
118132012-01-28 Drew Adams <drew.adams@oracle.com>
11814
11815 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11816 `default-directory' is non-nil.
11817
4d4ec1f8
EZ
118182012-01-28 Eli Zaretskii <eliz@gnu.org>
11819
11820 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11821 line that displays system-configuration-options. (Bug#9924)
11822
7c188927
DA
118232012-01-28 Drew Adams <drew.adams@oracle.com>
11824
11825 * descr-text.el (describe-char): Show information about POS, in
11826 addition to information about the character at POS. Improve and
11827 update the doc string. Change "code point" to "code point in
11828 charset", to avoid confusion with the character's Unicode code
11829 point shown above that. (Bug#10129)
11830
e0da685a
EZ
118312012-01-28 Eli Zaretskii <eliz@gnu.org>
11832
11833 * descr-text.el (describe-char): Show the raw character, not only
11834 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
11835 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11836 for the reasons.
11837
70550acf
PH
118382012-01-28 Phil Hagelberg <phil@hagelb.org>
11839
eb864a71
LM
11840 * emacs-lisp/package.el (package-install):
11841 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 11842
0ce8e868
CY
118432012-01-28 Chong Yidong <cyd@gnu.org>
11844
cb882333
JB
11845 * emacs-lisp/package.el (package-maybe-load-descriptor):
11846 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
11847 (package-maybe-load-descriptor): Use it.
11848 (package-download-transaction): Fully load required packages
11849 inside the loop, so that `require' calls work (Bug#10593).
11850 (package-install): No need to call package-initialize now.
11851
2e7f3bea
CY
118522012-01-28 Chong Yidong <cyd@gnu.org>
11853
6e9bad14
CY
11854 * simple.el (deactivate-mark): Doc fix (Bug#8614).
11855
f823b8ca
CY
11856 * tooltip.el (tooltip-mode): Doc fix.
11857 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11858
2680c309
CY
11859 * frame.el (set-cursor-color): Doc fix (Bug#352).
11860
d7a9e63b
CY
11861 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11862 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11863
2e7f3bea
CY
11864 * cus-edit.el (custom-buffer-create-internal): Fix search button
11865 action (Bug#10542).
2ae01800 11866 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 11867
fc4f7a23
EW
118682012-01-27 Eduard Wiebe <usenet@pusto.de>
11869
11870 * dired.el (dired-mark-files-regexp):
11871 Include any subdirectory components. (Bug#10445)
11872
7dd37071
ML
118732012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
11874
11875 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11876 Handle [host]:port syntax. (Bug#10533)
11877
a268160b
AH
118782012-01-27 Alex Harsanyi <harsanyi@mac.com>
11879
11880 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11881
e43273ef
GM
118822012-01-26 Glenn Morris <rgm@gnu.org>
11883
11884 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11885 * term.el (term-raw-escape-map): Use Control-X-prefix.
11886 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
11887
1edf595d
MR
118882012-01-25 Martin Rudalics <rudalics@gmx.at>
11889
11890 * window.el (window-state-get, window--state-get-1): Don't deal
11891 with fixed-sizeness of windows. Simplify code.
11892
fa8eafef
JC
118932012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
11894
6df6ae42
JB
11895 * window.el (window--state-get-1, window--state-put-2):
11896 Don't save and restore the mark.
fa8eafef 11897
0b21c100
CY
118982012-01-25 Chong Yidong <cyd@gnu.org>
11899
11900 * custom.el (custom-variable-p): Doc fix.
11901
5ae1a6c8
GM
119022012-01-25 Glenn Morris <rgm@gnu.org>
11903
40047858
GM
11904 * dired.el (dired-goto-file): Handle some of the more common
11905 characters that `ls -b' escapes. (Bug#10596)
11906
5ddce96c
GM
11907 * progmodes/compile.el (compilation-next-error-function):
11908 Respect compilation-first-column in the "*compilation*" buffer.
11909 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
11910
5ae1a6c8
GM
11911 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
11912
b559f1a9
GM
119132012-01-24 Glenn Morris <rgm@gnu.org>
11914
11915 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
11916
6725d21a
JD
119172012-01-24 Julien Danjou <julien@danjou.info>
11918
11919 * color.el (color-rgb-to-hsl): Fix value computing.
11920 (color-hue-to-rgb): New function.
11921 (color-hsl-to-rgb): New function.
11922 (color-clamp, color-saturate-hsl, color-saturate-name)
11923 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11924 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11925
70df4bbe
GM
119262012-01-24 Glenn Morris <rgm@gnu.org>
11927
11928 * vc/vc-rcs.el (vc-rcs-create-tag):
11929 * vc/vc-sccs.el (vc-sccs-create-tag):
11930 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
11931
802a2ae2
ML
119322012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
11933
11934 * eshell/esh-util.el (eshell-read-hosts-file):
11935 Skip comment lines. (Bug#10549)
11936
d7128bb1
ML
11937 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
11938
d1a5c3b4
JB
119392012-01-23 Juanma Barranquero <lekktu@gmail.com>
11940
2724d9c7
JB
11941 * subr.el (display-delayed-warnings): Doc fix.
11942 (collapse-delayed-warnings): New function to collapse identical
11943 adjacent warnings.
11944 (delayed-warnings-hook): Add it.
d1a5c3b4 11945
a5509865
MA
119462012-01-22 Michael Albinus <michael.albinus@gmx.de>
11947
11948 * net/tramp.el (tramp-action-login): Set connection property "login-as".
11949
a5509865
MA
11950 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
11951 (tramp-default-user-alist): Don't add "pscp".
11952 (tramp-do-copy-or-rename-file-out-of-band): Use connection
11953 property "login-as", if set. (Bug#10530)
11954
cc6d5805
MA
119552012-01-21 Michael Albinus <michael.albinus@gmx.de>
11956
11957 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
11958 "plink1" and "psftp". (Bug#10530)
11959
119602012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
11961
11962 * international/mule-cmds.el (prefer-coding-system): Show a
11963 warning message if the default value of file-name-coding-system
11964 was not changed.
11965
f0960428
JC
119662012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11967
cb882333
JB
11968 * windmove.el (windmove-reference-loc):
11969 Fix windmove-reference-loc miscalculation.
f0960428 11970
dd6f2a63
JB
119712012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
11972
11973 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
11974 default unit.
11975
7b447e9b
GM
119762012-01-21 Glenn Morris <rgm@gnu.org>
11977
117a9ea1
GM
11978 * international/mule.el (auto-coding-alist): Add .tbz.
11979
7b447e9b
GM
11980 * files.el (local-enable-local-variables): Doc fix.
11981 (inhibit-local-variables-regexps): Rename from
11982 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
11983 Doc fix. Add some extensions from auto-coding-alist.
11984 (inhibit-local-variables-suffixes):
11985 Rename from inhibit-first-line-modes-suffixes. Doc fix.
11986 (inhibit-local-variables-p):
11987 New function, extracted from set-auto-mode-1.
11988 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
11989 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
11990 (hack-local-variables): Doc fix. Make the mode-only case
11991 respect enable-local-variables and friends.
11992 Respect inhibit-local-variables-regexps for file-locals, but
11993 not for directory-locals.
11994 (set-visited-file-name):
11995 Take account of inhibit-local-variables-regexps.
11996 Whether it applies may change as the file name is changed.
11997 * jka-cmpr-hook.el (jka-compr-install):
11998 * jka-compr.el (jka-compr-uninstall):
11999 Update for inhibit-first-line-modes-suffixes name change.
12000
dd6e3cdd
MR
120012012-01-20 Martin Rudalics <rudalics@gmx.at>
12002
12003 * help-macro.el (make-help-screen): Temporarily restore original
12004 binding for minor-mode-map-alist (Bug#10454).
12005
0d0deb38
JD
120062012-01-19 Julien Danjou <julien@danjou.info>
12007
12008 * color.el (color-name-to-rgb): Use the white color to find the max
12009 color component value and return correctly computed values.
12010 (color-name-to-rgb): Add missing float conversion for max value.
12011
34a02f46
MR
120122012-01-19 Martin Rudalics <rudalics@gmx.at>
12013
12014 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
12015 special state value for window-persistent-parameters.
12016 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
12017 (window--state-put-2): Reset all window parameters to nil before
12018 assigning values of persistent parameters.
12019
606c44c4
AM
120202012-01-18 Alan Mackenzie <acm@muc.de>
12021
12022 Eliminate sluggishness and hangs in fontification of "semicolon
12023 deserts".
12024
cb882333
JB
12025 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12026 Change value 10000 -> 3000.
606c44c4
AM
12027 (c-state-safe-place): Reformulate so it doesn't stack up an
12028 infinite number of wrong entries in c-state-nonlit-pos-cache.
12029 (c-determine-limit-get-base, c-determine-limit): New functions to
12030 determine backward search limits disregarding literals.
12031 (c-find-decl-spots): Amend commenting.
12032 (c-cheap-inside-bracelist-p): New function which detects "={".
12033
12034 * progmodes/cc-fonts.el
12035 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12036 backward search.
12037 (c-font-lock-declarations): Fix an occurrence of point being
12038 undefined. Check additionally for point being in a bracelist or
12039 near a macro invocation without a semicolon so as to avoid a
12040 fruitless time consuming search for a declarator. Give a more
12041 precise search limit for declarators using the new
12042 c-determine-limit.
12043
f3860cea
GM
120442012-01-18 Glenn Morris <rgm@gnu.org>
12045
12046 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12047 (set-auto-mode): Doc fixes.
12048
1db03b16
GM
120492012-01-17 Glenn Morris <rgm@gnu.org>
12050
0e6038be
GM
12051 * isearch.el (search-nonincremental-instead): Fix doc typo.
12052
1db03b16
GM
12053 * dired.el (dired-insert-directory): Handle newlines in directory name.
12054 (dired-build-subdir-alist): Unescape newlines in directory name.
12055
4cb0aa75
MA
120562012-01-17 Michael Albinus <michael.albinus@gmx.de>
12057
12058 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12059 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12060 (tramp-action-terminal): Use it. (Bug#10530)
12061
1d00653d
SM
120622012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12063
12064 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12065
6a6ee00d
MR
120662012-01-16 Martin Rudalics <rudalics@gmx.at>
12067
12068 * window.el (window-state-ignored-parameters): Remove variable.
12069 (window--state-get-1): Rename argument MARKERS to IGNORE.
12070 Handle persistent window parameters. Make copy of clone-of
12071 parameter only if requested. (Bug#10348)
12072 (window--state-put-2): Install a window parameter only if it has
12073 a non-nil value or an existing parameter shall be overwritten.
12074
97912def
MA
120752012-01-15 Michael Albinus <michael.albinus@gmx.de>
12076
12077 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12078
688070a5
EZ
120792012-01-14 Eli Zaretskii <eliz@gnu.org>
12080
12081 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12082 don't pass the (nil) value of `upnode' to string-match.
12083
301afadc
CY
120842012-01-14 Chong Yidong <cyd@gnu.org>
12085
12086 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 12087 Fix values recognized by the cursorBlink resource.
301afadc 12088
9e5788aa
PE
120892012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12090
12091 * epg.el (epg--make-temp-file): Avoid permission race condition
12092 when running on old Emacs versions (bug#10403).
12093
3cdb7f5a
GM
120942012-01-14 Glenn Morris <rgm@gnu.org>
12095
12096 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12097
8c82b1b4
AM
120982012-01-13 Alan Mackenzie <acm@muc.de>
12099
12100 Fix filling for when filladapt mode is enabled.
12101
12102 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12103 c-mask-paragraph, pass in `fill-paragraph' rather than
12104 `fill-region-as-paragraph'. (This is a reversion of a previous
12105 change.)
eb864a71
LM
12106 * progmodes/cc-mode.el (c-basic-common-init):
12107 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 12108
e517eda4
GM
121092012-01-13 Glenn Morris <rgm@gnu.org>
12110
1498536e
GM
12111 * dired.el (dired-switches-escape-p): New function.
12112 (dired-insert-directory): Use dired-switches-escape-p.
12113 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12114
e517eda4
GM
12115 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12116
328f984d
GM
121172012-01-12 Glenn Morris <rgm@gnu.org>
12118
12119 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12120 changes in adaptive-fill-regexp. (Bug#10276)
12121
2cc769a8
AM
121222012-01-11 Alan Mackenzie <acm@muc.de>
12123
12124 Fix Emacs bug #10463 - put `widen's around the critical spots.
12125
1d00653d 12126 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
12127 widen around each invocation of c-state-pp-to-literal. Remove an
12128 unused let variable.
12129
e52c37fa
GM
121302012-01-11 Glenn Morris <rgm@gnu.org>
12131
12132 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 12133 Doc fix.
e52c37fa 12134
96f8741e
CY
121352012-01-10 Chong Yidong <cyd@gnu.org>
12136
1d00653d
SM
12137 * net/network-stream.el (network-stream-open-starttls):
12138 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
12139 response to the capability command.
12140
b09a806e
GM
121412012-01-10 Glenn Morris <rgm@gnu.org>
12142
12143 * mail/unrmail.el (unrmail): Tweak previous change.
12144
7655cb66
CY
121452012-01-09 Chong Yidong <cyd@gnu.org>
12146
12147 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12148
9d5a8f0b
AM
121492012-01-08 Alan Mackenzie <acm@muc.de>
12150
12151 Optimise font locking in long enum definitions.
12152
12153 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12154 arm to a cond form to handle enums.
12155 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12156 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12157
9a0115ab 121582012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
12159
12160 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 12161 (Bug#10401)
6bb72cbd 12162
f186bb95
LMI
121632012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12164
29232a68
LMI
12165 * faces.el (set-face-attribute): Clarify the meaning of the nil
12166 frame (bug#10294).
12167
4e5d086d
LMI
12168 * subr.el (with-selected-frame): Mention that the selected frame
12169 is restored (bug#9980).
12170
8e66aebe
LMI
12171 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12172 (bug#9759).
12173
cd394be1 12174 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
12175 (password-read): Don't autoload unused function.
12176
adf4e762
JB
121772012-01-07 Juanma Barranquero <lekktu@gmail.com>
12178
12179 * progmodes/which-func.el (which-func-mode): Turn into a
12180 non-interactive function and mark as obsolete (bug#10428).
12181
89bd9ccd
CY
121822012-01-06 Chong Yidong <cyd@gnu.org>
12183
12184 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12185 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12186 functions, along with 1 and -1.
12187
4afee9d5
EZ
121882012-01-06 Eli Zaretskii <eliz@gnu.org>
12189
12190 * time.el (display-time-load-average)
12191 (display-time-default-load-average): Doc fixes. See the thread
12192 starting at
12193 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12194 for the details.
12195
536aea70
GM
121962012-01-06 Glenn Morris <rgm@gnu.org>
12197
665ae865
GM
12198 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12199 has no messages. (Bug#10377)
12200
c869783d
GM
12201 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12202 than Info-edit. (Bug#10385)
12203
2bb4227e
GM
12204 * time.el (display-time-load-average, display-time-next-load-average):
12205 Doc fixes.
12206
7d5944b9
GM
12207 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12208 local setting of buffer-read-only to the input buffer. (Bug#10419)
12209
536aea70
GM
12210 * calendar/calendar.el (calendar-mode):
12211 Locally set scroll-margin to 0. (Bug#10379)
12212
7dccca16
UM
122132012-01-06 Ulrich Mueller <ulm@gentoo.org>
12214
12215 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12216
afbb7930
GM
122172012-01-05 Glenn Morris <rgm@gnu.org>
12218
12219 * eshell/em-unix.el (diff-no-select): Autoload it.
12220 (eshell/diff): Use diff-no-select. (Bug#10420)
12221
04482335
CY
122222012-01-05 Chong Yidong <cyd@gnu.org>
12223
7baca3bc
CY
12224 * shell.el (shell-dynamic-complete-functions): Revert last change.
12225 (shell-command-completion-function): New function.
12226 (shell-completion-vars): Use it to implement
12227 shell-completion-execonly (Bug#10417).
12228
04482335
CY
12229 * custom.el (enable-theme): Don't set custom-safe-themes.
12230
1d00653d
SM
12231 * cus-theme.el (custom-theme-merge-theme):
12232 Ignore custom-enabled-themes and custom-safe-themes.
04482335 12233
bb5aa5d6
MM
122342012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12235
12236 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12237 first prompt in `sql-interacive-mode'.
12238 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 12239 keywords.
6df6ae42 12240 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
12241 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12242 context of original buffer. Invoke `sql-login-hook'.
12243
a7183d7c
EZ
122442012-01-04 Eli Zaretskii <eliz@gnu.org>
12245
12246 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12247 letters in cite-prefix.
12248
a1eacd1e
LMI
122492012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12250
12251 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12252
787cdb34
CY
122532012-01-03 Chong Yidong <cyd@gnu.org>
12254
1d00653d
SM
12255 * shell.el (shell-dynamic-complete-functions):
12256 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
12257 comint-filename-completion first (Bug#10417).
12258
30710442
RS
122592012-01-02 Richard Stallman <rms@gnu.org>
12260
12261 * battery.el (battery-status-function):
12262 Detect when to use battery-yeeloong-sysfs.
12263 (battery-echo-area-format): Add string for Yeeloong.
12264 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12265 (battery-yeeloong-sysfs): New function.
12266
f75bfc33
CY
122672012-01-02 Chong Yidong <cyd@gnu.org>
12268
12269 * dirtrack.el (dirtrack-list): Eliminate unused third element.
12270 (dirtrack): Merge code for handling relative filenames in prompt
12271 from shell-dir-cookie-watcher.
12272 (dirtrack-debug-message): New arg to avoid excess format calls.
12273
12274 * shell.el (shell-dir-cookie-re): Variable deleted.
12275 (shell-dir-cookie-watcher): Function deleted.
12276 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12277 with dirtrack-mode.
12278
651e947e
EZ
122792012-01-01 Eli Zaretskii <eliz@gnu.org>
12280
1d00653d
SM
12281 * term/w32-win.el (dynamic-library-alist) <gnutls>:
12282 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
12283 libgnutls-26.dll.
12284
94d4c7dc
AS
122852011-12-31 Andreas Schwab <schwab@linux-m68k.org>
12286
12287 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12288
8d43f3cd
EZ
122892011-12-31 Eli Zaretskii <eliz@gnu.org>
12290
12291 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12292 headers of non-MIME messages, when rmail-enable-mime is non-nil.
12293
98c8795a
MA
122942011-12-29 Michael Albinus <michael.albinus@gmx.de>
12295
12296 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12297 also for alternative shells.
12298 (tramp-open-connection-setup-interactive-shell): Check, whether
12299 the shell is a busybox.
12300 (tramp-send-command): Don't suppress multiple prompts for
12301 busyboxes, it hurts.
12302
51281b32
CY
123032011-12-28 Chong Yidong <cyd@gnu.org>
12304
12305 * progmodes/gdb-mi.el (gdb-get-source-file-list)
12306 (gdb-get-source-file): Move mode line update to
12307 gdb-get-source-file (Bug#10087).
12308
2170cb53
CY
123092011-12-25 Chong Yidong <cyd@gnu.org>
12310
12311 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12312 gud-gdb-marker-filter without taking it as an argument.
12313 (gud-gdb-run-command-fetch-lines): Caller changed.
12314 (gud-gdb-completion-function): New variable.
12315 (gud-gdb-completion-at-point): Use it.
12316 (gud-gdb-completions-1): Split from gud-gdb-completions.
12317
12318 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12319 function as separate arguments.
12320 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12321 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12322 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12323 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12324 (gdb-stopped, def-gdb-auto-update-trigger)
12325 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
12326 (gdb-get-changed-registers, gdb-get-main-selected-frame):
12327 Callers changed.
2170cb53
CY
12328 (gud-gdbmi-completions): New function.
12329 (gdb): Use it for generating the completion table.
12330
be8b11bb
AM
123312011-12-24 Alan Mackenzie <acm@muc.de>
12332
12333 Introduce a mechanism to widen the region used in context font
1d00653d 12334 locking. Use this to protect declarations from losing their contexts.
be8b11bb 12335
1d00653d
SM
12336 * progmodes/cc-langs.el (c-before-font-lock-functions):
12337 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 12338 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
12339 functions to be run just before context (etc.) font locking.
12340
12341 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 12342 New, functionality extracted from
be8b11bb 12343 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 12344 (c-in-after-change-fontification): New variable.
be8b11bb
AM
12345 (c-after-change): Set c-in-after-change-fontification.
12346 (c-set-fl-decl-start): Rejig its interface, so it can be called
12347 from both after-change and context fontifying.
b81d40f0
JB
12348 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12349 New functions.
12350 (c-standard-font-lock-fontify-region-function): New variable.
12351 (c-font-lock-fontify-region): New function.
be8b11bb 12352
341cf6ac
JL
123532011-12-24 Juri Linkov <juri@jurta.org>
12354
12355 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12356 (Bug#10348)
12357
bffcee0a
MA
123582011-12-23 Michael Albinus <michael.albinus@gmx.de>
12359
12360 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12361 existence of source file. (Bug#10325)
12362
cb5e207c
AM
123632011-12-23 Alan Mackenzie <acm@muc.de>
12364
12365 Fix unstable fontification inside templates.
12366
b81d40f0
JB
12367 * progmodes/cc-langs.el (c-before-font-lock-functions):
12368 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
12369 additionally has c-set-fl-decl-start. The other languages (apart
12370 from AWK) have that as a single entry.
12371
b81d40f0
JB
12372 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12373 The functionality for "local" declarations has been extracted to
cb5e207c
AM
12374 c-set-fl-decl-start.
12375
b81d40f0
JB
12376 * progmodes/cc-mode.el (c-common-init, c-after-change):
12377 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
12378 (c-set-fl-decl-start): New function, extracted from
12379 c-font-lock-enclosing-decls and enhanced.
12380
60ff536c
JB
123812011-12-23 Juanma Barranquero <lekktu@gmail.com>
12382
12383 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12384
1c4757d6
JL
123852011-12-22 Juri Linkov <juri@jurta.org>
12386
12387 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
12388
d031f2c7
CY
123892011-12-22 Chong Yidong <cyd@gnu.org>
12390
12391 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12392
bace743a
DA
123932011-12-21 Drew Adams <drew.adams@oracle.com>
12394
12395 * files.el (file-remote-p): Fix docstring. (Bug#10319)
12396
728a1f2b
JC
123972011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12398
12399 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12400
0d373f73
TZ
124012011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
12402
fec0aaa4
TZ
12403 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
12404 highlighting and support. Fix up comments for capitalization.
12405 (cfengine-mode-debug): New var.
12406 (cfengine3-mode): Change the modeline indicator to "CFE3".
12407 (cfengine3-font-lock-keywords): Improve defun highlighting.
12408 (cfengine2-actions): Rename from `cfengine-actions'.
12409 (cfengine2-font-lock-keywords): Rename from
12410 `cfengine-font-lock-keywords'.
12411 (cfengine2-imenu-expression): Rename from
12412 `cfengine-imenu-expression'.
12413 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12414 (cfengine2-beginning-of-defun): Rename from
12415 `cfengine-beginning-of-defun'.
12416 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12417 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12418 (cfengine2-mode): Rename from `cfengine-mode'. Change the
12419 modeline indicator to "CFE2".
12420 (cfengine-mode): Defalias to `cfengine-auto-mode'.
12421 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 12422
bc86f573
CY
124232011-12-21 Chong Yidong <cyd@gnu.org>
12424
12425 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12426 filename argument.
12427
d45ba96b
MR
124282011-12-20 Martin Rudalics <rudalics@gmx.at>
12429
12430 * window.el (window-normalize-buffer-to-display): Remove.
12431 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12432
a6198c90
CY
124332011-12-19 Chong Yidong <cyd@gnu.org>
12434
12435 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12436 Don't signal an error in a predicate function; return non-nil.
12437 (vc-dir-mark-file): Move the error here.
12438 (vc-dir-mark-unmark): If acting on the region, keep going if one
12439 of the entries cannot be marked/unmarked.
12440 (vc-dir-mark-all-files): If current entry is a directory, mark
12441 only child files, as documented.
12442
34c5fb55
VB
124432011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
12444
12445 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12446 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12447 addition.
12448
c803b2b7
JD
124492011-12-18 Jan Djärv <jan.h.d@swipnet.se>
12450
12451 * term/ns-win.el (ns-get-selection-internal)
12452 (ns-store-selection-internal): Declare.
1154d12e
JB
12453 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12454 Declare as obsolete.
12455 (ns-get-pasteboard, ns-paste-secondary):
12456 Use ns-get-selection-internal.
41e9b956 12457 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 12458 Use ns-store-selection-internal.
c803b2b7 12459
9cff91f8 124602011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
12461
12462 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 12463 (vc-deduce-fileset): Doc fix.
99a289d9 12464
f16c898a
AS
124652011-12-16 Andreas Schwab <schwab@linux-m68k.org>
12466
12467 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12468
763237c4
SS
124692011-12-13 Sam Steingold <sds@gnu.org>
12470
12471 * man.el (Man-getpage-in-background): When running under a
12472 window-system, ignore $MANWIDTH and $COLUMNS.
12473
5fc1c122
KH
124742011-12-15 Kenichi Handa <handa@m17n.org>
12475
12476 * language/ethio-util.el: Change coding tag to utf-8-emacs.
12477 (setup-ethiopic-environment-internal): Comment out key-binding for
12478 ethio-toggle-punctuation.
12479
13d49cbb
AM
124802011-12-13 Alan Mackenzie <acm@muc.de>
12481
898169a2
AM
12482 Add the switch statement to AWK Mode.
12483
7a71b18d 12484 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
12485 "default" to the keywords regexp.
12486
7a71b18d 12487 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 12488 expression as the rest.
1d00653d
SM
12489 (c-nonlabel-token-key): Allow string literals for AWK.
12490 Refactor for the other modes.
898169a2 12491
13d49cbb 12492 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 12493 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
12494 routines. Limit backward searching in c-font-lock-enclosing.decl.
12495
12496 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12497 pp-state and literal type in addition to the limits.
1d00653d 12498 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 12499 (c-state-literal-at): Use the above new defun.
1d00653d
SM
12500 (c-slow-in-literal, c-fast-in-literal): Remove.
12501 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
12502
12503 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12504 being in a literal. Add a limit for backward searching.
12505
12506 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12507 c-slow-in-literal.
12508
15e0efc7
SM
125092011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
12510
12511 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12512
454592a6
MR
125132011-12-13 Martin Rudalics <rudalics@gmx.at>
12514
12515 * window.el (delete-other-windows): Use correct frame in call to
12516 window-with-parameter.
12517
87393f26
DP
125182011-12-12 Daniel Pfeiffer <occitan@t-online.de>
12519
12520 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12521 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12522 (makefile-gmake-statements, makefile-makepp-statements):
12523 Use it and add new makepp keywords.
12524 (makefile-makepp-font-lock-keywords): Add new patterns.
12525 (makefile-match-function-end): Match new [...] and [[...]].
12526
11636b22
JB
125272011-12-11 Juanma Barranquero <lekktu@gmail.com>
12528
12529 * ses.el (ses-call-printer-return, ses-cell-property-get)
12530 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12531 (ses-create-cell-variable, ses-reset-header-string)
12532 (ses-cell-set-formula, ses-repair-cell-reference-all)
12533 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12534 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12535 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12536 (ses-aset-with-undo, ses-load, ses-truncate-cell)
12537 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12538 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12539 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12540 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12541 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12542 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12543 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12544 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12545
cf018193
VB
125462011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
12547
12548 * ses.el: The overall change is to add cell renaming, that is
12549 setting fancy names for cell symbols other than name matching
12550 "\\`[A-Z]+[0-9]+\\'" regexp .
12551 (ses-create-cell-variable): New defun.
12552 (ses-relocate-formula): Relocate formulas only for cells the
12553 symbols of which are not renamed, i.e. symbols whose names do not
12554 match regexp "\\`[A-Z]+[0-9]+\\'".
12555 (ses-relocate-all): Relocate values only for cells the symbols of
12556 which are not renamed.
12557 (ses-load): Create cells variables as the (ses-cell ...) are read,
12558 in order to check row col consistency with cell symbol name only
12559 for cells that are not renamed.
12560 (ses-replace-name-in-formula): New defun.
12561 (ses-rename-cell): New defun.
12562
ee957461
CY
125632011-12-11 Chong Yidong <cyd@gnu.org>
12564
12565 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12566 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12567
9a9e9ef0
MR
125682011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
12569
12570 * window.el (other-window): Fix docstring.
12571
92a8eba5
EZ
125722011-12-10 Eli Zaretskii <eliz@gnu.org>
12573
12574 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
12575 `from' or `to' address before taking its substring.
12576 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
12577 encoded name is chopped in the middle of the encoded string, and
12578 thus displayed encoded.
12579
e152e577
JB
125802011-12-10 Juanma Barranquero <lekktu@gmail.com>
12581
12582 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12583
e5d84bfe
EZ
125842011-12-10 Eli Zaretskii <eliz@gnu.org>
12585
12586 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
12587 to use texinfo-update-node and commands that call it if the
12588 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 12589 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
12590 (texinfo-all-menus-update, texinfo-master-menu)
12591 (texinfo-update-node, texinfo-every-node-update)
12592 (texinfo-multiple-files-update): Doc fix. Warn against updating
12593 all the @node lines.
12594 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
12595 argument is numeric. Explain better in the doc string what the
12596 function really does.
12597 (texinfo-insert-master-menu-list): Improve the error message
12598 displayed if there's no menu in the Top node.
12599 (Bug#2975) See also this thread:
e5d84bfe
EZ
12600 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12601
1d84e9bb
MG
126022011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
12603
12604 * speedbar.el (speedbar-supported-extension-expressions):
12605 Add .adb and .ads, commonly used for Ada source code (bug#10256).
12606
382c953b
JB
126072011-12-09 Juanma Barranquero <lekktu@gmail.com>
12608
12609 * printing.el (pr-mode-alist):
12610 * simple.el (filter-buffer-substring-functions)
12611 (completion-list-insert-choice-function):
12612 * window.el (window-with-parameter, window-atom-root)
12613 (window-sides-slots, window-size-fixed, window-min-delta)
12614 (window-max-delta, window--resize-mini-window)
12615 (window--resize-child-windows-normal, window-tree)
12616 (delete-other-windows, quit-window, split-window)
12617 (display-buffer-record-window, special-display-buffer-names)
12618 (special-display-regexps, special-display-popup-frame)
12619 (same-window-p, split-window-sensibly)
12620 (display-buffer-overriding-action, display-buffer-alist)
12621 (display-buffer-base-action, display-buffer, switch-to-buffer)
12622 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12623 (fit-window-to-buffer, recenter-positions)
12624 (mouse-autoselect-window-state, mouse-autoselect-window-select):
12625 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12626 and remove unneeded backslashes in docstrings.
12627
39c9faef
SM
126282011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
12629
98449af8
SM
12630 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12631
39c9faef
SM
12632 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12633 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12634 end in ".mk".
12635 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12636 when reading the makefile (bug#10116).
12637
86ed9fdc
SM
126382011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
12639
12640 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12641 (bug#10116).
12642
5580f89d
GM
126432011-12-06 Glenn Morris <rgm@gnu.org>
12644
12645 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12646
28d3917c
CY
126472011-12-06 Chong Yidong <cyd@gnu.org>
12648
12649 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12650
a98edce9
JB
126512011-12-06 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * textmodes/table.el (table-shorten-cell): Fix typo.
12654
e65adfac
CG
126552011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
12656
12657 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12658
71cc0b74
EZ
126592011-12-05 Eli Zaretskii <eliz@gnu.org>
12660
12661 * descr-text.el (describe-char): Fix display of strong
12662 right-to-left characters and directional embeddings and overrides.
12663
12664 * simple.el (what-cursor-position): Fix display of codepoints of
12665 strong right-to-left characters.
12666
315bc30d
CY
126672011-12-05 Chong Yidong <cyd@gnu.org>
12668
12669 * faces.el (read-color): Doc fix.
12670
58a70b94
GM
126712011-12-05 Glenn Morris <rgm@gnu.org>
12672
12673 * align.el (align--set-marker): Add doc-string.
12674 Don't try to move something that is not a marker. (Bug#10216)
12675
5158face
GM
126762011-12-04 Glenn Morris <rgm@gnu.org>
12677
12678 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12679 overly zealous deletion of trailing whitespace.
12680
520fca41
JB
126812011-12-04 Juanma Barranquero <lekktu@gmail.com>
12682
12683 * server.el (server-delete-client): On Windows, do not try to delete
12684 the only terminal.
12685 (server-process-filter): On Windows, treat requests for a tty frame as
12686 if they were for a GUI frame if the running server is in GUI mode.
12687
5e605a2e
GM
126882011-12-03 Glenn Morris <rgm@gnu.org>
12689
12690 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
12691
5c3fe83f
SM
126922011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
12693
6f5e57e7
SM
12694 * electric.el: Streamline electric-indent's hook.
12695 (electric-indent-chars): Revert to simple list.
12696 (electric-indent-functions): New var.
12697 (electric-indent-post-self-insert-function): Use it.
12698
5c3fe83f
SM
12699 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12700 there's no inferior buffer (bug#10196).
12701 (prolog-consult-compile): Don't use toggle-read-only.
12702
6bdac736
MA
127032011-12-02 Michael Albinus <michael.albinus@gmx.de>
12704
12705 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12706 interrupt. (Bug#10187)
12707
6131ba7f
SM
127082011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
12709
99c79fee
SM
12710 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12711 (bug#9160).
12712
6131ba7f
SM
12713 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12714 (bug#10191).
12715
cb0a02ea
JL
127162011-12-02 Juri Linkov <juri@jurta.org>
12717
12718 * info.el (Info-search): Display "end of manual" when Isearch
12719 reaches the end of single-file Info manual. (Bug#9918)
12720
66e0570c
EZ
127212011-12-02 Eli Zaretskii <eliz@gnu.org>
12722
12723 * isearch.el (isearch-message-prefix): Run the input method part
12724 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
12725
02b16839
JL
127262011-12-02 Juri Linkov <juri@jurta.org>
12727
12728 * isearch.el (isearch-occur): Use `word-search-regexp' for
12729 `isearch-word'.
12730 (isearch-search-and-update): Add condition for `isearch-word' and
12731 call `word-search-regexp'. (Bug#10145)
12732
0b950688
GM
127332011-12-01 Glenn Morris <rgm@gnu.org>
12734
12735 * eshell/em-hist.el (eshell-hist-initialize):
12736 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 12737 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 12738
9505c3c7
SM
127392011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12742
1bbe96b2 127432011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 12744
a1beca85
SM
12745 * progmodes/verilog-mode.el (verilog-pretty-expr):
12746 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
12747 verilog, such as += *= and the like.
12748 (verilog-assignment-operator-re): Regular expression to find the
12749 assigment operator in a verilog assignment.
12750 (verilog-assignment-operation-re): Regular expression to find an
12751 assignment statement for pretty-expr.
12752 (verilog-in-attribute-p): Query returns true if point is in an
12753 attribute context; used to skip these for expression line up from
12754 pretty-expr.
12755 (verilog-in-parameter-p): Query returns true if point is in an
12756 parameter definition context; used to skip these for expression
12757 line up from pretty-expr.
12758 (verilog-in-parenthesis-p): Query returns true if point is in a
12759 parenthetical expression, specifically ( ) but not [ ] or { };
12760 used by pretty-expr.
12761 (verilog-just-one-space): If there is no space, don't add one.
12762 (verilog-get-lineup-indent-2): Specifically skip just attribute
12763 contexts for expression lineup, rather than skipping all
12764 parenthetical expressions.
12765 (verilog-calculate-indent): Fix comment, and fix indent.
12766 (verilog-do-indent): Indent declarations in lists (suggested by
12767 Joachim Lechner).
12768 (verilog-mode-abbrev-table): Populate abbrev mode with the various
12769 skeleton items.
12770 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12771 by Alain Mellan).
12772
1bbe96b2 127732011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
12774
12775 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12776 parameters with embedded comments. Reported by Ray Stevens.
12777 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12778 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12779 Reported by Tim Holt.
12780 (verilog-auto): Fix AUTOing a upper module then AUTOing module
12781 instantiated by upper module causing wrong expansion until AUTOed a
12782 second time. Reported by K C Buckenmaier.
12783 (verilog-diff-auto): Fix showing .* as a difference when
12784 `verilog-auto-star-save' off. Reported by Dan Dever.
12785 (verilog-auto-reset, verilog-read-always-signals)
12786 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12787 temporary signals in reset list if
12788 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
12789 style to each signal's assignment type, bug381.
12790 Reported by Thomas Esposito.
6288f0ca
WS
12791 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12792 (verilog-uvm-statement-re): Support UVM indentation and
12793 highlighting, with old OVM keywords only.
a1beca85 12794 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
12795 Support AUTOTIEOFF creating non-wire data types.
12796 Suggested by Jonathan Greenlaw.
6288f0ca
WS
12797 (verilog-auto-insert-lisp, verilog-delete-to-paren)
12798 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12799 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
12800 (verilog-read-sub-decls, verilog-read-sub-decls-line):
12801 Fix mismatching parenthesis inside commented out code when deleting
382c953b 12802 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
12803 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12804 non-numeric vector width. Reported by Alex Reed.
12805 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 12806 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
12807 (verilog-auto-delete-trailing-whitespace):
12808 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
12809 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
12810 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12811 Fix verilog-scan-cache corruption when running user AUTO expansion
12812 hooks that call indentation routines.
12813 (verilog-simplify-range-expression): Fix typo ignoring lower case
12814 identifiers.
12815 (verilog-delete-auto): Fix delete-autos to also remove user created
12816 automatics, as long as they start with AUTO.
12817 (verilog-batch-diff-auto, verilog-diff-auto)
12818 (verilog-diff-function): Add `verilog-diff-auto' and bind to
12819 "C-c?" to report differences in AUTO expansion, ignoring spaces.
12820 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12821 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
12822 (verilog-re-search-forward-quick, verilog-syntax-ppss):
12823 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
12824 is disabled and its cache will get corrupt, causing AUTOS not to
12825 expand. Instead use only -quick functions.
12826 (verilog-scan-region): Fix scanning over escaped quotes.
12827 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12828 (verilog-re-search-backward-quick)
12829 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12830 related functions now ignore strings, to fix misparsing of strings
12831 with magic comments embedded in them.
a1beca85
SM
12832 (verilog-read-auto-template):
12833 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12834 Reported by Brad Dobbie.
12835 (verilog-read-auto-template):
12836 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 12837 Reported by Brad Dobbie.
6288f0ca
WS
12838 (verilog-auto-inst, verilog-auto-inst-param)
12839 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12840 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
12841 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
12842 debugging templates without merge conflicts, bug357.
12843 Reported by Brad Dobbie.
12844 (verilog-read-auto-template):
12845 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
12846 Reported by Brad Dobbie.
12847 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12848 abbrevs so user won't be asked to save.
12849 (verilog-read-auto-lisp-present): Fix to start at beginning of
12850 buffer in case called outside of verilog-auto.
12851 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12852 to "X-2". Reported by Matthew Myers.
12853 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12854 all inputs from module templates. Reported by Leith Johnson.
12855 (verilog-module-inside-filename-p): Fix locating programs as with
12856 modules.
12857 (verilog-auto-inst-port): Fix vl-width expressions when using
12858 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
12859 (verilog-decls-get-regs, verilog-decls-get-signals,
12860 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12861 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12862 verilog-read-decls): Combine reg and wire structures into one var
12863 structure to represent SystemVerilog concepts.
12864 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12865 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
12866 (verilog-auto-wire-type, verilog-insert-definition):
12867 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
12868 SystemVerilog "logic" keyword instead of "wire"/"reg".
12869 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12870 to declares outputs that also have assignments (presumably in an
a1beca85
SM
12871 ifdef or generate if so there's not a driver conflict).
12872 Reported by Matthew Myers.
12873 (verilog-auto-declare-nettype, verilog-insert-definition):
12874 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
12875 `default_nettype none. Reported by Julian Gorfajn.
12876 (verilog-read-always-signals-recurse, verilog-read-decls)
12877 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12878 malformed end statement, bug325. Reported by Joshua Wise and
12879 Andrew Drake.
12880 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12881 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
12882 when expanding .* in interfaces, bug320.
12883 Reported by Pierre-David Pfister.
6288f0ca 12884 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
12885 name and open parenthesis, bug317.
12886 Reported by Pierre-David Pfister.
6288f0ca
WS
12887 (verilog-simplify-range-expression): Fix simplification of
12888 multiplications inside AUTOWIRE connections, bug303.
12889 (verilog-auto-inst-port): Support parameter expansion in
12890 multidimensional arrays.
12891 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12892 after "assert property". Reported by Julian Gorfajn.
12893 (verilog-simplify-range-expression): Fix "couldn't merge" errors
12894 with multiplication, bug303.
12895 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12896 Reported by Jan Frode Lonnum.
12897
1bbe96b2
GM
128982011-11-30 Juanma Barranquero <lekktu@gmail.com>
12899
12900 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12901 (hfy-shell-file-name, hfy-shell):
12902 * international/fontset.el (x-decompose-font-name): Fix typos.
12903
129042011-11-29 Ken Brown <kbrown@cornell.edu>
12905
12906 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12907 (gdb-version): Remove defvar.
12908 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12909 (gdb-gud-context-command, gdb-non-stop-handler)
12910 (gdb-current-context-command, gdb-stopped): Use it.
12911 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
12912 (gdb-non-stop-handler): Don't enable pretty-printing here.
12913 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
12914 non-stop mode. Use the following.
12915 (gdb-check-target-async): New defun.
12916 (gud-watch, gdb-stopped): Fix whitespace.
12917 (gdb-get-source-file): Don't try to display the source file if
12918 `gdb-main-file' is nil.
12919
129202011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * align.el: Try to generate fewer markers (bug#10047).
12923 (align--set-marker): New macro.
12924 (align-region): Use it.
12925
c935221f
SM
129262011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12929
e70b5064
CY
129302011-11-29 Chong Yidong <cyd@gnu.org>
12931
12932 * indent.el (indent-for-tab-command, indent-according-to-mode):
12933 Doc fix.
12934 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
12935
f3af92b7
MA
129362011-11-29 Michael Albinus <michael.albinus@gmx.de>
12937
12938 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
12939 aware of remote file names. (Bug#10124)
12940
ed472be9
CY
129412011-11-29 Chong Yidong <cyd@gnu.org>
12942
12943 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
12944
24510c22
SM
129452011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
12946
12947 * files.el (find-file): Don't use force-same-window (bug#10144).
12948 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
12949 use pop-to-buffer if the selected window can't be used.
12950 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
12951
c60c3703
EZ
129522011-11-28 Eli Zaretskii <eliz@gnu.org>
12953
12954 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
12955 special-mode-map.
12956
e95def75
CY
129572011-11-28 Chong Yidong <cyd@gnu.org>
12958
12959 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
12960
c3f1c606
NR
129612011-11-27 Nick Roberts <nickrob@snap.net.nz>
12962
12963 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
12964 gdb-get-source-file-list on gdb-create-source-file-list.
12965
00db469c
EZ
129662011-11-26 Eli Zaretskii <eliz@gnu.org>
12967
12968 * whitespace.el (whitespace-newline): Use a different foreground
12969 color for 16-color light-background displays.
12970
4ad3bc2a
CY
129712011-11-24 Chong Yidong <cyd@gnu.org>
12972
12973 * window.el (display-buffer--special-action): Doc fix.
12974
e9fce1ac
JB
129752011-11-25 Juanma Barranquero <lekktu@gmail.com>
12976
12977 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
12978 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
12979 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
12980 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
12981 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
12982 (avl-tree-stack-first):
12983 * emacs-lisp/cconv.el (cconv--analyse-use):
12984 * net/gnutls.el (gnutls-negotiate): Fix typos.
12985
cb825e5d
GM
129862011-11-24 Glenn Morris <rgm@gnu.org>
12987
3adbe224
GM
12988 * lpr.el (lpr-windows-system, lpr-lp-system):
12989 * mail/binhex.el (binhex-begin-line):
12990 * progmodes/grep.el (grep-history, grep-find-history):
12991 * textmodes/flyspell.el:
12992 * vc/pcvs-defs.el (cvs-global-menu):
12993 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
12994 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
12995 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
12996
321decc8
GM
12997 * net/tls.el: Fix case of "GnuTLS".
12998
420b63ad
GM
12999 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13000
cb825e5d
GM
13001 * version.el (emacs-build-system): Give it a doc-string.
13002
a0649f08
JL
130032011-11-24 Juri Linkov <juri@jurta.org>
13004
13005 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13006
c0bc0fd4
GM
130072011-11-24 Glenn Morris <rgm@gnu.org>
13008
13009 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13010 if called on a non-mime message just toggle the headers. (Bug#8006)
13011
20db1522
JB
130122011-11-24 Juanma Barranquero <lekktu@gmail.com>
13013
13014 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13015 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13016 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13017 (allout-rebullet-heading, allout-open-sibtopic)
13018 (allout-toggle-current-subtree-encryption)
13019 (allout-toggle-subtree-encryption, allout-encrypt-string)
13020 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13021 (allout-distinctive-bullets-string, allout-auto-activation):
13022 * window.el (window-normalize-buffer-to-display):
13023 * progmodes/verilog-mode.el (verilog-batch-indent):
13024 * textmodes/bibtex.el (bibtex-field-braces-opt)
13025 (bibtex-field-strings-opt):
13026 * vc/cvs-status.el (cvs-tree-merge):
13027 Fix typos.
13028
7262a87c
MA
130292011-11-23 Michael Albinus <michael.albinus@gmx.de>
13030
13031 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13032 `non-essential' to t, in order to avoid remote connections.
13033
283430a1
EZ
130342011-11-23 Eli Zaretskii <eliz@gnu.org>
13035
a1beca85
SM
13036 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13037 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
13038 case-insensitively.
13039
d2992a38
ML
130402011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13041
13042 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13043
50419064
GM
130442011-11-23 Glenn Morris <rgm@gnu.org>
13045
da94eca1
GM
13046 * paths.el (rmail-file-name): Reformat the doc-string so that it
13047 is picked up.
13048
9aac4de2
GM
13049 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13050 (rmail-auto-file): Ignore case in the "special" field names,
13051 as mail-fetch-field does for all others.
13052
8038d2d2
GM
13053 * mail/rmail.el (rmail-forward):
13054 * mail/rmailkwd.el (rmail-set-label):
13055 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13056 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13057
f3fe222a
GM
13058 * mail/rmail.el (rmail-current-message): Doc fix.
13059
50419064
GM
13060 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13061
28109f49
SM
130622011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13065
394c65f1
GM
130662011-11-22 Glenn Morris <rgm@gnu.org>
13067
13068 * mail/rmailmm.el (test-rmail-mime-handler)
13069 (test-rmail-mime-bulk-handler)
13070 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13071
f2a0aa3a
JL
130722011-11-21 Juri Linkov <juri@jurta.org>
13073
1154d12e
JB
13074 * calc/calc.el (calc-read-key-sequence):
13075 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 13076
9c34a344
LMI
130772011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13078
13079 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13080 Tell the caller that the next line needs recomputation, even
13081 though it doesn't start a sexp (bug#10094).
13082
f04a3be9
SM
130832011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13086
7978747f
SM
130872011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13088
f04a3be9
SM
13089 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13090 Use force-same-window.
7978747f 13091
fe7a3057
JB
130922011-11-20 Juanma Barranquero <lekktu@gmail.com>
13093
13094 * descr-text.el (describe-char-unicode-data):
13095 * json.el (json-string-escape):
13096 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13097 (Footnote-unicode, Footnote-style-p):
13098 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13099
24901d61
CY
131002011-11-20 Chong Yidong <cyd@gnu.org>
13101
13102 * window.el (replace-buffer-in-windows): Restore interactive spec.
13103
bac7ff22
SM
131042011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13105
24f3d7b9
SM
13106 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13107
bac7ff22
SM
13108 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13109 (byte-compile-global-not-obsolete-vars): New var.
13110 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13111 Use it.
13112 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13113
cd1181db
JB
131142011-11-20 Juanma Barranquero <lekktu@gmail.com>
13115
13116 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13117 * progmodes/pascal.el (electric-pascal-equal):
13118 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13119 * xml.el (xml-substitute-special): Fix typos.
13120
7fb18e9e
GM
131212011-11-20 Glenn Morris <rgm@gnu.org>
13122
13123 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13124 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13125 Doc fixes.
13126 (rmail-decode-mime-charset): Mark as obsolete.
13127
13128 * mail/rmailsum.el (rmail-message-regexp-p-1):
13129 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13130 Before using mime functions, check they are set. (Bug#10077)
13131
d5a6b3ba
JL
131322011-11-19 Juri Linkov <juri@jurta.org>
13133
13134 * info.el (Info-finder-find-node): Use `package--builtins' instead
13135 of `package-alist'. Use node names formed by the pattern "Keyword "
13136 and the keyword name.
13137
e981b61f
AS
131382011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13139
1d00653d 13140 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 13141
3ffbc301
JL
131422011-11-19 Juri Linkov <juri@jurta.org>
13143
13144 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13145 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13146 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13147 `old-history', `old-history-forward'. Add let-binding
13148 `window-selected'. Remove calls to `kill-buffer',
13149 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13150 before calling `Info-find-node', so `Info-find-node-2' will reread
13151 the Info file. Restore window positions only when `window-selected'
13152 is non-nil.
13153
30c62133
JL
131542011-11-19 Juri Linkov <juri@jurta.org>
13155
13156 * isearch.el (isearch-lazy-highlight-new-loop):
13157 Remove condition `(not isearch-error)'. (Bug#9918)
13158
13159 * misearch.el (multi-isearch-search-fun): Add condition
13160 `(not bound)' to ignore lazy-highlighting search.
13161 Add the search-failed message "end of multi" when the end of
13162 multi-sequence is reached. Uncapitalize the search-failed
13163 message "Repeat for next buffer".
13164
13165 * info.el (Info-search): Add the search-failed message
13166 "end of the manual" when the end of the manual is reached
13167 in Isearch mode.
13168
645ca9cf
JL
131692011-11-19 Juri Linkov <juri@jurta.org>
13170
13171 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13172 Use non-destructive `remove' instead of `delete' because
13173 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13174 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13175
df754f66
JL
131762011-11-19 Juri Linkov <juri@jurta.org>
13177
13178 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13179 to nil instead of binding `search-ring' and `regexp-search-ring'.
13180 (Bug#9185)
13181
0e23d96a
EZ
131822011-11-19 Eli Zaretskii <eliz@gnu.org>
13183
13184 * simple.el (line-move): Force movement by logical lines for any
13185 hscrolled window, not only when auto-hscroll-mode is on.
13186 (line-move-visual): Update doc string to that effect. (Bug#10076)
13187
8a6ccb66
AS
131882011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13189
13190 * language/european.el (macintosh): Define as alias for mac-roman.
13191
49ae5b39
EZ
131922011-11-19 Eli Zaretskii <eliz@gnu.org>
13193
13194 * mail/rmailmm.el (rmail-mime-display-header)
13195 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13196 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13197 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13198 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13199 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13200 of a raw aref.
13201 (rmail-mime-entity-segment): To get past the tagline, move forward
13202 2 more lines, to account for the 2 empty lines that precede and
13203 follow the line with the buttons.
13204 (rmail-mime-update-tagline): Move one more line, to get past the
13205 empty line that follows the buttons in the tagline. (Bug#9520)
13206
c56cad4a
MR
132072011-11-19 Martin Rudalics <rudalics@gmx.at>
13208
13209 * window.el (window-max-delta-1, window-min-delta-1)
13210 (window-min-size-1, window-state-get-1, window-state-put-1)
13211 (window-state-put-2): Use "window--" prefix.
13212
cbe71af3
SM
132132011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13214
2ad52c60
SM
13215 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13216 (smie-warning-count): New var.
13217 (smie-set-prec2tab): Use it.
13218 (smie-bnf->prec2): Improve warnings. Add docstring.
13219 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13220 (smie-bnf--set-class): New function.
13221 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13222 corner case.
13223
6944dbc1
SM
13224 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13225 (compilation-error-properties, compilation-move-to-column):
13226 Handle compilation-first-column while in the target buffer.
13227
c400c4d7
SM
13228 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13229 Don't hardcode point-min==1.
13230
6dbe3e96
SM
13231 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13232 (eshell-rewrite-for-command): Remove workaround.
13233 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13234 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13235 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13236
cbe71af3
SM
13237 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13238
a8e1496d
GM
132392011-11-17 Glenn Morris <rgm@gnu.org>
13240
13241 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13242 Ignore buffer-local generated-autoload-file if it is the same
13243 as the global value. (Bug#10049)
13244
df85d315
JB
132452011-11-17 Juanma Barranquero <lekktu@gmail.com>
13246
13247 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13248 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13249 (reftex-toc-previous-heading, reftex-toc-max-level)
13250 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13251 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13252 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13253 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13254 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13255 (reftex-toc-rename-label, reftex-toc-visit-location)
13256 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13257 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13258 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13259 leaving "*toc*" only for references to the buffer.
13260
a0c2d0ae
MR
132612011-11-17 Martin Rudalics <rudalics@gmx.at>
13262
13263 * window.el (window-resize, delete-window, split-window):
13264 Replace window-splits by window-combination-resize.
1d00653d 13265 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 13266
35c0bac8
GM
132672011-11-17 Glenn Morris <rgm@gnu.org>
13268
13269 * progmodes/sh-script.el (sh-font-lock-keywords-var):
13270 Make bash entry derive from sh entry, not shell entry.
13271
d0c8fc8a
MA
132722011-11-16 Michael Albinus <michael.albinus@gmx.de>
13273
7262a87c
MA
13274 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13275 local file name.
13276
7877f373
JB
132772011-11-16 Juanma Barranquero <lekktu@gmail.com>
13278
13279 * menu-bar.el (menu-bar-file-menu):
13280 * printing.el (pr-ps-utility):
13281 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13282 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13283 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13284 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13285 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13286 (icalendar--convert-cyclic-to-ical)
13287 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13288 (icalendar--convert-ical-to-diary)
13289 (icalendar--convert-recurring-to-diary)
13290 (icalendar--convert-non-recurring-all-day-to-diary)
13291 (icalendar-import-format-sample):
13292 * progmodes/idlw-shell.el (idlwave-shell-mode):
13293 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13294 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13295 (vhdl-ps-print-init): Fix typos.
13296
10649b82
KM
132972011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
13298
9d0cfcd6
GM
13299 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13300 FSF and collapse date sequence, obscure author/maintainer email address
13301 better, remove extra version line, track relocation of author's webpage.
10649b82 13302
9d0cfcd6
GM
13303 * progmodes/python.el (python-pdbtrack-input-prompt)
13304 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13305 regular python pdb prompts. Adjustments shamelessly taken exactly as
13306 suggested in EmacsWiki page (tiny change):
13307 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 13308
58179cce
JB
133092011-11-16 Juanma Barranquero <lekktu@gmail.com>
13310
13311 * expand.el (expand-pos, expand-index, expand-point):
13312 Remove redundant info from docstring.
13313 (expand-add-abbrevs): Doc fix.
13314 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13315 (expand-sample-perl-mode-expand-list): Fix typos.
13316
13317 * net/dbus.el (dbus-event-member-name):
13318 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13319 * term/pc-win.el (msdos-create-frame-with-faces):
13320 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13321
b6f67890
MR
133222011-11-16 Martin Rudalics <rudalics@gmx.at>
13323
13324 * window.el (split-window, window-state-get-1)
13325 (window-state-put-1, window-state-put-2): Rename occurrences of
13326 window-nest to window-combination-limit.
1d00653d 13327 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 13328
ce7ddba0
CY
133292011-11-16 Chong Yidong <cyd@gnu.org>
13330
13331 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13332 regexp (Bug#10033).
13333
3ae704f4
SM
133342011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
13335
13336 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13337 `completing-read' will remove *Completions* and will preserve
13338 current-buffer for us.
13339 (tmm-add-prompt): Users of *Completions* will always (re)set its
13340 major mode.
13341 (tmm-old-comp-map): Remove.
13342
6ad1cdde
GM
133432011-11-16 Glenn Morris <rgm@gnu.org>
13344
13345 * mail/rmailedit.el: Require rmailmm when compiling.
13346 (rmail-old-mime-state): New declaration.
13347 (rmail-edit-current-message): If editing a mime message,
13348 edit the "raw" message from the mbox buffer.
13349 (rmail-cease-edit): Handle mime messages. (Bug#9840)
13350
d20faa20
GM
133512011-11-15 Glenn Morris <rgm@gnu.org>
13352
13353 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13354 which wasn't being used. Add optional arg to force given state.
13355 (rmail-mime): Add optional arg to force given state.
13356
c7015153
JB
133572011-11-15 Juanma Barranquero <lekktu@gmail.com>
13358
13359 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13360 * frame.el (display-mm-dimensions-alist):
13361 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13362 (outline-move-subtree-down):
13363 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13364 (newsticker--treeview-do-get-node):
13365 * net/quickurl.el (quickurl-list-buffer-name):
13366 * progmodes/dcl-mode.el (dcl-mode):
13367 * progmodes/gdb-mi.el (gdb-mapcar*):
13368 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13369
45261b50
GM
133702011-11-15 Glenn Morris <rgm@gnu.org>
13371
13372 * mail/rmail.el (rmail-file-coding-system): It's only ever used
13373 in a boolean sense, so just make it a boolean, and fix the doc.
13374 (rmail-show-mime-function, rmail-mime-feature)
13375 (rmail-require-mime-maybe): Doc fixes.
13376 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13377
13378 * mail/rmailmm.el (rmail-show-mime): Doc fix.
13379
0d26e0b6
JB
133802011-11-15 Juanma Barranquero <lekktu@gmail.com>
13381
13382 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13383 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13384 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13385 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13386
447f30f6
GM
133872011-11-15 Glenn Morris <rgm@gnu.org>
13388
672b871d
GM
13389 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13390 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13391 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13392 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13393 (rmail-mime, rmail-show-mime): Doc fixes.
13394
f6aa5bb1
GM
13395 * term/ns-win.el (mode-line-frame-identification):
13396 Leave it alone. (Bug#10051)
13397
947cd66b
GM
13398 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
13399
447f30f6
GM
13400 * mail/rmailout.el (rmail-output-to-rmail-buffer):
13401 Handle empty buffers. (Bug#9978)
13402
0b381c7e
JB
134032011-11-14 Juanma Barranquero <lekktu@gmail.com>
13404
13405 * international/mule.el (define-charset):
13406 * mail/rmailmm.el (rmail-mime-find-header-encoding):
13407 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13408 * progmodes/verilog-mode.el (verilog-backward-token):
13409 * textmodes/ispell.el (lookup-words):
13410 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13411
71e027ac
GM
134122011-11-14 Glenn Morris <rgm@gnu.org>
13413
56632ce4
GM
13414 * progmodes/executable.el
13415 (executable-make-buffer-file-executable-if-script-p):
13416 Handle file-modes returning nil.
13417
40500957
GM
13418 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13419 message - not necessary, and causes problems. (Bug#9831)
13420
071c2340
GM
13421 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13422
d3cfca60
GM
13423 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13424
71e027ac
GM
13425 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13426 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
13427 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13428
89d61221
MR
134292011-11-12 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (window-resize, delete-window): Use window-splits
13432 variable instead of function.
13433 (window-state-get-1, window-state-put-2, window-state-put):
13434 Don't deal with windows' splits status.
13435
98282f6f
GM
134362011-11-12 Glenn Morris <rgm@gnu.org>
13437
13438 * apropos.el (apropos-do-all, apropos-library, apropos-value)
13439 (apropos-documentation): Doc fixes.
13440
40a8bdf6
JB
134412011-11-11 Juanma Barranquero <lekktu@gmail.com>
13442
13443 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13444 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13445
65bd19ff
SM
134462011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
13447
13448 * electric.el (electric-indent-post-self-insert-function): Make it
13449 possible for a char to only indent in some circumstances.
13450 (electric-indent-mode): Simplify.
13451
54f9154c
MR
134522011-11-11 Martin Rudalics <rudalics@gmx.at>
13453
13454 * window.el (windows-with-parameter): Remove unused function.
13455 (windows-at-side): Rename to window-at-side-list.
13456 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
13457 (window-side-check, window-size-ignore, window-size-fixed-1)
13458 (window-in-direction-2): Prefix with "window--".
13459 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 13460
68cbc58b
GM
134612011-11-11 Glenn Morris <rgm@gnu.org>
13462
13463 * subr.el (eval-after-load): If FILE is already loaded,
13464 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
13465
b2621720
GM
134662011-11-10 Glenn Morris <rgm@gnu.org>
13467
9a4de110
GM
13468 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13469 Call svn via vc-svn-command rather than vc-do-command.
13470 (vc-svn-command): Add --non-interactive. (Bug#9993)
13471 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13472
b2621720
GM
13473 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13474 Add toggle-read-only. (Bug#7292)
13475 * files.el (toggle-read-only): Mention that it should only
13476 be used interactively. (Bug#10006)
13477
1dce7193
SM
134782011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
13479
d9ac1a1e
SM
13480 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13481 Adjust regexp for OCaml warnings.
13482
0c325082
SM
13483 * electric.el (electric-pair-post-self-insert-function): Let user
13484 turn it off buffer-locally (bug#9932).
13485
90132c14
SM
13486 * progmodes/python.el (python-beginning-of-statement):
13487 Rewrite (bug#2703).
13488
1dce7193
SM
13489 * progmodes/compile.el: Better handle TABs (bug#9749).
13490 (compilation-internal-error-properties)
13491 (compilation-next-error-function): Obey the target buffer's
13492 compilation-error-screen-columns.
13493
c4e7c63a
JB
134942011-11-09 Juanma Barranquero <lekktu@gmail.com>
13495
13496 * progmodes/meta-mode.el: Remove obsolete comments.
13497 (meta-right-comment-regexp, meta-ignore-comment-regexp):
13498 Fix typos in docstrings.
13499
2cffd681
MR
135002011-11-09 Martin Rudalics <rudalics@gmx.at>
13501
13502 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 13503 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
13504 (window--resizable): New function. Make all callers of
13505 window-resizable call window--resizable instead.
13506 (window-resizable): Rewrite in terms of window--resizable.
13507
0edcba87
GM
135082011-11-08 Glenn Morris <rgm@gnu.org>
13509
13510 * progmodes/delphi.el (delphi-mode-syntax-table):
13511 Let define-derived-mode define a proper syntax table. (Bug#9994)
13512
4b0d61e3
SM
135132011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13514
13515 * window.el: Stay away from defsubst.
13516 (window-list-no-nils): Remove.
13517 (window-state-get-1, window-state-get): Use backquote instead.
13518
cd394be1 135192011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 13520
4b0d61e3 13521 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 13522 Fix incorrect use of default argument in `completing-read'.
13523
e1c2c6f2
MR
135242011-11-08 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (display-buffer-function, special-display-function):
13527 Mention display-buffer-record-window but do not mention
13528 help-setup parameter in doc-strings.
b3f4a882 13529 (window-min-delta): Fix doc-string typo.
e1c2c6f2 13530
105216ed
CY
135312011-11-08 Chong Yidong <cyd@gnu.org>
13532
13533 * window.el (window-total-height, window-total-width): Doc fix.
13534 (window-body-size): Move from C.
13535 (window-body-height, window-body-width): Move to C.
13536
0a9f9ab5
SM
135372011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
13538
13539 * window.el: Make special-display like display-buffer-alist (bug#9532).
13540 (display-buffer--special-action): New function, morphed
13541 from display-buffer--special.
13542 (display-buffer): Use it to handle special-display-buffers at higher
13543 priority (just after display-buffer-alist).
13544 (display-buffer-fallback-action, display-buffer--other-frame-action)
13545 (pop-to-buffer-same-window): Remove display-buffer--special.
13546
a769dd15
GM
135472011-11-07 Glenn Morris <rgm@gnu.org>
13548
13549 * calendar/cal-menu.el (cal-menu-set-date-title):
13550 Do nothing if not in a calendar. (Bug#9976)
13551
05a61ee3
SM
135522011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
13553
13554 * files.el (find-file): Always use selected-window.
13555
be7f5545
MR
135562011-11-07 Martin Rudalics <rudalics@gmx.at>
13557
13558 * window.el (window-combinations): Make WINDOW argument
13559 mandatory. Rewrite doc-string.
13560 (walk-window-subtree, window-atom-check, window-min-delta)
13561 (window-max-delta, window--resize-this-window)
13562 (window--resize-root-window-vertically, window-tree)
13563 (balance-windows, window-state-put): Rewrite doc-strings as to
13564 not mention the term "subwindow".
13565 (window--resize-subwindows-skip-p): Rename to
13566 window--resize-child-windows-skip-p.
13567 (window--resize-subwindows-normal): Rename to
13568 window--resize-child-windows-normal.
13569 (window--resize-subwindows): Rename to
13570 window--resize-child-windows.
13571 (window-or-subwindow-p): Rename to window--in-subtree-p.
13572
3c6702ef
ML
135732011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13574
13575 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13576 Ensure that mbox format messages end in two newlines (Bug#9974).
13577
49745b39
CY
135782011-11-06 Chong Yidong <cyd@gnu.org>
13579
13580 * window.el (window-combination-p): Function deleted; its
13581 side-effect is not used in any existing code.
13582 (window-combinations, window-combined-p): Call window-*-child
13583 directly.
13584
24300f5f
CY
135852011-11-05 Chong Yidong <cyd@gnu.org>
13586
13587 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
13588 (window-size-ignore, window-state-get): Callers changed.
13589 (window-normalize-window): Rename from window-normalize-any-window.
13590 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 13591 (window-normalize-live-window): Delete.
447f16b8
CY
13592 (window-combination-p, window-combined-p, window-combinations)
13593 (walk-window-subtree, window-atom-root, window-min-size)
13594 (window-sizable, window-sizable-p, window-size-fixed-p)
13595 (window-min-delta, window-max-delta, window-resizable)
13596 (window-resizable-p, window-full-height-p, window-full-width-p)
13597 (window-current-scroll-bars, window-point-1, set-window-point-1)
13598 (window-at-side-p, window-in-direction, window-resize)
13599 (adjust-window-trailing-edge, maximize-window, minimize-window)
13600 (window-deletable-p, delete-window, delete-other-windows)
13601 (record-window-buffer, unrecord-window-buffer)
13602 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13603 (quit-window, split-window, window-state-put)
13604 (set-window-text-height, fit-window-to-buffer)
13605 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 13606
89bd5ee1
EZ
136072011-11-04 Eli Zaretskii <eliz@gnu.org>
13608
53479029
EZ
13609 * mail/rmail.el (rmail-simplified-subject): Decode subject with
13610 rfc2047-decode-string.
13611 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13612 warnings.
13613
89bd5ee1
EZ
13614 * window.el (window-body-height, window-body-width): Mention in
13615 the doc string that the return values are in frame's canonical
13616 units. (Bug#9949)
13617
bd17fdee
AM
136182011-11-03 Alan Mackenzie <acm@muc.de>
13619
13620 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13621 change in cc-engine.el.
13622
acc825c5
SM
136232011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
13624
13625 * window.el (switch-to-buffer): Use `force-same-window' interactively.
13626
1885e5b8
MR
136272011-11-02 Martin Rudalics <rudalics@gmx.at>
13628
13629 * window.el (quit-window): Call unrecord-window-buffer after
13630 showing another buffer in the window. (Bug#9937)
acc825c5 13631 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 13632
ebe06da9
JB
136332011-11-02 Juanma Barranquero <lekktu@gmail.com>
13634
13635 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13636 Accept status with more than 9 shelves. (Bug#9935)
13637 Reported by Colin D Bennett <colin@gibibit.com>.
13638
4ee88440
MR
136392011-11-01 Martin Rudalics <rudalics@gmx.at>
13640
13641 * help.el (with-help-window): Don't reference
13642 temp-buffer-show-specifiers in doc-string.
13643
08e1d82c
AS
136442011-10-31 Andreas Schwab <schwab@linux-m68k.org>
13645
13646 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13647 menu-item.
13648
84bd6e9e
VJL
136492011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13650
13651 * whitespace.el: New version 13.2.2.
13652 (whitespace-newline-mode): Disable properly. Reported by Sarah
13653 <EmacsWiki>.
13654
dba0634a
UJ
136552011-10-30 Ulf Jasper <ulf.jasper@web.de>
13656
13657 * net/newst-treeview.el: Remove "Time-stamp".
13658 (newsticker--group-manage-orphan-feeds): Do not call
13659 newsticker--treeview-tree-update.
db22a3c2
JB
13660 (newsticker-treeview-update, newsticker-treeview):
13661 Call newsticker--treeview-tree-update if necessary.
dba0634a 13662
3d8daefe
MR
136632011-10-30 Martin Rudalics <rudalics@gmx.at>
13664
13665 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
13666 (window-iso-combinations): Remove "iso-" infix.
13667 Suggested by Chong Yidong.
3d8daefe
MR
13668 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13669 (window-max-delta-1, window-resize, window--resize-siblings)
13670 (window--resize-this-window, adjust-window-trailing-edge)
13671 (split-window, balance-windows-1)
13672 (shrink-window-if-larger-than-buffer):
13673 * calendar/calendar.el (calendar-generate-window):
db22a3c2 13674 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 13675
1bc4c3ae
SM
136762011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
13677
13678 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13679 in place (bug#9907).
13680 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13681 (eshell-rewrite-if-command, eshell-rewrite-for-command)
13682 (eshell-structure-basic-command, eshell-rewrite-while-command)
13683 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13684 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13685 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13686 (eshell-do-pipelines-synchronously, eshell-eval-command):
13687 Use backquotes and prefer setq to set.
13688 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13689 (eshell-macrop): Use functionp.
c1e2f5fa 13690 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 13691
30b65d9c
CY
136922011-10-30 Chong Yidong <cyd@gnu.org>
13693
13694 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13695 instead of set-mark (Bug#9810).
13696
2d197ffb
CY
136972011-10-30 Chong Yidong <cyd@gnu.org>
13698
13699 * window.el (split-window-below, split-window-right): Rename from
13700 split-window-above-each-other and split-window-side-by-side
13701 respectively. All callers changed.
13702 (split-window-sensibly, split-window-sensibly): Use them.
13703 (split-window-keep-point): Doc fix.
13704
13705 * isearch.el: Add isearch-scroll property to split-window-below
13706 and split-window-right.
13707
13708 * follow.el (follow-mode):
13709 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13710 * progmodes/ada-xref.el (ada-gdb-application):
13711 * emulation/vip.el (vip-buffer-in-two-windows):
13712 * image-dired.el (image-dired-dired-with-window-configuration):
13713 * dired-x.el (dired-do-find-marked-files):
13714 * dired.el (dired-pop-to-buffer):
13715 * bs.el (bs--show-with-configuration):
13716 * vc/emerge.el (emerge-setup-windows):
13717 * textmodes/two-column.el (2C-two-columns):
13718 * textmodes/reftex-toc.el (reftex-toc):
13719 * progmodes/gdb-mi.el (gdb-setup-windows):
13720 * progmodes/fortran.el (fortran-window-create):
13721 * net/newst-treeview.el (newsticker--treeview-window-init):
13722 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13723 * emulation/tpu-edt.el (tpu-gold-map):
13724 * emulation/crisp.el (crisp-mode-map):
13725 * calendar/calendar.el (calendar-basic-setup): Callers changed.
13726
38bb2ca8
CY
137272011-10-29 Chong Yidong <cyd@gnu.org>
13728
aa4de341
CY
13729 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13730
e1eb5385
CY
13731 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13732
5d2ece3c
CY
13733 * textmodes/flyspell.el (flyspell-word): Fix char offset for
13734 forged Ispell output (Bug#7904).
13735
38bb2ca8
CY
13736 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13737
d0af9f77
SM
137382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * doc-view.el: Avoid ugly errors about not finding nil.
13741 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13742 (doc-view-dvipdf-program, doc-view-unoconv-program)
13743 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13744 Avoid nil or absolute file name as default value.
13745 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13746
52bedd34
AM
137472011-10-28 Alan Mackenzie <acm@muc.de>
13748
db22a3c2 13749 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 13750
7e43cfa5
AM
137512011-10-28 Alan Mackenzie <acm@muc.de>
13752
13753 Amend the handling of c-beginning/end-of-defun in nested declaration
13754 scopes.
13755
52bedd34
AM
13756 * progmodes/cc-vars.el (c-defun-tactic): Move here from
13757 cc-langs.el. Change it to a defcustom.
7e43cfa5 13758
52bedd34
AM
13759 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13760 cc-vars.el.
7e43cfa5 13761
d0af9f77
SM
13762 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13763 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 13764
52bedd34 13765 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 13766 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
13767 (c-widen-to-enclosing-decl-scope): New function.
13768 (c-while-widening-to-decl-block): New macro.
13769 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13770 outward for defun boundaries, and correspondingly change symbol
13771 `respect-enclosure' to `go-outward'.
13772 (c-declaration-limits): Change algorithm to report only the "innermost"
13773 defun's boundaries.
13774
1a2ce9ee
DD
137752011-10-28 Deniz Dogan <deniz@dogan.se>
13776
13777 * net/rcirc.el (rcirc-mode): Use hard newlines.
13778
bc97a826
AM
137792011-10-28 Alan Mackenzie <acm@muc.de>
13780
13781 Amend to indent and fontify macros "which include their own semicolon"
13782 correctly, using the "virtual semicolon" mechanism.
13783
52bedd34 13784 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 13785
d0af9f77 13786 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 13787 Recode to scan one line at a time rather than having \n and \r
58179cce 13788 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 13789 (c-forward-label): Amend for virtual semicolons.
58179cce 13790 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 13791
52bedd34
AM
13792 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13793 of the new C macros.
bc97a826 13794
52bedd34 13795 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
13796 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13797 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
13798 (c-opt-cpp-macro-define): Make into a full language variable.
13799 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13800 AWK Mode (including \n, \r) removed, no longer needed.
13801
d0af9f77
SM
13802 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13803 Invoke c-make-macro-with-semi-re.
bc97a826 13804
52bedd34
AM
13805 * progmodes/cc-vars.el (c-macro-with-semi-re):
13806 (c-macro-names-with-semicolon): New variables.
58179cce 13807 (c-make-macro-with-semi-re): New function.
bc97a826 13808
7a6c0941
SM
138092011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13810
13811 * vc/log-edit.el: Fill empty field rather than adding new one.
13812 (log-edit-add-field): New function.
13813 (log-edit-insert-changelog): Use it.
13814
b0c4cdcf
ML
138152011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13816
13817 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13818
ee1f1da9
SM
138192011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
13820
13821 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13822 (gdb--check-interpreter): New function.
13823 (gdb): Use it.
13824
51bc5f8b
GM
138252011-10-27 Glenn Morris <rgm@gnu.org>
13826
416a2c45
GM
13827 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13828 (least-positive-float, least-negative-float)
13829 (least-positive-normalized-float, least-negative-normalized-float)
13830 (float-epsilon, float-negative-epsilon):
13831 Remove unnecessary declarations.
13832
13833 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13834 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13835 (least-positive-float, least-negative-float)
13836 (least-positive-normalized-float, least-negative-normalized-float)
13837 (float-epsilon, float-negative-epsilon): Add doc-strings,
13838 based on those in cl.texi.
13839
51bc5f8b
GM
13840 * files.el (set-visited-file-name): If the major-mode changed,
13841 reload the local variables. (Bug#9796)
13842
15de15c6
CY
138432011-10-27 Chong Yidong <cyd@gnu.org>
13844
13845 * subr.el (change-major-mode-after-body-hook): New hook.
13846 (run-mode-hooks): Run it.
13847
ee1f1da9
SM
13848 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13849 Use change-major-mode-before-body-hook.
15de15c6
CY
13850
13851 * simple.el (fundamental-mode):
13852 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13853 change introducing fundamental-mode-hook.
13854
5430d399
JB
138552011-10-26 Juanma Barranquero <lekktu@gmail.com>
13856
acc825c5 13857 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 13858
ad74a69e
MA
138592011-10-26 Michael Albinus <michael.albinus@gmx.de>
13860
13861 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 13862 tramp.el explicitly. (Bug#7583)
ad74a69e 13863
71d4c2a5
SM
138642011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
13865
13866 * progmodes/octave-mod.el:
13867 * progmodes/octave-inf.el: Update maintainer.
13868
b1f6fa26
CY
138692011-10-26 Chong Yidong <cyd@gnu.org>
13870
13871 * subr.el (with-wrapper-hook): Rewrite doc.
13872
3f04efd6
MA
138732011-10-25 Michael Albinus <michael.albinus@gmx.de>
13874
13875 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 13876 filenames "/method:foo:". (Bug#9793)
3f04efd6 13877
410488d3
SM
138782011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13881 (bug#9865).
13882
c1ebb47e
GM
138832011-10-24 Glenn Morris <rgm@gnu.org>
13884
13885 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
13886
7f5c46c7
MA
138872011-10-24 Michael Albinus <michael.albinus@gmx.de>
13888
13889 * notifications.el: Add the requirement of a running D-Bus session
13890 bus to the Commentary.
13891
db2440b6
JL
138922011-10-24 Juri Linkov <juri@jurta.org>
13893
13894 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13895 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13896 (Bug#9364)
13897
feecf435
JL
138982011-10-24 Juri Linkov <juri@jurta.org>
13899
13900 * info.el (Info-following-node-name-re): Add newline to the list
13901 of allowed characters for leading space. (Bug#9824)
13902
a3839de2
SM
139032011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
13904
acc825c5
SM
13905 * progmodes/octave-inf.el (inferior-octave-mode-map):
13906 Fix C-c C-h binding.
a3839de2
SM
13907 * progmodes/octave-mod.el (octave-help): Remove.
13908
09388e76
MA
139092011-10-23 Michael Albinus <michael.albinus@gmx.de>
13910
13911 Sync with Tramp 2.2.3.
13912
13913 * net/tramp-cache.el (top): Pacify byte-compiler using
13914 `init-file-user' and `site-run-file'.
13915
13916 * net/trampver.el: Update release number.
13917
86c60681
CY
139182011-10-23 Chong Yidong <cyd@gnu.org>
13919
13920 * files.el (toggle-read-only): Remove obsolete comment about
13921 version control.
13922
13923 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13924 for toggle-read-only. Note that this hasn't called vc-next-action
13925 since 2008-05-02, though it wasn't documented at the time.
13926
a3839de2
SM
13927 * vc/ediff-init.el (ediff-toggle-read-only-function):
13928 Use toggle-read-only.
86c60681 13929
cd5495ff
AM
139302011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
13931
13932 Fix bug #9560, sporadic wrong indentation; improve instrumentation
13933 of c-parse-state.
13934
00b77525 13935 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 13936 correct faulty logical expression.
cd5495ff
AM
13937 (c-parse-state-state, c-record-parse-state-state):
13938 (c-replay-parse-state-state): New defvar/defuns.
13939 (c-debug-parse-state): Use new functions.
13940
42ee24ed
MR
139412011-10-22 Martin Rudalics <rudalics@gmx.at>
13942
13943 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 13944 last fix. Use window-in-direction correctly.
42ee24ed 13945
a7dee7e7
CY
139462011-10-21 Chong Yidong <cyd@gnu.org>
13947
13948 * progmodes/idlwave.el (idlwave-mode):
13949 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
13950 require-final-newline; that's done in prog-mode.
13951 Suggested by Stefan Monnier.
a7dee7e7 13952
e07b9a6d
MR
139532011-10-21 Martin Rudalics <rudalics@gmx.at>
13954
13955 * mouse.el (mouse-drag-window-above)
13956 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
13957 (mouse-drag-mode-line-1, mouse-drag-header-line)
13958 (mouse-drag-vertical-line-rightward-window): Remove.
13959 (mouse-drag-line): New function.
13960 (mouse-drag-mode-line, mouse-drag-header-line)
13961 (mouse-drag-vertical-line): Call mouse-drag-line.
13962 * window.el (window-at-side-p, windows-at-side): New functions.
13963
7e1361d9
UM
139642011-10-21 Ulrich Mueller <ulm@gentoo.org>
13965
13966 * tar-mode.el (tar-grind-file-mode):
13967 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
13968
30fcaf3a
CY
139692011-10-21 Chong Yidong <cyd@gnu.org>
13970
13971 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
13972 * progmodes/vera-mode.el (vera-mode):
13973 Use mode-require-final-newline.
30fcaf3a 13974
516eddb0
GM
139752011-10-20 Glenn Morris <rgm@gnu.org>
13976
db22a3c2 13977 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 13978
10d5f513
CS
139792011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
13980
13981 * emulation/cua-base.el (cua-set-mark): Fix case of string.
13982
ac6c8639
CY
139832011-10-20 Chong Yidong <cyd@gnu.org>
13984
13985 * emulation/cua-base.el (cua-mode):
13986 * mail/footnote.el (footnote-mode):
13987 * mail/mailabbrev.el (mail-abbrevs-mode):
13988 * net/xesam.el (xesam-minor-mode):
13989 * progmodes/bug-reference.el (bug-reference-mode):
13990 * progmodes/cap-words.el (capitalized-words-mode):
13991 * progmodes/compile.el (compilation-minor-mode)
13992 (compilation-shell-minor-mode):
13993 * progmodes/gud.el (gud-tooltip-mode):
13994 * progmodes/hideif.el (hide-ifdef-mode):
13995 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
13996 * progmodes/subword.el (subword-mode):
13997 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13998 * progmodes/which-func.el (which-function-mode):
13999 * term/tvi970.el (tvi970-set-keypad-mode):
14000 * term/vt100.el (vt100-wide-mode):
14001 * textmodes/flyspell.el (flyspell-mode):
14002 * textmodes/ispell.el (ispell-minor-mode):
14003 * textmodes/nroff-mode.el (nroff-electric-mode):
14004 * textmodes/paragraphs.el (use-hard-newlines):
14005 * textmodes/refill.el (refill-mode):
14006 * textmodes/reftex.el (reftex-mode):
14007 * textmodes/rst.el (rst-minor-mode):
14008 * textmodes/sgml-mode.el (html-autoview-mode)
14009 (sgml-electric-tag-pair-mode):
14010 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14011 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14012 * emulation/crisp.el (crisp-mode):
14013 * emacs-lisp/eldoc.el (eldoc-mode):
14014 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14015 minor mode behavior.
14016
aa42ab43
JL
140172011-10-19 Juri Linkov <juri@jurta.org>
14018
14019 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14020 the list of hard-coded chars with escape-glyph face.
14021
89400f1d
SM
140222011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14023
14024 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14025
305c07f6
MA
140262011-10-19 Michael Albinus <michael.albinus@gmx.de>
14027
14028 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14029 running process.
14030
13754b54
GM
140312011-10-19 Glenn Morris <rgm@gnu.org>
14032
14033 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14034 Ignore ignored files. (Bug#9726)
14035
06e21633
CY
140362011-10-19 Chong Yidong <cyd@gnu.org>
14037
14038 Doc fix for minor modes, stating that an omitted argument enables
14039 the mode unconditionally when called from Lisp.
14040
14041 * abbrev.el (abbrev-mode):
14042 * allout.el (allout-mode):
14043 * autoinsert.el (auto-insert-mode):
14044 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14045 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14046 (global-auto-revert-mode):
14047 * battery.el (display-battery-mode):
14048 * composite.el (global-auto-composition-mode)
14049 (auto-composition-mode):
14050 * delsel.el (delete-selection-mode):
14051 * desktop.el (desktop-save-mode):
14052 * dired-x.el (dired-omit-mode):
14053 * dirtrack.el (dirtrack-mode):
14054 * doc-view.el (doc-view-minor-mode):
14055 * double.el (double-mode):
14056 * electric.el (electric-indent-mode, electric-pair-mode):
14057 * emacs-lock.el (emacs-lock-mode):
14058 * epa-hook.el (auto-encryption-mode):
14059 * follow.el (follow-mode):
14060 * font-core.el (font-lock-mode):
14061 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14062 * help.el (temp-buffer-resize-mode):
14063 * hilit-chg.el (highlight-changes-mode)
14064 (highlight-changes-visible-mode):
14065 * hi-lock.el (hi-lock-mode):
14066 * hl-line.el (hl-line-mode, global-hl-line-mode):
14067 * icomplete.el (icomplete-mode):
14068 * ido.el (ido-everywhere):
14069 * image-file.el (auto-image-file-mode):
14070 * image-mode.el (image-minor-mode):
14071 * iswitchb.el (iswitchb-mode):
14072 * jka-cmpr-hook.el (auto-compression-mode):
14073 * linum.el (linum-mode):
14074 * longlines.el (longlines-mode):
14075 * master.el (master-mode):
14076 * mb-depth.el (minibuffer-depth-indicate-mode):
14077 * menu-bar.el (menu-bar-mode):
14078 * minibuf-eldef.el (minibuffer-electric-default-mode):
14079 * mouse-sel.el (mouse-sel-mode):
14080 * msb.el (msb-mode):
14081 * mwheel.el (mouse-wheel-mode):
14082 * outline.el (outline-minor-mode):
14083 * paren.el (show-paren-mode):
14084 * recentf.el (recentf-mode):
14085 * reveal.el (reveal-mode, global-reveal-mode):
14086 * rfn-eshadow.el (file-name-shadow-mode):
14087 * ruler-mode.el (ruler-mode):
14088 * savehist.el (savehist-mode):
14089 * scroll-all.el (scroll-all-mode):
14090 * scroll-bar.el (scroll-bar-mode):
14091 * server.el (server-mode):
14092 * shell.el (shell-dirtrack-mode):
14093 * simple.el (auto-fill-mode, transient-mark-mode)
14094 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14095 (line-number-mode, column-number-mode, size-indication-mode)
14096 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14097 * strokes.el (strokes-mode):
14098 * time.el (display-time-mode):
14099 * t-mouse.el (gpm-mouse-mode):
14100 * tool-bar.el (tool-bar-mode):
14101 * tooltip.el (tooltip-mode):
14102 * type-break.el (type-break-mode-line-message-mode)
14103 (type-break-query-mode):
14104 * view.el (view-mode):
14105 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14106 (global-whitespace-mode, global-whitespace-newline-mode):
14107 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14108
a3839de2
SM
14109 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14110 Fix autogenerated docstring.
06e21633 14111
5214e501
JL
141122011-10-19 Juri Linkov <juri@jurta.org>
14113
14114 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14115 by checking environment variables "DESKTOP_SESSION" and
14116 "XDG_CURRENT_DESKTOP". (Bug#9779)
14117
195f8db9
JL
141182011-10-19 Juri Linkov <juri@jurta.org>
14119
14120 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14121 (browse-url-chromium-program, browse-url-chromium-arguments):
14122 New defcustoms.
14123 (browse-url-default-browser): Check for `browse-url-chromium' and
14124 call `browse-url-chromium-program'.
14125 (browse-url-chromium): New command. (Bug#9779)
14126
343a34ff
JB
141272011-10-18 Juanma Barranquero <lekktu@gmail.com>
14128
14129 * facemenu.el (list-colors-duplicates): On Windows, detect more
14130 duplicates by assuming that only colors matching "^System" are
14131 special "system colors". (Bug#9722)
14132
6978a151
SM
141332011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14134
14135 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14136 to distinguish the author from the committer.
14137
6a80b297
MA
141382011-10-18 Michael Albinus <michael.albinus@gmx.de>
14139
14140 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14141
b31a5677
JK
141422011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14143
14144 * international/mule.el (sgml-html-meta-auto-coding-function):
14145 Add support for detecting encoding in HTML5 specified only as
14146 <meta charset="UTF-8">. Implementation just makes http-equiv and
14147 content-type parts from HTML4 encoding string optional. (Bug#9716)
14148
80c6d77f
GM
141492011-10-18 Glenn Morris <rgm@gnu.org>
14150
14151 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14152
08b0fee8
CY
141532011-10-18 Chong Yidong <cyd@gnu.org>
14154
14155 * faces.el (cursor): Doc fix.
14156
67e729a5
CY
141572011-10-17 Chong Yidong <cyd@gnu.org>
14158
14159 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14160
343a34ff 141612011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
14162
14163 * dirtrack.el (dirtrack): Support shell buffers with path
14164 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14165
0bc06380
TZ
141662011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14167
14168 * json.el: Bump version to 1.3 and note change in History.
14169 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14170
8b79f3e0
SM
141712011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14172
5a7c536b
SM
14173 * comint.el (comint-insert-input, comint-send-input)
14174 (comint-get-old-input-default, comint-backward-matching-input)
14175 (comint-next-prompt): Use nil instead of `input' for field property of
14176 past user input (bug#114).
14177
96a8a0df
SM
14178 * minibuffer.el (completion--replace): Inherit surrounding properties
14179 (bug#114).
14180 (minibuffer-complete-and-exit): Use it.
14181
8b79f3e0
SM
14182 * comint.el (comint--table-subvert): Quote the all-completions output
14183 (bug#9160).
14184
b8f7ff0d
MR
141852011-10-17 Martin Rudalics <rudalics@gmx.at>
14186
8b79f3e0 14187 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 14188
b8f7ff0d 14189 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 14190 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
14191 entries and separate them from frame entries.
14192
c235b555
GM
141932011-10-15 Glenn Morris <rgm@gnu.org>
14194
14195 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14196 Doc fixes.
14197
6bbfa6e1
CY
141982011-10-15 Chong Yidong <cyd@stupidchicken.com>
14199
8b79f3e0
SM
14200 * net/network-stream.el (network-stream-open-starttls):
14201 Improve detection of failure due to lack of TLS support.
ec5c990d 14202
6bbfa6e1
CY
14203 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14204 putting the input text in front and in bold.
14205
98488977
SM
142062011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14207
3d1337be
SM
14208 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14209
ee0b45e4
SM
14210 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14211 empty buffer.
14212
98488977
SM
14213 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14214 unread-command-events rather than pushing yet-another event.
14215
186f4720
EZ
142162011-10-14 Eli Zaretskii <eliz@gnu.org>
14217
14218 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14219 the explanation of the possible choices. Make the options passed
14220 to completing-read shorter.
14221
8b7a997c
AM
142222011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14223
14224 * textmodes/flyspell.el (flyspell-large-region): Make sure
14225 extended character mode is used if defined (Bug#1339).
14226
12587bbb
EZ
142272011-10-13 Eli Zaretskii <eliz@gnu.org>
14228
14229 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
14230 character info for LRE, LRO, RLE, and RLO characters by appending
14231 an invisible PDF.
12587bbb 14232
bad41229
SM
142332011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14236 even in case of error; add debug spec; simplify data flow.
14237 (with-timeout-handler): Remove.
14238
28dbc92f
MA
142392011-10-12 Michael Albinus <michael.albinus@gmx.de>
14240
14241 Fix Bug#6019, Bug#9315.
14242
14243 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14244 complete `buffer-file-name', the local file name part could look
14245 remotely (for example on VMS).
14246
14247 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14248 `tramp-run-real-handler'.
14249 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14250 already quoted by '"'.
14251
14252 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14253 Let `file-name-handler-alist' be nil, the local file name part
14254 could look remotely (for example on VMS).
14255
e1b0b23a
SM
142562011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14257
14258 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14259 from here...
14260 (flyspell-post-command-hook): ...to here.
14261
a120bde9
SM
142622011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14263
14264 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14265 if not needed.
14266 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
14267 using completion. Protect against "slow" callers.
14268 Remove the "message hack".
14269
7ce7717b
JL
142702011-10-11 Juri Linkov <juri@jurta.org>
14271
14272 * isearch.el (isearch-lazy-highlight-word): New variable.
14273 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14274 Use it. (Bug#9727)
14275
c02ee9d6
GM
142762011-10-11 Glenn Morris <rgm@gnu.org>
14277
14278 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14279 like f90-previous-statement does.
14280
93e616fd 142812011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14282
1f190e73 14283 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
14284 only in interactive use, to avoid error.
14285
af7b6078
SM
142862011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
14287
14288 * minibuffer.el (completion-file-name-table): Fix last change,
14289 i.e. ignore normal errors but not the other ones.
14290
0563dae9
MR
142912011-10-10 Martin Rudalics <rudalics@gmx.at>
14292
14293 * window.el (special-display-buffer-names)
14294 (special-display-regexps): Remove some remnants of earlier
14295 changes from doc-strings.
366ca7f3
MR
14296 (quit-windows-on): New function.
14297
14298 * vc/vc.el (vc-revert, vc-rollback):
14299 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14300 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 14301 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 14302
49677495
MR
143032011-10-09 Martin Rudalics <rudalics@gmx.at>
14304
14305 * window.el (frame-auto-hide-function): Add version tag.
14306 (Bug#9699)
14307
56f2d1e1
MA
143082011-10-09 Michael Albinus <michael.albinus@gmx.de>
14309
14310 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14311 condition.
14312
112a6592
LL
143132011-10-09 Leo Liu <sdl.web@gmail.com>
14314
14315 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14316 (Bug#9701)
14317
0812589b
GM
143182011-10-08 Glenn Morris <rgm@gnu.org>
14319
14320 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14321 before the first code statement zero indent. (Bug#9690)
14322
b2b0776e
CY
143232011-10-08 Chong Yidong <cyd@stupidchicken.com>
14324
14325 * simple.el (count-words-region): Always count in the region.
14326 Report the number of lines and characters too.
14327 (count-words): New command, which counts in the buffer if the
14328 region is inactive, as count-words-region used to.
14329 (count-words--message): New function. Handle plurals.
14330 (count-lines-region): Make it an alias for count-words-region.
14331
14332 * bindings.el (esc-map): Replace count-lines-region with
14333 count-words-region.
14334
c557cd6b
MR
143352011-10-08 Martin Rudalics <rudalics@gmx.at>
14336
14337 * window.el (window--delete): Delete dedicated frame
14338 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 14339 (switch-to-buffer): Fix doc-string typo.
c557cd6b 14340
61a57ef4 143412011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14342
3a7d293b 14343 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 14344
c3833279
CY
143452011-10-07 Chong Yidong <cyd@stupidchicken.com>
14346
14347 * bindings.el ([M-left],[M-right]): Bind to left-word and
14348 right-word respectively.
14349
21ce8245
GM
143502011-10-07 Glenn Morris <rgm@gnu.org>
14351
14352 * cus-start.el (debug-on-quit): Fix custom type.
14353
6d823bb2
LMI
143542011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
14355
0181e193
LMI
14356 * subr.el (define-key-after): Clarify that the function is not
14357 useful for non-menu keymaps.
14358
6d823bb2
LMI
14359 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14360
8e3459ce 143612011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14362
21ce8245 14363 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 14364 in current minibuffer (Fix bug with recursive minibuffers).
14365
a1c2d21e
CY
143662011-10-06 Chong Yidong <cyd@stupidchicken.com>
14367
14368 * progmodes/gdb-mi.el (gdb): Doc fix.
14369
5a4cf282
MR
143702011-10-05 Martin Rudalics <rudalics@gmx.at>
14371
14372 * window.el (frame-auto-hide-function): New option replacing
14373 frame-auto-delete. Suggested by Stefan Monnier.
14374 (window--delete): Call frame-auto-hide-function instead of
14375 investigating frame-auto-delete.
c96111ea
MR
14376 (window-point-1, set-window-point-1): New functions.
14377 (window-in-direction, record-window-buffer, window-state-get-1)
14378 (display-buffer-record-window): Use window-point-1 instead of
14379 window-point.
14380 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 14381
9854542e
SM
143822011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14383
14384 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14385
8943cfb0
GM
143862011-10-05 Glenn Morris <rgm@gnu.org>
14387
14388 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14389 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
14390
647ab967
LL
143912011-10-05 Leo Liu <sdl.web@gmail.com>
14392
14393 * subr.el (read-char-choice): Fix argument to buffer-live-p which
14394 works with buffer object.
14395
3ddfbced
SM
143962011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
14397
14398 * mpc.el (mpc-tool-bar-map): Add labels.
14399
bdfa5dd2
GM
144002011-10-04 Glenn Morris <rgm@gnu.org>
14401
14402 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14403
0e2070b5
MR
144042011-10-04 Martin Rudalics <rudalics@gmx.at>
14405
14406 * window.el (window--delete): New function.
14407 (frame-auto-delete): Resuscitate option.
14408 (bury-buffer, replace-buffer-in-windows)
14409 (quit-window): Rewrite using window--delete.
14410 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14411 Pass display-buffer-mark-dedicated to window--display-buffer-2
14412 (Bug#9639).
14413
3dc61a09
SM
144142011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14415
915a9b64
SM
14416 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14417 returns a list (bug#9554). Add remote file name completion.
14418 * comint.el (comint--table-subvert): Curry and get quote&unquote
14419 functions as arguments.
14420 (comint--complete-file-name-data): Adjust call accordingly.
14421 * pcomplete.el (pcomplete--table-subvert): Remove.
14422 (pcomplete-completions-at-point): Use comint--table-subvert instead.
14423
3dc61a09
SM
14424 * minibuffer.el (completion-table-case-fold): Use currying.
14425 (completion--styles-type, completion--cycling-threshold-type):
14426 New constants.
14427 (completion-styles, completion-category-overrides)
14428 (completion-cycle-threshold): Use them.
14429 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14430 completion-table-case-fold.
14431
8ea0a993
SB
144322011-10-03 Stephen Berman <stephen.berman@gmx.net>
14433
14434 * minibuffer.el (completion-category-overrides): Fix type of styles
14435 and add more user friendly tags (bug#9660).
14436
8c24b7f6
SM
144372011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
14438
14439 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14440 (mule-input-method-string): New widget.
14441 (default-input-method, language-info-custom-alist): Use it.
14442
428fe61a
SM
144432011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
14444
32c1fffd
SM
14445 * pcomplete.el: Require comint.
14446 (pcomplete--common-suffix): Remove.
14447 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14448 (pcomplete--table-subvert): Sync with comint--table-subvert.
14449 (pcomplete--entries): Use comint-completion-file-name-table.
14450 * comint.el (comint-unquote-filename): Simplify.
14451 (comint-completion-file-name-table): New function (bug#9616).
14452 (comint--complete-file-name-data): Use it.
14453
428fe61a
SM
14454 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14455 (pcmpl-gnu-tar-buffer): Remove.
14456 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
14457 around. Make sure pcomplete-suffix-list is only changed temporarily.
14458 Don't look inside the tar's file if it's too large.
428fe61a 14459
04c52e2f
CY
144602011-10-01 Chong Yidong <cyd@stupidchicken.com>
14461
ce3cefcc
CY
14462 * cus-edit.el (custom-mode-map):
14463 * epa.el (epa-key-list-mode-map):
14464 * man.el (Man-mode-map):
14465 * startup.el (splash-screen-keymap):
14466 * simple.el (special-mode-map): Use scroll-up-command and
14467 scroll-down-command.
14468
14469 * progmodes/idlw-help.el (idlwave-help-mode-map):
14470 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14471 * net/newst-plainview.el (newsticker-mode-map):
14472 * emulation/ws-mode.el (wordstar-mode-map):
14473 * emulation/vi.el (vi-com-map):
14474 * calc/calc-graph.el (calc-graph-show-dumb):
14475 * term/sun.el (terminal-init-sun):
14476 * term/ns-win.el (global-map):
14477 * progmodes/grep.el (grep-mode-map):
14478 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14479 * mail/rmail.el (rmail-mode-map):
14480 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14481
04c52e2f
CY
14482 * custom.el (custom-safe-themes, load-theme): Treat value of t for
14483 custom-safe-themes as special.
14484
79adf8c8
JD
144852011-10-01 Julien Danjou <julien@danjou.info>
14486
14487 * notifications.el (notifications-notify): Fix docstring.
14488
63bd50d3
PS
144892011-10-01 Per Starbäck <per@starback.se>
14490
14491 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
14492
199e4c7e
MR
144932011-09-30 Martin Rudalics <rudalics@gmx.at>
14494
14495 * startup.el (command-line-1): Fix last fix by inserting
14496 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 14497 (Bug#9605) and (Bug#9636)
199e4c7e 14498
fe5f08dd
EZ
144992011-09-29 Eli Zaretskii <eliz@gnu.org>
14500
14501 * simple.el (line-move): If auto-hscroll-mode is disabled and the
14502 window is hscrolled, move by logical lines. (Bug#9607)
14503 (line-move-visual): Update the doc string to the above effect.
14504
b5516bbd
MR
145052011-09-29 Martin Rudalics <rudalics@gmx.at>
14506
ccee00c0
MR
14507 * window.el (display-buffer-record-window): When WINDOW is the
14508 selected window use `point' instead of `window-point'. (Bug#9626)
14509
b5516bbd
MR
14510 * startup.el (command-line-1): Use insert-before-markers when
14511 inserting initial-scratch-message. (Bug#9605)
ccee00c0 14512
b5516bbd
MR
14513 * help.el (help-window): Remove variable.
14514
52aa0014
GM
145152011-09-29 Glenn Morris <rgm@gnu.org>
14516
14517 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14518
df9a7357
JB
145192011-09-29 Juanma Barranquero <lekktu@gmail.com>
14520
14521 * descr-text.el (describe-char-categories): Accept category
14522 descriptions more than one line long.
14523
a8406c20
SM
145242011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
14525
88d9610c
SM
14526 * simple.el (delete-trailing-whitespace): Fix last change.
14527
a5daf810
SM
14528 * progmodes/perl-mode.el (perl-syntax-propertize-function):
14529 Don't confuse "y => 3" as the beginning of a `y' operation.
14530
a8406c20
SM
14531 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14532 object has more than 4 slots (bug#9613).
14533
a239d4e9
JB
145342011-09-28 Juanma Barranquero <lekktu@gmail.com>
14535
14536 * subr.el (with-output-to-temp-buffer):
14537 * net/quickurl.el (quickurl, quickurl-browse-url):
14538 Fix typos in docstrings.
14539
693fbdb6
EZ
145402011-09-27 Eli Zaretskii <eliz@gnu.org>
14541
14542 * minibuffer.el (completion-styles)
14543 (completion-category-overrides): Cross reference each other in doc
14544 strings.
14545
8b457e28
GM
145462011-09-27 Glenn Morris <rgm@gnu.org>
14547
14548 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14549 to split-string. (Bug#9606)
14550
85a16208
LMI
145512011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14552
14553 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14554 (bug#9615).
14555
502f9ebd
CY
145562011-09-27 Chong Yidong <cyd@stupidchicken.com>
14557
14558 * emacs-lisp/package.el (list-packages): Fix echo area message.
14559
7690bdea
LL
145602011-09-27 Leo Liu <sdl.web@gmail.com>
14561
14562 * ido.el (ido-read-internal): Accept cons cell HIST arg.
14563
e2ee6f30
MA
145642011-09-25 Michael Albinus <michael.albinus@gmx.de>
14565
14566 * net/dbus.el (dbus-unregister-object): Don't release services for
14567 registered signals. (Bug#9581)
14568
f3f98342
TZ
145692011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
14570
14571 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14572 function that picks between cfengine 2 and 3 support
14573 automatically. Update docs accordingly.
14574
dd7aa8dd
KH
145752011-09-22 Kenichi Handa <handa@m17n.org>
14576
14577 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14578 ZERO.
14579 (indian-itrans-v5-table-for-tamil): New variable.
14580 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14581
3f2b07f8
KM
145822011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
14583
14584 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14585 that's true if the current command involved collapsing of text.
14586 It's reset to false at the beginning of the next command.
14587 (allout-post-command-business): Move the cursor to the beginning
14588 of entry if the cursor is hidden and collapsing activity just
14589 happened.
14590
371d6a61
CY
145912011-09-24 Chong Yidong <cyd@stupidchicken.com>
14592
14593 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14594 tracking (Bug#9541).
14595
2ac2721a
UJ
145962011-09-24 Ulf Jasper <ulf.jasper@web.de>
14597
14598 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
14599 (newsticker-show-news): Automatically load html rendering package
14600 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
14601 because w3m-fill-column is let-bound" and the error "Symbol's value
14602 as variable is void: w3m-fill-column".
2ac2721a 14603
fac7ae53
MA
146042011-09-24 Michael Albinus <michael.albinus@gmx.de>
14605
14606 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14607 Release services only if they are defined. (Bug#9581)
14608
e08b633b
RS
146092011-09-23 Richard Stallman <rms@gnu.org>
14610
e488d29c
RS
14611 * textmodes/paragraphs.el (forward-sentence): For backwards case,
14612 distinguish start of paragraph from start of its text.
14613
19c38752
RS
14614 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14615
e08b633b
RS
14616 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14617 (rmail-generate-viewer-buffer): Put that hook on view buffer.
14618 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14619
0a39f27e
AS
146202011-09-23 Andreas Schwab <schwab@linux-m68k.org>
14621
14622 * international/mule-diag.el (mule-diag): Insert a newline after
14623 each fontset description.
14624
db4e950d
SM
146252011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 * simple.el (delete-trailing-whitespace):
14628 Document last change; simplify.
14629
eca3f3ea
PW
146302011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
14631
d68e189a
PW
14632 * simple.el (delete-trailing-whitespace): Also delete
14633 extra newlines at the end of the buffer.
14634
eca3f3ea
PW
14635 * textmodes/picture.el: Make motion commands obey shift-select-mode.
14636 (picture-newline): Use forward-line so as to ignore fields.
14637
01c157cc
SM
146382011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
14639
14640 * subr.el (with-wrapper-hook): Fix edebug spec.
14641
022de23e
LMI
146422011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
14643
14644 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14645 (bug#4538).
14646
91683089
MA
146472011-09-23 Michael Albinus <michael.albinus@gmx.de>
14648
eca3f3ea
PW
14649 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14650 Fix nasty bug using wrong cached values.
91683089 14651
5bdd6fa4
AM
146522011-09-23 Alan Mackenzie <acm@muc.de>
14653
14654 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14655
97adfb97
CY
146562011-09-23 Chong Yidong <cyd@stupidchicken.com>
14657
14658 * window.el (pop-to-buffer): Ensure right window is selected if we
14659 chose another frame.
14660
d4ef2b50
EZ
146612011-09-22 Eli Zaretskii <eliz@gnu.org>
14662
14663 * simple.el (what-cursor-position): Use get-char-property-change
14664 and next-single-char-property-change, to be able to show display
14665 properties that come from overlays as well as text properties.
14666
72258fe5
CY
146672011-09-22 Chong Yidong <cyd@stupidchicken.com>
14668
14669 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14670
14671 * cmuscheme.el (run-scheme, switch-to-scheme):
14672 * cus-edit.el (customize-group, custom-buffer-create)
14673 (customize-browse):
14674 * info.el (info):
14675 * shell.el (shell):
14676 * mail/sendmail.el (mail):
14677 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14678
8f098516
RS
146792011-09-22 Richard Stallman <rms@gnu.org>
14680
14681 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14682 move back only to line beg, don't move back over blank lines.
14683
e74f1bb6
MA
146842011-09-22 Michael Albinus <michael.albinus@gmx.de>
14685
14686 * files.el (copy-directory): Set directory attributes only in case
14687 they could be retrieved from the source directory. (Bug#9565)
14688
bfeef8b6
DK
146892011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
14690
14691 * progmodes/hideshow.el (hs-looking-at-block-start-p)
14692 (hs-find-block-beginning, hs-hide-level-recursive):
14693 Ignore strings as well as comments. (Bug#9502)
14694
7e423bb8
AS
146952011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
14696
14697 * progmodes/sql.el (sql-comint-postgres):
14698 Convert port number to a string. (Bug#9566)
14699
b4d72fcf
MR
147002011-09-22 Martin Rudalics <rudalics@gmx.at>
14701
14702 * window.el (quit-window): Undedicate window when switching to
14703 previous buffer. Reported by Thierry Volpiatto
14704 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
14705 (special-display-popup-frame): When popping up a new frame reset
14706 its previous buffers to nil. Simplify code.
b4d72fcf 14707
a7b88dc6
MA
147082011-09-21 Michael Albinus <michael.albinus@gmx.de>
14709
14710 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14711 and process filter, as done also in `shell-command'.
14712
cf4eacfd
MR
147132011-09-21 Martin Rudalics <rudalics@gmx.at>
14714
eca3f3ea 14715 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
14716 Call set-window-start with NOFORCE argument t.
14717 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
14718 (quit-window): Reword doc-string. Handle new format of
14719 quit-restore parameter. Don't delete window if it has a
14720 previous buffer we can show instead of the present one.
14721 (display-buffer-record-window): Rewrite using a new format for
14722 the quit-restore window parameter
14723 (special-display-popup-frame, display-buffer-same-window)
14724 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14725 (display-buffer-pop-up-window, display-buffer-use-some-window):
14726 Adapt symbol passed to display-buffer-record-window.
14727 * help.el (help-window-setup): Handle new format of quit-restore
14728 parameter.
14729
8d28cb95
SM
147302011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
14731
94ab793f
SM
14732 * faces.el (face-list): Fix docstring (bug#9564).
14733
8d28cb95
SM
14734 * window.el (display-buffer--action-function-custom-type):
14735 Don't include internal functions in the Custom interface.
14736
3820edeb
JL
147372011-09-20 Juri Linkov <juri@jurta.org>
14738
14739 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14740 (Info-forward-node, Info-backward-node, Info-next-preorder)
14741 (Info-last-preorder): Use it. (Bug#9528)
14742
5147931d
JL
147432011-09-20 Juri Linkov <juri@jurta.org>
14744
14745 * info.el (Info-last-preorder): Visit last menu item only when
14746 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14747
cf499a1a
JD
147482011-09-20 Julien Danjou <julien@danjou.info>
14749
14750 * password-cache.el (password-cache-remove): Remove entries even if the
14751 value is nil, so that password with a nil value (negative caching) is
14752 possible to invalidate.
14753
f84e2fe2
LM
147542011-09-20 Lawrence Mitchell <wence@gmx.li>
14755
14756 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14757 all whitespace around breakpoint. (Bug#9553)
14758 (f90-find-breakpoint): Only break at whitespace inside a comment.
14759
78054a46
SM
147602011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
14761
14762 * minibuffer.el (completion-file-name-table): Keep track of errors.
14763 (completion-table-with-predicate): Handle the case where pred1 is nil.
14764 * pcomplete.el (pcomplete-completions-at-point): Simplify.
14765
345083b2
SM
147662011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14767
e24e27be
SM
14768 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14769 (debugger-return-value): Signal an error if the debugging context does
14770 not await any return value.
14771
345083b2
SM
14772 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14773 * image-mode.el (image-toggle-display-text)
14774 (image-toggle-display-image): Stay away from evil `intangible'.
14775
08d355e3
LL
147762011-09-19 Leo Liu <sdl.web@gmail.com>
14777
14778 * replace.el (occur-revert-arguments): Make it permanent-local.
14779 (occur-mode): Don't call font-lock-defontify.
14780
f01da43f
CY
147812011-09-19 Chong Yidong <cyd@stupidchicken.com>
14782
14783 * net/ldap.el (ldap-search-internal): Don't push empty search
14784 result (Bug#9508).
14785
b6072fa6
SM
147862011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
14787
14788 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14789
443d6696
MA
147902011-09-19 Michael Albinus <michael.albinus@gmx.de>
14791
14792 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14793 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14794
7cc6e154
JL
147952011-09-18 Juri Linkov <juri@jurta.org>
14796
14797 * buff-menu.el (Buffer-menu-mode-map):
14798 * dired.el (dired-mode-map):
14799 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14800 (lisp-interaction-mode-map):
14801 * emacs-lisp/package.el (package-menu-mode-map):
14802 * epa.el (epa-key-list-mode-map):
14803 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14804 (menu-bar-options-menu):
14805 * outline.el (outline-mode-menu-bar-map):
14806 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14807 * vc/vc-dir.el (vc-dir-menu-map):
14808 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14809 Capitalize non-function content words in menu item strings.
14810
14811 * dired.el (dired-mode-map): Add menu item for
14812 `image-dired-dired-toggle-marked-thumbs'.
14813
80302a81
JL
148142011-09-18 Juri Linkov <juri@jurta.org>
14815
14816 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14817 to `isearch-case-fold-search' and restore its original value
14818 after the `isearch-mode' call.
14819
46c5cf66
JL
148202011-09-18 Juri Linkov <juri@jurta.org>
14821
14822 * progmodes/grep.el (grep-process-setup): Don't check code for 1
14823 because `zgrep' returns 1 for successful matches (bug#9226).
14824
d18b513b
JL
148252011-09-18 Juri Linkov <juri@jurta.org>
14826
14827 * info.el (Info-extract-menu-node-name): Check the second match
14828 for empty string (second test-case of bug#9528).
14829 (Info-last-preorder): Let-bind `Info-history' to nil to not add
14830 intermediate nodes to the history (first test-case of bug#9528).
14831
72753f87
JL
148322011-09-18 Juri Linkov <juri@jurta.org>
14833
14834 * info.el (Info-mode-syntax-table): New variable.
1154d12e 14835 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 14836
c9384295
JL
148372011-09-18 Juri Linkov <juri@jurta.org>
14838
1154d12e
JB
14839 * info.el (Info-file-supports-index-cookies):
14840 Increment line-beginning-position's arg from 3 to 4 because makeinfo
14841 outputs one more line for long file names (bug#4142).
c9384295 14842
d473dce8
CY
148432011-09-18 Chong Yidong <cyd@stupidchicken.com>
14844
14845 * newcomment.el (comment-normalize-vars): If prompting for
14846 comment-start, set comment-start-skip too (Bug#8424).
14847
2176854d
JB
148482011-09-18 Johan Bockgård <bojohan@gnu.org>
14849
14850 * icomplete.el: Fix previous fix of Bug#5849.
14851 (icomplete-mode): Don't set completion-show-inline-help.
14852 (icomplete-minibuffer-setup): Set completion-show-inline-help
14853 locally during icompletion.
14854
3aace4e4
CY
148552011-09-18 Chong Yidong <cyd@stupidchicken.com>
14856
c940224f
CY
14857 * woman.el (woman2-process-escapes): Don't delete unrecognized
14858 escapes (Bug#7843).
14859
3aace4e4
CY
14860 * files.el (inhibit-first-line-modes-regexps): Add image files.
14861 (hack-local-variables-prop-line): Return nil for malformed
14862 prop-lines (Bug#9044).
14863
710dec63
MA
148642011-09-18 Michael Albinus <michael.albinus@gmx.de>
14865
14866 * net/tramp.el (top): Don't require 'shell.
14867 (tramp-methods): Fix docstring.
14868 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
14869 Return complete remote file name. Handle "smb" case.
14870 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
14871 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14872
14873 * net/tramp-compat.el (top): Require 'shell.
14874
14875 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14876 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14877 `tramp-current-host'.
14878 (tramp-get-remote-tmpdir): Remove.
14879
14880 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14881 `tramp-tmpdir' entries.
14882 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14883 (tramp-smb-handle-file-attributes): Ignore errors.
14884 (tramp-smb-wait-for-output): Check also for process end.
14885
5d5ac8ec
LMI
148862011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
14887
14888 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14889 when sending QUIT (bug#9312).
14890
8c0f49f0
CY
148912011-09-17 Chong Yidong <cyd@stupidchicken.com>
14892
14893 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14894 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14895 occur-mode-display-occurrence.
14896 (occur-edit-mode): Add usage message.
14897 (occur-cease-edit): New command.
14898 (occur-after-change-function): Use text properties to find the
14899 position of the prefix text.
14900 (occur-engine): Set stickiness of prefix text properties.
14901
8f1383f7
GM
149022011-09-17 Glenn Morris <rgm@gnu.org>
14903
14904 * progmodes/etags.el (complete-tag):
14905 Fix call to completion-in-region. (Bug#9526)
14906
744ba0e3
JL
149072011-09-17 Juri Linkov <juri@jurta.org>
14908
14909 * textmodes/ispell.el (ispell-word): Add to the error message
14910 the word, ispell program name and current dictionary (bug#9121).
14911 (ispell-tex-arg-end): Capitalize "error" in the error message.
14912
d9bbf400
AS
149132011-09-17 Andreas Schwab <schwab@linux-m68k.org>
14914
14915 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14916 check. (Bug#4251)
14917
8da11505
JL
149182011-09-17 Juri Linkov <juri@jurta.org>
14919
14920 * window.el (window-safe-min-height, window-safe-min-width):
14921 Fix typos (followup to bug#9522).
14922
a91adc7e
SJ
149232011-09-17 Sven Joachim <svenjoac@gmx.de>
14924
14925 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14926
064f328a
EZ
149272011-09-16 Eli Zaretskii <eliz@gnu.org>
14928
14929 * simple.el (line-move): If goal-column is set, move by logical
14930 lines, not by display lines. (Bug#971)
14931 (next-line, previous-line, goal-column, line-move-visual): Doc fix
14932 to reflect the above change.
14933
e69df516
SM
149342011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
14935
14936 * image.el (imagemagick-register-types): Use regexp-opt.
14937
cbb0f9ab
CY
149382011-09-15 Chong Yidong <cyd@stupidchicken.com>
14939
14940 * window.el (display-buffer-base-action): Rename from
14941 display-buffer-default-action. Make default value empty.
14942 (display-buffer-overriding-action): Convert to defvar.
14943 (display-buffer-fallback-action): New var.
14944
25322144
CY
149452011-09-15 Chong Yidong <cyd@stupidchicken.com>
14946
14947 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
14948 declaration.
14949 (package--add-to-archive-contents): If there is a duplicate entry
14950 with an older version, remove it.
14951 (package-menu-mark-delete, package-menu-mark-install)
14952 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
14953 (package-menu-mark-obsolete-for-deletion):
14954 Use package-menu-get-status instead of a regexp search.
25322144
CY
14955 (package-menu-get-status): Use tabulated-list-entry.
14956 (package-menu-mark-upgrades): New command.
d770725a 14957 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
14958 (package-menu-execute): Do installation before deletion.
14959 (package-menu-refresh, package-menu-execute): Use derived-mode-p
14960 instead of checking major-mode.
14961 (package-menu--find-upgrades): New function.
14962
7520339c
LMI
149632011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
14964
14965 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
14966 passwords in the log buffer.
65a046c4
LMI
14967 (smtpmail-process-filter): Update the process marker so that the
14968 "broken by peer" status message is inserted in the right place.
7520339c 14969
d3c30954
SM
149702011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
14971
3fe48822
SM
14972 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
14973 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
14974 bibtex-completion-at-point-function.
14975 (bibtex-completion-at-point-function): Use them.
14976
1b8b3954
SM
14977 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
14978
d3c30954
SM
14979 * mpc.el (mpc-constraints-tag-lookup): New function.
14980 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
14981 also to browser "album|playlist".
14982
72779976
JL
149832011-09-14 Juri Linkov <juri@jurta.org>
14984
14985 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
14986 (isearch-edit-string): Use length of `isearch-string' when
14987 `isearch-fail-pos' returns nil.
14988 (isearch-message): Remove duplicate code and call
14989 `isearch-fail-pos' with arg `t'.
14990
a0bf2bcd
CY
149912011-09-14 Chong Yidong <cyd@stupidchicken.com>
14992
17bb0a2d
CY
14993 * replace.el (occur-mode-goto-occurrence): Don't force using other
14994 window (Bug#9499).
14995
a0bf2bcd
CY
14996 * dired-aux.el (dired-do-chmod): Don't provide initial input.
14997
f678e0b6
MR
149982011-09-14 Martin Rudalics <rudalics@gmx.at>
14999
15000 * window.el (display-buffer-window): Remove.
15001 (display-buffer-record-window): Use help-setup window parameter
15002 instead of variable display-buffer-window.
15003 (display-buffer-function, special-display-buffer-names)
15004 (special-display-function): Mention help-setup parameter instead
15005 of display-buffer-window in doc-string.
d3c30954
SM
15006 * help.el (help-window-setup): New argument help-window.
15007 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
15008 Reword some messages.
15009 (with-help-window): Pass window used for displaying the buffer
15010 to help-window-setup. Don't set display-buffer-window.
15011
8e39b2e8
GM
150122011-09-13 Glenn Morris <rgm@gnu.org>
15013
15014 * emacs-lisp/debug.el (debugger-make-xrefs):
15015 Preserve point. (Bug#9462)
15016
85e9c04b
CY
150172011-09-13 Chong Yidong <cyd@stupidchicken.com>
15018
15019 * window.el (window-deletable-p): Use next-frame.
15020
1b36ed6a
MR
150212011-09-13 Martin Rudalics <rudalics@gmx.at>
15022
15023 * window.el (window-auto-delete): Remove.
15024 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 15025 dedication and previous buffers.
1b36ed6a
MR
15026 (switch-to-prev-buffer): Don't delete window.
15027 (delete-windows-on): Delete a window's frame if and only if the
15028 window is dedicated.
15029 (replace-buffer-in-windows): Delete buffer's window or frame if
15030 and only if window is dedicated.
15031 (quit-window): Handle quit-restore as before last change.
4d61f28d 15032 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 15033
ef8ef9fb
CY
150342011-09-13 Chong Yidong <cyd@stupidchicken.com>
15035
15036 * window.el (window-deletable-p): Never delete the last frame on a
15037 given terminal.
15038
b2cba41e
GM
150392011-09-13 Glenn Morris <rgm@gnu.org>
15040
15041 * help.el (describe-key-briefly): Copy previous standard-output change.
15042
51553db6 150432011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
15044
15045 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15046
b7556719
GM
150472011-09-13 Glenn Morris <rgm@gnu.org>
15048
15049 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15050 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15051
64b51947
CY
150522011-09-12 Chong Yidong <cyd@stupidchicken.com>
15053
15054 * dired-aux.el (dired-mark-read-string): Don't return default
15055 value on empty input (Bug#9361).
15056 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15057 Omit initial minibuffer contents.
15058 (dired-do-chmod): Signal an error on empty input.
15059 (dired-mark-read-string): Don't return default on empty input.
15060
15061 * files.el (file-modes-symbolic-to-number): Doc fix.
15062
393a301e
SM
150632011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * international/mule-cmds.el (ucs-completions): Remove.
15066 (read-char-by-name): Use complete-with-action instead; add metadata.
15067
fa5660f9
CY
150682011-09-11 Chong Yidong <cyd@stupidchicken.com>
15069
15070 * window.el (display-buffer--action-function-custom-type)
15071 (display-buffer--action-custom-type): New vars.
15072 (display-buffer-alist, display-buffer-default-action)
15073 (display-buffer-overriding-action): Add defcustom types.
15074
4a592f66
CY
15075 * frame.el (delete-other-frames): Doc fix (Bug#276).
15076
73d56dbd
LMI
150772011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15078
15079 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15080
37ac18a3
CY
150812011-09-11 Chong Yidong <cyd@stupidchicken.com>
15082
15083 Change modes that used same-window-* vars to use switch-to-buffer.
15084
15085 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15086 Use switch-to-buffer.
15087
15088 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
15089 (customize-browse, custom-buffer-create-other-window):
15090 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
15091
15092 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15093 (Info-prev, Info-up, Info-speedbar-goto-node)
15094 (info-display-manual): Use switch-to-buffer.
15095 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15096
15097 * mail/sendmail.el (mail): Use switch-to-buffer.
15098 (mail-recover): Use switch-to-buffer-other-window.
15099
15100 * cmuscheme.el (run-scheme, switch-to-scheme):
15101 * ielm.el (ielm):
15102 * shell.el (shell):
15103 * net/rlogin.el (rlogin):
15104 * net/telnet.el (telnet, rsh):
15105 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15106
10195bd6
AS
151072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15108
15109 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15110
b322f63a
LMI
151112011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15112
39d7fed6
LMI
15113 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15114 so don't mention it (bug#9301).
ba5a81f1 15115 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 15116
ee0e9f11
LMI
15117 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15118 match `x', `w32' and `ns', like the manual says (bug#9029).
15119
0b1c89c1 15120 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
15121 (process-kill-buffer-query-function): Mention the buffer name in
15122 the query.
0b1c89c1 15123
77549ea8
LMI
15124 * image-mode.el (image-next-line): The line parameter is mandatory
15125 (bug#9258).
15126
803ef892
LMI
15127 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15128 which can be useful (bug#9301).
15129
12980837
LMI
15130 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15131
91054f8f
LMI
15132 * subr.el (match-string): Mention that the current buffer should
15133 be the same as the search was done in (bug#9282).
15134
b322f63a
LMI
15135 * facemenu.el: Disable the remove-* commands if the mark isn't
15136 active (bug#9162).
15137
3199b96f
CY
151382011-09-10 Chong Yidong <cyd@stupidchicken.com>
15139
15140 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15141 of display-buffer.
15142 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15143
15144 * replace.el (occur-mode-goto-occurrence)
15145 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15146 and display-buffer.
15147
15148 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15149 display-buffer.
15150
15151 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15152 special-display and same-window variables.
15153 (mail-other-window): Use switch-to-buffer-other-window.
15154 (mail-other-frame): USe switch-to-buffer-other-frame.
15155
393a301e
SM
15156 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15157 Use display-buffer-other-frame.
3199b96f
CY
15158 (gdb-display-gdb-buffer): Use pop-to-buffer.
15159
15160 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15161
15162 * progmodes/python.el: Don't set same-window-buffer-names.
15163
15164 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15165
15166 * window.el (display-buffer-alist): Add *Python*.
15167
8319e0bf
CY
151682011-09-10 Chong Yidong <cyd@stupidchicken.com>
15169
15170 * window.el (display-buffer-alist): Add entry for buffers
15171 previously handled same-window-*.
15172 (display-buffer-alist, display-buffer-default-action)
15173 (display-buffer-overriding-action): Mark as risky.
15174 (display-buffer-alist): Document action function changes.
15175 (display-buffer--same-window-action)
15176 (display-buffer--other-frame-action): New variables.
15177 (switch-to-buffer, display-buffer-other-frame): Use them.
15178 (display-buffer): Rename reuse-frame entry to reusable-frames.
15179 (display-buffer-reuse-selected-window): Function deleted.
15180 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15181 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15182 (display-buffer-special): New function.
15183 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15184 display-buffer-reuse-or-pop-window. Split off special-display
15185 part into display-buffer-special.
15186 (display-buffer-use-some-window): Don't perform any special
15187 pop-up-frames handling.
15188 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 15189 (display-buffer--maybe-same-window): Rename from
0d3ff375 15190 display-buffer-maybe-same-window.
8319e0bf 15191
919a69aa
CY
15192 * info.el: Don't set same-window-regexps.
15193 (info-setup): New function.
15194 (info-other-window, info): Call it.
15195
15196 * cus-edit.el: Don't set same-window-regexps.
15197 (customize-group): New argument.
15198 (customize-group-other-window): Use it.
15199 (customize-face, customize-face-other-window): Likewise.
15200 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15201
8319e0bf
CY
15202 * net/rlogin.el:
15203 * net/telnet.el:
15204 * progmodes/gud.el: Don't set same-window-regexps.
15205
15206 * cmuscheme.el:
15207 * ielm.el:
15208 * shell.el:
15209 * mail/sendmail.el:
15210 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15211
25173000
JL
152122011-09-10 Juri Linkov <juri@jurta.org>
15213
15214 * isearch.el (isearch-edit-string): Remove obsolete mention of
15215 `C-w' (`isearch-yank-word-or-char') from docstring.
15216 (isearch-query-replace): Fix typo in docstring (bug#9466).
15217
056e44ef
JL
152182011-09-10 Juri Linkov <juri@jurta.org>
15219
15220 * paren.el (show-paren-function): Don't show escaped parens.
15221 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15222
c3760c17
EZ
152232011-09-10 Eli Zaretskii <eliz@gnu.org>
15224
15225 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15226 (mm-default-file-encoding): Remove autoload forms, they are
15227 replaced with autoload cookies in mml.el and mm-encode.el.
15228 (mail-add-attachment): New command.
15229 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15230 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15231 the doc string.
15232 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15233
fece895e
RT
152342011-09-10 Reuben Thomas <rrt@sc3d.org>
15235
e69df516
SM
15236 * simple.el (count-words-region): Use buffer if there's no region
15237 (bug#9429).
fece895e 15238
5e68ce4a
JL
152392011-09-09 Juri Linkov <juri@jurta.org>
15240
15241 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15242 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15243 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15244
0a6b9622
AM
152452011-09-09 Alan Mackenzie <acm@muc.de>
15246
15247 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15248 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15249
14a29deb
EZ
152502011-09-09 Eli Zaretskii <eliz@gnu.org>
15251
15252 Fix for Savannah bug#9392.
15253 * simple.el (mail-encode-mml): New defvar.
15254
15255 * mail/rmail.el (mail-encode-mml): Add a defvar.
15256 (rmail-enable-mime-composing): Default to t.
15257 (rmail-forward): Use MIME method of forwarding only if both
15258 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15259 Set mail-encode-mml non-nil if the MIME method was used.
15260
15261 * mail/sendmail.el (mml-to-mime): Add autoload form.
15262 (mail-encode-mml): Add a defvar.
15263 (mail-mode): Make mail-encode-mml buffer-local and initialize it
15264 to nil.
15265 (mail-send): If mail-encode-mml is non-nil, run the outgoing
15266 message through mml-to-mime, and reset mail-encode-mml to nil.
15267
28c45130
GM
152682011-09-09 Glenn Morris <rgm@gnu.org>
15269
15270 * woman.el (woman-if-body): When processing an .el block,
15271 do not delete the next .el block as well. (Bug#9447)
69f4b618 15272 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 15273
9b1c252e
MR
152742011-09-08 Martin Rudalics <rudalics@gmx.at>
15275
15276 * window.el (window-deletable-p): Make sure window is live before
15277 invoking window-prev-buffers.
15278
567457e3
LL
152792011-09-08 Leo Liu <sdl.web@gmail.com>
15280
15281 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
15282
97f05794
JL
152832011-09-08 Juri Linkov <juri@jurta.org>
15284
15285 * progmodes/compile.el (compilation-environment): Make it
15286 a defcustom (bug#8340).
15287
8b0874b5
MR
152882011-09-08 Martin Rudalics <rudalics@gmx.at>
15289
15290 * window.el (frame-auto-delete): Rename to window-auto-delete.
15291 Make it control auto-deletion of windows and/or frames.
15292 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 15293 for deleting window/frame. (Bug#9419)
8b0874b5
MR
15294 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15295 Rewrite handling of case when window/frame can be deleted.
15296 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 15297 argument t. (Bug#9456)
8b0874b5 15298
4feb6e73
CY
152992011-09-07 Chong Yidong <cyd@stupidchicken.com>
15300
15301 * help-mode.el (help-mode): Restore autoload.
15302
91ab9c13
JL
153032011-09-07 Juri Linkov <juri@jurta.org>
15304
15305 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15306 `compilation-environment'. Set buffer-local
15307 `compilation-environment' to `thisenv' later after (funcall mode).
15308 (Bug#8340)
15309
15310 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
15311 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15312 instead of replacing its value. (Bug#8340)
15313
0527e251
JL
153142011-09-07 Juri Linkov <juri@jurta.org>
15315
15316 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15317 based on text properties put by `grep-filter' instead of matching
15318 escape sequences.
15319 (grep-mode): Set buffer-local `compilation-error-screen-columns'
15320 to the value of `grep-error-screen-columns' (bug#9438).
15321
249f792c
JL
153222011-09-07 Juri Linkov <juri@jurta.org>
15323
15324 * simple.el (next-error-highlight, next-error-highlight-no-select):
15325 Doc fix (bug#9432).
15326
ff7271b9
OT
153272011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
15328
15329 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15330 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
15331
183fc730
LL
153322011-09-07 Leo Liu <sdl.web@gmail.com>
15333
15334 * net/rcirc.el (rcirc-mode): Conditionally initialize
15335 rcirc-input-ring.
15336
77694924
SM
153372011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * emacs-lisp/find-func.el (find-function-C-source): Only set
15340 find-function-C-source-directory after checking that we found a source
15341 file there (bug#9440).
15342
d809b8eb
AM
153432011-09-06 Alan Mackenzie <acm@muc.de>
15344
15345 * isearch.el (isearch-other-meta-char): Wherever a key list is
15346 unread, "unread" the prefix arg, too. This fixes bug #8901.
15347
453de99f
OG
153482011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
15349
15350 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15351
90439906
JL
153522011-09-05 Juri Linkov <juri@jurta.org>
15353
15354 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15355
f62bd846
JL
153562011-09-05 Juri Linkov <juri@jurta.org>
15357
15358 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15359 keeping point where processing of grep matches begins, and
15360 continue to delete remaining escape sequences from the same point.
15361 (grep-filter): Make leading zero optional in "0?1;31m" because
15362 git-grep emits "\033[1;31m" escape sequences unlike expected
15363 "\033[01;31m" as GNU Grep does (bug#9408).
15364 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15365
045820ec
JL
153662011-09-05 Juri Linkov <juri@jurta.org>
15367
15368 * subr.el (y-or-n-p): Capitalize "yes".
15369
f5e29b9b
MA
153702011-09-04 Michael Albinus <michael.albinus@gmx.de>
15371
15372 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
15373 `tramp-cache-unload-hook' where appropriate.
15374 (tramp-methods): Rename `tramp-remote-sh' to
15375 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
15376 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15377
15378 * net/tramp-sh.el (top): Don't require 'shell.
15379 (tramp-methods): Add `tramp-remote-shell' and
15380 `tramp-remote-shell-args' entries.
15381 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15382 (tramp-sh-handle-shell-command): Remove.
15383 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15384 Use `tramp-remote-shell'.
15385
2784c434
CY
153862011-09-03 Chong Yidong <cyd@stupidchicken.com>
15387
393a301e 15388 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
15389 (sendmail-query-once): Save directly to send-mail-function.
15390 Update message-send-mail-function too.
15391
15392 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15393
464cdf56
CS
153942011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15395
15396 * progmodes/python.el (python-mode-map): Use correct function to
15397 start python interpreter from menu-bar (as reported by Geert
15398 Kloosterman).
15399 (inferior-python-mode-map): Fix typo.
393a301e 15400 (python-shell-map): Remove.
464cdf56 15401
d37e5c87
DD
154022011-09-03 Deniz Dogan <deniz@dogan.se>
15403
15404 * net/rcirc.el (rcirc-print): Simplify code for
15405 rcirc-scroll-show-maximum-output. There is no need to walk
15406 through all windows to find the right one.
15407
f3ada0ee
CS
154082011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
15409
15410 * help.el (help-return-method): Doc fix.
15411
1f3c99ca
MR
154122011-09-03 Martin Rudalics <rudalics@gmx.at>
15413
15414 * window.el (window-deletable-p): Don't return a non-nil value
15415 when there's a buffer that was shown in the window before.
15416 (Bug#9419)
393a301e
SM
15417 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15418 Set window's previous buffers to nil.
1f3c99ca 15419
a3cf097f
EZ
154202011-09-03 Eli Zaretskii <eliz@gnu.org>
15421
15422 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15423 newline before and after the tag line, so it doesn't interfere
15424 with determining the paragraph direction of bidirectional text.
15425
3d03de90
LL
154262011-09-03 Leo Liu <sdl.web@gmail.com>
15427
15428 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
15429
c3313451
CY
154302011-09-02 Chong Yidong <cyd@stupidchicken.com>
15431
393a301e 15432 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
15433 (pop-to-buffer): Change interactive spec. Pass second argument
15434 directly to display-buffer.
15435 (display-buffer): Fix interactive spec. Use functionp to
15436 distinguish between a function and a list of functions.
15437
15438 * abbrev.el (edit-abbrevs):
15439 * arc-mode.el (archive-extract):
15440 * autoinsert.el (auto-insert):
15441 * bookmark.el (bookmark-bmenu-list):
15442 * files.el (find-file):
15443 * view.el (view-buffer):
15444 * progmodes/compile.el (compilation-goto-locus):
15445 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15446
89894cd8
CY
154472011-09-02 Chong Yidong <cyd@stupidchicken.com>
15448
15449 * window.el (display-buffer-alist): Doc fix.
15450 (display-buffer): Add docstring. Don't treat
15451 display-buffer-default specially.
15452 (display-buffer-reuse-selected-window)
15453 (display-buffer-same-window, display-buffer-maybe-same-window)
15454 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15455 (display-buffer-pop-up-window)
15456 (display-buffer-reuse-or-pop-window)
15457 (display-buffer-use-some-window): New functions.
15458 (display-buffer-default-action): Use them.
393a301e 15459 (display-buffer-default): Delete.
89894cd8
CY
15460 (pop-to-buffer-1): Fix choice of actions.
15461
ae0bc9fb
SM
154622011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
15463
15464 * minibuffer.el (completion--insert-strings): Don't get confused by
15465 completion entries that end with an LF char.
15466
e9d90883
EZ
154672011-09-01 Eli Zaretskii <eliz@gnu.org>
15468
15469 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15470
437014c8
CY
154712011-09-01 Chong Yidong <cyd@stupidchicken.com>
15472
15473 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
15474 (display-buffer-same-window, display-buffer-other-window):
15475 New functions.
437014c8
CY
15476 (pop-to-buffer-1): New function. Use the above.
15477 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 15478 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
15479
15480 * view.el (view-buffer-other-window, view-buffer-other-frame):
15481 Just use pop-to-buffer.
15482
a5e063d5
TV
154832011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15484
15485 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
15486
793d32bb
WH
154872011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
15488
15489 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
15490
d65e4c15
RS
154912011-08-31 Richard Stallman <rms@gnu.org>
15492
15493 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15494 of the separation of rmail-view-buffer from rmail-buffer.
15495 If you say no to "replace original", the decrypt is in the
15496 view buffer. If you say yes, the decrypt goes into the
15497 rmail buffer also.
15498
f818cd2a
MR
154992011-08-31 Martin Rudalics <rudalics@gmx.at>
15500
15501 * window.el (display-buffer-window): Rewrite doc-string.
15502 (display-buffer-record-window): New function.
15503 (display-buffer-macro-specifiers)
15504 (display-buffer-even-window-sizes, display-buffer-set-height)
15505 (display-buffer-set-width, display-buffer-in-window)
15506 (display-buffer-reuse-window, display-buffer-split-specifiers)
15507 (display-buffer-side-specifiers, display-buffer-split-window-1)
15508 (display-buffer-split-window, display-buffer-split-atom-window)
15509 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15510 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15511 (display-buffer-other-window-means-other-frame)
15512 (display-buffer-normalize-special)
15513 (display-buffer-normalize-default)
15514 (display-buffer-normalize-argument)
15515 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15516 (display-buffer-normalize-specifiers, display-buffer-frame)
15517 (display-buffer-same-window, display-buffer-same-frame)
15518 (display-buffer-other-window)
15519 (display-buffer-same-frame-other-window)
15520 (display-buffer-other-frame, pop-to-buffer-same-window)
15521 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15522 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15523 (switch-to-buffer-same-frame)
15524 (switch-to-buffer-other-window-same-frame)
15525 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15526 (display-buffer-alist-set-1, display-buffer-alist-set-2)
15527 (display-buffer-alist-set): Remove.
15528 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
15529 (special-display-regexps, special-display-function):
15530 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
15531 parameter.
15532 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15533 (special-display-frame-alist, special-display-popup-frame)
15534 (same-window-buffer-names, same-window-regexps, same-window-p)
15535 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15536 (split-window-preferred-function, split-height-threshold)
15537 (split-width-threshold, window-splittable-p)
15538 (split-window-sensibly, window--try-to-split-window)
15539 (window--frame-usable-p, even-window-heights)
15540 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
15541 (window--display-buffer-2, display-buffer-other-frame):
15542 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
15543 (display-buffer-default, display-buffer-assq-regexp): New functions.
15544 (display-buffer-alist): Rewrite doc-string.
15545 (display-buffer-default-action)
15546 (display-buffer-overriding-action): New variables.
15547 (display-buffer, switch-to-buffer): Rewrite.
15548 (pop-to-buffer): Restore Emacs 23 behavior but use
15549 window-normalize-buffer-to-display.
15550 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15551 Restore Emacs 23 behavior but use
15552 window-normalize-buffer-to-switch-to.
15553 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
15554 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15555 Rewrite using Emacs 23 options.
f818cd2a 15556
5bc3b51d
MA
155572011-08-31 Michael Albinus <michael.albinus@gmx.de>
15558
15559 * net/tramp.el (tramp-root-regexp): Remove.
15560 (tramp-completion-file-name-regexp-unified)
15561 (tramp-completion-file-name-regexp-separate)
15562 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 15563 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
15564 (tramp-drop-volume-letter): Simplify definition.
15565 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 15566
b1a4f8e1
SM
155672011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
15568
15569 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15570 (bug#9356).
15571
5664fa7b
RT
155722011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
15573
b1a4f8e1 15574 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 15575
9a45d6c3
JL
155762011-08-29 Juri Linkov <juri@jurta.org>
15577
15578 * isearch.el (isearch-done): Don't display message "Mark saved"
15579 when arg `edit' is non-nil to prevent its flicker in the echo area.
15580
fb87e0fb
CY
155812011-08-28 Chong Yidong <cyd@stupidchicken.com>
15582
15583 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15584 obsolete packages for deletion.
15585
09ac1c2a
CS
155862011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
15587
15588 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 15589 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
15590 view-mode from help-mode.
15591 (help-xref-override-view-map): Remove.
15592 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15593 view-mode is not used anymore.
15594
7a1ff57f
CY
155952011-08-28 Chong Yidong <cyd@stupidchicken.com>
15596
15597 * server.el (server-port): Doc fix.
15598
b9696605
CY
15599 * cus-theme.el (custom-theme-choose-mode): Inherit from
15600 special-mode (Bug#9124).
15601 (custom-theme-choose-mode-map): Add special-mode to parent.
15602
ef8cdf8c
AM
156032011-08-28 Alan Mackenzie <acm@muc.de>
15604
15605 * progmodes/cc-fonts.el
15606 (c-make-font-lock-BO-decl-search-function): New function.
15607 (c-basic-matchers-after - "Fontify the clauses after various
15608 keywords"): Extract the three keyword lists for the 3 erroneous
15609 constructs from the list of four, and use the new function above
15610 in place of an old one.
15611
27de4e20
DD
156122011-08-28 Deniz Dogan <deniz@dogan.se>
15613
15614 * net/rcirc.el (rcirc-insert-prev-input)
15615 (rcirc-insert-next-input): Remove unused argument.
15616
356a3681
SM
156172011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
15618
15619 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15620
3fc9b218
AM
156212011-08-27 Alan Mackenzie <acm@muc.de>
15622
15623 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15624 handle function pointer parameters properly.
15625
538a061c
MR
156262011-08-27 Martin Rudalics <rudalics@gmx.at>
15627
15628 * window.el (display-buffer-reuse-window): Fix case where
15629 selected window was reused with non-nil OTHER-WINDOW argument.
15630 (Bug#9381)
15631
35b1c40c
DD
156322011-08-27 Deniz Dogan <deniz@dogan.se>
15633
15634 * net/rcirc.el (rcirc-check-auth-status): Adding support for
15635 oftc's NickServ messages.
15636
2f6a3e79
GM
156372011-08-27 Glenn Morris <rgm@gnu.org>
15638
15639 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
15640
7254299e
CY
156412011-08-26 Chong Yidong <cyd@stupidchicken.com>
15642
15643 * emacs-lisp/package.el (package-install): Call package-initialize
15644 if called interactively.
15645
f8ccf167
LL
156462011-08-26 Leo Liu <sdl.web@gmail.com>
15647
15648 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
15649
3e8cd5ce
JL
156502011-08-25 Juri Linkov <juri@jurta.org>
15651
15652 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15653 `search-whitespace-regexp' (bug#9364).
15654
93eb7113
JL
156552011-08-25 Juri Linkov <juri@jurta.org>
15656
15657 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15658 `regexp-search-ring' to their global values to protect from
15659 updating by `read-from-minibuffer' (bug#9185).
15660
f65d1611
JL
156612011-08-25 Juri Linkov <juri@jurta.org>
15662
15663 * textmodes/ispell.el (ispell-command-loop): Add newline
15664 at the end of the "Use option `i'..." line.
15665
f1cf7a31
JL
156662011-08-25 Juri Linkov <juri@jurta.org>
15667
15668 * battery.el (display-battery-mode): If `battery-status-function'
15669 or `battery-mode-line-format' is nil, display the message and set
15670 `display-battery-mode' to nil (bug#9363).
15671
0c95fcf7
EZ
156722011-08-25 Eli Zaretskii <eliz@gnu.org>
15673
15674 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15675 bidi-string-mark-left-to-right; they are unnecessary now.
15676
a2ebe600
DD
156772011-08-25 Deniz Dogan <deniz@dogan.se>
15678
15679 * net/quickurl.el: Documentation typo fixes.
15680
e4ed06f1
CY
156812011-08-25 Chong Yidong <cyd@stupidchicken.com>
15682
15683 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15684
e5f1c99e
GM
156852011-08-25 Glenn Morris <rgm@gnu.org>
15686
b2948976
GM
15687 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15688
e5f1c99e
GM
15689 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15690 (smtpmail-via-smtp): Handle nil response from smtp.
15691
f22f4808
JL
156922011-08-24 Juri Linkov <juri@jurta.org>
15693
15694 * proced.el (proced-marked): Inherit from `error' instead of
15695 `font-lock-warning-face'.
15696
15697 * ibuffer.el (ibuffer-marked-face): Change default face from
15698 `font-lock-warning-face' to `warning'.
15699 (ibuffer-deletion-face): Change default face from
15700 `font-lock-type-face' to `error'.
15701
15702 * battery.el (battery-update): Use the face `error' instead of
15703 `font-lock-warning-face' (bug#6117).
15704
6a93965e
JL
157052011-08-24 Juri Linkov <juri@jurta.org>
15706
15707 * faces.el (success): Change face color from "Green3" to
15708 "ForestGreen" on light background (bug#9353).
15709
1ed43b09
CY
157102011-08-24 Chong Yidong <cyd@stupidchicken.com>
15711
5664fa7b
RT
15712 * window.el (quit-window): Rename from quit-restore-window.
15713 Use same arglist as old quit-window.
1ed43b09
CY
15714 (frame-auto-delete): Doc fix.
15715
15716 * view.el (view-mode-exit): Use quit-window.
15717
11dcdbb2
JL
157182011-08-24 Juri Linkov <juri@jurta.org>
15719
15720 * isearch.el (isearch-ring-adjust1): Start visiting previous
15721 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15722 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15723 for empty search string (when the last search string is reused
15724 automatically) to adjust the isearch ring to the last element and
15725 prepare the correct index for further M-p commands (bug#9185).
15726
de62b4df
KH
157272011-08-24 Kenichi Handa <handa@m17n.org>
15728
15729 * international/ucs-normalize.el: If decomposition property of
15730 CHAR is the default one (i.e. a list of CHAR itself), treat it as
15731 nil.
15732 (nfd, nfkd): Likewise.
15733
963b492b
SM
157342011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
15735
15736 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15737 from process filters aren't reliably transmitted to the surrounding
15738 accept-process-output.
15739 (mpc-proc-check): New function.
15740 (mpc-proc-sync): Use it (bug#8293)
15741
93b6b5e1
SM
157422011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15743
15744 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15745 Add compatibility functions (bug#9313).
15746
bca633fb
EZ
157472011-08-23 Eli Zaretskii <eliz@gnu.org>
15748
b177498a
EZ
15749 * cus-start.el (all): Add entry for bidi-paragraph-direction.
15750
6df6ae42 15751 * international/uni-bidi.el: Regenerate.
bca633fb 15752
0902a04e
KH
157532011-08-23 Kenichi Handa <handa@m17n.org>
15754
15755 * international/charprop.el:
15756 * international/uni-bidi.el:
15757 * international/uni-category.el:
15758 * international/uni-combining.el:
15759 * international/uni-comment.el:
15760 * international/uni-decimal.el:
15761 * international/uni-decomposition.el:
15762 * international/uni-digit.el:
15763 * international/uni-lowercase.el:
15764 * international/uni-mirrored.el:
15765 * international/uni-name.el:
15766 * international/uni-numeric.el:
15767 * international/uni-old-name.el:
15768 * international/uni-titlecase.el:
15769 * international/uni-uppercase.el: Regenerate.
15770
3bbf23bc
MR
157712011-08-23 Martin Rudalics <rudalics@gmx.at>
15772
15773 * help.el (help-window-setup): Fix message displayed when other
15774 window is reused. (Bug#9341)
15775
b3fd59bd
SM
157762011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
15777
1802e444
SM
15778 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15779 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15780
b3fd59bd
SM
15781 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15782 Mark obsolete.
15783 * shell.el (shell-parse-pcomplete-arguments): New function.
15784 (shell-completion-vars): Use it instead (bug#9160).
15785
4eb61348
SM
157862011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
15787
867cab74
SM
15788 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15789 strings and comments (bug#9333).
15790
4eb61348
SM
15791 * emacs-lisp/debug.el (debug-arglist): New function.
15792 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
15793 (debug-on-entry-1): Handle interpreted closures (bug#9120).
15794
262a1439
JL
157952011-08-22 Juri Linkov <juri@jurta.org>
15796
56ee679c
JL
15797 * progmodes/compile.el (compilation-mode-font-lock-keywords):
15798 Revert regexp that highlights output switches to its old
15799 pre-2010-10-28 value and remove one `?' from it (bug#9319).
15800
262a1439
JL
15801 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15802 to check for empty output (bug#9226).
15803
f13f86fb
CY
158042011-08-22 Chong Yidong <cyd@stupidchicken.com>
15805
15806 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15807 symbol-constituent as the default, as that stops font-lock from
15808 working properly (Bug#8843).
15809
c65c9622
LMI
158102011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15811
15812 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15813 `coding-system-for-*' around the process open call to avoid
15814 auth-source side effects.
e7f2c178 15815 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
15816 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15817 probe hangs.
c65c9622 15818
23a8a5ab
CY
158192011-08-21 Chong Yidong <cyd@stupidchicken.com>
15820
ff98b2dd
CY
15821 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15822
23a8a5ab
CY
15823 * emacs-lisp/find-func.el (find-function-noselect): New arg
15824 lisp-only.
15825
15826 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15827 signal an error for built-in functions (Bug#6664).
15828
f5e3c598
LMI
158292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15830
15831 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15832 (smtpmail-try-auth-methods): Use it.
15833
a3f2468a
CY
158342011-08-21 Chong Yidong <cyd@stupidchicken.com>
15835
2c34e8da
CY
15836 * font-lock.el (font-lock-fontify-region)
15837 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15838 (font-lock-default-unfontify-buffer)
15839 (font-lock-default-fontify-region)
15840 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15841
b3fd59bd
SM
15842 * progmodes/compile.el (compilation-error-properties):
15843 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
15844 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15845 `ant' regexp.
ee31aabc 15846
a3f2468a
CY
15847 * net/browse-url.el (browse-url-firefox): Don't call
15848 browse-url-firefox-sentinel unless using -remote (Bug#9328).
15849
8e999f70
GM
158502011-08-20 Glenn Morris <rgm@gnu.org>
15851
c21a496a
GM
15852 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15853
59ee0542
GM
15854 * tutorial.el (tutorial--default-keys): Update some default bindings.
15855
8e999f70
GM
15856 * files.el (hack-local-variables): Fully ignore case for "mode:".
15857
e3715033
AM
158582011-08-20 Alan Mackenzie <acm@muc.de>
15859
15860 Resolve invalid use of a regexp in regexp-opt.
15861
4d61f28d
JB
15862 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15863 detection for a java annotation.
e3715033 15864
4d61f28d 15865 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
15866 detection for a java annotation.
15867
4d61f28d
JB
15868 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15869 handling for java.
e3715033
AM
15870 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15871
04ed2e9c
CY
158722011-08-20 Chong Yidong <cyd@stupidchicken.com>
15873
15874 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15875 (Bug#9274).
15876
826cee64
AM
158772011-08-20 Alan Mackenzie <acm@muc.de>
15878
58179cce 15879 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
15880 such a construct. Mainly for when jit-lock etc. starts a chunk
15881 here.
15882
58179cce 15883 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 15884 variable.
58179cce 15885 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
15886 c-make-font-lock-search-function.
15887 (c-make-font-lock-search-function): Use the above function.
15888 (c-make-font-lock-context-search-function): New function.
15889 (c-cpp-matchers): Enhance the preprocessor expression case with
15890 the above function
15891 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15892 which takes an expression.
15893
15894 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15895
13009bd8
MR
158962011-08-20 Martin Rudalics <rudalics@gmx.at>
15897
15898 * window.el (display-buffer-reuse-window)
15899 (display-buffer-pop-up-window): Don't reuse or split a side
15900 window.
15901
9234ff7f
GM
159022011-08-19 Glenn Morris <rgm@gnu.org>
15903
15904 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 15905 Downcase "Mode:". (Bug#9331)
9234ff7f 15906
f635daa1
CY
159072011-08-18 Chong Yidong <cyd@stupidchicken.com>
15908
15909 * international/characters.el: Add L and R categories.
15910
15911 * subr.el (bidi-string-mark-left-to-right): Rename from
15912 string-mark-left-to-right. Use category search.
15913
15914 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15915
bc987f8b
JL
159162011-08-18 Juri Linkov <juri@jurta.org>
15917
15918 * faces.el (error, warning, success): New faces with definitions
15919 copied from old default values of `font-lock-warning-face',
15920 `compilation-warning', `compilation-info' (bug#6117).
15921
15922 * font-lock.el (font-lock-warning-face): Inherit from `error'.
15923
15924 * progmodes/compile.el (compilation-error): Inherit from `error'.
15925 (compilation-warning): Inherit from `warning'.
15926 (compilation-info): Inherit from `success'.
15927
15928 * dired.el (dired-marked): Inherit from `warning'.
15929 (dired-flagged): Inherit from `error'.
15930
57173b96
LMI
159312011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15932
3e79eb87
LMI
15933 * mail/smtpmail.el (auth-source): Require to avoid problems with
15934 binding variables (bug#9298). Also clean up some unused
15935 autoloads.
15936
b3fd59bd
SM
15937 * net/network-stream.el (network-stream-open-starttls):
15938 Support using starttls.el without using gnutls-cli.
57173b96 15939
02b404de
JL
159402011-08-17 Juri Linkov <juri@jurta.org>
15941
15942 * progmodes/grep.el (rgrep): Handle the case when
15943 `grep-find-command' is a cons cell (bug#9278).
15944
8c9177f2
MR
159452011-08-17 Martin Rudalics <rudalics@gmx.at>
15946
15947 * window.el (display-buffer-pop-up-frame): Run frame creation
15948 function with BUFFER current (as special-display-popup-frame
15949 does). Reported by Drew Adams.
15950
3644a0ab
DU
159512011-08-17 Daiki Ueno <ueno@unixuser.org>
15952
15953 * epa-mail.el: Simplify GnuPG group expansion using
15954 epg-expand-group.
15955 (epa-mail-group-alist, epa-mail-group-modtime)
15956 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
15957 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
15958 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
15959 Remove.
15960
5e617bc2 159612011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
15962
15963 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
15964
9c4aeabf
AM
159652011-08-16 Alan Mackenzie <acm@muc.de>
15966
15967 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
15968 Correct, to avoid the inside of macros.
15969
3a99bf64
RS
159702011-08-16 Richard Stallman <rms@gnu.org>
15971
04963aa8
RS
15972 * epa-mail.el: Handle GnuPG group definitions.
15973 (epa-mail-group-alist, epa-mail-group-modtime)
15974 (epa-mail-gnupg-conf-file): New variables.
15975 (epa-mail-parse-groups, epa-mail-sync-groups)
15976 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
15977 (epa-mail-expand-recipients): New functions.
15978 (epa-mail-encrypt): Call epa-mail-expand-recipients.
15979
177549d0
RS
15980 * mail/rmail.el (rmail-epa-decrypt): New command.
15981
fe38beef
RS
15982 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
15983 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
15984 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
15985 (epa-decrypt-armor-in-region): Make error message clearer.
15986
934eacb9
SM
159872011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
15988
15989 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
15990 and "a2b" to "ab" for `prefix'.
15991
d024fb4e
CY
159922011-08-14 Chong Yidong <cyd@stupidchicken.com>
15993
15994 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
15995 filter groups.
de148fee
CY
15996 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
15997 Fourquet (Bug#8804).
d024fb4e 15998
62f1ca49
JB
159992011-08-12 Juanma Barranquero <lekktu@gmail.com>
16000
16001 * startup.el (argi): Declare as global variable (bug#9275).
16002
9ccaaa4b
CY
160032011-08-12 Chong Yidong <cyd@stupidchicken.com>
16004
16005 * subr.el (string-mark-left-to-right): Search the entire string
16006 for RTL script, not just the terminating character. Doc fix.
16007
a3dae87a
SM
160082011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16009
6cd18349
SM
16010 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16011 New function.
16012 (js--regexp-literal, js-syntax-propertize-function): Remove.
16013 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16014 (js-mode-map): Don't rebind electric keys.
16015 (js-insert-and-indent): Remove.
16016 (js-mode): Setup electric-layout and electric-indent instead.
16017
a3dae87a
SM
16018 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16019
9d5cb631
DU
160202011-08-12 Daiki Ueno <ueno@unixuser.org>
16021
16022 * epa.el (epa-progress-callback-function): Fix the logic of
16023 displaying progress.
16024 * epa-file.el (epa-file-insert-file-contents): Make progress
16025 display more user-friendly.
16026 (epa-file-write-region): Ditto.
16027
3e26a4a2
CY
160282011-08-10 Chong Yidong <cyd@stupidchicken.com>
16029
16030 * subr.el (string-mark-left-to-right): New function.
16031
16032 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16033 Use string-mark-left-to-right.
16034 (list-buffers-noselect): Caller changed.
16035
a3dae87a
SM
16036 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16037 Use string-mark-left-to-right.
3e26a4a2
CY
16038 (tabulated-list-print): Recenter after moving point.
16039
ac8cf6e6
JL
160402011-08-10 Juri Linkov <juri@jurta.org>
16041
16042 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16043 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16044 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16045
8d96c9a4
CY
160462011-08-09 Chong Yidong <cyd@stupidchicken.com>
16047
16048 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16049 (Bug#7554).
16050
7be1c708 160512011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
16052
16053 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16054 character. (Bug#6594)
16055
37e11a63
CY
160562011-08-08 Chong Yidong <cyd@stupidchicken.com>
16057
839dde57
CY
16058 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16059 (image-dired--with-db-file): New macro.
16060 (image-dired-write-tags, image-dired-remove-tag)
16061 (image-dired-create-gallery-lists, image-dired-write-comments)
16062 (image-dired-get-comment, image-dired-mark-tagged-files)
16063 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16064 (image-dired-gallery-generate): Use insert-file-contents.
16065
37e11a63
CY
16066 * time.el (display-time-world-list, display-time-world-display):
16067 * time-stamp.el (time-stamp-string):
16068 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16069 set-time-zone-rule (Bug#7337).
16070
0b4946c4
DU
160712011-08-08 Daiki Ueno <ueno@unixuser.org>
16072
16073 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16074 (epg-error-to-string, epg-errors-to-string): New function.
16075 (epg-wait-for-completion): Reverse errors list.
16076 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16077 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16078 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16079 (epg-sign-keys, epg-generate-key-from-file)
16080 (epg-generate-key-from-string): Format errors by using
16081 epg-errors-to-string (bug#9255).
16082 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16083
75bfc667
JL
160842011-08-07 Juri Linkov <juri@jurta.org>
16085
16086 * faces.el (list-faces-display): Remove extra angle bracket
16087 from `help-mode-map'.
16088
16089 * info.el (Info-history-toc-nodes): Doc fix.
16090
16091 * longlines.el (longlines-mode): Doc fix.
16092
673e08bb
SM
160932011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16094
4640dd88
SM
16095 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16096 of statements and in a few more cases (bug#9183).
16097
673e08bb
SM
16098 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16099 New functions.
16100 (cl-transform-lambda): Use them (bug#9239).
16101
89b3f019
MR
161022011-08-05 Martin Rudalics <rudalics@gmx.at>
16103
16104 * window.el (display-buffer-same-window)
16105 (display-buffer-same-frame, display-buffer-other-window)
16106 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16107 (pop-to-buffer-other-window)
16108 (pop-to-buffer-same-frame-other-window)
16109 (pop-to-buffer-other-frame): Make them defuns.
16110 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16111
640c8776
SM
161122011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16113
16114 * subr.el (make-composed-keymap): Move from C. Change calling
16115 convention, and improve docstring to bring attention to a subtle point.
16116 * minibuffer.el (completing-read-default): Adjust accordingly.
16117
63648a95
MA
161182011-08-03 Michael Albinus <michael.albinus@gmx.de>
16119
16120 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16121 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16122
16123 * net/trampver.el: Update release number.
16124
b796c9b7
SM
161252011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16126
16127 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16128 "in" (bug#9190).
16129
2239d7d5
LMI
161302011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16131
e07dd7c3
LMI
16132 * mail/sendmail.el (sendmail-query-once): Restore the current
16133 buffer after querying (bug#9074).
16134
0e6a2bd7
LMI
16135 * dired.el (dired-flagged): Use different faces for marked and
16136 flagged files (bug#6117).
16137
ce887515
LMI
16138 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16139 (bug#4433).
16140
92f2affc
LMI
16141 * ido.el (ido-mode): Switch off the message if called
16142 non-interactively.
16143
57d5aff0
LMI
16144 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16145 before 587, since it appears that that's more likely to work for
16146 more people.
16147
98cd6c18 16148 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 16149 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
16150 exist.
16151
b96dec83
LMI
16152 * info.el: Remove the `Info-beginning-of-buffer' function
16153 (bug#8325).
16154
b796c9b7
SM
16155 * net/network-stream.el (network-stream-open-starttls):
16156 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 16157
d90e2ea0
MR
161582011-08-01 Martin Rudalics <rudalics@gmx.at>
16159
16160 * window.el (display-buffer-in-window): Don't set dedicated status
16161 of window here (Bug#9215).
16162 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16163 (display-buffer-pop-up-side-window)
b796c9b7 16164 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 16165
cca09170
SM
161662011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16167
16168 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16169 before binding generated-autoload-file.
16170
027b979c
DD
161712011-08-01 Deniz Dogan <deniz@dogan.se>
16172
16173 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16174
3c7ee4f3
MA
161752011-07-30 Michael Albinus <michael.albinus@gmx.de>
16176
16177 Sync with Tramp 2.2.2.
16178
16179 * net/trampver.el: Update release number.
16180
2cc8e51a
JL
161812011-07-30 Juri Linkov <juri@jurta.org>
16182
16183 * dired-aux.el (dired-touch-initial): Remove function.
16184 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16185 current time, and `default' to the last modification time of the
16186 current marked file (bug#6887).
16187
a514d856
JM
161882011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16189
16190 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 16191 numeric argument to read-number (bug#9163).
a514d856 16192
8a7eddd7
MA
161932011-07-27 Michael Albinus <michael.albinus@gmx.de>
16194
16195 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16196 connection process, it could be nil.
16197
1ddd96f5
LL
161982011-07-27 Leo Liu <sdl.web@gmail.com>
16199
16200 Simplify url handling in rcirc-mode.
16201
16202 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16203 (rcirc-browse-url-at-mouse): Remove.
16204 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16205
b248a85d
AM
162062011-07-26 Alan Mackenzie <acm@muc.de>
16207
16208 Fontify bitfield declarations properly.
16209
16210 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16211 (c-symbol-chars): Now exported as a lang variable.
16212 (c-not-primitive-type-keywords): New lang variable.
16213
16214 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16215 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 16216 parsed as a bitfield declaration.
b248a85d 16217
b796c9b7
SM
16218 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16219 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
16220 (c-punctuation-in): New function.
16221 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16222 declarations properly.
16223
68575ab0
UJ
162242011-07-26 Ulf Jasper <ulf.jasper@web.de>
16225
16226 * calendar/icalendar.el (icalendar--all-events): Take care of
16227 multiple vcalendars in a single file.
b796c9b7 16228 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 16229
0f0a88b9
DD
162302011-07-25 Deniz Dogan <deniz@dogan.se>
16231
16232 * image.el (insert-image): Clarifying docstring.
16233
0b3f36df
MA
162342011-07-24 Michael Albinus <michael.albinus@gmx.de>
16235
16236 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16237 `tramp-send-command-and-check' if there is no error.
16238 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16239
a9901f61
AM
162402011-07-22 Alan Mackenzie <acm@muc.de>
16241
16242 Prevent cc-langs.elc being loaded at run time.
16243
16244 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16245 cc-langs.
16246
4d61f28d 16247 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
16248 "(require 'cc-langs)". Quote a form so it will evaluate at
16249 (cc-mode's) compilation time.
16250
11d074b2
MA
162512011-07-22 Michael Albinus <michael.albinus@gmx.de>
16252
16253 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16254 loading. (Bug#9114)
16255
938b94c8
MR
162562011-07-21 Martin Rudalics <rudalics@gmx.at>
16257
16258 * window.el (display-buffer-pop-up-window)
16259 (display-buffer-pop-up-side-window)
16260 (display-buffer-in-side-window): Call display-buffer-set-height
16261 and display-buffer-set-width after setting the new window's
b796c9b7 16262 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 16263
bfa4f190
SS
162642011-07-20 Sam Steingold <sds@gnu.org>
16265
16266 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16267 (etags-tags-included-tables): Call `convert-standard-filename' on
16268 the file names contained in TAGS so that windows Emacs can handle
16269 TAGS files created by cygwin ctags.
16270
8ca42262
LMI
162712011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
16273 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16274 which apparently didn't work.
16275
5db2afd2 162762011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 16277
5db2afd2
RW
16278 * proced.el (proced-send-signal): For *Marked Processes* buffer
16279 put point at beginning of buffer.
16280
92e15d10
SB
162812011-07-19 Stephen Berman <stephen.berman@gmx.net>
16282
16283 * proced.el (proced-format): Make header lines align with the text
16284 (bug#1779).
16285
1bfd59e5
LMI
162862011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
16287
16288 * view.el (view-buffer): Allow running in `special' modes if we're
16289 visiting a file (bug#8615).
16290
f5aae37c
MR
162912011-07-19 Martin Rudalics <rudalics@gmx.at>
16292
16293 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
16294 (display-buffer-alist-set-1, display-buffer-alist-set-2):
16295 New functions.
f5aae37c
MR
16296 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16297 more accurately.
16298
bf2c1571
AM
162992011-07-18 Alan Mackenzie <acm@muc.de>
16300
16301 Fontify declarators properly when, e.g., a jit-lock chunk begins
16302 inside a declaration.
16303
16304 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16305
b796c9b7
SM
16306 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16307 New function.
bf2c1571
AM
16308 (c-complex-decl-matchers): Insert reference to
16309 c-font-lock-enclosing-decls.
16310
16311 * progmodes/cc-engine.el (c-backward-single-comment):
16312 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16313 to nil around calls to (forward-comment -1).
16314
4e190b80
LMI
163152011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16316
12dc863d
LMI
16317 * image.el (put-image): Doc typo fix.
16318
a762e966
LMI
16319 * progmodes/etags.el (tags-search): Doc typo fix.
16320
4e190b80
LMI
16321 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16322 password if we get errors 550 to 554.
16323
f019fb21
LMI
163242011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
16325
b796c9b7 16326 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 16327
81746738
LMI
16328 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16329 indentation character (bug#6380).
16330
3ee3a1b5
LMI
16331 * files.el (buffer-offer-save): Made permanently local (bug#6241).
16332
c82f64de
LMI
16333 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16334 to clarify what the problem is (bug#4291).
16335
f019fb21
LMI
16336 * simple.el (current-kill): Clarify what
16337 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
16338 (auto-fill-mode): Document `auto-fill-function' in relation to
16339 `auto-fill-mode' (bug#2470).
f019fb21 16340
0794775d
LM
163412011-07-16 Lawrence Mitchell <wence@gmx.li>
16342
16343 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16344 method if slot is read-only (bug#9035).
16345
be39b8cc
MR
163462011-07-16 Martin Rudalics <rudalics@gmx.at>
16347
b796c9b7 16348 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 16349 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
16350 selected before, see discussion of (Bug#8615), (Bug#6954).
16351 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 16352
6ccf7859
GM
163532011-07-15 Glenn Morris <rgm@gnu.org>
16354
16355 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 16356 Respect help-form.
6ccf7859 16357
87e86684
LM
163582011-07-09 Lawrence Mitchell <wence@gmx.li>
16359
16360 * net/gnutls.el (gnutls-min-prime-bits): New variable.
16361 (gnutls-negotiate): Use it.
16362
d6066239
LMI
163632011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16364
b796c9b7
SM
16365 * net/gnutls.el (gnutls-negotiate):
16366 Upcase `gnutls-algorithm-priority'.
d6066239 16367
bd23ebc0
GM
163682011-07-15 Glenn Morris <rgm@gnu.org>
16369
c65bca65
GM
16370 * jka-compr.el (jka-compr-verbose): Move from here...
16371 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
16372 Add missing :version tag.
16373 * info.el: No need to require jka-compr when compiling.
bd23ebc0 16374
478615cc
LMI
163752011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
16376
7b41decb
LMI
16377 * net/gnutls.el (gnutls-algorithm-priority): New variable.
16378 (gnutls-negotiate): Use it.
16379
dbc44fcd
LMI
16380 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16381
06789f97
LMI
16382 * info.el (Info-beginning-of-buffer): New command.
16383 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16384 announcing `b' as the key (bug#8325).
ab896c37 16385 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 16386
c39da690
LMI
16387 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16388
3aa5f34b
LMI
16389 * international/mule-cmds.el
16390 (describe-specified-language-support): Make the error message
16391 clearer (bug#8905).
16392
4bf0979f
LMI
16393 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16394
478615cc
LMI
16395 * isearch.el (isearch-barrier): Add a doc string, since it's
16396 mentioned in a function doc string (bug#8678).
16397
75c68aa1
MR
163982011-07-15 Martin Rudalics <rudalics@gmx.at>
16399
16400 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16401 buffer argument (Bug#9083) and self-identifying label argument.
16402
a7c33da2
GM
164032011-07-15 Glenn Morris <rgm@gnu.org>
16404
16405 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
16406
2f5c6024
LMI
164072011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16408
16409 * man.el (Man-fontify-manpage): Fix message when formatting the
16410 man page (bug#7929).
16411
0bb23927 164122011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
16413
16414 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16415 argument LRM; if non-nil, append an invisible LRM character to the
16416 buffer name.
16417 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16418 last argument non-nil, when formatting buffer names.
0bb23927
EZ
16419 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16420 paragraph direction.
cce4b0a7 16421
621ef9ab
LMI
164222011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
16423
d1583c48
LMI
16424 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16425 the man page name (bug#7929).
16426
6a57fb5f
LMI
16427 * image.el (put-image): Mention the `put-image' overlay property
16428 (bug#7834).
16429
d7956b14
LMI
16430 * scroll-bar.el (set-scroll-bar-mode): Mention that
16431 `scroll-bar-mode' lists the values (bug#7772).
16432
5b2d4a66
LMI
16433 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16434 command (bug#7729).
16435
7509a874
LMI
16436 * rect.el (apply-on-rectangle): Return the point after the last
16437 operation.
16438 (string-rectangle): Go to the point after the last operation
16439 (bug#7522).
16440
4fe74b19
LMI
16441 * printing.el (pr-toggle-region): Clarify the documentation
16442 slightly (bug#7493).
16443
b796c9b7
SM
16444 * time.el (display-time-update):
16445 Allow `display-time-mail-function' to return nil (bug#7158).
16446 Fix suggested by Detlev Zundel.
ab283561 16447
fc233c9d
LMI
16448 * vc/diff.el (diff): Clarify the order the file names are read
16449 (bug#7111).
16450
43f5740b
LMI
16451 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16452 the doc string (bug#7015).
16453
f2182a76
LMI
16454 * font-lock.el (font-lock-maximum-decoration): Mention what
16455 numeric levels mean (bug#6935).
16456
621ef9ab
LMI
16457 * startup.el (initial-buffer-choice): Don't mention the `none'
16458 selection, which is against policy.
16459
adc47434
MR
164602011-07-14 Martin Rudalics <rudalics@gmx.at>
16461
b796c9b7
SM
16462 * window.el (display-buffer-normalize-special):
16463 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 16464
7e5bfb8f
EZ
164652011-07-14 Eli Zaretskii <eliz@gnu.org>
16466
16467 * subr.el (version<, version<=, version=): Mention "-CVS" and
16468 "-12345" alpha version numbers.
16469
27fa387a
CY
164702011-07-14 Chong Yidong <cyd@stupidchicken.com>
16471
16472 * bindings.el: Add advertised binding for set-mark-command
16473 (Bug#5772).
16474
8bdfa064
CY
164752011-07-14 Chong Yidong <cyd@stupidchicken.com>
16476
16477 * bindings.el (mode-line-other-buffer):
16478 * bookmark.el (bookmark-bmenu-2-window):
16479 * bs.el (bs-cycle-next, bs-cycle-previous):
16480 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16481 switch-to-buffer.
16482
16483 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 16484 Delete.
8bdfa064 16485
5eba16a3
JB
164862011-07-14 Juanma Barranquero <lekktu@gmail.com>
16487
16488 * follow.el (follow-debug-message, follow-redisplay):
16489 * jka-cmpr-hook.el (with-auto-compression-mode):
16490 Fix typos in docstrings.
16491
15853710
LMI
164922011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16493
a28e4607
LMI
16494 * subr.el (with-silent-modifications): Clarify somewhat what the
16495 macro inhibits (bug#6525).
16496
15853710
LMI
16497 * simple.el (eval-expression): Note what it does if called
16498 interactively (bug#6495).
16499
bee0fcef
CY
165002011-07-13 Chong Yidong <cyd@stupidchicken.com>
16501
b796c9b7
SM
16502 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16503 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
16504
16505 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16506 Remove switch-to-buffer.
16507
58274504
LMI
165082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16509
bd2fcc8d
LMI
16510 * files.el (make-directory): Clarify that an error will be raised
16511 if there's an error (bug#6397).
16512
0f04b32c
LMI
16513 * startup.el (initial-buffer-choice): Add `none' as a choice
16514 (bug#6234).
16515
465c5fc8
LMI
16516 * subr.el (add-hook): Clarify section about buffer-local hooks
16517 (bug#6218).
16518
58274504
LMI
16519 * dired.el (dired-flagged): Clarify doc string (bug#6117).
16520
bead9a43
JB
165212011-07-13 Juanma Barranquero <lekktu@gmail.com>
16522
16523 * tabify.el (untabify): Preserve the current column so that point
16524 doesn't move (bug#6032).
16525
3af98a7b
LMI
165262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16527
b796c9b7
SM
16528 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16529 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 16530
6240145a
GM
165312011-07-13 Glenn Morris <rgm@gnu.org>
16532
16533 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
16534 (dired-insert-directory): Give a message the first time
16535 if ls is found not to support --dired.
16536
1d8c2ccc
LMI
165372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16538
16539 * simple.el (toggle-truncate-lines): Clarify what is toggled
16540 (bug#5580). Text by Drew Adams.
16541
5fc4038e
CY
165422011-07-13 Chong Yidong <cyd@stupidchicken.com>
16543
16544 * simple.el (blink-matching-open): Make the error message from the
16545 last change less verbose.
16546
bf6012e5
DN
165472011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
16548
16549 * font-lock.el (font-lock-comment-face): Use the high contrast
16550 "yellow" color for font-lock-comment-face on low color terminals
16551 using a dark background color (bug#4221).
16552
343c3b5a
LMI
165532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
7e9505c5
LMI
16555 * dired.el (dired-insert-set-properties): Make the doc string
16556 reflect what it does now (bug#5325).
16557
c26fdcf5
LMI
16558 * simple.el (blink-matching-open): Say that we were unable to find
16559 the match within the limit, if we're limited (bug#5122).
16560
bb388cc5
LMI
16561 * international/mule-cmds.el (prefer-coding-system): Add an
16562 example (bug#4869).
16563
343c3b5a
LMI
16564 * progmodes/etags.el (tags-search): Document `file-list-form'
16565 (bug#4731).
16566
2a517d45
LM
165672011-07-13 Lawrence Mitchell <wence@gmx.li>
16568
16569 * net/browse-url.el (browse-url-default-browser)
16570 (browse-url-browser-function): Make the default browser choice a
16571 bit more logical (bug#4300). Also clean up the doc string.
16572
b6c78ef2
JB
165732011-07-13 Juanma Barranquero <lekktu@gmail.com>
16574
16575 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16576 binary endings (bug#4440).
16577
1c4dd947
LMI
165782011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
16579
a2014063
LMI
16580 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16581 which can be pretty annoying (bug#8971).
16582
9c9c2d88
LMI
16583 * jka-compr.el (jka-compr-verbose): New variable, and use
16584 throughout (bug#8971).
16585
1c4dd947
LMI
16586 * info.el (Info-find-file): Fall back on the installation
16587 directory if we can't find the info node anywhere else.
16588
a1c9f41b
SO
165892011-07-13 Sergei Organov <osv@javad.com> (tiny change)
16590
16591 * vc/vc.el (vc-revert-file):
16592 Don't set file time-stamp in the past. (Bug#5181)
16593
536f3d36
LMI
165942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16595
7152b011
LMI
16596 * files.el (after-find-file): Give a better error message when
16597 trying to find a symlink that points to a file that doesn't exist
16598 (bug#4398).
16599
536f3d36
LMI
16600 * progmodes/cc-vars.el: Remove (probably) misleading comment
16601 (bug#4396).
16602
460c0fba
JB
166032011-07-12 Johan Bockgård <bojohan@gnu.org>
16604
16605 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16606
7a6bda45
CY
166072011-07-12 Chong Yidong <cyd@stupidchicken.com>
16608
16609 * mouse-sel.el: Hack restoring functionality, while keeping
16610 compatibility with 2010-07-03 changes to mouse selection.
16611 (mouse-sel-primary-overlay): New var.
16612 (mouse-sel-selection-alist): Use it.
16613 (mouse-sel-mode): Doc fix; remove points that are default features
16614 of mouse.el.
16615
c79598ef
JB
166162011-07-12 Johan Bockgård <bojohan@gnu.org>
16617
16618 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16619 Fix previous fix (bug#2490).
16620
ff8be6ef
RW
166212011-07-12 Roland Winkler <winkler@gnu.org>
16622
b796c9b7
SM
16623 * textmodes/bibtex.el (bibtex-initialize):
16624 Use pop-to-buffer-same-window.
ff8be6ef
RW
16625 (bibtex-search-entries): Fix interactive call.
16626
296ba3ee
LMI
166272011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16628
f5242a02 16629 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
16630 Fontise bytecomp Error lines more correctly (bug#2490).
16631 Fix suggested by Johan Bockgård.
f5242a02 16632
296ba3ee
LMI
16633 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16634
16635 * dired-x.el (dired-guess-default): Use `delete-dups'.
16636
f69fd0d2
CY
166372011-07-12 Chong Yidong <cyd@stupidchicken.com>
16638
16639 * dired.el (dired-mark-prompt):
16640 * dired-aux.el (dired-read-shell-command): Doc fix.
16641
eab5dc07
LMI
166422011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16643
b796c9b7
SM
16644 * mail/sendmail.el (sendmail-query-once):
16645 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
16646 emacs -Q.
16647
16648 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16649
eab5dc07
LMI
16650 * cus-edit.el (custom-file): Take an optional no-error variable.
16651 (customize-save-variable): Set the variable, and give a warning if
16652 running under "emacs -q".
16653
a1e65d42
JB
166542011-07-11 Juanma Barranquero <lekktu@gmail.com>
16655
16656 * loadhist.el (unload-feature-special-hooks):
16657 Add `auto-coding-functions', `fill-nobreak-predicate' and
16658 `find-directory-functions' (bug#5327).
16659
1d52da10
LMI
166602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16661
be958f1d
LMI
16662 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16663
5bedb26c
LMI
16664 * cus-edit.el (custom-guess-name-alist): -alist variables should
16665 use the `alist' type (bug#3120). Suggested by Drew Adams.
16666
1d52da10
LMI
16667 * printing.el: Add documentation to all the `pr-toggle-' commands.
16668
cd394be1 166692011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
16670
16671 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16672 backends where it makes sense (bug#2623).
16673
dcc88d8a
LMI
166742011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
16675
c3de9feb
LMI
16676 * dired-x.el (dired-guess-default): Remove duplicate shell command
16677 entries (bug#2028).
8a93078b 16678 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 16679 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 16680
dcc88d8a
LMI
16681 * subr.el (remove-duplicates): New conveniency function.
16682
505e3645
LMI
166832011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
16684
16685 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16686 (bug#1526).
16687
166882011-07-10 Martin Rudalics <rudalics@gmx.at>
16689
16690 * window.el (display-buffer-normalize-default): Don't invert
16691 meaning of even-window-heights. Reported by Eli Zaretskii
16692 <eliz@gnu.org>.
16693
455e4fa1
BR
166942011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
16695
16696 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16697
8e0bc3e9
CY
166982011-07-10 Chong Yidong <cyd@stupidchicken.com>
16699
16700 * window.el (display-buffer): Fix arguments to
16701 display-buffer-reuse-window in last change.
16702
fa7c3228
CY
16703 * faces.el (link): Use a less saturated blue on light backgrounds.
16704
16705 * startup.el (fancy-startup-text, fancy-about-text)
16706 (fancy-startup-tail): Use font-lock faces, for background safety.
16707
c0a7f300
BN
167082011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
16709
b796c9b7
SM
16710 * emulation/viper-cmd.el (viper-change-state-to-vi):
16711 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 16712
4dc2a129
MR
167132011-07-09 Martin Rudalics <rudalics@gmx.at>
16714
16715 * window.el (display-buffer-default-specifiers): Remove.
16716 (display-buffer-macro-specifiers): Remove default specifiers.
16717 (display-buffer-alist): Default to nil.
b796c9b7 16718 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
16719 (display-buffer-pop-up-window): Allow splitting internal
16720 windows. Check whether a live window was created.
16721 (display-buffer-other-window-means-other-frame)
16722 (display-buffer-normalize-arguments): Rename to
16723 display-buffer-normalize-argument and rewrite. Set the
16724 other-window specifier.
16725 (display-buffer-normalize-special): New function.
16726 (display-buffer-normalize-options): Rename to
16727 display-buffer-normalize-default and rewrite.
16728 (display-buffer-normalize-options-inhibit): Remove.
16729 (display-buffer-normalize-specifiers): Rewrite.
16730 (display-buffer): Process other-window specifier and call
16731 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
16732 more faithfully.
b796c9b7 16733 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 16734 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
16735 (display-buffer-in-window, display-buffer-alist-set):
16736 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
16737 <tassilo@member.fsf.org>.
16738
2d43b8c9
LL
167392011-07-09 Leo Liu <sdl.web@gmail.com>
16740
16741 * register.el (insert-register): Restore accidental change on
16742 2011-06-26. (Bug#9028)
16743
7f9b7c53
GM
167442011-07-09 Glenn Morris <rgm@gnu.org>
16745
16746 * subr.el (remq): Handle the empty list. (Bug#9024)
16747
f042cfd8
AS
167482011-07-08 Andreas Schwab <schwab@linux-m68k.org>
16749
16750 * mail/sendmail.el (send-mail-function): No longer delay custom
16751 initialization.
16752 * custom.el (custom-initialize-delay): Doc fix.
16753
856b2f11
SM
167542011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16755
16756 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16757
afae1d68
MA
167582011-07-08 Michael Albinus <michael.albinus@gmx.de>
16759
16760 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16761 human-friendly prompt.
16762
0757af94
SM
167632011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
16764
16765 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16766 provided by a particular plugin.
16767
d760b731
LMI
167682011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
16769
16770 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16771 save customizations (with "emacs -Q"), just set the variable
16772 instead of erroring out.
16773
16774 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16775
cd79ce90
JL
167762011-07-08 Juri Linkov <juri@jurta.org>
16777
16778 * arc-mode.el (archive-zip-expunge, archive-zip-update)
16779 (archive-zip-update-case): Use 7z if found by `executable-find'.
16780 The order of searching the available programs is the same as in
16781 `archive-zip-extract' (bug#8968).
16782
14cc04aa
CY
167832011-07-07 Chong Yidong <cyd@stupidchicken.com>
16784
16785 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16786 (menu-bar-options-menu): Tweak descriptions.
16787
0a1848ec
LMI
167882011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16789
16790 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16791 menu items into verb phrases (bug#1421). Also refill to fit under
16792 80 columns.
16793
f5bd0689
CY
167942011-07-07 Chong Yidong <cyd@stupidchicken.com>
16795
538e85c6
CY
16796 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16797 (Info-read-node-name): Doc fix (Bug#1084).
16798
f5bd0689
CY
16799 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16800 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16801 (end-of-sexp, beginning-of-sexp)
16802 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16803 (forward-symbol, forward-same-syntax, word-at-point)
16804 (sentence-at-point): Doc fix (Bug#1144).
16805
56ec5115
LMI
168062011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16807
f3f8e37f
LMI
16808 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16809 should cover it (bug#1281).
16810
0757af94 16811 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 16812
e9fce1ac 16813 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
16814 negotiation fails, then possibly try again with a non-encrypted
16815 connection (bug#9017).
16816
56ec5115
LMI
16817 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16818 be used.
16819
c2f9aec8
RS
168202011-07-07 Richard Stallman <rms@gnu.org>
16821
16822 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16823 property, and handle its changed format.
16824 Look for the correct line number.
16825 Use file's line contents (but not past first =) to find
16826 correct line in message.
16827
ef7b981d 168282011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
16829
16830 * international/characters.el (build-unicode-category-table):
16831 Delete it.
0757af94 16832 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 16833
0757af94 16834 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
16835 to src/chartab.c.
16836 (get-char-code-property): Call unicode-property-table-internal to
16837 load a file. Call get-unicode-property-internal where necessary.
16838 (put-char-code-property): Call unicode-property-table-internal to
16839 load a file. Call put-unicode-property-internal where necessary.
16840 put-unicode-property-internal where necessary.
0757af94
SM
16841 (char-code-property-description):
16842 Call unicode-property-table-internal to load a file.
c805dec0
KH
16843
16844 * international/charprop.el:
16845 * international/uni-bidi.el:
16846 * international/uni-category.el:
16847 * international/uni-combining.el:
16848 * international/uni-comment.el:
16849 * international/uni-decimal.el:
16850 * international/uni-decomposition.el:
16851 * international/uni-digit.el:
16852 * international/uni-lowercase.el:
16853 * international/uni-mirrored.el:
16854 * international/uni-name.el:
16855 * international/uni-numeric.el:
16856 * international/uni-old-name.el:
16857 * international/uni-titlecase.el:
16858 * international/uni-uppercase.el: Regenerate.
16859
16860 * loadup.el: Load international/charprop.el before
16861 international/characters.
16862
e14b388a
CY
168632011-07-07 Chong Yidong <cyd@stupidchicken.com>
16864
16865 * window.el (next-buffer, previous-buffer): Signal an error if
16866 called from a minibuffer window.
16867
16868 * bindings.el: Revert 2011-07-04 change.
16869
354cf0ba
RS
168702011-07-06 Richard Stallman <rms@gnu.org>
16871
16872 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16873 (rmail-mime-insert-bulk, rmail-mime-insert-text):
16874 Treat markers like ints.
16875 (rmail-mime-entity): Doc fix.
16876
a48868a7
LMI
168772011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16878
4906cd3d
LMI
16879 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16880 defcustom again for backwards compatibility.
16881
e0457abe
LMI
16882 * simple.el (shell-command-on-region): Fill.
16883
d67f7e1f
LMI
16884 * dired-aux.el (dired-kill-line): Add a doc string.
16885
fe204702
LMI
16886 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16887 to "\\sw\\|\\s_" (bug#358).
16888
a48868a7
LMI
16889 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16890 (dired-unmark-backward): Ditto.
16891 (dired-flag-backup-files): Ditto.
16892
16893 * dired-x.el (dired-mark-sexp): Ditto.
16894
aa8a705c
RS
168952011-07-06 Richard Stallman <rms@gnu.org>
16896
16897 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16898 (rmail-mime-entity): New arg TRUNCATED.
16899 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16900 New functions.
16901 (rmail-mime-save): Warn if entity is truncated.
16902 (rmail-mime-toggle-hidden): Likewise, for showing.
16903 (rmail-mime-process-multipart): Record when an entity is truncated.
16904
a9a936b9
RS
16905 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16906 if ENTITY is a string.
16907
1f2b92cb
LMI
169082011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
16909
f4f73198 16910 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
16911 of faces when `M-C-x'-ing their definitions (bug#8378).
16912 Also clean up the code slightly.
f4f73198 16913
12b16734 16914 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 16915 because that makes the colors go away.
12b16734 16916
f0691d22
LMI
16917 * mail/sendmail.el (send-mail-function): Change the default to
16918 `sendmail-query-once'.
9e87df06 16919 (sendmail-query-once): Add an autoload cookie.
f0691d22 16920
1f2b92cb
LMI
16921 * net/network-stream.el (network-stream-open-starttls): Try using
16922 a plain connection even if the server offered STARTTLS, and we
16923 kinda wanted to use it, if Emacs doesn't have any STARTTLS
16924 capability. This should make smtpmail.el work in slightly more
16925 configurations.
16926
1cdd2a1b
MA
169272011-07-06 Michael Albinus <michael.albinus@gmx.de>
16928
16929 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16930 New defun.
16931 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16932
fbcc67e2
MM
169332011-07-06 Michael R. Mauger <mmaug@yahoo.com>
16934
16935 * progmodes/sql.el: Version 3.0
0757af94 16936 (sql-product-alist): Add product :completion-object,
fbcc67e2 16937 :completion-column, and :statement attributes.
0757af94 16938 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 16939 (sql-mode-syntax-table): Mark all punctuation.
0757af94 16940 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
16941 ansi keywords.
16942 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 16943 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
16944 (sql-oracle-show-reserved-words): New function for development.
16945 (sql-product-font-lock): Simplify for source code buffers.
16946 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
16947 New functions.
16948 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
16949 (sql-mode-map): Add statement movement functions.
16950 (sql-ansi-statement-starters, sql-oracle-statement-starters):
16951 New variable.
fbcc67e2
MM
16952 (sql-statement-regexp, sql-beginning-of-statement)
16953 (sql-end-of-statement, sql-signum): New functions.
0757af94 16954 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
16955 (sql-show-sqli-buffer): Bug fix.
16956 (sql-interactive-mode): Store connection data as buffer local.
0757af94 16957 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
16958 with sql-interactive-mode.
16959 (sql-save-connection): Save buffer local settings.
0757af94 16960 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
16961 (sql-product-interactive): Bug fix.
16962 (sql-preoutput-hold): New variable.
16963 (sql-interactive-remove-continuation-prompt): Bug fixes.
16964 (sql-debug-redirect): New variable.
16965 (sql-str-literal): New function.
16966 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 16967 Redesign.
fbcc67e2
MM
16968 (sql-oracle-save-settings, sql-oracle-restore-settings)
16969 (sql-oracle-list-all, sql-oracle-list-table): New functions.
16970 (sql-completion-object, sql-completion-column)
16971 (sql-completion-sqlbuf): New variables.
16972 (sql-build-completions-1, sql-build-completions)
16973 (sql-try-completion): New functions.
16974 (sql-read-table-name): Use them.
16975 (sql-contains-names): New buffer local variable.
16976 (sql-list-all, sql-list-table): Use it.
16977 (sql-oracle-completion-types): New variable.
16978 (sql-oracle-completion-object, sql-sqlite-completion-object)
16979 (sql-postgres-completion-object): New functions.
16980
d4eaeab1
GM
169812011-07-06 Glenn Morris <rgm@gnu.org>
16982
16983 * window.el (pop-to-buffer): Doc fix.
16984
322b7dab 169852011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
16986
16987 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
16988
322b7dab 169892011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 16990
322b7dab 16991 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 16992
322b7dab 16993 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 16994
605dd5bf
CY
169952011-07-05 Chong Yidong <cyd@stupidchicken.com>
16996
16997 * button.el (button): Inherit from link face. Suggested by Dan
16998 Nicolaescu.
16999
7dbfa719
SM
170002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17001
3db614b0
SM
17002 * progmodes/gdb-mi.el: Fit in 80 columns.
17003 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17004 switch-to-buffer.
17005
7dbfa719
SM
17006 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17007 if imenu is simply not configured (bug#8941).
17008
919d884a
KM
170092011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17010
17011 * allout.el (allout-post-undo-hook): New allout outline-change
17012 event hook to signal undo activity.
17013 (allout-post-command-business): Run allout-post-undo-hook if an
17014 undo just occurred.
7dbfa719
SM
17015 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17016 * allout-widgets.el (allout-widgets-after-undo-function):
17017 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
17018 in the vicinity of an undo.
17019 (allout-widgets-mode): Include allout-widgets-after-undo-function
17020 on the new allout-post-undo-hook.
17021
450a0f09
SM
170222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17023
17024 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17025 Let define-derived-mode define it.
17026 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17027 cycles of abbrev-table inheritance (bug#8998).
17028
2de69e00
RW
170292011-07-05 Roland Winkler <winkler@gnu.org>
17030
17031 * textmodes/bibtex.el: Add support for biblatex.
17032 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17033 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17034 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17035 (bibtex-entry-alist, bibtex-field-alist): New variables.
17036 (bibtex-entry-field-alist): Obsolete alias for
17037 bibtex-BibTeX-entry-alist.
17038 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17039 (bibtex-set-dialect): New command.
17040 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
17041 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17042 Bind via bibtex-set-dialect.
2de69e00
RW
17043 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17044 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17045 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17046 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17047 Define via bibtex-set-dialect.
450a0f09
SM
17048 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17049 Obey bibtex-no-opt-remove-re.
2de69e00
RW
17050 (bibtex-vec-push, bibtex-vec-incr): New functions.
17051 (bibtex-format-entry, bibtex-field-list)
17052 (bibtex-print-help-message, bibtex-validate)
17053 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17054
2dcdbdd9
SM
170552011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17056
17057 * progmodes/compile.el (compilation-goto-locus):
17058 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17059 * bs.el (bs-cycle-next, bs-cycle-previous):
17060 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17061 * bindings.el (mode-line-other-buffer):
17062 * autoinsert.el (auto-insert):
17063 * arc-mode.el (archive-extract):
17064 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17065
b27640fe
JB
170662011-07-05 Juanma Barranquero <lekktu@gmail.com>
17067
17068 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17069 Fix check of `emacs-lock-unlockable-modes'.
17070 Coerce true values of `emacs-lock--try-unlocking' to t.
17071
53bbe3ad
JB
170722011-07-05 Juanma Barranquero <lekktu@gmail.com>
17073
17074 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17075 * emacs-lock.el: New file.
17076
1d3cdbc7
JD
170772011-07-05 Julien Danjou <julien@danjou.info>
17078
17079 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17080 than `boundp' to check if face is set.
17081
9173deec
JB
170822011-07-05 Juanma Barranquero <lekktu@gmail.com>
17083
17084 * register.el (registerv-make):
17085 * window.el (window-min-height): Fix typos in docstrings.
17086
869795d6
JD
170872011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17088
9173deec 17089 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
17090 Update doc string.
17091
b768cdcd
JB
170922011-07-04 Juanma Barranquero <lekktu@gmail.com>
17093
17094 * server.el (server-execute): Catch quit and call
17095 `server-return-error' to pass the error back to emacsclient and
17096 close the connection (bug#8942).
17097
13aa217b
KM
170982011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17099
17100 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17101 insecure exception for current topic. Also note that auto-saves
17102 are handled differently.
17103
5d3385a0 17104 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
17105 State variables for tracking auto-save inhibition situation.
17106
17107 (allout-write-contents-hook-handler): Rename from
17108 'allout-write-file-hook-handler', and describe how it depends on
17109 write-contents-functions sensitivity to non-nil value to prevent
17110 file write.
17111
17112 (allout-auto-save-hook-handler): Remove. auto-save does not check
17113 this in individual buffers, only in the starting buffer, so this
17114 is not the right way for us to inhibit auto-save in a buffer
17115 according to its condition.
17116
17117 (allout-mode): Use new allout-write-contents-hook-handler, and
17118 only with write-contents-functions. Remove auto-save provisions -
17119 they're implemented elsewhere.
17120
17121 (allout-before-change-handler): If undo is in progress, note that
17122 for attention of allout-post-command-business.
17123
17124 (allout-post-command-business): If the command we're following was
17125 an undo, check for change in the status of encrypted items and
17126 adjust auto-save inhibitions accordingly.
17127
17128 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17129 according to whether there are or aren't any plain-text topics
17130 pending encryption.
17131
2dcdbdd9 17132 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
17133 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17134 if there are plain-text topics pending encryption.
13aa217b
KM
17135
17136 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17137 buffer-saved-size and some allout state to not inhibit auto-saves
17138 if there are no longer any plain-text topics pending encryption.
17139
0757af94
SM
17140 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17141 No longer provide for exemption of the current topic.
13aa217b 17142
ac89b32c
JL
171432011-07-04 Juri Linkov <juri@jurta.org>
17144
17145 Add 7z operations to delete and save changed members (bug#8968).
17146 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17147 New defcustoms.
17148 (archive-7z-write-file-member): New function.
17149 (archive-7z-summarize): Fix the number of dashes in the
17150 listing output.
17151
8fa39615
SM
171522011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17153
17154 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17155 (bug#8958).
17156
2f11b3f1
CY
171572011-07-04 Chong Yidong <cyd@stupidchicken.com>
17158
d66fef2b
CY
17159 * bindings.el: Ignore next-buffer and previous-buffer in
17160 minibuffer-local-map.
17161
2f11b3f1
CY
17162 * font-lock.el (font-lock-builtin-face): Change light background
17163 color to dark slate blue (Bug#6693).
17164
f932a347
WD
171652011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17166
17167 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17168
c8af70e1
SM
171692011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17170
17171 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17173 Add switch-to-buffer.
17174
f158badc
LMI
171752011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17176
17177 * isearch.el (isearch-search-fun-function): Clarify further the
17178 meaning of the function returned.
17179
6d95bd46
MA
171802011-07-04 Michael Albinus <michael.albinus@gmx.de>
17181
17182 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17183
17184 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17185 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17186 Use it.
17187 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17188 `tramp-default-remote-path' does not exist.
17189 (tramp-send-command-and-read): New optional argument NOERROR.
17190 (tramp-open-connection-setup-interactive-shell)
17191 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17192 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17193 (tramp-process-sentinel): Flush also process' connection property.
17194 (tramp-sh-handle-start-file-process): Do not set process
17195 sentinel. It is done now ...
17196 (tramp-maybe-open-connection): ... here. (Bug#8929)
17197
909e6b67
MK
171982011-07-04 MON KEY <monkey@sandpframing.com>
17199
17200 * play/animate.el (animate-string): Doc fixes and allow changing
17201 the buffer name (bug#5417).
17202
172032011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17204
c8af70e1 17205 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 17206
f34755dc
PE
172072011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17208
396cec72
PE
17209 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17210 This is simpler and helps future-proof the code.
17211 (timer-until): Use time-subtract and float-time.
08235028 17212 (timer--time-less-p): Use time-less-p.
f34755dc 17213
56e6cc31
JB
172142011-07-04 Juanma Barranquero <lekktu@gmail.com>
17215
3abb79e5
JB
17216 * type-break.el (timep): Use the value of `float-time' to avoid a
17217 byte-compiler warning.
17218
56e6cc31
JB
17219 * server.el (server-eval-and-print): Return any result, even nil.
17220
7b9430b4
PE
172212011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17222
17223 * type-break.el: Accept time formats that the builtins accept.
17224 (timep, type-break-time-difference): Accept any format that
17225 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17226 This is simpler and helps future-proof the code.
17227 (type-break-time-difference): Round rather than ignoring
17228 subseconds components.
17229
3034e9e7
LMI
172302011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17231
17232 * info.el (Info-apropos-matches): Make non-interactive, since it
17233 doesn't seem to do anything useful as a command (bug#8829).
17234
1485f4c0
CY
172352011-07-03 Chong Yidong <cyd@stupidchicken.com>
17236
17237 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 17238 Move from faces.el.
1485f4c0
CY
17239 (frame-default-terminal-background): New function.
17240
17241 * custom.el (custom-push-theme): Don't record faces in `changed'
17242 theme; this doesn't work correctly for per-frame face settings.
17243 (disable-theme): Use face-set-after-frame-default to reset faces.
17244 (custom--frame-color-default): New function.
17245
9fa3dd45
LMI
172462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17247
c8af70e1 17248 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
17249 (bug#8769).
17250
6cbbc20c
KR
172512011-03-29 Kevin Ryde <user42@zip.com.au>
17252
17253 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17254 `perl-Test2' extend to match possible "fail #N" rep count
17255 (bug#8377).
17256
c7f98048
LMI
172572011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17258
65676592
LMI
17259 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17260 `smtpmail-via-smtp' now returns the error instead of nil.
17261
c7f98048
LMI
17262 * isearch.el (isearch-search-fun-function): Clarify the doc string
17263 (bug#8101).
17264
56e6cc31 172652011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
17266
17267 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17268 unnecessary spaces (bug#8987).
17269
2b216704
LMI
172702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17271
17272 * net/network-stream.el (open-network-stream): Use the
17273 :end-of-capability command thoughout.
17274
172752011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
17276
17277 * net/network-stream.el (open-network-stream): Add the
17278 :end-of-capability command parameter, used by pop3.el.
17279
36adf6ce
LMI
172802011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17281
1ca0da0e
LMI
17282 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17283
fc00f69c
LMI
17284 * fringe.el (fringe-query-style): Remove redundant text " (type ?
17285 for list)" (bug#6475).
17286
28fd8759 17287 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 17288 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
17289 an error (bug#6297).
17290
0dd8b6da
LMI
17291 * man.el (Man-reference-regexp): Allow matching possible
17292 word-wrapped references (bug#6289).
17293
ce1438d6
LMI
17294 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17295 for consistency with the other vc buffers (bug#6197).
17296 (vc-checkin): Ditto.
17297
17298 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17299
36adf6ce
LMI
17300 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17301
e83cc1f7
LMI
173022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17303
8a20ca4c
LMI
17304 * custom.el (defcustom): Clarify that :set is only used in the
17305 Customize user interface (bug#6089).
17306
83319045
LMI
17307 * progmodes/flymake.el (flymake-mode): If the buffer isn't
17308 associated with a file, refuse to run instead of erroring out
17309 (bug#6084).
17310
a8392169
LMI
17311 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17312 the doc string, since it appears that using `fill-column' always
17313 controls the width (bug#7845).
17314
e83cc1f7
LMI
17315 * simple.el (shell-command-on-region): Say where the error output
17316 went if `shell-command-default-error-buffer' is set (bug#6857).
17317
e47ca23b
KM
173182011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
17319
17320 * allout.el (allout-yank-processing): Adjust cursor position for
17321 backwards-deleted space.
17322
17323 (allout-rebullet-heading): Register changes with
17324 allout-exposure-changed-hook, so the modified topic is properly
17325 decorated.
17326
5cf56143
LMI
173272011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17328
08549772
LMI
17329 * minibuffer.el (completion-in-region): Document PREDICATE
17330 (bug#7136).
17331
48e96771
LMI
17332 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17333 of keyword/argument pairs (bug#6904).
17334
c8af70e1
SM
17335 * replace.el (multi-occur):
17336 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 17337
e17d05e2
LMI
173382011-07-02 Drew Adams <drew.adams@oracle.com>
17339
17340 * dired.el (dired-mark-if): Make the message about whether it's
17341 marking or unmarking clearer (bug#8523).
17342
063b0e45
LMI
173432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
17344
17345 * disp-table.el (display-table-print-array): New function.
17346 (describe-display-table): Use it to print the vectors more pretty
17347 (Bug#8859).
17348
28545e04
MR
173492011-07-02 Martin Rudalics <rudalics@gmx.at>
17350
17351 * window.el (window-state-get-1): Don't assign clone numbers.
17352 Add clone-of item to list of window parameters.
17353 (window-state-put-2): Don't process clone numbers.
17354 (display-buffer-alist): Fix doc-string.
17355
3349e122
SM
173562011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
17357
17358 * subr.el (remq): Don't allocate if it's not needed.
17359 (keymap--menu-item-binding, keymap--menu-item-with-binding)
17360 (keymap--merge-bindings): New functions.
17361 (keymap-canonicalize): Use them to refine the canonicalization.
17362 * minibuffer.el (minibuffer-local-completion-map)
17363 (minibuffer-local-must-match-map): Move initialization from C.
17364 (minibuffer-local-filename-completion-map): Move initialization from C;
17365 don't inherit from anything here.
17366 (minibuffer-local-filename-must-match-map): Make obsolete.
17367 (completing-read-default): Use make-composed-keymap to combine
17368 minibuffer-local-filename-completion-map with either
17369 minibuffer-local-must-match-map or
17370 minibuffer-local-filename-completion-map.
17371
d224ac83
GM
173722011-07-01 Glenn Morris <rgm@gnu.org>
17373
3de63bf8
GM
17374 * type-break.el (type-break-time-sum): Use dolist.
17375
d224ac83
GM
17376 * textmodes/flyspell.el (flyspell-word-search-backward):
17377 Replace CL function.
17378
1a1e3f32
SM
173792011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17380
fe3f64d5
SM
17381 * mouse.el (mouse--strip-first-event): New function.
17382 (function-key-map): Use it to map fringe clicks to normal clicks
17383 by default.
17384
eb604e34
SM
17385 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17386 (vc-bzr-revision-completion-table): Add support for annotate and date.
17387
1a1e3f32
SM
17388 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17389 inherit from parent.
17390
5bd35902
LMI
173912011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
17392
ace6c69c 17393 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 17394 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 17395
191e2bed
LMI
17396 * dired.el (dired-mode): Fix up the doc string as suggested by
17397 Drew Adams (bug#8817).
17398
5bd35902
LMI
17399 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17400 cookie, since the manual says that it should be possible to add
17401 this function to `find-file-hook' (bug#8709).
17402
eee8207a
TZ
174032011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17404
17405 * progmodes/cfengine.el: Moved all cfengine3.el functionality
17406 here. Noted Ted Zlatanov as the maintainer.
17407 (cfengine-common-settings, cfengine-common-syntax): New functions
17408 to set up common things between `cfengine-mode' and
17409 `cfengine3-mode'.
17410 (cfengine3-mode): New mode.
17411 (cfengine3-defuns cfengine3-defuns-regex
17412 (cfengine3-class-selector-regex cfengine3-category-regex)
17413 (cfengine3-vartypes cfengine3-font-lock-keywords)
17414 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 17415 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 17416
36b148cf
MA
174172011-07-01 Michael Albinus <michael.albinus@gmx.de>
17418
17419 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17420
17421 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17422
0bf4ba9a
MR
174232011-07-01 Martin Rudalics <rudalics@gmx.at>
17424
17425 * window.el (same-window-buffer-names, same-window-regexps)
17426 (same-window-p, special-display-frame-alist)
17427 (special-display-popup-frame, special-display-function)
17428 (special-display-buffer-names, special-display-regexps)
17429 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17430 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17431 (split-window-preferred-function, split-height-threshold)
17432 (split-width-threshold, even-window-heights)
17433 (display-buffer-mark-dedicated, window-splittable-p)
17434 (split-window-sensibly, window-safely-shrinkable-p):
17435 Un-obsolete.
17436 (display-buffer): Don't spread args with function specifier
17437 because special-display-popup-frame won't like it.
17438
35837f51
PE
174392011-07-01 Paul Eggert <eggert@cs.ucla.edu>
17440
d0672f86
PE
17441 Time-stamp simplifications and fixes.
17442 These improve accuracy slightly, and future-proof the code
17443 against some potential changes to current-time format.
17444
b9444d97
PE
17445 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17446 by using time-since and float-time.
17447
0ef923dc
PE
17448 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17449 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
17450 + NNN microseconds".
17451
2f81380d
PE
17452 * type-break.el (type-break-time-sum): Rewrite using time-add.
17453
845b5c3e
PE
17454 * play/hanoi.el (hanoi-current-time-float): Remove.
17455 All uses replaced by float-time.
17456
ee6f1be0
PE
17457 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17458 This yields a more-accurate answer.
17459 (rng-time-to-float): Remove; no longer needed.
17460
fe955043
PE
17461 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17462
5777162a
PE
17463 * calendar/timeclock.el (timeclock-seconds-to-time):
17464 Defalias to seconds-to-time, since they're the same thing.
17465
3103f8b6 17466 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 17467 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
17468 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17469
0e61a35f
SM
174702011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17471
17472 * window.el (bury-buffer): Don't iconify the only frame.
17473 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17474 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
17475
ddd63a1e
CY
174762011-07-01 Chong Yidong <cyd@stupidchicken.com>
17477
0e61a35f
SM
17478 * eshell/em-smart.el (eshell-smart-display-navigate-list):
17479 Add mouse-yank-primary.
ddd63a1e 17480
055f4923
TZ
174812011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
17482
17483 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17484
6a2fb145
SM
174852011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
17486
17487 * emacs-lisp/find-func.el (find-library--load-name): New fun.
17488 (find-library-name): Use it to find relative load names when provided
17489 absolute file name (bug#8803).
17490
fd4983f2
LMI
174912011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17492
887d14ad
LMI
17493 * textmodes/flyspell.el (flyspell-word): Consider words that
17494 differ only in case as potential doublons (bug#5687).
17495
c53dc7fc
LMI
17496 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17497 Remove two rather uninteresting debugging-like messages to make
17498 debbugs.el more silent.
17499
fd4983f2
LMI
17500 * comint.el (comint-password-prompt-regexp): Accept "Response" as
17501 a password-like phrase.
17502
7a71b18d 175032011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
17504
17505 * progmodes/cc-guess.el: New file.
17506
6a2fb145 17507 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
17508
17509 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17510 derived from `c-basic-common-init'.
17511
17512 * progmodes/cc-mode.el (top-level): Require cc-guess.
17513 (c-basic-common-init): Use `cc-choose-style-for-mode'.
17514
1fa280a3
LM
175152011-06-30 Lawrence Mitchell <wence@gmx.li>
17516
17517 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17518
e6597158
AM
175192011-06-30 Alan Mackenzie <acm@muc.de>
17520
1fa280a3
LM
17521 * progmodes/cc-engine.el (c-guess-continued-construct):
17522 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
17523 lock is disabled. Name this case as "CASE G".
17524
68ba37fb
KM
175252011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
17526
17527 * allout.el (allout-yank-processing): Fix injection of extra space
17528 between bullet and non-whitespace character in first topic when
17529 pasting, ensuring that the actual spacing in the pasted topic
17530 following the bullet char is preserved. This extra space was
17531 causing pasted encrypted topics to get a decrypted status even
17532 when the content was actually still encrypted. Now the decryption
17533 status from before the paste is preserved.
17534
17535 (allout-flag-region): Set all allout overlays so they evaporate
17536 when reduced to zero length (evanescent), to prevent overlay
17537 leakage.
17538
887a0b34
GM
175392011-06-30 Glenn Morris <rgm@gnu.org>
17540
94b9acce
GM
17541 * w32-fns.el (w32-charset-info-alist): Declare.
17542
1d9b46d4
GM
17543 * find-dired.el (find-grep-options): Simplify.
17544
cc232200
GM
17545 * term/ns-win.el (ns-set-resource): Declare.
17546
28e77c46
GM
17547 * ses.el (row, col): Declare dynamic variables honestly.
17548
887a0b34
GM
17549 * textmodes/reftex-parse.el (index-tags): Declare.
17550
658d8eb8
CY
175512011-06-30 Chong Yidong <cyd@stupidchicken.com>
17552
17553 * cus-edit.el (customize-push-and-save): New function.
17554
17555 * files.el (hack-local-variables-confirm): Use it.
17556
1fa280a3
LM
17557 * custom.el (load-theme): New arg NO-CONFIRM.
17558 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
17559 (custom-enabled-themes): Doc fix.
17560
17561 * cus-theme.el (customize-create-theme)
17562 (custom-theme-merge-theme): Callers to load-theme changed.
17563
bb617717
LMI
175642011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
17565
d61bdd5d
LMI
17566 * thingatpt.el (thing-at-point-short-url-regexp): Require that
17567 short URLs have at least one dot in them (bug #7614).
17568
bb617717
LMI
17569 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17570 nil, because using a pty is apparently too slow (bug #895).
17571
2f31f37a
LMI
175722011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
17573
17574 * mail/sendmail.el (sendmail-query-once): New function.
17575 (sendmail-query-once-function): New variable.
17576
3076b24e
GM
175772011-06-29 Glenn Morris <rgm@gnu.org>
17578
faf2a174
GM
17579 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17580
3076b24e
GM
17581 * ses.el (top-level): Require cl when compiling.
17582 (ses-set-localvars): Fix error statement.
17583 Call it at compile time to silence a storm of warnings.
17584
5386012d
MR
175852011-06-29 Martin Rudalics <rudalics@gmx.at>
17586
17587 * window.el (normalize-live-buffer): Rename to
17588 window-normalize-buffer.
17589 (normalize-live-frame): Rename to window-normalize-frame.
17590 (normalize-any-window): Rename to window-normalize-any-window.
17591 (normalize-live-window): Rename to window-normalize-live-window.
17592 (make-window-atom): Rename to window-make-atom.
17593 (window-resize-reset): Rename to window--resize-reset.
17594 (window-resize-reset-1): Rename to window--resize-reset-1.
17595 (resize-mini-window): Rename to window--resize-mini-window.
17596 (resize-subwindows-skip-p): Rename to
17597 window--resize-subwindows-skip-p.
17598 (resize-subwindows-normal): Rename to
17599 window--resize-subwindows-normal.
17600 (resize-subwindows): Rename to window--resize-subwindows.
17601 (resize-other-windows): Rename to window--resize-siblings.
17602 (resize-this-window): Rename to window--resize-this-window.
17603 (resize-root-window): Rename to window--resize-root-window.
17604 (resize-root-window-vertically): Rename to
17605 window--resize-root-window-vertically.
17606 (normalize-buffer-to-display): Rename to
17607 window-normalize-buffer-to-display.
17608 (normalize-buffer-to-switch-to): Rename to
17609 window-normalize-buffer-to-switch-to.
17610 Correspondingly update all callers of the functions listed
17611 above.
17612 (display-buffer-alist, display-buffer-normalize-arguments)
17613 (display-buffer-normalize-options, display-buffer)
17614 (display-buffer-alist-set): Use "function" instead of
17615 "fun-with-args".
17616
1176868d
CY
176172011-06-28 Chong Yidong <cyd@stupidchicken.com>
17618
17619 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17620 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
17621 debbugs.gnu.org. Mention acknowledgment email.
17622
20a7a65f
LMI
176232011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
17624
17625 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17626 buffer multibyteness, since it shouldn't matter.
17627
5f45cca5
MR
176282011-06-28 Martin Rudalics <rudalics@gmx.at>
17629
17630 * window.el (display-buffer-in-side-window): Handle dedicated
17631 windows as in display-buffer-reuse-window.
17632 (display-buffer-normalize-alist): Use value of override
17633 specifier.
17634 (display-buffer-normalize-specifiers): Use value of
17635 other-window-means-other-frame specifier.
17636 (display-buffer-alist): Rewrite some texts in widgets.
17637 (display-buffer): Spread arguments when calling function
17638 specified by fun-with-args.
17639
ad85fe1f
DD
176402011-06-28 Deniz Dogan <deniz@dogan.se>
17641
1fa280a3
LM
17642 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17643 Unnest `let'.
da68c4c8 17644
ad85fe1f
DD
17645 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17646 selectors (Bug#5732).
ec49bd31 17647 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 17648
a08cc025
JA
176492011-06-27 Jari Aalto <jari.aalto@cante.net>
17650
17651 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17652 (eshell-ls-date-format): New defcustom.
17653 (eshell-ls-file): Use it.
17654
e2b551c5
SM
176552011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17656
17657 * help-fns.el (describe-variable): Fix message for terminal-local vars.
17658
8982b231
KY
176592011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
17660
17661 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17662 (ange-ftp-make-tmp-name): New arg.
17663 (ange-ftp-file-local-copy): Use it.
17664
36c9fa27
J
176652011-06-27 Jambunathan K <kjambunathan@gmail.com>
17666
17667 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17668 no-conversion (Bug#8870).
17669
d68443dc
MR
176702011-06-27 Martin Rudalics <rudalics@gmx.at>
17671
17672 * window.el (window-right, window-left, window-child)
17673 (window-child-count, window-last-child)
17674 (window-iso-combination-p, walk-window-tree-1)
17675 (window-atom-check-1, window-tree-1, delete-window)
17676 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17677 new naming conventions - window-vchild, window-hchild,
17678 window-next and window-prev are now called window-top-child,
17679 window-left-child, window-next-sibling and window-prev-sibling
17680 respectively.
d615d6d2
MR
17681 (resize-window-reset): Rename to window-resize-reset.
17682 (resize-window-reset-1): Rename to window-resize-reset-1.
17683 (resize-window): Rename to window-resize.
17684 (window-min-height, window-min-width)
17685 (resize-mini-window, resize-this-window, resize-root-window)
17686 (resize-root-window-vertically, adjust-window-trailing-edge)
17687 (enlarge-window, shrink-window, maximize-window)
17688 (minimize-window, delete-window, quit-restore-window)
17689 (split-window, balance-windows, balance-windows-area-adjust)
17690 (balance-windows-area, window-state-put-2)
17691 (display-buffer-even-window-sizes, display-buffer-set-height)
17692 (display-buffer-set-width, set-window-text-height)
17693 (fit-window-to-buffer): Rename all "resize-window" prefixed
17694 calls to use the "window-resize" prefix convention.
17695 (display-buffer-alist): Fix symbol for label specifier.
17696 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17697 corresponding specifier.
17698 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 17699
b6458526
VB
177002011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17701
17702 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17703 convention.
17704 (ses-call-printer): Does not pass an empty string to formatter when the
17705 cell is empty to keep from barking printer Calc math-format-value.
17706
d31fd9ac
RS
177072011-06-27 Richard Stallman <rms@gnu.org>
17708
43d5bf84
RS
17709 * battery.el (battery-mode-line-limit): New variable.
17710 (battery-update): Handle it.
17711
d31fd9ac
RS
17712 * mail/rmailmm.el (rmail-mime-process-multipart):
17713 Handle truncated messages.
17714
819a6054
GM
177152011-06-27 Glenn Morris <rgm@gnu.org>
17716
17717 * progmodes/flymake.el (flymake-err-line-patterns):
17718 Allow for column numbers in the ant/javac pattern. (Bug#8866)
17719
cedc73f2
VB
177202011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
17721
819a6054 17722 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
17723 (ses--clean-!, ses--clean-_): New functions.
17724 (ses-range): Add configurability of readout order, and conversion
17725 to Calc vector.
17726
5e5d49b6
VB
17727 * ses.el (ses-repair-cell-reference-all): New function.
17728 (ses-cell-symbol): Set macro as safe, so that it can be used in
17729 formulas.
17730
56e6cc31 17731 * ses.el: Update cycle detection algorithm.
90ca8b49 17732 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 17733 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
17734 (ses-set-localvars): New function.
17735 (ses-make-cell): Add property-list as a cell element.
17736 (ses-cell-property-get-fun, ses-cell-property-get)
17737 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
17738 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17739 New functions.
90ca8b49
VB
17740 (ses-cell-property-set, ses-cell-property-pop)
17741 (ses-cell-property-get-handle): New macro.
17742 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17743 New aliases, used for code readability.
17744 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17745 cycle detection.
17746 (ses-self-reference-early-detection): New defcustom.
fac916bf 17747 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
17748 (ses-mode): Use ses-set-localvars.
17749 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17750 before lauching the update processing.
17751 (ses-initialize-Dijkstra-attempt): New function.
17752 (ses-recalculate-cell): Update for cycle detection based on
17753 Dijkstra algorithm.
17754
2bb63e81
VB
17755 * ses.el: Fix commenting and indenting convention.
17756
c9d29fb8
SM
177572011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
17758
17759 * bs.el (bs-cycle-next): Complete last change.
17760
d8e4b68b
JB
177612011-06-27 Drew Adams <drew.adams@oracle.com>
17762
17763 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17764
40098786
LMI
177652011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17766
c9d29fb8
SM
17767 * net/network-stream.el (network-stream-open-starttls):
17768 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
17769 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17770
40098786
LMI
17771 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17772 to binary to possibly avoid line encoding issues on Windows (among
17773 other things).
17774
468d09d4
LMI
177752011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17776
17777 * net/network-stream.el (open-network-stream): Return an :error
17778 saying what the problem was, if possible.
17779
17780 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17781 server.
17782
17783 * net/network-stream.el (network-stream-open-starttls): If we
17784 wanted to use STARTTLS, and the server offered it, but we weren't
17785 able to because we had no STARTTLS support, then close the connection.
17786 (open-network-stream): Return an :error element, if present.
17787
16f07dd7
CY
177882011-06-26 Chong Yidong <cyd@stupidchicken.com>
17789
88821ca0
CY
17790 * hl-line.el (hl-line-sticky-flag): Doc fix.
17791 (global-hl-line-sticky-flag): New option (Bug#8323).
17792 (global-hl-line-highlight): Obey it.
17793
16f07dd7
CY
17794 * vc/vc.el (vc-revert-show-diff): Default to t.
17795
6b5ccddf
KM
177962011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
17797
c9d29fb8
SM
17798 * allout-widgets.el (allout-widgets-post-command-business):
17799 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
17800 undecorated when an isearch is continued past, and isearch
17801 automatically collapses them. This leads to "widget leaks", where
17802 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
17803 hidden widgets can slow down cursor travel, substantially.
17804 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
17805 so we're doing without this nicety.
17806
17807 (allout-widgets-tally-string): Don't try to do a hash-table-count
17808 of allout-widgets-tally when it's nil. This eliminates spurious "Error
17809 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17810 *Messages* when allout-widgets-maintain-tally is t.
17811
355f2e07
MR
178122011-06-26 Martin Rudalics <rudalics@gmx.at>
17813
17814 * window.el (display-buffer-normalize-argument): Rename to
17815 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
17816 LABEL argument. Respect special-display-function when popping up
17817 a new frame. Fix code searching for a window showing the buffer
17818 on another frame.
c9d29fb8
SM
17819 (display-buffer-normalize-specifiers):
17820 Call display-buffer-normalize-arguments.
355f2e07
MR
17821 (display-buffer-in-window): Don't undedicate the window if its
17822 buffer remains the same.
17823 Reported by Drew Adams <drew.adams@oracle.com>.
17824 (display-buffer-alist): Add choice for same-window macro
17825 specfier.
17826 (display-buffer): Mention special meaning of LABEL argument in
17827 doc-string. Fix quoting. Don't pop up a new frame even as
17828 fallback.
17829
7ca8fc42
JB
178302011-06-26 Juanma Barranquero <lekktu@gmail.com>
17831
17832 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17833 avoid deleting the current window in some cases (bug#8911).
17834
bc312254
AS
178352011-06-26 Andreas Schwab <schwab@linux-m68k.org>
17836
17837 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17838 (Bug#8934)
17839
2db18f3f
LMI
178402011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
17841
c9d29fb8
SM
17842 * net/network-stream.el (network-stream-open-starttls):
17843 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
17844 (network-stream-open-tls): Ditto.
17845
6302e0d3
LL
178462011-06-26 Leo Liu <sdl.web@gmail.com>
17847
17848 * register.el (registerv): New struct.
17849 (registerv-make): New function.
c9d29fb8
SM
17850 (jump-to-register, describe-register-1, insert-register):
17851 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
17852 struct. (Bug#8415)
17853
5fdd4046
CY
178542011-06-26 Chong Yidong <cyd@stupidchicken.com>
17855
2afef60a
CY
17856 * vc/vc.el (vc-revert-show-diff): New defcustom.
17857 (vc-diff-internal): New arg specifying diff buffer.
17858 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
17859 reuse an existing *vc-diff* buffer (Bug#8927).
17860
5fdd4046
CY
17861 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17862
e93db24a
GM
178632011-06-26 Glenn Morris <rgm@gnu.org>
17864
17865 * progmodes/f90.el (f90-critical-indent): New option.
17866 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17867 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17868 (f90-mode): Doc fix.
17869 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17870 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17871 (f90-beginning-of-block, f90-next-block, f90-indent-region)
17872 (f90-match-end): Handle block, critical.
17873
eefff499
GM
178742011-06-25 Glenn Morris <rgm@gnu.org>
17875
f6ba4cc9
GM
17876 * calendar/diary-lib.el (diary-included-files): Doc fix.
17877 (diary-include-files): New function, extracted from
17878 diary-include-other-diary-files and diary-mark-included-diary-files.
17879 (diary-include-other-diary-files, diary-mark-included-diary-files):
17880 Just call diary-include-files.
17881 (diary-mark-entries): Reset diary-included-files on first call.
17882
16712304
GM
17883 * calendar/diary-lib.el (diary-mark-entries)
17884 (diary-mark-included-diary-files):
17885 Visit included diary-files in temp buffers.
17886
5d8e0d43
GM
17887 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17888 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17889 (f90-start-block-re, f90-imenu-generic-expression)
17890 (f90-looking-at-program-block-start, f90-no-block-limit):
17891 Add support for submodules.
17892
ccf7a5d5
GM
17893 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17894 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 17895
11fdef7d 178962011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
17897
17898 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17899 buffer-file-type before setting its value, to avoid disastrous
eefff499 17900 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 17901
74f53697
JB
179022011-06-25 Juanma Barranquero <lekktu@gmail.com>
17903
17904 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17905
17906 * ses.el (ses-unload-function):
17907 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17908
17909 * proced.el (proced-unload-function):
17910 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17911
18a4ce5e
AR
179122011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
17913
17914 * server.el (server-create-window-system-frame): Add parameters arg.
17915 (server-process-filter): Doc fix. Handle frame-parameters.
17916
519d22cc
JB
179172011-06-25 Juanma Barranquero <lekktu@gmail.com>
17918
17919 Fix bug#8730, bug#8781.
17920
17921 * loadhist.el (unload--set-major-mode): New function.
17922 (unload-feature): Use it.
17923
17924 * progmodes/python.el (python-after-info-look): Add autoload cookie.
17925 (python-unload-function): New function.
17926
c206f5b0
SM
179272011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
17928
17929 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17930
f9ad64f3
GS
179312011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
17932
17933 * net/browse-url.el (browse-url-firefox-program): Add icecat to
17934 the candidates list.
17935
7d0da90e
JB
179362011-06-24 Juanma Barranquero <lekktu@gmail.com>
17937
17938 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
17939
14b4e83d
RS
179402011-06-23 Richard Stallman <rms@gnu.org>
17941
17942 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
17943 (rmail-variables): Set next-error-move-function.
17944 (rmail-what-message): Take argument POS.
17945 (rmail-next-error-move): New function.
17946
273d2baf
SM
179472011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
17948
17949 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
17950 messages for adjacent non-terminals.
17951
56c2cc9a
RS
179522011-06-23 Richard Stallman <rms@gnu.org>
17953
17954 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 17955 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
17956 (rmail-start-mail): Don't specify use of rmail-mail-return;
17957 that's done by mail-bury now.
17958 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 17959
d59eb518
MA
179602011-06-23 Michael Albinus <michael.albinus@gmx.de>
17961
17962 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
17963 SIZE is a number.
17964
02cfc6d6
MR
179652011-06-23 Martin Rudalics <rudalics@gmx.at>
17966
17967 * window.el (get-lru-window, get-mru-window)
17968 (get-largest-window): Never return a minibuffer window.
17969 (display-buffer-pop-up-window): Fix a bug that could lead to
17970 reusing the minibuffer window.
17971 (display-buffer): Pass original specifier argument to
17972 display-buffer-function instead of the normalized one.
17973 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17974
4e323265
LL
179752011-06-22 Leo Liu <sdl.web@gmail.com>
17976
17977 * minibuffer.el (completing-read-function)
1f9f395d 17978 (completing-read-default): Move from minibuf.c.
4e323265 17979
7a70468f
RS
179802011-06-22 Richard Stallman <rms@gnu.org>
17981
50718fc2
RS
17982 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
17983 to Rmail even if not started by a special Rmail command.
17984
7a70468f
RS
17985 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
17986 Copy the buffer currently showing just one message.
17987
297dde5a
RW
179882011-06-22 Roland Winkler <winkler@gnu.org>
17989
17990 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
17991 (bibtex-clean-entry): First delete the old key so that a
17992 customized algorithm for generating the new key does not get
17993 confused by the old key.
17994 (bibtex-url): Obey regexp of first step.
17995 (bibtex-search-entries): Do not use add-to-list with local
17996 list-var.
17997
97bb1093
LMI
179982011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17999
18000 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18001 stored a user name, then query for the password first, instead of
18002 waiting for SMTP to give an error message and the trying again.
18003
1c0f1a19
JD
180042011-06-22 Lawrence Mitchell <wence@gmx.li>
18005
18006 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18007 BUFFER in call-process.
18008
396f7c9d
LMI
180092011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18010
18011 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18012 QUIT twice.
ddb7ffee
LMI
18013 (smtpmail-try-auth-methods): Require user name and password from
18014 auth-source.
396f7c9d 18015
8998d1b3
MR
180162011-06-22 Martin Rudalics <rudalics@gmx.at>
18017
18018 * window.el (display-buffer-default-specifiers)
18019 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18020 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 18021 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
18022
18023 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18024 (special-display-frame-alist, special-display-popup-frame):
18025 Remove duplicate declarations. These are now in window.el.
18026
4ea31e07
LMI
180272011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18028
c9d29fb8
SM
18029 * mail/smtpmail.el (smtpmail-via-smtp):
18030 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
18031 server supports it. SMTP servers that support STARTTLS commonly
18032 require it.
18033
18034 * net/network-stream.el (network-stream-open-starttls): Support
18035 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 18036 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 18037
95f41d9a
LMI
18038 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18039 upgrades with `open-network-stream', and rely solely on
18040 auth-source for all credentials. Big changes throughout the file,
18041 but in particular:
c9d29fb8
SM
18042 (smtpmail-auth-credentials): Remove.
18043 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
18044 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18045 MAIL FROM, too.
95f41d9a 18046
c9d29fb8
SM
18047 * net/network-stream.el (network-stream-open-starttls):
18048 Provide support for client certificates both for external and built-in
4ea31e07
LMI
18049 STARTTLS.
18050 (auth-source): Require.
18051 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
18052 (network-stream-certificate): Change cert-cert to cert and
18053 cert-key to key.
4ea31e07 18054
065ec2c7
MA
180552011-06-21 Michael Albinus <michael.albinus@gmx.de>
18056
18057 * net/tramp-cache.el (top): Don't load the persistency file when
18058 "emacs -Q" has been called.
18059
cd93b359
DR
180602011-06-21 Tim Harper <timcharper@gmail.com>
18061
d8e4b68b
JB
18062 * term/ns-win.el (ns-initialize-window-system):
18063 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
18064 resource to NO as it is not yet supported by the NS port.
18065
ae9c0411
JB
180662011-06-21 Juanma Barranquero <lekktu@gmail.com>
18067
18068 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18069 (list-dynamic-libraries): ...not here.
18070
7f3f739f
LL
180712011-06-21 Leo Liu <sdl.web@gmail.com>
18072
18073 * subr.el (sha1): Implement sha1 using secure-hash.
18074
327c8fb1
MR
180752011-06-21 Martin Rudalics <rudalics@gmx.at>
18076
18077 * window.el (display-buffer-alist): In default value do not
18078 enforce searching a window on any but the selected frame.
18079 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18080 (display-buffer-select-window): Remove function.
18081 (display-buffer-in-window): When a window on another frame gets
18082 reused, do not select it any more but just raise its frame if
18083 necessary (Bug#8851) and (Bug#8856).
18084 (display-buffer-normalize-options): Handle pop-up-frames related
18085 options more faithfully.
18086 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18087 window if it is on another frame.
c9d29fb8
SM
18088 (display-buffer-alist, display-buffer-default-specifiers):
18089 Don't make new frame unsplittable by default.
9e9de014
MR
18090 (display-buffer-normalize-argument): Fix doc-string typo and use
18091 'same-frame-other-window instead of 'other-window when associating
18092 with display-buffer-macro-specifiers.
327c8fb1 18093
7cf3f556
VB
180942011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18095
18096 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18097 New functions.
18098 (5x5-mode-map, 5x5-mode-menu): Bind them.
18099 (5x5-draw-grid): Tweak the solver's rendering.
18100
60a406cf
SM
181012011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18102
18103 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18104 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18105
d8e4b68b 181062011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
18107
18108 * menu-bar.el: Use function variable instead of switch-to-buffer.
18109 (menu-bar-select-buffer-function): New variable.
60a406cf 18110 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 18111
478d6f95
SM
181122011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18113
18114 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18115 variable's status.
18116
ca530739
JD
181172011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18118
18119 * x-dnd.el (x-dnd-version-from-flags)
18120 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18121 and long as number (Bug#8899).
18122 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18123
bcd70d97
SM
181242011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18125
60a406cf 18126 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
18127 (completion-try-completion, completion-all-completions): Compute the
18128 metadata argument if it's missing; make it optional (bug#8795).
18129
60a406cf 18130 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
18131 (widget-complete): Use new :completion-function property.
18132 (widget-completions-at-point): New function.
18133 (default): Use :completion-function instead of :complete.
60a406cf
SM
18134 (widget-default-completions): Rename from widget-default-complete;
18135 Rewrite.
bcd70d97
SM
18136 (widget-string-complete, widget-file-complete, widget-color-complete):
18137 Remove functions.
18138 (file, symbol, function, variable, coding-system, color):
18139 * international/mule-cmds.el (default-input-method, charset)
18140 (language-info-custom-alist):
18141 * cus-edit.el (face): Use new property :completions.
18142
18143 * progmodes/pascal.el (pascal-completions-at-point): New function.
18144 (pascal-mode): Use it.
18145 (pascal-mode-map): Use completion-at-point.
18146 (pascal-toggle-completions): Make obsolete.
18147 (pascal-complete-word, pascal-show-completions):
18148 * progmodes/octave-mod.el (octave-complete-symbol):
18149 Redefine as obsolete alias.
18150 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18151 Signal absence of completion info for old Octave,
18152 (inferior-octave-complete): Redefine as obsolete alias.
18153 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18154 (meta-completions-at-point): Rename from meta-complete-symbol and
18155 adapt it for use on completion-at-point-functions.
18156 (meta-common-mode): Use it.
18157 (meta-looking-at-backward, meta-match-buffer): Remove.
18158 (meta-complete-symbol): Redefine as obsolete alias.
18159 (meta-common-mode-map): Use completion-at-point.
18160 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18161 (makefile-mode-map): Use completion-at-point.
18162 (makefile-completions-at-point): Rename from makefile-complete and
18163 adapt it for use on completion-at-point-functions.
18164 (makefile-mode): Use it.
18165 (makefile-complete): Redefine as obsolete alias.
18166
aebf69c8
DD
181672011-06-20 Deniz Dogan <deniz@dogan.se>
18168
18169 * net/rcirc.el: Delete trailing whitespaces once and for all.
18170
bfbbb27d
DC
181712011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18172
18173 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18174
d264a46b
CY
181752011-06-19 Chong Yidong <cyd@stupidchicken.com>
18176
4ca009e5
CY
18177 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18178
d264a46b
CY
18179 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18180
fbf5b3ce
MR
181812011-06-19 Martin Rudalics <rudalics@gmx.at>
18182
18183 * window.el (display-buffer-other-window-means-other-frame):
18184 Call display-buffer-normalize-alist.
18185 (display-buffer-normalize-specifiers-1): Rename to
18186 display-buffer-normalize-argument. New argument other-frame.
18187 Rewrite.
18188 (display-buffer-normalize-specifiers-2): Rename to
18189 display-buffer-normalize-options.
18190 (display-buffer-normalize-alist-1): New function.
18191 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
18192 display-buffer-normalize-alist.
18193 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
18194 (display-buffer-normalize-options-inhibit): New variable.
18195 (display-buffer-normalize-specifiers): Rewrite calling
18196 display-buffer-normalize-alist,
18197 display-buffer-normalize-argument, and
18198 display-buffer-normalize-options. Don't call the latter if
18199 display-buffer-normalize-options-inhibit is non-nil.
18200 (frame-auto-delete): New option.
18201 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
18202 (window-list-no-nils, window-state-ignored-parameters)
18203 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
18204 (window-state-put-1, window-state-put-2, window-state-put):
18205 New functions.
9a028c23
MR
18206 (display-buffer-normalize-options): Move special-display-p group
18207 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 18208
6d10d800
CY
182092011-06-18 Chong Yidong <cyd@stupidchicken.com>
18210
6420d28b
CY
18211 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18212 groups (Bug#8776).
18213 (rx-submatch-n): New function.
18214 (rx): Document it.
18215
ddb8b596
CY
18216 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18217 (Bug#8768).
18218
18219 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18220
77080289
CY
18221 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18222
61dfb316
CY
18223 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18224 anytime existing face settings are present (Bug#8889).
18225
6d10d800
CY
18226 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18227 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18228 Remove unused argument.
18229
be3fb2b8
MR
182302011-06-18 Martin Rudalics <rudalics@gmx.at>
18231
bcd70d97
SM
18232 * window.el (display-buffer-default-specifiers):
18233 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
18234 pop-up-window-min-width, and another reuse-window specifier
18235 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
18236 (display-buffer-normalize-specifiers-2):
18237 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
18238 pop-up-windows is unset. Add a reuse-window specifier for the
18239 case popping up a new window fails.
18240 (special-display-popup-frame): Remove double quoting.
28dec25a 18241 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 18242
1c6d8c76
SM
182432011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18244
18245 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18246 according to comint-completion-addsuffix.
18247
18248 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18249 (pcomplete-suffix-list): Mark as obsolete.
18250 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18251 pcomplete-seen in the closure.
18252 (pcomplete-comint-setup): Setup completion-at-point as well.
18253 (pcomplete--entries): New function.
18254 (pcomplete--env-regexp): New var.
18255 (pcomplete-entries): Rewrite to work with partial-completion and
18256 without relying on pcomplete-suffix-list.
18257 (pcomplete-pare-list): Remove, unused.
18258
25aef8b8
MR
182592011-06-17 Martin Rudalics <rudalics@gmx.at>
18260
18261 * window.el (display-buffer-alist): Set pop-up-window-min-height
18262 and pop-up-window-min-width in default value. Reported by
18263 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
18264 other-window-means-other-frame.
18265 (display-buffer-macro-specifiers): Comment out entry for
18266 other-window specifier.
18267 (display-buffer-other-window-means-other-frame): New function.
18268 (display-buffer-normalize-specifiers-1): New arguments
18269 buffer-name and label. Treat other-window case specially.
18270 (display-buffer-normalize-specifiers-2): Treat other-window case
18271 specially.
18272 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
18273 (display-buffer-normalize-specifiers):
18274 Call display-buffer-normalize-specifiers-3.
25aef8b8 18275
dbad4f69
MR
182762011-06-17 Martin Rudalics <rudalics@gmx.at>
18277
18278 * window.el (same-window-p): Fix two typos introduced when
18279 adding with-no-warnings.
d1067961
MR
18280 (display-buffer-normalize-specifiers-1): Don't check
18281 pop-up-frames for 'unset initialization.
18282 (display-buffer-normalize-specifiers-2): Major rewrite using
18283 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18284 (pop-up-frames, display-buffer-reuse-frames)
18285 (display-buffer-mark-dedicated): Don't initialize to 'unset.
18286 Suggested by David Engster <deng@randomsample.de>.
18287 (even-window-heights): Initialize to 'unset.
18288 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
18289 (display-buffer-macro-specifiers): Don't pop up a new frame in the
18290 other window case.
dbad4f69 18291
9b9c9e3a
MR
182922011-06-16 Martin Rudalics <rudalics@gmx.at>
18293
bcd70d97
SM
18294 * window.el (display-buffer-normalize-specifiers-1):
18295 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 18296 second argument of display-buffer (Bug#8865).
981d5c09
MR
18297 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18298 (switch-to-buffer-other-window-same-frame)
18299 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
18300 Adams (Bug#8875).
9c2755e9
MR
18301 (display-buffer): Don't check noninteractive when calling
18302 display-buffer-pop-up-frame.
18303 (display-buffer-pop-up-frame): Never pop up a frame in
18304 noninteractive mode (Bug#8857).
67222e1d
MR
18305 (enlarge-window, shrink-window): Don't report an error when the
18306 window can't be resized as requested (Bug#8862).
9b9c9e3a 18307
2b75be67
SM
183082011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18309
9ffdd3ba
SM
18310 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18311
cb581a67
SM
18312 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18313
2b75be67
SM
18314 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18315
8c0e3589
AM
183162011-06-15 Alan Mackenzie <acm@muc.de>
18317
cb581a67
SM
18318 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18319 for declarators, disable knr checking to speed up for normal files.
18320 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 18321
b96e6cde
LMI
183222011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
18323
4bba86e6
LMI
18324 * net/network-stream.el (open-network-stream): Add the keyword
18325 :always-query-capabilities for the case where you want to force a
18326 `plain' network connection, but the protocol still requires the
18327 capabilitiy command (i.e., SMTP and EHLO).
18328
2b75be67 18329 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
18330 consistency with other `-live-p' functions.
18331
efdcdbf8
SM
183322011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
18333
18334 * window.el (same-window-buffer-names, same-window-regexps)
18335 (special-display-frame-alist, special-display-popup-frame)
18336 (special-display-function, special-display-buffer-names)
18337 (special-display-regexps, pop-up-frame-alist)
18338 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18339 (pop-up-windows, split-window-preferred-function)
18340 (split-height-threshold, split-width-threshold, even-window-heights)
18341 (display-buffer-mark-dedicated): Don't encourage the use of
18342 display-buffer-alist from Elisp code.
18343
c5cde042
DN
183442011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
18345
18346 * progmodes/python.el (python-mode): Derive from prog-mode.
18347 * progmodes/ps-mode.el (ps-mode):
18348 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 18349 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
18350 * progmodes/ld-script.el (ld-script-mode): Likewise.
18351
baa1c9ab
MR
183522011-06-15 Martin Rudalics <rudalics@gmx.at>
18353
18354 * window.el (display-buffer-alist): Trim default value to avoid
18355 popping up a new frame (Bug#8857) or reusing an arbitrary window
18356 on another frame.
18357 (display-buffer): Do not fall back on popping up a new frame in
18358 batch mode (Bug#8857).
18359
c5dd5a51
CY
183602011-06-14 Chong Yidong <cyd@stupidchicken.com>
18361
18362 * cus-theme.el (describe-theme-1): Use custom-theme-p.
18363 (custom-theme-summary): New function.
18364 (customize-themes): Use it.
18365
d647b7c4
GM
183662011-06-13 Glenn Morris <rgm@gnu.org>
18367
18368 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18369
9481c002
MR
183702011-06-13 Martin Rudalics <rudalics@gmx.at>
18371
357f93d2
MR
18372 * help.el (help-window): Remove variable.
18373 (help-window-point-marker, temp-buffer-max-height)
18374 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18375 (help-print-return-message): Don't set help-window.
18376 (resize-temp-buffer-window): Rewrite cod eand doc-string.
18377 (help-window-setup-finish): Remove.
18378 (help-window-display-message, help-window-setup)
18379 (with-help-window): Major rewrite based on new
18380 display-buffer-window variable.
18381
18382 * help-mode.el (help-mode-finish): Remove help-window related
18383 code.
18384
18385 * view.el (view-exits-all-viewing-windows): Remove reference to
18386 view-return-to-alist in doc-string.
18387 (view-return-to-alist): Make obsolete.
18388 (view-buffer): Call pop-to-buffer-same-window and remove
18389 undo-window code.
18390 (view-buffer-other-window): Call pop-to-buffer-other-window and
18391 simplify code. Ignore second argument.
18392 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18393 simplify code. Ignore second argument.
18394 (view-return-to-alist-update): Make obsolete.
18395 (view-mode-enter): Rename second argument to QUIT-RESTORE.
18396 Rewrite using quit-restore window parameters.
2b75be67
SM
18397 (view-mode-exit): Rename second argument to EXIT-ONLY.
18398 Rewrite using quit-restore-window.
357f93d2
MR
18399 (View-exit, View-exit-and-edit, View-leave, View-quit)
18400 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18401 appropriate arguments.
18402 (view-end-message): Use quit-restore window parameter.
18403
9481c002
MR
18404 * window.el (display-buffer-function): Rewrite doc-string.
18405 (display-buffer-window, display-buffer-alist): New variables.
18406 (display-buffer-split-specifiers)
18407 (display-buffer-side-specifiers)
18408 (display-buffer-macro-specifiers): New constants.
18409 (display-buffer-even-window-sizes, display-buffer-set-height)
18410 (display-buffer-set-width, display-buffer-select-window)
18411 (display-buffer-in-window, display-buffer-reuse-window)
18412 (display-buffer-split-window-1, display-buffer-split-window)
18413 (display-buffer-split-atom-window, display-buffer-pop-up-window)
18414 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18415 (display-buffer-in-side-window, normalize-buffer-to-display)
18416 (display-buffer-normalize-specifiers-1)
18417 (display-buffer-normalize-specifiers-2)
2b75be67
SM
18418 (display-buffer-normalize-specifiers, display-buffer-frame):
18419 New functions.
9481c002
MR
18420 (display-buffer): Major rewrite.
18421 (display-buffer-other-window, display-buffer-other-frame)
18422 (pop-to-buffer, switch-to-buffer-other-window)
18423 (switch-to-buffer-other-frame): Rewrite.
18424 (display-buffer-same-window, display-buffer-same-frame)
18425 (display-buffer-same-frame-other-window)
18426 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18427 (pop-to-buffer-other-window)
18428 (pop-to-buffer-same-frame-other-window)
18429 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18430 (switch-to-buffer-other-window-same-frame): New functions.
18431 (same-window-p, special-display-p): Rewrite disabling warnings.
18432 Make obsolete.
18433 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18434 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18435 Make obsolete
18436 (same-window-buffer-names, same-window-regexps)
18437 (special-display-frame-alist, special-display-popup-frame)
18438 (special-display-function, special-display-buffer-names)
18439 (special-display-regexps, pop-up-frame-alist)
18440 (pop-up-frame-function, split-window-preferred-function)
18441 (split-height-threshold, split-width-threshold)
18442 (even-window-heights): Make obsolete.
18443
9db51aca
GM
184442011-06-12 Glenn Morris <rgm@gnu.org>
18445
18446 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 18447 Misc simplifications.
9db51aca 18448
39cffb44
MR
184492011-06-12 Martin Rudalics <rudalics@gmx.at>
18450
18451 * window.el (window-safely-shrinkable-p): Restore function which
18452 was inadvertently removed in change from 2011-06-11. Declare as
18453 obsolete.
18454
2b75be67
SM
18455 * calendar/calendar.el (calendar-generate-window):
18456 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
18457 window-safely-shrinkable-p.
18458
a8955be7
GM
184592011-06-12 Glenn Morris <rgm@gnu.org>
18460
18461 * progmodes/fortran.el (fortran-mode-syntax-table):
18462 * progmodes/f90.el (f90-mode-syntax-table):
18463 Set % to punctuation. (Bug#8820)
18464 (f90-find-tag-default): Remove, no longer needed.
18465
f0d4059d
DC
184662011-06-12 Daniel Colascione <dan.colascione@gmail.com>
18467
18468 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18469
1100a63c
CY
184702011-06-11 Chong Yidong <cyd@stupidchicken.com>
18471
18472 * image.el (image-animated-p): Return animation delay in seconds.
18473 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18474 (image-animate-timeout): Remove DELAY argument. Don't assume
18475 every subimage has the same delay; get it from image-animated-p.
18476 (image-animate): Caller changed.
18477
def722bf
MA
184782011-06-11 Michael Albinus <michael.albinus@gmx.de>
18479
18480 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18481 to ignored backtrace functions.
18482
0a2bb1a9
GM
184832011-06-11 Glenn Morris <rgm@gnu.org>
18484
18485 * calendar/appt.el (appt-disp-window-function): Doc fix.
18486 (appt-check): Handle overlapping appointments. (Bug#8337)
18487
6198ccd0
MR
184882011-06-11 Martin Rudalics <rudalics@gmx.at>
18489
18490 * window.el (window-tree-1, window-tree): New functions, moving
18491 the latter to window.el.
18492 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18493 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18494 (bw-refresh-edges): Remove.
18495 (balance-windows-1, balance-windows-2): New functions.
18496 (balance-windows): Rewrite in terms of window tree functions,
18497 balance-windows-1 and balance-windows-2.
18498 (bw-adjust-window): Remove.
18499 (balance-windows-area-adjust): New function with functionality of
18500 bw-adjust-window but using resize-window.
2b75be67
SM
18501 (set-window-text-height): Rewrite doc-string.
18502 Use normalize-live-window and resize-window.
18503 (enlarge-window-horizontally, shrink-window-horizontally):
18504 Rename argument to DELTA.
6198ccd0
MR
18505 (window-buffer-height): New function.
18506 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18507 Rewrite using new window resize routines.
2b75be67
SM
18508 (kill-buffer-and-window, mouse-autoselect-window-select):
18509 Use ignore-errors instead of condition-case.
6198ccd0
MR
18510 (quit-window): Call delete-frame instead of delete-windows-on
18511 for the only buffer on frame.
18512
9397e56f
MR
185132011-06-10 Martin Rudalics <rudalics@gmx.at>
18514
18515 * loadup.el (top-level): Load window before files for the sake
18516 of replace-buffer-in-windows.
18517
18518 * files.el (read-buffer-to-switch)
18519 (switch-to-buffer-other-window)
2b75be67
SM
18520 (switch-to-buffer-other-frame, display-buffer-other-frame):
18521 Move to window.el.
9397e56f
MR
18522
18523 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18524 (previous-buffer): Move to window.el.
18525
18526 * bindings.el (unbury-buffer): Move to window.el.
18527
18528 * window.el (delete-other-windows-vertically): Move after
18529 definition of delete-other-windows.
18530 (other-window, delete-windows-on, replace-buffer-in-windows):
18531 Move here from window.c.
18532 (record-window-buffer, unrecord-window-buffer)
18533 (set-window-buffer-start-and-point, switch-to-prev-buffer)
18534 (switch-to-next-buffer): New functions.
18535 (get-next-valid-buffer, last-buffer, next-buffer): Move here
18536 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
18537 (previous-buffer): Move here from simple.el.
18538 Call switch-to-prev-buffer.
9397e56f
MR
18539 (bury-buffer): Move here from buffer.c. Switch to previous
18540 buffer when window cannot be deleted.
18541 (unbury-buffer): Move here from bindings.el.
18542 (ctl-x-map): Move binding for other-window from window.c to
18543 here.
18544 (read-buffer-to-switch, switch-to-buffer-other-window)
18545 (switch-to-buffer-other-frame): Move here from files.el.
18546 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
18547 (switch-to-buffer): Move here from buffer.c.
18548 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 18549
562dd5e9
MR
185502011-06-10 Martin Rudalics <rudalics@gmx.at>
18551
18552 * window.el (window-min-height, window-min-width): Move here
18553 from window.c. Add defcustoms and rewrite doc-strings.
18554 (resize-mini-window, resize-window): New functions.
18555 (adjust-window-trailing-edge, enlarge-window, shrink-window):
18556 Move here from window.c.
18557 (maximize-window, minimize-window): New functions.
18558 (delete-window, delete-other-windows, split-window): Move here
18559 from window.c.
18560 (window-split-min-size): New function.
18561 (split-window-keep-point): Mention split-window-above-each-other
18562 instead of split-window-vertically.
2b75be67 18563 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
18564 Rename split-window-vertically to split-window-above-each-other
18565 and provide defalias for old definition.
18566 (split-window-side-by-side, split-window-horizontally):
18567 Rename split-window-horizontally to split-window-side-by-side
18568 and provide defalias for the old definition.
562dd5e9
MR
18569 (ctl-x-map): Move bindings for delete-window,
18570 delete-other-windows and enlarge-window here from window.c.
18571 Replace bindings for split-window-vertically and
18572 split-window-horizontally by bindings for
18573 split-window-above-each-other and split-window-side-by-side.
18574
18575 * cus-start.el (all): Remove entries for window-min-height and
18576 window-min-width. Add entries for window-splits and
18577 window-nest.
18578
f0da764a
GM
185792011-06-09 Glenn Morris <rgm@gnu.org>
18580
80675c21
GM
18581 * calendar/appt.el (appt-mode-line): New function.
18582 (appt-check, appt-disp-window): Use it.
18583
f0da764a
GM
18584 * files.el (hack-one-local-variable-eval-safep):
18585 Allow minor-modes with explicit +/-1 arguments.
18586
59f623b7
TZ
185872011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
18588
18589 * term/xterm.el (xterm): Add defgroup.
18590 (xterm-extra-capabilities): Add defcustom to supply known xterm
18591 capabilities, skip querying them, or query them (default).
18592 (terminal-init-xterm): Use it.
18593 (terminal-init-xterm-modify-other-keys): New function to set up
18594 modifyOtherKeys support to simplify `terminal-init-xterm'.
18595
9aab8e0d
MR
185962011-06-09 Martin Rudalics <rudalics@gmx.at>
18597
18598 * window.el (resize-window-reset, resize-window-reset-1)
18599 (resize-subwindows-skip-p, resize-subwindows-normal)
18600 (resize-subwindows, resize-other-windows, resize-this-window)
18601 (resize-root-window, resize-root-window-vertically)
18602 (window-deletable-p, window-or-subwindow-p)
18603 (frame-root-window-p): New functions.
18604
e8b08aee
GM
186052011-06-09 Glenn Morris <rgm@gnu.org>
18606
18607 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18608 (ange-ftp-get-files): Use it.
18609
254c37a5
AK
186102011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
18611
18612 * mail/sendmail.el (mail-recover-1, mail-recover):
18613 * files.el (recover-file, recover-session):
18614 Handle dired-listing-switches not being just a single short option.
18615
35d7dbd3
GM
186162011-06-09 Glenn Morris <rgm@gnu.org>
18617
18618 * calendar/appt.el (appt-display-message, appt-disp-window):
18619 Handle lists of appointments.
18620
387522b2
MR
186212011-06-08 Martin Rudalics <rudalics@gmx.at>
18622
2b75be67
SM
18623 * window.el (one-window-p): Move down in code.
18624 Rewrite doc-string.
18625 (window-current-scroll-bars): Rewrite doc-string.
18626 Normalize live window argument.
387522b2
MR
18627 (walk-windows, get-window-with-predicate, count-windows):
18628 Rewrite doc-string. Use window-list-1.
18629 (window-in-direction-2, window-in-direction, get-mru-window):
18630 New functions.
18631
d8e4b68b 186322011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
18633
18634 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18635 Doc fix (Bug#8713).
18636
186372011-06-08 Chong Yidong <cyd@stupidchicken.com>
18638
18639 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18640
186412011-06-08 Juanma Barranquero <lekktu@gmail.com>
18642
18643 * loadhist.el (unload-feature-special-hooks):
18644 Add `comint-output-filter-functions'.
18645
0de12c52
IK
186462011-06-08 Ivan Kanis <gnu@kanis.fr>
18647
18648 * calendar/appt.el (appt-check): Move some initializations into the let.
18649
f3d1777e
MR
186502011-06-08 Martin Rudalics <rudalics@gmx.at>
18651
18652 * window.el (window-height): Defalias to window-total-height.
18653 (window-width): Defalias to window-body-width.
18654
18af70d0
CY
186552011-06-07 Chong Yidong <cyd@stupidchicken.com>
18656
18657 * image-mode.el (image-toggle-animation): New command.
18658 (image-mode-map): Bind it to RET.
18659 (image-mode): Update message.
18660 (image-toggle-display-image): Avoid a spurious cache flush.
18661 (image-transform-rotation): Doc fix.
18662 (image-transform-properties): Return quickly in the normal case.
18663 (image-animate-loop): Rename from image-animate-max-time.
18664
2b75be67 18665 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
18666 (create-animated-image): Remove unnecessary function.
18667 (image-animate): Rename from image-animate-start. New arg.
2b75be67 18668 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
18669 (image-animate-timer): Use car-safe.
18670 (image-animate-timeout): Rename argument.
18671
190b47e6
MR
186722011-06-07 Martin Rudalics <rudalics@gmx.at>
18673
18674 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
18675 window.c. Rename first argument to ALL-FRAMES.
18676 Rephrase doc-strings.
18677 (get-buffer-window-list): Rewrite using window-list-1.
18678 Rephrase doc-string.
a1511caf
MR
18679 (window-safe-min-height, window-safe-min-width): New constants.
18680 (window-size-ignore, window-min-size, window-min-size-1)
18681 (window-sizable, window-sizable-p, window-size-fixed-1)
18682 (window-size-fixed-p, window-min-delta-1, window-min-delta)
18683 (window-max-delta-1, window-max-delta, window-resizable)
18684 (window-resizable-p, window-total-height, window-total-width)
18685 (window-body-width): New functions.
18686 (window-full-height-p, window-full-width-p): Rewrite using
18687 window-total-size.
18688 (window-body-height): Rewrite using window-body-size.
190b47e6 18689
85cc1f11
MR
186902011-06-06 Martin Rudalics <rudalics@gmx.at>
18691
18692 * window.el (window-right, window-left, window-child)
18693 (window-child-count, window-last-child, window-any-p)
18694 (normalize-live-buffer, normalize-live-frame)
18695 (normalize-any-window, normalize-live-window)
18696 (window-iso-combination-p, window-iso-combined-p)
18697 (window-iso-combinations)
18698 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18699 (windows-with-parameter, window-with-parameter)
18700 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
18701 (window-atom-check, window-side-check, window-check):
18702 New functions.
85cc1f11
MR
18703 (ignore-window-parameters, window-sides, window-sides-vertical)
18704 (window-sides-slots): New variables.
18705 (window-size-fixed): Move down in code. Minor doc-string fix.
18706
e7156492
AS
187072011-06-05 Andreas Schwab <schwab@linux-m68k.org>
18708
18709 * comint.el (comint-dynamic-complete-as-filename)
18710 (comint-dynamic-complete-filename): Correctly call
18711 completion-in-region.
18712
7e821d0d
DD
187132011-06-05 Deniz Dogan <deniz@dogan.se>
18714
18715 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18716 in last change.
18717
ac09b8a1
DD
187182011-06-05 Deniz Dogan <deniz@dogan.se>
18719
18720 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18721 (rcirc): Use it to prompt for encryption.
18722
34699b85
RW
187232011-06-05 Roland Winkler <winkler@gnu.org>
18724
18725 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18726 (bibtex-search-entries): New command bound to C-c C-a.
18727 (bibtex-display-entries): New function.
18728
004dedd3
RW
187292011-06-05 Roland Winkler <winkler@gnu.org>
18730
18731 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18732 (bibtex-insert-kill): After yanking insert newline if necessary.
18733 (bibtex-initialize): Call bibtex-string-files-init only once.
18734 (bibtex-mode): Do not call easy-menu-add.
18735 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18736 (bibtex-yank): Set arg properly if nil.
18737
022fe7ce
RW
187382011-06-05 Roland Winkler <winkler@gnu.org>
18739
2b75be67
SM
18740 * textmodes/bibtex.el (bibtex-search-entry-globally):
18741 New variable.
022fe7ce
RW
18742 (bibtex-search-entry): Use it.
18743
b7c3692a
RW
187442011-06-05 Roland Winkler <winkler@gnu.org>
18745
18746 * textmodes/bibtex.el (bibtex-entry-format): New option
18747 sort-fields.
18748 (bibtex-format-entry, bibtex-reformat): Honor this option.
18749 (bibtex-parse-entry): Return fields in proper order.
18750
8eda563d
JB
187512011-06-05 Juanma Barranquero <lekktu@gmail.com>
18752
18753 * doc-view.el (doc-view-remove-if): Move computation of result out
18754 of `dolist' to silence misleading lexical-binding warning.
18755
7dbe3dbc
CY
187562011-06-04 Chong Yidong <cyd@stupidchicken.com>
18757
18758 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18759 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18760
0c33dd17
MA
187612011-06-04 Michael Albinus <michael.albinus@gmx.de>
18762
18763 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18764 "SunOS 5.10".
18765
f8f91c2b
MA
187662011-06-04 Michael Albinus <michael.albinus@gmx.de>
18767
18768 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18769 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18770 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18771 (tramp-parse-putty):
18772 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18773 (tramp-completion-function-alist-ssh)
18774 (tramp-completion-function-alist-telnet)
18775 (tramp-completion-function-alist-su)
18776 (tramp-completion-function-alist-putty): Set `tramp-autoload'
18777 cookie.
18778
18779 * net/tramp-ftp.el:
18780 * net/tramp-sh.el:
18781 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18782 load "tramp.el" `tramp-set-completion-function'.
18783
e17d9003
SM
187842011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
18785
18786 * shell.el: Require and use pcomplete.
18787 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18788 (shell-completion-vars): Set pcomplete-default-completion-function.
18789
6c4cab03
DD
187902011-06-04 Deniz Dogan <deniz@dogan.se>
18791
18792 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18793 `memq' (Bug#8799).
18794
ea9fafe0
SM
187952011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18796
18797 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18798
b3e945d3
JB
187992011-06-02 Juanma Barranquero <lekktu@gmail.com>
18800
18801 * bs.el (bs--mark-unmark, bs--nth-wrapper):
18802 * mpc.el (mpc-select-extend, mpc-songpointer-context):
18803 * vc/log-view.el (log-view-beginning-of-defun):
18804 * vc/smerge-mode.el (smerge-apply-resolution-patch)
18805 (smerge-refine-forward, smerge-refine-chopup-region):
18806 Silence warning for unused `dotimes' counter variables.
18807
7d520089
SM
188082011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
18809
18810 * net/tramp.el (tramp-with-progress-reporter): Rename from
18811 with-progress-reporter. Use `declare'.
18812 * net/tramp-smb.el:
18813 * net/tramp-sh.el:
18814 * net/tramp-gvfs.el: Update all uses.
18815
a1c2400f
JB
188162011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
18817
18818 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18819 buffer isn't killed before making it current.
18820
2403c841
SM
188212011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18822
18823 Silence various byte-compiler warnings.
18824 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18825 `access-type' and new obsolescence format.
18826 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18827 new format.
18828 (byte-compile-check-variable): New `access-type' argument.
18829 Only warn if the access-type is obsolete.
18830 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18831 (byte-compile-variable-set): Adjust callers.
18832 * help-fns.el (describe-variable): Adjust to new obsolescence format.
18833 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18834 setting it as obsolete.
18835 * simple.el (minibuffer-completing-symbol):
18836 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18837 access as obsolete.
18838 * minibuffer.el (minibuffer-completing-file-name): Don't make it
18839 obsolete yet.
18840 * international/quail.el (quail-mouse-choose-completion): Remove unused
18841 code referring to obsolete var.
18842 (quail-choose-completion-string): Remove.
18843 * server.el (server-clients-with, server-kill-buffer-query-function)
18844 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18845 * proced.el (proced-send-signal):
18846 * emacs-lisp/lisp.el (lisp-complete-symbol):
18847 Replace completion-annotate-function with completion-extra-properties.
18848
2462470b
SM
188492011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
18850
fb5b2591
SM
18851 * simple.el (goto-line): Use read-number.
18852 (overriding-map-is-bound): Remove.
18853 (saved-overriding-map): Change default.
18854 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18855 Take the map as argument.
18856 (universal-argument, negative-argument, digit-argument): Use it.
18857 (restore-overriding-map): Adjust.
18858 (do-auto-fill): Use fill-forward-paragraph.
18859 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18860
fd6fa53f
SM
18861 * minibuffer.el (minibuffer-inactive-mode-map): New var.
18862 (minibuffer-inactive-mode): New major mode.
18863 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18864 the *Messages* buffer" hack.
18865 (mouse-popup-menubar): Don't burp if the event is a normal key.
18866
2462470b
SM
18867 Miscellaneous tweaks.
18868 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18869 lexical scoping as in subr.el's dolist and dotimes.
18870 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18871 Silence compiler warning.
18872 * thingatpt.el (forward-whitespace): Trivial coding style fix.
18873 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18874 * international/ccl.el (ccl-compile): Trivial simplification.
18875 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18876 * emacs-lisp/testcover.el (testcover-end): Remove spurious
18877 `printflag' argument.
18878 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18879 Purecopy the whole obsolescence data.
18880
108bf785
LL
188812011-06-01 Leo Liu <sdl.web@gmail.com>
18882
18883 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18884 improve doc-string as suggested by Marco Pessotto
18885 <melmothx@gmail.com>.
18886 (rcirc-print): Fix last change.
18887
30a23501
SM
188882011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18889
18890 * minibuffer.el (complete-with-action): Return nil for the metadata and
18891 boundaries of non-functional tables.
18892 (completion-table-dynamic): Return nil for the metadata.
18893 (completion-table-with-terminator): Add default case, using
18894 complete-with-action.
18895 (completion--metadata): New function.
18896 (completion-all-sorted-completions, minibuffer-completion-help): Use it
18897 to try and avoid pathological performance problems.
18898 (completion--embedded-envvar-table): Return `category' metadata.
18899
bcd54f83
LMI
189002011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
18901
18902 * subr.el (process-alive-p): New tiny convenience function.
18903
e227544d
SM
189042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18905
18906 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18907 content but also its previous major mode.
18908
e8296fdc
HE
189092011-05-31 Helmut Eller <eller.helmut@gmail.com>
18910
4d61f28d 18911 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
18912 *Backtrace* buffer when we exit with C-M-c.
18913
620c53a6
SM
189142011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
18915
18916 * minibuffer.el: Add metadata method to completion tables.
18917 (completion-category-overrides): New defcustom.
18918 (completion-metadata, completion--field-metadata)
18919 (completion-metadata-get, completion--styles)
18920 (completion--cycle-threshold): New functions.
18921 (completion-try-completion, completion-all-completions):
18922 Add `metadata' argument to choose completion-styles.
18923 (completion--do-completion): Use metadata to choose cycling.
18924 (completion-all-sorted-completions): Use metadata for sorting.
18925 Remove :completion-cycle-penalty which is not needed any more.
18926 (completion--try-word-completion): Add `metadata' argument.
18927 (minibuffer-completion-help): Check metadata for annotation function
18928 and sorting.
18929 (completion-file-name-table): Return `category' metadata.
18930 (minibuffer-completing-file-name): Make obsolete.
18931 * simple.el (minibuffer-completing-symbol): Make obsolete.
18932 * icomplete.el (icomplete-completions): Pass new `metadata' param to
18933 completion-try-completion.
18934
1257e755
SM
189352011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
18936
18937 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
18938
3767e706
LL
189392011-05-30 Leo Liu <sdl.web@gmail.com>
18940
18941 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
18942 (rcirc-print): Decode all incoming messages (bug#8744).
18943 (rcirc-decode-coding-system): Allow value nil for automatic coding
18944 system detection.
3767e706 18945
d1a5d56a
GM
189462011-06-01 Glenn Morris <rgm@gnu.org>
18947
18948 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
18949
e8cbec34
CY
189502011-05-29 Chong Yidong <cyd@stupidchicken.com>
18951
18952 * image.el (image-animate-max-time): Allow nil and t values.
18953 Default to nil.
18954 (create-animated-image): Doc fix.
18955 (image-animate-start): Remove second arg; just use
18956 image-animate-max-time.
18957 (image-animate-timeout): Doc fix. Args changed.
18958
18959 * image-mode.el (image-toggle-display-image): Ensure that the
18960 image spec passed to the animate timer is the same object as in
58179cce 18961 the buffer's display property (Bug#6981).
e8cbec34
CY
18962 (image-transform-properties): Doc fix.
18963
18964 * image.el (image-animate-max-time): Default to nil.
18965
159daf87
MR
189662011-05-29 Martin Rudalics <rudalics@gmx.at>
18967
18968 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
18969 entire buffer list (Bug#8184).
18970
d66c4c7c
CY
189712011-05-29 Chong Yidong <cyd@stupidchicken.com>
18972
18973 * image.el (imagemagick-types-inhibit)
18974 (imagemagick-register-types): Doc fix.
18975
80aec780
DD
189762011-05-29 Deniz Dogan <deniz@dogan.se>
18977
18978 * net/rcirc.el (rcirc): Use the user's stored encryption method by
18979 default.
18980
1dd3c2d9
CY
189812011-05-29 Chong Yidong <cyd@stupidchicken.com>
18982
18983 * select.el: Don't perform clipboard-manager saving in hooks;
18984 leave the hooks empty.
18985
60e56523
LL
189862011-05-28 Leo Liu <sdl.web@gmail.com>
18987
18988 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
18989 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
18990 (occur-edit-mode): New major mode (Bug#8463).
18991 (occur-after-change-function): New function.
18992 (occur-engine): Give Occur tags a read-only property.
18993
2b1e1a22
KR
189942011-05-28 Kevin Ryde <user42@zip.com.au>
18995
18996 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
18997
5d344e88
CY
189982011-05-28 Chong Yidong <cyd@stupidchicken.com>
18999
8e6ca83d
CY
19000 * bindings.el (help-echo): Make the initial non-indicator dash
19001 empty on graphical terminals (Bug#7295).
19002
5d344e88
CY
19003 * files.el (auto-mode-alist): Move config rule after the
19004 in-stripping one (Bug#8547).
19005
bfbbace7
CY
19006 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19007
fbeba6e2
CY
19008 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19009 setting (Bug#8740).
19010
60ed8c72
AA
190112011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19012
4ac619f0
AA
19013 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19014 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19015 (Bug#8539).
60ed8c72 19016
23db196e
CY
190172011-05-28 Chong Yidong <cyd@stupidchicken.com>
19018
19019 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19020
5012f24c
DK
190212011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19022
19023 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19024 (hs-hide-block-at-point, hs-find-block-beginning)
19025 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19026 (Bug#8279).
19027
6a639b16
GM
190282011-05-28 Glenn Morris <rgm@gnu.org>
19029
19030 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19031
d43eaf2c
CY
190322011-05-28 Chong Yidong <cyd@stupidchicken.com>
19033
5199bde1
CY
19034 * help-fns.el (describe-function-1): If the function is a derived
19035 major mode, print the parent mode.
19036
d43eaf2c
CY
19037 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19038 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19039
423428a8
SM
190402011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19041
0ff8e1ba 19042 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 19043 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
19044 * progmodes/etags.el (tags-completion-at-point-function):
19045 * info-look.el (info-lookup-completions-at-point): Mark as
19046 non-exclusive.
19047 (info-complete): Adjust accordingly.
19048
423428a8
SM
19049 * info-look.el: Convert to lexical-binding and completion-at-point.
19050 (info-lookup-completions-at-point): New function.
19051 (info-complete): Use it and completion-in-region.
19052
b74aa22b
DA
190532011-05-28 Drew Adams <drew.adams@oracle.com>
19054
19055 * isearch.el: Let M-e start with point at the first mismatched char.
19056 (isearch-fail-pos): New function.
19057 (isearch-edit-string): Use it.
19058
66e2e71d
DK
190592011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19060
19061 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19062
b1890b0f 190632011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
19064
19065 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19066 traversal functions for avl-trees.
19067 (avl-tree--stack): New struct.
19068 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19069 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
19070 (avl-tree--do-enter): Add optional `updatefun' arg.
19071 Change return value.
eb95d01d 19072 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
19073 (avl-tree--do-delete): Add `test' and `nilflag' args.
19074 Change return value.
eb95d01d
TC
19075 (avl-tree-member): Add optional `nilflag'
19076 (avl-tree-member-p): New function.
19077 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19078 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19079 (avl-tree-stack-empty-p): New functions.
19080
3769ddcf
TC
19081 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19082 avl-tree--del-balance1 and make it work both ways.
19083 (avl-tree--del-balance2): Remove.
19084 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19085 make it work both ways.
19086 (avl-tree--enter-balance2): Remove.
19087 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19088 New macros.
19089 (avl-tree--mapc, avl-tree-map): Add direction argument.
19090
eb95d01d 190912011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
19092
19093 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19094
a9f737ee
CY
190952011-05-27 Chong Yidong <cyd@stupidchicken.com>
19096
19097 * select.el: Support clipboard managers with built-in function
19098 x-clipboard-manager-save, via delete-frame-functions and
19099 kill-emacs-hook.
19100 (xselect-convert-to-targets): Add MULTIPLE target to list.
19101 (xselect-convert-to-save-targets): New function.
19102
c92a1e54
KH
191032011-05-27 Kenichi Handa <handa@m17n.org>
19104
19105 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19106 let-binding rfc2047-encode-encoded-words to nil.
19107
e145f188
GM
191082011-05-27 Glenn Morris <rgm@gnu.org>
19109
5ec8a862
GM
19110 * mail/emacsbug.el: Don't require url-util.
19111
4b29d9fb
GM
19112 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19113
e145f188
GM
19114 * files.el (set-auto-mode):
19115 Also respect mode: entries at the end of the file. (Bug#8586)
19116
7d15102b
GM
191172011-05-26 Glenn Morris <rgm@gnu.org>
19118
98f593b8
GM
19119 * files.el (hack-local-variables-prop-line, hack-local-variables):
19120 Downcase mode names, as seems to be traditional.
27b48e63 19121 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 19122
7d15102b
GM
19123 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19124 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19125
51d5b4ec
JD
191262011-05-25 Julien Danjou <julien@danjou.info>
19127
19128 * textmodes/rst.el (rst-define-level-faces): Do not define face
19129 symbol if it is already defined.
19130
91513f63
VB
191312011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19132
19133 * play/5x5.el (5x5-new-game, 5x5-randomize):
19134 Reset 5x5-solver-output to nil when a new grid is cast.
19135 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19136 these debugging traces, as defmacro breaks the compiled code.
19137
4d90d6d0
DK
191382011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19139
19140 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19141
e1b90ef6
LL
191422011-05-24 Leo Liu <sdl.web@gmail.com>
19143
19144 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19145 (vc-bzr-sha1): Adapt.
19146
d8e4b68b 19147 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
19148
19149 * bindings.el: Provide sha1 feature.
19150
db0406bb 191512011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
19152
19153 * mail/sendmail.el: Require `rfc2047'.
19154 (mail-insert-from-field): Do not perform RFC2047 encoding.
19155 (mail-encode-header): New function.
19156 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
19157 buffer to the return value of select-message-coding-system.
19158 Call mail-encode-header.
b8d747b9
KH
19159
19160 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19161
db0406bb 191622011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 19163
4d90d6d0
DK
19164 * mail/supercite.el (sc-default-cite-frame):
19165 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 19166
eb8a5e9b
GM
191672011-05-24 Glenn Morris <rgm@gnu.org>
19168
f8630703
GM
19169 * progmodes/python.el (brm-menu): Declare.
19170
8831bbed
GM
19171 * emulation/viper.el (viper-set-hooks): Declare.
19172
eb8a5e9b
GM
19173 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19174 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19175 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19176 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19177 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19178 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19179
a2a25d24
SM
191802011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19181
19182 Add an :exit-function for completion-at-point.
19183
19184 * minibuffer.el (completion--done): New fun.
19185 (completion--do-completion): Use it. New arg `expect-exact'.
19186 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19187 since completion--do-completion does it for us now.
19188 (minibuffer-force-complete): Use completion--done and
19189 completion--replace. Handle sole-completion case with more care.
19190 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19191 (completion-extra-properties): New var.
19192 (completion-annotate-function): Make obsolete.
19193 (minibuffer-completion-help): Adjust accordingly.
19194 Use completion-list-insert-choice-function.
19195 (completion-at-point, completion-help-at-point):
19196 Bind completion-extra-properties.
19197 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19198 * simple.el (completion-list-insert-choice-function): New var.
19199 (completion-setup-function): Preserve it.
19200 (choose-completion): Pay attention to it, shuffle the code a bit.
19201 (choose-completion-string): New arg `insert-function'.
19202
19203 * textmodes/bibtex.el: Convert to lexical binding.
19204 (bibtex-mode-map): Use completion-at-point.
19205 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19206 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19207 (bibtex-complete): Define as obsolete alias.
19208 (bibtex-complete-internal): Remove.
19209 (bibtex-format-entry): Remove unused sub-group in regexp.
19210 * shell.el (shell--command-completion-data)
19211 (shell-environment-variable-completion):
19212 * pcomplete.el (pcomplete-completions-at-point):
19213 * comint.el (comint--complete-file-name-data): Use :exit-function
19214 instead of completion-table-with-terminator so it also works for
19215 choose-completion.
19216
e44e373d
SM
192172011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19218
4f91a816
SM
19219 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19220
782fc819
SM
19221 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19222 (bug#8710).
19223
e44e373d
SM
19224 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19225
381987c3
KM
192262011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19227
19228 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19229 customization variable and implement: If non-nil, auto-fill will
19230 be inhibited while on topic's header line.
19231
b776bc70
VB
192322011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19233
19234 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 19235 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
19236 always have a solution in grid size = 5 cases.
19237 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19238 (5x5-solver-output, 5x5-log-buffer): New vars.
19239 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19240 Make these variables buffer local to achieve 5x5 multi-session-ness.
19241 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19242 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19243 (5x5-solve-suggest): New funs.
19244 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19245 randomize a grid so that we ensure that there is always a solution.
19246 (5x5-make-random-grid): Allow other movement than flipping.
19247
7de88b6e
KR
192482011-05-23 Kevin Ryde <user42@zip.com.au>
19249
19250 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 19251 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
19252 advice and passes PREDICATE.
19253
b1ef1257
SM
192542011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19255
bbca48fe
SM
19256 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19257 byte-compile-lambda if it's actually a lambda.
19258
b1ef1257
SM
19259 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19260 Fix function quoting. Use backquote better.
19261
92a9cc65
YS
192622011-05-22 Yuanle Song <sylecn@gmail.com>
19263
19264 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19265 matching (Bug#8516).
19266
f0fb8059
JA
192672011-01-22 Jari Aalto <jari.aalto@cante.net>
19268
19269 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19270 different face (Bug#8178).
19271
d5b44c93
CY
192722011-05-22 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19275 defface (Bug#8144).
19276
79106a44
SM
192772011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
19278
9c848d8a
SM
19279 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19280 funcall as well (bug#8712). Warn when performing those conversions.
19281 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19282
79106a44
SM
19283 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19284
88dfa756
GM
192852011-05-22 Glenn Morris <rgm@gnu.org>
19286
19287 * files.el (hack-local-variables-prop-line): Small simplifications.
19288 (hack-local-variables, hack-local-variables-prop-line):
19289 If MODE-ONLY, return the mode, rather than just `t'.
19290
b7cf2c79
SM
192912011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
19292
19293 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19294
3f1a8558
GM
192952011-05-21 Glenn Morris <rgm@gnu.org>
19296
7e4ccca3
GM
19297 * files.el (hack-local-variables-prop-line, hack-local-variables):
19298 If only interested in the mode, don't bother doing the other stuff.
19299
637d46ca
GM
19300 * image-mode.el (image-after-revert-hook):
19301 Redraw all frames on which the image is visible. (Bug#8567)
19302
973d955b
GM
19303 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
19304
3f1a8558
GM
19305 * wid-edit.el (widget-checklist-match-inline):
19306 Fix 2011-04-19 change. (Bug#8649)
19307
96479927
SM
193082011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
19309
1dcf791f
SM
19310 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19311 Also allow singlespace after single-letter capitals followed by a dot.
19312
96479927
SM
19313 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19314 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19315
35fd0881
N
193162011-05-20 Nix <nix@esperi.org.uk>
19317
19318 * files.el (basic-save-buffer-2):
19319 Fix handling of break-hardlink-on-save with non-existent files.
19320
82745640
DD
193212011-05-19 Deniz Dogan <deniz@dogan.se>
19322
19323 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 19324 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 19325
4a720484
GM
193262011-05-19 Glenn Morris <rgm@gnu.org>
19327
d1f21341
GM
19328 * progmodes/f90.el (f90-type-def-re):
19329 Handle "type, bind(c)". (Bug#8691)
19330
4a720484
GM
19331 * emacs-lisp/autoload.el (batch-update-autoloads):
19332 Set autoload-excludes by parsing loadup.el rather than Makefiles.
19333
2fb0a219
MA
193342011-05-18 Michael Albinus <michael.albinus@gmx.de>
19335
19336 * net/tramp.el (tramp-process-actions): Set "first-password-request"
19337 property for the correct connection in case of multihops.
19338
e565dd37
GM
193392011-05-18 Glenn Morris <rgm@gnu.org>
19340
c2571358 19341 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
19342 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19343
e565dd37
GM
19344 Rationalize calendar handling of day and month abbrev-arrays.
19345 * calendar/calendar.el (calendar-customized-p): New function.
19346 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19347 (calendar-day-name-array, calendar-month-name-array): Doc fix.
19348 Add :set function.
19349 (calendar-abbrev-length, calendar-day-abbrev-array)
19350 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19351 (calendar-day-abbrev-array, calendar-month-abbrev-array):
19352 Elements may no longer be nil.
19353 (calendar-day-name, calendar-month-name):
19354 Update for changed nature of abbrev arrays.
19355 * calendar/diary-lib.el (diary-name-pattern):
19356 Update for changed nature of abbrev arrays.
19357 (diary-mark-entries-1): Update calendar-make-alist calls.
19358 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19359 * calendar/cal-html.el (cal-html-day-abbrev-array):
19360 Simply inherit from calendar-day-abbrev-array.
19361
1d99a745
SM
193622011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
19363
19364 * progmodes/grep.el (grep-mode): Disable default
19365 compilation-directory-matcher setting (bug#8684).
19366
7c1d9aa0
MA
193672011-05-17 Michael Albinus <michael.albinus@gmx.de>
19368
19369 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19370 instead of "head" and "tail". There were problems with SunOS 5.9,
19371 and it performs better.
19372
3952e9d8
GM
193732011-05-17 Glenn Morris <rgm@gnu.org>
19374
2dd12e7f
GM
19375 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19376
e4157b9c
GM
19377 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19378 Replace obsolete function.
19379
8e249bbd
GM
19380 * shell.el (pcomplete-parse-arguments-function): Declare.
19381
3952e9d8
GM
19382 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19383 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19384 (appt-check): Doc fixes.
19385 (appt-disp-window-function, appt-delete-window-function):
19386 Remove needless special case in custom :type.
19387 (appt-display-count): Default to 0, not nil.
19388 (appt-check): Reset appt-display-count to 0, not nil.
19389
c71a0d48 193902011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 19391
c71a0d48
GM
19392 * progmodes/python.el (python-font-lock-keywords):
19393 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 19394
31d55be9
SM
193952011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
19396
19397 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19398
3bfacb2f
KR
193992011-05-16 Kevin Ryde <user42@zip.com.au>
19400
19401 * info-look.el (makefile-automake-mode): New setups, looking in
19402 automake manual, then makefile-mode.
19403 (makefile-mode): Remove automake manual, have it just in
19404 makefile-automake-mode since there's various things different or
19405 not relevant to plain make.
19406 (makefile-mode): Remove "other-modes" non-existent automake-mode,
19407 believe a hypothetical automake-mode would go to makefile-mode,
19408 not the other way around.
19409
c8e83751
CY
194102011-05-15 Chong Yidong <cyd@stupidchicken.com>
19411
5e9e35cd
CY
19412 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19413 hunk-end tags (Bug#8672).
19414
c8e83751
CY
19415 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19416 vc-annotate-show-diff-revision-at-line (Bug#8671).
19417
50b23e5a
GM
194182011-05-14 Glenn Morris <rgm@gnu.org>
19419
7210a739
GM
19420 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19421 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
19422 (change-log-font-lock-keywords): Also handle multiple author lines
19423 with leading tabs. (Bug#8644)
7210a739 19424
4691905a
GM
19425 * calendar/appt.el (appt-check): Rename some local variables.
19426 Some simplification/reordering.
19427
50b23e5a
GM
19428 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19429 (feedmail-sendmail-f-doesnt-sell-me-out)
19430 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19431 (feedmail-debug-sit-for, feedmail-queue-express-hook)
19432 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
19433 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19434 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
19435 (feedmail-binmail-gnulinuxish-template):
19436 Rename from feedmail-binmail-linuxish-template.
19437 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19438 Use insert-buffer-substring.
19439
215cda7c
BC
194402011-05-14 Bill Carpenter <bill@carpenter.org>
19441
19442 * mail/feedmail.el (feedmail-patch-level): Increase.
19443 (feedmail-debug): New custom group.
19444 (feedmail-confirm-outgoing-timeout)
19445 (feedmail-sendmail-f-doesnt-sell-me-out)
19446 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19447 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19448 (feedmail-sender-line, feedmail-from-line)
19449 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 19450 (feedmail-spray-this-address)
215cda7c
BC
19451 (feedmail-spray-address-fiddle-plex-list)
19452 (feedmail-queue-use-send-time-for-date)
19453 (feedmail-queue-use-send-time-for-message-id)
19454 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19455 (feedmail-buffer-eating-function):
19456 Doc fixes.
19457 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19458 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19459 (feedmail-message-action-scroll-down): New functions.
19460 (feedmail-queue-directory, feedmail-queue-draft-directory):
19461 Use expand-file-name.
19462 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19463 Remove C-v help entry.
19464 (feedmail-queue-buffer-file-name): New variable.
19465 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19466 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19467 (feedmail-message-action-send-strong, feedmail-message-action-edit)
19468 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19469 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19470 (feedmail-message-action-toggle-spray)
19471 (feedmail-run-the-queue-no-prompts)
19472 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19473 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19474 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19475 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19476 (feedmail-envelope-deducer, feedmail-fiddle-from)
19477 (feedmail-fiddle-sender, feedmail-default-date-generator)
19478 (feedmail-fiddle-date, feedmail-fiddle-message-id)
19479 (feedmail-fiddle-spray-address)
19480 (feedmail-fiddle-list-of-spray-fiddle-plexes)
19481 (feedmail-fiddle-list-of-fiddle-plexes)
19482 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19483 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19484 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19485 Change default. Doc fix.
19486 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19487 (feedmail-binmail-linuxish-template): New constant.
19488 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
19489 Respect feedmail-sendmail-f-doesnt-sell-me-out.
19490 (feedmail-send-it): Add debug call.
19491 Use feedmail-queue-buffer-file-name, and
19492 feedmail-send-it-immediately-wrapper.
19493 (feedmail-message-action-send): Add debug call.
19494 Use feedmail-send-it-immediately-wrapper.
19495 (feedmail-queue-express-to-queue): Add debug call.
19496 Run feedmail-queue-express-hook.
19497 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
19498 (feedmail-message-action-help-blat):
19499 Rename from feedmail-queue-send-edit-prompt-help-first.
19500 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
19501 Check line-endings. Handle errors better.
19502 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19503 Doc fix. Add debug call.
19504 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
19505 Use feedmail-queue-send-edit-prompt-inner.
19506 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19507 (feedmail-queue-send-edit-prompt-inner): New function, extracted
19508 from feedmail-queue-send-edit-prompt.
19509 (feedmail-queue-send-edit-prompt-help)
19510 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19511 (feedmail-tidy-up-slug): Add debug call.
19512 Respect feedmail-queue-slug-suspect-regexp.
19513 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19514 (feedmail-dump-message-to-queue): Add debug call.
19515 Expand queue-directory.
19516 (feedmail-dump-message-to-queue): Change message slightly.
19517 Use feedmail-say-chatter.
19518 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
19519 (feedmail-send-it-immediately-wrapper): New function.
19520 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
19521 Insert empty string rather than newline. Handle full-frame case.
19522 Use catch/throw. Use feedmail-say-chatter.
19523 (feedmail-fiddle-from): Try mail-host-address.
19524 (feedmail-default-message-id-generator): Doc fix.
19525 Bind system-time-locale. Handle missing end.
19526 (feedmail-fiddle-x-mailer): Add debug call.
19527 Handle feedmail-x-mailer-line being nil.
19528 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19529 Add debug call. Use buffer-substring-no-properties.
19530 (feedmail-say-debug, feedmail-say-chatter): New functions.
19531 (feedmail-find-eoh): Give an explicit error.
19532
42c7e61e
UJ
195332011-05-13 Ulf Jasper <ulf.jasper@web.de>
19534
c2571358 19535 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 19536 family from helvetica to sans.
c2571358 19537 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19538 etc/images/newsticker.
19539
c2571358 19540 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
19541 family from helvetica to sans.
19542
19543 * net/newst-plainview.el (newsticker-new-item-face)
19544 (newsticker-old-item-face, newsticker-immortal-item-face)
19545 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 19546 (newsticker-statistics-face): Change default family from
42c7e61e 19547 helvetica to sans.
c2571358 19548 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
19549 etc/images/newsticker.
19550
5d3385a0
JB
19551 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19552 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
19553 auto-marking.
19554
8497a297
DV
195552011-05-13 Didier Verna <didier@xemacs.org>
19556
19557 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
19558 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19559 TODO entries.
8497a297
DV
19560 (lisp-lambda-list-keyword-parameter-indentation)
19561 (lisp-lambda-list-keyword-parameter-alignment)
19562 (lisp-lambda-list-keyword-alignment): New customizable user options.
19563 (lisp-indent-defun-method): Improve docstring.
19564 (extended-loop-p): Fix comment.
19565 (lisp-indent-lambda-list-keywords-regexp): New variable.
19566 (lisp-indent-lambda-list): New function.
19567 (lisp-indent-259): Use it.
19568 (lisp-indent-defmethod): Support for more than one
19569 method qualifier and properly indent methods lambda-lists.
19570 (defgeneric): Provide a missing common-lisp-indent-function property.
19571
f278f87f
SM
195722011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
19573
19574 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19575 bounds for the empty string (bug#8667).
19576
5233edd7
GM
195772011-05-13 Glenn Morris <rgm@gnu.org>
19578
5237a44f
GM
19579 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19580
8340026c 19581 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 19582 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 19583
5233edd7 19584 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 19585 (appt-time-msg-list): Doc fix.
a5464014 19586 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 19587
92d10796
AS
195882011-05-12 Andreas Schwab <schwab@linux-m68k.org>
19589
19590 * progmodes/ld-script.el (ld-script-keywords)
19591 (ld-script-builtins): Update keywords list.
19592
914a0ae1
SM
195932011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19594
c89be45f
SM
19595 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19596
914a0ae1
SM
19597 * shell.el (shell-completion-vars): New function.
19598 (shell-mode):
19599 * simple.el (read-shell-command): Use it.
19600 (blink-matching-open): No need for " [...]" in minibuffer-message.
19601
98dc3df3
GM
196022011-05-12 Glenn Morris <rgm@gnu.org>
19603
19604 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19605 (appt-check): Simplify.
19606
d2fc7e3d 196072011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 19608
4d61f28d 19609 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
19610 literal "/dev/null".
19611
d2fc7e3d 196122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
19613
19614 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19615 Fix typo.
19616
d2fc7e3d 196172011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 19618
3f254caa
SM
19619 * progmodes/which-func.el (which-function):
19620 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
19621 which might not be defined (Bug#8260).
19622
d45885f7
GM
196232011-05-12 Glenn Morris <rgm@gnu.org>
19624
19625 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19626 Let byte-compile-initial-macro-environment always take precedence.
19627
488086f4
SM
196282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
19629
19630 * net/rcirc.el: Add support for SSL/TLS connections.
19631 (rcirc-server-alist): New field `encryption'.
19632 (rcirc): Check `encryption' settings.
19633 (rcirc-connect): New arg `encryption'. Use open-network-stream.
19634 Merge make-local-variable into `set'.
19635 (rcirc--connection-open-p): New function.
19636 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19637 the process is not a network process (e.g. running gnutls-cli).
19638 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19639 Make rcirc-(en|de)code-coding-system local here.
19640 (rcirc-mode): Merge make-local-variable into `set'.
19641 (rcirc-parent-buffer): Make permanent buffer-local.
19642 (rcirc-multiline-minor-mode): Don't do it here.
19643 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19644 there's no server buffer.
19645
7d3b9d44
GM
196462011-05-11 Glenn Morris <rgm@gnu.org>
19647
f64049c6
GM
19648 * newcomment.el (comment-kill): Prefix "unused" local.
19649
93c9df73
GM
19650 * term/w32console.el (get-screen-color): Declare.
19651
7d3b9d44
GM
19652 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19653 Handle symbol elements of byte-compile-initial-macro-environment.
19654
9e2dd53f
LL
196552011-05-10 Leo Liu <sdl.web@gmail.com>
19656
488086f4
SM
19657 * bookmark.el (bookmark-bmenu-mode-map):
19658 Bind bookmark-bmenu-search to `/'.
8b340240 19659
9e2dd53f 19660 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
19661 (footnote-unicode-string, footnote-unicode-regexp): New variable.
19662 (Footnote-unicode): New function.
19663 (footnote-style-alist): Add unicode style to the list.
19664 (footnote-style): Doc fix.
9e2dd53f 19665
79b70037
GM
196662011-05-10 Jim Meyering <meyering@redhat.com>
19667
19668 Fix doubled-word typos.
19669 * international/quail.el (quail-insert-kbd-layout): and and -> and
19670 * kermit.el: and and -> and
19671 * net/ldap.el (ldap-search-internal): to to -> to
19672 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19673 * progmodes/js.el (js-mode): and and -> and
19674 * textmodes/artist.el (artist-move-to-xy): at at -> at
19675 (artist-draw-region-trim-line-endings): if if -> if
19676 And Safetyc -> Safety.
19677 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19678
b8f82dc1 196792011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 19680 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
19681
19682 * files.el (hack-one-local-variable-eval-safep):
19683 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
19684
4f99f44b
GM
196852011-05-10 Glenn Morris <rgm@gnu.org>
19686
19687 * calendar/diary-lib.el (diary-list-entries-hook)
19688 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19689 (diary-nongregorian-marking-hook, diary-list-entries)
19690 (diary-include-other-diary-files, diary-mark-entries)
19691 (diary-mark-included-diary-files): Doc fixes.
19692
84f29e6b
JB
196932011-05-09 Juanma Barranquero <lekktu@gmail.com>
19694
19695 * misc.el: Require tabulated-list.el during compilation.
19696
9bedd73a
CY
196972011-05-09 Chong Yidong <cyd@stupidchicken.com>
19698
488086f4
SM
19699 * progmodes/compile.el (compilation-start):
19700 Run compilation-filter-hook for the async case too.
9bedd73a
CY
19701 (compilation-filter-hook): Doc fix.
19702
797c735c
DD
197032011-05-09 Deniz Dogan <deniz@dogan.se>
19704
19705 * wdired.el: Remove outdated installation comment. Fix usage
19706 comment.
19707
5f4b1dfe
JB
197082011-05-09 Juanma Barranquero <lekktu@gmail.com>
19709
19710 * misc.el: Implement new command `list-dynamic-libraries'.
19711 (list-dynamic-libraries--loaded-only-p): New variable.
19712 (list-dynamic-libraries--refresh): New function.
19713 (list-dynamic-libraries): New command.
19714
4c44026c
CY
197152011-05-09 Chong Yidong <cyd@stupidchicken.com>
19716
488086f4
SM
19717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19718 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
19719 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
19720 higher priority to avoid clobbering by gnu.
19721
027f966d
CY
197222011-05-08 Chong Yidong <cyd@stupidchicken.com>
19723
19724 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19725 if the face has existing theme settings (Bug#8454).
19726
085f5d7d
CY
197272011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
19728
488086f4
SM
19729 * progmodes/perl-mode.el (perl-imenu-generic-expression):
19730 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 19731
2a86a00c
RS
19732 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19733 special file names `.' and `..' (Bug#8259).
19734
d9c54a06
CY
197352011-05-08 Chong Yidong <cyd@stupidchicken.com>
19736
488086f4
SM
19737 * progmodes/grep.el (grep-mode-font-lock-keywords):
19738 Remove buffer-changing entries.
d9c54a06
CY
19739 (grep-filter): New function.
19740 (grep-mode): Add it to compilation-filter-hook.
19741
19742 * progmodes/compile.el (compilation-filter-hook)
19743 (compilation-filter-start): New defvars.
19744 (compilation-filter): Call compilation-filter-hook prior to
19745 updating the process mark.
19746
c4662635
SM
197472011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
19748
19749 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19750
b0512a1d
EZ
197512011-05-07 Eli Zaretskii <eliz@gnu.org>
19752
605c9376
EZ
19753 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19754 mailclient-send-it even if window-system is nil. (Bug#8595)
19755
c4662635
SM
19756 * term/w32console.el (terminal-init-w32console):
19757 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
19758 background-mode. (Bug#8597)
19759
d1dc2cc2
SM
197602011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
19761
19762 Make bytecomp.el understand that defmethod defines funs (bug#8631).
19763 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19764 New functions.
19765 (defgeneric, eieio--defmethod): Use them.
19766 (eieio-defgeneric): Remove.
19767 (defmethod): Call defgeneric in a way visible to the byte-compiler.
19768
915d1300
GM
197692011-05-07 Glenn Morris <rgm@gnu.org>
19770
a3961c3e
GM
19771 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19772 Use let rather than let*.
19773 (timeclock-find-discrep): Remove unused local.
19774
314347b9
GM
19775 * calendar/diary-lib.el (diary-comment-start): Doc fix.
19776
915d1300
GM
19777 * calendar/appt.el (appt-time-msg-list): Doc fix.
19778
275b59b0
NF
197792011-05-06 Noah Friedman <friedman@splode.com>
19780
19781 * apropos.el (apropos-print-doc): Only use
19782 emacs-lisp-docstring-fill-column when it is bound to an integer,
19783 per that variable's documentation.
19784
6c19f744
SM
197852011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
19786
19787 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 19788 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 19789
60f884b2
GM
197902011-05-06 Glenn Morris <rgm@gnu.org>
19791
5006e634
GM
19792 * calendar/appt.el (appt-message-warning-time): Doc fix.
19793 (appt-warning-time-regexp): New option.
19794 (appt-make-list): Respect appt-message-warning-time.
19795
548d0a63
GM
19796 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19797 New options.
19798 (diary-add-to-list): Strip comments from the displayed string.
19799 (diary-mode): Set comment-start and comment-end.
19800
60f884b2
GM
19801 * vc/diff-mode.el (smerge-refine-subst): Declare.
19802 (diff-refine-hunk): Don't require smerge-mode when compiling.
19803
989681bb
JB
198042011-05-06 Juanma Barranquero <lekktu@gmail.com>
19805
19806 * simple.el (list-processes): Return nil as the docstring says.
19807
a6bc05e1
MA
198082011-05-05 Michael Albinus <michael.albinus@gmx.de>
19809
19810 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19811 to "".
19812 (ange-ftp-write-region, ange-ftp-insert-file-contents)
19813 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19814 determining of binary transfer. (Bug#7383)
19815
23c22e9a
MA
198162011-05-05 Michael Albinus <michael.albinus@gmx.de>
19817
c4662635
SM
19818 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19819 Fix port computation bug. (Bug#8618)
23c22e9a 19820
0bff894f
GM
198212011-05-05 Glenn Morris <rgm@gnu.org>
19822
b8296902
GM
19823 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19824
1f522ce8
GM
19825 * simple.el (shell-dynamic-complete-functions)
19826 (comint-dynamic-complete-functions): Declare.
19827
cf5bee67
GM
19828 * net/network-stream.el (gnutls-negotiate):
19829 * simple.el (tabulated-list-print): Fix declarations.
19830
19831 * progmodes/gud.el (syntax-symbol, syntax-point):
19832 Remove unnecessary and incorrect declarations.
19833
0bff894f 19834 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 19835 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 19836
9869b3ae
SM
198372011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
19838
19839 Fix earlier half-done eieio-defmethod change (bug#8338).
19840 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19841 Streamline and change calling convention.
19842 (defmethod): Adjust accordingly and simplify.
19843 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19844 new eieio--defmethod.
19845 (slot-boundp): Minor CSE simplification.
19846
9c1d5ac5
MZ
198472011-05-05 Milan Zamazal <pdm@zamazal.org>
19848
19849 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19850 (glasses-make-readable): Use glasses-separate-capital-groups.
19851
455c834e
JB
198522011-05-05 Juanma Barranquero <lekktu@gmail.com>
19853
19854 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19855 (warning-series): Doc fix.
19856 (display-warning): Don't try to create the buffer if we just found it.
19857
9ed7c8cb
CY
198582011-05-04 Chong Yidong <cyd@stupidchicken.com>
19859
19860 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19861 (autoload-find-generated-file): New function.
19862 (generate-file-autoloads): Bind generated-autoload-file to
19863 buffer-file-name.
9869b3ae
SM
19864 (update-file-autoloads, update-directory-autoloads):
19865 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
19866 output file (Bug#7989).
19867 (batch-update-autoloads): Doc fix.
19868
0898ca10
JB
198692011-05-04 Juanma Barranquero <lekktu@gmail.com>
19870
19871 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19872
31dfb76c
GM
198732011-05-04 Glenn Morris <rgm@gnu.org>
19874
f330b642
GM
19875 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19876 function, so it follows changes in calendar-date-style.
19877 (diary-fancy-date-matcher): New function.
19878 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19879 (diary-fancy-font-lock-fontify-region-function):
19880 Use diary-fancy-date-pattern as a function.
19881
31dfb76c
GM
19882 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19883 non-numbers for `year' etc pseudo-variables. (Bug#8583)
19884
48e79d6a
TZ
198852011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
19886
19887 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19888 instead of positional arguments. Allow :keylist and :crlfiles
19889 arguments.
19890 (open-gnutls-stream): Call it.
19891
19892 * net/network-stream.el (network-stream-open-starttls): Adjust to
19893 call `gnutls-negotiate' with :process and :hostname arguments.
19894
dd5a5ee0
SM
198952011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
19896
ef80fc09
SM
19897 * minibuffer.el (completion--message): New function.
19898 (completion--do-completion, minibuffer-complete)
19899 (minibuffer-force-complete, minibuffer-complete-word): Use it.
19900 (completion--do-completion): Don't ignore completion-auto-help when in
19901 icomplete-mode.
19902
dd5a5ee0
SM
19903 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19904 internal encoding (e.g. tibetan zero is not whitespace).
19905 (global-whitespace-mode): Prefer save-current-buffer.
19906 (whitespace-trailing-regexp): Remove useless save-match-data.
19907 (whitespace-empty-at-bob-regexp): Minor simplification.
19908
b7d22a83
CY
199092011-05-03 Chong Yidong <cyd@stupidchicken.com>
19910
19911 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19912
5192af46
AM
199132011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
19914
19915 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 19916 Use `concat' to create string for insertion.
5192af46 19917
5767d190
SM
199182011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19919
19920 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19921 Avoid open-line which runs post-self-insert-hook.
19922 (bibtex-fill-entry): Remove unused `end' var.
19923
bf242939
AM
199242011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
19925
5767d190
SM
19926 * textmodes/ispell.el (ispell-add-per-file-word-list):
19927 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 19928
25666126
LL
199292011-05-03 Leo Liu <sdl.web@gmail.com>
19930
19931 * isearch.el (isearch-yank-pop): New command.
5767d190 19932 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
19933 (isearch-forward): Mention it.
19934
52d3c2d0
SM
199352011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
19936
1bcace58
SM
19937 * simple.el (minibuffer-complete-shell-command): Remove.
19938 (minibuffer-local-shell-command-map): Use completion-at-point.
19939 (read-shell-command): Setup completion vars here instead.
19940 (read-expression-map): Bind TAB to symbol completion.
19941
52d3c2d0
SM
19942 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
19943 error directly rather via storing it into `results'.
19944
35813471
LL
199452011-05-02 Leo Liu <sdl.web@gmail.com>
19946
19947 * vc/diff.el: Fix description.
19948
e793a940
LMI
199492011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19950
19951 * server.el (server-eval-at): New function.
19952
8de66e05
LMI
199532011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
19954
19955 * net/network-stream.el (open-network-stream): Take a :nowait
19956 parameter and pass it on to `make-network-process'.
19957 (network-stream-open-plain): Ditto.
19958
dcb79f20
AS
199592011-04-30 Andreas Schwab <schwab@linux-m68k.org>
19960
19961 * faces.el (face-spec-set-match-display): Don't match toolkit
19962 options on terminal frames.
19963
14a7fbd8
SM
199642011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
19965
7eabc1be
SM
19966 * progmodes/pascal.el: Use lexical binding.
19967 (pascal-mode-map): Remove author preferences.
19968
14a7fbd8
SM
19969 * pcomplete.el (pcomplete-std-complete): Don't abuse
19970 completion-at-point.
19971
50f84510
JB
199722011-04-28 Juanma Barranquero <lekktu@gmail.com>
19973
6e087a44
JB
19974 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
19975 removing code that has been dead since 1991 or so.
19976
50f84510
JB
19977 * startup.el (command-line): When warning about "_emacs", use a
19978 delayed warning to allow the user to filter it out.
19979
0ba690bd
DD
199802011-04-28 Deniz Dogan <deniz@dogan.se>
19981
19982 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
19983 user has not joined.
19984
08abfaad
SM
199852011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19986
19987 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
19988 aren't any completions at point.
19989
638f053a
JB
199902011-04-28 Juanma Barranquero <lekktu@gmail.com>
19991
19992 * subr.el (display-delayed-warnings): New function.
19993 (delayed-warnings-hook): New variable.
19994
8fff8daa
SM
199952011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
19996
08abfaad
SM
19997 * minibuffer.el (completion-at-point, completion-help-at-point):
19998 Don't presume that a given completion-at-point-function will always
19999 use the same calling convention.
20000
8fff8daa
SM
20001 * pcomplete.el (pcomplete-completions-at-point):
20002 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20003 pcomplete-seen is non-nil.
20004 (pcomplete-comint-setup): Also recognize the new comint/shell
20005 completion functions.
20006 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20007 pcomplete-seen is non-nil.
20008
841a1577 200092011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 20010
841a1577 20011 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 20012 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 20013 the first character in the entry. This allows for code to add its
211ec907
UJ
20014 own uid to the entry.
20015 (icalendar--convert-float-to-ical): Add export of
20016 `diary-float'-entries save for those with the optional DAY
20017 argument.
20018
2a782793
DC
200192011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20020
20021 * subr.el (shell-quote-argument): Use alternate escaping strategy
20022 when we spot a variable reference in a string.
20023
0438ce91
DC
200242011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20025
20026 * cus-start.el (all): Define customization for debug-on-event.
20027
841a1577 200282011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
20029
20030 * subr.el (shell-quote-argument): Escape correctly under Windows.
20031
d090ed6c
SM
200322011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20033
20034 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20035
bfd31217
MA
200362011-04-25 Michael Albinus <michael.albinus@gmx.de>
20037
d090ed6c
SM
20038 * net/tramp.el (tramp-process-actions): Add POS argument.
20039 Delete region between POS and (pos).
bfd31217 20040
d090ed6c
SM
20041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20042 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
20043 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20044
20045 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20046 position in `tramp-process-actions' call.
20047
20048 * net/trampver.el: Update release number.
20049
e92f3bd3
SM
200502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20051
850256b5
SM
20052 * custom.el (defcustom): Obey lexical-binding.
20053
e92f3bd3
SM
20054 Fix octave-inf completion problems reported by Alexander Klimov.
20055 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20056 Inherit from octave-mode-syntax-table.
20057 (inferior-octave-mode): Set info-lookup-mode.
20058 (inferior-octave-completion-at-point): New function.
20059 (inferior-octave-complete): Use it and completion-in-region.
20060 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20061 comint-filename-completion.
20062 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20063 symbol elements which shouldn't be word elements.
20064 (octave-font-lock-keywords, octave-beginning-of-defun)
20065 (octave-function-header-regexp): Adjust regexps accordingly.
20066 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20067
cd22b309
JB
200682011-04-25 Juanma Barranquero <lekktu@gmail.com>
20069
20070 * net/gnutls.el (gnutls-errorp): Declare before first use.
20071
8b492194
TZ
200722011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20073
20074 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20075 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 20076 default trustfile exists before going to use it. Add missing
5a5fa834 20077 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
20078 Reported by Claudio Bley <claudio.bley@gmail.com>.
20079 (open-gnutls-stream): Add usage example.
20080
20081 * net/network-stream.el (network-stream-open-starttls): Give host
20082 parameter to `gnutls-negotiate'.
20083 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 20084 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 20085
841a1577 200862011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 20087
cd22b309
JB
20088 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20089 Use correct match group (bug#8438).
05842630 20090
3ba7869c
CY
200912011-04-24 Chong Yidong <cyd@stupidchicken.com>
20092
512e3ae1
CY
20093 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20094 (package-menu--generate): New arg specifying packages to show.
20095 (package-menu-refresh, package-menu-execute, list-packages):
20096 Callers changed.
20097 (package-show-package-list): New function, replacing deleted
20098 package--list-packages (renamed because it is non-internal).
20099
20100 * finder.el (finder-list-matches): Use package-show-package-list
20101 instead of deleted package--list-packages.
20102
e92f3bd3
SM
20103 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20104 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
20105 (vc-annotate-mode-map): Bind it to RET.
20106
7031be6d
UR
201072011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20108
20109 * progmodes/etags.el (next-file): Don't use set-buffer to change
20110 buffers (Bug#8478).
20111
4ef177aa
CY
201122011-04-24 Chong Yidong <cyd@stupidchicken.com>
20113
c8d173eb
CY
20114 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20115
4ef177aa
CY
20116 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20117 (apropos-accumulator): Doc fix.
20118 (apropos-function, apropos-macro, apropos-command)
20119 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20120 (apropos-plist): Add face property.
20121 (apropos-symbols-internal): Fix indentation.
20122 (apropos-print): Simplify help, and recognize apropos-multi-type.
20123 (apropos-print-doc): Use button-type-get to extract the button's
20124 face property. Fill docstring (Bug#8352).
20125
4ffd0d6b 201262011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
20127
20128 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20129
c6c32125 20130 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 20131 (mpuz-mode-map): Use mapc.
c6c32125
JB
20132 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20133 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20134 Fix typos in docstrings.
20135
58d468b4
JB
20136 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20137 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20138
6470c3c6
JB
20139 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20140
4ffd0d6b 201412011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
20142
20143 * minibuffer.el (completion--do-completion): Avoid the "Next char
20144 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20145
3ad8bad0
CY
20146 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20147 mouse-2 into unread-command-events, it is interpreted correctly.
20148
71d73c9c 20149 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 20150 (image-toggle-display): Doc fix.
71d73c9c 20151
841a1577 201522011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 20153
4ffd0d6b
GM
20154 * textmodes/page.el (what-page): Use line-number-at-pos to
20155 calculate line number (Bug#6825).
6e1dbaa9 20156
c2fb1b60
JB
201572011-04-22 Juanma Barranquero <lekktu@gmail.com>
20158
20159 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20160 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20161 Pass argument NO-DEFAULT to `find-tag-interactive'.
20162
e02f48d7
JB
201632011-04-22 Juanma Barranquero <lekktu@gmail.com>
20164
20165 Lexical-binding cleanup.
20166
20167 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20168 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20169 * progmodes/ada-prj.el (ada-prj-initialize-values)
20170 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20171 (ada-prj-show-value):
20172 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20173 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20174 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20175 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20176 * progmodes/bug-reference.el (bug-reference-push-button):
20177 * progmodes/fortran.el (fortran-line-length):
20178 * progmodes/glasses.el (glasses-change):
20179 * progmodes/octave-mod.el (octave-fill-paragraph):
20180 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20181 (python-pdbtrack-grub-for-buffer, python-sentinel):
20182 * progmodes/sql.el (sql-save-connection):
20183 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20184 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20185 Mark unused parameters.
20186
20187 * progmodes/compile.el (compilation--flush-directory-cache)
20188 (compilation--flush-parse, compile-internal): Mark unused parameters.
20189 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20190 (compilation-next-error-function): Remove unused variable `timestamp'.
20191
20192 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20193 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20194
20195 * progmodes/dcl-mode.el (dcl-end-of-command):
20196 Remove unused variable `start'.
20197 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20198 (dcl-option-value-basic, dcl-option-value-offset)
20199 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20200 Mark unused parameters.
20201 (dcl-save-local-variable): Remove unused variable `val'.
20202 (mode): Declare.
20203
20204 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20205 Mark unused parameters.
20206 (delphi-ignore-changes): Move before first use.
20207 (delphi-charset-token-at): Remove unused variable `start'.
20208 (delphi-else-start): Remove unused variable `if-count'.
20209 (delphi-comment-block-start, delphi-comment-block-end):
20210 Remove unused variable `kind'.
20211 (delphi-indent-line): Remove unused variable `new-point'.
20212
20213 * progmodes/ebrowse.el (ebrowse-files-list)
20214 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20215 Mark unused parameters. Don't quote `lambda'.
20216 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20217 Don't quote `lambda'.
20218 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20219 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20220 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20221 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20222 Use `ignore-errors'.
20223 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20224 (ebrowse-view/find-file-and-search-pattern)
20225 (ebrowse-view/find-member-declaration/definition):
20226 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20227 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20228 Rename parameter PREFIX-ARG to PREFIX.
20229 (ebrowse-tags-read-name): Remove unused variables `start' and
20230 `member-info'.
20231 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20232 to `tags-file'.
20233
20234 * progmodes/etags.el (local-find-tag-hook): Declare.
20235 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20236 Mark unused parameters.
20237
20238 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20239 (executable-interpret): Mark unused parameter.
20240
20241 * progmodes/flymake.el (flymake-process-sentinel)
20242 (flymake-after-change-function)
20243 (flymake-create-temp-with-folder-structure)
20244 (flymake-get-include-dirs-dot): Mark unused parameters.
20245 (flymake-safe-delete-directory): Remove unused variable `err'.
20246
20247 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20248 (speedbar-timer-fn, speedbar-line-text)
20249 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20250 (speedbar-center-buffer-smartly): Declare functions.
20251 (gdb-find-watch-expression): Remove unused variable `array'.
20252 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20253 (gdb-starting): Mark unused parameters.
20254 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20255 (gdb-table-string): Remove unused variable `res'.
20256 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20257 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20258 (gdb-display-buffer): Remove unused variable `cur-size'.
20259
20260 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20261 allow lexical-binding compilation.
20262 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20263 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20264 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20265 Mark unused parameters.
20266 (gud-gdb-marker-filter): Remove unused variable `match'.
20267 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20268 lambda expressions and funcall them, instead of using `fset'.
20269
20270 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20271 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20272
20273 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20274 variable `header-beg'; use `let'.
20275
20276 * progmodes/icon.el (indent-icon-exp): Remove unused variables
20277 `restart', `last-sexp' and `at-do'.
20278
20279 * progmodes/js.el (js--debug): Mark unused parameter.
20280 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20281 (js--splice-into-items): Remove unused variable `item'.
20282 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20283
20284 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20285 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20286 (makefile-complete): Remove unused variable `try'.
20287 (makefile-fill-paragraph, makefile-match-function-end):
20288 Mark unused parameters.
20289
20290 * progmodes/octave-inf.el (inferior-octave-complete):
20291 Remove unused variable `proc'.
20292 (inferior-octave-output-digest): Mark unused parameter.
20293
20294 * progmodes/perl-mode.el (perl-calculate-indent):
20295 Remove unused variable `err'.
20296
20297 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20298 (prolog-indent-line): Mark unused parameters.
20299 (prolog-indent-line): Remove unused variable `beg'.
20300
20301 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20302 (reporter-dont-compact-list): Declare.
20303
20304 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20305 Remove unused variable `char'.
20306 (sh-debug): Mark unused parameter.
20307 (sh-get-indent-info): Remove unused variable `start'.
20308 (sh-calculate-indent): Remove unused variable `var'.
20309
20310 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20311 (simula-electric-keyword): Remove unused variable `null'.
20312 (simula-search-backward, simula-search-forward): Remove unused
20313 variables `begin' and `end'.
20314
20315 * progmodes/vera-mode.el (vera-guess-basic-syntax):
20316 Remove unused variable `pos'.
20317 (vera-electric-tab, vera-comment-uncomment-region):
20318 Mark unused parameters.
20319 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20320
7ede3b65
CY
203212011-04-22 Chong Yidong <cyd@stupidchicken.com>
20322
20323 * emacs-lisp/package.el (package--builtins, package-alist)
20324 (package-load-descriptor, package-built-in-p, package-activate)
20325 (define-package, package-installed-p)
20326 (package-compute-transaction, package-buffer-info)
20327 (package--push): Doc fix. Distinguish more clearly between
20328 version strings and version lists.
20329
121656e9
JB
203302011-04-21 Juanma Barranquero <lekktu@gmail.com>
20331
20332 Lexical-binding cleanup.
20333
20334 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20335 (5x5-make-mutate-best):
20336 * play/fortune.el (fortune-in-buffer):
20337 * play/gomoku.el (gomoku-init-display):
20338 * play/solitaire.el (solitaire, solitaire-do-check):
20339 * play/tetris.el (tetris-default-update-speed-function):
20340 Mark unused parameters.
20341
20342 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20343 (bubbles--shift): Remove unused variable `char-org'.
20344 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
20345 (bubbles--show-images): Remove unused variable `char'.
20346
20347 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20348 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20349 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20350 (decipher-analyze-buffer): Use ?\s.
20351 (decipher-make-checkpoint): Remove unused variable `mapping'.
20352
20353 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20354
20355 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20356 Remove unused variable `result'; use `let'.
20357
20358 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20359 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20360 (gametree-children-shown-p, gametree-compute-reduced-score):
20361 Use `ignore-errors'.
20362
20363 * play/handwrite.el (ps-lpr-switches): Declare.
20364 (handwrite): Remove unused variables `pmin' and `lastp'.
20365
20366 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20367
20368 * play/landmark.el (landmark-init-display)
20369 (landmark-update-naught-weights): Mark unused parameters.
20370 (landmark-y): Remove unused variable `noise'. Simplify.
20371 (landmark-human-plays): Remove unused variable `score'.
20372
20373 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20374 (mpuz-try-proposal): Remove unused variable `game'.
20375
20376 * play/zone.el (life-patterns): Declare.
20377
80f499c7
JB
203782011-04-20 Juanma Barranquero <lekktu@gmail.com>
20379
20380 * vc/vc.el (ediff-vc-internal): Declare function.
20381
024ff170
SM
203822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20383
c0a193ea
SM
20384 * shell.el: Use lexical-binding and std completion UI.
20385 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20386 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20387 comint-preoutput-filter-functions rather than on
20388 comint-output-filter-functions.
20389 (shell-command-completion, shell--command-completion-data)
20390 (shell-filename-completion, shell-environment-variable-completion)
20391 (shell-c-a-p-replace-by-expanded-directory): New functions.
20392 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20393 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20394 (shell-dynamic-complete-environment-variable): Use them.
20395 (shell-dynamic-complete-as-environment-variable)
20396 (shell-dynamic-complete-as-command): Remove.
20397 (shell-match-partial-variable): Match past point.
20398 * comint.el: Clean up use of completion-at-point-functions.
20399 (comint-completion-at-point): New function.
20400 (comint-mode): Use it completion-at-point-functions.
20401 (comint-dynamic-complete): Make it obsolete.
20402 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20403 (comint-c-a-p-replace-by-expanded-history): New function.
20404 (comint-dynamic-complete-functions)
20405 (comint-replace-by-expanded-history): Use it.
20406 * minibuffer.el (completion-table-with-terminator): Allow dynamic
20407 termination strings. Try harder to avoid second try-completion.
20408 (completion-in-region-mode-map): Disable bindings that don't work yet.
20409
2dbaa080
SM
20410 * comint.el: Use lexical-binding. Require CL.
20411 (comint-dynamic-complete-functions): Use comint-filename-completion.
20412 (comint-completion-addsuffix): Tweak custom type.
20413 (comint-filename-completion, comint--common-suffix)
20414 (comint--common-quoted-suffix, comint--table-subvert)
20415 (comint--complete-file-name-data): New functions.
20416 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20417 (comint-dynamic-list-filename-completions): Use them.
20418 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 20419
2dbaa080
SM
20420 * minibuffer.el (completion-in-region-mode):
20421 Keep completion-in-region-mode--predicate global.
20422 (completion-in-region--postch):
20423 Assume completion-in-region-mode--predicate is not null.
20424
c79a6f38
SM
20425 * progmodes/flymake.el (flymake-start-syntax-check-process):
20426 Obey `dir'. Simplify.
20427
024ff170
SM
20428 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20429 we're in VC after all.
20430
1c6c854e
CS
204312011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
20432
20433 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 20434 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
20435 (vc-version-diff): Use vc-diff-build-argument-list-internal.
20436
bed7f140
SM
204372011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
20438
332e62ab
SM
20439 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20440 add sanity check.
20441
bed7f140
SM
20442 * obsolete/erc-hecomplete.el: Make obsolete.
20443 * obsolete/: Standardize obsolescence info in the header.
20444
f195c582
GM
204452011-04-20 Glenn Morris <rgm@gnu.org>
20446
20447 * calendar/solar.el (solar-horizontal-coordinates):
20448 Use the longitude argument rather than `calendar-longitude'.
20449 (solar-date-next-longitude): Remove unused locals.
20450
cb79b8c0
VJL
204512011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
20452
20453 * whitespace.el: New version 13.2.1.
20454
204552011-04-20 felix <EmacsWiki> (tiny change)
20456
d8e4b68b 20457 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
20458 switching between major modes on a file.
20459
602ea69d
SM
204602011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
20461
20462 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20463 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20464 multi-line comments as well.
20465
06b60517
JB
204662011-04-19 Juanma Barranquero <lekktu@gmail.com>
20467
20468 Lexical-binding cleanup.
20469
20470 * arc-mode.el (archive-mode-revert):
20471 * cmuscheme.el (scheme-interactively-start-process):
20472 * custom.el (custom-initialize-delay):
20473 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20474 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20475 * emacs-lock.el (emacs-lock-clear-sentinel):
20476 * ezimage.el (defezimage):
20477 * follow.el (follow-avoid-tail-recenter):
20478 * fringe.el (set-fringe-mode-1):
20479 * generic-x.el (bat-generic-mode-compile):
20480 * help-mode.el (help-info-variable, help-do-xref)
20481 (help-mode-revert-buffer):
20482 * help.el (view-emacs-todo):
20483 * iswitchb.el (iswitchb-completion-help):
20484 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20485 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20486 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20487 * locate.el (locate-update):
20488 * longlines.el (longlines-encode-region)
20489 (longlines-after-change-function):
20490 * outline.el (outline-isearch-open-invisible):
20491 * ps-def.el (declare-function, charset-dimension, char-width)
20492 (encode-char):
20493 * ps-mule.el (ps-mule-plot-string):
20494 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20495 (recentf-edit-list-select, recentf-edit-list-validate)
20496 (recentf-open-files-action):
20497 * rect.el (delete-whitespace-rectangle-line)
20498 (rectangle-number-line-callback):
20499 * register.el (window-configuration-to-register)
20500 (frame-configuration-to-register):
20501 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20502 * select.el (xselect-convert-to-string, xselect-convert-to-length)
20503 (xselect-convert-to-targets, xselect-convert-to-delete)
20504 (xselect-convert-to-filename, xselect-convert-to-charpos)
20505 (xselect-convert-to-lineno, xselect-convert-to-colno)
20506 (xselect-convert-to-os, xselect-convert-to-host)
20507 (xselect-convert-to-user, xselect-convert-to-class)
20508 (xselect-convert-to-name, xselect-convert-to-integer)
20509 (xselect-convert-to-atom, xselect-convert-to-identity):
20510 * subr.el (declare, ignore, process-kill-without-query)
20511 (text-clone-maintain):
20512 * terminal.el (te-get-char, te-tic-sentinel):
20513 * tool-bar.el (tool-bar-make-keymap):
20514 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20515 * type-break.el (type-break-mode, type-break-noninteractive-query):
20516 * view.el (View-back-to-mark):
20517 * wid-browse.el (widget-browse-action, widget-browse-widget)
20518 (widget-browse-widgets, widget-browse-sexp):
20519 * widget.el (define-widget-keywords):
20520 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20521 Mark unused parameters.
20522
20523 * align.el (align-adjust-col-for-rule): Mark unused parameter.
20524 (align-areas): Remove unused variable `look'.
20525 (align-region): Remove unused variables `real-end' and `pos-list'.
20526
20527 * apropos.el (apropos-score-doc): Remove unused variable `i'.
20528
20529 * bindings.el (mode-line-modified, mode-line-remote):
20530 Mark unused parameters.
20531 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20532
20533 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20534 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20535
20536 * comint.el (comint-history-isearch-pop-state)
20537 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20538 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20539 (comint-substitute-in-file-name): Doc fix.
20540
20541 * completion.el (cmpl-statistics-block): Mark unused parameter.
20542 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20543 (save-completions-to-file, load-completions-from-file):
20544 Remove unused local variable `e'.
20545
20546 * composite.el (compose-chars): Remove unused variable `len'.
20547 (lgstring-insert-glyph): Remove unused variable `g'.
20548 (compose-glyph-string): Remove unused variables `ascent',
20549 `descent', `lbearing' and `rbearing'.
20550 (compose-glyph-string-relative): Remove unused variables
20551 `lbearing', `rbearing' and `wadjust'.
20552 (compose-gstring-for-graphic): Remove unused variables `header',
20553 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
20554 (compose-gstring-for-terminal): Remove unused variables `header'
20555 and `nchars'. Use `let', not `let*'.
20556
20557 * cus-edit.el (Custom-set, Custom-save, custom-reset)
20558 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20559 (Custom-buffer-done, custom-buffer-create-internal)
20560 (custom-browse-visibility-action, custom-browse-group-tag-action)
20561 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20562 (widget-magic-mouse-down-action, custom-toggle-parent)
20563 (custom-add-parent-links, custom-toggle-hide-variable)
20564 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20565 (custom-toggle-hide-face, face, hook, custom-group-link-action)
20566 (custom-face-menu-create, custom-variable-menu-create, get)
20567 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20568 (custom-reset-standard-save-and-update): Remove unused variable `value'.
20569 (customize-apropos): Remove unused variable `tests'.
20570 (custom-group-value-create): Remove unused variable `hidden-p'.
20571 (sort-fold-case): Declare.
20572
20573 * cus-theme.el (custom-reset-standard-faces-list)
20574 (custom-reset-standard-variables-list): Declare.
20575 (customize-create-theme, custom-theme-revert, custom-theme-write)
20576 (custom-theme-choose-mode, customize-themes, custom-theme-save):
20577 Mark unused parameters.
20578
20579 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20580
20581 * delim-col.el (delimit-columns-max): Move defvar before first use.
20582
20583 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 20584 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
20585
20586 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20587 (auto-insert): Declare.
20588 (desktop-restore-file-buffer): Rename desktop-* parameters;
20589 mark unused ones.
20590 (desktop-create-buffer): Rename desktop-* parameters and bind them.
20591 (desktop-buffer): Rename desktop-* parameters.
20592
20593 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20594 (dframe-reposition-frame-xemacs, dframe-help-echo)
20595 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20596 Mark unused parameters.
20597
20598 * dired-aux.el (backup-extract-version-start, overwrite-query)
20599 (overwrite-backup-query, rename-regexp-query)
20600 (rename-non-directory-query): Declare.
20601 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20602 (dired-add-entry): Remove unused variable `orig-file-name'.
20603 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20604 Use parameter PRESERVE-TIME instead of accessing dynamic variable
20605 `dired-copy-preserve-time' directly.
20606 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20607 (dired-insert-subdir-newpos): Rename unused variable `pos'.
20608
20609 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20610 (dired-virtual-revert, dired-make-relative-symlink):
20611 Mark unused parameters.
20612 (manual-program): Declare.
20613 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20614 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20615 wrapped in `with-no-warnings' to avoid replacing one warning by another.
20616
20617 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20618
20619 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20620
20621 * echistory.el (electric-history-in-progress, Helper-return-blurb):
20622 Declare.
20623
20624 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20625
20626 * electric.el (Electric-command-loop): Rename parameter
20627 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20628
20629 * expand.el (expand-in-literal): Remove unused variable `here'.
20630
20631 * facemenu.el (facemenu-add-new-color):
20632 Remove unused variable `docstring'.
20633
20634 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20635 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20636 (face-attr-construct): Mark unused parameter. Doc fix.
20637 (read-color): Remove unused variable `hex-string'.
20638
20639 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20640 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20641 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20642 (display-buffer-other-frame): Remove unused variable `old-window'.
20643 (kill-buffer-hook): Declare.
20644 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20645 Mark unused parameters.
20646 (after-find-file): Pass 1 to `auto-save-mode', not t.
20647
20648 * files-x.el (auto-insert): Declare.
20649 (modify-file-local-variable-prop-line): Remove unused variable `val'.
20650
20651 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 20652 variable `buf'. Mark unused parameter.
06b60517
JB
20653 (find-lisp-insert-directory): Mark unused parameter.
20654
20655 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20656 (format-encode-region): Remove unused variables `cur-buf' and `result'.
20657 (format-common-tail): Remove, unused.
20658 (format-deannotate-region): Remove unused variable `loc'.
20659 (format-annotate-region): Remove unused variable `p'.
20660 (format-annotate-single-property-change): Remove unused variables
20661 `default' and `tail'.
20662
20663 * forms.el (read-file-filter): Declare.
20664 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20665
20666 * frame.el (frame-creation-function-alist): Mark unused parameter.
20667 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20668
20669 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20670 Remove unused parameters.
20671 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20672 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20673
20674 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20675 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20676 (hfy-prepare-tag-map): Mark unused parameters.
20677 (htmlfontify-buffer): Use `called-interactively-p'.
20678
20679 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20680 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20681 (ibuffer-do-occur): Mark unused parameters.
20682 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20683 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20684
20685 * ibuffer.el: Don't quote `lambda'.
20686 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20687 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20688 Mark unused parameters.
20689
20690 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20691 (ido-completing-read): Mark unused parameters.
20692 (ido-copy-current-word): Mark unused parameters;
20693 remove unused variable `name'.
20694 (ido-sort-merged-list): Remove unused parameter `dirs'.
20695
20696 * ielm.el (ielm-input-sender): Mark unused parameter.
20697 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20698 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20699 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20700 `ielm-string' as a dynamic variable accessible from the IELM prompt.
20701 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
20702
20703 * image-dired.el (image-dired-display-thumbs): Remove unused
20704 variables `curr-file' and `count'.
20705 (image-dired-remove-tag): Remove unused variable `start'.
20706 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20707 variable `curr-file'
20708 (image-dired-rotate-original): Remove unused variable `temp-file'.
20709 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20710 Remove unused variable `file'.
20711 (image-dired-gallery-generate): Remove unused variable `curr'.
20712 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20713
20714 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20715
20716 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20717
20718 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20719
20720 * isearch.el (minibuffer-history-symbol): Declare.
20721 (isearch-edit-string): Remove unused variable `err'.
20722 (isearch-message-prefix, isearch-message-suffix):
20723 Mark unused parameters.
20724
20725 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20726
20727 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20728
20729 * makesum.el (double-column): Remove unused variable `cnt'.
20730
20731 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20732 (ido-ignore-item-temp-list): Declare.
20733
20734 * mouse-drag.el (mouse-drag-throw): Remove unused variables
20735 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20736 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20737 (mouse-drag-drag): Remove unused variables `mouse-delta' and
20738 `mouse-col-delta'.
20739
20740 * mouse-sel.el (mouse-extend-internal):
20741 Remove unused variable `orig-window-frame'.
20742
20743 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20744 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20745 Move declarations before first use.
20746 (pcomplete-opt): Mark unused parameters; doc fix.
20747
20748 * proced.el (proced-revert): Mark unused parameter.
20749 (proced-send-signal): Remove unused variable `err'.
20750
20751 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20752 Rename parameter PREFIX-ARG to ARG.
20753 (ps-basic-plot-string, ps-basic-plot-whitespace):
20754 Mark unused parameters.
20755
20756 * replace.el (replace-count): Define.
20757 (occur-revert-function): Mark unused parameters.
20758 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20759 (isearch-case-fold-search, isearch-string): Declare.
20760 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20761 bind `case-fold-search'. Remove unused variables `beg' and `end',
20762 and simplify.
20763 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20764 COUNT and bind `replace-count'.
20765 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20766 to COUNT.
20767
20768 * savehist.el (print-readably, print-string-length): Declare.
20769
20770 * shadowfile.el (shadow-expand-cluster-in-file-name):
20771 Remove unused variable `cluster'.
20772 (shadow-copy-file): Remove unused variable `i'.
20773 (shadow-noquery, shadow-clusters, shadow-site-cluster)
20774 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20775 (shadow-define-literal-group, shadow-define-regexp-group)
20776 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20777
20778 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20779 (shell): Use `called-interactively-p'.
20780 (shell-directory-tracker): Remove unused variable `chdir-failure'.
20781
20782 * simple.el (compilation-context-lines, comint-file-name-quote-list)
20783 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20784 (delete-backward-char): Remove unused variable `ocol'.
20785 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20786 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20787 (event-apply-hyper-modifier, event-apply-shift-modifier)
20788 (event-apply-control-modifier, event-apply-meta-modifier):
20789 Mark unused parameters.
20790 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20791 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20792
20793 * speedbar.el (speedbar-ignored-directory-expressions)
20794 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20795 (speedbar-find-file, speedbar-dir-follow)
20796 (speedbar-directory-buttons-follow, speedbar-tag-find)
20797 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20798 (speedbar-buffers-line-directory, speedbar-buffer-click):
20799 Mark unused parameters.
20800 (speedbar-tag-file): Remove unused variable `mode'.
20801 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20802
20803 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20804
20805 * talk.el (talk): Remove unused variable `display'.
20806
20807 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20808 (tar-write-region-annotate): Mark unused parameter.
20809
20810 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20811 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20812 Declare them, wrapped in `with-no-warnings' to avoid replacing one
20813 warning by another.
20814
20815 * time-stamp.el (time-stamp-string-preprocess):
20816 Remove unused variable `require-padding'.
20817
20818 * tree-widget.el (widget-glyph-enable): Declare.
20819 (tree-widget-action): Mark unused parameter.
20820
20821 * w32-fns.el (x-get-selection): Mark unused parameter.
20822 (autoload-make-program, generated-autoload-file): Declare.
20823
20824 * wdired.el (wdired-revert): Mark unused parameters.
20825 (wdired-xcase-word): Remove unused variable `err'.
20826
20827 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20828 (whitespace-help-scroll): Remove unused variable `data-help'.
20829
20830 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20831 (widget-image-insert, widget-after-change, default)
20832 (widget-default-format-handler, widget-default-notify)
20833 (widget-default-prompt-value, widget-info-link-action)
20834 (widget-url-link-action, widget-function-link-action)
20835 (widget-variable-link-action, widget-file-link-action)
20836 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20837 (widget-field-prompt-internal, widget-field-action, widget-field-match)
20838 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20839 (widget-insert-button-action, widget-delete-button-action, visibility)
20840 (widget-documentation-link-action, widget-documentation-string-action)
20841 (widget-const-prompt-value, widget-regexp-match, symbol)
20842 (widget-coding-system-prompt-value)
20843 (widget-key-sequence-value-to-external, sexp)
20844 (widget-sexp-value-to-internal, character, vector, cons)
20845 (widget-choice-prompt-value, widget-boolean-prompt-value)
20846 (widget-color--choose-action): Mark unused parameters.
20847 (widget-item-match-inline, widget-choice-match-inline)
20848 (widget-checklist-match, widget-checklist-match-inline)
20849 (widget-group-match): Rename parameter VALUES to VALS.
20850 (widget-field-value-set): Remove unused variable `size'.
20851 (widget-color-action): Remove unused variables `value' and `start'.
20852
20853 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 20854 variable `dir'. Doc fix.
06b60517
JB
20855 (windmove-find-other-window): Don't pass it.
20856
20857 * window.el (count-windows): Mark unused parameter.
20858 (bw-adjust-window): Remove unused variable `err'.
20859
20860 * woman.el (woman-file-name): Remove unused variable `default'.
20861 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20862 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20863 (global-font-lock-mode): Declare.
20864 (woman-decode-region): Mark unused parameter.
20865 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20866
20867 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20868 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20869 (x-dnd-handle-moz-url): Remove unused variable `title'.
20870 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20871
20872 * xml.el (xml-parse-tag, xml-parse-attlist):
20873 Remove unused variable `pos'.
20874
bc4f7f3d
GM
208752011-04-19 Glenn Morris <rgm@gnu.org>
20876
20877 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20878 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20879 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20880 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20881 * calendar/cal-html.el (cal-html-insert-minical):
20882 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20883 (calendar-mark-date-pattern):
20884 Prefix "unused" locals.
20885
20886 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20887 optional argument `style'.
20888
20889 * calendar/appt.el (appt-make-list):
20890 * calendar/cal-china.el (calendar-chinese-date-string):
20891 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20892 (diary-hebrew-yahrzeit):
20893 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20894 * calendar/calendar.el (calendar-generate-window):
20895 * calendar/time-date.el (time-to-days):
20896 Remove unused local variables.
20897
16a43933
CY
208982011-04-18 Chong Yidong <cyd@stupidchicken.com>
20899
20900 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20901 glyphless-char-display table.
20902 (tabulated-list-glyphless-char-display): New var.
20903
7eed1860
SS
209042011-04-18 Sam Steingold <sds@gnu.org>
20905
20906 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20907 to acknowledgments.
20908
4d2d1ccd
GM
209092011-04-17 Glenn Morris <rgm@gnu.org>
20910
20911 * calendar/diary-lib.el (diary-sexp-entry):
20912 * calendar/holidays.el (holiday-sexp):
20913 Set debug-on-error rather than the removed stack-trace-on-error.
20914
239da61d
GM
209152011-04-16 Glenn Morris <rgm@gnu.org>
20916
20917 * progmodes/f90.el: Use lexical-binding.
20918 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20919
8b05752a
SM
209202011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20921
daca8ba5
SM
20922 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20923 (mail-mode): Setup mailalias completion here instead.
20924 * mail/mailalias.el: Use lexical-binding.
20925 (pattern, mailalias-done): Declare dynamic.
20926 (mail-completion-at-point-function): New function, from mail-complete.
20927 (mail-complete): Use it.
20928 (mail-completion-expand): New function.
20929 (mail-get-names): Use it.
20930 (mail-directory, mail-directory-process, mail-directory-stream):
20931 Don't use `pattern' for lexically bound arg.
20932
6f542485
SM
20933 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
20934
037e7c3f
SM
20935 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
20936 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
20937 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
20938
8b05752a
SM
20939 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
20940 (byte-save-window-excursion, byte-temp-output-buffer-setup)
20941 (byte-interactive-p): Define them again, for use when inlining
20942 old code.
20943
49093f60
JB
209442011-04-15 Juanma Barranquero <lekktu@gmail.com>
20945
20946 * loadup.el: Use `string-to-number', not `string-to-int'.
20947
b5b8e7de
SM
209482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
20949
20950 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
20951 gud-gdb-complete-command.
20952 (gud-gdb-completions): New function, from gud-gdb-complete-command.
20953 (gud-gdb-completion-at-point): New function.
20954 (gud-gdb-completions): Remove.
20955
f42efeb5
MA
209562011-04-14 Michael Albinus <michael.albinus@gmx.de>
20957
49093f60
JB
20958 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
20959 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
20960 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
20961 whether `executable-find' is bound.
f42efeb5
MA
20962
20963 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
20964
e240cc21
SM
209652011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
20966
20967 * minibuffer.el (completion-in-region-mode-predicate)
20968 (completion-in-region-mode--predicate): New vars.
20969 (completion-in-region, completion-in-region--postch)
20970 (completion-in-region-mode): Use them.
20971 (completion--capf-wrapper): Also return the hook function.
20972 (completion-at-point, completion-help-at-point):
20973 Adjust and provide a predicate.
c2bd2ab0
SM
20974
20975 Preserve arg names for advice of subr and lexical functions (bug#8457).
20976 * help-fns.el (help-function-arglist): Consolidate the subr and
20977 new-byte-code cases. Add argument `preserve-names' to extract names
20978 from the docstring when needed.
20979 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
20980 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
20981 (ad-arglist): Use help-function-arglist's new arg.
20982 (ad-definition-type): Use cond.
20983
c183f693
JB
209842011-04-13 Juanma Barranquero <lekktu@gmail.com>
20985
06641a47
JB
20986 * autorevert.el (auto-revert-handler):
20987 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
20988 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
20989 Don't quote lambda.
20990
c183f693
JB
20991 * image-mode.el (image-transform-set-scale):
20992 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
20993
1e3b6001
G
209942011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20995
20996 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 20997 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
20998 Upgrades via gnutls-cli are too slow to be done opportunistically.
20999
2d6af8dd
JB
210002011-04-12 Juanma Barranquero <lekktu@gmail.com>
21001
21002 * dframe.el (dframe-current-frame): Remove spurious quote.
21003
c0749a51
GM
210042011-04-12 Glenn Morris <rgm@gnu.org>
21005
088d0d61
GM
21006 * calendar/cal-tex.el (cal-tex-end-document):
21007 Try to automatically use latin1 input if needed.
21008
c0749a51
GM
21009 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21010 Don't try to cons a mark onto an empty element.
21011
5c90fde0
LL
210122011-04-11 Leo Liu <sdl.web@gmail.com>
21013
21014 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21015 buffers.
21016 (ido-kill-buffer-at-head): Support killing virtual buffers.
21017
369e974d
CY
210182011-04-10 Chong Yidong <cyd@stupidchicken.com>
21019
21020 * minibuffer.el (completion-show-inline-help): New var.
21021 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
21022 (minibuffer-force-complete, minibuffer-complete-word):
21023 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
21024
21025 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21026 to avoid interference from inline help (Bug#5849).
21027
37f1c930
LL
210282011-04-10 Leo Liu <sdl.web@gmail.com>
21029
099c39a4
JB
21030 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21031 Fix typo.
37f1c930 21032
a32d4040
CY
210332011-04-09 Chong Yidong <cyd@stupidchicken.com>
21034
21035 * image-mode.el (image-toggle-display-image): Signal an error if
21036 not in Image mode.
21037 (image-transform-mode, image-transform-resize)
21038 (image-transform-set-rotation): Doc fix.
daca8ba5 21039 (image-transform-set-resize): Delete.
a32d4040
CY
21040 (image-transform-set-scale, image-transform-fit-to-height)
21041 (image-transform-fit-to-width): Handle image-toggle-display-image
21042 and image-transform-resize directly.
21043
099c39a4 210442011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
21045
21046 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
21047 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21048 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
21049 (doc-view-mode-map): Add bindings for the new functions.
21050
099c39a4 210512011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 21052
4d61f28d 21053 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
21054 Fix typo in docstring.
21055
3726838a
EZ
210562011-04-08 Eli Zaretskii <eliz@gnu.org>
21057
04f33f1e
EZ
21058 * files.el (file-size-human-readable): Produce one digit after
21059 decimal, like "ls -lh" does.
21060
21061 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21062 the file size representation.
21063
3726838a
EZ
21064 * simple.el (list-processes): If async subprocesses are not
21065 available, error out with a clear error message.
21066
cbb59342
CY
210672011-04-08 Chong Yidong <cyd@stupidchicken.com>
21068
21069 * help.el (help-form-show): New function, to be called from C.
21070 Put help-form output in a buffer named differently than *Help*.
21071
e3971c44
EZ
210722011-04-08 Eli Zaretskii <eliz@gnu.org>
21073
21074 * files.el (file-size-human-readable): New function.
21075
21076 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21077 computing the representation inline. Don't require `cl'.
21078
12544bbe
GM
210792011-04-08 Glenn Morris <rgm@gnu.org>
21080
a1de6c6a
GM
21081 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21082
3c4671f4
GM
21083 * net/browse-url.el (browse-url-firefox):
21084 Test system-type, not system-configuration.
21085
b605679c
GM
21086 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21087 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21088 Use log-edit-empty-buffer-p. (Bug#7598)
21089
56442f0c
GM
21090 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21091 (rlogin-mode-map): Initialize in the defvar.
21092 (rlogin): Use ignore-errors.
21093
12544bbe
GM
21094 * replace.el (occur-mode-map): Some fixes for menu items.
21095
eb237b0f
AH
210962011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21097
21098 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21099
7d668f2c
CY
211002011-04-06 Chong Yidong <cyd@stupidchicken.com>
21101
e67a13ab
CY
21102 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21103 issuing unused warnings.
21104
21105 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21106 macro directly.
21107
7d668f2c
CY
21108 * simple.el: Lisp reimplement of list-processes. Based on an
21109 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21110 (process-menu-mode): New major mode.
21111 (list-processes--refresh, list-processes):
21112 (process-menu-visit-buffer): New functions.
21113
21114 * files.el (save-buffers-kill-emacs): Don't assume any return
21115 value of list-processes, which is undocumented anyway.
21116
a83ec3c9
CY
211172011-04-06 Chong Yidong <cyd@stupidchicken.com>
21118
21119 * emacs-lisp/tabulated-list.el: New file.
21120
e91a96fe
CY
21121 * emacs-lisp/package.el: Use Tabulated List mode.
21122 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21123 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21124 table format using Tabulated List mode variables.
21125 (package--push): New macro, replacing package-list-maybe-add.
21126 (package-menu--generate): Use package--push. Renamed from
21127 package--generate-package-list.
21128 (package-menu-refresh, list-packages): Use it.
daca8ba5 21129 (package-menu--print-info): Rename from package-print-package.
e91a96fe 21130 Return insertion data instead of inserting it directly.
099c39a4
JB
21131 (package-menu-describe-package, package-menu-execute):
21132 Use tabulated-list-get-id.
e91a96fe
CY
21133 (package-menu-mark-delete, package-menu-mark-install)
21134 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
21135 (package-menu-mark-obsolete-for-deletion):
21136 Use tabulated-list-put-tag.
e91a96fe
CY
21137 (package--list-packages, package-menu-revert)
21138 (package-menu-get-package, package-menu-get-version)
21139 (package-menu-sort-by-column): Functions deleted.
21140 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21141 (package-menu--status-predicate, package-menu--version-predicate)
21142 (package-menu--name-predicate)
21143 (package-menu--description-predicate): Handle arguments in the
21144 Tabulated List format.
21145 (package-list-packages-no-fetch): Call list-packages.
21146
3e214b50
JB
211472011-04-06 Juanma Barranquero <lekktu@gmail.com>
21148
21149 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 21150 (after-find-file): Don't bind it.
3e214b50
JB
21151 (revert-buffer-in-progress-p): New variable.
21152 (revert-buffer): Bind it.
21153 Pass nil for `after-find-file-from-revert-buffer'.
21154
21155 * saveplace.el (save-place-find-file-hook): Use new variable
21156 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21157
3f0f1700
GM
211582011-04-06 Glenn Morris <rgm@gnu.org>
21159
c0274801
GM
21160 * Makefile.in (AUTOGEN_VCS): New variable.
21161 (autoloads): Use $AUTOGEN_VCS.
21162
3f0f1700
GM
21163 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21164 * calendar/calendar.el (calendar-mode-map):
21165 Check for toolkit scroll bars. (Bug#8305)
21166
41ea9e48
CY
211672011-04-05 Chong Yidong <cyd@stupidchicken.com>
21168
21169 * minibuffer.el (completion-in-region--postch)
21170 (completion-in-region-mode): Remove unnecessary messages.
21171
6194c800
JB
211722011-04-05 Juanma Barranquero <lekktu@gmail.com>
21173
33256f14
JB
21174 * font-lock.el (font-lock-refresh-defaults):
21175 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21176 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21177
6194c800
JB
21178 * info.el (Info-directory-list, Info-read-node-name-2)
21179 (Info-split-parameter-string): Doc fixes.
21180 (Info-virtual-nodes): Reflow docstring.
21181 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21182 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21183 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21184 Fix typos in docstrings.
21185 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21186 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21187 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21188 (Info-restore-desktop-buffer): Mark unused parameters.
21189 (Info-directory-find-file, Info-directory-find-node)
21190 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21191 (Info-virtual-index-find-node, Info-apropos-find-file)
21192 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 21193 Mark unused parameters; fix typos in docstrings.
6194c800
JB
21194 (Info-virtual-index): Remove unused local variable `nodename'.
21195
b87a8200 211962011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 21197
b87a8200
DD
21198 * net/rcirc.el: Update my e-mail address.
21199 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 21200
3b2ff876
CY
212012011-04-05 Chong Yidong <cyd@stupidchicken.com>
21202
21203 * startup.el (command-line): Save the cursor's theme-face
21204 directly, instead of using face-override-spec.
21205
21206 * custom.el (load-theme): Minor optimization in assigning faces.
21207
8d17e7ca
JB
212082011-04-04 Juanma Barranquero <lekktu@gmail.com>
21209
21210 * help-fns.el (describe-variable): Complete all variables having
21211 documentation, including keywords.
21212 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21213
2fbc1934
JB
212142011-04-04 Juanma Barranquero <lekktu@gmail.com>
21215
21216 Convert to lexical-binding.
21217
21218 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21219 (bs--get-marked-string, bs--get-modified-string)
21220 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21221 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21222 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21223
21224 * ehelp.el (electric-help-execute-extended)
21225 (electric-help-ctrl-x-prefix):
21226 * hexl.el (hexl-revert-buffer-function):
21227 * linum.el (linum-after-change, linum-after-scroll):
21228 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21229
21230 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21231
74f50695
DU
212322011-04-04 Daiki Ueno <ueno@unixuser.org>
21233
21234 * epa-dired.el:
21235 * epa-mail.el:
21236 * epa-hook.el:
21237 * epa-file.el:
21238 * epa.el:
21239 * epg.el: Use lexical binding.
21240
c11325f7
CY
212412011-04-03 Chong Yidong <cyd@stupidchicken.com>
21242
0d9e9a12
CY
21243 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21244
c11325f7 21245 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
21246 dictionary case for flyspell-mark-duplications-exceptions.
21247 Use regexp matching for languages.
c11325f7
CY
21248 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21249 default dictionary (Bug#7926).
21250
da91b5f2
CY
212512011-04-02 Chong Yidong <cyd@stupidchicken.com>
21252
099c39a4
JB
21253 * emacs-lisp/package.el (package--with-work-buffer):
21254 Recognize https URLs.
da91b5f2 21255
099c39a4
JB
21256 * net/network-stream.el: Move from gnus/proto-stream.el.
21257 Change prefix to network-stream throughout.
da91b5f2
CY
21258 (open-protocol-stream): Merge into open-network-stream, leaving
21259 open-protocol-stream as an alias. Handle nil BUFFER args.
21260
21261 * subr.el (open-network-stream): Move to net/network-stream.el.
21262
afa8e9f6
GM
212632011-04-02 Glenn Morris <rgm@gnu.org>
21264
1d2e369d
GM
21265 * find-dired.el (find-exec-terminator): New option.
21266 (find-ls-option): Test for -ls support.
21267 (find-ls-subdir-switches): Test for -b in find-ls-option.
21268 (find-dired, find-grep-dired): Doc fixes.
21269 (find-dired): Use find-exec-terminator.
21270
8abb7da8 21271 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
21272 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21273 (find-name-arg): Remove purecopy.
8abb7da8 21274
f3ca7378
GM
21275 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21276 (grep-compute-defaults): Check for `-exec COMMAND +' support.
21277 Set grep-find-use-xargs, grep-find-command, and grep-find-template
21278 accordingly. Don't add the null-device if not needed.
21279
afa8e9f6
GM
21280 * files.el (save-some-buffers): Doc fix.
21281
35eae264
EZ
212822011-04-02 Eli Zaretskii <eliz@gnu.org>
21283
21284 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21285
26b51db5
JB
212862011-04-01 Juanma Barranquero <lekktu@gmail.com>
21287
21288 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21289 Use `dolist' rather than `mapcar'.
21290
7200d79c
SM
212912011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
21292
03408648 21293 Add lexical binding.
7200d79c 21294
03408648
SM
21295 * subr.el (apply-partially): Use new closures rather than CL.
21296 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21297 (dolist, dotimes): Use slightly different expansion for lexical code.
21298 (functionp): Move to C.
21299 (letrec): New macro.
21300 (with-wrapper-hook): Use it and apply-partially instead of CL.
21301 (eval-after-load): Preserve lexical-binding.
21302 (save-window-excursion, with-output-to-temp-buffer): Turn them
21303 into macros.
7200d79c 21304
03408648
SM
21305 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21306
21307 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21308 than the arglist.
21309 (help-add-fundoc-usage): Don't add `Not documented'.
21310 (help-function-arglist): Handle closures, subroutines, and new
21311 byte-code-functions.
21312 (help-make-usage): Remove leading underscores.
21313 (describe-function-1): Handle closures.
21314 (describe-variable): Use special-variable-p for completion.
21315
21316 * files.el (lexical-binding): Declare safe.
f488fb65 21317
03408648
SM
21318 * emacs-lisp/pcase.el: Don't use destructuring-bind.
21319 (pcase--memoize): Rename from pcase-memoize. Change weakness.
21320 (pcase): Add `let' pattern.
21321 Change memoization so it actually works.
21322 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21323 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21324 <let>: New case.
f488fb65 21325
03408648
SM
21326 * emacs-lisp/macroexp.el: Use lexical binding.
21327 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
21328 Don't convert ' to #' without checking that it's indeed quoting
21329 a lambda.
21330
21331 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 21332 Use eval-sexp-add-defvars.
03408648
SM
21333 (eval-sexp-add-defvars): New fun.
21334
21335 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21336
21337 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21338 Don't autoload.
21339 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21340 than the internal `byte-compile-lambda'.
21341 (defmethod): Don't hide code under quotes.
21342 (eieio-defmethod): New `code' argument.
21343
21344 * emacs-lisp/eieio-comp.el: Remove.
21345
21346 * emacs-lisp/edebug.el (edebug-eval-defun)
21347 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21348 (edebug-toggle): Avoid `eval'.
21349
21350 * emacs-lisp/disass.el (disassemble-internal): Handle new
21351 `closure' objects.
21352 (disassemble-1): Handle new byte codes.
21353
21354 * emacs-lisp/cl.el (pushnew): Silence warning.
21355
21356 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21357 (cl-byte-compile-throw): Remove.
21358 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21359
21360 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21361 closures.
21362
21363 * emacs-lisp/cconv.el: New file.
21364
21365 * emacs-lisp/bytecomp.el: Use lexical binding instead of
21366 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
21367 (byte-compile-initial-macro-environment):
21368 Handle declare-function here.
21369 (byte-compile--lexical-environment): New var.
21370 (byte-stack-ref, byte-stack-set, byte-discardN)
21371 (byte-discardN-preserve-tos): New lap codes.
21372 (byte-interactive-p): Don't use any more.
21373 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21374 New macros.
21375 (byte-compile-lapcode): Use them and handle new lap codes.
21376 (byte-compile-obsolete): Remove.
21377 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21378 (byte-compile-arglist-warn): Check late def of inlinable funs.
21379 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21380 since they should have been expanded by now.
21381 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21382 (byte-compile-from-buffer): Remove unused second arg.
21383 (byte-compile-preprocess): New function.
21384 (byte-compile-toplevel-file-form): New function to distinguish
21385 file-form calls from outside from file-form calls from hunk-handlers.
21386 (byte-compile-file-form): Simplify.
21387 (byte-compile-file-form-defsubst): Remove.
21388 (byte-compile-file-form-defmumble): Simplify now that
21389 byte-compile-lambda always returns a byte-code-function.
21390 (byte-compile): Preprocess.
21391 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21392 Remove, not used any more.
21393 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21394 (byte-compile-make-args-desc): New funs.
21395 (byte-compile-lambda): Handle lexical functions. Always return
21396 a byte-code-function.
21397 (byte-compile-reserved-constants): New var, to make up room for
21398 closed-over variables.
21399 (byte-compile-constants-vector): Obey it.
21400 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21401 (byte-compile-macroexpand-declare-function): New function.
21402 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21403 byte-code-functions.
21404 (byte-compile-form): Check obsolescence here.
21405 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21406 (byte-compile-variable-ref): Remove.
21407 (byte-compile-dynamic-variable-op): New fun.
21408 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21409 (byte-compile-variable-set): New funs.
21410 (byte-compile-discard): Add 2 args.
21411 (byte-compile-stack-ref, byte-compile-stack-set)
21412 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21413 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21414 macroexpand-all instead.
21415 (byte-compile-quote-form): Remove.
21416 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21417 (byte-compile-bind, byte-compile-unbind): New funs.
21418 (byte-compile-let): Handle let* and lexical binding.
21419 (byte-compile-let*): Remove.
21420 (byte-compile-catch, byte-compile-unwind-protect)
21421 (byte-compile-track-mouse, byte-compile-condition-case):
21422 Handle a new :fun-body form, used for lexical scoping.
21423 (byte-compile-save-window-excursion)
21424 (byte-compile-with-output-to-temp-buffer): Remove.
21425 (byte-compile-defun): Simplify.
21426 (byte-compile-stack-adjustment): New fun.
21427 (byte-compile-out): Use it.
21428 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21429
21430 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21431 handler any more.
21432
21433 * emacs-lisp/byte-opt.el: Use lexical binding.
21434 (byte-inline-lapcode): Remove (to bytecomp).
21435 (byte-compile-inline-expand): Pay attention to inlining to/from
21436 lexically bound code.
21437 (byte-compile-unfold-lambda): Don't handle byte-code-functions
21438 any more.
21439 (byte-optimize-form-code-walker): Don't handle save-window-excursion
21440 any more and don't call compiler-macros.
21441 (byte-compile-splice-in-already-compiled-code): Remove.
21442 (byte-code): Don't inline any more.
21443 (disassemble-offset): Receive `bytes' as argument rather than via
21444 dynamic scoping.
21445 (byte-compile-tag-number): Declare before first use.
21446 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21447 `return' even if make-spliceable.
21448 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21449 obsolete interactive-p.
21450 (byte-optimize-lapcode): Optimize new lap-codes.
21451 Don't trip up on new form of `byte-constant' lap code.
21452
21453 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21454
21455 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21456
21457 * custom.el (custom-initialize-default, custom-declare-variable):
21458 Use `defvar'.
21459
21460 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21461 New variables.
21462 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21463 (COMPILE_FIRST): Add macroexp and cconv.
21464 * makefile.w32-in: Mirror changes in Makefile.in.
21465
21466 * vc/cvs-status.el:
21467 * vc/diff-mode.el:
21468 * vc/log-edit.el:
21469 * vc/log-view.el:
21470 * vc/smerge-mode.el:
21471 * textmodes/bibtex-style.el:
090bd7cb 21472 * textmodes/css-mode.el:
03408648
SM
21473 * startup.el:
21474 * uniquify.el:
da91b5f2
CY
21475 * minibuffer.el:
21476 * newcomment.el:
21477 * reveal.el:
21478 * server.el:
21479 * mpc.el:
21480 * emacs-lisp/smie.el:
21481 * doc-view.el:
21482 * dired.el:
03408648
SM
21483 * abbrev.el: Use lexical binding.
21484
0f0c1f27
EZ
214852011-04-01 Eli Zaretskii <eliz@gnu.org>
21486
21487 * info.el (info-display-manual): New function.
21488
c82b2579
SM
214892011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
21490
21491 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21492
221ddf68
TH
214932011-03-31 Tassilo Horn <tassilo@member.fsf.org>
21494
21495 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 21496 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 21497
cba6e77e
GM
214982011-03-31 Glenn Morris <rgm@gnu.org>
21499
e040639f
GM
21500 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21501
cba6e77e
GM
21502 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21503
6d0f1c9e
CS
215042011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
21505
21506 * progmodes/python.el (python-default-interpreter)
21507 (python-python-command-args, python-jython-command-args)
21508 (python-which-shell, python-which-args, python-which-bufname)
21509 (python-file-queue, python-comint-output-filter-function)
21510 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21511 variables and functions.
21512
3e2d70fd
SM
215132011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
21514
21515 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21516 (completion-in-region-mode): New minor mode.
21517 (completion-in-region): Use it.
21518 (completion-in-region--data, completion-in-region-mode-map): New vars.
21519 (completion-in-region--postch): New function.
21520 (completion--capf-misbehave-funs, completion--capf-safe-funs):
21521 New vars.
21522 (completion--capf-wrapper): New function.
21523 (completion-at-point): Use it to track well-behavedness of
21524 hook functions.
21525 (completion-help-at-point): New command.
21526
f3e4086c
JM
215272011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
21528
21529 * vc/add-log.el (add-change-log-entry): Don't use whitespace
21530 syntax class to search for whitespace on a single line
21531 (Message-ID: <4D938140.4030905@redhat.com>).
21532
eb7ffc14
LL
215332011-03-30 Leo Liu <sdl.web@gmail.com>
21534
21535 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21536 New commands.
21537 (edit-abbrevs-map): Bind them here.
21538 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
21539
d806ab68
KM
215402011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
21541
21542 * allout.el (allout-hide-by-annotation, allout-flag-region):
21543 Reduce possibility of overlay leakage by making them volatile.
21544
21545 * allout-widgets.el (allout-widgets-tally): Define as nil so the
21546 hash is not shared between buffers. Mode initialization is
21547 responsible for giving it a useful starting value.
21548 (allout-item-span): Reduce possibility of overlay leakage by
21549 making them volatile.
21550 (allout-widgets-count-buttons-in-region): Add diagnostic function
21551 for tracking down button overlay leaks.
21552
ea622834
LL
215532011-03-29 Leo Liu <sdl.web@gmail.com>
21554
21555 * ido.el (ido-read-internal): Use the default history var
21556 minibuffer-history if no HISTORY is specified.
21557
b62f8267
G
215582011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
21559
03408648
SM
21560 * net/imap.el (imap-shell-open, imap-process-connection-type):
21561 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
21562 Kerberos, SSL, other subprocesses.
21563
947b6566
LL
215642011-03-28 Leo Liu <sdl.web@gmail.com>
21565
21566 * abbrev.el (abbrev-table-empty-p): New function.
21567 (prepare-abbrev-list-buffer): Place empty abbrev tables after
21568 nonempty ones. (Bug#5937)
21569
5ffb62aa
JD
215702011-03-27 Jan Djärv <jan.h.d@swipnet.se>
21571
21572 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21573
7a097943
LL
215742011-03-27 Leo Liu <sdl.web@gmail.com>
21575
21576 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21577 for foreground and background colors.
21578 (ansi-color-make-color-map): Adapt.
21579
c5b40130
LL
215802011-03-25 Leo Liu <sdl.web@gmail.com>
21581
1f48f7d2
LL
21582 * midnight.el (midnight-time-float): Remove. Note it calculates
21583 the microsecond component incorrectly and seconds-to-time does the
21584 same job.
625897ec 21585 Remove redundant (require 'timer).
1f48f7d2 21586
c5b40130
LL
21587 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21588 (ido-completions): Remove unused arguments. (Bug#8329)
21589
d86d2721
SM
215902011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
21591
21592 * minibuffer.el (completion--flush-all-sorted-completions):
21593 Remove itself from hook.
21594 (completion-at-point): Let the functions perform the completion
21595 immediately and return nil or t.
21596 * comint.el (comint-dynamic-complete-functions): Now identical to
21597 completion-at-point-functions.
21598 (comint-dynamic-list-input-ring): Remove unused var `index'.
21599 (comint--match-partial-filename, comint--unquote&expand-filename):
21600 New funs, split from comint-match-partial-filename.
21601 (comint-dynamic-complete): Use completion-at-point.
21602 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21603
e8974c48
DA
216042011-03-24 Drew Adams <drew.adams@oracle.com>
21605
21606 * thingatpt.el: Support `defun'.
21607
def71b5e
LL
216082011-03-23 Leo Liu <sdl.web@gmail.com>
21609
cb5af48e
LL
21610 * abbrevlist.el: Move to obsolete/abbrevlist.el.
21611
def71b5e
LL
21612 * help-mode.el (help-mode-finish): Tweak regexp.
21613
927c53e7
GM
216142011-03-23 Glenn Morris <rgm@gnu.org>
21615
18d05bed
GM
21616 * eshell/esh-opt.el (eshell-eval-using-options):
21617 Do not bind unused local variable `eshell-option-stub'.
21618
927c53e7
GM
21619 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21620
9d0da923
JB
216212011-03-22 Juanma Barranquero <lekktu@gmail.com>
21622
21623 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21624 keymap variable in `with-no-warnings' to avoid a warning when the
21625 keymap has been already `defconst'ed.
21626
4b978a67
LL
216272011-03-22 Leo Liu <sdl.web@gmail.com>
21628
21629 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21630 encode all chars in abbrevs; otherwise use emacs-mule or
21631 utf-8-emacs. (Bug#8308)
21632
5fd62452
JB
216332011-03-22 Juanma Barranquero <lekktu@gmail.com>
21634
0b1596c6
JB
21635 * simple.el (backward-delete-char-untabify):
21636 Avoid warning about using `delete-backward-char'.
21637
5fd62452
JB
21638 * image.el (image-type-file-name-regexps): Make it variable.
21639 `imagemagick-register-types' modifies it, and the user may want
21640 to add new extensions for known image types.
21641 (imagemagick-register-types): Throw error if not using ImageMagick.
21642
0b4e93f1
LL
216432011-03-22 Leo Liu <sdl.web@gmail.com>
21644
21645 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21646 located before rcirc-prompt-end-marker.
21647 (rcirc-complete): Error if point is not after rcirc prompt.
21648 Handle the case when table is nil.
9882e214 21649 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 21650
fccee4ab
CY
216512011-03-22 Chong Yidong <cyd@stupidchicken.com>
21652
21653 * custom.el (custom--inhibit-theme-enable): Make it affect only
21654 custom-theme-set-variables and custom-theme-set-faces.
21655 (provide-theme): Ignore custom--inhibit-theme-enable.
21656 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21657 (custom-enabling-themes): Delete variable.
d86d2721
SM
21658 (enable-theme): Accept only loaded themes as arguments.
21659 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
21660 (custom-enabled-themes): Forbid themes from setting this.
21661 Eliminate use of custom-enabling-themes.
21662 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 21663
af896da6
LL
216642011-03-21 Leo Liu <sdl.web@gmail.com>
21665
21666 * ido.el (ido-read-internal): Add ido-selected to history instead
21667 of user input.
21668
78f64af0
SM
216692011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
21670
21671 * subr.el (deferred-action-list, deferred-action-function):
21672 Mark obsolete.
21673
b16ac1ec
LL
216742011-03-21 Leo Liu <sdl.web@gmail.com>
21675
810f7698
LL
21676 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21677 change on 2011-02-13 (bug#8309).
21678
b16ac1ec
LL
21679 * minibuffer.el (read-file-name-function): Change default value.
21680 (read-file-name--defaults): Rename from read-file-name-defaults.
21681 (read-file-name-default): Rename from read-file-name.
21682 (read-file-name): Call read-file-name-function.
21683
4e05e67e
GM
216842011-03-21 Glenn Morris <rgm@gnu.org>
21685
21686 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21687 Doc fixes.
21688
4359915b
CY
216892011-03-21 Chong Yidong <cyd@stupidchicken.com>
21690
21691 * cus-theme.el: Add missing provide statement.
21692 (customize-create-theme): Extract theme value correctly.
21693 (custom-theme-visit-theme): Autoload.
21694 (customize-create-theme): Prompt before inserting default faces.
21695
1fe275ee
JB
216962011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
21697
21698 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21699 units and musical notes.
21700
cd394be1 217012011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
21702
21703 * ido.el (ido-read-internal): Use completing-read-default.
21704 (ido-completing-read): Fix compatibility with completing-read.
21705
7d476bde
CO
217062011-03-20 Christian Ohler <ohler@gnu.org>
21707
21708 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21709 (ert-delete-all-tests): Use `called-interactively-p' rather than
21710 `interactive-p'.
21711 (ert--make-xrefs-region): Respect END.
21712
fe0fb33e
CY
217132011-03-19 Chong Yidong <cyd@stupidchicken.com>
21714
ff854b0b
CY
21715 * dired-aux.el (dired-create-directory): Signal an error if the
21716 directory already exists (Bug#8246).
21717
fe0fb33e
CY
21718 * facemenu.el (list-colors-display): Call list-faces-display
21719 inside with-help-window.
21720 (list-colors-print): Use display property to align the final
21721 column, instead of checking window-width.
21722
576bce32
EZ
217232011-03-19 Eli Zaretskii <eliz@gnu.org>
21724
4d61f28d 21725 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
21726 windows-nt systems.
21727 (emerge-protect-metachars): Quote correctly for ms-dos and
21728 windows-nt systems.
21729
89c41d68 217302011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
21731
21732 * info.el (info-initialize): Replace all uses of `:' with
21733 path-separator for compatibility with non-Unix systems.
21734 Cache quoting of path-separator. (Bug#8258)
21735
b14e3e21 217362011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
21737
21738 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21739 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21740 (mouse-avoidance-mode): Fix typos in docstrings.
21741
4525ce3e
CY
217422011-03-19 Chong Yidong <cyd@stupidchicken.com>
21743
21744 * startup.el (package-subdirectory-regexp): Move from package.el.
21745 Omit \\` and \\', and let callers add them.
21746
21747 * emacs-lisp/package.el (package-strip-version)
21748 (package-load-all-descriptors): Add \\` and \\' to
21749 package-subdirectory-regexp before using it.
21750 (package-untar-buffer): New arg DIR; ensure that file untars only
21751 into this expected directory. Remove superfluous delete-region.
21752 (package-unpack): Caller changed.
21753 (package-tar-file-info): Use package-subdirectory-regexp.
21754
a904a09a 217552011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 21756
a904a09a
SM
21757 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21758 diff-mode-shared-map (bug#8284).
21759 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
21760
217612011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
21762
21763 * calendar/time-date.el (format-seconds): Use assoc instead of
21764 assoc-string, since assoc-string doesn't exist in XEmacs.
21765
171fc304
JB
217662011-03-17 Juanma Barranquero <lekktu@gmail.com>
21767
21768 * custom.el (custom-known-themes): Reflow docstring.
21769 (custom-theme-load-path): Fix typo in docstring.
21770 (load-theme): Fix typo in error message.
21771 (custom-available-themes, custom-variable-theme-value):
21772 Use `let', not `let*'.
21773
d71990a1
JB
217742011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
21775
21776 * calc/README: Mention inclusion of musical notes.
21777
21778 * calc/calc-units.el (calc-lu-quant): Rename from
21779 `calc-logunits-quantity'.
21780 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21781 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21782 (calc-db): Rename from `calc-dblevel'.
21783 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21784 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21785 (calc-np): Rename from `calc-nplevel'.
21786 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21787 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21788 (calc-lu-plus): Rename from `calc-logunits-add'.
21789 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21790 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21791 (calc-lu-minus): Rename from `calc-logunits-sub'.
21792 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21793 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21794 (calc-lu-times): Rename from `calc-logunits-mul'.
21795 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21796 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21797 (calc-lu-divide): Rename from `calc-logunits-div'.
21798 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21799 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21800
21801 * calc/calc-ext.el (calc-init-extensions): Update the names of the
21802 functions being autoloaded.
21803
21804 * calc/calc.el (calc-lu-power-reference): Rename from
21805 `calc-logunits-power-reference'.
21806 (calc-lu-field-reference): Rename from
21807 `calc-logunits-field-reference'.
21808
7a71b18d
GM
21809 * calc/calc-help.el (calc-l-prefix-help):
21810 Mention musical note functions.
d71990a1 21811
40c2934b
SM
218122011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
21813
21814 * minibuffer.el (completion-all-sorted-completions):
21815 Use :completion-cycle-penalty text property if present.
21816
b0911414
KM
218172011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
21818
21819 * allout.el (allout-yank-processing): Adjust for new rebulleting
21820 regime so bullet being yanked is used without prompting the user
21821 for a choice.
21822
8a05b668
JB
218232011-03-16 Juanma Barranquero <lekktu@gmail.com>
21824
21825 * startup.el (command-line): Warn the user that _emacs is deprecated.
21826
5ba5fb81
JB
218272011-03-16 Juanma Barranquero <lekktu@gmail.com>
21828
21829 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21830 (delphi-verbose, delphi-comment-face, delphi-string-face)
21831 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21832 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21833 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21834 (delphi-new-comment-line, delphi-font-lock-defaults)
21835 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21836 Fix typos in docstrings.
21837
2dab465b
KM
218382011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
21839
5ba5fb81 21840 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
21841 Invert the roles of character and string values for INSTEAD, so a
21842 string is used for the more common case of a defaulting prompt.
21843
0adf5618
SM
218442011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21845
21846 * progmodes/ruby-mode.el (ruby-backward-sexp):
21847 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21848 * play/gamegrid.el (gamegrid-make-face):
21849 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21850 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21851 * notifications.el (notifications-notify):
21852 * net/xesam.el (xesam-search-engines):
21853 * net/quickurl.el (quickurl-list-insert):
21854 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21855
d72700e5
CY
218562011-03-15 Chong Yidong <cyd@stupidchicken.com>
21857
21858 * startup.el (command-line): Update package subdirectory regexp.
21859
49c5410a
SM
218602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21861
c6eee9aa
SM
21862 * allout.el (allout-abbreviate-flattened-numbering)
21863 (allout-mode-deactivate-hook): Fix up obsolescence "date".
21864
49c5410a
SM
21865 * subr.el (read-char-choice): Only show the cursor after the prompt,
21866 not after the answer.
21867
047b2bb9
KR
218682011-03-15 Kevin Ryde <user42@zip.com.au>
21869
21870 * help-fns.el (variable-at-point): Skip leading quotes, if any
21871 (bug#8253).
21872
0a57d256
SM
218732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
21874
21875 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21876 warning message.
21877
77c992bc
MA
218782011-03-14 Michael Albinus <michael.albinus@gmx.de>
21879
21880 * shell.el (shell): When called interactively, offer to change the
21881 shell file name on remote hosts.
21882
eebc475d
TZ
218832011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
21884
21885 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21886 integration for LDAP parameters. The host, base, user or binddn,
21887 and secret tokens can be specified in a netrc file, for instance.
21888 This is optional because an `auth-source' parameter must be
21889 specified in the search attributes.
21890
9d05d1ba
JB
218912011-03-13 Juanma Barranquero <lekktu@gmail.com>
21892
21893 * help.el (describe-mode): Link to the mode's definition (bug#8185).
21894
09d9db2c
GM
218952011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21896
21897 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21898 into declaration. Remove redundant and harmful binding.
21899
219002011-03-12 Eli Zaretskii <eliz@gnu.org>
21901
21902 * files.el (file-ownership-preserved-p): Pass `integer' as an
21903 explicit 2nd argument to `file-attributes'. If the file's owner
21904 is the Administrators group on Windows, and the current user is
21905 Administrator, consider that a match.
21906
21907 * server.el (server-ensure-safe-dir): Consider server directory
21908 safe on MS-Windows if its owner is the Administrators group while
21909 the current Emacs user is Administrator. Use `=' to compare
21910 numerical UIDs, since they could be integers or floats.
21911
219bd536
JB
219122011-03-12 Juanma Barranquero <lekktu@gmail.com>
21913
21914 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21915
f3afd36b
MA
219162011-03-12 Michael Albinus <michael.albinus@gmx.de>
21917
21918 Sync with Tramp 2.2.1.
21919
21920 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21921
21922 * net/trampver.el: Update release number.
21923
3aaaa6f1
SM
219242011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
21925
94642599
SM
21926 * progmodes/compile.el (compilation--previous-directory): Fix up
21927 various nil/dead-marker mismatches (bug#8014).
21928 (compilation-directory-properties, compilation-error-properties):
21929 Don't call it at a position past the one we're about to change.
21930
3aaaa6f1
SM
21931 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21932 Disable obsolescence warnings in the file that declares it.
21933
14239447
KM
219342011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
21935
099c39a4
JB
21936 * allout-widgets.el (allout-widgets-tally):
21937 Initialize allout-widgets-tally as a hash table rather than nil to
21938 prevent mode-line redisplay warnings. Also, clarify the module
21939 description and fix a comment typo.
14239447 21940
135e287c
JB
219412011-03-11 Juanma Barranquero <lekktu@gmail.com>
21942
21943 * help-fns.el (describe-variable): Don't complete keywords.
21944 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
21945
ffbf300e
CY
219462011-03-10 Chong Yidong <cyd@stupidchicken.com>
21947
ba08b241
CY
21948 * emacs-lisp/package.el (package-version-join): Impose a standard
21949 string representation for pre/alpha/beta version lists.
21950 (package-unpack-single): Standardize the directory name by passing
21951 it through package-version-join.
21952 (package-strip-rcs-id): Accept any version string that does not
21953 signal an error in version-to-list.
ffbf300e 21954
f346fd6b
MA
219552011-03-10 Michael Albinus <michael.albinus@gmx.de>
21956
21957 * simple.el (delete-trailing-whitespace): Return nil for the
21958 benefit of `write-file-functions'.
21959
ccb55d27
GM
219602011-03-10 Glenn Morris <rgm@gnu.org>
21961
5ceaac0c
GM
21962 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
21963
02da65ff
GM
21964 * vc/vc-git.el (vc-git-program): New option.
21965 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
21966 (vc-git--call): Use it.
21967
b2f603cc
GM
21968 * eshell/esh-util.el (eshell-condition-case): Doc fix.
21969
5772caab
GM
21970 * cus-edit.el (Custom-newline): If no button at point, look
21971 for a subgroup button at start-of-line. (Bug#2298)
21972
ccb55d27
GM
21973 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
21974
ec6ecaed
JD
219752011-03-10 Julien Danjou <julien@danjou.info>
21976
21977 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
21978 `cursor-type' is nil.
21979
9d5aa01d
JB
219802011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
21981
21982 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
21983
b6a5875b
KM
219842011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
21985
7a71b18d 21986 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
21987 preserves the existing header prefix, rebulleting it if necessary,
21988 rather than replacing it. This is necessary for proper operation
21989 of cooperative addons like allout-widgets.
1154d12e
JB
21990 (allout-make-topic-prefix, allout-rebullet-heading):
21991 Change SOLICIT arg to INSTEAD, and interpret additionally a string
21992 value as alternate bullet to be used, instead of prompting the user
21993 for a bullet character.
b6a5875b 21994
ee545c35
MA
219952011-03-09 Michael Albinus <michael.albinus@gmx.de>
21996
d86d2721
SM
21997 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
21998 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21999 `tramp-default-port'.
22000
c47971d7
DD
220012011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22002
22003 * net/rcirc.el (rcirc-handler-001): Remove useless
22004 with-rcirc-process-buffer.
22005 (rcirc-check-auth-status): Swap arguments to string-match.
22006
13522cb4
GM
220072011-03-09 Glenn Morris <rgm@gnu.org>
22008
0be6f4f1
GM
22009 * shell.el (shell-mode):
22010 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22011
13522cb4
GM
22012 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22013 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22014
515de2e3
CY
220152011-03-08 Chong Yidong <cyd@stupidchicken.com>
22016
22017 * emacs-lisp/package.el (package-refresh-contents)
22018 (package-menu-execute): Use condition-case-no-debug.
22019
b511b994
MA
220202011-03-08 Michael Albinus <michael.albinus@gmx.de>
22021
22022 * simple.el (shell-command-to-string): Use `process-file'.
22023
22024 * emacs-lisp/package.el (package-tar-file-info): Handle also
22025 remote files.
22026
d86d2721
SM
22027 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22028 Use `equal' for upload base check.
b511b994 22029
25bbfb31
AM
220302011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22031
22032 * textmodes/texinfo.el (texinfo-environments):
22033 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22034
be996521
GM
220352011-03-08 Glenn Morris <rgm@gnu.org>
22036
e9c8529f
GM
22037 * cus-start.el (cursor-in-non-selected-windows):
22038 Fix :set quoting oddness. (Bug#8192)
22039
be996521
GM
22040 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22041 in some setf expressions. (Bug#2159)
22042
2bb5649e
CY
220432011-03-08 Chong Yidong <cyd@stupidchicken.com>
22044
22045 * custom.el (custom-available-themes): Return themes in
22046 alphabetical order.
22047
33383987 22048See ChangeLog.15 for earlier changes.
e3d51b27
MR
22049
22050;; Local Variables:
22051;; coding: utf-8
e3d51b27
MR
22052;; End:
22053
acaf905b 22054 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
22055
22056 This file is part of GNU Emacs.
22057
22058 GNU Emacs is free software: you can redistribute it and/or modify
22059 it under the terms of the GNU General Public License as published by
22060 the Free Software Foundation, either version 3 of the License, or
22061 (at your option) any later version.
22062
22063 GNU Emacs is distributed in the hope that it will be useful,
22064 but WITHOUT ANY WARRANTY; without even the implied warranty of
22065 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22066 GNU General Public License for more details.
22067
22068 You should have received a copy of the GNU General Public License
22069 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.