Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0c93aa38
PE
12012-11-18 Paul Eggert <eggert@cs.ucla.edu>
2
3 Minor cleanup for times as lists of four integers.
4 * files.el (dir-locals-directory-cache):
5 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
6 Doc fixes.
7 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
8 * ps-bdf.el (bdf-file-newer-than-time):
9 Process four-integers time stamps, not two. Doc fixes.
10
913c8291
GM
112012-11-18 Glenn Morris <rgm@gnu.org>
12
13 * image.el (insert-image, insert-sliced-image): Doc fix.
14
ec6f8ce6
CY
152012-11-17 Chong Yidong <cyd@gnu.org>
16
17 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
18 (Bug#12810).
19
c2d07557
CY
202012-11-17 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
21
22 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
23 response when the target file is in a subdirectory (Bug#12757).
24
33f8917c
CY
252012-11-17 Chong Yidong <cyd@gnu.org>
26
27 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
28
65463c40
GM
292012-11-17 Glenn Morris <rgm@gnu.org>
30
9a5e2ee3
GM
31 * woman.el (woman-non-underline-faces):
32 * emacs-lisp/cl-lib.el (face-underline-p):
33 Use set-face-underline rather than the alias set-face-underline-p.
34
65463c40 35 * window.el (with-temp-buffer-window): Doc fix.
95f0501e
GM
36 * subr.el (with-output-to-temp-buffer):
37 Add doc xref to with-temp-buffer-window.
65463c40 38
cdc5d88c
SM
392012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/cl-lib.el: Set more meaningful version number.
42
0ff7851c
MR
432012-11-16 Martin Rudalics <rudalics@gmx.at>
44
45 * window.el (enlarge-window, shrink-window): Don't mention return
46 value in doc-string (Bug#12896).
47 (window--display-buffer): Don't resize frames - it won't work
48 with all window managers and defeat pop-up-frame-alist.
49 (display-buffer-alist): In doc-string explain that CONDITION can
50 be a function and which arguments are passed to it (Bug#12854).
51 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
52 expressions (Bug#12854).
53 (display-buffer): Pass ACTION argument to
54 display-buffer-assq-regexp.
55
dedd1884
GM
562012-11-16 Glenn Morris <rgm@gnu.org>
57
7c82753d
GM
58 * window.el (fit-frame-to-buffer-bottom-margin)
59 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
60
dedd1884
GM
61 * faces.el (face-underline-p): Use face-attribute-specified-or.
62
662b0ee6
JB
632012-11-15 Juanma Barranquero <lekktu@gmail.com>
64
65 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
66
eb31fa40
SM
672012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
68
69 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
70
e2e13f18
GM
712012-11-15 Glenn Morris <rgm@gnu.org>
72
17c083ac
GM
73 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
74 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
75
bde3c6c0
GM
76 * faces.el (face-underline-p): Doc fix. Handle :underline being
77 things other than `t' (a string, a list).
78 (face-inverse-video-p): Doc fix.
79 (set-face-underline): Rename it back from set-face-underline-p.
80 Doc fix. Allow interactive input of values other than t.
81 (read-face-attribute): Apply formatting to :underline,
82 since like :box and :stipple it can take list values.
83
e2e13f18
GM
84 * term.el (ansi-term): Don't let C-x escape-char binding
85 clobber the more standard C-c binding. (Bug#12842)
86
3a514ab0
SM
872012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
88
89 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
90 (bug#12879).
91
e0ea8060
GM
922012-11-14 Glenn Morris <rgm@gnu.org>
93
94 * subr.el (set-temporary-overlay-map): Doc fix.
95
92346275
MR
962012-11-13 Martin Rudalics <rudalics@gmx.at>
97
98 * window.el (record-window-buffer)
99 (display-buffer-record-window): When copying the markers to
100 window-point preserve window-point-insertion-type. (Bug#12588)
101
7b1bf173
GM
1022012-11-13 Glenn Morris <rgm@gnu.org>
103
104 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
105 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
106 Use new names for hooks rather than obsolete aliases.
107
f8705f6e
SM
1082012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
111
9db94175
WJ
1122012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
113
114 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
115 39 and 49. This fixes bug#12792. Also, treat unimplemented
116 parameters as 0, thereby restoring the behavior of revisions prior
117 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
118
2e6625b5
FEG
1192012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
120
121 Fix end-of-defun misbehavior.
122 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
123 python-beginning-of-defun-function. Handle nested defuns
124 correctly.
125 (python-nav-end-of-defun): Rename from
126 python-end-of-defun-function. Ensure forward movement.
f8705f6e 127 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
128 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
129 parent defuns as soon as possible.
130
24c38527
GM
1312012-11-12 Glenn Morris <rgm@gnu.org>
132
133 * progmodes/flymake.el (flymake-error-bitmap)
134 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
135 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
136
d1e1e53d
DG
1372012-11-12 Dmitry Gutov <dgutov@yandex.ru>
138
139 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
140 backward, always stop at indentation. Reverts the change from
141 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
142
68146aa5
GM
1432012-11-11 Glenn Morris <rgm@gnu.org>
144
a1d3e07e
GM
145 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
146 Add ibuffer-filter-by-derived-mode.
147
84acf328
GM
148 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
149 the same name shadowing each other.
150
38785e75
GM
151 * window.el (with-temp-buffer-window): Doc tweak.
152
57fc0fee
GM
153 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
154
6ba6a3e5
GM
155 * help.el (temp-buffer-max-height):
156 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
157 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
158
e4e46889
LL
1592012-11-10 Leo Liu <sdl.web@gmail.com>
160
161 * ido.el (ido-set-matches-1): Fix split-string args to avoid
162 performance issue. (Bug#12796)
163
19e09879
GM
1642012-11-10 Glenn Morris <rgm@gnu.org>
165
bf67dafa
GM
166 * term.el (term-default-fg-color, term-default-bg-color):
167 Make obsolete, rather than just saying "deprecated" in the doc.
168
19e09879
GM
169 * term.el (term): Rename from `term-face'.
170 (term-current-face, ansi-term-color-vector)
171 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
172 Update all users.
173
d743088d
JD
1742012-11-09 Jan Djärv <jan.h.d@swipnet.se>
175
f8705f6e 176 * server.el (server-create-window-system-frame): Improve comment.
d743088d 177
531bdce6
JD
1782012-11-08 Jan Djärv <jan.h.d@swipnet.se>
179
180 * server.el (server-create-window-system-frame): Handle Nextstep
181 specially (Bug#12780).
182
fedb154e
GM
1832012-11-08 Glenn Morris <rgm@gnu.org>
184
185 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
186 Unautoload, and make obsolete. (Bug#7449)
187
9d9e48d9
CY
1882012-11-08 Chong Yidong <cyd@gnu.org>
189
190 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
191 rename from diff-remove-trailing-whitespace (Bug#12831).
192
32170f7f
SM
1932012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
194
195 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
196 miscompilation of trace.el.
197
26f59676
GM
1982012-11-08 Glenn Morris <rgm@gnu.org>
199
200 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
201
41626722
SM
2022012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
203
204 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
205 (bug#12812).
206
7d806bfe
CY
2072012-11-07 Chong Yidong <cyd@gnu.org>
208
209 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
210 a defcustom with an appropriate :set function.
211 (minibuffer-default--in-prompt-regexps): New function.
212
2ee1d59f
GM
2132012-11-07 Glenn Morris <rgm@gnu.org>
214
031b2ea7
GM
215 * emacs-lisp/cl.el (define-setf-expander, defsetf)
216 (define-modify-macro): Doc fixes.
217
2ee1d59f
GM
218 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
219 (gv-define-simple-setter): Update doc of `fix-return'.
220
d57c286e
SM
2212012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
222
b715ed44
SM
223 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
224 twice when `fix-return' is set (bug#12813).
225
d57c286e
SM
226 * emacs-lisp/cl.el (defsetf): Pass the third arg to
227 gv-define-simple-setter (bug#12812).
228
c9cac599
SM
2292012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
230
231 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
232 (bug#12756).
233
6b3770fb
GM
2342012-11-06 Glenn Morris <rgm@gnu.org>
235
236 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
237
5593ed90
GM
2382012-11-05 Glenn Morris <rgm@gnu.org>
239
240 * emacs-lisp/cl-extra.el (cl-prettyexpand):
241 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
242 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
243 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
244
245 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
246
5c677d44
GM
2472012-11-03 Glenn Morris <rgm@gnu.org>
248
49138400
GM
249 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
250 Rename handler properties back from cl-- to cl-. (Bug#12788)
251
5c677d44
GM
252 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
253
1d4341f9
EZ
2542012-11-03 Eli Zaretskii <eliz@gnu.org>
255
256 * term/pc-win.el: Don't load term/internal from here.
257
258 * loadup.el: Load term/internal from here.
259
12fd5ee1
FEG
2602012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
261
262 * progmodes/python.el (inferior-python-mode): Fix hang in
263 jit-lock (Bug#12645).
264
43bcfda6
MR
2652012-11-03 Martin Rudalics <rudalics@gmx.at>
266
267 * window.el (switch-to-visible-buffer)
268 (switch-to-buffer-preserve-window-point): Fix doc-strings.
269
b4b096e4
SB
2702012-11-01 Stephen Berman <stephen.berman@gmx.net>
271
272 * play/gomoku.el (gomoku-display-statistics): Update mode line
273 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
274
218e997a
MR
2752012-10-31 Martin Rudalics <rudalics@gmx.at>
276
277 * window.el (quit-restore-window): If the window has been
278 created on an existing frame and ended up as the sole window on
279 that frame, do not delete it (Bug#12764).
280
b08b6da7
SM
2812012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
282
3618df45
SM
283 * progmodes/sh-script.el (sh--inside-noncommand-expression):
284 Rename from sh--inside-arithmetic-expression, handle more cases
285 (bug#11263).
286
b08b6da7
SM
287 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
288 (sh-font-lock-open-heredoc): Use it (bug#12770).
289
4ddedf94
GM
2902012-10-30 Glenn Morris <rgm@gnu.org>
291
f43a5263
GM
292 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
293
4ddedf94
GM
294 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
295
748b0d84
CY
2962012-10-29 Chong Yidong <cyd@gnu.org>
297
b5dd9a77
CY
298 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
299 function key is stored in a keyboard macro (Bug#4894).
300
748b0d84
CY
301 * thingatpt.el (number-at-point): Apply a thing-at-point property.
302
e07fcbdc
SM
3032012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
304
d7f9cc85
SM
305 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
306 header comments".
307 (diff-unified->context, diff-context->unified)
308 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
309
c606253c
SM
310 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
311
e07fcbdc
SM
312 * files.el (find-alternate-file): Only ask one question (bug#12487).
313
894b9dd9
CY
3142012-10-29 Chong Yidong <cyd@gnu.org>
315
1dc2755a
CY
316 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
317 Suggested by Dan Nicolaescu (Bug#6326).
318
329c48d8
CY
319 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
320
2230fa5b 321 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 322
e84cad57
CY
323 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
324
1913c5f5
CY
325 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
326
894b9dd9
CY
327 * face-remap.el (face-remap-add-relative): Handle the case where a
328 face-remapping-alist entry is a cons cell (Bug#12762).
329
329c48d8
CY
3302012-10-29 Kevin Ryde <user42@zip.com.au>
331
332 * woman.el (woman-parse-numeric-value): Handle picas correctly
333 (Bug#12639).
334
a0ccbcbd
GM
3352012-10-29 Glenn Morris <rgm@gnu.org>
336
337 * emacs-lisp/cl.el (defsetf): Doc fix.
338
b3871e59
SM
3392012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
342 syntax to the matching opener, if any (bug#12547).
343 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
344 matching open as a "case-(".
345 (sh-smie-rc-grammar): Add a corresponding rule for it.
346
cd44022c
DH
3472012-10-28 Daniel Hackney <dan@haxney.org>
348
349 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
350 "PKGNAME-autoloads.el" in case we created it.
351
70edffb1
SM
3522012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
353
86957a0c
SM
354 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
355 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 356 (completion--twq-all): Disable too-strict assertions.
86957a0c 357
70edffb1
SM
358 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
359
d069271c
EZ
3602012-10-27 Eli Zaretskii <eliz@gnu.org>
361
362 * profiler.el (profiler-report-make-entry-part): Fix help-echo
363 text to match the real keybindings.
364
e2f022a3
JL
3652012-10-27 Juri Linkov <juri@jurta.org>
366
367 * wdired.el (wdired-keep-marker-rename): New defcustom.
368 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
369 (Bug#11795)
370
371 * dired.el (dired-keep-marker-rename): Add reference to
372 `wdired-keep-marker-rename' in the docstring.
373 Add default character value ?R to display initially in
374 Customization UI instead of ?@.
375
df171c23
MR
3762012-10-27 Martin Rudalics <rudalics@gmx.at>
377
378 * window.el (display-buffer): In doc-string describe
379 window-height and window-width alist entries.
380
381 * time.el (display-time-world): Restore fit-window-to-buffer
382 behavior.
383
05b621a6
CY
3842012-10-27 Chong Yidong <cyd@gnu.org>
385
386 * subr.el (insert-buffer-substring-as-yank): Doc fix.
387
55f197b2
J
3882012-10-26 Jambunathan K <kjambunathan@gmail.com>
389
390 * minibuffer.el (completion-category-overrides): New completion
391 category `bookmark' (bug#11131).
392
372212df
SM
3932012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
394
150f809c
SM
395 * emacs-lisp/advice.el (ad-assemble-advised-definition):
396 Silence bogus compiler warnings for ad-do-it.
397
372212df
SM
398 * bookmark.el (bookmark-completing-read): Set the completion category
399 to `bookmark' (bug#11131).
400
c5772569
B
4012012-10-26 Bastien <bzg@altern.org>
402 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * face-remap.el: Use lexical-binding.
405 (text-scale-adjust): Improve docstring. Use itself for the temporary
406 overlay-map bindings, so as to repeat the "Use..." message each time.
407
a2be0357
SM
4082012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
409
63314e57
SM
410 * emacs-lisp/macroexp.el (macroexp--expand-all):
411 Obey byte-compile-warning-enabled-p (bug#12486).
412
a2be0357
SM
413 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
414 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
415
8c7727c3
MR
4162012-10-26 Martin Rudalics <rudalics@gmx.at>
417
418 * mouse.el (mouse-drag-line): Move last form into preceding when
419 clause (Bug#12731).
420
421 * help.el (resize-temp-buffer-window): Fix doc-string.
422
3f2a848d
DE
4232012-10-25 David Engster <deng@randomsample.de>
424
425 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 426 Remove. This feature is already integrated in imenu.
3f2a848d
DE
427
428 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
429 always loaded. Require `speedbar' unconditionally.
430
a7723be6
SM
4312012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
432
aaabfc8b
SM
433 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
434
414a8595
SM
435 * minibuffer.el (minibuffer-force-complete): Fix thinko.
436
fb5b9475
SM
437 * net/ldap.el (ldap-search-internal): The official ldif format starts
438 with a "version: 1" header (bug#12724).
439
a7723be6
SM
440 * emacs-lisp/package.el (package-installed-p): Warn if not ready
441 (bug#12721).
442
a05cb6e3
GM
4432012-10-25 Glenn Morris <rgm@gnu.org>
444
445 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
446
3c92de70
SM
4472012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * minibuffer.el (minibuffer-force-complete): Use one more marker
450 for the temporary-overlay-map command (bug#12619).
451
a4b6d7c6
CY
4522012-10-24 Chong Yidong <cyd@gnu.org>
453
454 * time.el (display-time-world-mode): Derive from special-mode.
455 (display-time-world): Use display-buffer (Bug#12708).
456 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
457 (display-time-world-display): Wrap the final delete-char inside
458 inhibit-read-only.
a4b6d7c6 459
75e8f9d2
CY
4602012-10-24 Chong Yidong <cyd@gnu.org>
461
cd996018
CY
462 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
463 Doc fix.
464
75e8f9d2
CY
465 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
466
d92df117
SM
4672012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * minibuffer.el (completion--all-sorted-completions-location): New var.
470 (completion--cache-all-sorted-completions)
471 (completion--flush-all-sorted-completions): Use it.
472 (completion-in-region, completion-in-region--postch)
473 (completion-at-point, completion-help-at-point): Use markers in
474 completion-in-region--data (bug#12619).
475
9c3e39f3
SM
4762012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
477
c79825bd
SM
478 * progmodes/compile.el (compilation-start): Try to handle common
479 quoting of `cd' argument (bug#12640).
480
9c3e39f3
SM
481 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
482 (bug#12671).
483
a6709bc7
GM
4842012-10-23 Glenn Morris <rgm@gnu.org>
485
486 * progmodes/gud.el (gud-menu-map):
487 Check gdb-active-process is bound. (Bug#12358)
488
d1069532
SM
4892012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
490
d20d69c0
SM
491 * repeat.el (repeat): Set real-this-command (bug#12232).
492
d1069532
SM
493 * htmlfontify.el (hfy-post-html-hook):
494 * filesets.el (filesets-cache-fill-content-hook):
495 * arc-mode.el (archive-extract-hook):
496 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
497 * net/rcirc.el (rcirc-sentinel-functions)
498 (rcirc-receive-message-functions, rcirc-activity-functions)
499 (rcirc-print-functions):
500 * net/dbus.el (dbus-event-error-functions):
501 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
502 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
503 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
504 * term/sun.el (sun-raw-prefix-hooks):
505 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
506
f7eac6d8
MA
5072012-10-23 Michael Albinus <michael.albinus@gmx.de>
508
d1069532
SM
509 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
510 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
511 (tramp-smb-wait-for-output): Add timeout to
512 `tramp-accept-process-output' calls.
513
608d9d7c
CY
5142012-10-23 Chong Yidong <cyd@gnu.org>
515
49238e7f
CY
516 * faces.el (font-list-limit): Define as an obsolete variable.
517
518 * startup.el (command-line):
519 * cus-start.el: Don't refer to font-list-limit.
520
608d9d7c
CY
521 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
522
4ff5b1b2
SM
5232012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
524
525 * subr.el (internal-temp-output-buffer-show): Rename from
526 temp-output-buffer-show, since previously compiled files expect this name.
527
ea1d4aac
GM
5282012-10-23 Glenn Morris <rgm@gnu.org>
529
530 * image.el (image-type-from-file-name): If multiple types match,
531 return the first one that is supported. (Bug#9045)
532
eda82a31
GM
5332012-10-22 Glenn Morris <rgm@gnu.org>
534
535 * image.el (imagemagick-enabled-types): Doc fix.
536
4f020bec
TA
5372012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
538
539 * progmodes/which-func.el (which-func-current): The hash-table may have
540 an explicit nil (bug#12338).
541
c77d37e2
SM
5422012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * electric.el (electric-pair-delete-selection-self-insert-function):
545 Rename to electric-pair-will-use-region, return a boolean.
546 (electric-pair-mode): Adjust accordingly. Don't require delsel.
547
548 * delsel.el (delete-selection-helper): Use a function instead of a hook.
549 (delete-selection-pre-hook): Use use-region-p.
550 (delete-selection-self-insert-function): Remove.
551 (self-insert-command): Obey self-insert-uses-region-functions.
552 (self-insert-iso): Revert to previous setting, since we don't actually
553 know what that command does.
554 (delete-selection-self-insert-hooks): Remove.
555
b1d39ccc
SL
5562012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
557
558 * delsel.el (delete-selection-helper): New function, extracted from
559 delete-selection-pre-hook.
560 (delete-selection-pre-hook): Use it.
561 (delete-selection-self-insert-function): New function.
562 (delete-selection-self-insert-hooks): New hook.
563 (self-insert-command, self-insert-iso): Use it.
564 * electric.el (electric-pair-syntax): New function, extracted from
565 electric-pair-post-self-insert-function.
566 (electric-pair-post-self-insert-function): Use it.
567 (electric-pair-delete-selection-self-insert-function): New function.
568 (electric-pair-mode): Require delsel and setup
569 delete-selection-self-insert-hooks (bug#11520).
570
045ef729
CY
5712012-10-20 Chong Yidong <cyd@gnu.org>
572
4c5d08a8
CY
573 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
574 no changes to show (Bug#12586).
575
045ef729
CY
576 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
577 list explicitly (Bug#12571).
578
3503c798 5792012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 580
b1d39ccc
SL
581 * progmodes/flymake.el (flymake-create-temp-inplace):
582 Use file-truename.
79e1997a 583
2068905b
EZ
5842012-10-20 Eli Zaretskii <eliz@gnu.org>
585
586 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
587
4c9e9550
JB
5882012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
589
590 * calc/calc-units.el (math-extract-units): Properly extract powers
591 of units.
592
1a6e7e38
DC
5932012-10-20 Daniel Colascione <dancol@dancol.org>
594
595 * frame.el (make-frame): Set x-display-name as we used to in order
596 to unbreak creating an X11 frame from an Emacs daemon started
597 without a display.
598
8e808318
SM
5992012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * minibuffer.el (minibuffer-force-complete): Make the next completion use
602 the same completion-field (bug@12221).
603
fb0104da
MR
6042012-10-19 Martin Rudalics <rudalics@gmx.at>
605
606 * emacs-lisp/debug.el (debug): Record height of debugger window
607 also when debugger will be back (Bug#8789).
608
8c27235e
CY
6092012-10-18 Chong Yidong <cyd@gnu.org>
610
611 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
612 Convert to defcustom.
613 (gdb-get-source-file): Don't bind pop-up-windows.
614
615 * progmodes/gud.el (gud-display-line): Don't specially re-use
616 other frames for the gdb-mi case (Bug#12648).
617
90eacf99
SM
6182012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
619
aaf0c300
SM
620 * emacs-lisp/advice.el: Clean up commentary a bit.
621 (ad-do-advised-functions, ad-with-originals): Use `declare'.
622 (byte-code-function-p): Never redefine.
623
90eacf99
SM
624 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
625
281c9d2b
GM
6262012-10-18 Glenn Morris <rgm@gnu.org>
627
40714e3d
GM
628 * dired.el (dired-sort-toggle): Some ls implementations only allow
629 a single option string. (Bug#12666)
630
281c9d2b
GM
631 * minibuffer.el (completion-cycle-threshold): Doc fix.
632
b278604e
KH
6332012-10-17 Kenichi Handa <handa@gnu.org>
634
90eacf99
SM
635 * international/mule.el (set-keyboard-coding-system):
636 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
637 Supply TERMINAL arg to set-input-meta-mode.
638
df171c23 6392012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
640
641 * wdired.el (wdired-old-marks): New variable.
642 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
643 (wdired-do-renames): Move point with renamed file and don't lose
644 mark status (Bug#11795).
645
e5a94ec4
JL
6462012-10-16 Juri Linkov <juri@jurta.org>
647
648 * replace.el (query-replace-help): Mention multi-buffer replacement
649 keys in the Help message. (Bug#12655)
650
d18a0d24
CY
6512012-10-15 Chong Yidong <cyd@gnu.org>
652
653 * emacs-lisp/byte-run.el (defsubst): Doc fix.
654
8111f5e6
EZ
6552012-10-14 Eli Zaretskii <eliz@gnu.org>
656
7b9abf24
EZ
657 * window.el (display-buffer): Doc fix.
658
8111f5e6
EZ
659 * progmodes/compile.el (compilation-error-regexp-alist-alist):
660 Adjust the msft regexp to the output of Studio 2010, and move msft
661 before edg-1. See the discussion on emacs-devel,
662 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
663 for the details.
664
5046ef67
SM
6652012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
666
9760c73c
SM
667 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
668 (oset): Move uses of object-class-fast macro after its definition.
669
5046ef67
SM
670 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
671
0d11ff1c
CY
6722012-10-13 Chong Yidong <cyd@gnu.org>
673
674 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
675 enabled, re-enable it (Bug#11963).
676
88ded8ac
MR
6772012-10-13 Martin Rudalics <rudalics@gmx.at>
678
679 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
680 non-nil, restore window configuration (Bug#12623).
681
bd0ffffd
SM
6822012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
683
06485aa8
SM
684 * help-fns.el (describe-variable, describe-function-1):
685 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
686
bd0ffffd
SM
687 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
688
3a989246
GM
6892012-10-12 Glenn Morris <rgm@gnu.org>
690
691 * mail/rmailsum.el (rmail-header-summary):
692 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
693
55cd00c8
FEG
6942012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
695
bd0ffffd
SM
696 * progmodes/python.el (python-mode-map):
697 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
698 (python-nav--up-list): Fix behavior for blocks on the same level.
699
ac9fc2c7
SM
7002012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
701
d8cc4c00 702 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 703
5253a5fd
SM
704 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
705 changes to the format of load-history.
706
ac9fc2c7
SM
707 * international/mule-cmds.el (read-char-by-name): Move let-binding of
708 completion-ignore-case in case that var is buffer-local (bug#12615).
709
cde44a77
KH
7102012-10-11 Kenichi Handa <handa@gnu.org>
711
712 * international/eucjp-ms.el: Re-generated.
713
4ef4a10d
KH
7142012-10-10 Kenichi Handa <handa@gnu.org>
715
716 * select.el (xselect--encode-string): If a coding is specified for
717 selection, and that is compatible with COMPOUND_TEXT, use it.
718
9d7f027b
MR
7192012-10-10 Martin Rudalics <rudalics@gmx.at>
720
721 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
722 (switch-to-buffer):
723 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 724
238f3a58
SM
7252012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
726
727 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
728 Don't document nil as a useful value (bug#12583).
729
1d51f99c
MA
7302012-10-09 Michael Albinus <michael.albinus@gmx.de>
731
238f3a58
SM
732 * net/tramp.el (tramp-debug-message):
733 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
734 (with-tramp-progress-reporter): Rename from
735 `tramp-with-progress-reporter'.
238f3a58
SM
736 (with-tramp-file-property, with-tramp-connection-property):
737 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
738 `with-connection-property', respectively.
739
740 * net/tramp-cache.el: Remove `with-file-property' and
741 `with-connection-property'.
742
743 * net/tramp.el:
744 * net/tramp-gvfs.el:
745 * net/tramp-sh.el:
746 * net/tramp-smb.el: Adapt callees.
747
748 * net/trampver.el: Update release number.
749
26b77251
GM
7502012-10-09 Glenn Morris <rgm@gnu.org>
751
9a5f296f
GM
752 * w32-fns.el (set-message-beep):
753 * term/w32-win.el (set-message-beep): Update declarations.
754
94c66ce5
SM
7552012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
756
10766e9e
SM
757 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
758 (mode-line-widen, mode-line-input-method-map)
759 (mode-line-coding-system-map, mode-line-remote)
760 (mode-line-unbury-buffer, mode-line-bury-buffer)
761 (mode-line-next-buffer, mode-line-previous-buffer):
762 Replace save-selected-window+select-window => with-selected-window.
763
f754db08
SM
764 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
765 * progmodes/cc-vars.el (bq-process): Remove, unused.
766
94c66ce5
SM
767 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
768
a4ff7fe1
FEG
7692012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
770
771 Implemented `backward-up-list'-like navigation.
772 * progmodes/python.el (python-nav-up-list)
773 (python-nav-backward-up-list): New functions.
774 (python-mode-map): Define substitute key for backward-up-list to
775 python-nav-backward-up-list.
776
24517d82
FEG
7772012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
778
779 * progmodes/python.el (python-fill-paragraph): Rename from
780 python-fill-paragraph-function. Fixed fill-paragraph for
781 decorators (Bug#12605).
782
51867ae2
FEG
7832012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
784
785 * progmodes/python.el (python-shell-output-filter): Handle extra
786 carriage return in OSX (Bug#12409).
787
a5b773c4
FEG
7882012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
789
790 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 791 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
792 (python-syntax-propertize-function): Use it.
793 (python-shell-output-syntax-table): New var.
794 (inferior-python-mode): Prevent unbalanced parens/quotes from
795 previous output mess with current input context.
796
13373538
JB
7972012-10-08 Juanma Barranquero <lekktu@gmail.com>
798
799 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
800 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
801
775a132d
MA
8022012-10-08 Michael Albinus <michael.albinus@gmx.de>
803
804 * ffap.el (ffap-replace-file-component): Support Tramp file name
805 syntax, not only ange-ftp's one.
806
3ab44929
GM
8072012-10-08 Glenn Morris <rgm@gnu.org>
808
57f1dee4
GM
809 * cus-start.el (message-log-max): Set :version.
810
3ab44929
GM
811 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
812
6a088630
MR
8132012-10-08 Martin Rudalics <rudalics@gmx.at>
814
815 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
816 the minibuffer window (Bug#10851).
817
8dbce54c
FEG
8182012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
819
820 Enhancements on forward-sexp movement.
821 * progmodes/python.el (python-nav-beginning-of-statement)
822 (python-nav-end-of-statement): Return point-marker.
823 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
824 (python-info-current-symbol)
825 (python-info-statement-starts-block-p): Rename from
826 python-info-beginning-of-block-p.
827 (python-info-statement-ends-block-p): Rename from
828 python-info-end-of-block-p.
829 (python-info-beginning-of-statement-p)
830 (python-info-end-of-statement-p)
831 (python-info-beginning-of-block-p, python-info-end-of-block-p):
832 New functions.
833
5acd2b3e
SM
8342012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
837 frame-selected-windows.
838
e08348a0
DC
8392012-10-08 Daniel Colascione <dancol@dancol.org>
840
841 * battery.el (battery-status-function): Check for
842 w32-battery-status itself, not system-time windows-nt.
843
844 * frame.el: Require cl-lib.
845 (display-format-alist): New variable mapping frame types to
846 functions that initialize them.
847 (window-system-for-display): New function: interprets
848 display-format-alist.
849 (make-frame-on-display): Remove existing display-selection logic
850 and just forward to make-frame, which will now DTRT.
851 (make-frame): Restructure to use window-system-for-display to
852 figure out how to create a frame on a given display.
853 (display-mouse-p): Look for frame-type w32, not a particular
854 system-type.
855
856 * loadup.el: Load w32 lisp code when we have the w32 feature.
857
858 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
859 system-type windows-nt.
860
861 * server.el (server-create-window-system-frame): Look for window
862 type.
863 (server-proces-filter): Only force a window system when windows-nt
864 _and_ w32. Explain why.
865
866 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
867 of window systems we configure for the mode.
868
869 * startup.el (command-line): Mark window system is initialized
870 after we've done it.
871
872 * common-win.el (x-select-text): Look for w32, not windows-nt.
873
874 * ns-win.el: Require cl-lib. Add ourselves to
875 display-format-alist.
876 (ns-initialize-window-system): Assert we're not initialized twice.
877
878 * w32-win.el: Enable lexical binding; require cl-lib; add
879 ourselves to display-format-alist.
880 (w32-handle-dropped-file): Convert incoming dropped files from
881 Windows paths to Cygwin ones before passing them on to the rest of
882 Emacs.
883 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
884 (w32-initialize-window-system): Assert we're not initialized twice.
885
886 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
887 (x-initialize-window-system): Assert we're not initialized twice.
888
889 * w32-common-fns.el: New File.
890 (w32-version, w32-using-nt, w32-get-clipboard-data)
891 (w32-set-clipboard-data, x-set-selection, x-get-selection)
892 (w32-charset-info-alist, x-last-selected, text)
893 (x-get-selection-value, x-selection-value): Move here.
894
895 * w32-fns.el: Require w32-common-fns.
896 (w32-version, w32-using-nt, w32-get-clipboard-data)
897 (w32-set-clipboard-data, x-set-selection, x-get-selection)
898 (w32-charset-info-alist, x-last-selected, text)
899 (x-get-selection-value, x-selection-value): Move to
900 w32-common-fns.
901
902 * w32-vars.el:
903 (w32-allow-system-shell, w32-system-shells): Define only in
904 non-cygwin case.
905
795b1482
SM
9062012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
909 (read-passwd): Remove a few more potential sources of leaks.
910
f27c99dc
FEG
9112012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
912
913 * progmodes/python.el (inferior-python-mode)
795b1482 914 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
915 variables copied from parent buffer.
916
fcacb558
JD
9172012-10-07 Jan Djärv <jan.h.d@swipnet.se>
918
919 * term/ns-win.el (ns-read-file-name): Update declaration to match
920 nsfns.m.
921 (ns-respond-to-change-font): Change fontsize separatly so we are sure
922 it is set when font is acted upon.
923
be0d5bae
FEG
9242012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
925
926 Enhancements to indentation.
927 * progmodes/python.el (python-indent-context): Give priority to
928 inside-string context. Make comments indentation markers.
929 (python-indent-region): Do not mess with strings, unless it's the
930 enclosing set of quotes.
931
13af0d10
SM
9322012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
933
662a9d0e
SM
934 * window.el (internal--before-save-selected-window)
935 (internal--after-save-selected-window): New functions extracted from
936 save-selected-window. Make sure we return the `alist' we construct.
937 (save-selected-window): Use them.
938
939 * textmodes/tex-mode.el (tex-recenter-output-buffer):
940 Use with-selected-window.
941
13af0d10
SM
942 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
943 forms that define macros (bug#12593).
944
6aa75fb6
KH
9452012-10-07 Kenichi Handa <handa@gnu.org>
946
13af0d10
SM
947 * international/mule-conf.el (compound-text-with-extensions):
948 Add :mime-charset property as x-ctext.
6aa75fb6 949
78d876b9
SM
9502012-10-07 Stefan Merten <smerten@oekonux.de>
951
952 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
953 (rst-indent-literal-normal, rst-indent-literal-minimized)
954 (rst-indent-comment): Correct :version tag.
557337e9 955 (rst-official-cvs-rev): Correct version string.
78d876b9 956
99a1e701
GM
9572012-10-07 Glenn Morris <rgm@gnu.org>
958
959 * mail/rmailmm.el (rmail-mime-process-multipart):
960 Do not confuse a multipart message with an epilogue
961 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
962
08f18c3d
FEG
9632012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
964
965 Fix shell output retrieval and comint-prompt-regexp init.
966 * progmodes/python.el (inferior-python-mode):
967 (python-shell-make-comint): Fix initialization of
968 comint-prompt-regexp from copied file local variables.
969 (python-shell-fetched-lines): Remove var.
970 (python-shell-output-filter-in-progress): Rename from
971 python-shell-fetch-lines-in-progress.
972 (python-shell-output-filter-buffer): Rename from
973 python-shell-fetch-lines-string.
974 (python-shell-fetch-lines-filter): Delete function.
975 (python-shell-output-filter): New function.
976 (python-shell-send-string-no-output): Use them.
977
82ed3ab4
GM
9782012-10-07 Glenn Morris <rgm@gnu.org>
979
1595ecfa
GM
980 * hi-lock.el (hi-lock-process-phrase):
981 Try to make it less fragile. (Bug#7161)
982
82ed3ab4
GM
983 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
984
f1f4dba0
GM
9852012-10-06 Glenn Morris <rgm@gnu.org>
986
addc11ed 987 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
988 non-existent mode `help'.
989 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 990
460042b8
GM
991 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
992 (reftex-create-bibtex-footer): Fix custom types.
993
67667c70
GM
994 * progmodes/sh-script.el (sh-indent-after-continuation):
995 Add explicit :group.
996
18dec750
GM
997 * textmodes/rst.el (rst-preferred-decorations)
998 (rst-shift-basic-offset): Clarify obsolescence versions.
999
d1a1c7e6
GM
1000 * profiler.el (profiler): Add missing group :version tag.
1001 * avoid.el (mouse-avoidance-banish-position):
1002 * proced.el (proced-renice-command):
1003 * calc/calc.el (calc-ensure-consistent-units):
1004 * calendar/icalendar.el (icalendar-import-format-uid):
1005 * net/tramp.el (tramp-save-ad-hoc-proxies):
1006 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1007 * progmodes/flymake.el (flymake-error-bitmap)
1008 (flymake-warning-bitmap, flymake-fringe-indicator-position):
1009 * progmodes/sh-script.el (sh-indent-after-continuation):
1010 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
1011 (verilog-before-save-font-hook, verilog-after-save-font-hook):
1012 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
1013 (vhdl-array-index-record-field-in-sensitivity-list)
1014 (vhdl-indent-comment-like-next-code-line):
1015 * textmodes/reftex-vars.el (reftex-ref-style-alist)
1016 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
1017 (reftex-cite-key-separator, reftex-create-bibtex-header)
1018 (reftex-create-bibtex-footer):
1019 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
1020 (rst-indent-literal-normal, rst-indent-literal-minimized)
1021 (rst-indent-comment): Add missing custom :version tags.
1022
ef35abb4
GM
1023 * calendar/timeclock.el (timeclock-modeline-display):
1024 Add missing obsolete alias for renamed user option.
1025
d1aae614
GM
1026 * strokes.el (strokes-modeline-string):
1027 * emulation/crisp.el (crisp-mode-modeline-string):
1028 * eshell/esh-mode.el (eshell-status-in-modeline):
1029 Aliases to defcustoms must come before the defcustom.
1030
f1f4dba0
GM
1031 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
1032 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
1033 (cal-tex-cursor-week-monday): Doc fixes.
1034 (cal-tex-cursor-week2-summary): Doc fix.
1035 Rename from cal-tex-cursor-week-at-a-glance.
1036
1037 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1038 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1039
1040 * calendar/calendar.el (calendar-mode-map):
1041 Add cal-tex-cursor-week2-summary.
1042
d39109c3
SM
10432012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1044
685f87b0
SM
1045 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1046
d39109c3
SM
1047 * subr.el (read-passwd-map): New var.
1048 (read-passwd): Use `read-string' again.
1049 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1050
5694896d
J
10512012-10-06 Jambunathan K <kjambunathan@gmail.com>
1052
1053 * register.el (append-to-register, prepend-to-register):
1054 Deactivate mark, as does `copy-to-register' (bug#12389).
1055
9414dd8d
CY
10562012-10-06 Chong Yidong <cyd@gnu.org>
1057
1058 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1059
2b89bca4
KH
10602012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1061
1062 * international/characters.el: Fix simple mistake ((car chars) ->
1063 elt), delete duplicated code.
1064
d5acb99a
GM
10652012-10-06 Glenn Morris <rgm@gnu.org>
1066
1067 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1068
123ec157
JS
10692012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1070
1071 * color.el (color-hsl-to-rgb): Fix incorrect results for
1072 small and large hue values. (Bug#12559)
1073
7fa36ccb
FEG
10742012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1075
1076 Enhancements to docstring formatting when filling paragraphs.
1077 * progmodes/python.el (python-fill-docstring-style): Rename from
1078 python-fill-string-style. Added new style.
1079 (python-fill-string): Use new style. Better checks for
1080 docstrings.
1081
d8788e1e
GM
10822012-10-05 Glenn Morris <rgm@gnu.org>
1083
204f3953
GM
1084 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1085
d8788e1e
GM
1086 * color.el (color-name-to-rgb, color-rgb-to-hex)
1087 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1088 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1089 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1090 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1091
8d956cef
GM
1092 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1093
e8757f09 10942012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1095
1096 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1097 to get the correct size across symlinks.
1098
e8757f09
GM
1099 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1100
0e2ae83d
JL
11012012-10-04 Juri Linkov <juri@jurta.org>
1102
1103 * replace.el (query-replace-interactive): Declare obsolete.
1104 (query-replace-read-from): Add the last incremental search string
1105 to the list of default values accessible via M-n.
1106 (map-query-replace-regexp): Use `read-regexp'.
1107 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1108 (map-query-replace-regexp, replace-string, replace-regexp):
1109 Fix docstrings to replace mentions of `query-replace-interactive'
1110 with alternatives. (Bug#12526)
1111
93cacb6d
JL
11122012-10-04 Juri Linkov <juri@jurta.org>
1113
1114 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1115 (dired-pop-to-buffer): Declare obsolete.
1116 (dired-mark-pop-up): Doc fix.
1117
fc345011
FEG
11182012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1119
1120 Allow user to set docstring style for fill-paragraph.
1121 * progmodes/python.el
1122 (python-fill-comment-function, python-fill-string-function)
1123 (python-fill-decorator-function, python-fill-paren-function):
1124 Remove :safe for defcustoms.
1125 (python-fill-string-style): New defcustom
5694896d 1126 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1127 (python-fill-string): Honor python-fill-string-style settings.
1128
6bab5d8b
MR
11292012-10-04 Martin Rudalics <rudalics@gmx.at>
1130
1131 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1132 after setting its buffer (Bug#10805).
1133
a1a9f411
FEG
11342012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1135
1136 Fix cornercase for string syntax.
1137 * progmodes/python.el (python-syntax-propertize-function):
1138 Simplify and enhance the regexp for unescaped quotes. Now it also
1139 matches quotes in weird situations like the single quote in
1140 "something\"'".
1141 (python-syntax-stringify): Simplify num-quotes detecting code.
1142
05e153a6
GM
11432012-10-03 Glenn Morris <rgm@gnu.org>
1144
1145 * help-macro.el (three-step-help):
1146 Revert 2012-09-29 change. (Bug#12567)
1147
2e566ecb
MR
11482012-10-03 Martin Rudalics <rudalics@gmx.at>
1149
96ef9ccd
MR
1150 * menu-bar.el (kill-this-buffer): Don't do anything when
1151 `menu-frame' is not alive or visible (Bug#8184).
1152
2e566ecb
MR
1153 * emacs-lisp/debug.el (debug): When quitting the debugger window
1154 restore current buffer (Bug#12502).
1155
a96e1cb7
CY
11562012-10-02 Chong Yidong <cyd@gnu.org>
1157
5694896d
J
1158 * progmodes/hideif.el (hif-lookup, hif-defined):
1159 Handle semantic-c-takeover-hideif.
a96e1cb7 1160
b3ecad33
PE
11612012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1162
1163 Change sampling interval units from ms to ns.
1164 * profiler.el (profiler-sampling-interval): Change units
1165 from ms to ns, multiplying the default by 1000000 so that
1166 it remains 1 ms.
1167 (profiler-report-cpu-line-format): Give enough room for
1168 the maximum counters on 64-bit hosts.
1169 (profiler-report-render-calltree-1): Call them "CPU samples",
1170 not "Time (ms)", since they are not milliseconds now (and
1171 never really were).
1172
8cb51b66 11732012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1174
5694896d
J
1175 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1176 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1177
fd795bf4
CY
11782012-10-02 Chong Yidong <cyd@gnu.org>
1179
1180 * emacs-lisp/eieio.el: Restore Version header.
1181
fe0a74f9
SM
11822012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1183
6be9197e
SM
1184 * vc/diff-mode.el (diff--auto-refine-data): New var.
1185 (diff-hunk): Use it to delay refinement.
1186 (diff-mode): Remove overlays when we turn off font-lock.
1187
18486139
SM
1188 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1189 (table-initialize-table-fixed-width-mode)
1190 (table-set-table-fixed-width-mode): Remove functions.
1191 (table-command-list): Move initialization into declaration.
1192 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1193 (table-with-cache-buffer): Use `declare'.
1194 (table-span-cell): Simplify via CSE.
1195 (table-fixed-width-mode): Use define-minor-mode.
1196 (table-call-interactively, table-funcall, table-apply): Remove.
1197 (table-function): New function, to replace them.
1198
d83ef976
SM
1199 * bookmark.el (bookmark-search-pattern): Remove var.
1200 (bookmark-read-search-input): Remove function.
1201 (bookmark-bmenu-search): Reimplement using a minibuffer.
1202
cd386662
SM
1203 * faces.el (modeline): Remove obsolete face name.
1204
fe0a74f9
SM
1205 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1206 and give a non-nil default value.
1207 (add-change-log-entry): Simplify accordingly.
1208
9f7b98f8
DG
12092012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1210
1211 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1212 (vc-git-log-edit-toggle-amend): New function.
1213 (vc-git-log-edit-toggle-signoff): New function.
1214 (vc-git-log-edit-mode): New major mode.
1215 (vc-git-log-edit-mode-map): Keymap for it.
1216 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1217
1218 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1219 header names.
1220 (log-edit-toggle-header): New function.
1221 (log-edit-extract-headers): Accept function values in HEADERS alist.
1222
62a81506
CY
12232012-10-01 David Engster <deng@randomsample.de>
1224
1225 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1226 from symbol property and change message to be more consistent with
1227 Emacs proper.
1228 (eieio-describe-generic): Add filename for each implementation.
1229 Fix indices for generic and normal methods.
1230 (eieio-method-def, eieio-class-def): New buttons.
1231 (eieio-help-find-method-definition)
1232 (eieio-help-find-class-definition): New functions.
1233 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1234 class, constructor and method definitions.
1235
1236 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1237 information in symbol property.
1238 (scoped-class): Remove.
1239 (eieio-slot-name-index, call-next-method): Check if it is bound.
1240
12412012-10-01 Leo P. White <lpw25@cam.ac.uk>
1242
1243 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1244 (eieio-custom-mode): New major mode.
1245 (eieio-customize-object): Use it.
1246
12472012-10-01 Eric Ludlam <zappo@gnu.org>
1248
1249 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1250 specifying the expected class, and whether subclassing is allowed.
1251 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1252 (eieio-persistent-validate/fix-slot-value)
1253 (eieio-persistent-slot-type-is-class-p): New functions.
1254 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1255
1256 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1257 Stop using unused publd variable.
1258
1259 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1260 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1261 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1262 (eieio-speedbar-handle-click): Do not specify a class for the
1263 method. Fixes method invocation order problems with EDE.
1264
375e49d4
SM
12652012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1268 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1269
16ce6ccd
KF
12702012-10-01 Karl Fogel <kfogel@red-bean.com>
1271
1272 * bookmark.el (bookmark-version-control): Give tags in the
1273 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1274 (bookmark-write-file): Bind `print-circle' to `t' to allow
1275 circular custom bookmark types. (Bug#12503)
16ce6ccd 1276
19e54a4d
PE
12772012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1278
86ec63ba
PE
1279 Revert the FOLLOW-SYMLINKS change for file-attributes.
1280 * files.el (remote-file-name-inhibit-cache, after-find-file):
1281 * time.el (display-time-file-nonempty-p): Undo last change.
1282
19e54a4d
PE
1283 * profiler.el (profiler-sampling-interval): Change default back to 1.
1284 See Stefan Monnier in
1285 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1286
0478776b
FEG
12872012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1288
1289 Shell output catching a la gud-gdb.
1290 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1291 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1292 New Vars.
0478776b
FEG
1293 (python-shell-fetch-lines-filter): New function.
1294 (python-shell-send-string-no-output): Use them.
1295
c22bac2c
TM
12962012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1297
1298 * profiler.el (profiler-sampling-interval): Rename from
1299 profiler-sample-interval.
1300 (profiler-sampling-interval): Default to 10.
1301 (profiler-find-profile): New command (was profiler-find-log).
1302 (profiler-find-profile-other-window): New command.
1303 (profiler-find-profile-other-frame): New command.
1304 (profiler-profile): Introduce API-level data structure.
1305
e7a2937b
PE
13062012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1307
1308 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1309 * files.el (remote-file-name-inhibit-cache):
1310 * time.el (display-time-file-nonempty-p): Use it.
1311 * files.el (after-find-file): Don't chase links before calling
1312 file-exists-p, as file-exists-p already does the right thing.
1313
4f595e15
RA
13142012-09-30 Ralf Angeli <angeli@caeruleus.net>
1315
1316 Merge from standalone RefTeX repository.
1317
1318 The following ChangeLog entries are shortened versions of the
1319 original ones with file paths adapted. A not so strongly edited
1320 version of the original ChangeLog can be found in the commit log.
1321
1322 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1323 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1324 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1325
1326 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1327 that entries with whitespace at various places are found.
1328 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1329 Include @String definitions in the resulting bib file. Add header
1330 and footer defined in `reftex-create-bibtex-header' and
1331 `reftex-create-bibtex-footer'.
1332 (reftex-do-citation): Make it possible again to insert
1333 non-existent entries. Save match data when asking for optional
1334 arguments. Return all keys, not just the first one.
1335 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1336 all citations in the same line.
1337 (reftex-parse-bibtex-entry): Accept additional optional argument
1338 `raw' and keep quotes or braces if it is non-nil. Match fields
1339 containing hyphens besides word constituents.
1340 (reftex-get-string-refs): New function.
1341 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1342 and ask if it should be reread in case it did.
1343 (reftex-pop-to-bibtex-entry)
1344 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1345 entries with spaces or tabs in front of arguments.
1346 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1347 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1348 Match entries containing numbers and symbol constituents.
1349 (reftex-do-citation, reftex-figure-out-cite-format):
1350 Use `reftex-cite-key-separator'.
4f595e15
RA
1351
1352 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1353 (reftex-mouse-view-crossref): Explain why point is set.
1354
1355 * textmodes/reftex-global.el: Whitespace changes.
1356
1357 * textmodes/reftex-index.el: Move provide statement to end of
1358 file.
1359 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1360 (reftex-index-visit-phrases-buffer): Set marker when visiting
1361 buffer. This allows for returning from the phrases file to the
1362 file one was just editing instead of the file where the last
1363 phrases was added from.
1364 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1365 punctuation syntax as it usually is not used as string quote in
1366 TeX-related modes and may occur unmatched. The change also
1367 prevents fontification of quoted content.
1368 (reftex-index-phrases-mode): Use it.
1369
375e49d4
SM
1370 * textmodes/reftex-parse.el (reftex-parse-from-file):
1371 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1372 (reftex-parse-from-file): Use beginning of match instead of end as
1373 bound.
1374
1375 * textmodes/reftex-ref.el: Adapt creation of
1376 `reftex-<package>-<macro>' functions to new structure of
1377 `reftex-ref-style-alist'.
375e49d4
SM
1378 (reftex-reference): Use `reftex-ref-style-list' function.
1379 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1380 reference macro if `reftex-ref-macro-prompt' is non-nil.
1381 (reftex-reference): Pass refstyle to `reftex-format-special'.
1382 Determine reference macro by looking at
375e49d4
SM
1383 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1384 Use only one special format function.
4f595e15
RA
1385 (reftex-varioref-vref, reftex-fancyref-fref)
1386 (reftex-fancyref-Fref): Remove definitions. The functions are now
1387 generated from `reftex-ref-style-alist'.
1388 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1389 Remove.
1390 (reftex-format-special): New function.
1391
1392 * textmodes/reftex-sel.el
1393 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1394 of `reftex-ref-style-alist'. Remove code for testing macro type.
1395 (reftex-select-toggle-varioref)
1396 (reftex-select-toggle-fancyref): Remove.
1397 (reftex-select-cycle-ref-style-internal)
1398 (reftex-select-cycle-ref-style-forward)
1399 (reftex-select-cycle-ref-style-backward): New functions.
1400 (reftex-select-label-map): Use `v' and `V' for general cycling
1401 through reference styles. Add `p' for switching between number
1402 and page reference types.
1403
375e49d4
SM
1404 * textmodes/reftex-toc.el (reftex-re-enlarge):
1405 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1406 the horizontal version throws an error even if the parameter is 0.
1407
1408 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1409 (reftex-plug-into-AUCTeX): Doc fix.
1410 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1411 string. Adapt to new name.
1412 (reftex-ref-style-alist): Change structure so that it is not
1413 possible to use multiple different package names within a style.
375e49d4
SM
1414 Remove the symbols for symbols for macro type distinction.
1415 Add characters for macro selection.
4f595e15
RA
1416 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1417 (reftex-create-bibtex-footer): New variables.
1418 (reftex-format-ref-function): Mention third argument of special
1419 format function.
375e49d4
SM
1420 (reftex-ref-style-alist, reftex-ref-style-default-list):
1421 New variables.
4f595e15
RA
1422 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1423 to new implementation. Mark as obsolete. Add compatibility code
1424 for honoring the variable values in case they are set.
375e49d4
SM
1425 (reftex-cite-format-builtin, reftex-bibliography-commands):
1426 Add support for ConTeXt.
1427 (reftex-format-ref-function, reftex-format-cite-function):
1428 Fix custom type.
4f595e15
RA
1429 (reftex-cite-key-separator): New variable.
1430
1431 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1432 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1433 `reftex-syntax-table' because parens have to retain their paren
1434 syntax in order for parsing of BibTeX entries like @book(...) to
1435 work.
1436 (reftex-in-comment): Do not error out if `comment-start-skip' is
1437 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1438 (reftex-tie-multifile-symbols): Add doc string.
1439 Initialize `reftex-ref-style-list'.
4f595e15
RA
1440 (reftex-untie-multifile-symbols): Add doc string.
1441 (reftex-add-index-macros): Doc fix.
1442 (reftex-ref-style-activate, reftex-ref-style-toggle)
1443 (reftex-ref-style-list): New functions.
1444 (reftex-mode-menu): Use them. Adapt to new structure of
1445 `reftex-ref-style-alist'.
1446 (reftex-select-with-char): Kill the RefTeX Select buffer when
1447 done.
1448 (reftex-remove-if): New function.
1449 (reftex-erase-all-selection-and-index-buffers)
1450 (reftex-mode-menu): Reference styles are now computed from
1451 `reftex-ref-style-alist'. Fix typo.
1452 (reftex-report-bug): New function.
1453 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1454 algorithms with O(n log n). Introduce optional argument SORT (not
1455 yet used).
1456
440ba395
FEG
14572012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1458
1459 Enhancements for triple-quote string syntax.
375e49d4
SM
1460 * progmodes/python.el (python-syntax-propertize-function):
1461 Match both quote cases in one regexp.
440ba395
FEG
1462 (python-syntax-stringify): Handle matches properly.
1463
4c478e6b
JL
14642012-09-30 Juri Linkov <juri@jurta.org>
1465
1466 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1467 to nil around the call to `insert' to prevent
4c478e6b
JL
1468 directory time modification by lock_file. (Bug#2295)
1469 * tar-mode.el (tar-summarize-buffer): Idem.
1470
d80d54b2
JL
14712012-09-30 Juri Linkov <juri@jurta.org>
1472
1473 * facemenu.el (list-colors-sort): Add option "Luminance".
1474 (list-colors-sort-key): Implement it.
1475
1476 * vc/diff-mode.el (diff-refine-removed):
1477 * vc/ediff-init.el (ediff-fine-diff-A):
1478 * vc/smerge-mode.el (smerge-refined-removed):
1479 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1480
d7e642cc
JD
14812012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1482
1483 * term/ns-win.el (x-file-dialog): New function.
1484
ee41332b
JB
14852012-09-30 Juanma Barranquero <lekktu@gmail.com>
1486
1487 * ido.el (ido-max-directory-size): Default to nil; the current
1488 default is small for POSIX systems, and impractical on Windows 7
1489 now that lstat returns directory sizes for NTFS.
1490
5938d519
MR
14912012-09-30 Martin Rudalics <rudalics@gmx.at>
1492
1493 In buffer display functions handle window-height/window-width
1494 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1495 * window.el (window--display-buffer): New argument ALIST.
1496 Obey window-height and window-width alist entries.
1497 (window--try-to-split-window): New argument ALIST.
1498 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1499 changed and window-combination-limit equals `window-size'.
1500 (display-buffer-in-atom-window)
1501 (display-buffer-in-major-side-window)
1502 (display-buffer-in-side-window, display-buffer-same-window)
1503 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1504 (display-buffer-pop-up-window, display-buffer-below-selected)
1505 (display-buffer-at-bottom, display-buffer-in-previous-window)
1506 (display-buffer-use-some-window): Adjust all callers of
1507 window--display-buffer and window--try-to-split-window.
1508 (fit-frame-to-buffer): New option.
1509 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1510 is non-nil.
1511 (display-buffer-in-major-side-window): Evaluate window-height /
1512 window-width alist entries.
1513
1514 * help.el (temp-buffer-resize-frames)
1515 (temp-buffer-resize-regexps): Remove options.
1516 (temp-buffer-resize-mode): Adjust doc-string.
1517 (resize-temp-buffer-window): Don't consult
1518 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1519 temp-buffer-resize-frames.
1520
375e49d4
SM
1521 * dired.el (dired-mark-pop-up):
1522 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1523 entry.
1524
c4c0c2df
CY
15252012-09-30 Chong Yidong <cyd@gnu.org>
1526
48de8b12
CY
1527 * server.el (server-host): Document the security implications.
1528 (server-auth-key): Doc fix.
1529
1530 * startup.el (initial-buffer-choice): Doc fix.
1531
1532 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1533
a97dc380
CY
1534 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1535 restriction change.
1536
d39d3c8e
CY
1537 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1538
c4c0c2df
CY
1539 * help-fns.el (help-fns--obsolete): Fix last change.
1540
98a5e33b
SM
15412012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1542
34cf6f39
SM
1543 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1544 (minor-mode-map-alist): Remove redundant code.
1545
e01c13fe
SM
1546 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1547 visited in a buffer.
1548 (cvs-insert-visited-file): New function.
1549 (find-file-hook): Use it.
1550
1551 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1552
02661b3a
SM
1553 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1554 chose face.
1555 (log-edit-empty-buffer-p): Don't require a space after a header.
1556
43711d4b
SM
1557 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1558
38a30d64
SM
1559 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1560
4ffb41a9
SM
1561 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1562 a proper minor-mode.
1563
98a5e33b
SM
1564 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1565
de82e29b
GM
15662012-09-29 Glenn Morris <rgm@gnu.org>
1567
5cc2e639
GM
1568 * winner.el (winner-mode): Remove variable (let define-minor-mode
1569 handle it).
1570 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1571 Doc fixes.
1572 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1573 (winner-mode): Use define-minor-mode.
1574
7bd302eb
GM
1575 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1576 the full definition in loaddefs, rather than duplicating it.
1577
2923922f 1578 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1579
0e3e4156
GM
1580 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1581 (inferior-lisp-program, inferior-lisp-load-command)
1582 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1583 No need to autoload defcustoms.
0e3e4156 1584
de82e29b
GM
1585 * hippie-exp.el (hippie-expand-try-functions-list)
1586 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1587 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1588 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1589 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1590 * progmodes/vhdl-mode.el (vhdl-line-expand):
1591 Explicitly load hippie-exp, so it does not get autoloaded
1592 while hippie-expand-try-functions-list is let-bound.
1593
e60b51ab
GM
15942012-09-28 Glenn Morris <rgm@gnu.org>
1595
277f0cfa
GM
1596 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1597
e60b51ab
GM
1598 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1599 Only "cl.el" counts as cl these days.
1600
53baf48a
JL
16012012-09-28 Juri Linkov <juri@jurta.org>
1602
1603 Display archive errors in the echo area instead of inserting
1604 to the file buffer.
1605
1606 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1607 to STDERR-TEST that can be a regexp matching a successful output.
1608 Create a temporary file and redirect stderr to it. Search for
1609 STDERR-TEST in the stderr output and display it in the echo area
1610 if no match is found.
1611 (archive-extract-by-file): New function like
1612 `archive-extract-by-stdout' but extracting archives to files
1613 and looking for successful matches in stdout. Function body is
1614 mostly copied from `archive-rar-extract'.
1615 (archive-rar-extract): Use `archive-extract-by-file'.
1616 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1617
9c1228c3
LL
16182012-09-28 Leo Liu <sdl.web@gmail.com>
1619
375e49d4
SM
1620 * pcomplete.el (pcomplete-show-completions):
1621 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1622
9c1228c3
LL
1623 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1624
7f457c06
SM
16252012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1626
3df749b0
SM
1627 * type-break.el: Use lexical-binding.
1628 (type-break-mode): Use define-minor-mode.
1629
7f457c06
SM
1630 * emacs-lisp/pcase.el (pcase--mark-used): New.
1631 (pcase--u1): Use it (bug#12512).
1632
1633 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1634 in load-history with the right file name.
1635
c00ebc98
TH
16362012-09-28 Tassilo Horn <tsdh@gnu.org>
1637
1638 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1639 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1640 (doc-view-get-bounding-box): Make bounding box slicing work for
1641 ODF and DVI documents.
1642
96fb7170
GM
16432012-09-28 Glenn Morris <rgm@gnu.org>
1644
1645 * type-break.el (type-break-mode, type-break-interval)
1646 (type-break-good-rest-interval, type-break-keystroke-threshold):
1647 No need to autoload.
1648 (type-break-good-rest-interval, type-break-keystroke-threshold):
1649 Add :set-after.
1650
5bc93c67
CY
16512012-09-28 Chong Yidong <cyd@gnu.org>
1652
1653 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1654 Add :version tag.
1655
9cad61d6
SM
16562012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1657
e28e67b3 1658 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1659
daee954c
GM
16602012-09-27 Glenn Morris <rgm@gnu.org>
1661
a88324d4
GM
1662 * faces.el (x-display-name): Declare (for without-x builds).
1663
8e5064e5
GM
1664 * linum.el (linum-format): Don't autoload it. Improve :type.
1665
cc1783c2
GM
1666 * progmodes/tcl.el: Don't require outline when compiling.
1667 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1668 * textmodes/sgml-mode.el: Don't require outline when compiling.
1669 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1670
48c339f2
GM
1671 * term.el (term-ansi-reset):
1672 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1673
daee954c
GM
1674 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1675 files for RCS and SCCS. (Bug#9781)
1676
b7f42161
CY
16772012-09-27 Chong Yidong <cyd@gnu.org>
1678
1679 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1680 change; value should be t.
1681
a2e770db
SM
16822012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1683
83600dc8
SM
1684 * image-mode.el: Use lexical-binding.
1685 (image-mode-winprops): Use t to stand for the window of
1686 a buffer that's not displayed.
1687 * doc-view.el (doc-view-new-window-function): Handle the new
1688 t in winprops.
1689 (doc-view-enlarge): Make it a real nop if the size is not changed.
1690 (doc-view-display): Handle the case where the buffer is not (yet?)
1691 displayed in any window.
1692 (doc-view-saved-settings): New var.
1693 (doc-view-mode): Use it.
1694 (doc-view-fallback-mode): Set it.
1695
a2e770db
SM
1696 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1697 Set lexical-binding.
1698 (minibuffer-eldef-shorten-default): New var.
1699 (minibuffer-default-in-prompt-regexps): Use it for new default.
1700 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1701
e3b60857
JB
17022012-09-26 Juanma Barranquero <lekktu@gmail.com>
1703
1704 * international/uni-bidi.el:
1705 * international/uni-category.el:
1706 * international/uni-name.el:
1707 * international/uni-numeric.el: Regenerate.
1708
3a880af4
SM
17092012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1710 Stefan Monnier <monnier@iro.umontreal.ca>
1711
1712 * profiler.el: New file.
1713
07b1a5fb
SM
17142012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1715
1716 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1717 (testcover-reinstrument): Simplify with CSE.
1718
42019c2e
JB
17192012-09-26 Juanma Barranquero <lekktu@gmail.com>
1720
1721 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1722
179f044b
WS
17232012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1724
1725 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1726 (verilog-auto-input, verilog-auto-insert-lisp)
1727 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1728 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1729 (verilog-auto-unused, verilog-auto-wire)
1730 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1731 newline. Reported by Andrew Jones.
1732 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1733 Reported by Brad Dobbie.
07b1a5fb
SM
1734 (verilog-batch-delete-trailing-whitespace):
1735 Create verilog-batch-delete-trailing-whitespace.
1736 Reported by Brad Dobbie.
179f044b
WS
1737 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1738 parameters from another module. Reported by Dan Katz.
1739 (verilog-auto, verilog-auto-assign-modport)
1740 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1741 AUTOINOUTMODPORT for UVM interface module shell generation.
1742 Reported by Brad Dobbie.
1743 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1744 standard behavior.
1745 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1746 Reported by Matt Martin.
1747
9c52dd5a
MR
17482012-09-25 Martin Rudalics <rudalics@gmx.at>
1749
1750 * window.el (window--resize-child-windows): When resizing child
1751 windows proportionally, process them in reverse order to
1752 preserve the "when splitting a window the new one gets the odd
1753 line" behavior.
1754 (window--resize-root-window-vertically): When resizing the
1755 minibuffer window try to affect only windows at the bottom of the
1756 frame. (Bug#12419)
1757
863666eb
CY
17582012-09-25 Chong Yidong <cyd@gnu.org>
1759
1760 * subr.el (declare): Doc fix.
1761
1762 * help-fns.el (help-fns--obsolete): Handle macros properly.
1763
59f7af81
CY
17642012-09-25 Chong Yidong <cyd@gnu.org>
1765
1766 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1767 this function obsolete.
1768
1769 * calendar/cal-x.el (calendar-two-frame-setup)
1770 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1771 * calendar/calendar.el (american-calendar, european-calendar)
1772 (calendar-for-loop):
1773 * comint.el (comint-dynamic-simple-complete)
1774 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1775 * desktop.el (desktop-load-default):
1776 * dired-x.el (dired-omit-here-always)
1777 (dired-hack-local-variables, dired-default-directory):
1778 * emacs-lisp/derived.el (derived-mode-class):
1779 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1780 * emacs-lock.el (toggle-emacs-lock):
1781 * epa.el (epa-display-verify-result):
1782 * epg.el (epg-sign-keys, epg-start-sign-keys)
1783 (epg-passphrase-callback-function):
1784 * eshell/esh-util.el (eshell-for):
1785 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1786 (eshell-add-to-window-buffer-names):
1787 * files.el (locate-file-completion):
1788 * imenu.el (imenu-example--create-c-index)
1789 (imenu-example--create-lisp-index)
1790 (imenu-example--lisp-extract-index-name)
1791 (imenu-example--name-and-position):
1792 * international/mule-cmds.el (princ-list):
1793 * international/mule-diag.el (decode-codepage-char):
1794 * international/mule-util.el (detect-coding-with-priority):
1795 * iswitchb.el (iswitchb-read-buffer):
1796 * mail/mailalias.el (mail-complete):
1797 * mail/sendmail.el (mail-sent-via):
1798 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1799 (mouse-major-mode-menu):
1800 * password-cache.el (password-read-and-add):
1801 * pcomplete.el (pcomplete-parse-comint-arguments):
1802 * progmodes/sh-script.el (sh-maybe-here-document):
1803 * replace.el (query-replace-regexp-eval):
1804 * savehist.el (savehist-load):
1805 * simple.el (choose-completion-delete-max-match):
1806 * term.el (term-dynamic-simple-complete):
1807 * vc/ediff-init.el (ediff-check-version):
1808 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1809 * vc/vc.el (vc-diff-switches-list):
1810 * view.el (view-return-to-alist-update): Likewise.
1811
1812 * subr.el (eval-next-after-load, makehash, insert-string)
1813 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1814 mark obsolete.
1815 (mode-line-inverse-video): Variable deleted.
1816
1817 * international/mule-util.el (string-to-sequence): Remove.
1818
1819 * calendar/calendar.el (calendar-version):
1820 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1821 (icalendar-convert-diary-to-ical):
1822 * cus-edit.el (custom-mode):
1823 * ansi-color.el (ansi-color-unfontify-region):
1824 * international/latin1-disp.el (latin1-char-displayable-p):
1825 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1826 * progmodes/which-func.el (which-func-update-1):
1827 Use define-obsolete-function-alias.
59f7af81
CY
1828
1829 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1830 * net/newst-treeview.el (newsticker-groups-filename):
1831 Fix incorrect obsolescence declaration.
59f7af81
CY
1832
1833 * allout.el (allout-passphrase-hint-string): Likewise.
1834 (allout-init): Use a declare form to mark obsolete.
1835
1836 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1837 this applies to functions.
1838
1839 * iswitchb.el (iswitchb-read-buffer): Move code of
1840 iswitchb-define-mode-map here, and delete that obsolete function.
1841
1842 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1843 font-lock-reference-face.
1844
cca96c97
GM
18452012-09-25 Glenn Morris <rgm@gnu.org>
1846
b06eeda8
GM
1847 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1848 Doc fixes.
1849
cca96c97
GM
1850 * eshell/em-term.el (eshell-term-name):
1851 Default to term-term-name. (Bug#12485)
1852
dc4f818b
FEG
18532012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1854
cca96c97
GM
1855 * progmodes/python.el (python-shell-send-buffer): Better handling
1856 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1857
289c24bd
GM
18582012-09-24 Glenn Morris <rgm@gnu.org>
1859
1860 * eshell/esh-cmd.el (eshell-find-alias-function):
1861 Tighten up file-name regexp. (Bug#12499)
1862
8fb8b88f
FEG
18632012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1864
1865 Enhancements for triple-quote string syntax.
1866 * progmodes/python.el (python-quote-syntax): Remove.
1867 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1868 (python-syntax-count-quotes, python-syntax-stringify):
1869 New functions.
8fb8b88f 1870
6c27f0f8
CY
18712012-09-24 Chong Yidong <cyd@gnu.org>
1872
a5f2b6ec
CY
1873 * mail/supercite.el (sc-version): Remove obsolete function.
1874 (sc-describe): Don't mark as obsolete, since it is bound.
1875 (sc-submit-bug-report): Remove.
1876
1877 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1878 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1879 (log-edit-require-final-newline)
1880 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1881
1882 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1883 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1884 * vc/vc.el (vc-checkout-carefully): Likewise.
1885
1886 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1887 (emerge-version): Remove.
1888
1889 * progmodes/compile.el (compile-internal): Remove.
1890 (compilation-parse-errors-function): Fix typo.
1891
1892 * international/mule.el (set-char-table-default): Remove.
1893 (set-coding-priority, make-coding-system, generic-char-p)
1894 (charset-list, charset-bytes, charset-id): Use declare to mark
1895 functions as obsolete.
1896
1897 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1898 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1899 * vc/vc-hooks.el (vc-default-registered): Don't use
1900 vc-master-templates.
1901
07b1a5fb
SM
1902 * font-lock.el (font-lock-reference-face):
1903 Use define-obsolete-variable-alias.
6c27f0f8
CY
1904
1905 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1906 * calendar/calendar.el (calendar-font-lock-keywords):
1907 * calendar/diary-lib.el (diary-font-lock-keywords)
1908 (diary-fancy-font-lock-keywords):
1909 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1910 * textmodes/reftex-index.el (reftex-insert-index):
1911 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1912 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1913 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1914 * progmodes/prolog.el (prolog-font-lock-keywords):
1915 * progmodes/idlwave.el (idlwave-idl-keywords):
1916 * progmodes/ada-mode.el (ada-font-lock-keywords):
1917 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1918
bcc0adbf
GM
19192012-09-24 Glenn Morris <rgm@gnu.org>
1920
1921 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1922
095bb823
FEG
19232012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1924
1925 * progmodes/python.el (python-indent-line): More consistent cursor
1926 movement behavior.
1927
70efc5c9
SM
19282012-09-23 Stefan Merten <smerten@oekonux.de>
1929
1930 * textmodes/rst.el: Fix compiler warning.
1931
2f438239
RW
19322012-09-23 Roland Winkler <winkler@gnu.org>
1933
07b1a5fb
SM
1934 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1935 Transcribe also LaTeX hyphenation.
2f438239
RW
1936 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1937 bibtex-reformat-previous-options.
1938
936ad041
RW
19392012-09-23 Roland Winkler <winkler@gnu.org>
1940
1941 * proced.el (proced-renice-command): New variable.
1942 (proced-marked-processes): New function.
1943 (proced-with-processes-buffer): New macro.
1944 (proced-send-signal): Use them.
1945 (proced-renice): New command bound to r.
1946
6fab0274
RW
19472012-09-23 Roland Winkler <winkler@gnu.org>
1948
1949 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1950 ibuffer-saved-filter-groups has one element, shortcut the call of
1951 completing-read. (Bug#12331)
1952
9a930676
CY
19532012-09-23 Chong Yidong <cyd@gnu.org>
1954
1955 * bindings.el (mode-line-toggle-read-only):
1956 * bs.el (bs-toggle-readonly):
1957 * buff-menu.el (Buffer-menu-toggle-read-only):
1958 * dired.el (dired-toggle-read-only):
1959 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1960
d07ff9db
CY
19612012-09-23 Chong Yidong <cyd@gnu.org>
1962
1963 * image.el (image-type-available-p): Adapt to init-image-library
1964 argument changes.
1965
51c4474e
JL
19662012-09-22 Juri Linkov <juri@jurta.org>
1967
1968 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1969 `dired-toggle-read-only'. (Bug#12462)
1970
43bf5e8e
MR
19712012-09-22 Martin Rudalics <rudalics@gmx.at>
1972
1973 * subr.el (temp-output-buffer-show): New function.
1974 (with-output-to-temp-buffer): Call temp-output-buffer-show
1975 instead of internal-temp-output-buffer-show.
1976
c88b867f
CY
19772012-09-22 Chong Yidong <cyd@gnu.org>
1978
3df47cd5
CY
1979 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1980 (Bug#12462).
1981
c88b867f
CY
1982 * repeat.el (repeat): Doc fix (Bug#12348).
1983
1984 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1985 (Bug#10909).
1986
1987 * simple.el (shell-command-on-region): Doc fix.
3171e303 1988 (read-only-mode): Doc fix.
c88b867f 1989
df9685f3
EZ
19902012-09-22 Eli Zaretskii <eliz@gnu.org>
1991
1992 * emacs-lisp/timer.el (run-with-idle-timer)
1993 (timer-activate-when-idle): Warn against reinvoking an idle timer
1994 from within its own timer action. (Bug#12447)
1995
8e17c9ba
MR
19962012-09-22 Martin Rudalics <rudalics@gmx.at>
1997
1998 * cus-start.el (window-combination-limit): Add new optional
1999 values.
2000 * window.el (temp-buffer-window-show)
2001 (window--try-to-split-window): Handle new values of
2002 window-combination-limit (Bug#1806).
2003 (split-window): Test window-combination-limit for t instead of
2004 non-nil.
2005 (display-buffer-at-bottom): New buffer display action function.
2006 * help.el (temp-buffer-resize-regexps): New option.
2007 (temp-buffer-resize-mode): Rewrite doc-string.
2008 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 2009 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 2010
48a24920
SM
20112012-09-22 Stefan Merten <smerten@oekonux.de>
2012
70efc5c9 2013 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
2014 (rst-official-version)
2015 (rst-package-emacs-version-alist): Sync with official version
2016 V1.4.0.
2017 (rst-faces-defaults, rst-set-level-default)
2018 (rst-level-face-max, rst-level-face-base-color)
2019 (rst-level-face-base-light, rst-level-face-format-light)
2020 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
2021 (rst-adornment-faces-alist): Match new setup.
2022 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
2023 (rst-level-5, rst-level-6): New faces.
2024
82f8cd94
CY
20252012-09-22 Chong Yidong <cyd@gnu.org>
2026
2027 * simple.el (undo): Handle indirect buffers (Bug#8207).
2028
acfa068f 20292012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
2030
2031 IDO: Disable match re-ordering for buffer switching.
2bc9406c 2032 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
2033 (ido-set-matches-1): Use it. (Bug#2042)
2034
acfa068f 20352012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2036
2037 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2038 Fix 2011-05-17 change. (Bug#12418)
2039
acfa068f 20402012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2041
2042 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2043
acfa068f 20442012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2045
2046 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2047 Be more robust about locating simple.el.
2048
acfa068f 20492012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2050
2051 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2052
acfa068f
CY
20532012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2054
2055 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2056
41a97e6f
JL
20572012-09-20 Juri Linkov <juri@jurta.org>
2058
eb2deaff
JL
2059 * replace.el (query-replace-read-from): Use `read-regexp' instead
2060 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2061 (occur-read-primary-args): Use `read-regexp' instead of
2062 `read-string'.
2063 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2064 `read-from-minibuffer'.
2065 * isearch.el (isearch-occur): Use `read-regexp' instead of
2066 `read-string'.
2067 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2068 `read-from-minibuffer'.
2069 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2070 of `read-string'. (Bug#7567)
2071
5825610b
JL
2072 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2073 and allow accepting a list of strings prepended to a list of
2074 standard default values. Doc fix. (Bug#12321)
2075
eebbf404
JL
2076 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2077
41a97e6f
JL
2078 * replace.el (read-regexp): Don't add ": " when PROMPT already
2079 ends with a colon and space. (Bug#12321)
2080
c9e452d3
TH
20812012-09-20 Tassilo Horn <tsdh@gnu.org>
2082
2083 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2084 error.
2085
ee97deee
SM
20862012-09-20 Stefan Merten <smerten@oekonux.de>
2087
70efc5c9 2088 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2089 Fixes feature request bug#11711.
2090 (rst-mode): Create `imenu-create-index-function'.
2091 (rst-get-stripped-line): Delete after refactoring.
2092 (rst-section-tree, rst-section-tree-rec)
2093 (rst-section-tree-point): Refactor and document properly.
2094 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2095 (rst-imenu-convert-cell, rst-imenu-create-index):
2096 New function.
ee97deee 2097
f490dab9
SM
20982012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2099
95b9712e
SM
2100 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2101 (macroexp--expand-all): Use it.
2102 (macroexp--funcall-and-return): Remove by folding it into its sole
2103 caller (macroexp--warn-and-return).
2104 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2105 Use macroexp--obsolete-warning.
2106
f490dab9
SM
2107 * calc/calc.el: Fix last change by removing the whole chunk, since it
2108 was only needed back when Calc was not bundled.
2109
96e8d411
MR
21102012-09-20 Martin Rudalics <rudalics@gmx.at>
2111
2112 * emacs-lisp/debug.el (debug): Restore assignment to
2113 debugger-old-buffer removed on 2012-09-08.
2114
0876a82d
JL
21152012-09-20 Juri Linkov <juri@jurta.org>
2116
2117 * dired-aux.el (dired-diff): Remove (require 'diff) since
2118 `diff-latest-backup-file' is now autoloaded.
2119
9f7c28f0
CY
21202012-09-20 Chong Yidong <cyd@gnu.org>
2121
2122 * vc/diff.el (diff-latest-backup-file): Autoload.
2123
7a04bee9
SM
21242012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2125
e6f0a80d
SM
2126 * calc/calc.el: Remove redundant autoload shape check.
2127 (sel-mode): Don't defvar.
2128 (calc-get-stack-element): Add `sel-mode' arg instead.
2129 (calc-top, calc-top-list): Pass it this additional argument.
2130 * calc/calc-store.el (calc-store-map):
2131 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2132 (calc-map-equation, calc-outer-product, calc-inner-product):
2133 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2134
7a04bee9
SM
2135 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2136
12734222
JL
21372012-09-19 Juri Linkov <juri@jurta.org>
2138
2139 * dired-aux.el (dired-diff): Add (require 'diff) because
2140 `diff-latest-backup-file' is not autoloaded.
2141 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2142 of `dired-get-filename' to t to not report error when there is
2143 no default file on the current line.
2144
46624b4f
SM
21452012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2146
ce97595b
SM
2147 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2148 macroexp--eval-if-compile.
2149 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2150 (macroexp--expand-all): Use them (bug#12371).
2151
46624b4f
SM
2152 * doc-view.el (doc-view-guess-paper-size)
2153 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2154
db8a5a18
TH
21552012-09-19 Tassilo Horn <tsdh@gnu.org>
2156
2157 New feature: set optimal slice from BoundingBox information.
2158 * doc-view.el (doc-view-mode-map): Add keybinding.
2159 (doc-view-menu): Add menu entry.
2160 (doc-view-set-slice): Adapt docstring.
2161 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2162 (doc-view-scale-bounding-box)
2163 (doc-view-set-slice-from-bounding-box): New functions.
2164 (doc-view-paper-sizes): New defvar.
2165
69f6644c
GM
21662012-09-19 Glenn Morris <rgm@gnu.org>
2167
35f5b19d
GM
2168 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2169 (byte-compile-log-warning): Autoload. (Bug#12371)
2170
69f6644c
GM
2171 * calendar/calendar.el (calendar-american-month-header)
2172 (calendar-european-month-header, calendar-iso-month-header)
2173 (calendar-month-header): New options.
2174 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2175 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2176
e543ae91
JD
21772012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2178
2179 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2180
2fd5e67d
JL
21812012-09-18 Juri Linkov <juri@jurta.org>
2182
2183 * dired-aux.el (dired-diff): Restore original functionality of
2184 getting the default value, but keep new feature of using the
2185 latest existing backup file (`diff-latest-backup-file').
2186
42917e79
JL
21872012-09-18 Juri Linkov <juri@jurta.org>
2188
2189 * dired.el (dired-mark): If the region is active in Transient Mark
2190 mode, mark all files in the active region. Doc fix.
2191 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2192 Doc fix. (Bug#10624)
2193
20f70ede
JL
21942012-09-18 Juri Linkov <juri@jurta.org>
2195
2196 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2197 attributes for M-n are pulled from the file at point.
2198 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2199 Suggested by Drew Adams. (Bug#10624)
2200
32fb8162
DG
22012012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2202
2203 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2204 whitespace after "end".
2205 (ruby-do-end-to-brace): Collapse block to one line if it fits
2206 within fill-column.
2207
37ab5092
MR
22082012-09-18 Martin Rudalics <rudalics@gmx.at>
2209
2210 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2211 value.
2212 (debug): Don't remove debugger window when debugger is expected
2213 to be back.
2214
ed1f0bd3
CY
22152012-09-18 Chong Yidong <cyd@gnu.org>
2216
2217 * custom.el (defface): Doc fix.
2218
2219 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2220
a11035b8
MB
22212012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2222
2223 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2224 to initialize query-on-exit; then test that instead (bug#12288).
2225
64f6a736
SM
22262012-09-17 Stefan Merten <smerten@oekonux.de>
2227
70efc5c9 2228 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2229 (rst-defcustom-testcover, rst-testcover-add-compose)
2230 (rst-testcover-add-1value): New functions.
2231 (rst-portable-mark-active-p): Replace by `use-region-p'.
2232 (rst-update-section, rst-classify-adornment)
2233 (rst-find-title-line): Mark `1value' forms.
2234 (rst-classify-adornment): Remove superfluous form.
2235 (rst-update-section, rst-get-adornments-around)
2236 (rst-adornment-complete-p, rst-get-next-adornment)
2237 (rst-adjust, rst-promote-region)
2238 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2239 (rst-find-pfx-in-region, rst-section-tree-rec)
2240 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2241 (rst-toc-node, rst-toc, rst-forward-section)
2242 (rst-iterate-leftmost-paragraphs)
2243 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2244 (rst-bullet-list-region)
2245 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2246 (rst-compile-find-conf, rst-compile)
2247 (rst-repeat-last-character): Fix style.
2248
580bd868
CY
22492012-09-17 Chong Yidong <cyd@gnu.org>
2250
2251 * comint.el (comint--complete-file-name-data): Don't add a space
2252 if the status is `sole'; that adds a gratuitous space in the
2253 completion-cycling case (Bug#12092).
2254
2255 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2256
69de3ec6
RS
22572012-09-17 Richard Stallman <rms@gnu.org>
2258
0dee970c
RS
2259 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2260 only in the mime-shown mode, not in raw mode.
2261 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2262 mime processing. (Bug#12305)
0dee970c 2263
6b250df6
GM
2264 * mail/rmail.el (rmail-retry-failure):
2265 Turn off mime processing first. (Bug#12037)
acb1c47b 2266
69de3ec6
RS
2267 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2268
d079ee5f
CY
22692012-09-17 Chong Yidong <cyd@gnu.org>
2270
2271 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2272 (shell-dynamic-complete-functions): Convert to defcustom.
2273 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2274
865fe16f
CY
2275 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2276 * comint.el (comint-prompt-read-only):
2277 * custom.el (defcustom):
2278 * hi-lock.el (hi-lock-mode):
2279 * ibuffer.el (ibuffer-formats):
2280 * ielm.el (ielm-prompt-read-only):
2281 * novice.el (disable-command):
2282 * saveplace.el (toggle-save-place):
2283 * speedbar.el (speedbar-supported-extension-expressions):
2284 * startup.el (auto-save-list-file-prefix, init-file-user)
2285 (after-init-hook, inhibit-startup-echo-area-message):
2286 * strokes.el (strokes-help):
2287 * time-stamp.el (time-stamp):
2288 * calendar/calendar.el (calendar, diary-file):
2289 * calendar/diary-lib.el (diary-mail-entries, diary)
2290 (diary-list-entries-hook):
2291 * calendar/holidays.el (holidays, calendar-holidays):
2292 * calendar/lunar.el (lunar-phases):
2293 * calendar/solar.el (sunrise-sunset):
2294 * emulation/edt.el (edt-load-keys):
2295 * emulation/viper.el (viper-mode):
2296 * eshell/em-alias.el (eshell-command-aliases-list):
2297 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2298 * international/ogonek.el (ogonek-information):
2299 * net/tramp-cmds.el (tramp-bug):
2300 * net/quickurl.el (quickurl-reread-hook-postfix):
2301 * play/decipher.el (decipher-font-lock-keywords):
2302 * progmodes/cc-styles.el (c-set-style):
2303 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2304 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2305 * progmodes/octave-mod.el (octave-mode):
2306 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2307 * progmodes/verilog-mode.el (verilog-read-defines):
2308 * textmodes/two-column.el (2C-mode): Likewise.
2309
48093eb9
KY
23102012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2311
2312 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2313 that holds many addresses.
2314
c584eaf9
CY
23152012-09-16 Chong Yidong <cyd@gnu.org>
2316
40d70ecb
CY
2317 * align.el (align-areas): Call the indication function with
2318 positions instead of markers for arguments (Bug#12343).
2319
1667e065
CY
2320 * files.el (parse-colon-path): Use split-string (Bug#12351).
2321
fdc2806d 2322 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2323 (display-buffer-function): Mark as obsolete.
fdc2806d 2324
f1be615c 2325 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2326 values similar to font-lock-keywords (Bug#12136).
2327 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2328 (compilation-error-regexp-alist): Doc fix.
2329
f40a9709
GM
23302012-09-15 Glenn Morris <rgm@gnu.org>
2331
72aa16e1
GM
2332 * version.el (emacs-bzr-version-bzr): New function.
2333 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2334
82375160
GM
2335 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2336 checkouts, check the parent dirstate matches the branch.
2337 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2338 empty string.
2339
f40a9709
GM
2340 * version.el (emacs-bzr-version): Doc fix.
2341 (emacs-bzr-version-dirstate): New function.
2342 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2343 is local try and check that it matches the branch. If not, just
2344 use dirstate information. (Bug#12441)
2345
cb26b7f5
JL
23462012-09-14 Juri Linkov <juri@jurta.org>
2347
2348 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2349 (Bug#12399)
2350
2de39f08
SM
23512012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2352
0fb3cb7c
SM
2353 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2354
2de39f08
SM
2355 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2356 Remove obsolete byte-compiler hack that tried to silence some warnings.
2357 (edebug-submit-bug-report): Remove.
2358 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2359 Remove aliases, use the un-prefixed name instead.
2360 (edebug-pop-to-buffer): Consider other frames.
2361 (edebug-original-read):: Make it more obvious that it's always defined.
2362 (edebug--make-form-data-entry, edebug--form-data-name)
2363 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2364 single-dashed name, and implement with cl-defstruct.
2365 (edebug-set-form-data-entry): Use the standard accessors.
2366 (edebug-make-top-form-data-entry): Use push.
2367 (edebug-no-match): Drop useless `funcall'.
2368 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2369 to functions.
2370 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2371 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2372 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2373 (easy-menu-define, with-custom-print): Remove redundant specs.
2374 (edebug-outside-overriding-local-map)
2375 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2376 (edebug--display): Bind unread-command-events directly to nil rather
2377 than binding it to unread-command-events and later setting it to nil.
2378 (edebug--display): Kill edebug-eval-buffer here...
2379 (edebug--recursive-edit): ...rather than here.
2380 Bind standard-output and standard-input.
2381 (edebug-eval): Check cl-macroexpand-all is fboundp.
2382 (edebug-temp-display-freq-count): Fix last change.
2383
2384 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2385 * subr.el (noreturn, 1value): Add `debug' spec.
2386 * emacs-lisp/advice.el: Require cl-lib.
2387 (ad-copy-tree): Remove, use copy-tree instead.
2388 (ad-dolist): Remove use dolist or cl-dolist instead.
2389 (ad-do-return): Remove, use cl-return instead.
2390 (defadvice): Add `debug' spec.
2391
5b68b333
JL
23922012-09-13 Juri Linkov <juri@jurta.org>
2393
2394 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2395 (Bug#12399)
2396
b9800ec4
GM
23972012-09-13 Glenn Morris <rgm@gnu.org>
2398
6a2e6868
GM
2399 * calc/calc.el (math-compose-expr):
2400 * calc/calc-ext.el (math-compose-expr):
2401 * progmodes/cc-defs.el (cl-macroexpand-all):
2402 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2403 (cl-macroexpand-all): Update declarations.
2404
b9800ec4
GM
2405 * vc/vc.el: No need to require ediff.
2406 (ediff-load-version-control): Declare.
2407 (ediff-vc-internal): Fix declaration.
2408 (vc-version-ediff): Require ediff.
2409
c18e885b
PE
24102012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2411
2412 Use a more backwards-compatible timer format (Bug#12430).
2413 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2414 being right after USECS, as that better supports old code that
2415 inadvisedly looked directly at the timer vector.
2416
d607d303
KH
24172012-09-13 Kenichi Handa <handa@gnu.org>
2418
2419 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2420 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2421 `coding-priority' property of these language environment.
2422
72eac303
PE
24232012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2424
2425 Fix glitches caused by addition of psec to timers (Bug#12430).
2426 * image.el (image-animate-timer):
2427 * time.el (display-time-world-timer):
2428 Use timer--function and timer--args rather than raw access to
2429 timer vector.
2430
2168fe4f
GM
24312012-09-13 Glenn Morris <rgm@gnu.org>
2432
2433 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2434 If not compiling a file, try using load-file-name.
2435
bd8d6108
SM
24362012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2437
c0c54fbd
SM
2438 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2439 Fix last change.
2440 (edebug-update-eval-list): Use `push'.
2441
bd8d6108
SM
2442 * emacs-lisp/edebug.el: Use lexical-binding.
2443 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2444 Mark unused args with underscore.
2445 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2446 (edebug-form-data): Use defvar-local.
2447 (edebug-make-before-and-after-form, edebug-make-after-form):
2448 Use backquote.
2449 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2450 Not dynamically scoped any more.
2451 (edebug--enter-trace): Add arguments `function' and `args'.
2452 Rename from edebug-enter-trace.
2453 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2454 (edebug--update-coverage): Add `after-index' and `value' args.
2455 Rename from edebug-update-coverage.
2456 (edebug-slow-after): Call it accordingly.
2457 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2458 edebug-recursive-edit.
2459 (edebug--display): Call it accordingly. Add args `value',
2460 `offset-index', and `arg-mode'. Rename from edebug-display.
2461 (edebug-debugger, edebug): Call it accordingly.
2462 (edebug-eval-display-list): Use dolist.
2463
a9f9d9de
JL
24642012-09-12 Juri Linkov <juri@jurta.org>
2465
2466 * info.el (Info-search): Don't check for isearch-mode and
2467 isearch-regexp before let-binding search-spaces-regexp to
2468 Info-search-whitespace-regexp.
2469 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2470 search-whitespace-regexp if isearch-lax-whitespace or
2471 isearch-regexp-lax-whitespace is non-nil.
2472 (Info-mode): Don't set local variable search-whitespace-regexp.
2473 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2474
bfeae2cf
SM
24752012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2476
2477 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2478 (debugger-env-macro): Remove support for unread-command-char.
2479
2480 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2481 the temporary map re-appearing on emulation-mode-map-alists.
2482
2483 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2484 since 22.1.
2485
2486 * ehelp.el (with-electric-help): Accept functions in
2487 electric-help-form-to-execute.
2488 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2489 And replace unread-command-char -> unread-command-events.
2490
fbbcaf1b
MA
24912012-09-12 Michael Albinus <michael.albinus@gmx.de>
2492
2493 Sync with Tramp 2.2.6.
2494
2495 * net/tramp.el (tramp-accept-process-output): Don't use
2496 JUST-THIS-ONE in the XEmacs case.
2497
2498 * net/trampver.el: Update release number.
2499
4dece104
MR
25002012-09-12 Martin Rudalics <rudalics@gmx.at>
2501
bfeae2cf
SM
2502 * emacs-lisp/debug.el (debugger-previous-window-height):
2503 New variable.
4dece104
MR
2504 (debug): When debugger-jumping-flag is non-nil try to restore
2505 height of debugger window. (Bug#8789)
2506
45b82ad0
SM
25072012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2508
60c49c0f
SM
2509 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2510 overriding-local-map and pre/post-command-hook here.
2511 (edebug-recursive-edit): Do it here instead (bug#12345).
2512 (edebug-outside-unread-command-char): Remove all uses of
2513 unread-command-char.
2514
45b82ad0
SM
2515 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2516 inhibit-debugger is bound instead.
2517
baa26ea0
BG
25182012-09-11 Bastien Guerry <bzg@gnu.org>
2519
2520 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2521 (Bug#12346)
baa26ea0 2522
04e8abfa
BG
25232012-09-11 Bastien Guerry <bzg@gnu.org>
2524
96d03571 2525 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2526 (Bug#12347)
96d03571
BG
2527
25282012-09-11 Bastien Guerry <bzg@gnu.org>
2529
fc0c31f8 2530 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2531
04e082b0
MM
25322012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2533
2534 * progmodes/sql.el: Version 3.1
2535 (sql-db2-escape-newlines): New variable.
2536 (sql-escape-newlines-filter): Use it.
2537
399a361b
JB
25382012-09-10 Juanma Barranquero <lekktu@gmail.com>
2539
2540 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2541
0780c517
DN
25422012-09-10 Dan Nicolaescu <dann@gnu.org>
2543
45b82ad0
SM
2544 * vc/diff-mode.el (diff-mode-menu):
2545 Bind diff-remove-trailing-whitespace.
0780c517 2546
9b851e25
SM
25472012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2548
2549 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2550 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2551 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2552 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2553 (eval-defun-2): Remove bogus interactive spec.
2554 (lisp-indent-line): Remove redundant whole-exp code, now done in
2555 indent-according-to-mode.
2556 (save-match-data): Remove redundant indent data.
2557
2558 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2559 Use `declare'.
2560
3231d532
JL
25612012-09-09 Juri Linkov <juri@jurta.org>
2562
2563 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2564 (replace-lax-whitespace, query-replace-regexp)
2565 (query-replace-regexp-eval, replace-regexp): Doc fix.
2566 (perform-replace, replace-highlight): Let-bind
2567 isearch-lax-whitespace to replace-lax-whitespace and
2568 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2569
2570 * isearch.el (isearch-query-replace): Let-bind
2571 replace-lax-whitespace to isearch-lax-whitespace and
2572 replace-regexp-lax-whitespace to
2573 isearch-regexp-lax-whitespace. (Bug#10885)
2574
70fe8236
SM
25752012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2578
8ed43f15
AM
25792012-09-09 Alan Mackenzie <acm@muc.de>
2580
70fe8236
SM
2581 * progmodes/cc-engine.el (c-state-cache-init):
2582 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2583 (c-record-parse-state-state):
2584 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2585
bfabf70a
AS
25862012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2587
2588 * register.el (register-separator): Rename from
2589 separator-register. All uses changed. Doc fix.
2590 (register): Fix version.
2591
011474aa
CY
25922012-09-09 Chong Yidong <cyd@gnu.org>
2593
2594 * replace.el (query-replace-map): Bind four new symbols for
2595 requesting window scrolling.
2596
2597 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2598 query-replace-map (Bug#8948).
2599
2600 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2601
2602 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2603 since they are now in query-replace-map.
2604
2605 * window.el (scroll-other-window-down): Make the arg optional.
2606
a8b7cd8d
CY
26072012-09-09 Chong Yidong <cyd@gnu.org>
2608
2609 * files.el (hack-local-variables-confirm): Use quit-window to kill
2610 the *Local Variables* buffer.
2611
c3268831
DG
26122012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2613
2614 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2615 not just expect to be at its beginning. Adjust callees.
2616 Succeed when do-end block has no space before the pipe character.
2617 (ruby-brace-to-do-end): When the original block is one-liner,
2618 convert to multiline. Reindent the result.
2619
0979429b
J
26202012-09-08 Jambunathan K <kjambunathan@gmail.com>
2621
2622 * register.el (register): New group.
27359e99 2623 (separator-register): New user option.
0979429b
J
2624 (increment-register): Route it to `append-to-register', if
2625 register contains text. Implication is that `C-x r +' can now be
2626 used for appending to a text register (bug#12217).
2627 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2628 `separator-register'.
0979429b 2629
ace2989a
AM
26302012-09-08 Alan Mackenzie <acm@muc.de>
2631
2632 AWK Mode: make auto-newline work when there's "==" in the pattern.
2633 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2634 correctly.
0979429b
J
2635 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2636 Test more rigorously for "=" token.
ace2989a 2637
616c6c36
DG
26382012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2639
0979429b
J
2640 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2641 Only fail when reached LIMIT.
616c6c36 2642
35d98877
CY
26432012-09-08 Chong Yidong <cyd@gnu.org>
2644
2645 * dired.el (dired-mode-map): Don't bind M-=.
2646
2647 * dired-aux.el (dired-diff): Use backup file as default.
2648
1715f2db
DA
26492012-09-08 Drew Adams <drew.adams@oracle.com>
2650
2651 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2652
6dcef6ec
CY
26532012-09-08 Chong Yidong <cyd@gnu.org>
2654
2655 * subr.el (syntax-after, syntax-class): Doc fix.
2656
fa2bcf43
MR
26572012-09-08 Martin Rudalics <rudalics@gmx.at>
2658
2659 * window.el (display-buffer-in-previous-window): New buffer
2660 display action function.
2661
2662 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2663 (debugger-previous-window): New variable.
2664 (debug): Rewrite using display-buffer-in-previous-window,
2665 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2666
daac280a
SM
26672012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2670
9dd40b00
MM
26712012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2672
daac280a
SM
2673 * progmodes/python.el (python-shell-send-string):
2674 When default-directory is remote, create temp file on remote
9dd40b00
MM
2675 filesystem.
2676 (python-shell-send-file): When file is remote, pass local view of
2677 file paths to remote Python interpreter. (Bug#12340)
2678
145823ec
CY
26792012-09-07 Chong Yidong <cyd@gnu.org>
2680
cee2e90d
CY
2681 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2682
0d7eb2ea
CY
2683 * files.el (after-find-file): Don't fail on a read-only buffer if
2684 require-final-newline is `visit' or `visit-save' (Bug#11156).
2685
145823ec
CY
2686 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2687
daac280a
SM
2688 * userlock.el (ask-user-about-supersession-threat):
2689 Use read-char-choice (Bug#12093).
145823ec 2690
74c582e6
CY
26912012-09-07 Chong Yidong <cyd@gnu.org>
2692
e5c2edf7
CY
2693 * subr.el (buffer-narrowed-p): New function.
2694
2695 * ses.el (ses-widen):
2696 * simple.el (count-words--buffer-message):
1f9f395d 2697 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2698
2699 * simple.el (count-words-region): Don't signal an error if there
2700 is a non-nil prefix arg and the mark is not set.
c640e87d 2701
74c582e6
CY
2702 * help.el (describe-key-briefly): Allow the message to be seen
2703 when invoked from the minibuffer (Bug#7014).
2704
d81ceaaf
DG
27052012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2706
2707 * progmodes/ruby-mode.el (ruby-end-of-defun)
2708 (ruby-beginning-of-defun): Simplify, allow indentation before
2709 block beginning and end keywords.
8f06acce
DG
2710 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2711 (ruby-end-of-defun): Expect that the point is at the beginning of
2712 the defun.
d81ceaaf 2713
d458ef98
SM
27142012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2715
2716 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2717 (bug#12367).
2718 (cl--make-usage-args): Strip _ from argument names.
2719
20367d28
RS
27202012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2721
2722 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2723 obsolete alias speedbar-key-map.
2724 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2725 (vhdl-index-menu-init): Don't use obsolete variable
2726 font-lock-maximum-size.
2727
3424a4f6
CY
27282012-09-06 Chong Yidong <cyd@gnu.org>
2729
2730 * frame.el (window-system-version): Mark as obsolete.
2731
fcbfbdea
CY
2732 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2733 of obsolete variable speedbar-key-map.
2734
826b3235
JL
27352012-09-06 Juri Linkov <juri@jurta.org>
2736
2737 * replace.el (replace-lax-whitespace): New defcustom.
2738 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2739 (replace-string, replace-regexp): Mention it in docstrings.
2740 (perform-replace, replace-highlight): Let-bind
2741 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2742 to the values of replace-lax-whitespace and regexp-flag.
2743 Don't let-bind search-whitespace-regexp. (Bug#10885)
2744
2745 * isearch.el (isearch-query-replace): Let-bind
2746 replace-lax-whitespace instead of let-binding
2747 replace-search-function and replace-re-search-function.
2748 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2749 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2750 (isearch-toggle-symbol): Set isearch-regexp to nil
2751 in isearch-word mode (like in isearch-toggle-word).
2752
1ec5e41d
JL
27532012-09-06 Juri Linkov <juri@jurta.org>
2754
2755 * replace.el (replace-search-function)
2756 (replace-re-search-function): Set default values to nil.
2757 (perform-replace): Let-bind isearch-related variables based on
2758 replace-related values, call `isearch-search-fun' and let-bind
2759 the result to `search-function'. Remove code that sets
2760 `search-function' and `search-string' separately for
2761 `delimited-flag'.
2762 (replace-highlight): Add new argument `delimited-flag' and
2763 rename other arguments to the names used in `perform-replace'.
2764 Let-bind `isearch-word' to the argument `delimited-flag'.
2765 (Bug#10885, bug#10887)
2766
0ba2d4b6
DG
27672012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2768
2769 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2770 ruby-beginning-of-indent, simplify, allow all keywords to have
2771 indentation before them.
2772 (ruby-beginning-of-indent): Adjust for above. Search until the
2773 found point is not inside a string or comment.
2774 (ruby-font-lock-keywords): Allow symbols to start with "@"
2775 character, give them higher priority than variables.
2776 (ruby-syntax-propertize-function)
2777 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2778 matchers. Expression expansions are not comments when inside a
2779 string, and there comment syntax status is irrelevant.
2780 (ruby-match-expression-expansion): New function. Check that
2781 expression expansion is inside a string, and it's not escaped.
2782 (ruby-font-lock-keywords): Use it.
2783
ef654460
MR
27842012-09-05 Martin Rudalics <rudalics@gmx.at>
2785
2786 * help.el (temp-buffer-max-height): New default value.
2787 (temp-buffer-resize-frames): New option.
2788 (resize-temp-buffer-window): Optionally resize frame.
2789
2790 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2791 (fit-frame-to-buffer): New function.
2792
7e570fbf 27932012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2794
2795 * emulation/cua-rect.el (cua--init-rectangles):
2796 * textmodes/picture.el (picture-mode-map):
2797 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2798 like forward-char and backward-char. (Bug#12317)
2799
7e570fbf 28002012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2801
2802 * progmodes/flymake.el (flymake-warning-re): New variable.
2803 (flymake-parse-line): Use it.
2804
7e570fbf 28052012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2806
2807 * calendar/holidays.el (holiday-christian-holidays):
2808 Rename an entry. (Bug#12289)
2809
7e570fbf 28102012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2811
2812 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2813 (bug#12222).
2814
972debf2
SM
28152012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2816
2817 * loadup.el: Load macroexp. Remove hack.
2818 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2819 (macroexp--expand-all): Use it to get better warnings.
2820 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2821 (internal-macroexpand-for-load): New functions.
2822 (macroexp--pending-eager-loads): New var.
2823 (emacs-startup-hook): New hack to replace one in loadup.el.
2824 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2825 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2826 (cl-psetf): Simplify.
2827 (cl-defstruct): Add indent rule.
2828
8ce192e3
LI
28292012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2830
2831 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2832 over `user-mail-address' for the SMTP MAIL FROM envelope.
2833 (smtpmail-via-smtp): Ditto.
2834
6578b4d8
DG
28352012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2836
2837 * progmodes/ruby-mode.el: Clean up keybindings.
2838 (ruby-mode-map): Don't bind ruby-electric-brace,
2839 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2840 backward-kill-word, reindent-then-newline-and-indent.
2841 (ruby-mark-defun): Remove.
2842 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2843 (ruby-mode): Set local beginning-of-defun-function and
2844 end-of-defun-function values.
2845
c5e28e39
MR
28462012-09-03 Martin Rudalics <rudalics@gmx.at>
2847
2848 * window.el (temp-buffer-window-setup-hook)
2849 (temp-buffer-window-show-hook): New hooks.
2850 (temp-buffer-window-setup, temp-buffer-window-show)
2851 (with-temp-buffer-window): New functions.
972debf2
SM
2852 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2853 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2854
2855 * help.el (temp-buffer-resize-mode): Fix doc-string.
2856 (resize-temp-buffer-window): New optional argument WINDOW.
2857
2858 * files.el (recover-file, save-buffers-kill-emacs):
2859 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2860
73406194
MA
28612012-09-02 Michael Albinus <michael.albinus@gmx.de>
2862
2863 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2864 remote definition of `default-directory', ensure we can connect.
2865
63dd1c6f
JL
28662012-09-02 Juri Linkov <juri@jurta.org>
2867
2868 Toggle whitespace matching mode with M-s SPC.
2869 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2870
2871 * isearch.el (search-whitespace-regexp): Doc fix.
2872 Remove cons cell customization.
2873 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2874 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2875 New variables.
2876 (isearch-forward, isearch-forward-regexp): Doc fix.
2877 (isearch-toggle-lax-whitespace): New command.
2878 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2879 (re-search-forward-lax-whitespace)
2880 (re-search-backward-lax-whitespace): New functions.
2881 (isearch-whitespace-regexp): Remove function.
2882 (isearch-query-replace): Let-bind replace-search-function and
2883 replace-re-search-function.
2884 (isearch-occur): Let-bind search-spaces-regexp according to the
2885 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2886 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2887 condition for C-q SPC.
2888 (isearch-search-fun-default): Use new functions mentioned above.
2889 (isearch-search-forward, isearch-search-backward): Remove functions.
2890 (isearch-search): Don't let-bind search-spaces-regexp.
2891 (isearch-lazy-highlight-space-regexp): Remove variable.
2892 (isearch-lazy-highlight-lax-whitespace)
2893 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2894 (isearch-lazy-highlight-new-loop): Use them.
2895 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2896
af7dda05
CY
28972012-09-02 Chong Yidong <cyd@gnu.org>
2898
2899 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2900
d67d3afd
GM
29012012-09-02 Glenn Morris <rgm@gnu.org>
2902
2903 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2904
69678719
GM
29052012-09-01 Glenn Morris <rgm@gnu.org>
2906
2907 * term.el: Tidy up menu definitions.
2908 (term-mode-map): Use easymenu for In/Out, Complete menus.
2909 (term-pager-break-map): Initialize in the defvar.
2910 (term-terminal-menu, term-signals-menu): Define with easymenu.
2911 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2912 (term-pager-menu): New, extracted from term-process-pager.
2913 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2914 (term-update-mode-line): Propertize line/char and page items.
2915 (term-process-pager): Move keymap initialization elsewhere.
2916
78dd6ab1
MR
29172012-09-01 Martin Rudalics <rudalics@gmx.at>
2918
2919 * window.el (switch-to-prev-buffer): Handle additional values of
2920 BURY-OR-KILL argument. Don't switch in minibuffer window.
2921 (switch-to-next-buffer): Don't switch in minibuffer window.
2922 (quit-restore-window): New function based on quit-window.
2923 Handle additional values of former KILL argument.
2924 (quit-window): Call quit-restore-window with appropriate
2925 interpretation of KILL argument.
2926 (display-buffer-below-selected): New buffer display action
2927 function.
2928
3d10e134
SM
29292012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * minibuffer.el (completion-at-point-functions): Complete docstring
2932 (bug#12254).
2933
0e23ef9d
PE
29342012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2935
2936 Better seed support for (random).
2937 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2938 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2939 * play/mpuz.el, play/tetris.el, play/zone.el:
2940 * calc/calc-comb.el (math-init-random-base):
2941 * play/blackbox.el (bb-init-board):
2942 * play/life.el (life):
2943 * server.el (server-use-tcp):
2944 * type-break.el (type-break):
2945 Remove unnecessary call to (random t).
2946 * net/sasl.el (sasl-unique-id-function):
2947 Change (random t) to (random), now that the latter is more random.
2948 * play/life.el (life-initialized): Remove no-longer-needed var.
2949
862382df
MR
29502012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2951
2952 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2953 Consider frame's buffer predicate when choosing the buffer.
2954 (Bug#12081)
2955
262a66e1
RS
29562012-08-30 Richard Stallman <rms@gnu.org>
2957
2958 * simple.el (special-mode-map): Delete binding for `z'.
2959
f17e1d00
AS
29602012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2961
2962 * progmodes/compile.el (compilation-always-kill): Doc fix.
2963
24777832
CY
29642012-08-30 Chong Yidong <cyd@gnu.org>
2965
2966 * window.el (display-buffer-reuse-frames): Make the obsolescence
2967 message more informative.
2968
69ba1f04
GM
29692012-08-30 Glenn Morris <rgm@gnu.org>
2970
2971 * paren.el (show-paren-delay):
2972 Add a :set function. Doc fix. (Bug#12297)
2973
f0019ede
MB
29742012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2975
2976 * progmodes/compile.el (compilation-always-kill): New var.
2977 (compilation-start): Use it.
2978
35e62fc9
SM
29792012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2980
af070a1c
SM
2981 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2982 * files.el (read-only-mode): Move to simple.el.
2983
35e62fc9
SM
2984 * files.el (read-only-mode): New minor mode.
2985 (toggle-read-only): Use it and mark obsolete.
2986 (find-file--read-only):
2987 * vc/vc.el (vc-next-action, vc-checkout):
2988 * vc/vc-cvs.el (vc-cvs-checkout):
2989 * obsolete/vc-mcvs.el (vc-mcvs-update):
2990 * ffap.el (ffap--toggle-read-only): Update callers.
2991
c2c43c23
MA
29922012-08-29 Michael Albinus <michael.albinus@gmx.de>
2993
2994 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2995 remote shell scripts.
2996 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2997
2998 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2999 "/usr/local/sbin".
3000
9fba804b
SM
30012012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3002
3003 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
3004
eada0861 30052012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 3006
806f0cc7
LL
3007 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
3008 completion-at-point. (Bug#12220)
3009
3bb213b9
LL
3010 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
3011
22ab32ef
LL
3012 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
3013
eada0861 30142012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 3015
19c17fc1
CY
3016 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
3017 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 3018
eada0861 30192012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
3020
3021 * progmodes/hideif.el (hif-compress-define-list):
3022 Fix typo. (Bug#11951)
3023
eada0861 30242012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
3025
3026 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
3027 buffer local setting.
3028
27d6c5a8
LL
3029 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
3030 rcirc-encode-coding-system.
3031
eada0861 30322012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
3033
3034 * net/rcirc.el (rcirc-split-message): New function.
3035 (rcirc-send-message): Use it. (Bug#12051)
3036
d44688e4
JL
30372012-08-28 Juri Linkov <juri@jurta.org>
3038
3039 * info.el (Info-fontify-node): Hide empty lines at the end of
3040 the node. (Bug#12272)
3041
34f10d41
MR
30422012-08-27 Drew Adams <drew.adams@oracle.com>
3043
3044 * dired.el (dired-pop-to-buffer): Make window start at beginning
3045 of buffer (Bug#12281).
3046
77f1f99c
CY
30472012-08-26 Chong Yidong <cyd@gnu.org>
3048
3049 * window.el (special-display-regexps, special-display-frame-alist)
3050 (special-display-buffer-names, special-display-function)
3051 (display-buffer-reuse-frames): Mark as obsolete.
3052
3053 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3054
3055 * help.el (help-print-return-message): Don't treat
3056 display-buffer-reuse-frames specially.
3057
d97af5a0
CY
30582012-08-26 Chong Yidong <cyd@gnu.org>
3059
9fba804b
SM
3060 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3061 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3062 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3063 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3064 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3065 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3066 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3067 the functions directly with gdb-display-buffer-other-frame-action.
3068 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3069 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3070 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3071 (gdb-display-registers-buffer): Define directly.
3072 (def-gdb-display-buffer): Macro deleted.
3073 (gdb-display-buffer): Remove second and third args, callers don't
3074 use them. Defer to the default display-buffer behavior, apart
3075 from making windows dedicated.
3076 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3077
3078 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3079
3080 * window.el (display-buffer-pop-up-frame): Handle a
3081 pop-up-frame-parameters alist entry.
3082 (display-buffer): Document it.
3083
dd7ffad6
CY
30842012-08-26 Chong Yidong <cyd@gnu.org>
3085
3086 * isearch.el (search-whitespace-regexp): Make string and nil
3087 values apply to both ordinary and regexp search. Allow a cons
3088 cell value to distinguish between the two.
3089 (isearch-whitespace-regexp, isearch-search-forward)
3090 (isearch-search-backward): New functions.
3091 (isearch-occur, isearch-search-fun-default, isearch-search)
3092 (isearch-lazy-highlight-new-loop): Use them.
3093 (isearch-forward, isearch-forward-regexp): Doc fix.
3094
4c47bd1e
CY
30952012-08-26 Chong Yidong <cyd@gnu.org>
3096
3097 * faces.el (help-argument-name): Always inherit from italic
3098 (Bug#12213).
3099
9aba119d
MR
31002012-08-25 Martin Rudalics <rudalics@gmx.at>
3101
3102 * window.el (window--even-window-heights): Even heights when
3103 WINDOW and the selected window form a vertical combination.
3104 (display-buffer-use-some-window): Provide that window used gets
3105 sized back by quit-window. (Bug#11880) and (Bug#12091)
3106
ca5256ad
PE
31072012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3108
3109 Fix file time stamp problem with bzr and CVS (Bug#12001).
3110 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3111 in the file's time stamp, since the version control system loses
3112 that information.
3113
d1c0d176
JL
31142012-08-22 Juri Linkov <juri@jurta.org>
3115
3116 * info.el (Info-fontify-node): Hide the suffix of the
3117 Info file name in the header line. (Bug#12187)
3118
141562ff
GM
31192012-08-22 Glenn Morris <rgm@gnu.org>
3120
3121 * calendar/cal-tex.el (cal-tex-weekly-common):
3122 Restore leading blank page.
3123
61a48e19 31242012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3125
3126 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3127 the region under `shift-select-mode'. (Bug#12231)
3128
31292012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3130
3131 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3132 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3133 gives details on why the space is never needed.
3134
ea95074e
MR
31352012-08-22 Martin Rudalics <rudalics@gmx.at>
3136
9fba804b
SM
3137 * window.el (walk-window-tree, window-with-parameter):
3138 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3139 should run on the minibuffer window.
3140 (window-at-side-list): Don't operate on minibuffer window.
3141 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3142 (window--size-ignore): Rename to window--size-ignore-p.
3143 Update callers.
caceae25
MR
3144 (display-buffer-in-atom-window, window--major-non-side-window)
3145 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3146 (delete-side-window, display-buffer-in-side-window):
3147 New functions.
caceae25
MR
3148 (window--side-check, window-deletable-p, delete-window)
3149 (delete-other-windows, split-window): Handle side windows and
3150 atomic windows appropriately.
3151 (window--display-buffer): Call display-buffer-record-window also
3152 when the window buffer did not change.
ea95074e 3153
80a51fa0
CS
31542012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3155
3156 * help-fns.el (help-fns--key-bindings):
3157 Abbreviate non-symbol remap targets. (Bug#12174)
3158
fbb6300b
MR
31592012-08-22 Martin Rudalics <rudalics@gmx.at>
3160
3161 * dired.el (dired-mark-remembered): Don't clobber point.
3162 (Bug#11795)
3163
2b2c0794
GM
31642012-08-22 Glenn Morris <rgm@gnu.org>
3165
3166 * progmodes/bug-reference.el (bug-reference): New custom group.
3167 (bug-reference-bug-regexp): Make it a defcustom.
3168
37219830
DU
31692012-08-22 Daiki Ueno <ueno@unixuser.org>
3170
3171 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3172 (js-paren-indent-offset, js-square-indent-offset)
3173 (js-curly-indent-offset): Add :safe (Bug#12257).
3174
94e0e559
EC
31752012-08-22 Edward O'Connor <hober0@gmail.com>
3176
3177 * json.el (json-key-format): Add error properties.
3178 (json-encode-key): New function.
3179 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3180 Use json-encode-key.
3181
da485f5e
GM
31822012-08-22 Glenn Morris <rgm@gnu.org>
3183
3184 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3185 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3186 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3187 Update for above change.
3188
c6cc78b8
AS
31892012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3190
3191 * cus-face.el (custom-face-attributes): Fix customize type for the
3192 :underline attribute. (Bug#11805)
3193
5481664a
MR
31942012-08-21 Martin Rudalics <rudalics@gmx.at>
3195
3196 * window.el (window-point-1, set-window-point-1): Remove.
3197 (window-in-direction, record-window-buffer)
3198 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3199 (window--state-get-1, display-buffer-record-window):
3200 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3201 window-point and set-window-point respectively.
3202
6d74698e
GM
32032012-08-21 Glenn Morris <rgm@gnu.org>
3204
b7fa2691
GM
3205 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3206 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3207 Use it.
3208
52f56d5a
GM
3209 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3210 (cal-tex-shortday): New function.
3211 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3212 (cal-tex-cursor-filofax-daily): Use the above.
3213
9f1ee09e
GM
3214 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3215 New functions.
3216 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3217 (cal-tex-cursor-filofax-week): Use them.
3218
79858159
GM
3219 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3220 New constants.
3221 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3222 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3223
d346b2b4
GM
3224 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3225 (cal-tex-end-document): Don't rely on buffer name.
3226
b2403709
GM
3227 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3228 Use cal-tex-vspace.
3229 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3230 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3231 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3232 Use cal-tex-arg.
b2403709 3233
1cebb5c0
GM
3234 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3235 (cal-tex-cursor-week, cal-tex-cursor-week2)
3236 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3237 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3238 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3239 (cal-tex-insert-preamble, cal-tex-b-document)
3240 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3241 Improve cal-tex-cmd usage.
3242
c68cd5d4
GM
3243 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3244 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3245 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3246 (cal-tex-weekly-paper): New function.
3247 (cal-tex-cursor-week, cal-tex-cursor-week2)
3248 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3249 (cal-tex-cursor-day): Use it.
3250
9dca4801
GM
3251 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3252 (cal-tex-cursor-filofax-week): Remove leading blank page.
3253
1941e134
GM
3254 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3255 Add autoload cookie. For now at least, don't use color, since
3256 no other cal-tex function does.
3257
6d74698e
GM
3258 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3259 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3260 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3261
64cde199
JL
32622012-08-21 Juri Linkov <juri@jurta.org>
3263
3264 * info.el (Info-file-attributes): New variable.
3265 (info-insert-file-contents): Add file attributes to
3266 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3267 `Info-toc-nodes' when previous modtime of the Info file is less
3268 than new modtime.
3269 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3270 of info.el. (Bug#12230)
3271
32757648
GM
32722012-08-20 Glenn Morris <rgm@gnu.org>
3273
3274 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3275 * calendar/holidays.el (calendar-holiday-list):
3276 Report errors with display-warning rather than beep'n'sleep.
3277
a32fbbcf
MA
32782012-08-20 Michael Albinus <michael.albinus@gmx.de>
3279
3280 * net/tramp.el (tramp-accept-process-output): Accept only output
3281 from PROC. Otherwise, process filters and sentinels might be
3282 confused. (Bug#12145)
3283
a05731a0
CY
32842012-08-20 Chong Yidong <cyd@gnu.org>
3285
3286 * descr-text.el (describe-text-properties-1): Use overlays-in to
3287 report on empty overlays (Bug#3322).
3288
36e8d1eb
GM
32892012-08-20 Glenn Morris <rgm@gnu.org>
3290
3d300447
GM
3291 * mail/rmailout.el (rmail-output-read-file-name):
3292 Trap and report errors in rmail-output-file-alist elements.
3293
36e8d1eb
GM
3294 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3295 since most non-font-lock faces are not also variables).
3296
b96e5814
ER
32972012-08-20 Edward Reingold <reingold@iit.edu>
3298
3299 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3300 New function. (Bug12160)
3301
7cef3569
GM
33022012-08-19 Glenn Morris <rgm@gnu.org>
3303
3304 * mail/rmailout.el (rmail-output-read-file-name):
3305 Fix previous change (when the alist is nil or does not match).
3306
17975d7f
CY
33072012-08-19 Chong Yidong <cyd@gnu.org>
3308
3309 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3310 (Bug#12228).
3311
2170b1bd
CY
33122012-08-18 Chong Yidong <cyd@gnu.org>
3313
3314 * simple.el (yank-handled-properties): New defcustom.
3315 (yank-excluded-properties): Add font-lock-face and category.
3316 (yank): Doc fix.
3317
9fba804b
SM
3318 * subr.el (remove-yank-excluded-properties):
3319 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3320 and category is now done this way, instead of being hard-coded.
3321 (insert-for-yank-1): Remove font-lock-face handling.
3322 (yank-handle-font-lock-face-property)
3323 (yank-handle-category-property): New function.
3324
ee218151
GM
33252012-08-17 Glenn Morris <rgm@gnu.org>
3326
3327 * mail/rmailout.el (rmail-output-read-file-name):
3328 Check rmail-output-file-alist against the full message body
3329 in the correct rmail buffer. (Bug#12214)
3330
4a6bc3fd
MA
33312012-08-17 Michael Albinus <michael.albinus@gmx.de>
3332
9fba804b
SM
3333 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3334 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3335
383dcbf9
CY
33362012-08-17 Chong Yidong <cyd@gnu.org>
3337
3338 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3339 font spec, set the font directly (Bug#3228).
3340
998c4a6a
MR
33412012-08-17 Martin Rudalics <rudalics@gmx.at>
3342
3343 * window.el (delete-window): Fix last fix.
3344
52162052
MR
33452012-08-16 Martin Rudalics <rudalics@gmx.at>
3346
3347 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3348 (window-child, window-child-count, window-last-child)
3349 (window-normalize-window, window-combined-p)
3350 (window-combinations, window-atom-root, window-min-size)
3351 (window-sizable, window-sizable-p, window-size-fixed-p)
3352 (window-min-delta, window-max-delta, window--resizable)
3353 (window--resizable-p, window-resizable, window-total-size)
3354 (window-full-height-p, window-full-width-p, window-body-size)
3355 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3356 (minimize-window, window-deletable-p, delete-window)
3357 (delete-other-windows, set-window-buffer-start-and-point)
3358 (next-buffer, previous-buffer, split-window, balance-windows-2)
3359 (set-window-text-height, window-buffer-height)
3360 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3361 (truncated-partial-width-window-p): Minor code adjustments.
3362 In doc-strings state whether the argument window has to denote a
85c2386b 3363 live, valid or any window.
52162052 3364
1c308380
PS
33652012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3366
3367 * progmodes/subword.el (subword-forward-function)
3368 (subword-backward-function, subword-forward-regexp)
3369 (subword-backward-regexp): New variables.
3370 (subword-forward, subword-forward-internal, subword-backward-internal):
3371 Use new variables, eg so that different "word" definitions
3372 can be easily used. (Bug#11411)
3373
94c9ece1
SM
33742012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3375
3376 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3377 for composite selectors.
3378 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3379 operation just because we can't find a previous revision.
3380
f2045622
CY
33812012-08-15 Chong Yidong <cyd@gnu.org>
3382
3383 * frame.el (set-frame-font): Accept font objects.
3384
582db660
SM
33852012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3388
2f29c200
WJ
33892012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3390
456e62c2
WJ
3391 * man.el (Man-overstrike-face, Man-underline-face)
3392 (Man-reverse-face): Remove variables.
3393 (Man-overstrike, Man-underline, Man-reverse): New faces.
3394 (Man-fontify-manpage): Use them instead of the variables.
3395 (Man-cleanup-manpage): Comment change.
3396 (Man-ansi-color-map): New variable.
3397 (Man-fontify-manpage): Use it.
3398 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3399
2f29c200
WJ
3400 Implement ANSI SGR parameters 22-27 (bug#12146).
3401 * ansi-color.el (ansi-colors): Doc fix.
3402 (ansi-color-context, ansi-color-context-region): Doc fix.
3403 (ansi-color--find-face): New function.
3404 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3405 Rename the local variable `face' to `codes' since it is now a list of
3406 ansi codes. Doc fix.
3407 (ansi-color-get-face): Remove.
3408 (ansi-color-parse-sequence): New function, derived from
3409 ansi-color-get-face.
3410 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3411 codes 22-27.
3412
b4f5e9df
SM
34132012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3414
3415 * subr.el (read-passwd): Allow use from a minibuffer.
3416
ba025fbd
EZ
34172012-08-14 Eli Zaretskii <eliz@gnu.org>
3418
3419 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3420 inside comments and strings as identifiers.
3421
3422 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3423 expression to evaluate. This allows to evaluate expressions with
3424 embedded whitespace.
3425 (gud-tooltip-tips): Add a blank before the newline in the
3426 message-box text, for the benefit of message-box emulation on
3427 MS-Windows.
3428
3429 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3430 messages from GDB, pop them up in a tooltip to give feedback to
3431 user.
b4f5e9df
SM
3432 (gdb-tooltip-print-1): Quote the expression to evaluate.
3433 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3434 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3435 if the TTY name is nil or empty (which happens when communicating
3436 with the inferior via pipes, e.g. on MS-Windows).
3437 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3438 don't send that to the GUD buffer.
3439
c548f821
GM
34402012-08-14 Glenn Morris <rgm@gnu.org>
3441
3442 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3443 Optimize away setq-default with no args, as for setq. (Bug#12195)
3444
55802e4a
CY
34452012-08-14 Chong Yidong <cyd@gnu.org>
3446
4abcdac8
CY
3447 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3448
55802e4a
CY
3449 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3450 (Bug#12085).
3451
3c3cda1a
GM
34522012-08-14 Glenn Morris <rgm@gnu.org>
3453
3454 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3455
e1873bd0
MA
34562012-08-14 Michael Albinus <michael.albinus@gmx.de>
3457
3458 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3459 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3460 Use cached shell name.
3461
925411b4
FEG
34622012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3463
3464 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3465 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3466
e636fafe
DG
34672012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3468
3469 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3470 (ruby-percent-literal-beg-re): New constant.
3471 (ruby-syntax-general-delimiters-goto-beg): Rename to
3472 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3473 (ruby-syntax-propertize-general-delimiters): Rename to
3474 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3475 popular term. Adjust comments everywhere.
3476 (ruby-syntax-propertize-percent-literal): Only propertize when not
3477 inside a simple string or comment. When the literal is unclosed,
3478 leave the text after it unpropertized.
f063063a
DG
3479 (ruby-syntax-methods-before-regexp): New constant.
3480 (ruby-syntax-propertize-function): Use it to recognize regexps.
3481 Don't look at the text after regexp, just use the whitelist.
e636fafe 3482
e5b19827
AS
34832012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3484
3485 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3486 non-nil always load the compiled file if it exists. (Bug#12197)
3487
a9f6f311
CY
34882012-08-14 Chong Yidong <cyd@gnu.org>
3489
3490 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3491 (hi-lock-set-pattern): When deciding whether to use font lock or
3492 overlays, look at font-lock-mode instead of font-lock-fontified
3493 (Bug#12168).
3494 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3495 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3496
7d806b1e
DU
34972012-08-14 Daiki Ueno <ueno@unixuser.org>
3498
3499 * subr.el (internal--after-with-selected-window): Fix typo
3500 (Bug#12193).
3501
5beed586
FEG
35022012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3503
3504 Use `completion-table-dynamic' for completion functions.
3505 * progmodes/python.el
3506 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3507 (python-shell-completion--get-completions):
3508 Remove functions.
5beed586
FEG
3509 (python-shell-completion-complete-at-point): New function.
3510 (python-completion-complete-at-point): Use it.
3511
92cb3b04
J
35122012-08-13 Jambunathan K <kjambunathan@gmail.com>
3513
3514 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3515 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3516
89660017
SM
35172012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3c98c962
SM
3519 * subr.el (function-get): Refine `autoload' arg so it can also
3520 autoload functions for gv.el (bug#12191).
3521 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3522 autoloads macros.
3523
aa7c6dbe
SM
3524 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3525 Prefer pcase-let over destructuring-bind.
3526 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3527 Also, remove whitespace as we go, rather than after accumulating the
3528 various places.
3529
89660017
SM
3530 * subr.el (internal--before-with-selected-window)
3531 (internal--after-with-selected-window): Fix typo seleted->selected.
3532 (with-selected-window): Adjust callers.
3533 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3534
31cd32c9
BG
35352012-08-13 Bastien Guerry <bzg@gnu.org>
3536
0fcd3d9f 3537 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3538 enhancement. (Bug#12172)
3539
1b15d8ad
AS
35402012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3541
31e54db0
AS
3542 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3543 type 1-6.
3544 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3545 extended headers.
3546
1b15d8ad
AS
3547 * files.el (hack-local-variables-filter): Remove useless eval.
3548
35cb9c06
MR
35492012-08-13 Martin Rudalics <rudalics@gmx.at>
3550
3551 * subr.el (with-selected-window): Fix last change.
3552
1439443b
SM
35532012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * subr.el (internal--before-with-seleted-window)
3556 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3557 (with-selected-window): Use them, to replace dependency on
3558 tty-top-frame.
1439443b 3559
0d9e2599
NN
35602012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3561
3562 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3563 binding for `newline'.
3564 (ruby-move-to-block): When moving backward, stop at block opening,
3565 not indentation.
3566 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3567 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3568 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3569 `ruby-toggle-block'.
3570
ba10c48c
SM
35712012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * ibuffer.el (ibuffer-do-toggle-read-only):
3574 * dired.el (dired-toggle-read-only):
3575 * buff-menu.el (Buffer-menu-toggle-read-only):
3576 * bindings.el (mode-line-toggle-read-only):
3577 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3578
9229c658
AS
35792012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3580
3581 * descr-text.el (describe-char): Put the overlays over the
3582 "displayed as" character.
3583
0fd09128
JB
35842012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3585
3586 * calc/calc-units.el (math-default-units-table): Give an
3587 initial value.
3588 (math-put-default-units): Add options to put composite units and
3589 unit systems in the default units table.
3590 (calc-convert-units): Send composite units to
3591 `math-put-default-units' when appropriate.
3592
9ff9402d 35932012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3594
fbb5e336
GM
3595 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3596
7aacaf15
GM
3597 * tutorial.el (help-with-tutorial):
3598 * emacs-lisp/copyright.el (copyright-update-directory):
3599 * emacs-lisp/autoload.el (autoload-find-generated-file)
3600 (autoload-find-file): Disable local eval: (for insurance).
3601
f40b9f10
GM
3602 * files.el (hack-local-variables-filter): If an eval: form is not
3603 known to be safe, and enable-local-variables is :safe, then ignore
3604 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3605 This is CVE-2012-3479.
f40b9f10 3606
daa9f1a6
SM
36072012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3610 (rx-form): Simplify.
3611
9cd80478
DG
36122012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3613
0d9e2599
NN
3614 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3615 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3616 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3617 (ruby-syntax-propertize-function): Adjust for changes in
3618 `ruby-syntax-propertize-heredoc'.
3619
36202012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3621
9cd80478
DG
3622 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3623 binding (use `M-;' instead).
9cd80478 3624 (ruby-singleton-class-p): New function.
0d9e2599 3625 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3626
d301b413
SM
36272012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3628
3629 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3630
1530c98e
CY
36312012-08-10 Chong Yidong <cyd@gnu.org>
3632
3633 * progmodes/python.el (python-shell-get-process-name): Don't mess
3634 with same-window-buffer-names.
3635
3636 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3637 (eshell-remove-from-window-buffer-names): Make obsolete.
3638 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3639 (eshell): Just use pop-to-buffer-same-window instead.
3640
e1293765
CY
36412012-08-10 Chong Yidong <cyd@gnu.org>
3642
3643 * bindings.el: Bind M-= back to count-words-region.
3644
3645 * simple.el (count-words-region): Accept a prefix arg for acting
3646 on the entire buffer.
3647 (count-words--buffer-message): New helper function.
3648
e1894109
SM
36492012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3650
3651 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3652 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3653 (event-start, event-end): Use posn-at-point to return a more
3654 informative posn.
3655 (posnp): New function.
3656 * mouse.el (popup-menu-normalize-position): Use it.
3657
c69f56a2
MY
36582012-08-10 Masatake YAMATO <yamato@redhat.com>
3659
3660 * mouse.el (popup-menu-normalize-position): New function.
3661 (popup-menu): Use `popup-menu-normalize-position' to normalize
3662 the form for POSITION argument.
3663
3664 * term/x-win.el (x-menu-bar-open):
3665 Use the value returend from (posn-at-point) as position
3666 passed to `popup-menu'.
3667
31673780
JB
36682012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3669
3670 * calc/calccomp.el (math-compose-expr): Add extra argument
3671 indicating that parentheses should be put around products in
3672 denominators. Give multiplication precedence over division during
3673 composition.
3674
dab7711b
CY
36752012-08-09 Chong Yidong <cyd@gnu.org>
3676
dee4ef93
CY
3677 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3678 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3679 (Man-untabify-command, manual-program): Convert to defcustom
3680 (Bug#10429).
3681
73e2bbc5
CY
3682 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3683
3e861c8a
CY
3684 * descr-text.el (describe-char): Don't insert extra newlines
3685 (Bug#10127).
3686
a9f5a649
CY
3687 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3688 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3689
dab7711b
CY
3690 * align.el (align-region): Delete temporary markers (Bug#10047).
3691 Plus some code cleanups.
3692
e0cc4efa
FEG
36932012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3694
3695 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3696 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3697 (python-shell-internal-last-output): Use make-local-variable
3698 instead of make-variable-buffer-local.
3699
489af14f
FEG
37002012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3701
3702 * progmodes/python.el: Enhancements to forward-sexp.
3703 (python-nav-forward-sexp): Rename from
3704 python-nav-forward-sexp-function.
c69f56a2
MY
3705 (python-nav--forward-sexp, python-nav--backward-sexp):
3706 New functions.
489af14f 3707
0fc50303
JB
37082012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3709
3710 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3711 modes and simplification modes.
3712
5d65606a
SM
37132012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * delsel.el (delete-selection-pre-hook): Don't propagate the
3716 file-supersession signals (bug#12161).
3717
4250fdf5
SM
37182012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3721 (cl-map-extents): Add compatibility aliases (bug#12135).
3722
d9f9b465
MA
37232012-08-08 Michael Albinus <michael.albinus@gmx.de>
3724
3725 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3726 tests by `ignore-error'.
3727 (tramp-find-shell): Open also a new shell, when cache is already
3728 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3729
ce0fcefa
JL
37302012-08-08 Juri Linkov <juri@jurta.org>
3731
3732 * bookmark.el: Add `defaults' property to the bookmark record.
3733 (bookmark-current-buffer): Doc fix.
3734 (bookmark-make-record): Add `defaults' property with default values
3735 to the bookmark record.
3736 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3737 with `bookmark-insert-current-bookmark'.
3738 (bookmark-set): Get `defaults' property from the bookmark record
3739 and use it in `read-from-minibuffer'.
3740 (bookmark-insert-current-bookmark): Remove function.
3741
3742 * info.el (Info-bookmark-make-record): Add `defaults' property
3743 with values of canonical Info node name, the current Info file
3744 name and the current Info node name. (Bug#12107)
3745
53fa8652
JL
37462012-08-08 Juri Linkov <juri@jurta.org>
3747
3748 * files.el (basic-save-buffer): Use `buffer-name' as the default
3749 of `read-file-name' when buffer is not visiting a file (bug#12128).
3750
242c0a95
JL
37512012-08-08 Juri Linkov <juri@jurta.org>
3752
3753 * info.el (Info-isearch-search): Doc fix.
3754 (Info-search): Change search-failed message from "initial node" to
3755 "end of node" (bug#12078).
3756 (Info-isearch-search): Change `isearch-string-state' to
3757 `isearch--state-string'.
3758
32ac3a6b
GM
37592012-08-08 Glenn Morris <rgm@gnu.org>
3760
3761 * language/persian.el: Remove file.
f8c1afd5 3762 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3763 * loadup.el: Remove language/persian.
3764
2c2d9c9c
OF
37652012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3766
3767 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3768
2d79ec42
FEG
37692012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3770
3771 * progmodes/python.el Fixed defsubst warning.
3772 (python-syntax-context) Rename from python-info-ppss-context.
3773 (python-syntax-context-type): Rename from
3774 python-info-ppss-context-type.
3775 (python-syntax-comment-or-string-p): Rename from
3776 python-info-ppss-comment-or-string-p.
3777
2bd255dd
JB
37782012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3779
3780 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3781
c395097f
AS
37822012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3783
6125983e
AS
3784 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3785 a defcustom that is quoted with backquote.
3786
4250fdf5
SM
3787 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3788 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3789 (math-do-arg-check, math-define-function-body): Use backquote forms.
3790 * calc/calc-ext.el (math-defcache): Likewise.
3791 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3792 * allout.el (allout-new-exposure): Likewise.
3793 * calc/calcalg2.el (math-tracing-integral): Likewise.
3794 * info.el (Info-last-menu-item): Likewise.
3795 * emulation/vip.el (vip-loop): Likewise.
3796 * textmodes/artist.el (artist-funcall): Likewise.
3797 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3798 Construct menu-item directly.
3799
4250fdf5
SM
3800 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3801 Don't declare.
c395097f 3802
5fb50dd3
CY
38032012-08-07 Chong Yidong <cyd@gnu.org>
3804
3805 * simple.el (deactivate-mark): Preserve text properties when
3806 saving the primary selection (Bug#8384).
3807
54eea618
KR
38082012-08-07 Kevin Ryde <user42@zip.com.au>
3809
3810 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3811 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3812 and continue processing (Bug#12110).
3813
638eaeb9
SM
38142012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3817 syntax-propertize-function (bug#10095).
3818
ea376861
SM
38192012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3820
f91b35be
SM
3821 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3822 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3823 describe-function-1.
3824 (describe-function-1): Use them. Move compiler macro after sig.
3825 (help-fns--compiler-macro): Use function-get. Assume we're already in
3826 standard-output. Adjust layout to new call order.
3827
ea376861
SM
3828 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3829 re-binding a symbol that has a symbol-macro (bug#12119).
3830
d5be7bd0
MB
38312012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3832
3833 * language/persian.el: New file. (Bug#11812)
3834 * loadup.el: Add language/persian.el.
3835
90749b53
CY
38362012-08-06 Chong Yidong <cyd@gnu.org>
3837
3838 * window.el (window--maybe-raise-frame): New function.
3839 (window--display-buffer): Split off from here.
3840 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3841 (display-buffer-pop-up-window, display-buffer-use-some-window):
3842 Obey an inhibit-switch-frame action alist entry.
3843 (display-buffer): Update doc.
3844
3845 * replace.el (occur-after-change-function): Avoid losing focus by
3846 using the inhibit-switch-frame display parameter (Bug#12139).
3847
ba7b0154
FEG
38482012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3849
3850 Make internal shell process buffer names start with space.
3851 * progmodes/python.el (python-shell-make-comint): Add optional
3852 argument INTERNAL.
3853 (run-python-internal): Use it.
3854 (python-shell-internal-get-or-create-process): Check for new
3855 internal buffer names.
3856
5eaeacb5
GM
38572012-08-06 Glenn Morris <rgm@gnu.org>
3858
e296d94b 3859 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3860 Do less getting and setting of environment variables.
3861
b7ccbdc2
CY
38622012-08-05 Chong Yidong <cyd@gnu.org>
3863
777fe95e
CY
3864 * proced.el (proced): Add substitution string to docstring to
3865 trigger autoloading of the proced library on C-h f (Bug#1768).
3866
4250fdf5
SM
3867 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3868 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3869
3870 * imenu.el (imenu-generic-expression): Move documentation here
3871 from imenu--generic-function.
3872 (imenu--generic-function): Refer to imenu-generic-expression.
3873
9e3b7800 38742012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3875
3876 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3877 indentation declaration.
3878 (viper-loop): Add indentation declaration (Bug#7025).
3879
e5d9c0d1
CY
38802012-08-05 Chong Yidong <cyd@gnu.org>
3881
f0422feb
CY
3882 * help-fns.el (describe-variable): Add hyperlink for
3883 directory-local variables files. Improve buffer-local and
3884 permanent-local reporting; suggested by MON KEY (Bug#6644).
3885
3886 * help-mode.el (help-dir-local-var-def): New button type.
3887
e5d9c0d1
CY
3888 * files.el (kill-buffer-hook): Provide a defvar.
3889
a4f2deaa
GM
38902012-08-05 Glenn Morris <rgm@gnu.org>
3891
3892 * eshell/esh-ext.el (eshell/addpath):
3893 Also update eshell-path-env. (Bug#12013)
3894
a9dd5754
CY
38952012-08-05 Chong Yidong <cyd@gnu.org>
3896
a4f2deaa 3897 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3898
d014c740
CY
3899 * fringe.el (fringe-styles): Add docstring.
3900 (fringe--check-mode): New function.
3901 (set-fringe-mode, set-fringe-style): Use it.
3902 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3903
a9dd5754
CY
3904 * files.el (set-auto-mode): Fix invalid setq call.
3905
7c2dc8bd
SM
39062012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * isearch.el: Misc simplification; use defstruct.
3909 (isearch-mode-map): Dense maps now work like sparse ones.
3910 (isearch--state): New defstruct.
3911 (isearch-string-state, isearch-message-state, isearch-point-state)
3912 (isearch-success-state, isearch-forward-state)
3913 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3914 (isearch-wrapped-state, isearch-barrier-state)
3915 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3916 replaced by defstruct's accessors.
3917 (isearch--set-state): Rename from isearch-top-state and change
3918 calling convention.
3919 (isearch-push-state): Use new isearch--get-state.
3920 (isearch-toggle-word): Disable regexp when enabling word.
3921 (isearch-message-prefix): Remove unused arg _c-q-hack.
3922 (isearch-message-suffix): Remove unused arg _ellipsis.
3923
7fcc0070
AS
39242012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3925
3926 * simple.el (list-processes--refresh): For a server use :host or
3927 :local as the address.
97ad0769 3928 (list-processes): Doc fix.
7fcc0070 3929
a11035b8 39302012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3931
3932 * lisp/mpc.el: Support password in host argument.
3933 (mpc--proc-connect): Parse and use new password element.
3934 Set mpc-proc variable instead of returning process.
3935 (mpc-proc): Adjust accordingly.
3936
6dad7178
EZ
39372012-08-03 Eli Zaretskii <eliz@gnu.org>
3938
18949c2f
EZ
3939 * whitespace.el (whitespace-display-mappings): Use Unicode
3940 codepoints, instead of emacs-mule codepoints. See
3941 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3942 for the details.
3943
6dad7178
EZ
3944 * files.el (file-truename): Don't skip symlink-chasing part on
3945 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3946 Windows into the loop that recursively chases symlinks.
3947 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3948 MS-DOS.
3949
385b0198
CY
39502012-08-03 Chong Yidong <cyd@gnu.org>
3951
6200f3c4
CY
3952 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3953
385b0198
CY
3954 * sort.el (sort-regexp-fields): Doc fix.
3955
b9e74744
TH
39562012-08-03 Tassilo Horn <tsdh@gnu.org>
3957
3958 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3959 labels regex position point at the expected place.
3960
41013cb4
MK
39612012-08-03 MON KEY <monkey@sandpframing.com>
3962
3963 * net/imap.el (imap-interactive-login, imap-authenticate)
3964 (imap-mailbox-lsub, imap-mailbox-list)
3965 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3966 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3967 (imap-parse-response): Doc fix.
3968
0ffee616
JT
39692012-08-03 João Távora <joaotavora@gmail.com>
3970
3971 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3972 if sexp scanning does not move point (Bug#5734).
3973
cfcc9cc8
TH
39742012-08-02 Tassilo Horn <tsdh@gnu.org>
3975
3976 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3977 Add listings, minted, and ctable packages.
3978 (reftex-label-alist-builtin): Move listings, minted, and ctable
3979 entries before LaTeX.
a01bbb84 3980 (reftex-label-alist): Docfix.
cfcc9cc8 3981
66ec2442
BG
39822012-08-02 Bastien Guerry <bzg@gnu.org>
3983
3984 * replace.el (occur): Fix docstring (bug#12122).
3985
837b365b
GM
39862012-08-02 Glenn Morris <rgm@gnu.org>
3987
3988 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3989
e098de97
PE
39902012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3991
3992 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3993 * international/mule-cmds.el: Create
3994 inactivate-current-input-method-function as an obsolete alias for
3995 deactivate-current-input-method-function. See Katsumi Yamaoka in
3996 <http://bugs.gnu.org/10150#46>.
3997
a0f95636
JB
39982012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3999
4000 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
4001 of nested `if's.
4002
0d26d7c4
GM
40032012-08-01 Glenn Morris <rgm@gnu.org>
4004
4005 * progmodes/autoconf.el (autoconf-definition-regexp):
4006 Add AH_TEMPLATE, adjust submatch numbering.
4007 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
4008 (autoconf-current-defun-function): Update for above change.
4009 (autoconf-current-defun-function): First skip to end of current word.
4010
b686ba06
RS
40112012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
4012
4013 * calendar/cal-html.el (cal-html-insert-agenda-days):
4014 Fix typo. (Bug#12018)
4015
0d49da68
FEG
40162012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4017
4018 Shell processes: enhancements to startup and CEDET compatibility.
4019 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
4020 (python-shell-make-comint): accept-process-output at startup.
4021 (run-python-internal): Set inferior-python-mode-hook to nil.
4022 (python-shell-internal-get-or-create-process): call sit-for.
4023 (python-preoutput-result): Add obsolete alias.
4024 (python-shell-internal-send-string): Use it.
4025 (python-shell-send-setup-code): Remove call to
4026 accept-process-output.
4027
f1a71c6e
AS
40282012-07-31 Andreas Schwab <schwab@linux-m68k.org>
4029
4030 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
4031 (Bug#12108)
4032
d2605269
JB
40332012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4034
4035 * calc-mode.el (calc-basic-simplification-mode): Rename from
4036 `calc-limited-simplification-mode'.
4037 (calc-alg-simplification-mode): New function.
fc0c31f8 4038 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4039
d2605269
JB
4040 * calc.el (calc-set-mode-line): Adjust mode line display for
4041 basic simplification mode.
4042
4043 * calc-help.el (calc-m-prefix-help): Update help message.
4044
4045 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4046 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4047
a3827a43
BG
40482012-07-31 Bastien Guerry <bzg@gnu.org>
4049
4050 * man.el (man): Fix comment. (bug#12101)
4051
502e3f89
MR
40522012-07-31 Martin Rudalics <rudalics@gmx.at>
4053
4054 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4055 Don't return a non-nil value when no suitable buffer was found.
4056
d7714961
FEG
40572012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4058
4059 * progmodes/python.el (run-python-internal): Disable font lock for
4060 internal shells.
4061
1f45e27e
SM
40622012-07-30 Stefan Merten <smerten@oekonux.de>
4063
70efc5c9 4064 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4065 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4066 (rst-official-version, rst-official-cvs-rev)
4067 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4068 (rst-mode-map): New key binding.
4069
0aee6912
PE
40702012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4071
4072 Update .PHONY listings in makefiles.
4073 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4074 autoloads, update-subdirs, updates, bzr-update, update-authors,
4075 compile-onefile, compile-calc, backup-compiled-files,
4076 compile-after-backup, compile-one-process, mh-autoloads,
4077 bootstrap-clean, distclean, maintainer-clean.
4078
9052f9f0
JB
40792012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4080
1823ac5a
JB
4081 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4082 (calc-set-mode-line): Don't display "AlgSimp ".
4083
4084 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4085 (calc-lim-simplify-mode): New function.
4086 (calc-set-simplify-mode): Default to 'alg.
4087 (calc-default-simplify-mode): Make algebraic simplifications
4088 the default.
4089
4090 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4091 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4092
8d7c7eed 4093 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4094 indicate new simplification modes.
4095
1823ac5a
JB
4096 * calc/README: Mention new default simplification mode.
4097
9052f9f0
JB
4098 * calc/calc.el (math-normalize-error): New variable.
4099 (math-normalize): Set `math-normalize-error' to t
4100 when there's an error.
4101
4102 * calc/calc-alg.el (math-simplify): Don't simplify when
4103 `math-normalize' returns an error.
4104
20ba0cb4
EZ
41052012-07-29 Eli Zaretskii <eliz@gnu.org>
4106
4107 * international/mule-cmds.el (set-locale-environment): Revert last
4108 change, since display-graphic-p returns nil when this function is
4109 called during startup. Instead...
4110
4111 * term/w32console.el (terminal-init-w32console): ...setup the
4112 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4113
a5dcc929
JL
41142012-07-29 Juri Linkov <juri@jurta.org>
4115
4116 * simple.el (goto-line): Don't display default line number in the
4117 prompt because it should be displayed by `read-number' (bug#9952).
4118 Add the current line number to the defaults of `goto-line' to
4119 allow its easier modification by users with `M-n' (bug#9201).
4120
4121 * subr.el (read-number): Support multiple default values like in
4122 other minibuffer reading functions. Replace `read' with
4123 `string-to-number' for consistency with `number-to-string'.
4124
72b255c7
PE
41252012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4126
4127 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4128 * emulation/viper-init.el (viper-deactivate-input-method-action):
4129 Rename from viper-inactivate-input-method-action.
4130 (viper-deactivate-input-method):
4131 Rename from viper-inactivate-input-method.
4132 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4133 * international/mule-cmds.el (deactivate-input-method):
4134 Rename from inactivate-input-method.
4135 Also run input-method-deactivate-hook.
4136 (deactivate-current-input-method-function):
4137 Rename from inactivate-current-input-method-function.
4138 (input-method-deactivate-hook): New hook.
4139 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4140 (inactivate-input-method): Mark obsolete.
4141
72b255c7
PE
4142 * international/quail.el (quail-activate):
4143 Also run quail-deactivate-hook.
4144 (quail-deactivate): Rename from quail-inactivate.
4145 * international/robin.el (robin-activate):
4146 Also run robin-deactivate-hook.
4147 (robin-deactivate): Rename from robin-inactivate.
4148
2549c068
CY
41492012-07-29 Chong Yidong <cyd@gnu.org>
4150
4151 * simple.el (indicate-copied-region): New function.
4152 (kill-ring-save): Split off from here.
4153
4154 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4155 (kill-rectangle): Set deactivate-mark to t on read-only error.
4156
4157 * register.el (copy-to-register, copy-rectangle-to-register):
4158 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4159 (append-to-register, prepend-to-register): Call indicate-copied-region.
4160
41612012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4162
4163 * simple.el (async-shell-command-buffer): New defcustom.
4164 (shell-command): Use it. (Bug#4719)
4165
01bd1b0d
EZ
41662012-07-28 Eli Zaretskii <eliz@gnu.org>
4167
4168 * international/mule-cmds.el (set-locale-environment): In a
4169 console session on MS-Windows, set up keyboard and terminal
4170 encoding from the OEM codepage, not the ANSI codepage.
4171 (Bug#12055)
4172
a55739d3
CY
41732012-07-28 Chong Yidong <cyd@gnu.org>
4174
4175 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4176 gdb-get-location.
4177
0e1a094f 41782012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4179
4180 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4181 the alist (bug#12029).
4182
20329d73
EZ
41832012-07-28 Eli Zaretskii <eliz@gnu.org>
4184
4185 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4186 (compile-always, compile-first)
4187 ($(lisp)/calendar/cal-loaddefs.el)
4188 ($(lisp)/calendar/diary-loaddefs.el)
4189 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4190 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4191 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4192 instead of on update-subdirs.
4193 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4194
345a2258
CY
41952012-07-28 Chong Yidong <cyd@gnu.org>
4196
1eee6341
CY
4197 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4198 directory if vc-deduce-backend returns nil (Bug#7350).
4199
345a2258
CY
4200 * simple.el (delete-trailing-lines): New option.
4201 (delete-trailing-whitespace): Obey it (Bug#11879).
4202
049a0936
DE
42032012-07-28 David Engster <deng@randomsample.de>
4204
4205 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4206 Explanation of new 'symbol-qnames feature in doc-strings.
4207 (xml-maybe-do-ns): Return expanded names as plain symbols if
4208 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4209 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4210
aa81af71
FEG
42112012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4212
4213 Consistent completion in inferior python with emacs -nw.
4214 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4215 binding in inferior-python-mode-map with "\t".
4216 (python-shell-completion-complete-at-point)
4217 (python-completion-complete-at-point): Remove interactive spec.
4218
e827b1eb
JB
42192012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4220
4221 * calc/calccomp.el (math-compose-expr): Undo previous change.
4222
a90dfb95
FEG
42232012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4224
4250fdf5 4225 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4226 run-python.
4227 (python-shell-make-comint): Fix pop-to-buffer call.
4228 (run-python): Autoload. New arg SHOW.
4229 (python-shell-get-or-create-process): Do not pop python process
4230 buffer.
4231
32770973 42322012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4233
4234 * notifications.el (notifications-on-action-signal)
4235 (notifications-on-closed-signal): Use also the bus address for the map.
4236 (notifications-notify, notifications-close-notification)
fc0c31f8 4237 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4238
86332df2
TH
42392012-07-27 Tassilo Horn <tsdh@gnu.org>
4240
4250fdf5
SM
4241 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4242 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4243 ctable macro.
4244 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4245 labels written in keyvals syntax.
4246
ca1302a4
JB
42472012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4248
4249 * calc/calccomp.el (math-compose-expr): Use parentheses when
4250 there is a product in the denominator of a fraction.
4251
f8b91036
EZ
42522012-07-26 Eli Zaretskii <eliz@gnu.org>
4253
4254 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4255 ($(lisp)/calendar/diary-loaddefs.el)
4256 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4257 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4258 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4259 rewritten while the autoload files are built at the same time,
4260 which needs to load subdirs.el.
4261
c8e5a42c
MR
42622012-07-26 Martin Rudalics <rudalics@gmx.at>
4263
4264 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4265 (mouse-drag-line): Don't exit tracking when a switch-frame or
4266 switch-window event occurs (Bug#12006).
4267
670d85ea
SM
42682012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4269
4270 * mouse.el (popup-menu): Fix last change.
4271
7abaf5cc
SM
42722012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4273
4274 Autoload from Lisp with more care. Follow aliases when looking for
4275 function properties.
4276 * subr.el (autoloadp): New function.
4277 (symbol-file): Use it.
4278 (function-get): New function.
4279 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4280 autoload-do-load.
4281 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4282 (lisp-indent-function):
4283 * emacs-lisp/gv.el (gv-get):
4284 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4285 * emacs-lisp/byte-opt.el (byte-optimize-form):
4286 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4287 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4288 Use function-get.
4289 * emacs-lisp/cl.el: Don't propagate function properties any more.
4290
4291 * speedbar.el (speedbar-add-localized-speedbar-support):
4292 * emacs-lisp/disass.el (disassemble-internal):
4293 * desktop.el (desktop-load-file):
4294 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4295 (describe-function-1):
4296 * emacs-lisp/find-func.el (find-function-noselect):
4297 * emacs-lisp/elp.el (elp-instrument-function):
4298 * emacs-lisp/advice.el (ad-has-proper-definition):
4299 * apropos.el (apropos-safe-documentation, apropos-macrop):
4300 * emacs-lisp/debug.el (debug-on-entry):
4301 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4302 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4303 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4304
b1364986
AA
43052012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4306
4307 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4308 function, not an obsolete variable (Bug#12046).
4309
67ada220
AS
43102012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4311
4312 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4313
f08088e3
CS
43142012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4315
4316 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4317 window only if it is still live (Bug#12034).
4318
8137e7b3
MR
43192012-07-25 Martin Rudalics <rudalics@gmx.at>
4320
4321 * subr.el (redirect-frame-focus): Add advertised calling
4322 convention (Bug#12030).
4323
09ae5da1
PE
43242012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4325
4326 Prefer typical American spelling for "acknowledgment".
4327 * vc/add-log.el (change-log-acknowledgment): Rename from
4328 change-log-acknowledgement, with an alias for the old name.
4329
3cc5a3a8
JB
43302012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4331
4332 * calc-alg.el (math-simplify-divide): Don't cross multiply
4333 in an equation when the lhs is a variable.
4334
b7af7f62
JD
43352012-07-24 Julien Danjou <julien@danjou.info>
4336
4337 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4338 Remove, unused.
4339
ec1b09b1
EZ
43402012-07-23 Eli Zaretskii <eliz@gnu.org>
4341
4342 * startup.el (command-line): Don't display an empty user name in
4343 the error message about non-existent home directory, when
4344 init-file-user was set to an empty string. See
4345 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4346 for the details and context.
4347
b525fd8a
VB
43482012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4349
4350 * ses.el (ses-cell-formula-aset): New macro.
4351 (ses-cell-references-aset): New macro.
4352 (ses-cell-p): New function.
4353 (ses-rename-cell): Do no longer rely on complex operations like
4354 ses-cell-set-formula or ses-set-cell to change the cell and handle
4355 the undo at the same time, but rather use lower level new macros
4356 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4357 the undo directly. Refresh the mode line.
b525fd8a 4358
2c73e345
LL
43592012-07-21 Leo Liu <sdl.web@gmail.com>
4360
670d85ea
SM
4361 * progmodes/cc-cmds.el (c-defun-name):
4362 Use match-string-no-properties instead for consistency.
2c73e345 4363
542dfbde
LL
43642012-07-20 Leo Liu <sdl.web@gmail.com>
4365
3646bcd6
LL
4366 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4367 (Bug#7879)
4368
542dfbde
LL
4369 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4370
25721031
CY
43712012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4374 * progmodes/bug-reference.el, misearch.el: Provide themselves
4375 (bug#11915).
4376
4377 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4378 of narrowed buffer (bug#11966).
4379
316e68a7
VB
43802012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4381
4382 * ses.el (ses-rename-cell): Set new name also in reference list of
4383 cells of which the renamed cell depends.
4384
bbf0e7d9
MY
43852012-07-20 Masatake YAMATO <yamato@redhat.com>
4386
4387 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4388 to check whether menu-bar is shown or not. If not shown,
4389 show the menu-bar as a popup menu instead of using tmm.
4390 * mouse.el (popup-menu): Accept `point' as `position' argument.
4391
c28662a8
DG
43922012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4393
4394 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4395 up inside string symbol literal (bug#11923).
4396
87ab808f
EZ
43972012-07-20 Eli Zaretskii <eliz@gnu.org>
4398
4399 * startup.el (fancy-startup-text): Read the whole tutorial, not
4400 just its first 256 bytes. Prevents gibberish in display of the
4401 tutorial title.
4402
89dea803
DA
44032012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4404
4405 Drop idle buffer compaction due to an absence of the
4406 proved efficiency.
4407 * compact.el: Remove.
4408
8a4e6db8
SS
44092012-07-19 Sam Steingold <sds@gnu.org>
4410
4411 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4412 vc-bzr-pull & vc-bzr-merge-branch.
4413 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4414 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4415 for consistency with compilation-error-regexp-alist.
4416 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4417 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4418 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4419 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4420
5db81e33
SM
44212012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4422
4423 * emacs-lisp/chart.el: Use lexical-binding.
4424 (chart-emacs-storage): Don't hardcode the list of entries.
4425
5b835e1d
DA
44262012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4427
4428 Next round of tweaks caused by Fgarbage_collect changes.
4429 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4430
9cd47b72
DA
44312012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4432
4433 Compact buffers when idle.
4434 * compact.el: New file.
4435
1d6fc0df
SM
44362012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * subr.el (eventp): Presume that if it looks vaguely like an event,
4439 it's an event (bug#10190).
4440
1d29cc7d
FEG
44412012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4442
4443 Enhancements to ppss related code (thanks Stefan).
4444 * progmodes/python.el (python-indent-context)
4445 (python-indent-calculate-indentation, python-indent-dedent-line)
4446 (python-indent-electric-colon, python-nav-forward-block)
4447 (python-mode-abbrev-table)
1d6fc0df 4448 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4449 for ppss context.
4450 (python-info-continuation-line-p): Cleanup.
4451 (python-info-ppss-context): Do not catch 'quote.
4452 (python-info-ppss-context-type)
4453 (python-info-ppss-comment-or-string-p): Simplify.
4454
d583cbe6
FEG
44552012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4456
4457 * progmodes/python.el: Enhancements to eldoc support.
4458 (python-info-current-symbol): New function.
4459 (python-eldoc-at-point): Use python-info-current-symbol.
4460 (python-info-current-defun): Fix cornercase on first defun scan.
4461 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4462 and signal error when no inferior python process is available.
4463
eceb6feb
DG
44642012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4465
4466 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4467 assume it's always t.
4468 (vc-git-registered): Remove caching, the function is only called
4469 once.
4470 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4471
4c8ff0fe
CY
44722012-07-18 Chong Yidong <cyd@gnu.org>
4473
19fb7186
CY
4474 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4475
9587c688
CY
4476 * simple.el (count-words): Report on narrowing (Bug#9959).
4477
0fe776a1
CY
4478 * bindings.el: Bind M-= to count-words.
4479
4c8ff0fe
CY
4480 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4481
7f5331cc
MY
44822012-07-18 Masatake YAMATO <yamato@redhat.com>
4483
4484 * progmodes/sh-script.el (sh-imenu-generic-expression):
4485 Capture a function with `function' keyword and without parentheses
4486 like "function FOO" (bug#11856).
4487
2dc2a609
TH
44882012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4489
4490 * window.el (split-window-sensibly): Make WINDOW argument
4491 optional.
4492
439f7677
CY
44932012-07-18 Chong Yidong <cyd@gnu.org>
4494
9aeb25a6
CY
4495 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4496
439f7677
CY
4497 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4498 and make C-x 8 RET exit isearch (Bug#11439).
4499
4500 * international/iso-transl.el: Move isearch-mode-map key
4501 definitions to isearch.el.
4502
12999ea8
SM
45032012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4504
4505 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4506 (eieio-defclass): Use gv-define-setter when possible.
4507
3ab6e069
DA
45082012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4509
4510 Reflect recent changes in Fgarbage_collect.
4511 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4512 reflect new format of data returned by Fgarbage_collect.
4513
0a60bc10
FEG
45142012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4515
4516 New utility functions + python-info-ppss-context fix (Bug#11910).
4517 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4518 (python-info-ppss-comment-or-string-p): New functions.
4519 (python-info-ppss-context): Small fix for string check.
4520
6dafa0d5
JL
45212012-07-17 Juri Linkov <juri@jurta.org>
4522
4523 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4524 (dired-do-async-shell-command): Don't add `*' at the end of the
4525 command (Bug#11815).
4526 (dired-do-shell-command): Doc fix.
4527 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4528 Join the individual commands using either "&" or ";" as the
4529 separator depending on the values of these trailing characters.
4530 At the end re-add the trailing "&". (Bug#10598)
4531
4532 * simple.el (async-shell-command): Sync the interactive spec with
4533 `shell-command'. Doc fix.
4534 (shell-command): Doc fix.
4535
b19dd9d1
JL
45362012-07-17 Juri Linkov <juri@jurta.org>
4537
4538 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4539
bcdc27d7 45402012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4541
bcdc27d7 4542 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4543 * progmodes/python.el (python-nav-beginning-of-statement):
4544 Rename from python-nav-statement-start.
bcdc27d7
FEG
4545 (python-nav-end-of-statement): Rename from
4546 python-nav-statement-end.
4547 (python-nav-beginning-of-block): Rename from
4548 python-nav-block-start.
4549 (python-nav-end-of-block): Rename from python-nav-block-end.
4550
191da00e
FEG
45512012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4552
7f5331cc
MY
4553 * progmodes/python.el (python-shell-send-string-no-output):
4554 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4555 future interactions (Bug#11868).
4556
4dc7c8d5 45572012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4558
88ecaf8f
SM
4559 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4560
ef501ef0
SM
4561 * emacs-lisp/elint.el (elint-find-args-in-code):
4562 Use help-function-arglist, so as to handle lexical byte-code.
4563
aa7aaf8f
SM
4564 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4565 change (bug#11826).
4566
45fd731c
SM
45672012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4568
2143fa32
SM
4569 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4570 Avoid spuriously marking the buffer as modified because of c-is-sws.
4571
efc26dbe
SM
4572 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4573 as not-a-comment (bug#11946).
4574
f5695c9a
SM
4575 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4576 for uninterned vars.
4577
4578 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4579 Use read-event since we don't really want to read chars but bytes.
4580
45fd731c
SM
4581 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4582 $$..$$ but also $..$ using regexps (bug#11953).
4583 Use tex-verbatim for \url and \path.
4584 (tex-font-lock-keywords): Define as defconst like the others.
4585 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4586
ddfc8813
RK
45872012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4588
4589 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4590 alias for insert-char.
4591
758e556a
FEG
45922012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4593
4594 * progmodes/python.el: Simplified imenu implementation.
4595 (python-nav-jump-to-defun): Remove command.
4596 (python-mode-map): Use `imenu' instead.
4597 (python-nav-list-defun-positions-cache)
4598 (python-imenu-include-defun-type, python-imenu-make-tree)
4599 (python-imenu-subtree-root-label, python-imenu-index-alist):
4600 Remove vars.
4601 (python-nav-list-defun-positions, python-nav-read-defun)
4602 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4603 (python-imenu-make-tree, python-imenu-create-index):
4604 Remove functions.
758e556a
FEG
4605 (python-mode): Update to interact with imenu by setting
4606 `imenu-extract-index-name-function' only.
4607
032d23ab
FEG
46082012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4609
4610 * progmodes/python.el: Enhancements to navigation commands.
4611 (python-nav-backward-sentence)
4612 (python-nav-forward-sentence): Remove.
4613 (python-nav-backward-statement, python-nav-forward-statement)
4614 (python-nav-statement-start, python-nav-statement-end)
4615 (python-nav-backward-block, python-nav-forward-block)
4616 (python-nav-block-start, python-nav-block-end)
4617 (python-nav-forward-sexp-function)
4618 (python-info-current-line-comment-p)
4619 (python-info-current-line-empty-p): New functions.
4620 (python-indent-context): Use `python-nav-statement-start'.
4621
01795a1b
MA
46222012-07-16 Michael Albinus <michael.albinus@gmx.de>
4623
9328d9aa
MA
4624 * eshell/em-ls.el (eshell/ls): Use `apply'.
4625
4626 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4627 multi-hops, instead of Tramp internals.
4628
01795a1b
MA
4629 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4630
4631 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4632 when F1 and F2 are located on different hosts.
4633
63408057
CY
46342012-07-14 Chong Yidong <cyd@gnu.org>
4635
4636 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4637 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4638 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4639 (xterm-mouse--read-event-sequence-1000)
4640 (xterm-mouse--read-event-sequence-1006): New functions. For old
4641 mouse protocol, handle M-mouse-X events correctly.
4642 (xterm-mouse-event): New arg specifying mouse protocol.
4643 (turn-on-xterm-mouse-tracking-on-terminal)
4644 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4645 sequence to toggle extended coordinates on newer XTerms.
4646 This appears to be harmless on terminals which do not support this.
63408057 4647
cd276f6e
LL
46482012-07-14 Leo Liu <sdl.web@gmail.com>
4649
28ca98ac
LL
4650 Add fringe bitmap indicators for flymake. (Bug#11253)
4651 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4652 (flymake-make-overlay): New arg BITMAP.
4653 (flymake-error-bitmap, flymake-warning-bitmap)
4654 (flymake-fringe-indicator-position): New user variables.
4655
cd276f6e
LL
4656 * fringe.el: New bitmap exclamation-mark.
4657
04408072
JD
46582012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4659
4660 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4661 also (Bug#7879).
4662
b5cf7fc4
CY
46632012-07-14 Chong Yidong <cyd@gnu.org>
4664
4665 * electric.el (electric-pair-post-self-insert-function): Fix pair
4666 insertion in empty-region case (Bug#11520).
4667
be755c79
RT
46682012-07-14 Chong Yidong <cyd@gnu.org>
4669
45fd731c
SM
4670 * bindings.el: Consolidate ctl-x-r-map bindings.
4671 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4672
4673 * rect.el, register.el: Move bindings to bindings.el.
4674
46752012-07-14 Reuben Thomas <rrt@sc3d.org>
4676
4677 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4678
7f5b3198
AS
46792012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4680
4681 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4682
97662200
JB
46832012-07-13 Juanma Barranquero <lekktu@gmail.com>
4684
80185fed
JB
4685 * bindings.el (top): Use `mapc' instead of `mapcar'.
4686
97662200
JB
4687 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4688
2bb1ae55
MA
46892012-07-13 Michael Albinus <michael.albinus@gmx.de>
4690
4691 * progmodes/sql.el (sql-comint): Suppress the check for program on
4692 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4693 (Bug#11908)
4694
dea31bd3
CY
46952012-07-13 Chong Yidong <cyd@gnu.org>
4696
4697 * bindings.el: Assign a non-nil permanent-local property to
4698 per-buffer variables which lack a default value (Bug#11930).
4699
4700 * help-fns.el (describe-variable): In the "automatically becomes
4701 local" notice, take note of permanent-local variables.
4702
b68b3337
CY
47032012-07-13 Chong Yidong <cyd@gnu.org>
4704
4705 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4706 to allow printing the message when called from Lisp.
4707
4708 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4709 Remove toggle-read-only.
4710
4711 * bs.el (bs-toggle-readonly):
45fd731c
SM
4712 * buff-menu.el (Buffer-menu-toggle-read-only):
4713 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4714
4715 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4716 Remove with-no-warnings around toggle-read-only.
4717 (ffap-read-only, ffap-read-only-other-window)
4718 (ffap-read-only-other-frame): Callers changed.
4719
4720 * help-mode.el: Don't require view package.
4721 (help-mode-finish): Set buffer-read-only instead of calling
4722 toggle-read-only.
4723
4724 * bindings.el (mode-line-toggle-read-only):
4725 * dired.el (dired-toggle-read-only):
4726 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4727 with non-nil second arg.
4728
4729 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4730 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4731 directly.
4732
56bc1586
EZ
47332012-07-12 Eli Zaretskii <eliz@gnu.org>
4734
4735 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4736 not incf.
4737
a464a6c7
SM
47382012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4739
4740 More CL cleanups and reduction of use of cl.el.
4741 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4742 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4743 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4744 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4745 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4746 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4747 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4748 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4749 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4750 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4751 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4752 * eshell/em-cmpl.el, eshell/em-banner.el:
4753 * calendar/parse-time.el: Use cl-lib.
4754 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4755 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4756 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4757 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4758 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4759 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4760 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4761 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4762 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4763 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4764 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4765 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4766 `lambda' rather than with `quote'.
4767 (eshell-do-opt): Adjust accordingly.
4768 (eshell-process-option): Simplify.
4769 * eshell/esh-var.el:
4770 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4771 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4772 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4773 to `pcase--dontcare'.
4774 * emacs-lisp/cl.el (labels): Mark obsolete.
4775 (cl--letf, letf): Move to cl-lib.
4776 (cl--letf*, letf*): Remove.
4777 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4778 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4779 (cl-progv): Rewrite.
4780 (cl--letf, cl-letf): Move from cl.el.
4781 (cl-letf*): New macro.
4782 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4783
7ad4afe1
MA
47842012-07-11 Michael Albinus <michael.albinus@gmx.de>
4785
4786 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4787
9af57756
CY
47882012-07-11 Chong Yidong <cyd@gnu.org>
4789
4790 * vc/log-edit.el (log-edit-vc-backend): New variable.
4791 (log-edit): Doc fix.
4792
4793 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4794 argument of log-edit to set up all local variables.
4795 (vc-start-logentry): New optional arg specifying VC backend.
4796
4797 * vc/vc.el (vc-checkin): Use it.
4798 (vc-deduce-fileset): Handle Log Edit buffers.
4799 (vc-diff): Make first argument optional too.
4800
4801 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4802
8477cc7a
MA
48032012-07-10 Michael Albinus <michael.albinus@gmx.de>
4804
4805 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4806 command, just in case. The function is not needed anymore.
4807 (eshell-external-command): Do not call `eshell-remote-command'.
4808
19faa8e8
SM
48092012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4810
f58e0fd5
SM
4811 Reduce use of (require 'cl).
4812 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4813 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4814 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4815 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4816 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4817 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4818 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4819 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4820 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4821 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4822 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4823 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4824 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4825 (byte-compile-unfold-bcf, byte-compile-check-variable):
4826 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4827 (byte-compile-nilconstp):
4828 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4829 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4830
2519d43a
SM
4831 * emacs-lisp/gv.el (cond): Make it a valid place.
4832 (if): Simplify slightly.
4833
19faa8e8
SM
4834 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4835 (pcase--self-quoting-p): New function.
4836 (pcase--u1): Use it.
4837
c4907a5e
GM
48382012-07-10 Glenn Morris <rgm@gnu.org>
4839
4840 * emacs-lisp/authors.el (authors-fixed-entries):
4841 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4842
c4444d16
PE
48432012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4844
4845 Rename configure.in to configure.ac (Bug#11603).
4846 * emacs-lisp/authors.el (authors-canonical-file-name):
4847 * progmodes/autoconf.el (autoconf-mode):
4848 Prefer configure.ac to configure.in.
4849
d75be97d
CY
48502012-07-08 Chong Yidong <cyd@gnu.org>
4851
01ac65bd
CY
4852 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4853 Implement the mouse-1-click-follows-link handling properly.
4854
4855 * info.el (Info-link-keymap): Use follow-link mechanism for
4856 header-line links (Bug#374).
4857
d75be97d
CY
4858 * simple.el (deactivate-mark): Do not set the primary selection
4859 if another program has acquired it (Bug#11772).
4860
87a92845 48612012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4862
4863 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4864 (woman-decode-region): Replace escaped-escapes without destroying
4865 bold or underline (Bug#11552).
87a92845 4866 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4867
621b9d6c
CY
48682012-07-07 Chong Yidong <cyd@gnu.org>
4869
4870 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4871 (interprogram-cut-function, interprogram-paste-function):
4872 Mention that we typically mean the clipboard.
621b9d6c 4873
133a11fc
GM
48742012-07-06 Glenn Morris <rgm@gnu.org>
4875
0d27a45e
GM
4876 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4877
133a11fc
GM
4878 * files.el (toggle-read-only): Restrict message to interactive use.
4879
07b151f1
MA
48802012-07-06 Michael Albinus <michael.albinus@gmx.de>
4881
4882 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4883
4884 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4885
211b896b
GM
48862012-07-06 Glenn Morris <rgm@gnu.org>
4887
50394322
GM
4888 * Makefile.in (compile-one-process): Rename from "recompile".
4889
211b896b
GM
4890 * Makefile.in (bzr-update): "compile" is the same as "recompile
4891 autoloads", but parallelizable, so use that instead.
4892
4737eec9
DG
48932012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4894
4895 * window.el (quit-window): Always restore window height when
8137e7b3 4896 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4897
226c3633 48982012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4899
4900 * simple.el (kill-whole-line): Doc tweak.
4901
226c3633 49022012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4903
4904 * files.el (file-relative-name): Compare file names
4905 case-insensitively if on MS-Windows or MS-DOS, or if
4906 read-file-name-completion-ignore-case is non-nil. Don't use
4907 case-fold-search for this purpose. (Bug#11827)
4908
4dc7c8d5
SM
49092012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4910
4911 * calendar/cal-dst.el (calendar-current-time-zone):
4912 Return calendar-current-time-zone-cache if non-nil.
4913
49142012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 49152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4916
19faa8e8
SM
4917 * calendar/cal-dst.el (calendar-current-time-zone):
4918 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4919
60198fc9
GM
49202012-07-06 Glenn Morris <rgm@gnu.org>
4921
4922 * Makefile.in (cvs-update): Remove old alias.
4923
957b3189
MA
49242012-07-05 Michael Albinus <michael.albinus@gmx.de>
4925
4926 Sync with Tramp 2.2.6-pre.
4927
4928 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4929 compatible declaration.
4930
19faa8e8
SM
4931 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4932 Protect `list-load-path-shadows' call.
957b3189
MA
4933
4934 * net/tramp-compat.el (top): Require packages, which aren't
4935 autoloaded anymore for XEmacs. Protect call of
4936 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4937 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4938 it hurts at least for SXEmacs.
4939 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4940 standard-value for `temporary-file-directory'.
4941
4942 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4943 Redirect stderr to /dev/null.
4944 (tramp-sh-handle-write-region): uid and gid can be floats.
4945 Reported by Russell Sim <russell.sim@gmail.com>.
4946 (tramp-sh-handle-vc-registered): Hide errors.
4947 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4948 and `start-file-process'.
4949 (tramp-maybe-open-connection): Check also whether `non-essential'
4950 is bound.
4951
566df3fc
CY
49522012-07-04 Chong Yidong <cyd@gnu.org>
4953
4954 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4955 (xml-parse-tag): Likewise, and avoid changing entity tables.
4956 (xml-syntax-table): Define from scratch, making sure not to give
4957 x2000 and other Unicode spaces whitespace syntax, since those are
4958 not spaces in XML.
4959 (xml-parse-fragment): Delete unused function.
4960 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4961 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4962 (xml-entity-ref, xml-pe-reference-re)
4963 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4964 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4965 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4966 (xml-entity-value-re): Use syntax references in regexps where
4967 possible; no need to define inside a let-binding.
4968 (xml-parse-dtd): Use xml-pe-reference-re.
4969 (xml-entity-or-char-ref-re): New defconst.
4970 (xml-parse-string, xml-substitute-special): Use it.
4971
30eabd7a
SM
49722012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4973
0781098a
SM
4974 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4975 (find-file--read-only): New function.
4976 (find-file-read-only, find-file-read-only-other-window)
4977 (find-file-read-only-other-frame): Use it.
4978 (insert-file-contents-literally): Don't `fset'.
4979 (get-free-disk-space): Use locate-dominating-file.
4980
b5771c0d
SM
4981 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4982 function is already compiled.
4983
30eabd7a
SM
4984 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4985
b4886f6e
MA
49862012-07-03 Michael Albinus <michael.albinus@gmx.de>
4987
4988 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4989 files on the same host.
4990
b9d82339
AS
49912012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4992
4993 * help-fns.el (describe-function-1): Only call
4994 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4995
a76e6535
CY
49962012-07-03 Chong Yidong <cyd@gnu.org>
4997
4998 * xml.el: Protect parser against XML bombs.
4999 (xml-entity-expansion-limit): New variable.
5000 (xml-parse-string, xml-substitute-special): Use it.
5001 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
5002
b544fef2
GM
50032012-07-03 Glenn Morris <rgm@gnu.org>
5004
5005 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5006 Allow linking to specific messages in debbugs reports (eg 123#5).
5007
a7aef6f5
CY
50082012-07-02 Chong Yidong <cyd@gnu.org>
5009
5010 * xml.el: Fix entity and character reference expansion, allowing
5011 them to expand into markup as per XML spec.
5012 (xml-default-ns): New variable.
5013 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
5014 (xml-parse-region): Make first two arguments optional.
5015 Discard text properties.
5016 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
5017 All callers changed.
a7aef6f5
CY
5018 (xml-parse-tag): Call xml-parse-tag-1. For backward
5019 compatibility, this function should not modify buffer contents.
5020 (xml-parse-tag-1): Fix opening-tag regexp.
5021 (xml-parse-string): Rewrite, handling entity and character
5022 references properly.
5023 (xml--entity-replacement-text): Signal an error if a parameter
5024 entity is undefined.
5025
3df31c9f
SM
50262012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
5027
2b5208f1
SM
5028 * comint.el (comint-output-filter): Filter out repeated prompts.
5029
3df31c9f
SM
5030 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
5031 and file-name-absolute-p.
5032 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
5033 internal calls.
5034
e3ac1281
PE
50352012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5036
5037 Spelling fixes.
5038 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5039 Rename from byte-compile--refiy-function. All uses changed.
5040
fbf2e7ad
CY
50412012-07-01 Chong Yidong <cyd@gnu.org>
5042
5043 * xml.el (xml--parse-buffer): New function. Move most of
5044 xml-parse-region here.
5045 (xml-parse-region): Copy region into a temporary buffer, since
5046 parameter entity substitution requires changing buffer contents.
5047 Use xml--parse-buffer.
5048 (xml-parse-file): Use xml--parse-buffer.
5049 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5050 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5051
9bf0aa15
GM
50522012-06-30 Glenn Morris <rgm@gnu.org>
5053
bbce2853
GM
5054 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5055
9bf0aa15
GM
5056 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5057 Remove outdated and unnecessary dbus declarations.
5058
0d23c240
EZ
50592012-06-30 Eli Zaretskii <eliz@gnu.org>
5060
5061 * emacs-lisp/timer.el (timer-until): Subtract results of
5062 float-time, instead of taking float-time of the result of
5063 time-subtract, since float-time signals an error for negative time
5064 arguments.
5065
b3218de1
CY
50662012-06-30 Chong Yidong <cyd@gnu.org>
5067
5068 * xml.el (xml-*-re): Convert defvars into defconsts, and
5069 eval-and-compile them so eval-and-compile works on derivatives.
5070 (xml--entity-replacement-text): Use eval-and-comple.
5071
a40c87a0
MA
50722012-06-30 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * vc/vc-git.el (vc-git-registered): Use cache property
5075 `git-registered'.
5076 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5077 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5078 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5079
ac87de97
DG
50802012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5081
5082 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5083 removed (likely outside Emacs). (Bug#11757)
ac87de97 5084
ac10fe06
SM
50852012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5086
3df31c9f 5087 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5088
7f3fbd5d
CY
50892012-06-30 Chong Yidong <cyd@gnu.org>
5090
5091 * xml.el: Implement XML parameter entities.
5092 (xml-parameter-entity-alist): New variable.
5093 (xml-parse-region, xml-parse-fragment): Preserve previous values
5094 of xml-entity-alist and xml-parameter-entity-alist, so that
5095 repeated calls on different documents do not change them.
5096 (xml-parse-tag): Fix doctype regexp.
5097 (xml--entity-replacement-text): New function.
5098 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5099 properly requires url retrieval which is unimplemented.
5100 (xml-escape-string): Doc fix.
5101
3cfbebba
SM
51022012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5103
5104 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5105
2af3565e
DA
51062012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5107
5108 * fringe.el (fringe-mode): Doc fix.
5109
929df0e7
MA
51102012-06-29 Michael Albinus <michael.albinus@gmx.de>
5111
5112 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5113 is non-nil.
5114 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5115 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5116
c8d3a25c 51172012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5118
c8d3a25c
GM
5119 * calendar/cal-dst.el (calendar-current-time-zone):
5120 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5121
c8d3a25c 51222012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5123
5124 * progmodes/which-func.el (which-func-format):
5125 Add mouse-face. (Bug#11698)
5126
c8d3a25c
GM
51272012-06-29 Leo Liu <sdl.web@gmail.com>
5128
5129 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5130
51312012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5132
5133 * minibuffer.el (minibuffer-confirm-exit-commands):
5134 Add completion-at-point (bug#11725).
5135
51362012-06-29 Glenn Morris <rgm@gnu.org>
5137
5138 * progmodes/f90.el (f90-font-lock-keywords-2):
5139 Add some preprocessor elements. (Bug#10499)
5140
51412012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5144 Use syntax-propertize (bug#11739).
5145
2badeec4
JB
51462012-06-28 Juanma Barranquero <lekktu@gmail.com>
5147
5148 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5149
ae4969c2
JD
51502012-06-28 Julien Danjou <julien@danjou.info>
5151
5152 * term.el (term-handle-colors-array): Use a set of new faces to
5153 color the terminal. Also uses :inverse-video property.
5154 (term-default-fg-color): Set to nil by default, deprecate in favor
5155 of `term-face'.
5156 (term-default-bg-color): Set to nil by default, deprecate in favor
5157 of `term-face'.
5158 (term-current-face): Use `term-face' by default.
5159 (term-bold-attribute): Variable deleted.
5160
1c9bd870
GM
51612012-06-28 Glenn Morris <rgm@gnu.org>
5162
5163 * simple.el (completion-list-mode-finish):
5164 Don't use toggle-read-only. (Since completion-list-mode has
5165 a special mode-class, it wasn't doing anything extra anyway.)
5166
c207708c
SM
51672012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5168
5169 Make inlining of other-mode interpreted functions work (bug#11799).
5170 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5171 (byte-compile): Use it to fix compilation of lexical-binding closures.
5172 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5173 function, if needed.
5174
3fd56834
SM
51752012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5176
04901786
SM
5177 * help-mode.el (help-make-xrefs): Don't just withstand
5178 cyclic-variable-indirection but any error in documentation-property.
5179
1ec4b7b2
SM
5180 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5181 memory use.
5182 * bindings.el (bindings--define-key): New function.
5183 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5184 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5185 * bindings.el: Use it to purecopy define-key bindings.
5186
e309e2a5
SM
5187 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5188
d5c6faf9
SM
5189 * emacs-lisp/cl.el (flet): Mark obsolete.
5190 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5191 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5192 * progmodes/js.el (js-c-fill-paragraph):
5193 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5194 (ebrowse-switch-member-buffer-to-derived-class):
5195 * play/5x5.el (5x5-solver): Use cl-flet.
5196
6e9590e2
SM
5197 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5198 (cl--symbol-function): New macro.
5199 (cl--letf, cl--letf*): Use it.
5200
3fd56834
SM
5201 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5202 Strip "toggle-" if any.
5203
35ff222c
GM
52042012-06-27 Glenn Morris <rgm@gnu.org>
5205
1ba6038a
GM
5206 * info.el (Info-default-directory-list): Move here from paths.el.
5207 * paths.el: Remove file, which is now empty.
5208 * loadup.el: No longer load "paths".
5209
0ea0e51b
GM
5210 * custom.el (custom-initialize-delay): Doc fix.
5211
35ff222c
GM
5212 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5213 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5214 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5215 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5216 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5217 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5218 * eshell/eshell.el (eshell-defgroup): Remove alias.
5219
c89926a5
CY
52202012-06-27 Chong Yidong <cyd@gnu.org>
5221
5222 * help.el (help-enable-auto-load): New variable.
5223
5224 * help-fns.el (help-fns--autoloaded-p): New function.
5225 (describe-function-1): Refer to a function as "autoloaded" if it
5226 was autoloaded at any time in the past. Perform autoloading if
5227 help-enable-auto-load is non-nil.
5228
cc06e7e7
EZ
52292012-06-26 Eli Zaretskii <eliz@gnu.org>
5230
5231 * makefile.w32-in (compile, compile-always): Depend on
5232 update-subdirs, not on subdirs.el. Otherwise, several different
5233 sub-targets of 'bootstrap' running in parallel could
5234 simultaneously write to subdirs.el, producing a garbled file.
5235
d2c32364
SS
52362012-06-26 Sam Steingold <sds@gnu.org>
5237
5238 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5239 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5240 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5241 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5242 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5243 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5244 * textmodes/tex-mode.el: Use it.
5245 Did not touch cedet and org because they are maintained elsewhere.
5246
5cf983b2
MR
52472012-06-26 Martin Rudalics <rudalics@gmx.at>
5248
5249 * calendar/calendar.el (calendar-exit): Don't try to delete or
5250 iconify last frame. See:
5251 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5252
8c4f2952
JD
52532012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5254
5255 * server.el (server-process-filter): Remember dir in the
5256 process's `server-client-directory' properties.
5257
772b2e2c
CY
52582012-06-24 Chong Yidong <cyd@gnu.org>
5259
5260 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5261 non-tag text.
5262
711b11e1
JB
52632012-06-23 Juanma Barranquero <lekktu@gmail.com>
5264
5265 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5266
dc5d230c
SM
52672012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * help-fns.el (describe-variable): Don't croak when doc is not found.
5270 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5271 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5272 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5273 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5274 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5275 ((lambda ..) ..).
5276 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5277
136e1c1d
CY
52782012-06-23 Chong Yidong <cyd@gnu.org>
5279
e8c1cabf
CY
5280 * info.el (Info-mouse-follow-link): Accept symbol values of
5281 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5282 (Info-fontify-node): Use Info-link-keymap for all navigation
5283 buttons, with link-args property to perform the desired action.
5284 (Info-link-keymap): Doc fix.
5285 (Info-next-link-keymap, Info-prev-link-keymap)
5286 (Info-up-link-keymap): Delete now-unused keymaps.
5287
0e9e6c6a
CY
52882012-06-23 Chong Yidong <cyd@gnu.org>
5289
05e89fea
CY
5290 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5291
0e9e6c6a
CY
5292 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5293 system abbrevs.
5294
5295 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5296
e33c6771
SM
52972012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5298
b68581e2
SM
5299 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5300 (bug#11719).
5301
e33c6771
SM
5302 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5303 the requote function doesn't work properly (bug#11714).
5304
7117e105
GM
53052012-06-23 Glenn Morris <rgm@gnu.org>
5306
5307 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5308
36cec983
SM
53092012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5310
5311 Further GV/CL cleanups.
5312 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5313 gv-expander.
5314 (gv--defun-declaration): New function.
5315 (defun-declarations-alist): Use it.
5316 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5317 (gv-place): Autoload.
5318 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5319 original definition of dotimes and dolist.
5320 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5321 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5322 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5323 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5324 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5325 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5326 to the function's definition.
5327 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5328 * window.el:
5329 * files.el:
5330 * faces.el:
5331 * env.el: Don't use CL.
5332
d35af63c
PE
53332012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5334
5335 Support higher-resolution time stamps (Bug#9000).
5336
5337 * calendar/time-date.el (with-decoded-time-value): New arg
5338 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5339 (encode-time-value): New optional arg PICO. New type 3.
5340 (time-to-seconds) [!float-time]: Support the new picoseconds
5341 component if it's used.
5342 (seconds-to-time, time-subtract, time-add):
5343 Support ps-resolution time stamps as well.
5344
5345 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5346 (timerp): Timer vectors now have length 9, not 8.
5347 (timer--time): Support new-style (4-part) time stamps.
5348 (timer-next-integral-multiple-of-time): Time stamps now have
5349 picosecond resolution, so take a bit more care about rounding.
5350 (timer-relative-time, timer-inc-time): New optional arg psecs.
5351 (timer-set-time-with-usecs): Set psecs to 0.
5352 (timer--activate): Check psecs component, too.
5353
5354 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5355
ac77b21a
SM
53562012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5357
f143bfe3
SM
5358 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5359 Move the non-essential binding to the post/pre-command-hook where it is
5360 more obviously correct.
5361
ac77b21a
SM
5362 * subr.el (read-passwd): Don't use a history at all.
5363 * savehist.el (savehist-save): Remove password saved accidentally
5364 because of the above bug.
5365
76386c5a
BG
53662012-06-22 Bastien Guerry <bzg@gnu.org>
5367
5368 * files.el (toggle-read-only): Display a message telling whether
5369 the buffer is read-only or not (bug#11726).
5370
2ee3d7f0
SM
53712012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5372
5373 * emacs-lisp/gv.el: New file.
5374 * subr.el (push, pop): Extend to generalized variables.
5375 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5376 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5377 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5378 gv-define-simple-setter, and gv-define-expander.
5379 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5380 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5381 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5382 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5383 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5384 gv-letplace.
5385 (cl-defstruct): Don't define setf-method any more.
5386 * emacs-lisp/cl.el (flet): Don't autoload.
5387 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5388 (define-setf-expander, defsetf, define-modify-macro)
5389 (cl-struct-setf-expander): Move from cl-lib.el.
5390 * emacs-lisp/syntax.el:
5391 * emacs-lisp/ewoc.el:
5392 * emacs-lisp/smie.el:
5393 * emacs-lisp/cconv.el:
5394 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5395 (timer--time): Use gv-define-simple-setter.
5396 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5397 to avoid coding-system problems in subr.el. Adjust all users.
5398 (macroexp--maxsize, macroexp-small-p): New functions.
5399 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5400 * scroll-bar.el (scroll-bar-mode):
5401 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5402 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5403 * winner.el (winner-configuration, winner-make-point-alist)
5404 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5405 * files.el (locate-file-completion-table): Avoid list*.
5406
c5695d1d
CY
54072012-06-22 Chong Yidong <cyd@gnu.org>
5408
5409 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5410 (dired-create-files): Doc fix (Bug#11329).
5411 (dired-do-copy): Doc fix (Bug#11334).
5412 (dired-mark-read-string): Doc fix (Bug#11553).
5413
2ee3d7f0
SM
5414 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5415 Doc fix (Bug#11326).
c5695d1d
CY
5416 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5417 (dired-dwim-target): Doc fix.
5418
5419 * wdired.el (wdired-mode): Doc fix.
5420
89b5595a
GM
54212012-06-22 Glenn Morris <rgm@gnu.org>
5422
575db3f1
GM
5423 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5424 (pcmpl-rpm-cache-stamp-file): New constant.
5425 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5426 (pcmpl-rpm-packages): Optionally cache list of packages.
5427
a4c8dd51
GM
5428 * pcmpl-rpm.el (pcmpl-rpm): New group.
5429 (pcmpl-rpm-query-options): New option.
5430 (pcmpl-rpm-packages): No need to inline it.
5431 Use pcmpl-rpm-query-options.
5432
89b5595a
GM
5433 * calendar/calendar.el (calendar-in-read-only-buffer):
5434 Avoid some needless mode changes.
5435
e76f0800
CY
54362012-06-21 Chong Yidong <cyd@gnu.org>
5437
5438 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5439 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5440 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5441
297a8f1d
CY
54422012-06-20 Chong Yidong <cyd@gnu.org>
5443
5444 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5445
d34c18b1
DR
54462012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5447
5448 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5449 (bug#11201).
5450
32f7f28e
CY
54512012-06-20 Chong Yidong <cyd@gnu.org>
5452
5453 * term.el (term-window-width): Handle the case of a missing right
5454 fringe (Bug#8837).
5455 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5456 (term-mode): Use define-derived-mode. Minor cleanups.
5457 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5458 (term-move-columns, term-insert-char, term-emulate-terminal)
5459 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5460
493c6688
MA
54612012-06-20 Michael Albinus <michael.albinus@gmx.de>
5462
d34c18b1
DR
5463 * net/ange-ftp.el (ange-ftp-get-passwd):
5464 Bind `enable-recursive-minibuffers'.
493c6688
MA
5465 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5466
3f06ecf4
DR
54672012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5468
5469 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5470
68f12411
GM
54712012-06-19 Glenn Morris <rgm@gnu.org>
5472
5473 * progmodes/python.el (python-mode): Derive from prog-mode.
5474
b3820318
KG
54752012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5476
5477 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5478 (edt-user-menu-bar-update-buffers): New functions.
5479 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5480
c6bf3022
CY
54812012-06-19 Chong Yidong <cyd@gnu.org>
5482
5483 * subr.el (with-selected-window): Preserve the selected window's
5484 terminal's top-frame (Bug#4702).
5485
5486 * window.el (save-selected-window): Likewise.
5487
25f09295
SM
54882012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5489
5490 * progmodes/python.el (python-rx-constituents): Move backquote.
5491 (python-skeleton-define, python-define-auxiliary-skeleton):
5492 Use `declare'.
5493
6b11952a
MA
54942012-06-18 Michael Albinus <michael.albinus@gmx.de>
5495
5496 * minibuffer.el (read-file-name-default): Revert the patch from
5497 2012-06-17.
5498
ee4b1330
SM
54992012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5500
5501 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5502 (pcase--u1, pcase--q1): Don't use apply-partially.
5503
35647f79
GM
55042012-06-18 Glenn Morris <rgm@gnu.org>
5505
5506 * progmodes/python.el (python-proc, python-buffer)
5507 (python-send-receive, python-send-string): Fix obsolete versions.
5508
24b0cff0
MR
55092012-06-18 Martin Rudalics <rudalics@gmx.at>
5510
5511 * window.el (special-display-p): Completely remove stringp
5512 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5513
29855149
MA
55142012-06-17 Michael Albinus <michael.albinus@gmx.de>
5515
5516 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5517
5518 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5519
5520 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5521 * net/tramp-sh.el (tramp-maybe-open-connection):
5522 Throw if `non-essential' is non-nil.
5523
07463363
MR
55242012-06-17 Martin Rudalics <rudalics@gmx.at>
5525
5526 * window.el (special-display-p): Signal an error if BUFFER-NAME
5527 is not a string (Bug#11713).
5528
48d1354e
PE
55292012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5530
5531 * progmodes/python.el (python-info-beginning-of-backslash):
5532 Rename from python-info-beginning-of-backlash, as a spelling fix.
5533
eb4a8a9a
CY
55342012-06-17 Chong Yidong <cyd@gnu.org>
5535
5536 * term.el (term-emulate-terminal): If term-check-size is called,
5537 move point to the process mark without resetting point (Bug#4635).
5538
ddfbf826 55392012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5540
5541 * international/mule-cmds.el (mule-menu-keymap)
5542 (set-language-environment, set-locale-environment): Doc tweaks.
5543
9b0e3eba
AA
55442012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5545
5546 * cus-face.el (custom-face-attributes): Add wave-style underline
5547 attribute.
5548 * faces.el (set-face-attribute): Update docstring to describe
5549 wave-style underline attribute.
5550
771e3eae
CY
55512012-06-16 Chong Yidong <cyd@gnu.org>
5552
5553 * term/xterm.el (terminal-init-xterm): Discard input before
5554 querying background mode (Bug#10959).
5555
7ae2ea10
SM
55562012-06-16 Stefan Merten <smerten@oekonux.de>
5557
5558 * textmodes/rst.el: Added and corrected some comments.
5559 (rst-re-alist-def): Improve symbol syntax.
5560 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5561 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5562 (rst-official-version, rst-official-cvs-rev): Update version
5563 information.
7ae2ea10 5564
b6974efa
JB
55652012-06-15 Juanma Barranquero <lekktu@gmail.com>
5566
5567 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5568 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5569
8826d473
GM
55702012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5571
5572 * progmodes/python.el: New python.el merge.
5573 (python-guess-indent): Obsolete var.
5574 (python-indent-guess-indent-offset): New defcustom.
5575 (python-indent): Obsolete var.
5576 (python-indent-offset): New defcustom.
5577 (python-python-command, python-jython-command): Delete var.
5578 (python-shell-interpreter): New defcustom.
5579 (python-pdbtrack-do-tracking-p): Delete var.
5580 (python-pdbtrack-activate): New defcustom.
5581 (python-use-skeletons): Obsolete var.
5582 (python-skeleton-autoinsert): New defcustom.
5583 (inferior-python-filter-regexp, python-continuation-offset)
5584 (python-honour-comment-indentation, python-indent-string-contents)
5585 (python-jython-packages, python-mode-hook)
5586 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5587 (python-shell-prompt-alist)
5588 (python-source-modes): Delete defcustoms.
5589 (python-check-buffer-name, python-eldoc-setup-code)
5590 (python-eldoc-string-code, python-ffap-setup-code)
5591 (python-ffap-string-code, python-fill-comment-function)
5592 (python-fill-decorator-function, python-fill-paren-function)
5593 (python-fill-string-function, python-imenu-include-defun-type)
5594 (python-imenu-make-tree, python-imenu-subtree-root-label)
5595 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5596 (python-shell-compilation-regexp-alist)
5597 (python-shell-completion-module-string-code)
5598 (python-shell-completion-pdb-string-code)
5599 (python-shell-completion-setup-code)
5600 (python-shell-completion-string-code)
5601 (python-shell-enable-font-lock, python-shell-exec-path)
5602 (python-shell-extra-pythonpaths)
5603 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5604 (python-shell-process-environment)
5605 (python-shell-prompt-block-regexp)
5606 (python-shell-prompt-output-regexp)
5607 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5608 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5609 (python-shell-virtualenv-path): New defcustoms.
5610 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5611 (inferior-python-mode-syntax-table, python--prompt-regexp)
5612 (python-buffer, python-command python-python-command)
5613 (python-default-template, python-imports, python-indent-index)
5614 (python-indent-list, python-indent-list-length)
5615 (python-mode-running, python-pdbtrack-is-tracking-p)
5616 (python-preoutput-continuation, python-preoutput-leftover)
5617 (python-preoutput-result, python-preoutput-skip-next-prompt)
5618 (python-prev-dir/file, python-recursing)
5619 (python-saved-check-command, python-version-checked)
5620 (python-which-func-length-limit)
5621 (view-return-to-alist): Delete vars.
5622 (python-check-custom-command, python-dotty-syntax-table)
5623 (python-imenu-index-alist, python-indent-current-level)
5624 (python-indent-dedenters, python-indent-levels)
5625 (python-nav-beginning-of-defun-regexp)
5626 (python-nav-list-defun-positions-cache)
5627 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5628 (python-shell-internal-buffer)
5629 (python-skeleton-available): New vars.
5630 (def-python-skeleton): Delete macro.
5631 (python-skeleton-define): New macro.
5632 (python-define-auxiliary-skeleton, python-rx): New macros.
5633 (python-insert-class): Delete command.
5634 (python-skeleton-class): New command.
5635 (python-insert-def): Delete command.
5636 (python-skeleton-def): New command.
5637 (python-insert-for): Delete command.
5638 (python-skeleton-for): New command.
5639 (python-insert-if): Delete command.
5640 (python-skeleton-if): New command.
5641 (python-insert-try/except, python-insert-try/finally): Delete commands.
5642 (python-skeleton-try): New command.
5643 (python-insert-while): Delete command.
5644 (python-skeleton-while): New command.
5645 (python-backspace): Delete command.
5646 (python-indent-dedent-line-backspace): New command.
5647 (python-electric-colon): Delete command.
5648 (python-indent-electric-colon): New command.
5649 (python-guess-indent): Delete command.
5650 (python-indent-guess-indent-offset): New command.
5651 (python-shift-left): Delete command.
5652 (python-indent-shift-left): New command.
5653 (python-shift-right): Delete command.
5654 (python-indent-shift-right): New command.
5655 (python-find-function): Delete command.
5656 (python-nav-jump-to-defun): New command.
5657 (python-next-statement): Delete command.
5658 (python-nav-forward-sentence): New command.
5659 (python-previous-statement): Delete command.
5660 (python-nav-backward-sentence): New command.
5661 (python-fill-paragraph): Delete command.
5662 (python-fill-paragraph-function): New command.
5663 (python-send-buffer): Delete command.
5664 (python-shell-send-buffer): New command.
5665 (python-send-defun): Delete command.
5666 (python-shell-send-defun): New command.
5667 (python-send-region, python-send-region-and-go): Delete commands.
5668 (python-shell-send-region)
5669 (python-shell-switch-to-shell): New commands.
5670 (python-send-string): Delete command.
5671 (python-shell-send-string): New command.
5672 (python-switch-to-python): Delete command.
5673 (python-shell-switch-to-shell): New command.
5674 (python-describe-symbol): Delete command.
5675 (python-eldoc-at-point): New command.
5676 (python--set-prompt-regexp, python-args-to-list)
5677 (python-after-info-look, python-check-version)
5678 (python-check-comint-prompt, python-find-imports)
5679 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5680 (python-unload-function, python-expand-template)
5681 (python-maybe-jython, python-preoutput-filter)
5682 (python-pdbtrack-get-source-buffer)
5683 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5684 (python-pdbtrack-toggle-stack-tracking)
5685 (python-pdbtrack-track-stack-file, python-initial-text)
5686 (python-first-word, python-comment-line-p, python-send-command)
5687 (python-setup-brm, python-sentinel, python-set-proc)
5688 (python-skip-out, python-input-filter, python-outdent-p)
5689 (python-outline-level, python-backslash-continuation-line-p)
5690 (python-end-of-block, python-end-of-statement, python-mark-block)
5691 (python-beginning-of-block, python-beginning-of-statement)
5692 (python-blank-line-p, python-beginning-of-string)
5693 (python-open-block-statement-p): Delete functions.
5694 (python-indent-line, python-indent-line-1): Delete functions.
5695 (python-indent-line): New function.
5696 (python-indentation-levels): Delete function.
5697 (python-indent-calculate-levels): New function.
5698 (python-proc): Delete function.
5699 (python-shell-get-process): New function.
5700 (python-send-receive): Delete function.
5701 (python-shell-send-string-no-output): New function.
5702 (python-module-path): Delete function.
5703 (python-ffap-module-path): New function.
5704 (python-completion-at-point)
5705 (python-symbol-completions): Delete functions.
5706 (python-completion-complete-at-point): New function.
5707 (python-load-file): Delete function.
5708 (python-shell-send-file): New function.
5709 (python-calculate-indentation): Delete function.
5710 (python-indent-calculate-indentation): New function.
5711 (python-skip-comments/blanks): Delete function.
5712 (python-util-forward-comment): New function.
5713 (python-continuation-line-p): Delete function.
5714 (python-info-continuation-line-p): New function.
5715 (python-which-func, python-current-defun): Delete function.
5716 (python-info-current-defun): New function.
5717 (python-beginning-of-defun): Delete function.
5718 (python-nav-beginning-of-defun): New function.
5719 (python-close-block-statement-p)
5720 (python-block-end-p): Delete function.
5721 (python-info-closing-block): New function.
5722 (python-comint-output-filter-function)
5723 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5724 (python-fill-comment, python-fill-decorator, python-fill-paren)
5725 (python-fill-string, python-imenu-make-element-tree)
5726 (python-imenu-make-tree, python-imenu-tree-assoc)
5727 (python-indent-context, python-indent-dedent-line)
5728 (python-indent-line-function)
5729 (python-indent-post-self-insert-function)
5730 (python-indent-toggle-levels)
5731 (python-info-assignment-continuation-line-p)
5732 (python-info-beginning-of-backlash)
5733 (python-info-block-continuation-line-p)
5734 (python-info-closing-block-message)
5735 (python-info-line-ends-backslash-p)
5736 (python-info-looking-at-beginning-of-defun)
5737 (python-info-ppss-context, python-info-ppss-context-type)
5738 (python-nav-list-defun-positions, python-nav-read-defun)
5739 (python-nav-sentence-end, python-nav-sentence-start)
5740 (python-pdbtrack-comint-output-filter-function)
5741 (python-pdbtrack-set-tracked-buffer)
5742 (python-shell-calculate-exec-path)
5743 (python-shell-calculate-process-environment)
5744 (python-shell-completion--do-completion-at-point)
5745 (python-shell-completion--get-completions)
5746 (python-shell-completion-complete-at-point)
5747 (python-shell-completion-complete-or-indent)
5748 (python-shell-get-or-create-process)
5749 (python-shell-get-process-name)
5750 (python-shell-internal-get-or-create-process)
5751 (python-shell-internal-get-process-name)
5752 (python-shell-internal-send-string, python-shell-make-comint)
5753 (python-shell-parse-command, python-shell-send-setup-code)
5754 (python-skeleton-add-menu-items)
5755 (python-util-clone-local-variables, python-util-position)
5756 (run-python-internal, python-indentation-levels)
5757 (python-nav-beginning-of-defun)
5758 (python-completion-complete-at-point): New functions.
5759 (run-python): Change arguments. New API requirements.
5760
4302f5ba
SM
57612012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5762
f38ea36d
SM
5763 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5764 (bug#11649).
5765
5766 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5767 (macroexp--expand-all): Use it.
5768
4302f5ba
SM
5769 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5770 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5771 Use `cl-function' instead.
5772
33377562
JB
57732012-06-14 Juanma Barranquero <lekktu@gmail.com>
5774
5775 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5776 Suggested by Stefan Monnier while discussing bug#11657.
5777
54c5ba1a
SS
57782012-06-14 Sam Steingold <sds@gnu.org>
5779
5780 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5781
f9f1b1fe
AS
57822012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5783
5784 * play/doctor.el (doctor-doc): Remove parameter and use
5785 doctor-sent instead of sent.
5786 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5787
a81068ba
SM
57882012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5789
5a315f9c
SM
5790 * files.el: Require cl-lib.
5791 (file-name-non-special): Replace case -> cl-case.
5792
5793 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5794
a81068ba
SM
5795 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5796 mapping from #' to function*.
5797
8cca9703
CY
57982012-06-13 Chong Yidong <cyd@gnu.org>
5799
5800 * mouse.el (mouse-drag-track): Do not set the mark if the user
5801 releases the mouse without selecting anything (Bug#11588).
5802
a12ac9d7
SM
58032012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5804
ccf1dc18
SM
5805 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5806 as well (bug#11646).
5807
ef62b23d
SM
5808 * loadup.el: Count byte-code functions as well.
5809
c4c8444a
SM
5810 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5811 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5812
a12ac9d7
SM
5813 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5814 (bug#11649). Add cl-defun and cl-defmacro.
5815
87e6e64f
DA
58162012-06-13 Drew Adams <drew.adams@oracle.com>
5817
5818 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5819 Fix last change.
5820
682cefaf
MA
58212012-06-13 Michael Albinus <michael.albinus@gmx.de>
5822
5823 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5824 Otherwise, it blocks in batch mode.
5825
773e1f08
JB
58262012-06-13 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * help-mode.el (bookmark-make-record-default): Declare.
5829
60057926
CY
58302012-06-13 Chong Yidong <cyd@gnu.org>
5831
5832 * emacs-lisp/package.el (list-packages): Compute a list of
5833 packages that are newly-available since the last list-packages
5834 invocation.
5835 (package-menu--new-package-list): New var.
5836 (package-menu--generate, package-menu--print-info)
5837 (package-menu--status-predicate, package-menu-mark-install):
5838 Handle new status label "new".
5839
ad4d226c
SM
58402012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5841
5842 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5843 conversion to backquotes.
5844
f1a4e679
CY
58452012-06-12 Chong Yidong <cyd@gnu.org>
5846
5847 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5848 Rename from gud-inhibit-global-bindings.
5849
5850 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5851
5852 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5853 hook from nxml-glyph-set-hook.
5854
5855 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5856 declaration.
5857
5858 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5859
5860 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5861 Convert to defcustom.
5862
0c9e42b5
DA
58632012-06-12 Drew Adams <drew.adams@oracle.com>
5864
5865 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5866 New functions.
5867 (help-mode): Use them.
5868
09e06855
GM
58692012-06-11 Glenn Morris <rgm@gnu.org>
5870
5871 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5872 Use preprocessor face for directives.
5873 (fortran-directive-re): Doc fix.
5874
71adb94b
SM
58752012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5876
2eb87922
SM
5877 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5878 conversion to backquotes (bug#11652).
5879
71adb94b
SM
5880 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5881 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5882 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5883 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5884 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5885 (cl-ninth, cl-tenth): Mark them as inlinable.
5886 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5887 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5888 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5889 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5890 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5891 (cl-list*, cl-adjoin): Don't put an autoload manually.
5892 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5893 (cl--compiler-macro-list*): Add autoload cookie.
5894 (cl--compiler-macro-cXXr): New function.
2eb87922 5895
71adb94b
SM
5896 * help-fns.el (help-fns--compiler-macro): New function extracted from
5897 describe-function-1; follow aliases and use `compiler-macro' property.
5898 (describe-function-1): Use it.
5899
a6674402
CY
59002012-06-11 Chong Yidong <cyd@gnu.org>
5901
5902 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5903 is uninstalled, if imagemagick is installed.
5904
bb3faf5b
SM
59052012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5906
5907 * emacs-lisp/cl-lib.el: Use lexical-binding.
5908 (cl-map-extents, cl-maclisp-member): Remove.
5909 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5910 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5911 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5912 * emacs-lisp/cl-extra.el: Use lexical-binding.
5913 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5914 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5915 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5916 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5917 * emacs-lisp/cl-seq.el: Use lexical-binding.
5918 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5919 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5920 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5921 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5922 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5923 CL's internals.
5924
2fe4b125
MA
59252012-06-11 Michael Albinus <michael.albinus@gmx.de>
5926
5927 Sync with Tramp 2.2.6-pre.
5928
5929 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5930 `print-length' and `print-level' to nil, in order to avoid
5931 truncation. Reported by Christopher Schmidt
5932 <christopher@ristopher.com>.
5933
5934 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5935
5936 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5937 New defmacro.
5938 (tramp-compat-copy-directory): Add optional argument
5939 COPY-CONTENTS. It is not handled yet.
5940
5941 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5942 (tramp-ftp-file-name-p): Simplify.
5943
5944 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5945 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5946 connection vector.
5947
5948 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5949 (tramp-methods): Do not use `tramp-password-end-of-line'.
5950 (tramp-completion-function-alist-putty): Handle UNIX case.
5951 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5952 (tramp-do-file-attributes-with-stat)
5953 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5954 gid as real numbers. They could run out of integer range on cygwin.
5955 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5956 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5957 (tramp-open-connection-setup-interactive-shell):
5958 Use `tramp-cleanup'. Move check for busyboxes ...
5959 (tramp-find-shell): ... here. Simplify implementation.
5960 Set "remote-shell" property also for alternative shells.
5961 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5962 If failing, a regular file would be written otherwise.
5963 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5964 (tramp-find-inline-encoding): Cache the coding commands in the
5965 process cache. Apply test command on the remote side, if defined.
5966 (tramp-find-inline-compress): Cache the compress commands in the
5967 process cache.
5968 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5969 when requested. Handle hops.
5970 (tramp-current-connection): New defvar.
87e6e64f
DA
5971 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5972 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5973 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5974 (tramp-get-inline-compress, tramp-get-inline-coding):
5975 Read connection properties from the process cache.
2fe4b125
MA
5976
5977 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5978 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5979 New defconsts.
2fe4b125
MA
5980 (tramp-smb-prompt): Extend for powershell prompt.
5981 (tramp-smb-file-name-handler-alist): Add handlers for
5982 `process-file', `shell-command' and `start-file-process'.
5983 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5984 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5985 (tramp-smb-file-name-p): Simplify.
5986 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5987 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5988 (tramp-smb-shell-quote-argument): New defuns.
5989 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5990 Implement using "tar". By this, time-stamps are preserved.
5991 (tramp-smb-handle-copy-file): Handle also the case of directories.
5992 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5993 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5994 Use `tramp-get-connection-buffer').
2fe4b125
MA
5995 (tramp-smb-handle-rename-file): Use "rename", when source and
5996 target are on the same share.
87e6e64f
DA
5997 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5998 Use `tramp-smb-server-version'.
2fe4b125
MA
5999 (tramp-smb-wait-for-output): Remove prompt.
6000
6001 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
6002 (tramp-methods, tramp-rsh-end-of-line):
6003 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
6004 (tramp-save-ad-hoc-proxies): New defcustom.
6005 (tramp-completion-function-alist): Adapt docstring.
6006 (tramp-default-password-end-of-line): Remove defcustom.
6007 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
6008 (tramp-user-regexp, tramp-file-name-regexp-unified)
6009 (tramp-file-name-regexp-url): Extend regexp by hop separator.
6010 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
6011 (tramp-remote-file-name-spec-regexp): New defconst.
6012 (tramp-file-name-structure): Extend structure for hops.
6013 (tramp-get-method-parameter): Move up.
6014 (tramp-file-name-p, tramp-dissect-file-name)
6015 (with-parsed-tramp-file-name): Handle hops.
6016 (tramp-file-name-hop): New defun.
6017 (tramp-make-tramp-file-name): New optional arg HOP.
6018 (tramp-message-show-progress-reporter-message): New defvar.
6019 (tramp-with-progress-reporter): Use it. We cannot use
6020 `tramp-message-show-message' here, because this suppresses also
6021 error buffers.
6022 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
6023 `tramp-message-show-message' is nil.
6024 Use `tramp-get-connection-buffer'.
2fe4b125
MA
6025 (tramp-cleanup): New defun.
6026 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
6027 (tramp-file-name-handler): If `debug-on-error' is set, propagate
6028 an error unchanged.
6029 (tramp-completion-handle-file-name-all-completions): Handle hops.
6030 Fix an error when called from ido.
6031 (tramp-completion-dissect-file-name): Use better local variable
6032 name. Add hop to the vector.
6033 (tramp-handle-insert-file-contents): Use progress-reporter for the
6034 whole scenario.
6035 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6036 to `t'.
6037 (tramp-check-for-regexp): Simplify search.
6038 (tramp-enter-password): Remove it. Move implementation ...
6039 (tramp-action-password): ... here.
6040 (tramp-mode-string-to-int, tramp-local-host-p)
6041 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6042 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6043 Set tramp-autoload cookie.
2fe4b125
MA
6044
6045 * net/trampver.el: Update release number.
6046
60472012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6048 Michael Albinus <michael.albinus@gmx.de>
6049
6050 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6051 (tramp-parse-group, tramp-parse-file)
6052 (tramp-parse-shostkeys-sknownhosts): New defuns.
6053 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6054 (tramp-parse-shosts-group, tramp-parse-sconfig)
6055 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6056 (tramp-parse-sknownhosts, tramp-parse-hosts)
6057 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6058 Use them.
6059 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6060 (tramp-parse-putty-group): Don't narrow.
6061 (tramp-parse-putty): Make a loop.
6062 (tramp-file-name-handler): Catch the `suppress' signal.
6063
72834e10
CY
60642012-06-11 Chong Yidong <cyd@gnu.org>
6065
6066 * image.el (imagemagick-register-types): Put the ImageMagick entry
6067 at the end of image-type-file-name-regexps.
6068
a4712e11
JB
60692012-06-11 Johan Bockgård <bojohan@gnu.org>
6070
6071 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6072 (pcase, pcase-let*, pcase-dolist): Use them.
6073
82ad98e3
SM
60742012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * emacs-lisp/pcase.el (pcase--let*): New function.
6077 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6078 (pcase--expand): Use macroexp-let².
6079
f80efb86
SM
60802012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6081
6082 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6083 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6084 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6085 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6086 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6087 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6088
31ca4639 60892012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6090
31ca4639
CY
6091 * mail/rmail.el (rmail-yank-current-message): Leave point at
6092 correct position. (Bug#11660)
94f0aa34 6093
31ca4639 60942012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6095
31ca4639 6096 * allout-widgets.el: Fix code header.
9e1b8ec4 6097
31ca4639 60982012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6099
f80efb86
SM
6100 * cus-edit.el (customize-changed-options-previous-release):
6101 Bump to 24.1.
31ca4639 6102
642b6d30
AS
61032012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6104
6105 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6106
4f5d2ba1
CY
61072012-06-09 Chong Yidong <cyd@gnu.org>
6108
6109 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6110
e75852fd
MR
61112012-06-09 Martin Rudalics <rudalics@gmx.at>
6112
6113 * window.el (special-display-popup-frame): Don't use
6114 window--display-buffer (Bug#11651).
6115
1e48e282
EZ
61162012-06-09 Eli Zaretskii <eliz@gnu.org>
6117
8a26b487
EZ
6118 Fix parallel builds: make sure loaddefs.el is not being written
6119 while Lisp files are compiled.
6120 (compile): Don't depend on 'mh-autoloads'.
6121 (compile-CMD, compile-SH): Depend on 'autoloads'.
6122 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6123
1e48e282
EZ
6124 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6125
6175e34b
CY
61262012-06-09 Chong Yidong <cyd@gnu.org>
6127
6128 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6129 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6130 Doc fixes (Bug#11225).
6131
d9857e53
SM
61322012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6133
6134 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6135 a function if there's a clear indication that it has a compiler-macro.
6136 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6137 (macro-declarations-alist): Add arglist to declaration functions.
6138 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6139 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6140 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6141 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6142 Also add autoload to find the compiler macro.
6143 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6144 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6145 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6146 (cl--compiler-macro-get): New functions, replacing calls to
6147 cl-define-compiler-macro.
6148 (cl-typep) [compiler-macro]: Use macroexp-let².
6149
f81298f8 61502012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6151
6152 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6153 string properly, fixes Bug#11473.
6154
4b56d0fe
CY
61552012-06-08 Chong Yidong <cyd@gnu.org>
6156
6157 * faces.el (set-face-attribute): Doc fix.
6158 (modify-face): Don't use :bold and :italic.
6159 (error, warning, success): Tweak definitions.
6160
6161 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6162 (custom-modified, custom-set, custom-changed, custom-themed)
6163 (custom-saved, custom-button, custom-button-mouse)
6164 (custom-button-pressed, custom-state, custom-comment-tag)
6165 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6166 (custom-group-subtitle): Use new-style face specs.
6167 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6168 (custom-set-face, custom-changed-face, custom-saved-face)
6169 (custom-button-face, custom-button-pressed-face)
6170 (custom-documentation-face, custom-state-face)
6171 (custom-comment-face, custom-comment-tag-face)
6172 (custom-variable-tag-face, custom-variable-button-face)
6173 (custom-face-tag-face, custom-group-tag-face-1)
6174 (custom-group-tag-face): Remove obsolete face alias.
6175
6176 * epa.el (epa-validity-high, epa-validity-medium)
6177 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6178 (epa-field-name, epa-field-body):
6179 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6180 (font-lock-keyword-face, font-lock-builtin-face)
6181 (font-lock-function-name-face, font-lock-variable-name-face)
6182 (font-lock-type-face, font-lock-constant-face):
6183 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6184 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6185 * speedbar.el (speedbar-button-face, speedbar-file-face)
6186 (speedbar-directory-face, speedbar-tag-face)
6187 (speedbar-selected-face, speedbar-highlight-face)
6188 (speedbar-separator-face):
6189 * whitespace.el (whitespace-newline, whitespace-space)
6190 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6191 (whitespace-line, whitespace-space-before-tab)
6192 (whitespace-space-after-tab, whitespace-indentation)
6193 (whitespace-empty):
6194 * emulation/cua-base.el (cua-global-mark):
6195 * eshell/em-prompt.el (eshell-prompt):
6196 * net/newst-plainview.el (newsticker-new-item-face)
6197 (newsticker-old-item-face, newsticker-immortal-item-face)
6198 (newsticker-obsolete-item-face, newsticker-date-face)
6199 (newsticker-statistics-face, newsticker-default-face):
6200 * net/newst-reader.el (newsticker-feed-face)
6201 (newsticker-extra-face, newsticker-enclosure-face):
6202 * net/newst-treeview.el (newsticker-treeview-face)
6203 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6204 (newsticker-treeview-immortal-face)
6205 (newsticker-treeview-obsolete-face)
6206 (newsticker-treeview-selection-face):
6207 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6208 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6209 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6210 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6211 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6212 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6213 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6214 (mpuz-text):
6215 * progmodes/vera-mode.el (vera-font-lock-number)
6216 (vera-font-lock-function, vera-font-lock-interface):
6217 * textmodes/table.el (table-cell): Use new-style face specs, and
6218 don't use the old :bold and :italic attributes.
6219
6220 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6221 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6222 (ebrowse-member-class, ebrowse-progress): Likewise.
6223 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6224 (ebrowse-file-name-face, ebrowse-default-face)
6225 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6226 (ebrowse-progress-face): Remove obsolete faces.
6227
6228 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6229 Inherit from error and warning faces respectively.
6230
6231 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6232 Likewise.
f80efb86
SM
6233 (flyspell-incorrect-face, flyspell-duplicate-face):
6234 Remove obsolete aliases.
4b56d0fe 6235
03310646
MA
62362012-06-08 Michael Albinus <michael.albinus@gmx.de>
6237
6238 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6239 Avoid infloop.
6240
513749ee
SM
62412012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6242
6243 * startup.el (argv, argi): Make lexically scoped.
6244 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6245 * emacs-lisp/cl-macs.el: Use lexical-binding.
6246 Rename cl-bind-* to cl--bind-*.
6247 * files.el: Don't require `cl' since it doesn't use it.
6248 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6249
595ef4ad
JB
62502012-06-08 Juanma Barranquero <lekktu@gmail.com>
6251
6252 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6253 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6254 instead of calling external sort utility.
6255 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6256
e9f66fcb
EZ
62572012-06-08 Eli Zaretskii <eliz@gnu.org>
6258
6259 * descr-text.el (describe-char): Mention how to insert the
6260 character, if the current input method doesn't support it.
6261 See the discussion in this thread for the details:
6262 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6263
3d10db47
SS
62642012-06-08 Sam Steingold <sds@gnu.org>
6265
6266 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6267 XF86Back to previous-buffer.
6268 (minibuffer-local-map): Bind them to next-history-element and
6269 previous-history-element respectively.
6270 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6271 help-go-back respectively.
6272 * info.el (Info-mode-map): Bind them to Info-history-forward and
6273 Info-history-back respectively.
6274 These are the keys next to Up on the ThinkPad keyboard.
6275
de7e2b36
SM
62762012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6279 * emacs-lisp/cl-macs.el: Provide itself.
6280 (cl--labels-convert-cache): New var.
6281 (cl--labels-convert): New function.
6282 (cl-flet, cl-labels): New implementation with new semantics, relying on
6283 lexical-binding.
6284 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6285 (cl-closure-vars, cl--function-convert-cache)
6286 (cl--function-convert): Move from cl-macs.el.
6287 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6288 rename by removing the "cl-" prefix.
6289 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6290
6fa6c4ae
SM
62912012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6292
6293 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6294 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6295 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6296 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6297 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6298 (cl-hash-table-count): Add old compatibility aliases.
6299
6300 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6301 Use macroexpand-all-environment instead.
6302 (cl--old-macroexpand): New var.
6303 (cl--sm-macroexpand): New function.
6304 (cl-symbol-macrolet): Use it during macro expansion.
6305 (cl--function-convert-cache): New var.
6306 (cl--function-convert): New function, extracted from
6307 cl-macroexpand-all.
6308 (cl-lexical-let): Use it.
6309
6310 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6311 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6312 (cl-member): Remove old alias.
6313
6314 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6315 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6316 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6317 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6318 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6319 (cl-macroexpand-cmacs): Remove var.
6320 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6321 Use macroexpand-all instead.
6322
4dd1c416
SM
63232012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6326 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6327 (macroexp-copyable-p): New functions and macros.
6328 * emacs-lisp/edebug.el (edebug-unwrap):
6329 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6330 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6331 (pcase--let*): Remove.
6332 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6333 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6334 macroexp-const-p instead.
6335 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6336
6337 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6338 instead of "cl-" for internal definitions. Use macroexp-const-p.
6339 (cl-old-bc-file-form): Remove var.
6340 (cl-const-exprs-p): Remove fun.
6341 (cl-labels, cl-macrolet): Use backquote.
6342 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6343 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6344 (cl-define-setf-expander): Rename from cl-define-setf-method.
6345 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6346
6347 * international/mule-cmds.el: Don't require CL.
6348 (view-hello-file): Don't use `letf'.
6349
ed8bd4d7
SM
63502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6351
7287f2f3
SM
6352 * tmm.el (tmm-prompt): Use string-prefix-p.
6353 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6354 (tmm-add-prompt): Use minibuffer-completion-help.
6355 (tmm-delete-map): Remove.
6356
ed8bd4d7
SM
6357 * subr.el (kbd): Make it its own function.
6358
7b4cdbf4
SM
63592012-06-07 Stefan Merten <smerten@oekonux.de>
6360
6361 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6362 Silence compiler warnings. Fix versions.
ed8bd4d7 6363 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6364 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6365 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6366 (rst-package-emacs-version-alist): Correct Emacs version to
6367 represent major merge with upstream.
ed8bd4d7 6368 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6369
2b48d721
GM
63702012-06-06 Glenn Morris <rgm@gnu.org>
6371
6372 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6373 Only print environment variables if set.
6374
fa779ab0
SM
63752012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6376
6377 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6378 (macroexp--cons): Rename from maybe-cons.
6379 (macroexp--accumulate): Rename from macroexp-accumulate.
6380 (macroexp--all-forms): Rename from macroexpand-all-forms.
6381 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6382 (macroexp--expand-all): Rename from macroexpand-all-1.
6383
628299e0
SS
63842012-06-06 Sam Steingold <sds@gnu.org>
6385
6386 * calendar/calendar.el (calendar-in-read-only-buffer):
6387 Call `special-mode' to enable the standard read-only keybindings.
6388
b7bb5838
SM
63892012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6390
6391 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6392 with "loading" messages (bug#11635).
6393
dfb308ba
MA
63942012-06-06 Michael Albinus <michael.albinus@gmx.de>
6395
6396 * files.el (enable-remote-dir-locals): New option.
6397 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6398
0372ee92
MA
6399 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6400 Ensure, that the temp directory is local.
6401
6402 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6403 `temporary-file-directory'.
6404
eed0bb91
MA
6405 * progmodes/python.el (python-send-region): Ensure, that the
6406 temporary file is created also in the remote case.
6407
7a58f64d
GM
64082012-06-06 Glenn Morris <rgm@gnu.org>
6409
f7dd4e98
GM
6410 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6411 (vc-rcs-update-changelog): Use it.
6412
090bd7cb 6413 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6414
7a58f64d
GM
6415 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6416 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6417 (vc-sccs-diff): Replace use of the external vcdiff script.
6418
daed4003
GM
64192012-06-05 Glenn Morris <rgm@gnu.org>
6420
6421 * ledit.el: Move to obsolete/.
6422
48c455c7
SS
64232012-06-05 Sam Steingold <sds@gnu.org>
6424
ed9265fc 6425 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6426 patch (Bug#11140).
6427
57a7d507
SM
64282012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6429
090bd7cb 6430 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6431
53aacf21
SM
6432 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6433 compiler-macro expansion.
6434
57a7d507
SM
6435 Add native compiler-macro support.
6436 * emacs-lisp/macroexp.el (macroexpand-all-1):
6437 Support compiler-macros directly. Properly follow aliases and apply
6438 the compiler macros more thoroughly.
6439 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6440 macroexpand now properly follows aliases.
6441 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6442 (cl-compiler-macroexpand): Use new prop.
6443 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6444
6445 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6446
51a5f9d8
MR
64472012-06-05 Martin Rudalics <rudalics@gmx.at>
6448
6449 * window.el (get-lru-window, get-mru-window, get-largest-window):
6450 New argument NOT-SELECTED to avoid picking the selected window.
6451 (window--display-buffer-1, window--display-buffer-2): Replace by
6452 new function window--display-buffer
6453 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6454 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6455 Use window--display-buffer.
51a5f9d8
MR
6456 (display-buffer-use-some-window): Remove temporary dedication
6457 hack by calling get-lru-window and get-largest-window with
6458 NOT-SELECTED argument non-nil. Call window--display-buffer.
6459
08f9f738
GM
64602012-06-05 Glenn Morris <rgm@gnu.org>
6461
6462 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6463 Replace external vcdiff script.
6464
e364a2b7
SM
64652012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6468
041df390
CY
64692012-06-04 Chong Yidong <cyd@gnu.org>
6470
e364a2b7
SM
6471 * image.el (imagemagick-types-inhibit): Revert last change.
6472 Add INFO and M.
47b36b94 6473 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6474
7c1898a7
SM
64752012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6476
6477 * emacs-lisp/cl-lib.el: Rename from cl.el.
6478 * emacs-lisp/cl.el: New compatibility file.
6479 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6480 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6481 to obey the "cl-" prefix.
6482 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6483
0c3461de
GM
64842012-06-03 Glenn Morris <rgm@gnu.org>
6485
1e266c88
GM
6486 * emacs-lisp/authors.el (authors-aliases): Addition.
6487
0c3461de
GM
6488 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6489 Fix :version.
6490
d8a52e15
SM
64912012-06-03 Stefan Merten <smerten@oekonux.de>
6492
6493 * textmodes/rst.el: Add comments.
6494 (rst-transition, rst-adornment): New faces.
6495 (rst-adornment-faces-alist): Make default safe to reevaluate.
6496 Fixes
6497 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6498 Improve customization tags.
6499 (rst-define-level-faces): Clarify meaning.
6500
5205d6f6
CY
65012012-06-03 Chong Yidong <cyd@gnu.org>
6502
6503 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6504 (compilation-mode-line-run, compilation-mode-line-exit):
6505 New faces.
5205d6f6
CY
6506 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6507
757ee657
JD
65082012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6509
7c1898a7
SM
6510 * progmodes/which-func.el (which-func-update-ediff-windows):
6511 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6512
5f2c76c6
CY
65132012-06-03 Chong Yidong <cyd@gnu.org>
6514
6515 * bindings.el: Remove explicit help text from format-mode-line.
6516 It is now supplied by mode-line-default-help-echo.
6517 (mode-line-front-space, mode-line-end-spaces)
6518 (mode-line-misc-info): New variables.
6519 (mode-line-modes, mode-line-position): Move the default value to
6520 the variable definition.
6521 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6522 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6523 (mode-line-modified-help-echo): New functions.
6524 (mode-line-mule-info, mode-line-modified): Use them.
6525 (mode-line-eol-desc, propertized-buffer-identification):
6526 Consistency fixes for help text.
cbe46e5f
CY
6527 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6528 set-buffer-file-coding-system (Bug#289).
6529 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6530
f2d6a3df
SM
65312012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6532
6533 * simple.el (execute-extended-command): Set real-this-command
6534 (bug#11506).
6535
37269466
CY
65362012-06-02 Chong Yidong <cyd@gnu.org>
6537
6538 Remove incorrect uses of "modeline" in comments, docstrings, and
6539 function/variable names (Bug#10329).
6540
6541 * cus-edit.el (mode-line):
6542 * dframe.el (dframe-mouse-hscroll):
6543 * emacs-lisp/re-builder.el:
6544 * emacs-lisp/easy-mmode.el (define-minor-mode):
6545 * frame.el (set-frame-name):
6546 * help.el (lookup-minor-mode-from-indicator):
6547 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6548 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6549 (c-toggle-hungry-state):
6550 * progmodes/antlr-mode.el (antlr-language-alist):
6551 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6552 * progmodes/vhdl-mode.el (vhdl-mode):
6553 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6554 * term/ns-win.el (ns-face-at-pos):
6555 * term/sup-mouse.el (sup-mouse-report):
6556 * textmodes/flyspell.el (flyspell-mode-line-string):
6557 * textmodes/ispell.el (ispell-highlight-face):
6558 * textmodes/reftex-global.el:
6559 * vc/vc-arch.el (vc-arch-mode-line-string):
6560 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6561 * vc/vc-git.el (vc-git-mode-line-string):
6562 * vc/vc-hooks.el (vc-display-status)
6563 (vc-default-mode-line-string):
6564 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6565
6566 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6567
6568 * dired.el (dired-sort-set-mode-line): Rename from
6569 dired-sort-set-modeline. All callers changed.
6570
6571 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6572 eshell-status-in-modeline.
6573
6574 * foldout.el (foldout-mode-line-string): Rename from
6575 foldout-modeline-string. All callers changed.
6576 (foldout-update-mode-line): Rename from foldout-update-modeline.
6577
6578 * subr.el (redraw-modeline): Make into obsolete alias.
6579
6580 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6581 timeclock-modeline-display. Make old name an alias.
6582 (timeclock-update-mode-line): Likewise. All callers changed.
6583 (timeclock-mode-line-display): No need to check before using
6584 add-hook.
6585 (timeclock-relative, timeclock-day-over-hook)
6586 (timeclock-use-elapsed, timeclock-mode-string)
6587 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6588
6589 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6590 crisp-mode-modeline-string.
6591
6592 * play/solitaire.el (solitaire-build-mode-line): Rename from
6593 solitaire-build-modeline. All callers changed.
6594
6595 * play/zone.el (zone-hiding-mode-line): Rename from
6596 zone-hiding-modeline. All callers changed.
6597 (zone): Remove unusued `modeline-hidden-level' property.
6598
6599 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6600 xscheme-modeline-initialize. All callers changed.
6601
6602 * strokes.el (strokes-lighter): Rename from
6603 strokes-modeline-string.
6604
6605 * textmodes/sgml-mode.el (html-face-tag-alist)
6606 (html-tag-face-alist): Use mode-line face instead of obsolete
6607 alias modeline.
6608
42152ee4
SM
66092012-06-02 Stefan Merten <smerten@oekonux.de>
6610
6611 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6612 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6613
95f520b5
CY
66142012-06-02 Chong Yidong <cyd@gnu.org>
6615
6616 * image.el (imagemagick-enabled-types): Rename from
6617 imagemagick-types-enable. Add many more types.
6618 (imagemagick-types-inhibit): Change default to nil.
6619 (imagemagick-filter-types): Caller changed.
6620
4a5f187a
SM
66212012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6622
03fef3e6
SM
6623 * emacs-lisp/cl-macs.el: Use backquotes.
6624 (cl-transform-function-property): Use eval-and-compile rather than
6625 abusing `require'.
6626 (defstruct): Use declare-function instead of with-no-warnings.
6627
4a5f187a
SM
6628 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6629 (byte-compile-output-docform): Re-add the print-circle bindings.
6630 (byte-compile-fix-header): Use #$ just because it's shorter.
6631 (byte-compile-output-file-form): Remove defun/defmacro.
6632
bd56924f
MR
66332012-06-01 Martin Rudalics <rudalics@gmx.at>
6634
6635 * simple.el (choose-completion): Remove now obsolete binding for
6636 owindow.
6637
046e38ce
MA
66382012-06-01 Michael Albinus <michael.albinus@gmx.de>
6639
6640 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6641 in order to avoid "Stack overflow in regexp matcher".
6642
32d72c2f
GM
66432012-05-31 Glenn Morris <rgm@gnu.org>
6644
6645 * image.el: For clarity, call imagemagick-register-types at
6646 top-level, rather than relying on a custom :initialize.
6647 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6648 (imagemagick-filter-types): New function. (Bug#7406)
6649 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6650 If disabling support, remove elements altogether rather
6651 than using an impossible regexp.
6652 (imagemagick-types-inhibit): Give it the default init function.
6653
dd41169b
SM
66542012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6655
4a5f187a
SM
6656 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6657 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6658
efc00ab1 66592012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6660
6661 * desktop.el (desktop-read): Clear previous and next buffers for
6662 all windows and bury *Messages* buffer (bug#11556).
6663
500fcedc
SM
66642012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6665
6666 Add `declare' for `defun'. Align `defmacro's with it.
6667 * emacs-lisp/easy-mmode.el (define-minor-mode)
6668 (define-globalized-minor-mode): Don't autoload the var definitions.
6669 * emacs-lisp/byte-run.el: Use lexical-binding.
6670 (defun-declarations-alist, macro-declarations-alist): New vars.
6671 (defmacro, defun): Use them.
6672 (make-obsolete, define-obsolete-function-alias)
6673 (make-obsolete-variable, define-obsolete-variable-alias):
6674 Use `declare'.
6675 (macro-declaration-function): Mark obsolete.
6676 * emacs-lisp/autoload.el: Use lexical-binding.
6677 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6678
6e8a1786
AM
66792012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6680
6681 * textmodes/ispell.el (ispell-with-no-warnings):
6682 Define as a macro.
500fcedc
SM
6683 (ispell-kill-ispell, ispell-change-dictionary):
6684 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6685 `interactive-p'.
6686
61b108cc
SM
66872012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6688
6689 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6690 (macro-declaration-function): Move var from C code.
6691 (macro-declaration-function): Define function with defalias.
6692 * emacs-lisp/macroexp.el (macroexpand-all-1):
6693 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6694 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6695 defun/defmacro any more.
6696 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6697 Provide fallback for unknown arglist.
6698 (byte-compile-arglist-warn): Change calling convention.
6699 (byte-compile-output-file-form): Move print-vars binding.
6700 (byte-compile-output-docform): Simplify accordingly.
6701 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6702 (byte-compile-defmacro-declaration): Remove.
6703 (byte-compile-file-form-defmumble): Generalize to defalias.
6704 (byte-compile-output-as-comment): Return byte-positions.
6705 Simplify callers accordingly.
6706 (byte-compile-lambda): Use `assert'.
6707 (byte-compile-defun, byte-compile-defmacro): Remove.
6708 (byte-compile-file-form-defalias):
6709 Use byte-compile-file-form-defmumble.
6710 (byte-compile-defalias-warn): Remove.
6711
6d3f7c2f
SM
67122012-05-29 Stefan Merten <smerten@oekonux.de>
6713
6714 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6715 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6716
6717 (rst-mode-abbrev-table): Merge definition.
6718 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6719 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6720
6dbaa1c7
UJ
67212012-05-29 Ulf Jasper <ulf.jasper@web.de>
6722
6723 * calendar/icalendar.el
6724 (icalendar-export-region): Export UID properly.
6725
d209e2fb 67262012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6727 * calendar/icalendar.el (icalendar-import-format):
6728 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6729 (icalendar-import-format-uid): New.
6730 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6731 Export UID.
6732
6876a58d
SM
67332012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6734
6735 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6736 different alternative patterns.
6737 (pcase-codegen): Be more careful to preserve identity.
6738 (pcase--u1): Don't forget to mark vars as used.
6739
6740 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6741 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6742 (byte-compile-from-buffer): ...rather than here.
6743
6744 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6745 functions from byte-compile-function-environment.
6746
46b7967e
TN
67472012-05-29 Troels Nielsen <bn.troels@gmail.com>
6748
6749 * window.el (window-deletable-p): Avoid deleting the root window
6750 of a frame with an active minibuffer.
6751
69d565e2
MR
67522012-05-29 Martin Rudalics <rudalics@gmx.at>
6753
6754 * simple.el (choose-completion): Use quit-window (Bug#11567).
6755
a149fa51
CY
67562012-05-29 Chong Yidong <cyd@gnu.org>
6757
6758 * whitespace.el (whitespace-cleanup): Fix usage of
6759 whitespace-empty-at-bob-regexp (Bug#11492).
6760
2b311310
AH
67612012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6762
6763 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6764 revert (Bug#11488).
6765
b9cb2387
JL
67662012-05-29 Juri Linkov <juri@jurta.org>
6767
6768 * isearch.el (isearch-mode-map): Bind `M-s _' to
6769 `isearch-toggle-symbol'. Bind `M-s c' to
6770 `isearch-toggle-case-fold'.
6771 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6772 (isearch-forward): Add `M-s _' to the docstring.
6773 (isearch-forward-symbol, isearch-toggle-case-fold)
6774 (isearch-symbol-regexp): New functions. (Bug#11381)
6775
d5e61c1c
JL
67762012-05-29 Juri Linkov <juri@jurta.org>
6777
6778 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6779 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6780 a function, call it to get the regexp.
6781 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6782 property `isearch-message-prefix' instead of the string "word ".
6783 (isearch-search-fun-default): For the case of `isearch-word',
6784 return a lambda that calls re-search-forward/re-search-backward
6785 with a regexp returned by `word-search-regexp' or by the function
6786 in `isearch-word'.
6787
8cbd80f7
JL
67882012-05-29 Juri Linkov <juri@jurta.org>
6789
6790 * isearch.el (isearch-search-fun-default): New function.
6791 (isearch-search-fun): Move default part to the new function
6792 `isearch-search-fun-default'.
6793 (isearch-search-fun-function): Set the default value to
6794 `isearch-search-fun-default'. (Bug#11381)
6795
6796 * comint.el (comint-history-isearch-end):
6797 Use `isearch-search-fun-default'.
6798 (comint-history-isearch-search): Use `isearch-search-fun-default'
6799 and remove spacial case for `isearch-word'.
6800 (comint-history-isearch-wrap): Remove spacial case for
6801 `isearch-word'.
6802
6803 * hexl.el (hexl-isearch-search-function):
6804 Use `isearch-search-fun-default'.
6805
6806 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6807 Use `word-search-regexp' for `isearch-word'.
6808
6809 * misearch.el (multi-isearch-search-fun):
6810 Use `isearch-search-fun-default'.
6811
6812 * simple.el (minibuffer-history-isearch-search):
6813 Use `isearch-search-fun-default' and remove spacial case for
6814 `isearch-word'.
6815 (minibuffer-history-isearch-wrap): Remove spacial case for
6816 `isearch-word'.
6817
6818 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6819 Remove spacial case for `isearch-word'.
6820 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6821
85c8c5b6
AM
68222012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6823
6824 Decrease XEmacs incompatibilities.
6825 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6826 Use `string-match'.
6827 (flyspell-delete-region-overlays): Use alternative definition for
6828 XEmacs.
6829 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6830 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6831 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6832 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6833 `define-obsolete-face-alias' under XEmacs, but old method.
6834
6835 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6836 `with-no-warnings' definition or Emacs alias.
6837 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6838 (ispell-word): Do not use `region-p' if XEmacs.
6839
8cab9efc
AM
68402012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6841
6842 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6843 Check for `ispell-dictionary-base-alist' instead of full
6844 `ispell-dictionary-alist'.
6845 (ispell-init-process): Show spellchecker when starting new Ispell
6846 process.
6847
fda91268
RZ
68482012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6851 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6852
694ea8e3
JB
68532012-05-27 Juanma Barranquero <lekktu@gmail.com>
6854
6855 * version.el (motif-version-string, gtk-version-string)
6856 (ns-version-string): Declare.
6857
e4d4f539
JL
68582012-05-27 Juri Linkov <juri@jurta.org>
6859
6860 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6861 after the `eval-defun-1' specialcaseing
6862 like in `edebug-eval-defun' (bug#10181).
6863
6864 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6865 like in `eval-defun-1'.
6866
33017faf 68672012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6868
fda91268
RZ
6869 * mail/sendmail.el (mail-yank-region):
6870 Recognize rmail-yank-current-message in addition to insert-buffer.
6871 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6872 a *mail* buffer created through rmail-start-mail with sendmail as
6873 mail-user-agent.
6874
33017faf
GM
68752012-05-27 Chong Yidong <cyd@gnu.org>
6876
6877 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6878 Default to 256 (Bug#11267).
6879
6880 * help.el (describe-mode): Doc fix.
6881
04188bb9
GM
68822012-05-26 Glenn Morris <rgm@gnu.org>
6883
38264cc9
GM
6884 * w32-fns.el (w32-init-info): Remove.
6885 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6886
eb7afdad
GM
6887 * info.el (info-initialize): For self-contained NS builds, put the
6888 included info/ directory at the front. (Bug#2791)
6889
04188bb9
GM
6890 * paths.el (Info-default-directory-list): Make it a defcustom,
6891 mainly so that we can use custom-initialize-delay.
6892
a179e3f7
SM
68932012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6894
43416392
SM
6895 * subr.el (buffer-has-markers-at): Mark obsolete.
6896
a179e3f7 6897 * subr.el (lambda): Use declare.
43416392 6898
a179e3f7
SM
6899 * emacs-lisp/lisp-mode.el (lambda):
6900 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6901
34a008d9
AH
69022012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6903
6904 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6905
0a3b289f
GM
69062012-05-26 Glenn Morris <rgm@gnu.org>
6907
6908 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6909
758c81e8
GM
69102012-05-25 Glenn Morris <rgm@gnu.org>
6911
f9f334f0
GM
6912 * paths.el: Remove no-byte-compile.
6913 * loadup.el: No need to load paths.el uncompiled.
6914
87eb79c2
GM
6915 * image.el (imagemagick-types-inhibit): Doc fix.
6916
758c81e8
GM
6917 * version.el: Remove no-byte-compile and associated formatting.
6918 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6919 is ancient code from when there was an "inc-vers.el".
6920
e7e85dc0
SM
69212012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6922
6923 * progmodes/gdb-mi.el: Minor style changes.
6924 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6925 Turn into minor modes.
6926 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6927 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6928 (gdb-shell): Remove unneeded let-binding.
6929 (gdb-get-many-fields): Eliminate O(n²) behavior.
6930
f31237a4
EZ
69312012-05-25 Eli Zaretskii <eliz@gnu.org>
6932
6933 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6934 platforms that don't link in fontset.c.
6935
bc1b21bb
JL
69362012-05-25 Juri Linkov <juri@jurta.org>
6937
6938 Use the same diff color scheme as in modern VCSes (bug#10181).
6939
6940 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6941 to avoid confusion with `diff-added' that now uses green colors.
6942 (diff-removed): Use shades of red.
6943 (diff-added): Use shades of green.
6944 (diff-changed): Leave just the yellow color.
6945 (diff-use-changed-face): New variable.
6946 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6947 how to highlight context diff changes.
6948 (diff-refine-change): Use shades of yellow.
6949 (diff-refine-removed): New face that uses shades of red.
6950 (diff-refine-added): New face that uses shades of green.
6951 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6952 `diff-refine-removed' in the call to `smerge-refine-subst'
6953 depending on the value of `diff-use-changed-face'.
6954
6955 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6956 (smerge-other): Use shades of green.
6957 (smerge-base): Use shades of yellow.
6958 (smerge-refined-change): Empty face.
6959 (smerge-refined-removed): New face that uses shades of red.
6960 (smerge-refined-added): New face that uses shades of green.
6961 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6962 args `props-r' and `props-a', and use them. Doc fix.
6963 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6964 on its value use different faces `smerge-refined-change',
6965 `smerge-refined-removed', `smerge-refined-added' in the call to
6966 `smerge-refine-subst'.
6967
6968 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6969 Add face condition `min-colors 88' with shades of red.
6970 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6971 `min-colors 88' with shades of green.
6972 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6973 `min-colors 88' with shades of yellow.
6974
6df9112c
GM
69752012-05-24 Glenn Morris <rgm@gnu.org>
6976
ead5edc0
GM
6977 * paths.el (prune-directory-list, remote-shell-program): Move to...
6978 * files.el (prune-directory-list, remote-shell-program): ...here.
6979 For the latter, delay initialization, prefer ssh, just search PATH.
6980
f18b81e6
GM
6981 * paths.el (term-file-prefix): Move to faces.el (the only user).
6982 * faces.el (term-file-prefix): Move here, make it a defcustom.
6983
ee2f89a6
GM
6984 * paths.el (news-directory, news-path, news-inews-program):
6985 Move to gnus/nnspool.el.
61a583ca 6986
f8815e4c
GM
6987 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6988
c8f3b42c
GM
6989 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6990 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6991 Make the latter a defcustom, with a delayed initialization.
6992
6df9112c
GM
6993 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6994 These were deleted from Gnus itself late 2010.
6995
5dadff36
JB
69962012-05-22 Juanma Barranquero <lekktu@gmail.com>
6997
9e1701c6
JB
6998 * progmodes/which-func.el (which-func-ff-hook):
6999 Check against user-error, not error.
7000
bd7239f5 7001 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
7002 cl-specs.el, which no longer exists.
7003
3290526d
GM
70042012-05-22 Glenn Morris <rgm@gnu.org>
7005
7006 * info.el (info-emacs-bug): New command.
7007 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
7008 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
7009
ff0c3cfb
GM
70102012-05-21 Glenn Morris <rgm@gnu.org>
7011
7012 * makefile.w32-in (update-subdirs-SH):
7013 * Makefile.in (update-subdirs): Update for moved update-subdirs.
7014
5814f126
SM
70152012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
7016
a52c0aa0
SM
7017 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
7018
5814f126
SM
7019 * progmodes/compile.el (compilation-error-regexp-alist-alist):
7020 Simplify Maven regexp, and make sure the file can't start with a space
7021 (bug#11517).
7022
b847032c
GM
70232012-05-21 Glenn Morris <rgm@gnu.org>
7024
7025 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7026 Scrap superfluous subshells.
7027
3858bfe7
SM
70282012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
7031 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
7032
d14b0029
JB
70332012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7034
7035 * calc/calc.el (calc-ensure-consistent-units): New variable.
7036
a52c0aa0
SM
7037 * calc/calc-units.el (math-consistent-units-p)
7038 (math-check-unit-consistency): New functions.
7039 (calc-quick-units, calc-convert-units):
7040 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7041 is non-nil.
d14b0029
JB
7042 (calc-extract-units): Fix typo.
7043
60c4db3a
SM
70442012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7045
77f3b62e
SM
7046 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7047
60c4db3a
SM
7048 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7049 (flyspell-default-deplacement-commands): Don't spell check after
7050 repeated window/frame switches (e.g. triggered by mouse-movement).
7051 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7052 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7053 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7054 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7055 Remove unused vars.
7056 (flyspell-get-casechars, flyspell-get-not-casechars):
7057 Simplify; Don't bother removing a ] just to add it back.
7058 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7059
d209e2fb 70602012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7061
7062 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7063 New functions.
bd7239f5 7064 (math-function-table): Add support for more C functions.
b1a10716 7065
3f1b25b5
AM
70662012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7067
090bd7cb
JB
7068 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7069 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7070 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7071
b581bb5c
SM
70722012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7073
7074 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7075 their respective macro declarations.
7076 * skeleton.el (define-skeleton):
7077 * progmodes/compile.el (define-compilation-mode):
7078 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7079 (define-ibuffer-filter):
7080 * emacs-lisp/generic.el (define-generic-mode):
7081 * emacs-lisp/easy-mmode.el (define-minor-mode)
7082 (define-globalized-minor-mode):
7083 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7084 * emacs-lisp/byte-run.el (defsubst):
7085 * custom.el (deftheme): Add doc-string metadata.
7086
70b8ef8f
SM
70872012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7088
7089 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7090
b1198e17
SM
70912012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7092
9abdc45d
SM
7093 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7094
b1198e17
SM
7095 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7096 * emacs-lisp/cl-macs.el: Idem.
7097 * emacs-lisp/cl-specs.el: Remove.
7098
4735906a
SM
70992012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7100
7101 Minor renaming of internal CL functions and variables.
7102 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7103 (cl--position): Rename from cl-position.
7104 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7105 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7106 (cl--random-state): Rename from *random-state*.
7107
ac348012
SM
71082012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7111 parens around the arg list (bug#11499).
7112
a0a79cde
JL
71132012-05-17 Juri Linkov <juri@jurta.org>
7114
7115 * isearch.el (word-search-regexp, word-search-backward)
7116 (word-search-forward, word-search-backward-lax)
7117 (word-search-forward-lax): Move functions from search.c
7118 (bug#10145, bug#11381).
7119
65034a51
AM
71202012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7121
090bd7cb
JB
7122 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7123 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7124 Delay for otherchars as for normal word components.
65034a51 7125
1a72a195
SM
71262012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7127
7128 * minibuffer.el (completion--sifn-requote): Fix last change.
7129 (minibuffer-local-must-match-filename-map):
7130 Move define-obsolete-variable-alias before its var.
7131
fdb058c2
SM
71322012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7133
c41045e6
SM
7134 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7135
036dfb8b
SM
7136 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7137 behavior.
7138 (completion--string-equal-p): New function.
7139 (completion--twq-all): Use it to get better assertion failure data.
7140
2473256d
SM
7141 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7142 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7143 (shell--requote-argument): New functions.
7144 (shell-completion-vars): Use them.
7145 (shell--parse-pcomplete-arguments): Rename from
7146 shell-parse-pcomplete-arguments.
7147 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7148 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7149 Obey comint-file-name-quote-list.
7150
fdb058c2
SM
7151 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7152 (smie-indent-keyword): Use it.
7153
51fa99f1
SM
71542012-05-14 Stefan Merten <smerten@oekonux.de>
7155
7156 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7157
e18afed7 71582012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7159
7160 * net/rlogin.el (rlogin-mode-map): Fix last change.
7161
e18afed7 71622012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7163
7164 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7165 the following \r\n using a single `process-send-string', since the
7166 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7167 with two `process-send-string's (Bug#11444).
8633b1f4 7168
e18afed7 71692012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7170
fdb058c2
SM
7171 * shell.el (shell-parse-pcomplete-arguments):
7172 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7173
2d21d7f6
WJ
71742012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7175
e18afed7 7176 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7177 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7178 (image-transform-width, image-transform-fit-width): New functions.
7179 (image-transform-properties): Use them.
7180 (image-transform-check-size): New function.
7181 (image-toggle-display-image): Use it (for testing).
7182 (image-transform-set-rotation): Reduce angle mod 360.
7183 Delete obsolete comment.
7184
7102e6d0
WJ
71852012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7186
7187 * image-mode.el: Fix scaling (bug#11399).
7188 (image-transform-resize): Doc fix.
7189 (image-transform-properties): Default scale is 1 and height should
7190 be an integer.
7191
06bc5e6e
SM
71922012-05-13 Johan Bockgård <bojohan@gnu.org>
7193
7194 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7195 than hard-coding `car', to fix misbehavior when moving forward.
7196
0ae03b6a
CY
71972012-05-13 Chong Yidong <cyd@gnu.org>
7198
7199 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7200 (tabulated-list-entries, tabulated-list-padding)
7201 (tabulated-list-sort-key): Make permanent-local.
7202
7203 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7204 (electric-buffer-list): Put electric buffer menu
7205 command descriptions in this docstring, instead of the docstring
7206 of electric-buffer-menu-mode. Code cleanups.
7207 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7208 Electric-buffer-menu-mode.
7209 (electric-buffer-update-highlight): Minor code cleanup.
7210
205a7391
MA
72112012-05-13 Michael Albinus <michael.albinus@gmx.de>
7212
7213 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7214 (Bug#11447)
7215
e5bd0a28
SM
72162012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7217
7218 Move define-obsolete-variable-alias before the var's definition.
7219 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7220 * tooltip.el (tooltip-hook):
7221 * textmodes/reftex-toc.el (reftex-toc-map):
7222 * textmodes/reftex-sel.el (reftex-select-label-map)
7223 (reftex-select-bib-map):
7224 * textmodes/reftex-index.el (reftex-index-map)
7225 (reftex-index-phrases-map):
7226 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7227 * progmodes/meta-mode.el (meta-mode-map):
7228 * novice.el (disabled-command-hook):
7229 * loadhist.el (unload-hook-features-list):
7230 * frame.el (blink-cursor):
7231 * files.el (find-file-not-found-hooks, write-file-hooks)
7232 (write-contents-hooks):
7233 * emulation/tpu-edt.el (GOLD-map):
7234 * emacs-lock.el (emacs-lock-from-exiting):
7235 * emacs-lisp/generic.el (generic-font-lock-defaults):
7236 * emacs-lisp/chart.el (chart-map):
7237 * dos-fns.el (register-name-alist):
7238 * dired-x.el (dired-omit-files-p):
7239 * desktop.el (desktop-enable):
7240 * cus-edit.el (custom-mode-hook):
7241 * buff-menu.el (buffer-menu-mode-hook):
7242 * bookmark.el (bookmark-read-annotation-text-func)
7243 (bookmark-exit-hooks):
7244 * allout.el (allout-mode-deactivate-hook)
7245 (allout-exposure-change-hook, allout-structure-added-hook)
7246 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7247 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7248 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7249 comes before the corresponding variable's definition.
7250
ac59c2f6
CY
72512012-05-12 Chong Yidong <cyd@gnu.org>
7252
7253 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7254 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7255 (Buffer-menu-mode-map): Bind it.
7256 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7257
dee6c9a3
SM
72582012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7259
2171cea5
SM
7260 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7261 (prolog-upper-case-string, prolog-lower-case-string)
7262 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7263 (prolog-use-smie, prolog-smie-grammar): New vars.
7264 (prolog-smie-forward-token, prolog-smie-backward-token)
7265 (prolog-smie-rules): New funs.
7266 (prolog-comment-indent): Remove.
7267 (prolog-mode-variables): Use default comment indentation instead.
7268 Setup SMIE.
7269 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7270 (prolog-mode): Don't call them any more.
7271 (prolog-electric-colon, prolog-electric-dash)
7272 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7273
aa0382bd
SM
7274 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7275
dbacb4bd
SM
7276 * minibuffer.el (completion--twq-all): Again, allow case differences.
7277
13bdd94c
SM
7278 * term.el: Move keymap initialization code to be more idiomatic.
7279 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7280 (term-terminal-menu): Move initialization into declaration.
7281 (term-escape-char): Let the user set it in her .emacs.
7282
ff46c759
SM
7283 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7284 Provide SMIE-based indentation (not enabled by default yet).
7285 (sh-mode-map): Don't bind electric keys.
7286 Use electric-pair-mode instead of skeleton-pair.
7287 (sh-assignment-regexp): Fit within 80 columns.
7288 (sh-indent-supported): Specify actual shell name instead of boolean.
7289 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7290 (sh-maybe-here-document): Use it. Make obsolete.
7291 (sh-electric-here-document-mode) New minor mode.
7292 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7293 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7294 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7295 (sh-smie-rc-grammar, sh-use-smie): New vars.
7296 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7297 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7298 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7299 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7300 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7301 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7302 (sh-set-shell): Use smie-setup if requested.
7303
dee6c9a3
SM
7304 * term.el (term-set-escape-char): Properly set term-escape-char.
7305 See http://stackoverflow.com/questions/10524656.
7306
9f9aa044
CY
73072012-05-10 Chong Yidong <cyd@gnu.org>
7308
7309 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7310 Use url-generic-parse-url, and handle host names and Windows
7311 filenames properly.
7312 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7313 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7314 URL schemes to work on.
7315 (ffap--toggle-read-only): New function.
7316 (ffap-read-only, ffap-read-only-other-window)
7317 (ffap-read-only-other-frame): Use it.
7318 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7319 necessary for ffap-url-unwrap-remote.
7320
836d29b3
DA
73212012-05-10 Dave Abrahams <dave@boostpro.com>
7322
7323 * cus-start.el (create-lockfiles): Add it.
7324
00fd78ed
CY
73252012-05-09 Chong Yidong <cyd@gnu.org>
7326
7327 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7328 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7329
666b903b 73302012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7331
7332 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7333
666b903b 73342012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7335
7336 * ansi-color.el (ansi-color-process-output): Check for validity of
7337 comint-last-output-start before using it. This avoids a bad
7338 interaction with gdb-mi's input/output buffer.
7339
666b903b 73402012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7341
7342 * files.el (dir-locals-read-from-file):
7343 Mention dir-locals in any error message.
7344
666b903b 73452012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7346
7347 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7348 package (Bug#11410).
7349
f677562b
CY
7350 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7351 variables into description.
7352
666b903b 73532012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7354
7355 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7356 shell-delimiter-argument-list (bug#11348).
7357 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7358
b499d8d0
JB
73592012-05-09 Juanma Barranquero <lekktu@gmail.com>
7360
8f6b6da8
JB
7361 * textmodes/rst.el: Silence byte-compiler warnings.
7362 (rst-re-alist, rst-reset-section-caches): Move around.
7363 (rst-re): Use `characterp', not `char-valid-p'.
7364 (font-lock-beg, font-lock-end): Declare.
7365
4824146a
JB
7366 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7367 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7368
b499d8d0
JB
7369 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7370
ad89bb83
GM
73712012-05-08 Glenn Morris <rgm@gnu.org>
7372
7373 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7374
8bba5a75
SM
73752012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7376
49ed9c8e
SM
7377 * vc/log-edit.el: Add GNU coding standards highlighting.
7378 (log-edit-font-lock-gnu-style)
7379 (log-edit-font-lock-gnu-keywords): New vars.
7380 (log-edit-font-lock-keywords): New fun.
7381 (log-edit-mode): Don't fold case in font-lock.
7382 (log-edit-font-lock-keywords): Do not assume case-folding.
7383
07d00b56
SM
7384 * imenu.el: Misc cleanup. Make docstrings out of comments.
7385 Use lexical-binding.
7386 (imenu--index-alist, imenu--last-menubar-index-alist)
7387 (imenu-menubar-modified-tick): Use defvar-local.
7388 (imenu--split-menu): Remove unused var.
7389 (imenu--cleanup-seen): Declare as global.
7390 (imenu--cleanup): Use dolist.
7391
8bba5a75
SM
7392 * subr.el (defvar-local): Add debug spec and doc-string position.
7393
5075bdb5
GM
73942012-05-08 Glenn Morris <rgm@gnu.org>
7395
090bd7cb 7396 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7397 * language/english.el, language/georgian.el, language/greek.el:
7398 * language/japanese.el, language/khmer.el, language/korean.el:
7399 * language/lao.el, language/misc-lang.el, language/romanian.el:
7400 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7401 * language/thai.el, language/utf-8-lang.el:
7402 Remove no-byte-compile setting.
7403
5075bdb5
GM
7404 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7405
06f679a7
AH
74062012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7407
7408 * progmodes/make-mode.el (makefile-browse):
7409 Remove unnecessary interactive. (Bug#11324)
7410
03794570
GM
74112012-05-07 Glenn Morris <rgm@gnu.org>
7412
af8630f4
GM
7413 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7414
03794570
GM
7415 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7416
f0809a9d
SM
74172012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7418
28be5ce7
SM
7419 * loadup.el: Preload newcomment.el.
7420 * newcomment.el: Move autoload-only code to toplevel.
7421
f0809a9d
SM
7422 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7423 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7424 Handle new :right-align column property.
7425 (tabulated-list-print-col): Idem, plus use `display' text-property to
7426 try and preserve alignment for variable pitch fonts.
7427
1241b724
CY
74282012-05-07 Chong Yidong <cyd@gnu.org>
7429
7430 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7431 (tabulated-list-use-header-line): New var.
7432 (tabulated-list-init-header): Use it.
7433 (tabulated-list-print-fake-header): New function.
7434 (tabulated-list-print): Use it.
7435 (tabulated-list-sort-button-map): Add non-header-line commands.
7436 (tabulated-list-init-header): Add column name property to basic
7437 labels as well.
7438 (tabulated-list-col-sort): Handle non-header-line button case.
7439 (tabulated-list--sort-by-column-name): Fix a corner case.
7440
f0809a9d
SM
7441 * buff-menu.el (list-buffers--refresh):
7442 Handle Buffer-menu-use-header-line.
1241b724 7443
e5f9458f
CY
74442012-05-06 Chong Yidong <cyd@gnu.org>
7445
7446 * buff-menu.el: Convert to Tabulated List mode.
7447 (Buffer-menu-buffer+size-width): Make obsolete.
7448 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7449 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7450 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7451 documentation into docstring of buffer-menu.
7452 (Buffer-menu-toggle-files-only): Add an informative message.
7453 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7454 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7455 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7456 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7457 (Buffer-menu-execute, Buffer-menu-select)
7458 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7459 (Buffer-menu-bury): Use Tabulated List machinery.
7460 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7461 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7462 Delete.
e5f9458f
CY
7463 (list-buffers--refresh): New function.
7464 (list-buffers-noselect): Use it.
7465 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7466 (Buffer-menu--pretty-file-name): New helper functions.
7467
7468 * loadup.el: Preload tabulated-list.
7469
7470 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7471 tabulated-list-sort-column.
7472 (tabulated-list-init-header): Add the initial aligning space even
7473 if tabulated-list-padding is zero.
7474
e129292c
CS
74752012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7476
7477 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7478 whose cdr is not a cons cell correctly (bug#11038).
7479
6632d361
CY
74802012-05-06 Chong Yidong <cyd@gnu.org>
7481
e129292c
CS
7482 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7483 Accept additional plist in column descriptors.
6632d361
CY
7484 (tabulated-list-init-header): Obey it.
7485 (tabulated-list-get-entry): New function.
7486 (tabulated-list-put-tag): Use it. Use string-width instead of
7487 length.
7488 (tabulated-list--column-number): New function.
7489 (tabulated-list-print): Use it.
e129292c
CS
7490 (tabulated-list-print-col): New function.
7491 Set `tabulated-list-column-name' property on each column's text.
6632d361 7492 (tabulated-list-print-entry): Use it.
e129292c
CS
7493 (tabulated-list-delete-entry, tabulated-list-set-col):
7494 New functions.
6632d361
CY
7495 (tabulated-list-sort-column): New command (Bug#11337).
7496
3cc99f68
CY
7497 * buff-menu.el (list-buffers): Move C-x C-b binding from
7498 buff-menu.el to bindings.el.
7499
7500 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7501 :advertised-binding feature.
7502
52b61776
TN
75032012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7504
7505 * progmodes/compile.el (compilation-internal-error-properties):
7506 Calculate start position correctly when end-col is set but
7507 end-line is not (Bug#11382).
7508
ebfe2597
WJ
75092012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7510
7511 * man.el (Man-unindent): Use text-property-default-nonsticky to
7512 prevent untabify from inheriting face properties (Bug#11408).
7513
6d3f7c2f
SM
75142012-05-05 Stefan Merten <smerten@oekonux.de>
7515
7516 * textmodes/rst.el: Major merge with upstream development up to
7517 Docutils SVN r7399 / rst.el V1.2.1.
7518
7519 Clarify maintainership and authors.
7520
7521 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7522 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7523 (rst-official-version, rst-official-cvs-rev, rst-version)
7524 (rst-package-emacs-version-alist): New functions and variables
7525 for version information.
7526
7527 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7528 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7529 (rst-mode-syntax-table, rst-mode): New and corrected functions
7530 and variables representing reStructuredText features.
7531
7532 (rst-re): New function for reStructuredText regexes. Use in
7533 many places.
7534
7535 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7536 (rst-mode-map): Rebind keys.
7537
7538 (rst-mode-lazy, rst-font-lock-keywords)
7539 (rst-font-lock-extend-region)
7540 (rst-font-lock-extend-region-internal)
7541 (rst-font-lock-extend-region-extend)
7542 (rst-font-lock-find-unindented-line-limit)
7543 (rst-font-lock-find-unindented-line-match)
7544 (rst-adornment-level, rst-font-lock-adornment-level)
7545 (rst-font-lock-adornment-match)
7546 (rst-font-lock-handle-adornment-pre-match-form)
7547 (rst-font-lock-handle-adornment-matcher): Major revision of
7548 font-locking. Integrate with other code. Use `jit-lock-mode'.
7549
7550 (rst-preferred-adornments, rst-adjust-hook)
7551 (rst-new-adornment-down, rst-preferred-bullets)
7552 (rst-preferred-bullets, rst-indent, rst-indent-width)
7553 (rst-indent-field, rst-indent-literal-normal)
7554 (rst-indent-literal-minimized, rst-indent-comment): Change,
7555 extend and improve customization.
7556
7557 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7558 (rst-normalize-cursor-position, rst-get-decoration)
7559 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7560 (rst-rstrip, rst-toc-insert-find-delete-contents)
7561 (rst-shift-fill-region, rst-compute-bullet-tabs)
7562 (rst-debug-print-tabs, rst-debug-mark-found)
7563 (rst-shift-region-guts, rst-shift-region-right)
7564 (rst-shift-region-left, rst-use-char-classes)
7565 (rst-font-lock-keywords-function)
7566 (rst-font-lock-indentation-point)
7567 (rst-font-lock-find-unindented-line-begin)
7568 (rst-font-lock-find-unindented-line-end)
7569 (rst-font-lock-find-unindented-line)
7570 (rst-font-lock-adornment-point, rst-font-lock-level)
7571 (rst-adornment-level-alist): Remove functions and variables.
7572
7573 (rst-compare-adornments, rst-get-adornment-match)
7574 (rst-suggest-new-adornment, rst-get-adornments-around)
7575 (rst-adornment-complete-p, rst-get-next-adornment)
7576 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7577 (rst-straighten-adornments): Standardize function names to
7578 use "adornment" instead of "decoration". Correct callers.
7579 Similar standardizing in many places.
7580
7581 (rst-update-section, rst-adjust, rst-promote-region)
7582 (rst-enumerate-region, rst-bullet-list-region)
7583 (rst-repeat-last-character): Correct use of `interactive'.
7584
7585 (rst-classify-adornment, rst-find-all-adornments)
7586 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7587 (rst-find-leftmost-column, rst-repeat-last-character):
7588 Refactor functions.
7589
7590 (rst-find-title-line, rst-reset-section-caches)
7591 (rst-get-adornments-around, rst-adjust-adornment-work)
7592 (rst-arabic-to-roman, rst-roman-to-arabic)
7593 (rst-insert-list-pos, rst-insert-list-new-item)
7594 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7595 New functions.
7596
7597 (rst-all-sections, rst-section-hierarchy)
7598 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7599 New variables.
7600
7601 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7602 configuration instead of only buffer. Change where necessary.
7603
7604 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7605 (rst-shift-region, rst-adaptive-fill): New functions for
7606 indentation and filling.
7607
7608 (rst-comment-line-break, rst-comment-indent)
7609 (rst-comment-insert-comment, rst-comment-region)
7610 (rst-uncomment-region): New functions for handling comments.
7611
7612 (rst-compile): Quote shell arguments.
7613
7614 (rst-compile-pdf-preview, rst-compile-slides-preview):
7615 Delete temporary files after use.
7616
a43f98b3
GM
76172012-05-05 Glenn Morris <rgm@gnu.org>
7618
48176e8b
GM
7619 * calendar/cal-html.el: Optionally include holidays in the output.
7620 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7621 (cal-html-holidays): New option.
7622 (cal-html-css-default): Add holiday entry.
7623 (holiday-in-range): Autoload it.
7624 (cal-html-htmlify-entry): Add optional class argument.
7625 (cal-html-htmlify-list): Add optional holidays argument.
7626 (cal-html-insert-agenda-days): Include holidays in the output.
7627 (cal-html-one-month): Maybe include holidays.
7628
a43f98b3
GM
7629 * calendar/holidays.el (holiday-in-range):
7630 Move here from cal-tex-list-holidays.
7631 * calendar/cal-tex.el (cal-tex-list-holidays):
7632 Make it an obsolete alias for holiday-in-range. Update all callers.
7633
fef9d149 76342012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7635
7636 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7637 Nextstep.
7638
248da2f4
RW
76392012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7640
7641 * files.el (file-auto-mode-skip): New var.
7642 (set-auto-mode-1): Use it.
7643
f95e9344
SM
76442012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7645
df96ab1e
SM
7646 * repeat.el: Use lexical-binding.
7647 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7648 (repeat-undo-count): Remove.
7649 (repeat):
7650 * progmodes/octave-mod.el (octave-abbrev-start):
7651 * progmodes/f90.el (f90-abbrev-start):
7652 * face-remap.el (text-scale-adjust):
7653 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7654
5342bb06
SM
7655 * emacs-lisp/pcase.el (pcase--let*): New function.
7656 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7657 a bit more.
7658 (pcase--split-pred): Be more clever about ruling out overlap between
7659 a predicate and some constant pattern.
7660 (pcase--q1): Use `null' instead of (eq foo nil).
7661
f95e9344
SM
7662 * subr.el (setq-local, defvar-local): New macros.
7663 (kbd): Redefine as an alias.
7664 (with-selected-window): Leave unrelated frames alone.
7665 (set-temporary-overlay-map): New function.
7666
71873e2b
SM
76672012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7668
7669 * subr.el (user-error): New function.
7670 * window.el (switch-to-buffer):
7671 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7672 (smerge-match-conflict):
7673 * simple.el (previous-matching-history-element)
7674 (next-matching-history-element, goto-history-element, undo-more)
7675 (undo-start):
7676 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7677 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7678 (next-file, tags-loop-scan, list-tags, complete-tag):
7679 * progmodes/compile.el (compilation-loop):
7680 * mouse.el (mouse-minibuffer-check):
7681 * man.el (Man-bgproc-sentinel, Man-goto-page):
7682 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7683 (Info-history-forward, Info-follow-reference, Info-menu)
7684 (Info-extract-menu-item, Info-extract-menu-counting)
7685 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7686 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7687 (Info-next-reference, Info-prev-reference, Info-index)
7688 (Info-index-next, Info-follow-nearest-node)
7689 (Info-copy-current-node-name):
7690 * imenu.el (imenu--make-index-alist)
7691 (imenu-default-create-index-function, imenu-add-to-menubar):
7692 * files.el (basic-save-buffer, recover-file):
7693 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7694 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7695 (checkdoc-message-text, checkdoc-defun):
7696 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7697 * cus-edit.el (customize-changed-options, customize-rogue)
7698 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7699 (custom-variable-mark-to-reset-standard)
7700 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7701 (custom-file):
7702 * completion.el (check-completion-length):
7703 * comint.el (comint-search-arg)
7704 (comint-previous-matching-input-string-position)
7705 (comint-previous-matching-input)
7706 (comint-replace-by-expanded-history-before-point, comint-send-input)
7707 (comint-copy-old-input, comint-backward-matching-input)
7708 (comint-goto-process-mark, comint-set-process-mark):
7709 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7710 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7711
8a61ee22
SM
77122012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7713
66408d1e
SM
7714 * dabbrev.el (dabbrev--ignore-case-p): New function.
7715 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7716 Use it.
7717
8a61ee22
SM
7718 * files.el (automount-dir-prefix): Mark as obsolete.
7719
3c74813a
GM
77202012-05-04 Glenn Morris <rgm@gnu.org>
7721
7722 * patcomp.el, play/bruce.el: Move to obsolete/.
7723
0bfcf5c5
PE
77242012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7725
7726 Fix minor Y10k bugs.
7727 * arc-mode.el (archive-unixdate):
7728 * autoinsert.el (auto-insert-alist):
7729 * calc/calc-forms.el (math-this-year):
7730 * emacs-lisp/copyright.el (copyright-current-year)
7731 (copyright-update-year, copyright):
7732 * tar-mode.el (tar-clip-time-string):
7733 * time.el (display-time-update):
7734 Don't assume years have 4 digits.
7735
78f3273a
CY
77362012-05-04 Chong Yidong <cyd@gnu.org>
7737
7738 * dos-w32.el (file-name-buffer-file-type-alist)
7739 (direct-print-region-use-command-dot-com):
7740 * ffap.el (ffap-menu-regexp):
7741 * find-file.el (ff-special-constructs):
7742 * follow.el (follow-debug):
7743 * forms.el (forms--debug):
7744 * iswitchb.el (iswitchb-all-frames):
7745 * ido.el (ido-all-frames):
7746 * emacs-lisp/timer.el (timer-max-repeats):
7747 * mail/feedmail.el (feedmail-mail-send-hook)
7748 (feedmail-mail-send-hook-queued):
7749 * mail/footnote.el (footnote-signature-separator):
7750 * mail/mailabbrev.el (mail-alias-separator-string)
7751 (mail-abbrev-mode-regexp):
7752 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7753 * progmodes/idlwave.el (idlwave-libinfo-file)
7754 (idlwave-default-completion-case-is-down)
7755 (idlwave-library-routines): Convert defvars to defcustoms.
7756
7757 * mail/rmail.el (rmail-decode-mime-charset):
7758 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7759 (idlwave-shell-fix-inserted-breaks)
7760 (idlwave-shell-activate-alt-keybindings)
7761 (idlwave-shell-use-breakpoint-glyph):
7762 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7763
f7ae6719
SM
77642012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7767
47086495
WS
77682012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7769
7770 * progmodes/verilog-mode.el (font-lock-keywords):
7771 Fix mis-highligting auto. Reported by Craig Barner.
7772 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7773 defines from global name space. Reported by Dan Dever.
47086495
WS
7774 (verilog-auto-reset, verilog-auto-reset-widths)
7775 (verilog-auto-tieoff): Support using unbased numbers for
7776 AUTORESET and AUTOTIEOFF.
7777 (verilog-submit-bug-report): Update variable list.
7778 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7779 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7780 (verilog-auto-template-lint): Fix hash error when linting modules
7781 with no used templates.
7782 (verilog-warn, verilog-warn-error)
7783 (verilog-warn-fatal): When non-interactive report multiple
7784 warnings before exiting. Suggested by Brad Dobbie.
7785 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7786 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7787 to report unused template errors. Reported by Brad Dobbie.
7788 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7789 nets, bug438. Reported by Vns Blore.
47086495
WS
7790 (verilog-auto-inout-module, verilog-auto-reg)
7791 (verilog-read-decls, verilog-read-sub-decls-sig)
7792 (verilog-signals-edit-wire-reg, verilog-signals-with):
7793 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7794 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7795 "reg" for backwards compatibility presuming Verilog 2001.
7796 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7797 (verilog-preprocess): Fix replication of preprocess output.
7798 Reported by Brad Dobbie.
7799 (verilog-auto-inst-interfaced-ports):
7800 Create verilog-auto-inst-interfaced-ports, bug429.
7801 Reported by Julian Gorfajn.
7802 (verilog-after-save-font-hook)
7803 (verilog-before-save-font-hook): New variable.
7804 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7805 (verilog-save-font-mods): Wrap disabling fontification, reported
7806 by David Rogoff.
7807 (verilog-do-indent, verilog-pretty-declarations-auto)
7808 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7809 Reported by Pierre-David Pfister.
7810 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7811 of class declarations, bug292. Reported by Kevin Heilman.
7812 (verilog-read-decls): Fix 'parameter type' not appearing in
7813 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7814 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7815 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7816 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7817 Reported by David Kravitz.
7818
78192012-05-03 Michael McNamara <mac@mail.brushroad.com>
7820
7821 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7822 assignment with tests in ifs and for loops.
7823 (verilog-extended-complete-re, verilog-complete-reg): Change so
7824 that DPI inport functions don't look like fuction declarations.
7825 (verilog-pretty-expr): Don't line up assignment
7826 operations to the test and increment in if and for loops
7827 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7828 that DPI inport functions don't look like fuction declarations.
47086495 7829
2e51d4b5
KH
78302012-05-03 Kenichi Handa <handa@m17n.org>
7831
7832 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7833 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7834 (Bug#11282).
7835
2bd785a2
SM
78362012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7837
7838 * emacs-lisp/bytecomp.el
7839 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7840 since cconv.el might have introduced :fun-body, internal-make-closure,
7841 and friends for bytecomp to handle (bug#11391).
7842 * custom.el (defcustom): Avoid ((λ ..) ..).
7843
99d27583
SM
78442012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7847
55a71479
JB
78482012-05-02 Juanma Barranquero <lekktu@gmail.com>
7849
7850 * notifications.el (dbus-debug):
7851 * term/linux.el (gpm-mouse-enable):
7852 * term/screen.el (xterm-register-default-colors): Declare.
7853
7b97c764
CY
78542012-05-02 Chong Yidong <cyd@gnu.org>
7855
2bc356d7
CY
7856 * cus-start.el (gc-cons-percentage, exec-suffixes)
7857 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7858 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7859 (make-cursor-line-fully-visible, void-text-area-pointer)
7860 (font-list-limit): Add customization data.
7861
7b97c764
CY
7862 * allout.el (allout-exposure-change-functions)
7863 (allout-structure-added-functions)
7864 (allout-structure-deleted-functions)
7865 (allout-structure-shifted-functions): Rename abnormal hooks from
7866 *-hook, and convert to defcustoms.
5d3385a0
JB
7867 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7868 Convert to defcustoms.
7b97c764
CY
7869 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7870
7871 * allout-widgets.el: Hook callers changed.
7872
90207a15 78732012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7874
7875 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7876 the yanked message in preference to the default value of
7877 buffer-file-coding-system.
7878
90207a15 78792012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7880
5d3385a0
JB
7881 * window.el (display-buffer--action-function-custom-type):
7882 Fix entry.
d9558cad 7883
90207a15 78842012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7885
7886 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7887
d80ac57b
GM
78882012-05-01 Glenn Morris <rgm@gnu.org>
7889
976f7668
GM
7890 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7891
beb83b5a
GM
7892 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7893
d80ac57b
GM
7894 * cus-edit.el (custom-variable-documentation): Simplify with format.
7895
b593d6a9 78962012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7897 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7898
7899 * simple.el (suggest-key-bindings, execute-extended-command):
7900 Move from keyboard.c.
7901
782fbf2a
CY
79022012-05-01 Chong Yidong <cyd@gnu.org>
7903
7904 * follow.el: Eliminate advice.
7905 (set-process-filter, process-filter, sit-for): Advice deleted.
7906 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7907 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7908 Vars deleted.
782fbf2a
CY
7909 (follow-auto): Use a :set function.
7910 (follow-mode): Rewritten. Don't advise process filters.
7911 (follow-switch-to-current-buffer-all, follow-scroll-up)
7912 (follow-scroll-down): Assume follow-mode is bound.
7913 (follow-comint-scroll-to-bottom)
7914 (follow-align-compilation-windows): New functions.
7915 (follow--window-sorter): New function.
7916 (follow-all-followers): Use it to explicitly sort windows by their
7917 positions; don't make assumptions about next-window order.
7918 (follow-windows-start-end, follow-delete-other-windows-and-split)
7919 (follow-calc-win-start): Doc fix.
7920 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7921 vertical-motion unnecessarily.
7922 (follow-adjust-window): New function.
7923 (follow-post-command-hook): Use it.
7924 (follow-call-set-process-filter, follow-call-process-filter)
7925 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7926 (follow-stop-intercept-process-output, follow-generic-filter):
7927 Functions deleted.
7928 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7929 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7930 New functions, replacing advice on scroll-bar-* commands.
87233a14 7931 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7932
7933 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7934 (comint-postoutput-scroll-to-bottom): Use it.
7935 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7936
290af740
GM
79372012-05-01 Glenn Morris <rgm@gnu.org>
7938
7939 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7940 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7941 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7942 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7943 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7944 Remove no-byte-compile setting.
7945
6eac8dc9
SM
79462012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7947
7948 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7949 all-completions code to not return a number in the last cdr.
7950
9cc7819c
LL
79512012-04-30 Leo Liu <sdl.web@gmail.com>
7952
7953 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7954 read-only error.
7955
c93b886f
CY
79562012-04-29 Chong Yidong <cyd@gnu.org>
7957
7958 * follow.el (follow-calc-win-end): Rewrite to handle partial
7959 screen lines correctly (Bug#8390).
7960 (follow-avoid-tail-recenter): Minor cleanup.
7961
8b6c19f4
SM
79622012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7963
7964 Avoid the obsolete `assoc' package.
7965 * speedbar.el (speedbar-refresh): Avoid adelete.
7966 (speedbar-file-lists): Simplify and avoid aput.
7967 * man.el (Man--sections, Man--refpages): New vars, replacing
7968 Man-sections-alist and Man-refpages-alist.
7969 (Man-build-section-alist, Man-build-references-alist):
7970 Use them; avoid aput.
7971 (Man--last-section, Man--last-refpage): New vars.
7972 (Man-follow-manual-reference): Use them.
7973 Use the `default' arg of completing-read.
7974 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7975
c5bb7569
CY
79762012-04-27 Chong Yidong <cyd@gnu.org>
7977
d1d2e2e8
CY
7978 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7979
15cd8efd
CY
7980 * startup.el (x-apply-session-resources): New function.
7981
7982 * term/ns-win.el (ns-initialize-window-system):
7983 * term/w32-win.el (w32-initialize-window-system):
7984 * term/x-win.el (x-initialize-window-system): Use it to properly
7985 set menu-bar-mode and other vars from X resources, even if the
7986 initial frame is not a window-system frame (Bug#2299).
7987
c5bb7569
CY
7988 * subr.el (read-key): Avoid running filter function when setting
7989 up temporary tool bar entries (Bug#9922).
7990
a8e7d6d7 79912012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7992
7993 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7994 (Bug#11344)
7995
a8e7d6d7 79962012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7997
7998 * select.el (xselect--encode-string): New function, split from
7999 xselect-convert-to-string.
8000 (xselect-convert-to-string): Use it.
8001 (xselect-convert-to-filename, xselect-convert-to-os)
8002 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
8003 returned strings are properly encoded (Bug#11315).
8004
a8e7d6d7 80052012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
8006
8007 * simple.el (delete-active-region): Move to killing custom group.
8008
a8e7d6d7 80092012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
8010
8011 * progmodes/which-func.el (which-func-current): Quote %
8012 characters for mode-line processing.
8013
578c1d4b 80142012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
8015
8016 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
8017 reaching eob (Bug#11286).
8018
a8e7d6d7 80192012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
8020
8021 * progmodes/gdb-mi.el (gdb-control-level): New variable.
8022 (gdb): Make it buffer-local and init to zero.
8023 (gdb-control-commands-regexp): New variable.
8024 (gdb-send): Don't wrap in "-interpreter-exec console" if
8025 gdb-control-level is positive. Increment gdb-control-level
8026 whenever the command matches gdb-control-commands-regexp, and
8027 decrement it each time the command is "end". (Bug#11279)
8028
a8e7d6d7 80292012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
8030
8031 * window.el (adjust-window-trailing-edge, enlarge-window)
8032 (shrink-window, window-resize):
8033 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8034 windows (Bug#11276).
8035
b3608390
CY
80362012-04-27 Chong Yidong <cyd@gnu.org>
8037
8038 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8039 fix "missing prefix" warning. All callers changed.
b3608390 8040
797e6e88
SM
80412012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8042
8043 * emacs-lisp/assoc.el: Move to obsolete/.
8044
e95a67dc
SM
80452012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8046
657c21e4 8047 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8048
8049 * term/ns-win.el (ns-define-service):
8050 * progmodes/pascal.el (pascal-goto-defun):
8051 * progmodes/js.el (js--read-tab):
8052 * progmodes/etags.el (tags-lazy-completion-table):
8053 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8054 * emacs-lisp/ewoc.el (ewoc--wrap):
8055 * emacs-lisp/assoc.el (aput, adelete, amake):
8056 * doc-view.el (doc-view-convert-current-doc):
8057 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8058
cb3e7ae0
CY
80592012-04-26 Chong Yidong <cyd@gnu.org>
8060
dce04f7f
CY
8061 * image.el (image-type-from-buffer): Only return supported image
8062 type (Bug#9045).
8063
cb3e7ae0
CY
8064 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8065 value, for symmetry with diff-end-of-hunk.
8066 (diff-split-hunk, diff-find-source-location)
8067 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8068 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8069 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8070 compute the relevant hunk or file properly (Bug#6005).
8071 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8072
0d42eb3e
SM
80732012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8074
8075 * vc/vc-mtn.el:
8076 * vc/vc-hg.el:
8077 * vc/vc-git.el:
8078 * vc/vc-dir.el:
8079 * vc/vc-cvs.el:
8080 * vc/vc-bzr.el:
8081 * vc/vc-arch.el:
8082 * vc/vc.el: Replace lexical-let by lexical-binding.
8083 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8084 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8085 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8086
f08ae1c9
CY
80872012-04-26 Chong Yidong <cyd@gnu.org>
8088
8b71081d
CY
8089 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8090 (diff-mode-shared-map): Bind it to / and [remap undo].
8091
f08ae1c9
CY
8092 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8093 (ediff-window-setup-function): Use it as the default, to set up
8094 windows based on whether the current frame is graphical (Bug#2138).
8095 (ediff-choose-window-setup-function-automatically): Make obsolete.
8096
8097 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8098
ef24141c
SM
80992012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8100
cc356a5d
SM
8101 * ffap.el: Remove old code for obsolete package.
8102 (ffap-complete-as-file-p): Remove.
8103
b4ff4f1f
SM
8104 Use completion-table-with-quoting for comint and pcomplete.
8105 * comint.el (comint--unquote&requote-argument)
8106 (comint--unquote-argument, comint--requote-argument): New functions.
8107 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8108 (comint-quote-filename): Use regexp-opt-charset.
8109 (comint--common-suffix, comint--common-quoted-suffix)
8110 (comint--table-subvert): Remove.
8111 (comint-unquote-function, comint-requote-function): New vars.
8112 (comint--complete-file-name-data): Use them with
8113 completion-table-with-quoting.
8114 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8115 * pcomplete.el (pcomplete-arg-quote-list)
8116 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8117 (pcomplete-unquote-argument-function): Default to non-nil.
8118 (pcomplete-unquote-argument): Simplify.
8119 (pcomplete--common-quoted-suffix): Remove.
8120 (pcomplete-requote-argument-function): New var.
8121 (pcomplete--common-suffix): New function.
8122 (pcomplete-completions-at-point): Use completion-table-with-quoting
8123 and completion-table-subvert.
8124
79c4eeb4
SM
8125 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8126 (minibuffer--double-dollars): Preserve properties.
8127 (completion--sifn-requote): New function.
8128 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8129
ef24141c
SM
8130 * minibuffer.el: Add support for completion of quoted/escaped data.
8131 (completion-table-with-quoting, completion-table-subvert): New funs.
8132 (completion--twq-try, completion--twq-all): New functions.
8133 (completion--nth-completion): New function.
8134 (completion-try-completion, completion-all-completions): Use it.
8135
784e7d6e
LL
81362012-04-25 Leo Liu <sdl.web@gmail.com>
8137
dd2ac746
SM
8138 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8139 Use compilation-message if available to find real filename.
784e7d6e 8140
07875ee7
CY
81412012-04-25 Chong Yidong <cyd@gnu.org>
8142
8143 * vc/diff-mode.el (diff-setup-whitespace): New function.
8144 (diff-mode): Use it.
8145
8146 * vc/diff.el (diff-sentinel):
8147 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8148 Whitespace mode variables based on diff style (Bug#8612).
8149
5055880d
LL
81502012-04-25 Leo Liu <sdl.web@gmail.com>
8151
daf75653
LL
8152 * progmodes/python.el (python-send-region): Add suffix .py to the
8153 temp file.
8154
5055880d
LL
8155 * files.el (auto-mode-alist): Use javascript-mode instead.
8156
db9b177b
AH
81572012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8158
ef24141c 8159 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8160
090bd7cb 8161 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8162 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8163 references, see Bug#9.
ef24141c 8164 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8165 when receiving a fault reply.
ef24141c 8166 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8167
090bd7cb 8168 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8169 (soap-inspect-simple-type): New function.
db9b177b 8170
090bd7cb 8171 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8172 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8173 (soap-decode-basic-type, soap-encode-basic-type):
8174 support unsignedInt and double basic types.
db9b177b 8175 (soap-resolve-references-for-simple-type)
ef24141c
SM
8176 (soap-parse-simple-type, soap-encode-simple-type): New function.
8177 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8178
090bd7cb 8179 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8180 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8181 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8182 the local name of "soapenc:Array".
8183 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8184 decoding integer, byte and anyURI xsd types.
8185
1fc6097b
CY
81862012-04-25 Chong Yidong <cyd@gnu.org>
8187
8188 * cus-edit.el (custom-buffer-create-internal): Update header text.
8189
afc6df87
EZ
81902012-04-25 Eli Zaretskii <eliz@gnu.org>
8191
8192 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8193 settings on 'system-type', not on 'window-system'. On MS-Windows,
8194 set interactive-mode on in GDB.
8195
dfbd787f
SM
81962012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8197
8198 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8199 (ruby-syntax-propertize-regexp): Remove.
8200 (ruby-syntax-propertize-function): Split regexp into chunks.
8201 Match following code directly.
8202
85222d44
DG
82032012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8204
51a8ea2a
DG
8205 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8206 (ruby-syntax-propertize-regexp): New function.
8207 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8208 by a special keyword.
8209
85222d44
DG
8210 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8211 (ruby-syntax-general-delimiters-goto-beg)
8212 (ruby-syntax-propertize-general-delimiters): New functions.
8213 (ruby-syntax-propertize-function): Use them to handle GDL.
8214 (ruby-font-lock-keywords): Move old handling of GDL...
8215 (ruby-font-lock-syntactic-keywords): .. to here.
8216 (ruby-calculate-indent): Adjust indentation for GDL.
8217
b613912b
MA
82182012-04-24 Michael Albinus <michael.albinus@gmx.de>
8219
b5380639
MA
8220 * notifications.el (top): Remove unneeded declarations.
8221 (notifications-specification-version): Change to "1.2".
e43042fe 8222 (notifications-interface, notifications-notify-method)
b613912b
MA
8223 (notifications-close-notification-method): Fix docstring.
8224 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8225 (notifications-notify): Add :action-items, :resident and
8226 :transient hints. Change "image_data" to "image-data" and
8227 "image_path" to "image-path".
b613912b
MA
8228 (notifications-get-capabilities): New defun.
8229
257440aa
LL
82302012-04-24 Leo Liu <sdl.web@gmail.com>
8231
8232 * progmodes/python.el: Move hideshow setup to the end.
8233
b1bac16e
MR
82342012-04-24 Martin Rudalics <rudalics@gmx.at>
8235
8236 * window.el (handle-select-window): Clear echo area since this is
8237 no more done by read_char (Bug#11304).
8238
d81bd059
SM
82392012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8240
8241 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8242 and `/ M' to filter-derived-mode.
8243 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8244 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8245 (ibuffer-mark-by-mode): Use default rather than initial-input.
8246 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8247
c4cf6d91
IA
82482012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8249
8250 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8251 (ibuffer-filter-by-derived-mode): New filter.
8252 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8253
7511ded8
CY
82542012-04-23 Andreas Politz <politza@fh-trier.de>
8255
8256 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8257
775c916b
CY
82582012-04-23 Chong Yidong <cyd@gnu.org>
8259
8260 * cus-edit.el (customize-apropos, customize-apropos-options):
8261 Disable matching of non-option variables (Bug#11176).
8262 (customize-option, customize-option-other-window)
8263 (customize-changed-options): Doc fix.
8264 (customize-apropos-options, customize-apropos-faces)
8265 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8266
8267 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8268 Fix word list splitting (Bug#11132).
46c71e23
CY
8269 (apropos-symbol, apropos-keybinding, apropos-label)
8270 (apropos-property, apropos-function-button)
8271 (apropos-variable-button, apropos-misc-button): New faces.
8272 (apropos-symbol-face, apropos-keybinding-face)
8273 (apropos-label-face, apropos-property-face, apropos-match-face):
8274 Variables removed (Bug#8396).
8275 (apropos-library-button, apropos-format-plist, apropos-print)
8276 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8277
2df41f9c
MA
82782012-04-23 Michael Albinus <michael.albinus@gmx.de>
8279
8280 * net/xesam.el (xesam-mode-map): Use let-bound map in
8281 initialization. (Bug#11292)
8282
da00640a
AM
82832012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8284
8285 Preserve ispell session localwords when switching back to
8286 original buffer.
8287
090bd7cb
JB
8288 * textmodes/ispell.el (ispell-buffer-session-localwords):
8289 New buffer-local variable to hold buffer session localwords.
ed9265fc 8290 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8291 localwords.
8292 (ispell-command-loop, ispell-change-dictionary)
8293 (ispell-buffer-local-words): Preserve session localwords when
8294 needed.
8295
090bd7cb
JB
8296 * textmodes/flyspell.el (flyspell-process-localwords)
8297 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8298
f621ccf5
AM
82992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8300
090bd7cb
JB
8301 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8302 using obsolete `translation-table-for-input'.
ef24141c
SM
8303 (ispell-word, ispell-process-line, ispell-complete-word):
8304 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8305
c2d1019e
CY
83062012-04-22 Chong Yidong <cyd@gnu.org>
8307
8308 * cus-edit.el (custom-variable-menu)
8309 (custom-variable-reset-saved, custom-face-menu)
8310 (custom-face-reset-saved): If there is no saved value, make the
8311 "reset-saved" operation bring back the default (Bug#9509).
8312 (custom-face-state): Properly detect themed faces.
8313
eeddc531
CY
8314 * faces.el (face-spec-set): Stop supporting deprecated form of
8315 third arg.
8316
dcbf5805
MA
83172012-04-22 Michael Albinus <michael.albinus@gmx.de>
8318
8319 Move functions from C to Lisp. Make non-blocking method calls
8320 the default. Implement further D-Bus standard interfaces.
8321
ef24141c
SM
8322 * net/dbus.el (dbus-message-internal): Declare function.
8323 Remove unneeded function declarations.
dcbf5805
MA
8324 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8325 (dbus-message-type-method-return, dbus-message-type-error)
8326 (dbus-message-type-signal): Declare variables. Remove local
8327 definitions.
8328 (dbus-interface-dbus, dbus-interface-peer)
8329 (dbus-interface-introspectable, dbus-interface-properties)
8330 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8331 Adapt docstring.
8332 (dbus-interface-objectmanager): New defconst.
8333 (dbus-call-method, dbus-call-method-asynchronously)
8334 (dbus-send-signal, dbus-method-return-internal)
8335 (dbus-method-error-internal, dbus-register-service)
8336 (dbus-register-signal, dbus-register-method): New defuns, moved
8337 from dbusbind.c
8338 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8339 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8340 New defuns.
dcbf5805
MA
8341 (dbus-call-method-non-blocking): Make it an obsolete function.
8342 (dbus-unregister-object, dbus-unregister-service)
8343 (dbus-handle-event, dbus-register-property)
8344 (dbus-property-handler): Obey the new structure of
8345 `bus-registered-objects'.
8346 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8347 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8348 Use `dbus-call-method'.
8349
cf20dee0
CY
83502012-04-22 Chong Yidong <cyd@gnu.org>
8351
8352 * cus-edit.el (custom-commands, custom-reset-menu)
8353 (Custom-reset-standard): Tweak labels.
8354 (custom-reset-button-menu): Change default to t.
8355 (custom-buffer-create-internal): For the custom-reset-button-menu
8356 case, put the revert button first.
8357 (custom-group-subtitle): New face.
8358 (custom-group-value-create): Align docstring to a specific column.
8359
8360 * wid-edit.el (widget-documentation-link-add): Don't handle
8361 indentation in this function.
8362 (widget-documentation-string-indent-to): New function.
8363 (widget-documentation-string-value-create): Use it.
8364
8365 * autorevert.el (auto-revert):
8366 * epg-config.el (epg):
8367 * ibuffer.el (ibuffer):
8368 * mpc.el (mpc):
8369 * ses.el (ses):
8370 * eshell/eshell.el (eshell):
8371 * net/ange-ftp.el (ange-ftp):
8372 * progmodes/ebnf2ps.el (postscript):
8373 * progmodes/flymake.el (flymake):
8374 * progmodes/prolog.el (prolog):
8375 * progmodes/verilog-mode.el (verilog-mode):
8376 * progmodes/which-func.el (which-func):
8377 * term/xterm.el (xterm):
8378 * textmodes/picture.el (picture):
8379 * textmodes/tildify.el (tildify):
8380 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8381 customization buffers.
8382
583e23bd
AM
83832012-04-22 Alan Mackenzie <acm@muc.de>
8384
8385 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8386 Adding a ) can hide the resulting (..) from searches. Fix it.
8387 Bound the backward search to the position of the existing (.
8388
7dd51bf1
JB
83892012-04-21 Juanma Barranquero <lekktu@gmail.com>
8390
8391 * progmodes/verilog-mode.el (verilog-mode): Check whether
8392 which-func-modes is t before adding verilog-mode.
8393 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8394
d64a438f
LL
83952012-04-21 Leo Liu <sdl.web@gmail.com>
8396
7dd51bf1 8397 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8398
081e8d65
MV
83992012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8400
8401 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8402 filling of the last column of a table (Bug#5635).
8403 (woman-find-next-control-line): New arg, specifying an additional
8404 regexp component for the control line.
8405 (woman2-roff-buffer): Use it.
8406 (woman-break-table): New function.
8407 (woman2-TS): Use it.
8408
84092012-04-21 Chong Yidong <cyd@gnu.org>
8410
8411 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8412 (woman-horizontal-escapes, woman-negative-vertical-space)
8413 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8414 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8415
ed571ccb
SM
84162012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * minibuffer.el (completion-file-name-table): Complete user names.
8419
39773899
LL
84202012-04-20 Leo Liu <sdl.web@gmail.com>
8421
8422 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8423 and pcase-let*.
8424
de6ff46d
CY
84252012-04-20 Chong Yidong <cyd@gnu.org>
8426
8427 * server.el (server-execute): Respect initial-buffer-choice if it
8428 is a string and there are no files to open (Bug#2825).
8429 (server-create-window-system-frame, server-create-tty-frame):
8430 Don't switch buffers here.
2d0e8e61
CY
8431 (server-process-filter): Only try to open a window system frame if
8432 compiled with graphical support (Bug#8314).
de6ff46d 8433
54071013
DN
84342012-04-20 Dan Nicolaescu <dann@gnu.org>
8435
8436 * battery.el (battery-echo-area-format): Display remaining time
8437 for sysfs backend too (Bug#11269).
8438 (battery-linux-sysfs): Fix conditional for the charge.
8439
f30d612a
CY
84402012-04-20 Chong Yidong <cyd@gnu.org>
8441
c07a4c0b 8442 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8443 (gdb-inferior-io--init-proc): New function.
8444 (gdb-init-1): Use it.
8445 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8446 responsible for allocating a new pty and hooking it to gdb when
8447 the old pty gets an EIO due to process exit.
8448 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8449 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8450 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8451
2116e93c
EZ
84522012-04-20 Eli Zaretskii <eliz@gnu.org>
8453
8454 * window.el (window-min-size, window-sizable, window-min-delta)
8455 (window-max-delta, window--resizable, window-resizable)
8456 (window-total-size, window-full-height-p, window-full-width-p)
8457 (window-in-direction, window--resize-mini-window, window-resize)
8458 (window--resize-child-windows-normal)
8459 (window--resize-child-windows, window--resize-siblings)
8460 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8461 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8462
c07a4c0b 84632012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8464
ef24141c
SM
8465 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8466 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8467 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8468 pty process (Bug#11273).
8469 (gdb-update): New arg to suppress talking to the gdb process.
8470 (gdb-done-or-error): Use it.
8471 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8472 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8473 sentinel not being called.
8474
8475 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8476
d02766ab
CY
8477 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8478
c07a4c0b 84792012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8480
8481 * net/network-stream.el (open-network-stream): Doc fix.
8482
c07a4c0b 84832012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8484
8485 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8486
c07a4c0b 84872012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8488
8489 Ensure searching for keywords is case sensitive.
8490
8491 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8492 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8493 (c-defun-name, c-mark-function, c-cpp-define-name)
8494 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8495 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8496
ef24141c
SM
8497 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8498 Bind case-fold-search to nil.
f0f6bc35 8499
c07a4c0b 85002012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8501
8502 * mail/sendmail.el (mail-bury): Call return action with the right
8503 Rmail buffer (Bug#11242).
8504
9a864fa2
CY
8505 * server.el (server-process-filter): Handle corner case where both
8506 tty and nowait options are present (Bug#11102).
8507
539aa513
EZ
85082012-04-20 Eli Zaretskii <eliz@gnu.org>
8509
8510 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8511 (top level): Put into the executable the ident-style '$Id:' tag on
8512 windows-nt as well.
539aa513 8513
cfc7d5da
SM
85142012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8515
8516 * electric.el (electric-indent-post-self-insert-function): Check that
8517 electric-indent-mode is enabled in current buffer.
8518
5b01685c
JB
85192012-04-19 Juanma Barranquero <lekktu@gmail.com>
8520
8521 * imenu.el (imenu-progress-message): Restore; it is "used" in
8522 erc/erc-imenu.el and net/snmp-mode.el.
8523
4d6769e1
JB
85242012-04-19 Juanma Barranquero <lekktu@gmail.com>
8525
8526 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8527 (mouse-avoidance-nudge-mouse): Remove unused binding.
8528
8529 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8530
8531 * descr-text.el (describe-char):
8532 * progmodes/python.el (python-describe-symbol):
8533 Don't call `toggle-read-only', set `buffer-read-only'.
8534
8535 * imenu.el (imenu-default-goto-function): Mark unused args.
8536 (imenu-progress-message): Remove obsolete macro; all callers changed.
8537
8538 * subr.el (keymap-canonicalize): Remove unused binding.
8539 (read-passwd): Mark unused arg.
8540
8541 * tutorial.el (tutorial--display-changes): Remove unused binding.
8542 (tutorial--save-tutorial-to): Remove unused variable.
8543
8544 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8545 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8546 (package-generate-autoloads, package-menu--generate)
8547 (package-menu--find-upgrades): Remove unused bindings.
8548
8549 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8550 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8551 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8552 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8553 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8554 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8555 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8556 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8557 (cua-delete-char-rectangle): Mark unused args.
8558 (cua-align-rectangle): Remove unused binding.
8559
8560 * mail/rmail.el (compilation--message->loc)
8561 (epa--find-coding-system-for-mime-charset): Declare.
8562
8563 * net/dbus.el (dbus-register-service): Declare.
8564 (dbus-name-owner-changed-handler): Remove unused binding.
8565
8566 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8567 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8568 (nxml-scan-backward-within): Mark unused arg.
8569 (nxml-dynamic-markup-word): Remove unused binding.
8570
8571 * mouse.el (mouse-menu-major-mode-map):
8572 * emacs-lisp/authors.el (authors-scan-change-log)
8573 (authors-add-to-author-list):
8574 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8575 * emacs-lisp/smie.el (smie-auto-fill):
8576 * mail/sendmail.el (mail-bury):
8577 * mail/unrmail.el (unrmail):
8578 * net/tls.el (open-tls-stream):
8579 * textmodes/picture.el (picture-mouse-set-point):
8580 Remove unused bindings.
8581
8c8fc5df
MA
85822012-04-19 Michael Albinus <michael.albinus@gmx.de>
8583
8584 * net/tramp.el (tramp-action-password): Let-bind
8585 `enable-recursive-minibuffers' to t.
8586
a77b0ac9
SS
85872012-04-18 Sam Steingold <sds@gnu.org>
8588
8589 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8590 instead of 'string to accommodate values like [f11].
8591 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8592 * progmodes/gdb-mi.el: Likewise.
8593
12a106a9
LL
85942012-04-18 Leo Liu <sdl.web@gmail.com>
8595
8596 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8597 current buffer.
8598 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8599 LOCAL is nil.
8600
bc6494ef
CY
86012012-04-18 Chong Yidong <cyd@gnu.org>
8602
8603 * simple.el (line-move): Use forward-line if in batch mode
8604 (Bug#11053).
8605
c09c46b2
CS
86062012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8607
8608 * files.el (after-find-file): Do not try to add a final newline if
8609 the buffer is read-only (Bug#11156).
8610
5f6530ea
RS
86112012-04-17 Richard Stallman <rms@gnu.org>
8612
8613 * mail/rmail.el (rmail-start-mail):
8614 Pass (rmail-mail-return...) for the return-action.
8615 Pass (rmail-yank-current-message...) for the yank-action.
8616 (rmail-yank-current-message): New function.
8617 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8618 (rmail-reply): Likewise.
8619 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8620
8621 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8622 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8623 buffer, not newbuf.
8624
197b6f3c
JB
86252012-04-17 Juanma Barranquero <lekktu@gmail.com>
8626
8627 * server.el (server-ensure-safe-dir): Simplify.
8628
2311d8e5 86292012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8630
2311d8e5
GM
8631 * emacs-lisp/smie.el: Provide smarter auto-filling.
8632 (smie-auto-fill): New function.
8633 (smie-setup): Use it.
98fb480e 8634
2311d8e5
GM
8635 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8636
86372012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8638
8639 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8640 (comment-indent): Use it.
8641
2311d8e5 86422012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8643
8644 * ses.el: The overall change is to add cell renaming, that is
8645 setting fancy names for cell symbols other than name matching
8646 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8647 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8648 (ses-create-cell-variable): New defun.
2311d8e5 8649 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8650 (ses-relocate-formula): Relocate formulas only for cells the
8651 symbols of which are not renamed, i.e. symbols whose names do not
8652 match regexp "\\`[A-Z]+[0-9]+\\'".
8653 (ses-relocate-all): Relocate values only for cells the symbols of
8654 which are not renamed.
8655 (ses-load): Create cells variables as the (ses-cell ...) are read,
8656 in order to check row col consistency with cell symbol name only
8657 for cells that are not renamed.
8658 (ses-replace-name-in-formula): New defun.
8659 (ses-rename-cell): New defun.
4bdf2ad2 8660
fc72b15c
PO
86612012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8662
8663 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8664 New option (bug#11118).
8665 (perl-calculate-indent): Respect it.
8666
12e10e61
GM
86672012-04-17 Glenn Morris <rgm@gnu.org>
8668
8669 * dired-aux.el (dired-mark-read-string): Doc fix.
8670
30009afd
DA
86712012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8672
8673 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8674 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8675
41f03f4d
GM
86762012-04-17 Glenn Morris <rgm@gnu.org>
8677
8678 * mouse.el (mouse-drag-track):
8679 * speedbar.el (speedbar-frame-mode):
8680 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8681
f45f90f3
LL
86822012-04-16 Leo Liu <sdl.web@gmail.com>
8683
8684 * progmodes/python.el: Trivial cleanup.
8685
94ee8db5
GM
86862012-04-16 Glenn Morris <rgm@gnu.org>
8687
121b8917
GM
8688 * vc/vc.el (vc-string-prefix-p):
8689 * vc/pcvs-util.el (cvs-string-prefix-p):
8690 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8691 * mpc.el (mpc-string-prefix-p):
8692 Make all of these into obsolete aliases for string-prefix-p.
8693 Update callers.
8694 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8695
1197ecfa
GM
8696 * textmodes/two-column.el: Move custom options to the start.
8697 (frame-width): Remove compat definition.
8698 (2C-associate-buffer, 2C-dissociate):
8699 Use with-current-buffer rather than save-excursion.
8700 (2C-dissociate): Force a mode-line update.
8701 (2C-autoscroll): Use ignore-errors.
8702
099e7202
GM
8703 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8704 Autoload trivia.
8705
bf350d6a
GM
8706 * emacs-lisp/cl-extra.el (*random-state*):
8707 Remove unnecessary declaration.
8708
0e829eab
GM
8709 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8710
e3ad7552
GM
8711 * play/cookie1.el (cookie-snarf):
8712 Give an explicit error if input file cannot be read.
8713
68892d27
GM
8714 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8715
20f0c46d
GM
8716 * progmodes/perl-mode.el (c-macro-expand):
8717 Remove unnecessary autoload (it is in loaddefs.el).
8718
5a0978ce
GM
8719 * textmodes/picture.el (picture-desired-column)
8720 (picture-update-desired-column): Convert comments to doc-strings.
8721 (picture-substitute): Remove function.
8722 (picture-mode-map): Initialize in the defvar.
8723
6b955486
GM
8724 * woman.el: Remove eval-after-load for tar-mode.
8725 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8726 (woman-tar-extract-file): Autoload it.
8727
94ee8db5
GM
8728 * frame.el (automatic-hscrolling): Make this alias obsolete.
8729
177eca34
AM
87302012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8731
090bd7cb 8732 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8733 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8734 (ispell-dictionary-base-alist): Revert to original XEmacs
8735 friendly version for default. [:alpha:] will be added in
090bd7cb 8736 `ispell-set-spellchecker-params' if needed.
177eca34 8737
c505aaeb
CY
87382012-04-16 Chong Yidong <cyd@gnu.org>
8739
b19dd9d1 8740 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8741 (imagemagick-register-types): Use it.
8742 (imagemagick-types-inhibit): Add :set function. Allow new value
8743 of t to inhibit all types.
8744
8745 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8746 so we can preload it.
8747
8748 * loadup.el (fboundp): Preload regexp-opt, needed by
8749 imagemagick-register-types.
8750
60efac0f
CY
87512012-04-15 Chong Yidong <cyd@gnu.org>
8752
8753 * frame.el (scrolling): Remove nearly unused customization group.
8754
8755 * scroll-all.el (scroll-all-mode): Move to windows group.
8756
5dd1713e
CY
87572012-04-15 Chong Yidong <cyd@gnu.org>
8758
8759 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8760
e6fd457e
CY
87612012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8762
8763 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8764 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8765
e153c136
GM
87662012-04-15 Glenn Morris <rgm@gnu.org>
8767
8768 * simple.el (process-file-side-effects): Doc fix.
8769
e6fd457e 87702012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8771
8772 * international/mule-cmds.el (set-language-environment): Doc fix.
8773
3603c3b1
JB
87742012-04-14 Juanma Barranquero <lekktu@gmail.com>
8775
8776 * server.el (server-auth-key, server-generate-key): Doc fixes.
8777 (server-get-auth-key): Doc fix. Use `string-match-p'.
8778 (server-start): Reflow docstring.
8779
e6de100c
LI
87802012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8781
8782 * server.el (server-generate-key): `called-interactively-p'
8783 requires a parameter.
8784
29734c21
MN
87852012-04-14 Michal Nazarewicz <mina86@mina86.com>
8786
8787 * server.el (server-auth-key): New variable.
75f1671a 8788 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8789 (server-start): Use the new variable and functions to allow
8790 setting a permanent server key (bug#9423).
8791
d65c9521
LL
87922012-04-14 Leo Liu <sdl.web@gmail.com>
8793
8794 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8795
5ae255c7
PE
87962012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8797
8798 Spelling fixes.
8799 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8800 Emacs uses American spelling.
8801
d5e6342e
JB
88022012-04-14 Juanma Barranquero <lekktu@gmail.com>
8803
8804 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8805 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8806 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8807 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8808
ab036cd7
SM
88092012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * progmodes/which-func.el (which-func-modes): Change default.
8812
35dc09a1 88132012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8814
8815 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8816 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8817
35dc09a1 88182012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8819
8820 * custom.el (custom-theme-set-variables): Doc fix.
8821
35dc09a1 88222012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8823
8824 * international/mule.el (set-auto-coding-for-load): Doc fix.
8825
35dc09a1 88262012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8827
35dc09a1
GM
8828 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8829 imenu work again for Objective C Mode. Correct the *-index values,
8830 these having been disturbed by a previous change in 2011-08.
57f845ee 8831
0de3da9f
AM
8832 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8833 Correct two search limits.
8834
35dc09a1 88352012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8836
8837 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8838
35dc09a1 88392012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8840
8841 * international/characters.el: Fix sorting.
8842
35dc09a1 88432012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8844
8845 * international/characters.el: Add more missing Latin case pairs.
8846
35dc09a1 88472012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8848
8849 * files.el (dir-locals-set-class-variables): Doc fix.
8850
35dc09a1 88512012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8852
3f1b5bf8
EZ
8853 * international/characters.el: Add set-case-syntax-pair call for
8854 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8855 counterpart. (Bug#11209)
8856
9f847f41
EZ
8857 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8858
35dc09a1 88592012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8860
8861 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8862
35dc09a1 88632012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8864
35dc09a1
GM
8865 * textmodes/ispell.el (ispell-dictionary-base-alist):
8866 Add data for Hebrew.
e2627d21 8867
35dc09a1 88682012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8869
35dc09a1
GM
8870 * net/rcirc.el (rcirc-cmd-quit):
8871 Revert 2012-03-18 change (Bug#11192).
5c14e333 8872
35dc09a1 88732012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8874
8875 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8876
35dc09a1 88772012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8878
4517fe3a
SM
8879 * minibuffer.el (completion-in-region-mode-map):
8880 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8881
b472a594
VD
88822012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8883
8884 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8885
09b95ce3
MY
88862012-04-13 Masatake YAMATO <yamato@redhat.com>
8887
8888 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8889 to allow `C-M-f' and `C-M-b' to move to the nearest path
8890 separator (bug#9511).
8891
4b63a9ca
LI
88922012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8893
8894 * avoid.el: Require cl when compiling. And also move the
8895 `provide' to the end.
8896
7b55b8bf
TV
88972012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8898
8899 * avoid.el (mouse-avoidance-banish-position): New variable.
8900 (mouse-avoidance-banish-destination): Use it (bug#10165).
8901
adedaa1f
LL
89022012-04-13 Leo Liu <sdl.web@gmail.com>
8903
8904 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8905
70e74021
KB
89062012-04-13 Ken Brown <kbrown@cornell.edu>
8907
8908 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8909 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8910 (browse-url-filename-alist): For the same reason, don't modify
8911 file:// URLs on Cygwin.
8912
e75e89ba
SM
89132012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8914
8915 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8916 the region on shift if the binding is already shifted (bug#11221).
8917
82f289a4
GM
89182012-04-12 Glenn Morris <rgm@gnu.org>
8919
8920 * mail/mailpost.el: Move to obsolete/.
8921
d333dc4c
DA
89222012-04-12 Drew Adams <drew.adams@oracle.com>
8923
8924 * imenu.el (imenu--generic-function): Ignore invisible definitions
8925 (bug#10123).
8926
0d15b5ba
VD
89272012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8928
8929 * hexl.el (hexl-bits): New variable.
8930 (hexl-options): Mention the variable in the doc string.
75f1671a 8931 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8932 (hexl-mode): Mention the new variable.
75f1671a
JB
8933 (hexl-mode, hexl-current-address, hexl-current-address):
8934 Use the displen.
0d15b5ba
VD
8935 (hexl-ascii-start-column): New function.
8936 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8937 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8938
64a440db
AM
89392012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8940
8941 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8942 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8943 the encoding, as expected by hunspell.
8944
6decb6c2
SM
89452012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * battery.el (battery--linux-sysfs-regexp): New const.
8948 (battery-status-function): Use it. Remove yeeloong special case.
8949 (battery-yeeloong-sysfs): Remove.
8950 (battery-echo-area-format): Remove yeeloong special case.
8951
088be6fb
SM
89522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8953
6622e416
SM
8954 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8955 Reported by Noah Friedman.
8956
088be6fb
SM
8957 * subr.el (read-passwd): Use read-string.
8958
b49f886e
LMI
89592012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8960
8961 * vcursor.el (vcursor-move): Increase the priority of the overlay
8962 (bug#9663).
8963
a63067fc
DD
89642012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8965
8966 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8967 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8968
ac3cf14a
WS
89692012-04-11 William Stevenson <yhvh2000@gmail.com>
8970
8971 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8972 define-minor-mode (bug#10760).
8973
c4fc691b 89742012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8975
4d6769e1 8976 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8977 that directories matching `grep-find-ignored-files' won't be
8978 pruned (bug#10351).
8979
af23e2e5
CY
89802012-04-11 Chong Yidong <cyd@gnu.org>
8981
8982 * startup.el (command-line): Remove support for long-obsolete
8983 variable font-lock-face-attributes.
8984
ab7ce8c1
GM
89852012-04-11 Glenn Morris <rgm@gnu.org>
8986
8987 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8988
de8c03dc
SM
89892012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8990
8991 * window.el (window--state-get-1): Obey window-point-insertion-type.
8992
050cc68b
LB
89932012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8994
8995 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8996 to previous function when point is on the first character of a
75f1671a 8997 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8998
a38c310c
GM
89992012-04-11 Glenn Morris <rgm@gnu.org>
9000
effed0c2
GM
9001 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
9002 not just file-errors.
9003
a38c310c
GM
9004 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
9005 (vc-bzr-sha1): Use internal sha1.
9006
0221e323
SM
90072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
9008
9009 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
9010
43956923
SG
90112012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
9012
9013 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
9014 that start in the middle of the line (bug#10496).
9015
6a8c9eaf
DN
90162012-04-10 Dan Nicolaescu <dann@gnu.org>
9017
9018 * battery.el (battery-linux-proc-acpi): Only one battery is
9019 discharged at a time, but that seems to confuse battery.el when
9020 computing `rate-type' for the battery not being discharged
9021 (bug#10332).
9022
1930bf5d
SM
90232012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9024
2a718f6f
SM
9025 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
9026
599430d0
SM
9027 * international/quail.el: Use dolist and simplify.
9028 (quail-define-package, quail-update-keyboard-layout)
9029 (quail-define-rules): Use dolist.
9030 (quail-insert-kbd-layout, quail-get-translation): CSE.
9031
a2754b6c
SM
9032 * tmm.el: Use dolist, remove left over hook.
9033 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9034 Use dolist.
9035 (calendar-load-hook): Don't mess with it.
9036
1930bf5d
SM
9037 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9038 Use derived-mode-p. Run the diff asynchronously.
9039
9f67961c
LMI
90402012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9041
9042 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9043
2a8ce227
JB
90442012-04-10 Juanma Barranquero <lekktu@gmail.com>
9045
9046 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9047 (list-dynamic-libraries--loaded): New function.
9048 (list-dynamic-libraries--refresh): Use it.
9049
8f33b5f8
NW
90502012-04-10 Nathan Weizenbaum <nweiz@google.com>
9051
1930bf5d
SM
9052 * progmodes/python.el (python-fill-paragraph):
9053 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9054 disabled (bug#7018).
9055
b12f0439
L
90562012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9057
1930bf5d 9058 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9059 DOS/MS Windows for the Baltic languages. There are still plenty
9060 of texts written in this encoding/codepage (bug#6519).
b12f0439 9061
57c3bd01
GM
90622012-04-10 Glenn Morris <rgm@gnu.org>
9063
9064 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9065 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9066
6c3eab30
FA
90672012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9068
1930bf5d 9069 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9070 next-line "n" and previous-line "p" in order to make recentf more
9071 consistent with ibuffer, dired or org-mode (bug#9387).
9072
24d78a88
LMI
90732012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9074
bc72b5d9
LMI
9075 * image.el (put-image): Return the overlay created instead of the
9076 optional input string (bug#7834). Note that this may break code
9077 that is (for some reason or other) depending on `put-image'
9078 returning the string.
9079
bd2dba5a
LMI
9080 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9081
74beb59f
LMI
9082 * simple.el (zap-to-char): Allow zapping using input methods
9083 (bug#1580).
9084
24d78a88
LMI
9085 * textmodes/fill.el (fill-region): Leave point and mark where they
9086 were before filling (bug#5399).
9087
263f20cd
GM
90882012-04-09 Glenn Morris <rgm@gnu.org>
9089
9090 * version.el (emacs-bzr-get-version):
9091 Handle lightweight checkouts of local branches.
9092
58d1f797
AS
90932012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9094
263f20cd 9095 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9096
b4d3bc10
CY
90972012-04-09 Chong Yidong <cyd@gnu.org>
9098
9099 * custom.el (custom-variable-p): Return nil for non-symbol
9100 arguments instead of signaling an error.
9101 (user-variable-p): Obsolete alias for custom-variable-p.
9102
9103 * apropos.el (apropos-variable):
9104 * files-x.el (read-file-local-variable):
9105 * simple.el (set-variable):
9106 * woman.el (woman-mini-help):
9107 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9108
fd06db5d
GM
91092012-04-09 Glenn Morris <rgm@gnu.org>
9110
e5fcdb5e
GM
9111 * startup.el (normal-top-level): Don't look for leim-list.el
9112 in places where it will not be found. (Bug#910)
9113
fd06db5d
GM
9114 * international/mule-cmds.el (set-default-coding-systems):
9115 * files.el (normal-mode):
9116 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9117 This function was removed with ucs-tables.el in 2008.
9118
b39bb7e1
EZ
91192012-04-08 Eli Zaretskii <eliz@gnu.org>
9120
9121 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9122 ispell-encoding8-command to "-i", without a trailing space.
9123 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9124 separate command-line arguments, to specify the encoding, since
9125 that's how hunspell expects it.
9126
5c5b8e23
GM
91272012-04-08 Glenn Morris <rgm@gnu.org>
9128
9129 * loadup.el: Load bindings before cus-start.
9130 This reduces somewhat the number of "rogue" settings in emacs -Q.
9131
a1ed8b05
GM
91322012-04-07 Glenn Morris <rgm@gnu.org>
9133
9134 * version.el (emacs-bzr-get-version): New function.
dfae128a 9135 (emacs-bzr-version): New variable.
a1ed8b05
GM
9136 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9137 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9138
b142f158
EZ
91392012-04-07 Eli Zaretskii <eliz@gnu.org>
9140
dfae128a
GM
9141 * international/uni-bidi.el, international/uni-category.el:
9142 * international/uni-combining.el, international/uni-decimal.el:
9143 * international/uni-decomposition.el, international/uni-digit.el:
9144 * international/uni-lowercase.el, international/uni-mirrored.el:
9145 * international/uni-name.el, international/uni-numeric.el:
9146 * international/uni-titlecase.el, international/uni-uppercase.el:
9147 Update for Unicode 6.1.
b142f158 9148
9078ead6
EZ
91492012-04-07 Eli Zaretskii <eliz@gnu.org>
9150
9151 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9152
f23d2c7d
LMI
91532012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9154
9155 * window.el (shrink-window): Mention the `window-min-height'
9156 variable in the doc string.
9157
0a0a3573
BG
91582012-04-05 Bastien Guerry <bzg@altern.org>
9159
9160 * color.el (color-lighten-name): Fix typo.
9161
e5248ac9
SM
91622012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9163
9164 * server.el (server--on-display-p): New function.
9165 (server--on-display-p): Use it.
9166
b4243e22
GV
91672012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9168
9169 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9170 (bug#11145).
9171
305d9f44
SM
91722012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9173
9174 * comint.el (comint--common-quoted-suffix): Check string boundary
9175 before comparing (bug#11158).
9176 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9177
3d439cd1
CY
91782012-04-04 Chong Yidong <cyd@gnu.org>
9179
321cc491
CY
9180 * minibuffer.el (completion-extra-properties): Doc fix.
9181
3d439cd1
CY
9182 * subr.el (delayed-warnings-hook): Doc fix.
9183
2d562c0f
DU
91842012-04-04 Daiki Ueno <ueno@unixuser.org>
9185
9186 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9187 selection (Bug#11159).
9188 (epa-insert-keys): Inform that the default public key will be
9189 exported if no key is selected.
9190
4443f204
RS
91912012-04-04 Richard Stallman <rms@gnu.org>
9192
9193 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9194
529c06b6
CY
91952012-04-03 Chong Yidong <cyd@gnu.org>
9196
9197 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9198 mail-insert-file, not its obsolete alias mail-attach-file.
9199
66b907dc
MA
92002012-04-03 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * notifications.el (notifications-notify): Fix docstring.
9203
c0ea195d
GM
92042012-04-02 Glenn Morris <rgm@gnu.org>
9205
9206 * emacs-lisp/authors.el (authors-aliases): Another addition.
9207
5ca64e00
MA
92082012-04-02 Michael Albinus <michael.albinus@gmx.de>
9209
9210 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9211 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9212 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9213
42ee526b
CY
92142012-04-01 Chong Yidong <cyd@gnu.org>
9215
9216 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9217 Handle root directory properly.
9218 (copy-directory): Caller changed.
9219
9220 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9221 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9222
0b021094
GM
92232012-03-31 Glenn Morris <rgm@gnu.org>
9224
40f86458
GM
9225 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9226
7019c177
GM
9227 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9228
a1daddd6
GM
9229 * calendar/calendar.el (calendar-window-list)
9230 (calendar-hide-window): Restore. (Bug#11140)
9231 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9232
0b021094
GM
9233 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9234
40311efc
TV
92352012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9236
9237 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9238 Check if file is a symlink (Bug#10489).
9239
9240 * files.el (copy-directory): Likewise.
9241
5319014e
CY
92422012-03-30 Chong Yidong <cyd@gnu.org>
9243
9244 * image.el (imagemagick-types-inhibit)
9245 (imagemagick-register-types): Doc fix.
9246
935d1290
AM
92472012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9248
090bd7cb 9249 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9250 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9251 and treats ~word as ordinary words in pipe mode.
935d1290 9252
61c6e8fd
GM
92532012-03-30 Glenn Morris <rgm@gnu.org>
9254
9255 * tutorial.el (help-with-tutorial): Ensure local variables don't
9256 happen to make the buffer read-only. (Bug#11127)
9257
81fdff00
SM
92582012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9261 (perl-calculate-indent): Return `noindent' in strings.
9262
6e7a6ec0
SS
92632012-03-28 Sam Steingold <sds@gnu.org>
9264
9265 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9266 instead of the broken adhockery which does not prevent calendar
9267 buffers from being displayed at random after exit.
9268 (calendar-window-list, calendar-hide-window): Remove the broken
9269 adhockery.
9270
fee88ca0
GM
92712012-03-28 Glenn Morris <rgm@gnu.org>
9272
9273 * replace.el (query-replace-map): Doc fix.
9274
38de3354
AS
92752012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9276
9277 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9278 contents. (Bug#11109)
9279
b973155e
SM
92802012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9281
9282 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9283 (bug#11077).
9284 (avl-tree--check, avl-tree--check-node): New funs.
9285
dcb6e7b3
MR
92862012-03-27 Martin Rudalics <rudalics@gmx.at>
9287
9288 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9289 (switch-to-prev-buffer, switch-to-next-buffer):
9290 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9291 showing a buffer already is done on the same frame.
9292
b4fa35fa
GM
92932012-03-27 Glenn Morris <rgm@gnu.org>
9294
9295 * startup.el (mail-host-address): Doc fix.
9296
f9210e18
SM
92972012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9300 than 197 variables.
9301
c0bf7753
AF
93022012-03-26 Ami Fischman <ami@fischman.org>
9303
9304 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9305
33da7b16
GM
93062012-03-26 Glenn Morris <rgm@gnu.org>
9307
02243d9d
GM
9308 * files.el (save-buffers-kill-emacs): Doc fix.
9309
33da7b16
GM
9310 * startup.el (normal-top-level, command-line, command-line-1):
9311 Give them doc strings.
9312
e5a69fd0
EZ
93132012-03-25 Eli Zaretskii <eliz@gnu.org>
9314
9315 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9316 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9317
9a69676a
CY
93182012-03-25 Chong Yidong <cyd@gnu.org>
9319
4125cb8b
CY
9320 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9321 theme if it was previously enabled before (Bug#11031).
9322
dd470960
CY
9323 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9324 spec with custom-face-get-current-spec if its :shown-value is not
9325 determined yet (Bug#9337).
4125cb8b 9326 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9327
9a69676a
CY
9328 * button.el (button-at): Minor addition to docstring.
9329
6e7e90fa
SL
93302012-03-24 Simon Leinen <simon.leinen@gmail.com>
9331
9332 * vc/vc.el (vc-merge): Fix a prompt.
9333
f06e2758
CY
93342012-03-24 Chong Yidong <cyd@gnu.org>
9335
9336 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9337 point (Bug#9623).
9338
6e7e90fa
SL
9339 * button.el (button-at): Minor addition to docstring.
9340
b9d0879b
SM
93412012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9342
9343 * newcomment.el (comment-choose-indent): No space after BOL.
9344
e71cebb3
SS
93452012-03-22 Sam Steingold <sds@gnu.org>
9346
9347 * window.el (switch-to-prev-buffer): Revert last patch because the
9348 bug turned out to be an advertised feature (Elisp manual 28.14).
9349
335aff35
GM
93502012-03-22 Glenn Morris <rgm@gnu.org>
9351
9352 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9353 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9354
c676576a
LMI
93552012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9356
9357 * net/network-stream.el (network-stream-open-starttls): Make error
9358 message under Windows be less misleading.
9359
126f3d39
LW
93602012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9361
9362 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9363 understands (bug#9942).
9364
64fee311
CY
93652012-03-22 Chong Yidong <cyd@gnu.org>
9366
9367 * simple.el (end-of-visible-line): Handle return value of
9368 next-single-property-change properly (Bug#9371).
9369
a640d29a
KH
93702012-03-22 Kenichi Handa <handa@m17n.org>
9371
9372 * international/quail.el (quail-insert-kbd-layout): Fix previous
9373 change. To avoid unwanted bidi reordering, use
9374 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9375
39675016
DG
93762012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9377
9378 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9379 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9380 (ruby-beginning-of-indent): Be more careful with the difference
9381 between word-boundary and symbol boundary.
9382 (ruby-mode-syntax-table): Make : a symbol constituent.
9383
0a6934fc 93842012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9385
3d008e4f
SM
9386 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9387
0a6934fc
SM
93882012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9389
af67c9d7
SM
9390 * progmodes/etags.el (tags-completion-at-point-function):
9391 Improve last fix.
9392
1acad97c
SM
9393 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9394
e298b5da
SS
93952012-03-21 Sam Steingold <sds@gnu.org>
9396
9397 * progmodes/etags.el (tags-completion-at-point-function):
9398 Avoid the error when point is inside the pattern.
9399
91d82a70
JY
94002012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9401
9402 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9403 line (Bug#10855).
9404
69188b79
CY
94052012-03-21 Drew Adams <drew.adams@oracle.com>
9406
9407 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9408
99fc91fe
AK
94092012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9410
9411 * ido.el (ido-set-current-directory, ido-read-internal)
9412 (ido-choose-completion-string, ido-completion-help): Handle nil
9413 value of ido-completion-buffer (Bug#11008).
9414
087bbb4c
SS
94152012-03-21 Sam Steingold <sds@gnu.org>
9416
9417 * window.el (switch-to-prev-buffer): Do not switch to a visible
9418 window previous buffer, just like with the frame previous buffers.
9419
fb5b8aca
CY
94202012-03-21 Chong Yidong <cyd@gnu.org>
9421
9422 * faces.el (make-face, make-empty-face, copy-face):
9423 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9424 Doc fixes.
9425
dc9924b8
SM
94262012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9427
9428 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9429 (widget-complete): Remove broken use of it.
9430
f0bcceb9
CY
94312012-03-20 Chong Yidong <cyd@gnu.org>
9432
dc9924b8
SM
9433 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9434 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9435 characters.
9436
ee52ebf3
TH
94372012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9438
9439 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9440 to draw rectangles, not squares. (Regression introduced by revno
9441 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9442
4c5779ab
CY
94432012-03-18 Chong Yidong <cyd@gnu.org>
9444
9445 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9446 it is not yet defined (for temacs).
9447
15360934
LL
94482012-03-18 Leo Liu <sdl.web@gmail.com>
9449
735135f9
PE
9450 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9451 prefix.
15360934 9452
d9a8eb66
EZ
94532012-03-17 Eli Zaretskii <eliz@gnu.org>
9454
9455 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9456 (ispell-choices-win-default-height, ispell-silently-savep)
9457 (ispell-dictionary-alist, ispell-encoding8-command)
9458 (ispell-check-version, ispell-aspell-find-dictionary)
9459 (ispell-valid-dictionary-list, ispell-words-keyword)
9460 (ispell-get-word, ispell-internal-change-dictionary)
9461 (ispell-region, ispell-skip-region-list)
9462 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9463 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9464 (ispell-message-text-end, ispell-message)
9465 (ispell-buffer-local-parsing): Doc fix.
9466
f02ff80d
J
94672012-03-13 Jambunathan K <kjambunathan@gmail.com>
9468
9469 * htmlfontify.el: Add support for code block fontification for ODT
9470 export (Bug #9914).
9471 (hfy-optimisations): Define new option
9472 `body-text-only'
9473 (hfy-fontify-buffer): Honor above setting.
9474 (hfy-begin-span, hfy-end-span): New routines factored out form
9475 `hfy-fontify-buffer'.
9476 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9477 that permit insertion of custom tags.
9478 (hfy-fontify-buffer): Use above handlers.
9479 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9480 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9481 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9482 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9483 bind a special variable `hfy-user-sheet-assoc'.
9484 (htmlfontify-string): New defun.
9485 (hfy-compile-face-map): Make sure that the last char in the
9486 buffer is correctly fontified.
9487 (hfy-face-resolve-face): Whitespace only change.
9488
9ac7a13f
EZ
94892012-03-17 Eli Zaretskii <eliz@gnu.org>
9490
9491 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9492 message more clear.
9493
e2b5bdd7
LL
94942012-03-16 Leo Liu <sdl.web@gmail.com>
9495
9496 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9497
2e492df3
AM
94982012-03-16 Alan Mackenzie <acm@muc.de>
9499
9500 Further optimise the handling of large macros.
9501
9502 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9503 limit to a call of `c-literal-limits'.
9504 (c-determine-+ve-limit): New function.
dc9924b8
SM
9505 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9506 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9507 In CASE 5B, restrict a search limit to 500.
9508 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9509
9510 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9511 Restrict macro bounds to +-500 from after-change's BEG END.
9512
50e94f0c
LL
95132012-03-16 Leo Liu <sdl.web@gmail.com>
9514
9515 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9516
6f09f6ed
AH
95172012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9518
9519 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9520 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9521
c7e73d51
GM
95222012-03-16 Glenn Morris <rgm@gnu.org>
9523
da986230
GM
9524 * view.el (view-buffer, view-buffer-other-window)
9525 (view-buffer-other-frame): Doc fixes re special mode-class.
9526
0835f01e
GM
9527 * subr.el (eval-after-load): If named feature is provided not from
9528 a file, run after-load forms. (Bug#10946)
9529
c7e73d51
GM
9530 * calendar/calendar.el (calendar-insert-at-column):
9531 Handle non-unit-width characters a bit better. (Bug#10978)
9532
3f2eafd1
CY
95332012-03-15 Chong Yidong <cyd@gnu.org>
9534
9535 * emacs-lisp/ring.el (ring-extend): New function.
9536 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9537
9538 * comint.el (comint-read-input-ring)
9539 (comint-add-to-input-history): Grow comint-input-ring lazily.
9540
103af3fe
SM
95412012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9542
663b1677
SM
9543 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9544 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9545
103af3fe
SM
9546 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9547 (imenu-add-to-menubar): Don't add a redundant index.
9548 (imenu-update-menubar): Handle a dynamically composed keymap.
9549
899cb7cb
KY
95502012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9551
9552 * mail/sendmail.el (mail-encode-header):
9553 Bind rfc2047-encode-encoded-words to nil.
9554
3809f91d
GM
95552012-03-13 Glenn Morris <rgm@gnu.org>
9556
9557 * calendar/calendar.el (calendar-string-spread):
9558 Handle non-unit-width characters a bit better. (Bug#10978)
9559
9e345a01
LL
95602012-03-13 Leo Liu <sdl.web@gmail.com>
9561
9562 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9563 directory and file as argument (Bug#10822).
9564
4a07df36
KS
95652012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9566
9567 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9568 For dynamically generated code, follow $PC.
9569 (gdb-disassembly-handler-custom): Handle no function name case.
9570
4aaa9356
TL
95712012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9572
9573 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9574 * emulation/ws-mode.el (ws-query-replace):
9575 * sort.el (sort-regexp-fields):
9576 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9577
225979da
SM
95782012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * dabbrev.el: Fix cycle completion order (bug#10963).
9581 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9582 (dabbrev-completion): Don't use an obarray; provide
9583 a cycle-sort-function.
9584
e2f1fdab
LL
95852012-03-12 Leo Liu <sdl.web@gmail.com>
9586
dc9924b8 9587 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9588 (kill-do-not-save-duplicates): Doc fix.
9589
b19490ed
SM
95902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9591
9592 * dabbrev.el: Fix cycle completion (bug#10963).
9593 Use lexical binding and wrap to 80 columns.
9594 (dabbrev-completion): Delay computing the list of completions.
9595
4b05d722
KH
95962012-03-12 Kenichi Handa <handa@m17n.org>
9597
9598 * international/quail.el (quail-insert-kbd-layout): Surround each
9599 row by LRO and PDF instead of inserting many LRMs. Pad the left
9600 and right of each non-spacing marks. Insert invisible space
9601 between lower and upper characters to prevent composition.
9602
dbbc2e69
SM
96032012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9604
9605 * minibuffer.el (minibuffer-complete): Don't get confused when the
9606 function is run twice via different commands (bug#10958).
9607 (complete-with-action): Fix docstring.
9608
292112ed
CY
96092012-03-12 Chong Yidong <cyd@gnu.org>
9610
5d1ac394
CY
9611 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9612 (nxml-completion-at-point-function): New function.
9613 (nxml-mode): Use it.
9614 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9615
292112ed
CY
9616 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9617 Load generated autoloads file before byte compiling (Bug#10970).
9618 (package--make-autoloads-and-compile): New helper fun.
9619
4098f8f7
CS
96202012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9621
9622 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9623
8f754691
MA
96242012-03-11 Michael Albinus <michael.albinus@gmx.de>
9625
9626 * autorevert.el (auto-revert-handler): Ensure, that
9627 file-readable-p is applied only for local files or in
9628 auto-revert-tail-mode.
9629
e29ab36b
AS
96302012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9631
dbbc2e69
SM
9632 * server.el (server-eval-at): Handle non-tcp connections.
9633 Decode result string.
ad0bf5b6 9634
e29ab36b
AS
9635 * server.el (server-msg-size): New constant.
9636 (server-reply-print): New function.
9637 (server-eval-and-print): Use it.
9638 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9639 Handle -print-nonl.
9640
de5939ba
CS
96412012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9642
9643 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9644 (Bug#10987).
9645
0c93eabf
CY
96462012-03-11 Chong Yidong <cyd@gnu.org>
9647
397a688f
CY
9648 * simple.el (goto-line): Doc fix (Bug#9938).
9649
2cc775f9
CY
9650 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9651
0c93eabf
CY
9652 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9653 when finished (Bug#10963).
9654
c491fa41
MR
96552012-03-11 Martin Rudalics <rudalics@gmx.at>
9656
9657 * window.el (split-window-below): Fix bug in case where
9658 split-window-keep-point is nil (Bug#10971).
9659
300e8fa5
JL
96602012-03-11 Juri Linkov <juri@jurta.org>
9661
9662 * replace.el (replace-highlight): Set isearch-word to nil
9663 unconditionally. (Bug#10887)
9664
dbf6c5a1
EZ
96652012-03-10 Eli Zaretskii <eliz@gnu.org>
9666
9667 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9668 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9669 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9670 (mairix-widget-create-query): Add usage information about mairix
9671 search forms: negating words, searching for substrings, etc.
9672
b9e501de
JP
96732012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9674
9675 * international/fontset.el (font-encoding-alist): Add an entry for
9676 ksx1001 (Bug#5667).
9677
92795c91
RS
96782012-03-10 Richard Stallman <rms@gnu.org>
9679
1694e6c1
RS
9680 * mail/sendmail.el (mail-encode-header):
9681 Set rfc2047-encode-encoded-words.
9682
607e8555
RS
9683 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9684
de3bc99a
RS
9685 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9686 view buffer means not swapped.
9687 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9688 (rmail-write-region-annotate): Error if real text has disappeared.
9689
92795c91
RS
9690 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9691
699bd04e
CY
96922012-03-10 Chong Yidong <cyd@gnu.org>
9693
9694 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9695 * emulation/cua-base.el (cua--init-keymaps):
9696 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9697
570a1714
MR
96982012-03-10 Martin Rudalics <rudalics@gmx.at>
9699
dbbc2e69
SM
9700 * speedbar.el (speedbar-unhighlight-one-tag-line):
9701 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9702
82dcf4e4
CY
97032012-03-10 Chong Yidong <cyd@gnu.org>
9704
7a2c7ca7
CY
9705 * minibuffer.el (completion-in-region, completion-help-at-point):
9706 Give the completion field overlay a high priority (Bug#6830).
9707
82dcf4e4
CY
9708 * dired.el (dired-goto-file): Recognize absolute file name
9709 listings (Bug#7126).
9710 (dired-goto-file-1): New helper function.
9711 (dired-toggle-read-only): Inhibit warnings.
9712
052e28ac
MA
97132012-03-09 Michael Albinus <michael.albinus@gmx.de>
9714
75f1671a 9715 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9716 there are no properties.
9717
95d5e396
LL
97182012-03-09 Leo Liu <sdl.web@gmail.com>
9719
9720 * savehist.el (savehist-printable): Stricter check for string
9721 value (Bug#10937).
9722
3f018d6d
EZ
97232012-03-09 Eli Zaretskii <eliz@gnu.org>
9724
dbbc2e69
SM
9725 * mail/smtpmail.el (smtpmail-send-it):
9726 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9727 valid mbox format.
9728
f7fd3d79
GM
97292012-03-09 Glenn Morris <rgm@gnu.org>
9730
9731 * files.el (dir-locals-find-file):
9732 Don't check result is regular, readable.
9733 (dir-locals-read-from-file): Demote errors.
9734
6ff6e72f
EZ
97352012-03-08 Eli Zaretskii <eliz@gnu.org>
9736
dbbc2e69
SM
9737 * international/quail.el (quail-insert-kbd-layout):
9738 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9739 layout cell, to prevent their reordering by bidi display engine.
9740 For details, see the discussion in
9741 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9742
9cec7834
AM
97432012-03-08 Alan Mackenzie <acm@muc.de>
9744
9745 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9746 the starting position; make it extend the marked region when
9747 invoked repeatedly - all under appropriate circumstances.
9748 Fixes bugs #5525, #10906.
9749
9a40b8d4
GM
97502012-03-08 Glenn Morris <rgm@gnu.org>
9751
9752 * files.el (locate-dominating-file, dir-locals-find-file):
9753 Undo 2012-03-06 change.
9754
7a08ed35
EZ
97552012-03-07 Eli Zaretskii <eliz@gnu.org>
9756
dbbc2e69
SM
9757 * international/quail.el (quail-help):
9758 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9759 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9760 for the reason.
9761
5aca4f71 97622012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9763
9764 Avoid superfluous registering of signals. (Bug#10807)
9765
9766 * notifications.el (notifications-on-action-object)
9767 (notifications-on-close-object): New defvars.
9768 (notifications-on-action-signal, notifications-on-closed-signal):
9769 Unregister the signal if not needed any longer.
9770 (notifications-notify): Register `notifications-action-signal' or
9771 `notifications-closed-signal', if :on-action or :on-close has been
9772 passed as argument.
9773
78e8b10a
CY
97742012-03-07 Chong Yidong <cyd@gnu.org>
9775
9776 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9777 non-X platforms.
9778
69481eb8
GM
97792012-03-06 Glenn Morris <rgm@gnu.org>
9780
9781 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9782 (x-disown-selection-internal, x-get-selection-internal):
9783 Doc fix (add arglist signatures). (Bug#10783)
9784
133b8e11
KS
97852012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9786
9787 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9788 Handle breakpoints with no "type".
9789
99a83064
GM
97902012-03-06 Glenn Morris <rgm@gnu.org>
9791
9792 * files.el (locate-dominating-file): Add optional predicate argument.
9793 (dir-locals-find-file): Make use of above change.
9794
17798e78
TTN
97952012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9796
9797 * info.el (Info-insert-dir): Also try "dir.gz".
9798
eb182446
GM
97992012-03-06 Glenn Morris <rgm@gnu.org>
9800
8f2114ee
GM
9801 * files.el (dir-locals-find-file):
9802 Ignore non-readable or non-regular files. (Bug#10928)
9803
eb182446
GM
9804 * files.el (locate-dominating-file): Doc fix.
9805
24679323
AS
98062012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9807
9808 * calendar/calendar.el (calendar-set-mode-line):
9809 `getenv' returns a string. (Bug#10951)
9810
01d972a9
LL
98112012-03-05 Leo Liu <sdl.web@gmail.com>
9812
109aa8a9
LL
9813 * simple.el (backward-delete-char-untabify): Constrain point to
9814 field (Bug#10939).
9815
01d972a9
LL
9816 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9817
10607bea
CY
98182012-03-05 Chong Yidong <cyd@gnu.org>
9819
9820 * simple.el (count-words): If called from Lisp, return the word
9821 count, for symmetry with `count-lines'. Arglist changed.
9822 (count-words--message): Args changed. Consolidate counting code
9823 from count-words and count-words-region.
9824 (count-words-region): Caller changed.
9825 (count-lines-region): Make it an obsolete alias.
9826
5dd11cfe
TH
98272012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9828
9829 * saveplace.el (save-place-to-alist)
9830 (save-place-ignore-files-regexp): Allow value nil to disable this
9831 feature.
9832
c349f4e6
CY
98332012-03-04 Chong Yidong <cyd@gnu.org>
9834
9835 * faces.el (face-spec-reset-face): For the default face, reset the
9836 attributes to default values (Bug#10748).
9837
e627be4c
LMI
98382012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9839
9840 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9841 previous patch: Check `message-send-mail-function', and not the
9842 default function (bug#10897).
9843
ebeabff4
MA
98442012-03-04 Michael Albinus <michael.albinus@gmx.de>
9845
a41a6cf4
MA
9846 * notifications.el (notifications-on-action-signal)
9847 (notifications-on-closed-signal): Check for unique service name of
9848 incoming event. Fix error in removing entry.
ebeabff4 9849 (top): Register for signals with wildcard service name.
a41a6cf4 9850 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9851
c1ca42b4
CY
98522012-03-04 Chong Yidong <cyd@gnu.org>
9853
dc9924b8 9854 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9855
ea16568d
GM
98562012-03-04 Glenn Morris <rgm@gnu.org>
9857
9858 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9859 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9860 (expand-abbrev, define-abbrev-table): Doc fixes.
9861
fbae4637
LMI
98622012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9863
9864 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9865 `message-default-send-mail-function' and not `send-mail-function'
9866 when doing the prompting for `sendmail-query-once' before sending
9867 in Message buffers (bug#10897).
9868
a1e7225c
LMI
9869 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9870 This is inconsistent with all the other stream functions, which leave
9871 the setting up to the higher levels (if so wanted) (bug#10931).
9872
56d093a9
AM
98732012-03-02 Alan Mackenzie <acm@muc.de>
9874
9875 Depessimize the handling of very large macros.
9876
9877 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9878 (c-macro-cache-syntactic): New variables to implement a one
9879 element macro cache.
9880 (c-invalidate-macro-cache): New function.
9881 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9882 Adapt to use the new cache.
9883 (c-state-safe-place): Use better the cache of safe positions.
9884 (c-state-semi-nonlit-pos-cache)
9885 (c-state-semi-nonlit-pos-cache-limit):
9886 New variables for...
9887 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9888 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9889 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9890 Use c-state-semi-safe-place.
56d093a9 9891
dbbc2e69
SM
9892 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9893 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9894
817e5c3d
MA
98952012-03-02 Michael Albinus <michael.albinus@gmx.de>
9896
dbbc2e69
SM
9897 * jka-compr.el (jka-compr-call-process):
9898 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9899 not remote.
9900
a032a702
MA
99012012-03-01 Michael Albinus <michael.albinus@gmx.de>
9902
9903 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9904 access of FILE2, if FILE1 does not exist.
9905
99a54f21
MA
9906 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9907 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9908
9909 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9910 Add "PAGER=" to `process-environment'.
9911
f6561e1f
MM
99122012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9913
9914 * progmodes/sql.el: Bug fix
9915 (sql-get-login-ext): Save login values in globals.
9916 (sql-get-login): Use new version of `sql-get-login-ext'.
9917 (sql-interactive-mode): Set global `sql-connection' to nil.
9918 (sql-connect): Set global values for connection.
9919 (sql-product-interactive): Save global values as buffer local.
9920
2d44d9cc
LL
99212012-02-29 Leo Liu <sdl.web@gmail.com>
9922
9923 * abbrev.el (define-abbrevs): Reset sys to nil.
9924
96b49301 99252012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9926
bf7f9bc5
JB
9927 * files.el (file-equal-p): Rename from `files-equal-p'.
9928 Return nil when one or both files don't exist.
96b49301 9929 (file-subdir-of-p): Now only top directory must exists,
9930 return nil if it doesn't.
bf7f9bc5
JB
9931 (copy-directory): No need to test with `file-subdir-of-p' after
9932 creating dir.
9933 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9934 to `file-equal-p'.
96b49301 9935
44e97401
GM
99362012-02-28 Glenn Morris <rgm@gnu.org>
9937
9938 * shell.el (shell-mode):
9939 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9940 * play/landmark.el (landmark-font-lock-face-O):
9941 * play/handwrite.el (handwrite):
9942 * play/gomoku.el (gomoku-O):
9943 * net/browse-url.el (browse-url-browser-display):
9944 * international/mule.el (define-charset):
9945 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9946 * filesets.el (filesets-find-file-delay):
9947 * eshell/em-xtra.el (eshell-xtra):
9948 * eshell/em-unix.el (eshell-grep):
9949 * emulation/viper.el (viper-mode):
9950 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9951 * emacs-lisp/easymenu.el (easy-menu-define):
9952 * calendar/timeclock.el (timeclock-use-display-time):
9953 * bs.el (bs-mode):
9954 * bookmark.el (bookmark-save-flag):
9955 Doc fix (standardize possessive apostrophe usage).
9956
c98c6276
CY
99572012-02-27 Chong Yidong <cyd@gnu.org>
9958
bf7f9bc5
JB
9959 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9960 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9961
c98c6276
CY
9962 * font-lock.el (font-lock-specified-p): Rename from
9963 font-lock-spec-present. Callers changed.
9964
9c62cd04 99652012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9966
bf7f9bc5
JB
9967 * emacs-lisp/package.el (package-compute-transaction):
9968 Handle holding a package version to t in package-load-list.
8ac9e529 9969
530739c9
MA
99702012-02-26 Michael Albinus <michael.albinus@gmx.de>
9971
9972 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9973 (tramp-get-inode, tramp-get-device): Use cached values.
9974
487915d7
AM
99752012-02-26 Alan Mackenzie <acm@muc.de>
9976
9977 Check there is a font-lock specification before doing initial
9978 fontification.
9979
9980 * font-core.el (font-lock-mode): Move the conditional from
9981 :after-hook to font-lock-initial-fontify.
9982 (font-lock-default-function): Move the check for a specification
9983 to font-lock-spec-present.
9984
dc9924b8 9985 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9986 (font-lock-spec-present): New function.
9987
4fd96557
JB
99882012-02-26 Jim Blandy <jimb@red-bean.com>
9989
9990 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9991 (gdb-send): Apply it to the operand of the '-interpreter-exec
9992 console' command, so that we can pass arguments with (say) quotes
9993 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9994
9a4888c0
CY
99952012-02-26 Chong Yidong <cyd@gnu.org>
9996
07498861
CY
9997 * help-fns.el (describe-function-1): Clarify description of
9998 remapping (Bug#10844).
9999
9a4888c0
CY
10000 * files.el (files-equal-p): Doc fix.
10001 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
10002 and quit the loop once a mismatch is found.
10003
ea8fb88d
JB
100042012-02-25 Juanma Barranquero <lekktu@gmail.com>
10005
10006 * bs.el (bs--show-with-configuration): Don't throw an error
10007 if the window cannot be split; otherwise, subsequent calls to
10008 bs-show fail, restoring a stale window config. (Bug#10882)
10009
525795c1
JD
100102012-02-25 Jan Djärv <jan.h.d@swipnet.se>
10011
10012 * term/ns-win.el (global-map): Bind ns-drag-file to
10013 ns-find-file (Bug#5855, Bug#10050).
10014
f008086f
AS
100152012-02-25 Andreas Schwab <schwab@linux-m68k.org>
10016
10017 * calendar/parse-time.el (parse-time-string): Allow extractor to
10018 return nil.
10019
a3fcfa99
MA
100202012-02-25 Michael Albinus <michael.albinus@gmx.de>
10021
91027d08
JB
10022 * net/tramp.el (tramp-file-name-for-operation):
10023 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
10024
10025 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
10026 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
10027 Add COPY-CONTENTS argument.
a3fcfa99 10028
67b0de11
CY
100292012-02-25 Chong Yidong <cyd@gnu.org>
10030
10031 Add custom groups for VC backends, for consistency with vc-bzr.
10032
10033 * vc/vc-arch.el (vc-arch):
10034 * vc/vc-cvs.el (vc-cvs):
10035 * vc/vc-git.el (vc-git):
10036 * vc/vc-hg.el (vc-hg):
10037 * vc/vc-mtn.el (vc-mtn):
10038 * vc/vc-rcs.el (vc-rcs):
10039 * vc/vc-sccs.el (vc-sccs):
10040 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10041 All relevant defcustoms reassigned.
10042
3c9dfce6
CY
100432012-02-25 Chong Yidong <cyd@gnu.org>
10044
1339bf43
CY
10045 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10046
3c9dfce6
CY
10047 * term/x-win.el (x-initialize-window-system): Reduce default for
10048 x-selection-timeout to 5 seconds (Bug#8869).
10049
25b2e303 100502012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10051
ec70a47d
GM
10052 * files.el (files-equal-p, file-subdir-of-p): New functions.
10053 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10054 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10055 * dired-aux.el (dired-copy-file-recursive): Same.
10056 (dired-create-files): Modify destination when source is equal to
10057 dest when copying files.
53a46cd0 10058 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10059
914260cd
MA
100602012-02-24 Michael Albinus <michael.albinus@gmx.de>
10061
10062 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10063 (Bug#10874)
10064
2cb228f7
AM
100652012-02-23 Alan Mackenzie <acm@muc.de>
10066
10067 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10068 parameter "after-hook:" to allow the expansion to run code after
10069 the execution of the mode hooks.
10070
10071 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10072 from font-lock-mode-internal.
2cb228f7 10073
91027d08 10074 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10075 :after-hook.
10076
8f0fde21
SM
100772012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10078
3e88618b
SM
10079 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10080 (completion--cache-all-sorted-completions): New function.
10081 (completion-all-sorted-completions): Use it.
10082 (completion--do-completion, minibuffer-force-complete):
10083 Use it to re-instate the flush hook.
10084
8f0fde21
SM
10085 * icomplete.el (icomplete-completions): Replace last fix with a better
10086 one (bug#10850).
10087
8e911f6f
DG
100882012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10089
10090 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10091 when it might call us back infinitely (bug#10797).
10092
49fe4321
GM
100932012-02-23 Glenn Morris <rgm@gnu.org>
10094
10095 * minibuffer.el (completion-category-overrides): Doc fix.
10096
b291b572
SM
100972012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10098
10099 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10100 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10101
31a9ef2e
GM
101022012-02-23 Glenn Morris <rgm@gnu.org>
10103
5e6e6794 10104 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10105 (authors-obsolete-files-regexps, authors-ignored-files)
10106 (authors-ambiguous-files, authors-renamed-files-alist):
10107 Add more entries.
10108
0bd1e074
JL
101092012-02-23 Juri Linkov <juri@jurta.org>
10110
10111 * isearch.el (isearch-occur): Sync interactive spec with occur's
10112 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10113
b617673c
JL
10114 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10115
19e9789e
JL
101162012-02-22 Juri Linkov <juri@jurta.org>
10117
10118 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10119 (ucs-insert): Doc fix. Check for hex digits in the string.
10120 Don't display `nil' in the error message. (Bug#10857)
10121
f41ce09d
AM
101222012-02-22 Alan Mackenzie <acm@muc.de>
10123
7a71b18d 10124 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10125
ac2eceee
GM
101262012-02-22 Glenn Morris <rgm@gnu.org>
10127
10128 * ffap.el (ffap-c-path):
10129 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10130
abd1f678
CY
101312012-02-22 Chong Yidong <cyd@gnu.org>
10132
10133 * custom.el (load-theme): Doc fix.
10134
f25aef2e
GM
101352012-02-22 Glenn Morris <rgm@gnu.org>
10136
10137 * dired-x.el (dired-guess-shell-alist-default):
10138 Remove escape sequences from nroff output. (Bug#172)
10139
5f8dc2ca
GM
101402012-02-21 Glenn Morris <rgm@gnu.org>
10141
6ff86ec4
GM
10142 * vc/emerge.el (emerge-defvar-local):
10143 Set `permanent-local' property rather than unused `preserved'.
10144
be3223a3 10145 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10146 (picture-mode-map): Use it. (Bug#10860)
10147 (picture-mode): Doc fix.
10148
3fe58f4f
JB
101492012-02-21 Juanma Barranquero <lekktu@gmail.com>
10150
10151 * newcomment.el (uncomment-region-default): Remove unused binding.
10152
f9a998c3
GM
101532012-02-21 Glenn Morris <rgm@gnu.org>
10154
10155 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10156 (picture-self-insert, picture-tab-chars): Doc fix.
10157 (picture-mode-map): Fix C-a, C-e.
10158
c6029348
GM
101592012-02-20 Glenn Morris <rgm@gnu.org>
10160
10161 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10162
ab1ce9d7
LL
101632012-02-20 Leo Liu <sdl.web@gmail.com>
10164
10165 * icomplete.el (icomplete-completions): Check FROM arg before
10166 passing to substring (Bug#10850).
10167
0fd40f89
CY
101682012-02-19 Chong Yidong <cyd@gnu.org>
10169
10170 * comint.el: Require ansi-color.
10171 (comint-output-filter-functions): Add ansi-color-process-output.
10172
10173 * ansi-color.el: Don't set comint-output-filter-functions; it is
10174 now in the initial value defined in comint.el.
10175 (ansi-color-apply-face-function): New variable.
10176 (ansi-color-apply-on-region): Use it.
10177 (ansi-color-apply-overlay-face): New function.
10178
10179 * shell.el (shell): No need to require ansi-color.
10180 (shell-mode): Use ansi-color-apply-face-function to highlight
10181 color escapes using font-lock-face property (Bug#10835).
10182
20af2394
CY
101832012-02-19 Chong Yidong <cyd@gnu.org>
10184
10185 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10186 mode-line formats (Bug#10839).
10187
e23a3fbe
GM
101882012-02-18 Glenn Morris <rgm@gnu.org>
10189
b474519e
GM
10190 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10191
10192 * mail/undigest.el (unforward-rmail-message): Doc fix.
10193
e23a3fbe
GM
10194 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10195
57939ff4
EZ
101962012-02-18 Eli Zaretskii <eliz@gnu.org>
10197
10198 * international/characters.el (script-list): Sync with the latest
10199 Unicode Character Database.
10200
0c23686e
AS
102012012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10202
10203 * international/titdic-cnv.el: Remove duplicate coding tag.
10204 * language/cham.el: Likewise.
10205 * language/tai-viet.el: Likewise.
10206
6818b449
GM
102072012-02-18 Glenn Morris <rgm@gnu.org>
10208
10209 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10210 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10211 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10212 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10213 * calendar/holidays.el (holiday-bahai-holidays)
10214 (calendar-holidays, list-holidays):
10215 Use utf-8 Bahá'í in doc-strings, menus, etc.
10216
0311a3fc
TH
102172012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10218
10219 * saveplace.el (save-place-ignore-files-regexp): New variable
10220 allowing for excluding files from saving their location of point.
10221 The default value matches the temporary commit message editing
10222 files from Git, SVN, Bazaar, and Mercurial.
10223 (save-place-to-alist): Use it.
10224
d209e2fb 102252012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10226 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10227
10228 * newcomment.el (uncomment-region-default): Don't leave extra space
10229 when an arg is provided (bug#8150).
10230
ee0ce425
TZ
102312012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10232
eb864a71 10233 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10234
95ddf442
GM
102352012-02-17 Glenn Morris <rgm@gnu.org>
10236
10237 * net/socks.el: Require network-stream. (Bug#10599)
10238
48dd1e39 102392012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10240
10241 * international/charprop.el:
10242 * international/uni-name.el:
10243 * international/uni-old-name.el:
10244 * international/uni-comment.el: Regenerate.
10245
d68cd087
GM
102462012-02-16 Glenn Morris <rgm@gnu.org>
10247
10248 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10249 Interactively in calendar buffer, give an error if not on a date.
10250
13932042
GM
102512012-02-15 Glenn Morris <rgm@gnu.org>
10252
10253 * shell.el (shell-delimiter-argument-list):
10254 Revert 2011-02-17 change. (Bug#8027)
10255
c3a70e2b
CY
102562012-02-15 Chong Yidong <cyd@gnu.org>
10257
60236b0d
CY
10258 * minibuffer.el (completion-at-point-functions): Doc fix.
10259
c3a70e2b
CY
10260 * custom.el (defcustom): Doc fix; note use of defvar.
10261
9f26dc24
GM
102622012-02-15 Glenn Morris <rgm@gnu.org>
10263
10264 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10265 Doc fixes.
10266
6546b134
GM
102672012-02-14 Glenn Morris <rgm@gnu.org>
10268
10269 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10270
d29b2b4c
LI
102712012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10272
10273 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10274 way the ports list is computed.
835bdcba
LI
10275 (smtpmail-query-smtp-server): Prompt the user for a port number if
10276 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10277
08dcdbc9
TZ
102782012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10279
10280 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10281
2605051a
GM
102822012-02-13 Glenn Morris <rgm@gnu.org>
10283
10284 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10285
7ee99f32
TZ
102862012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10287
10288 * net/gnutls.el (gnutls-trustfiles): New variable.
10289 (gnutls-negotiate): Use it.
10290
5f0af64f
LI
102912012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10292
10293 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10294 does its stuff if Gnus is running.
10295
c14fcc95
AM
102962012-02-13 Alan Mackenzie <acm@muc.de>
10297
10298 Fix a loop in c-set-fl-decl-start.
10299
7a71b18d 10300 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10301 c-backward-syntactic-ws actually moves backwards.
10302
142b4d90
LL
103032012-02-13 Leo Liu <sdl.web@gmail.com>
10304
10305 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10306 beginning so that all \C-o chars are removed.
10307
fa9958a6
TZ
103082012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10309
dc9924b8 10310 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10311
0bc5886a
AM
103122012-02-12 Alan Mackenzie <acm@muc.de>
10313
10314 Fix infinite loop with long macros.
4d6769e1 10315 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10316
d4bd55e7
CY
103172012-02-12 Chong Yidong <cyd@gnu.org>
10318
10319 * window.el (display-buffer): Doc fix (Bug#10785).
10320
66f3fe22
GM
103212012-02-12 Glenn Morris <rgm@gnu.org>
10322
bd7da63e
GM
10323 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10324 (x-disown-selection-internal, x-get-selection-internal):
10325 Sync docs with the xselect.c versions.
10326
66f3fe22
GM
10327 * allout-widgets.el: Add missing license notice.
10328
3e0d2fa7
GM
103292012-02-11 Glenn Morris <rgm@gnu.org>
10330
cfecdf09
GM
10331 * select.el (x-get-selection-internal, x-own-selection-internal)
10332 (x-disown-selection-internal):
10333 * x-dnd.el (x-get-selection-internal): Update declarations.
10334
6d216d7f
GM
10335 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10336
2bed3f04
GM
10337 * window.el (window-sides-slots):
10338 * tool-bar.el (tool-bar-position):
10339 * term/xterm.el (xterm-extra-capabilities):
10340 * ses.el (ses-self-reference-early-detection):
10341 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10342 (verilog-auto-wire-type)
10343 (verilog-auto-delete-trailing-whitespace)
10344 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10345 (verilog-auto-tieoff-declaration):
10346 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10347 (sql-oracle-statement-starters, sql-oracle-scan-on):
10348 * progmodes/prolog.el (prolog-align-comments-flag)
10349 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10350 (prolog-left-indent-regexp, prolog-paren-indent-p)
10351 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10352 (prolog-types, prolog-mode-specificators)
10353 (prolog-determinism-specificators, prolog-directives)
10354 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10355 (prolog-electric-dot-flag)
10356 (prolog-electric-dot-full-predicate-template)
10357 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10358 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10359 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10360 (prolog-program-switches, prolog-prompt-regexp)
10361 (prolog-debug-on-string, prolog-debug-off-string)
10362 (prolog-trace-on-string, prolog-trace-off-string)
10363 (prolog-zip-on-string, prolog-zip-off-string)
10364 (prolog-use-standard-consult-compile-method-flag)
10365 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10366 (prolog-imenu-max-lines, prolog-info-predicate-index)
10367 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10368 (prolog-char-quote-workaround):
10369 * progmodes/cc-vars.el (c-defun-tactic):
10370 * net/tramp.el (tramp-encoding-command-interactive)
10371 (tramp-local-end-of-line):
10372 * net/soap-client.el (soap-client):
10373 * net/netrc.el (netrc-file):
10374 * net/gnutls.el (gnutls):
10375 * minibuffer.el (completion-category-overrides)
10376 (completion-cycle-threshold)
10377 (completion-pcm-complete-word-inserts-delimiters):
10378 * man.el (Man-name-local-regexp):
10379 * mail/feedmail.el (feedmail-display-full-frame):
10380 * international/characters.el (glyphless-char-display-control):
10381 * eshell/em-ls.el (eshell-ls-date-format):
10382 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10383 (lisp-lambda-list-keyword-parameter-indentation)
10384 (lisp-lambda-list-keyword-parameter-alignment):
10385 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10386 * dired-x.el (dired-omit-verbose):
10387 * cus-theme.el (custom-theme-allow-multiple-selections):
10388 * calc/calc.el (calc-highlight-selections-with-faces)
10389 (calc-lu-field-reference, calc-lu-power-reference)
10390 (calc-note-threshold):
10391 * battery.el (battery-mode-line-limit):
10392 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10393 (archive-7z-update):
10394 * allout.el (allout-prefixed-keybindings)
10395 (allout-unprefixed-keybindings)
10396 (allout-inhibit-auto-fill-on-headline)
10397 (allout-flattened-numbering-abbreviation):
10398 * allout-widgets.el (allout-widgets-auto-activation)
10399 (allout-widgets-icons-dark-subdir)
10400 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10401 (allout-widgets-theme-dark-background)
10402 (allout-widgets-theme-light-background)
10403 (allout-widgets-item-image-properties-emacs)
10404 (allout-widgets-item-image-properties-xemacs)
10405 (allout-widgets-run-unit-tests-on-load)
10406 (allout-widgets-time-decoration-activity)
10407 (allout-widgets-hook-error-post-time)
10408 (allout-widgets-track-decoration):
10409 Add missing :version tags to new defcustoms and defgroups.
10410
5fec1b8e
GM
10411 * progmodes/sql.el (sql-ansi-statement-starters)
10412 (sql-oracle-statement-starters): Add custom type.
10413
3e0d2fa7
GM
10414 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10415 (prolog-system-version): Give it a type.
10416
90b671e2
EZ
104172012-02-11 Eli Zaretskii <eliz@gnu.org>
10418
10419 * term/pc-win.el (x-select-text, x-selection-owner-p)
10420 (x-own-selection-internal, x-disown-selection-internal)
10421 (x-get-selection-internal): Sync doc strings and argument lists
10422 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10423
5eac0c02
LL
104242012-02-11 Leo Liu <sdl.web@gmail.com>
10425
10426 * progmodes/python.el (python-end-of-statement): Fix infinite
10427 loop. (Bug#10788)
10428
f82cb659
GM
104292012-02-10 Glenn Morris <rgm@gnu.org>
10430
10431 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10432 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10433
cc26d239
LI
104342012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10435
10436 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10437 about SMTP before checking the From header.
10438
91027d08 10439 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10440 into own function for reuse by emacsbug.el.
10441
1be3ca5a
LL
104422012-02-10 Leo Liu <sdl.web@gmail.com>
10443
10444 * subr.el (condition-case-unless-debug): Rename from
10445 condition-case-no-debug. All callers changed.
10446 (with-demoted-errors): Fix caller.
10447
10448 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10449 * nxml/rng-valid.el (rng-do-some-validation):
10450 * emacs-lisp/package.el (package-refresh-contents)
10451 (package-menu-execute):
10452 * desktop.el (desktop-create-buffer):
91027d08 10453 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10454
b011fbfe
GM
104552012-02-10 Glenn Morris <rgm@gnu.org>
10456
b2096d72
GM
10457 * textmodes/bibtex.el:
10458 Add missing :version tags for new/changed defcustoms.
10459
b011fbfe
GM
10460 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10461
4c7e65bf
LI
104622012-02-09 Lars Ingebrigtsen <larsi@rusty>
10463
10464 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10465 (smtpmail-via-smtp): Use it, or fall back on the From address.
10466 (smtpmail-send-it): Ditto.
10467
f3934f6f
SM
104682012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10471 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10472 (byte-compile-tmp-var): New const.
10473 (byte-compile-defvar): Use it to minimize .elc size.
10474 Just use `defvar' rather than simulate it (bug#10761).
10475
a075a2c5
GM
104762012-02-09 Glenn Morris <rgm@gnu.org>
10477
cf3aa21b
GM
10478 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10479
354998cd
GM
10480 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10481 Add :version tags.
10482
dc9924b8
SM
10483 * progmodes/compile.el (compilation-error-screen-columns)
10484 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10485
dab3703d
GM
10486 * vc/log-view.el (log-view-toggle-entry-display):
10487 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10488
3f88cd72
GM
10489 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10490 (report-emacs-bug-can-use-xdg-email):
10491 (report-emacs-bug-insert-to-mailer): Doc fixes.
10492 (report-emacs-bug): Message fix.
10493
d95b247d
GM
10494 * net/browse-url.el (browse-url-can-use-xdg-open)
10495 (browse-url-xdg-open): Doc fixes.
10496
a075a2c5
GM
10497 * electric.el (electric-indent-mode, electric-pair-mode)
10498 (electric-layout-rules, electric-layout-mode): Doc fixes.
10499 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10500
ffb6157e
MR
105012012-02-08 Martin Rudalics <rudalics@gmx.at>
10502
10503 * server.el (server-unselect-display): Don't inadvertently kill
10504 the current buffer. (Bug#10729)
10505
e1ac4066
GM
105062012-02-08 Glenn Morris <rgm@gnu.org>
10507
34e8a2da
GM
10508 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10509 (sql-list-table): Doc fixes.
10510
b4ac6e8c
GM
10511 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10512 Comment out (does nothing).
10513
e1ac4066
GM
10514 * completion.el (dynamic-completion-mode):
10515 * dirtrack.el (dirtrack-debug-mode):
10516 * electric.el (electric-layout-mode):
10517 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10518 * face-remap.el (text-scale-mode, buffer-face-mode):
10519 * iimage.el (iimage-mode):
10520 * image-mode.el (image-transform-mode):
10521 * minibuffer.el (completion-in-region-mode):
10522 * scroll-lock.el (scroll-lock-mode):
10523 * simple.el (next-error-follow-minor-mode):
10524 * tar-mode.el (tar-subfile-mode):
10525 * tooltip.el (tooltip-mode):
10526 * vcursor.el (vcursor-use-vcursor-map):
10527 * wid-browse.el (widget-minor-mode):
10528 * emulation/tpu-edt.el (tpu-edt-mode):
10529 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10530 * international/iso-ascii.el (iso-ascii-mode):
10531 * language/thai-util.el (thai-word-mode):
10532 * mail/supercite.el (sc-minor-mode):
10533 * net/goto-addr.el (goto-address-mode):
10534 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10535 * progmodes/cwarn.el (cwarn-mode):
10536 * progmodes/flymake.el (flymake-mode):
10537 * progmodes/glasses.el (glasses-mode):
10538 * progmodes/hideshow.el (hs-minor-mode):
10539 * progmodes/pascal.el (pascal-outline-mode):
10540 * textmodes/enriched.el (enriched-mode):
10541 * vc/smerge-mode.el (smerge-mode):
10542 Doc fixes (minor mode argument).
10543
5e0d957f
EZ
105442012-02-07 Eli Zaretskii <eliz@gnu.org>
10545
10546 * ls-lisp.el (ls-lisp-sanitize): New function.
10547 (ls-lisp-insert-directory): Use it to fix or remove any elements
10548 in file-alist with missing attributes. (Bug#4673)
10549
98d7371e
AM
105502012-02-07 Alan Mackenzie <acm@muc.de>
10551
10552 Fix spurious recognition of c-in-knr-argdecl.
10553
10554 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10555 putative K&R region.
10556
667ced3a
AM
105572012-02-07 Alan Mackenzie <acm@muc.de>
10558
eb864a71
LM
10559 * progmodes/cc-engine.el (c-forward-objc-directive):
10560 Prevent looping in "#pragma mark @implementation".
667ced3a 10561
5b77774d
MA
105622012-02-07 Michael Albinus <michael.albinus@gmx.de>
10563
10564 * notifications.el (notifications-on-closed-signal): Make `reason'
10565 optional. (Bug#10744)
10566
af008560
GM
105672012-02-07 Glenn Morris <rgm@gnu.org>
10568
60d47423
GM
10569 * emacs-lisp/easy-mmode.el (define-minor-mode):
10570 Doc fixes for the macro and the mode it defines.
10571
dd605cc4
GM
10572 * image.el (imagemagick-types-inhibit): Doc fix.
10573
af008560
GM
10574 * cus-start.el (imagemagick-render-type): Add it.
10575
5cc59a37
LI
105762012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10577
4d6769e1
JB
10578 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10579 Set the default at load time, too, so that `font-lock-fontify-buffer'
10580 can be called without setting up the entire mode first. This fixes
10581 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10582
9a6dd747
CY
105832012-02-06 Chong Yidong <cyd@gnu.org>
10584
2d16b285
CY
10585 * simple.el (list-processes--refresh): Delete exited processes
10586 (Bug#8094).
10587
171e9b6e
CY
10588 * comint.el (comint-next-prompt): next-single-char-property-change
10589 and prev-single-char-property-change never return nil (Bug#8657).
10590
9a6dd747
CY
10591 * custom.el (defcustom): Doc fix (Bug#9711).
10592
aa4589a7
CY
105932012-02-05 Chong Yidong <cyd@gnu.org>
10594
5c2a252f
CY
10595 * cus-edit.el (custom-variable-reset-backup): Quote the value
10596 before storing it in the customized-value property (Bug#6712).
4aab9006 10597 (custom-display): Add a customization type tag.
983b9602 10598 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10599
aa4589a7
CY
10600 * wid-edit.el (widget-field-value-get): New optional arg to
10601 suppress trailing whitespace truncation.
10602 (character): Use it (Bug#2689).
10603
1ff980ae
AS
106042012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10605
10606 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10607 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10608
03988c98
CY
106092012-02-05 Chong Yidong <cyd@gnu.org>
10610
eeb6cc88
CY
10611 * cus-edit.el (custom-variable-value-create): For mismatched
10612 types, show the current value (Bug#7600).
10613
03988c98
CY
10614 * custom.el (defcustom): Doc fix.
10615
f8cdeef0
GM
106162012-02-05 Glenn Morris <rgm@gnu.org>
10617
10618 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10619
0696d255
JB
106202012-02-05 Juanma Barranquero <lekktu@gmail.com>
10621
10622 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10623 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10624 (pp-last-sexp): Use `looking-at-p'.
10625
34c99998
GM
106262012-02-04 Glenn Morris <rgm@gnu.org>
10627
8f05da42
GM
10628 * files.el (revert-buffer):
10629 Doc fix (mention revert-buffer-in-progress-p).
10630
f160676e
GM
10631 * emacs-lisp/ert-x.el (ert-simulate-command):
10632 Check deferred-action-list (which is obsolete) is bound.
10633
c7291ad9
GM
10634 * subr.el (with-wrapper-hook): Doc fixes.
10635
34c99998
GM
10636 * simple.el (filter-buffer-substring-functions)
10637 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10638
6283a7d3
LL
106392012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10640
10641 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10642 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10643
e96e3013
LL
106442012-02-04 Leo Liu <sdl.web@gmail.com>
10645
10646 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10647
8ded50f2
GM
106482012-02-04 Glenn Morris <rgm@gnu.org>
10649
82ff1d13
GM
10650 * image.el (image-extension-data): Add obsolete alias.
10651
987a0a16
GM
10652 * isearch.el (isearch-update): Doc fix.
10653
ea32ef46
GM
10654 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10655
8ded50f2
GM
10656 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10657
eea14f31
GM
106582012-02-03 Glenn Morris <rgm@gnu.org>
10659
10660 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10661 (image-animate-timeout): Doc fix.
10662
10663 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10664
12f381b7
GM
106652012-02-02 Glenn Morris <rgm@gnu.org>
10666
953cebf5
GM
10667 * server.el (server-auth-dir): Doc fix.
10668 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10669
12f381b7
GM
10670 * subr.el (run-mode-hooks): Doc fix.
10671
953a8c3b
JL
106722012-02-02 Juri Linkov <juri@jurta.org>
10673
10674 * image-mode.el (image-toggle-display-image): Remove tautological
10675 `major-mode' from the `derived-mode-p' test.
10676
c5d3843c
KH
106772012-02-02 Kenichi Handa <handa@m17n.org>
10678
9f6e692e 10679 * composite.el (compose-region): Cancel previous change.
c5d3843c 10680
159462d4 106812012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10682
10683 * composite.el (compose-region, compose-string): Signal error for
10684 a null string component (Bug#6988).
10685
9f562668
CY
106862012-02-01 Chong Yidong <cyd@gnu.org>
10687
e2cef717
CY
10688 * view.el (view-buffer-other-window, view-buffer-other-frame):
10689 Handle special modes like view-buffer (Bug#10650).
10690 (view-buffer): Simplify.
10691
9f562668
CY
10692 * frame.el (set-frame-font): Tweak meaning of third argument.
10693
9f6e692e
JB
10694 * dynamic-setting.el (font-setting-change-default-font):
10695 Use set-frame-font (Bug#9982).
9f562668 10696
781acb9f
GM
106972012-02-01 Glenn Morris <rgm@gnu.org>
10698
6035be52
GM
10699 * progmodes/compile.el (compilation-internal-error-properties):
10700 Respect compilation-first-column in the "*compilation*" buffer.
10701
781acb9f
GM
10702 * emacs-lisp/easy-mmode.el (define-minor-mode):
10703 Relax :variable's test for a named function.
10704
abbceb00
AM
107052012-01-31 Alan Mackenzie <acm@muc.de>
10706
10707 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10708 off by one error.
10709
fce3fdeb
CY
107102012-01-31 Chong Yidong <cyd@gnu.org>
10711
10712 * frame.el (set-frame-font): New arg ALL-FRAMES.
10713
10714 * menu-bar.el (menu-set-font): Use set-frame-font.
10715
10716 * faces.el (face-spec-reset-face): Don't apply unspecified
10717 attribute values to the default face.
10718
47893581
JB
107192012-01-31 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * progmodes/cwarn.el (cwarn): Remove dead link.
10722 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10723 Remove * from defcustom docstrings.
10724 (turn-on-cwarn-mode): Make obsolete.
10725 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10726 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10727
e58e988a
GM
107282012-01-31 Glenn Morris <rgm@gnu.org>
10729
60dc2671 10730 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10731 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10732 Allow named functions to be used as the cdr of :variable.
e58e988a 10733
7a3f511d
GM
107342012-01-30 Glenn Morris <rgm@gnu.org>
10735
10736 * emacs-lisp/authors.el (authors-fixed-entries):
10737 Remove reference to deleted file rnewspost.el.
10738
cb882333
JB
107392012-01-29 Juanma Barranquero <lekktu@gmail.com>
10740
10741 * window.el (window-with-parameter): Remove unused variable `windows'.
10742 (window--side-check): Remove unused variable `code'.
10743 (window--resize-siblings): Remove unused variable `first'.
10744 (adjust-window-trailing-edge): Remove unused variable `failed'.
10745 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10746 Use `let', not `let*'.
10747 (balance-windows-2): Remove unused variable `found'.
10748 (window--state-put-2): Remove unused variable `splits'.
10749 (window-state-put): Remove unused variable `selected'.
10750 (same-window-p): Use `string-match-p'.
10751 (display-buffer-assq-regexp): Remove unused variable `value'.
10752 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10753 Mark argument ALIST as ignored.
10754 (pop-to-buffer): Remove unused variable `old-window'.
10755
907201af
EZ
107562012-01-29 Eli Zaretskii <eliz@gnu.org>
10757
10758 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10759 and .lzma compressed files.
10760
ea162670
CY
107612012-01-29 Chong Yidong <cyd@gnu.org>
10762
5b95ee8a
CY
10763 * frame.el (window-system-default-frame-alist): Doc fix.
10764
ea162670
CY
10765 * dynamic-setting.el (font-setting-change-default-font): Don't
10766 change the default face if SET-FONT argument is non-nil (Bug#9982).
10767
d6e6f4b1
SB
107682012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10769
10770 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10771
0f29fa41 107722012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10773
10774 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10775 breakpoints in files outside current directory (Bug#6098).
10776
db174434
CY
107772012-01-29 Chong Yidong <cyd@gnu.org>
10778
6b25e4e2
SE
10779 * progmodes/python.el: Require ansi-color at top-level.
10780
6df6ae42
JB
10781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10782 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10783 (lisp-mode-abbrev-table): Add doc.
10784 (lisp-mode-variables): Don't set local-abbrev-table.
10785 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10786
e70ee681
RW
107872012-01-28 Roland Winkler <winkler@gnu.org>
10788
10789 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10790
ace88aa2
RW
107912012-01-28 Roland Winkler <winkler@gnu.org>
10792
10793 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10794 (bibtex-set-dialect): Use it. Either set global values of
10795 dialect-dependent variables or bind these variables buffer-locally
10796 (Bug#10254).
10797 (bibtex-mode): Call bibtex-set-dialect via
10798 hack-local-variables-hook.
eb864a71
LM
10799 (bibtex-dialect): Update docstring.
10800 Add safe-local-variable predicate.
ace88aa2
RW
10801 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10802 bibtex-set-dialect.
10803 (bibtex-mode-map): Define menu for each dialect.
10804 (bibtex-entry): Fix docstring.
10805
93376c5b
CY
108062012-01-28 Chong Yidong <cyd@gnu.org>
10807
10808 * eshell/esh-arg.el (eshell-quote-argument): New function.
10809
10810 * eshell/esh-ext.el (eshell-invoke-batch-file):
10811 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10812 first arg to eshell-parse-command (Bug#10523).
10813
4372494f
DA
108142012-01-28 Drew Adams <drew.adams@oracle.com>
10815
10816 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10817 `default-directory' is non-nil.
10818
4d4ec1f8
EZ
108192012-01-28 Eli Zaretskii <eliz@gnu.org>
10820
10821 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10822 line that displays system-configuration-options. (Bug#9924)
10823
7c188927
DA
108242012-01-28 Drew Adams <drew.adams@oracle.com>
10825
10826 * descr-text.el (describe-char): Show information about POS, in
10827 addition to information about the character at POS. Improve and
10828 update the doc string. Change "code point" to "code point in
10829 charset", to avoid confusion with the character's Unicode code
10830 point shown above that. (Bug#10129)
10831
e0da685a
EZ
108322012-01-28 Eli Zaretskii <eliz@gnu.org>
10833
10834 * descr-text.el (describe-char): Show the raw character, not only
10835 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10836 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10837 for the reasons.
10838
70550acf
PH
108392012-01-28 Phil Hagelberg <phil@hagelb.org>
10840
eb864a71
LM
10841 * emacs-lisp/package.el (package-install):
10842 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10843
0ce8e868
CY
108442012-01-28 Chong Yidong <cyd@gnu.org>
10845
cb882333
JB
10846 * emacs-lisp/package.el (package-maybe-load-descriptor):
10847 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10848 (package-maybe-load-descriptor): Use it.
10849 (package-download-transaction): Fully load required packages
10850 inside the loop, so that `require' calls work (Bug#10593).
10851 (package-install): No need to call package-initialize now.
10852
2e7f3bea
CY
108532012-01-28 Chong Yidong <cyd@gnu.org>
10854
6e9bad14
CY
10855 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10856
f823b8ca
CY
10857 * tooltip.el (tooltip-mode): Doc fix.
10858 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10859
2680c309
CY
10860 * frame.el (set-cursor-color): Doc fix (Bug#352).
10861
d7a9e63b
CY
10862 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10863 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10864
2e7f3bea
CY
10865 * cus-edit.el (custom-buffer-create-internal): Fix search button
10866 action (Bug#10542).
2ae01800 10867 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10868
fc4f7a23
EW
108692012-01-27 Eduard Wiebe <usenet@pusto.de>
10870
10871 * dired.el (dired-mark-files-regexp):
10872 Include any subdirectory components. (Bug#10445)
10873
7dd37071
ML
108742012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10875
10876 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10877 Handle [host]:port syntax. (Bug#10533)
10878
a268160b
AH
108792012-01-27 Alex Harsanyi <harsanyi@mac.com>
10880
10881 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10882
e43273ef
GM
108832012-01-26 Glenn Morris <rgm@gnu.org>
10884
10885 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10886 * term.el (term-raw-escape-map): Use Control-X-prefix.
10887 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10888
1edf595d
MR
108892012-01-25 Martin Rudalics <rudalics@gmx.at>
10890
10891 * window.el (window-state-get, window--state-get-1): Don't deal
10892 with fixed-sizeness of windows. Simplify code.
10893
fa8eafef
JC
108942012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10895
6df6ae42
JB
10896 * window.el (window--state-get-1, window--state-put-2):
10897 Don't save and restore the mark.
fa8eafef 10898
0b21c100
CY
108992012-01-25 Chong Yidong <cyd@gnu.org>
10900
10901 * custom.el (custom-variable-p): Doc fix.
10902
5ae1a6c8
GM
109032012-01-25 Glenn Morris <rgm@gnu.org>
10904
40047858
GM
10905 * dired.el (dired-goto-file): Handle some of the more common
10906 characters that `ls -b' escapes. (Bug#10596)
10907
5ddce96c
GM
10908 * progmodes/compile.el (compilation-next-error-function):
10909 Respect compilation-first-column in the "*compilation*" buffer.
10910 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10911
5ae1a6c8
GM
10912 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10913
b559f1a9
GM
109142012-01-24 Glenn Morris <rgm@gnu.org>
10915
10916 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10917
6725d21a
JD
109182012-01-24 Julien Danjou <julien@danjou.info>
10919
10920 * color.el (color-rgb-to-hsl): Fix value computing.
10921 (color-hue-to-rgb): New function.
10922 (color-hsl-to-rgb): New function.
10923 (color-clamp, color-saturate-hsl, color-saturate-name)
10924 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10925 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10926
70df4bbe
GM
109272012-01-24 Glenn Morris <rgm@gnu.org>
10928
10929 * vc/vc-rcs.el (vc-rcs-create-tag):
10930 * vc/vc-sccs.el (vc-sccs-create-tag):
10931 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10932
802a2ae2
ML
109332012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10934
10935 * eshell/esh-util.el (eshell-read-hosts-file):
10936 Skip comment lines. (Bug#10549)
10937
d7128bb1
ML
10938 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10939
d1a5c3b4
JB
109402012-01-23 Juanma Barranquero <lekktu@gmail.com>
10941
2724d9c7
JB
10942 * subr.el (display-delayed-warnings): Doc fix.
10943 (collapse-delayed-warnings): New function to collapse identical
10944 adjacent warnings.
10945 (delayed-warnings-hook): Add it.
d1a5c3b4 10946
a5509865
MA
109472012-01-22 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10950
a5509865
MA
10951 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10952 (tramp-default-user-alist): Don't add "pscp".
10953 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10954 property "login-as", if set. (Bug#10530)
10955
cc6d5805
MA
109562012-01-21 Michael Albinus <michael.albinus@gmx.de>
10957
10958 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10959 "plink1" and "psftp". (Bug#10530)
10960
109612012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10962
10963 * international/mule-cmds.el (prefer-coding-system): Show a
10964 warning message if the default value of file-name-coding-system
10965 was not changed.
10966
f0960428
JC
109672012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10968
cb882333
JB
10969 * windmove.el (windmove-reference-loc):
10970 Fix windmove-reference-loc miscalculation.
f0960428 10971
dd6f2a63
JB
109722012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10973
10974 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10975 default unit.
10976
7b447e9b
GM
109772012-01-21 Glenn Morris <rgm@gnu.org>
10978
117a9ea1
GM
10979 * international/mule.el (auto-coding-alist): Add .tbz.
10980
7b447e9b
GM
10981 * files.el (local-enable-local-variables): Doc fix.
10982 (inhibit-local-variables-regexps): Rename from
10983 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10984 Doc fix. Add some extensions from auto-coding-alist.
10985 (inhibit-local-variables-suffixes):
10986 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10987 (inhibit-local-variables-p):
10988 New function, extracted from set-auto-mode-1.
10989 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10990 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10991 (hack-local-variables): Doc fix. Make the mode-only case
10992 respect enable-local-variables and friends.
10993 Respect inhibit-local-variables-regexps for file-locals, but
10994 not for directory-locals.
10995 (set-visited-file-name):
10996 Take account of inhibit-local-variables-regexps.
10997 Whether it applies may change as the file name is changed.
10998 * jka-cmpr-hook.el (jka-compr-install):
10999 * jka-compr.el (jka-compr-uninstall):
11000 Update for inhibit-first-line-modes-suffixes name change.
11001
dd6e3cdd
MR
110022012-01-20 Martin Rudalics <rudalics@gmx.at>
11003
11004 * help-macro.el (make-help-screen): Temporarily restore original
11005 binding for minor-mode-map-alist (Bug#10454).
11006
0d0deb38
JD
110072012-01-19 Julien Danjou <julien@danjou.info>
11008
11009 * color.el (color-name-to-rgb): Use the white color to find the max
11010 color component value and return correctly computed values.
11011 (color-name-to-rgb): Add missing float conversion for max value.
11012
34a02f46
MR
110132012-01-19 Martin Rudalics <rudalics@gmx.at>
11014
11015 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
11016 special state value for window-persistent-parameters.
11017 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
11018 (window--state-put-2): Reset all window parameters to nil before
11019 assigning values of persistent parameters.
11020
606c44c4
AM
110212012-01-18 Alan Mackenzie <acm@muc.de>
11022
11023 Eliminate sluggishness and hangs in fontification of "semicolon
11024 deserts".
11025
cb882333
JB
11026 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
11027 Change value 10000 -> 3000.
606c44c4
AM
11028 (c-state-safe-place): Reformulate so it doesn't stack up an
11029 infinite number of wrong entries in c-state-nonlit-pos-cache.
11030 (c-determine-limit-get-base, c-determine-limit): New functions to
11031 determine backward search limits disregarding literals.
11032 (c-find-decl-spots): Amend commenting.
11033 (c-cheap-inside-bracelist-p): New function which detects "={".
11034
11035 * progmodes/cc-fonts.el
11036 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11037 backward search.
11038 (c-font-lock-declarations): Fix an occurrence of point being
11039 undefined. Check additionally for point being in a bracelist or
11040 near a macro invocation without a semicolon so as to avoid a
11041 fruitless time consuming search for a declarator. Give a more
11042 precise search limit for declarators using the new
11043 c-determine-limit.
11044
f3860cea
GM
110452012-01-18 Glenn Morris <rgm@gnu.org>
11046
11047 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11048 (set-auto-mode): Doc fixes.
11049
1db03b16
GM
110502012-01-17 Glenn Morris <rgm@gnu.org>
11051
0e6038be
GM
11052 * isearch.el (search-nonincremental-instead): Fix doc typo.
11053
1db03b16
GM
11054 * dired.el (dired-insert-directory): Handle newlines in directory name.
11055 (dired-build-subdir-alist): Unescape newlines in directory name.
11056
4cb0aa75
MA
110572012-01-17 Michael Albinus <michael.albinus@gmx.de>
11058
11059 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11060 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11061 (tramp-action-terminal): Use it. (Bug#10530)
11062
1d00653d
SM
110632012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11066
6a6ee00d
MR
110672012-01-16 Martin Rudalics <rudalics@gmx.at>
11068
11069 * window.el (window-state-ignored-parameters): Remove variable.
11070 (window--state-get-1): Rename argument MARKERS to IGNORE.
11071 Handle persistent window parameters. Make copy of clone-of
11072 parameter only if requested. (Bug#10348)
11073 (window--state-put-2): Install a window parameter only if it has
11074 a non-nil value or an existing parameter shall be overwritten.
11075
97912def
MA
110762012-01-15 Michael Albinus <michael.albinus@gmx.de>
11077
11078 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11079
688070a5
EZ
110802012-01-14 Eli Zaretskii <eliz@gnu.org>
11081
11082 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11083 don't pass the (nil) value of `upnode' to string-match.
11084
301afadc
CY
110852012-01-14 Chong Yidong <cyd@gnu.org>
11086
11087 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11088 Fix values recognized by the cursorBlink resource.
301afadc 11089
9e5788aa
PE
110902012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11091
11092 * epg.el (epg--make-temp-file): Avoid permission race condition
11093 when running on old Emacs versions (bug#10403).
11094
3cdb7f5a
GM
110952012-01-14 Glenn Morris <rgm@gnu.org>
11096
11097 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11098
8c82b1b4
AM
110992012-01-13 Alan Mackenzie <acm@muc.de>
11100
11101 Fix filling for when filladapt mode is enabled.
11102
11103 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11104 c-mask-paragraph, pass in `fill-paragraph' rather than
11105 `fill-region-as-paragraph'. (This is a reversion of a previous
11106 change.)
eb864a71
LM
11107 * progmodes/cc-mode.el (c-basic-common-init):
11108 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11109
e517eda4
GM
111102012-01-13 Glenn Morris <rgm@gnu.org>
11111
1498536e
GM
11112 * dired.el (dired-switches-escape-p): New function.
11113 (dired-insert-directory): Use dired-switches-escape-p.
11114 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11115
e517eda4
GM
11116 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11117
328f984d
GM
111182012-01-12 Glenn Morris <rgm@gnu.org>
11119
11120 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11121 changes in adaptive-fill-regexp. (Bug#10276)
11122
2cc769a8
AM
111232012-01-11 Alan Mackenzie <acm@muc.de>
11124
11125 Fix Emacs bug #10463 - put `widen's around the critical spots.
11126
1d00653d 11127 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11128 widen around each invocation of c-state-pp-to-literal. Remove an
11129 unused let variable.
11130
e52c37fa
GM
111312012-01-11 Glenn Morris <rgm@gnu.org>
11132
11133 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11134 Doc fix.
e52c37fa 11135
96f8741e
CY
111362012-01-10 Chong Yidong <cyd@gnu.org>
11137
1d00653d
SM
11138 * net/network-stream.el (network-stream-open-starttls):
11139 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11140 response to the capability command.
11141
b09a806e
GM
111422012-01-10 Glenn Morris <rgm@gnu.org>
11143
11144 * mail/unrmail.el (unrmail): Tweak previous change.
11145
7655cb66
CY
111462012-01-09 Chong Yidong <cyd@gnu.org>
11147
11148 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11149
9d5a8f0b
AM
111502012-01-08 Alan Mackenzie <acm@muc.de>
11151
11152 Optimise font locking in long enum definitions.
11153
11154 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11155 arm to a cond form to handle enums.
11156 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11157 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11158
9a0115ab 111592012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11160
11161 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11162 (Bug#10401)
6bb72cbd 11163
f186bb95
LMI
111642012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11165
29232a68
LMI
11166 * faces.el (set-face-attribute): Clarify the meaning of the nil
11167 frame (bug#10294).
11168
4e5d086d
LMI
11169 * subr.el (with-selected-frame): Mention that the selected frame
11170 is restored (bug#9980).
11171
8e66aebe
LMI
11172 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11173 (bug#9759).
11174
cd394be1 11175 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11176 (password-read): Don't autoload unused function.
11177
adf4e762
JB
111782012-01-07 Juanma Barranquero <lekktu@gmail.com>
11179
11180 * progmodes/which-func.el (which-func-mode): Turn into a
11181 non-interactive function and mark as obsolete (bug#10428).
11182
89bd9ccd
CY
111832012-01-06 Chong Yidong <cyd@gnu.org>
11184
11185 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11186 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11187 functions, along with 1 and -1.
11188
4afee9d5
EZ
111892012-01-06 Eli Zaretskii <eliz@gnu.org>
11190
11191 * time.el (display-time-load-average)
11192 (display-time-default-load-average): Doc fixes. See the thread
11193 starting at
11194 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11195 for the details.
11196
536aea70
GM
111972012-01-06 Glenn Morris <rgm@gnu.org>
11198
665ae865
GM
11199 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11200 has no messages. (Bug#10377)
11201
c869783d
GM
11202 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11203 than Info-edit. (Bug#10385)
11204
2bb4227e
GM
11205 * time.el (display-time-load-average, display-time-next-load-average):
11206 Doc fixes.
11207
7d5944b9
GM
11208 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11209 local setting of buffer-read-only to the input buffer. (Bug#10419)
11210
536aea70
GM
11211 * calendar/calendar.el (calendar-mode):
11212 Locally set scroll-margin to 0. (Bug#10379)
11213
7dccca16
UM
112142012-01-06 Ulrich Mueller <ulm@gentoo.org>
11215
11216 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11217
afbb7930
GM
112182012-01-05 Glenn Morris <rgm@gnu.org>
11219
11220 * eshell/em-unix.el (diff-no-select): Autoload it.
11221 (eshell/diff): Use diff-no-select. (Bug#10420)
11222
04482335
CY
112232012-01-05 Chong Yidong <cyd@gnu.org>
11224
7baca3bc
CY
11225 * shell.el (shell-dynamic-complete-functions): Revert last change.
11226 (shell-command-completion-function): New function.
11227 (shell-completion-vars): Use it to implement
11228 shell-completion-execonly (Bug#10417).
11229
04482335
CY
11230 * custom.el (enable-theme): Don't set custom-safe-themes.
11231
1d00653d
SM
11232 * cus-theme.el (custom-theme-merge-theme):
11233 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11234
bb5aa5d6
MM
112352012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11236
11237 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11238 first prompt in `sql-interacive-mode'.
11239 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11240 keywords.
6df6ae42 11241 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11242 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11243 context of original buffer. Invoke `sql-login-hook'.
11244
a7183d7c
EZ
112452012-01-04 Eli Zaretskii <eliz@gnu.org>
11246
11247 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11248 letters in cite-prefix.
11249
a1eacd1e
LMI
112502012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11251
11252 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11253
787cdb34
CY
112542012-01-03 Chong Yidong <cyd@gnu.org>
11255
1d00653d
SM
11256 * shell.el (shell-dynamic-complete-functions):
11257 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11258 comint-filename-completion first (Bug#10417).
11259
30710442
RS
112602012-01-02 Richard Stallman <rms@gnu.org>
11261
11262 * battery.el (battery-status-function):
11263 Detect when to use battery-yeeloong-sysfs.
11264 (battery-echo-area-format): Add string for Yeeloong.
11265 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11266 (battery-yeeloong-sysfs): New function.
11267
f75bfc33
CY
112682012-01-02 Chong Yidong <cyd@gnu.org>
11269
11270 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11271 (dirtrack): Merge code for handling relative filenames in prompt
11272 from shell-dir-cookie-watcher.
11273 (dirtrack-debug-message): New arg to avoid excess format calls.
11274
11275 * shell.el (shell-dir-cookie-re): Variable deleted.
11276 (shell-dir-cookie-watcher): Function deleted.
11277 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11278 with dirtrack-mode.
11279
651e947e
EZ
112802012-01-01 Eli Zaretskii <eliz@gnu.org>
11281
1d00653d
SM
11282 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11283 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11284 libgnutls-26.dll.
11285
94d4c7dc
AS
112862011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11287
11288 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11289
8d43f3cd
EZ
112902011-12-31 Eli Zaretskii <eliz@gnu.org>
11291
11292 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11293 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11294
98c8795a
MA
112952011-12-29 Michael Albinus <michael.albinus@gmx.de>
11296
11297 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11298 also for alternative shells.
11299 (tramp-open-connection-setup-interactive-shell): Check, whether
11300 the shell is a busybox.
11301 (tramp-send-command): Don't suppress multiple prompts for
11302 busyboxes, it hurts.
11303
51281b32
CY
113042011-12-28 Chong Yidong <cyd@gnu.org>
11305
11306 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11307 (gdb-get-source-file): Move mode line update to
11308 gdb-get-source-file (Bug#10087).
11309
2170cb53
CY
113102011-12-25 Chong Yidong <cyd@gnu.org>
11311
11312 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11313 gud-gdb-marker-filter without taking it as an argument.
11314 (gud-gdb-run-command-fetch-lines): Caller changed.
11315 (gud-gdb-completion-function): New variable.
11316 (gud-gdb-completion-at-point): Use it.
11317 (gud-gdb-completions-1): Split from gud-gdb-completions.
11318
11319 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11320 function as separate arguments.
11321 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11322 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11323 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11324 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11325 (gdb-stopped, def-gdb-auto-update-trigger)
11326 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11327 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11328 Callers changed.
2170cb53
CY
11329 (gud-gdbmi-completions): New function.
11330 (gdb): Use it for generating the completion table.
11331
be8b11bb
AM
113322011-12-24 Alan Mackenzie <acm@muc.de>
11333
11334 Introduce a mechanism to widen the region used in context font
1d00653d 11335 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11336
1d00653d
SM
11337 * progmodes/cc-langs.el (c-before-font-lock-functions):
11338 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11339 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11340 functions to be run just before context (etc.) font locking.
11341
11342 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11343 New, functionality extracted from
be8b11bb 11344 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11345 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11346 (c-after-change): Set c-in-after-change-fontification.
11347 (c-set-fl-decl-start): Rejig its interface, so it can be called
11348 from both after-change and context fontifying.
b81d40f0
JB
11349 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11350 New functions.
11351 (c-standard-font-lock-fontify-region-function): New variable.
11352 (c-font-lock-fontify-region): New function.
be8b11bb 11353
341cf6ac
JL
113542011-12-24 Juri Linkov <juri@jurta.org>
11355
11356 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11357 (Bug#10348)
11358
bffcee0a
MA
113592011-12-23 Michael Albinus <michael.albinus@gmx.de>
11360
11361 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11362 existence of source file. (Bug#10325)
11363
cb5e207c
AM
113642011-12-23 Alan Mackenzie <acm@muc.de>
11365
11366 Fix unstable fontification inside templates.
11367
b81d40f0
JB
11368 * progmodes/cc-langs.el (c-before-font-lock-functions):
11369 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11370 additionally has c-set-fl-decl-start. The other languages (apart
11371 from AWK) have that as a single entry.
11372
b81d40f0
JB
11373 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11374 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11375 c-set-fl-decl-start.
11376
b81d40f0
JB
11377 * progmodes/cc-mode.el (c-common-init, c-after-change):
11378 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11379 (c-set-fl-decl-start): New function, extracted from
11380 c-font-lock-enclosing-decls and enhanced.
11381
60ff536c
JB
113822011-12-23 Juanma Barranquero <lekktu@gmail.com>
11383
11384 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11385
1c4757d6
JL
113862011-12-22 Juri Linkov <juri@jurta.org>
11387
11388 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11389
d031f2c7
CY
113902011-12-22 Chong Yidong <cyd@gnu.org>
11391
11392 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11393
bace743a
DA
113942011-12-21 Drew Adams <drew.adams@oracle.com>
11395
11396 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11397
728a1f2b
JC
113982011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11399
11400 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11401
0d373f73
TZ
114022011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11403
fec0aaa4
TZ
11404 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11405 highlighting and support. Fix up comments for capitalization.
11406 (cfengine-mode-debug): New var.
11407 (cfengine3-mode): Change the modeline indicator to "CFE3".
11408 (cfengine3-font-lock-keywords): Improve defun highlighting.
11409 (cfengine2-actions): Rename from `cfengine-actions'.
11410 (cfengine2-font-lock-keywords): Rename from
11411 `cfengine-font-lock-keywords'.
11412 (cfengine2-imenu-expression): Rename from
11413 `cfengine-imenu-expression'.
11414 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11415 (cfengine2-beginning-of-defun): Rename from
11416 `cfengine-beginning-of-defun'.
11417 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11418 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11419 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11420 modeline indicator to "CFE2".
11421 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11422 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11423
bc86f573
CY
114242011-12-21 Chong Yidong <cyd@gnu.org>
11425
11426 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11427 filename argument.
11428
d45ba96b
MR
114292011-12-20 Martin Rudalics <rudalics@gmx.at>
11430
11431 * window.el (window-normalize-buffer-to-display): Remove.
11432 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11433
a6198c90
CY
114342011-12-19 Chong Yidong <cyd@gnu.org>
11435
11436 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11437 Don't signal an error in a predicate function; return non-nil.
11438 (vc-dir-mark-file): Move the error here.
11439 (vc-dir-mark-unmark): If acting on the region, keep going if one
11440 of the entries cannot be marked/unmarked.
11441 (vc-dir-mark-all-files): If current entry is a directory, mark
11442 only child files, as documented.
11443
34c5fb55
VB
114442011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11445
11446 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11447 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11448 addition.
11449
c803b2b7
JD
114502011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11451
11452 * term/ns-win.el (ns-get-selection-internal)
11453 (ns-store-selection-internal): Declare.
1154d12e
JB
11454 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11455 Declare as obsolete.
11456 (ns-get-pasteboard, ns-paste-secondary):
11457 Use ns-get-selection-internal.
41e9b956 11458 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11459 Use ns-store-selection-internal.
c803b2b7 11460
9cff91f8 114612011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11462
11463 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11464 (vc-deduce-fileset): Doc fix.
99a289d9 11465
f16c898a
AS
114662011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11467
11468 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11469
763237c4
SS
114702011-12-13 Sam Steingold <sds@gnu.org>
11471
11472 * man.el (Man-getpage-in-background): When running under a
11473 window-system, ignore $MANWIDTH and $COLUMNS.
11474
5fc1c122
KH
114752011-12-15 Kenichi Handa <handa@m17n.org>
11476
11477 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11478 (setup-ethiopic-environment-internal): Comment out key-binding for
11479 ethio-toggle-punctuation.
11480
13d49cbb
AM
114812011-12-13 Alan Mackenzie <acm@muc.de>
11482
898169a2
AM
11483 Add the switch statement to AWK Mode.
11484
7a71b18d 11485 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11486 "default" to the keywords regexp.
11487
7a71b18d 11488 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11489 expression as the rest.
1d00653d
SM
11490 (c-nonlabel-token-key): Allow string literals for AWK.
11491 Refactor for the other modes.
898169a2 11492
13d49cbb 11493 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11494 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11495 routines. Limit backward searching in c-font-lock-enclosing.decl.
11496
11497 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11498 pp-state and literal type in addition to the limits.
1d00653d 11499 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11500 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11501 (c-slow-in-literal, c-fast-in-literal): Remove.
11502 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11503
11504 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11505 being in a literal. Add a limit for backward searching.
11506
11507 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11508 c-slow-in-literal.
11509
15e0efc7
SM
115102011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11511
11512 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11513
454592a6
MR
115142011-12-13 Martin Rudalics <rudalics@gmx.at>
11515
11516 * window.el (delete-other-windows): Use correct frame in call to
11517 window-with-parameter.
11518
87393f26
DP
115192011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11520
11521 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11522 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11523 (makefile-gmake-statements, makefile-makepp-statements):
11524 Use it and add new makepp keywords.
11525 (makefile-makepp-font-lock-keywords): Add new patterns.
11526 (makefile-match-function-end): Match new [...] and [[...]].
11527
11636b22
JB
115282011-12-11 Juanma Barranquero <lekktu@gmail.com>
11529
11530 * ses.el (ses-call-printer-return, ses-cell-property-get)
11531 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11532 (ses-create-cell-variable, ses-reset-header-string)
11533 (ses-cell-set-formula, ses-repair-cell-reference-all)
11534 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11535 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11536 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11537 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11538 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11539 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11540 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11541 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11542 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11543 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11544 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11545 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11546
cf018193
VB
115472011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11548
11549 * ses.el: The overall change is to add cell renaming, that is
11550 setting fancy names for cell symbols other than name matching
11551 "\\`[A-Z]+[0-9]+\\'" regexp .
11552 (ses-create-cell-variable): New defun.
11553 (ses-relocate-formula): Relocate formulas only for cells the
11554 symbols of which are not renamed, i.e. symbols whose names do not
11555 match regexp "\\`[A-Z]+[0-9]+\\'".
11556 (ses-relocate-all): Relocate values only for cells the symbols of
11557 which are not renamed.
11558 (ses-load): Create cells variables as the (ses-cell ...) are read,
11559 in order to check row col consistency with cell symbol name only
11560 for cells that are not renamed.
11561 (ses-replace-name-in-formula): New defun.
11562 (ses-rename-cell): New defun.
11563
ee957461
CY
115642011-12-11 Chong Yidong <cyd@gnu.org>
11565
11566 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11567 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11568
9a9e9ef0
MR
115692011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11570
11571 * window.el (other-window): Fix docstring.
11572
92a8eba5
EZ
115732011-12-10 Eli Zaretskii <eliz@gnu.org>
11574
11575 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11576 `from' or `to' address before taking its substring.
11577 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11578 encoded name is chopped in the middle of the encoded string, and
11579 thus displayed encoded.
11580
e152e577
JB
115812011-12-10 Juanma Barranquero <lekktu@gmail.com>
11582
11583 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11584
e5d84bfe
EZ
115852011-12-10 Eli Zaretskii <eliz@gnu.org>
11586
11587 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11588 to use texinfo-update-node and commands that call it if the
11589 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11590 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11591 (texinfo-all-menus-update, texinfo-master-menu)
11592 (texinfo-update-node, texinfo-every-node-update)
11593 (texinfo-multiple-files-update): Doc fix. Warn against updating
11594 all the @node lines.
11595 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11596 argument is numeric. Explain better in the doc string what the
11597 function really does.
11598 (texinfo-insert-master-menu-list): Improve the error message
11599 displayed if there's no menu in the Top node.
11600 (Bug#2975) See also this thread:
e5d84bfe
EZ
11601 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11602
1d84e9bb
MG
116032011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11604
11605 * speedbar.el (speedbar-supported-extension-expressions):
11606 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11607
382c953b
JB
116082011-12-09 Juanma Barranquero <lekktu@gmail.com>
11609
11610 * printing.el (pr-mode-alist):
11611 * simple.el (filter-buffer-substring-functions)
11612 (completion-list-insert-choice-function):
11613 * window.el (window-with-parameter, window-atom-root)
11614 (window-sides-slots, window-size-fixed, window-min-delta)
11615 (window-max-delta, window--resize-mini-window)
11616 (window--resize-child-windows-normal, window-tree)
11617 (delete-other-windows, quit-window, split-window)
11618 (display-buffer-record-window, special-display-buffer-names)
11619 (special-display-regexps, special-display-popup-frame)
11620 (same-window-p, split-window-sensibly)
11621 (display-buffer-overriding-action, display-buffer-alist)
11622 (display-buffer-base-action, display-buffer, switch-to-buffer)
11623 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11624 (fit-window-to-buffer, recenter-positions)
11625 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11626 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11627 and remove unneeded backslashes in docstrings.
11628
39c9faef
SM
116292011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11630
98449af8
SM
11631 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11632
39c9faef
SM
11633 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11634 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11635 end in ".mk".
11636 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11637 when reading the makefile (bug#10116).
11638
86ed9fdc
SM
116392011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11642 (bug#10116).
11643
5580f89d
GM
116442011-12-06 Glenn Morris <rgm@gnu.org>
11645
11646 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11647
28d3917c
CY
116482011-12-06 Chong Yidong <cyd@gnu.org>
11649
11650 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11651
a98edce9
JB
116522011-12-06 Juanma Barranquero <lekktu@gmail.com>
11653
11654 * textmodes/table.el (table-shorten-cell): Fix typo.
11655
e65adfac
CG
116562011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11657
11658 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11659
71cc0b74
EZ
116602011-12-05 Eli Zaretskii <eliz@gnu.org>
11661
11662 * descr-text.el (describe-char): Fix display of strong
11663 right-to-left characters and directional embeddings and overrides.
11664
11665 * simple.el (what-cursor-position): Fix display of codepoints of
11666 strong right-to-left characters.
11667
315bc30d
CY
116682011-12-05 Chong Yidong <cyd@gnu.org>
11669
11670 * faces.el (read-color): Doc fix.
11671
58a70b94
GM
116722011-12-05 Glenn Morris <rgm@gnu.org>
11673
11674 * align.el (align--set-marker): Add doc-string.
11675 Don't try to move something that is not a marker. (Bug#10216)
11676
5158face
GM
116772011-12-04 Glenn Morris <rgm@gnu.org>
11678
11679 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11680 overly zealous deletion of trailing whitespace.
11681
520fca41
JB
116822011-12-04 Juanma Barranquero <lekktu@gmail.com>
11683
11684 * server.el (server-delete-client): On Windows, do not try to delete
11685 the only terminal.
11686 (server-process-filter): On Windows, treat requests for a tty frame as
11687 if they were for a GUI frame if the running server is in GUI mode.
11688
5e605a2e
GM
116892011-12-03 Glenn Morris <rgm@gnu.org>
11690
11691 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11692
5c3fe83f
SM
116932011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11694
6f5e57e7
SM
11695 * electric.el: Streamline electric-indent's hook.
11696 (electric-indent-chars): Revert to simple list.
11697 (electric-indent-functions): New var.
11698 (electric-indent-post-self-insert-function): Use it.
11699
5c3fe83f
SM
11700 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11701 there's no inferior buffer (bug#10196).
11702 (prolog-consult-compile): Don't use toggle-read-only.
11703
6bdac736
MA
117042011-12-02 Michael Albinus <michael.albinus@gmx.de>
11705
11706 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11707 interrupt. (Bug#10187)
11708
6131ba7f
SM
117092011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11710
99c79fee
SM
11711 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11712 (bug#9160).
11713
6131ba7f
SM
11714 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11715 (bug#10191).
11716
cb0a02ea
JL
117172011-12-02 Juri Linkov <juri@jurta.org>
11718
11719 * info.el (Info-search): Display "end of manual" when Isearch
11720 reaches the end of single-file Info manual. (Bug#9918)
11721
66e0570c
EZ
117222011-12-02 Eli Zaretskii <eliz@gnu.org>
11723
11724 * isearch.el (isearch-message-prefix): Run the input method part
11725 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11726
02b16839
JL
117272011-12-02 Juri Linkov <juri@jurta.org>
11728
11729 * isearch.el (isearch-occur): Use `word-search-regexp' for
11730 `isearch-word'.
11731 (isearch-search-and-update): Add condition for `isearch-word' and
11732 call `word-search-regexp'. (Bug#10145)
11733
0b950688
GM
117342011-12-01 Glenn Morris <rgm@gnu.org>
11735
11736 * eshell/em-hist.el (eshell-hist-initialize):
11737 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11738 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11739
9505c3c7
SM
117402011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11741
11742 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11743
1bbe96b2 117442011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11745
a1beca85
SM
11746 * progmodes/verilog-mode.el (verilog-pretty-expr):
11747 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11748 verilog, such as += *= and the like.
11749 (verilog-assignment-operator-re): Regular expression to find the
11750 assigment operator in a verilog assignment.
11751 (verilog-assignment-operation-re): Regular expression to find an
11752 assignment statement for pretty-expr.
11753 (verilog-in-attribute-p): Query returns true if point is in an
11754 attribute context; used to skip these for expression line up from
11755 pretty-expr.
11756 (verilog-in-parameter-p): Query returns true if point is in an
11757 parameter definition context; used to skip these for expression
11758 line up from pretty-expr.
11759 (verilog-in-parenthesis-p): Query returns true if point is in a
11760 parenthetical expression, specifically ( ) but not [ ] or { };
11761 used by pretty-expr.
11762 (verilog-just-one-space): If there is no space, don't add one.
11763 (verilog-get-lineup-indent-2): Specifically skip just attribute
11764 contexts for expression lineup, rather than skipping all
11765 parenthetical expressions.
11766 (verilog-calculate-indent): Fix comment, and fix indent.
11767 (verilog-do-indent): Indent declarations in lists (suggested by
11768 Joachim Lechner).
11769 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11770 skeleton items.
11771 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11772 by Alain Mellan).
11773
1bbe96b2 117742011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11775
11776 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11777 parameters with embedded comments. Reported by Ray Stevens.
11778 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11779 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11780 Reported by Tim Holt.
11781 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11782 instantiated by upper module causing wrong expansion until AUTOed a
11783 second time. Reported by K C Buckenmaier.
11784 (verilog-diff-auto): Fix showing .* as a difference when
11785 `verilog-auto-star-save' off. Reported by Dan Dever.
11786 (verilog-auto-reset, verilog-read-always-signals)
11787 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11788 temporary signals in reset list if
11789 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11790 style to each signal's assignment type, bug381.
11791 Reported by Thomas Esposito.
6288f0ca
WS
11792 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11793 (verilog-uvm-statement-re): Support UVM indentation and
11794 highlighting, with old OVM keywords only.
a1beca85 11795 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11796 Support AUTOTIEOFF creating non-wire data types.
11797 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11798 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11799 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11800 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11801 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11802 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11803 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11804 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11805 non-numeric vector width. Reported by Alex Reed.
11806 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11807 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11808 (verilog-auto-delete-trailing-whitespace):
11809 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11810 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11811 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11812 Fix verilog-scan-cache corruption when running user AUTO expansion
11813 hooks that call indentation routines.
11814 (verilog-simplify-range-expression): Fix typo ignoring lower case
11815 identifiers.
11816 (verilog-delete-auto): Fix delete-autos to also remove user created
11817 automatics, as long as they start with AUTO.
11818 (verilog-batch-diff-auto, verilog-diff-auto)
11819 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11820 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11821 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11822 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11823 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11824 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11825 is disabled and its cache will get corrupt, causing AUTOS not to
11826 expand. Instead use only -quick functions.
11827 (verilog-scan-region): Fix scanning over escaped quotes.
11828 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11829 (verilog-re-search-backward-quick)
11830 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11831 related functions now ignore strings, to fix misparsing of strings
11832 with magic comments embedded in them.
a1beca85
SM
11833 (verilog-read-auto-template):
11834 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11835 Reported by Brad Dobbie.
11836 (verilog-read-auto-template):
11837 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11838 Reported by Brad Dobbie.
6288f0ca
WS
11839 (verilog-auto-inst, verilog-auto-inst-param)
11840 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11841 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11842 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11843 debugging templates without merge conflicts, bug357.
11844 Reported by Brad Dobbie.
11845 (verilog-read-auto-template):
11846 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11847 Reported by Brad Dobbie.
11848 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11849 abbrevs so user won't be asked to save.
11850 (verilog-read-auto-lisp-present): Fix to start at beginning of
11851 buffer in case called outside of verilog-auto.
11852 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11853 to "X-2". Reported by Matthew Myers.
11854 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11855 all inputs from module templates. Reported by Leith Johnson.
11856 (verilog-module-inside-filename-p): Fix locating programs as with
11857 modules.
11858 (verilog-auto-inst-port): Fix vl-width expressions when using
11859 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11860 (verilog-decls-get-regs, verilog-decls-get-signals,
11861 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11862 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11863 verilog-read-decls): Combine reg and wire structures into one var
11864 structure to represent SystemVerilog concepts.
11865 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11866 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11867 (verilog-auto-wire-type, verilog-insert-definition):
11868 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11869 SystemVerilog "logic" keyword instead of "wire"/"reg".
11870 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11871 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11872 ifdef or generate if so there's not a driver conflict).
11873 Reported by Matthew Myers.
11874 (verilog-auto-declare-nettype, verilog-insert-definition):
11875 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11876 `default_nettype none. Reported by Julian Gorfajn.
11877 (verilog-read-always-signals-recurse, verilog-read-decls)
11878 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11879 malformed end statement, bug325. Reported by Joshua Wise and
11880 Andrew Drake.
11881 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11882 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11883 when expanding .* in interfaces, bug320.
11884 Reported by Pierre-David Pfister.
6288f0ca 11885 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11886 name and open parenthesis, bug317.
11887 Reported by Pierre-David Pfister.
6288f0ca
WS
11888 (verilog-simplify-range-expression): Fix simplification of
11889 multiplications inside AUTOWIRE connections, bug303.
11890 (verilog-auto-inst-port): Support parameter expansion in
11891 multidimensional arrays.
11892 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11893 after "assert property". Reported by Julian Gorfajn.
11894 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11895 with multiplication, bug303.
11896 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11897 Reported by Jan Frode Lonnum.
11898
1bbe96b2
GM
118992011-11-30 Juanma Barranquero <lekktu@gmail.com>
11900
11901 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11902 (hfy-shell-file-name, hfy-shell):
11903 * international/fontset.el (x-decompose-font-name): Fix typos.
11904
119052011-11-29 Ken Brown <kbrown@cornell.edu>
11906
11907 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11908 (gdb-version): Remove defvar.
11909 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11910 (gdb-gud-context-command, gdb-non-stop-handler)
11911 (gdb-current-context-command, gdb-stopped): Use it.
11912 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11913 (gdb-non-stop-handler): Don't enable pretty-printing here.
11914 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11915 non-stop mode. Use the following.
11916 (gdb-check-target-async): New defun.
11917 (gud-watch, gdb-stopped): Fix whitespace.
11918 (gdb-get-source-file): Don't try to display the source file if
11919 `gdb-main-file' is nil.
11920
119212011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11922
11923 * align.el: Try to generate fewer markers (bug#10047).
11924 (align--set-marker): New macro.
11925 (align-region): Use it.
11926
c935221f
SM
119272011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11928
11929 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11930
e70b5064
CY
119312011-11-29 Chong Yidong <cyd@gnu.org>
11932
11933 * indent.el (indent-for-tab-command, indent-according-to-mode):
11934 Doc fix.
11935 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11936
f3af92b7
MA
119372011-11-29 Michael Albinus <michael.albinus@gmx.de>
11938
11939 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11940 aware of remote file names. (Bug#10124)
11941
ed472be9
CY
119422011-11-29 Chong Yidong <cyd@gnu.org>
11943
11944 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11945
24510c22
SM
119462011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * files.el (find-file): Don't use force-same-window (bug#10144).
11949 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11950 use pop-to-buffer if the selected window can't be used.
11951 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11952
c60c3703
EZ
119532011-11-28 Eli Zaretskii <eliz@gnu.org>
11954
11955 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11956 special-mode-map.
11957
e95def75
CY
119582011-11-28 Chong Yidong <cyd@gnu.org>
11959
11960 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11961
c3f1c606
NR
119622011-11-27 Nick Roberts <nickrob@snap.net.nz>
11963
11964 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11965 gdb-get-source-file-list on gdb-create-source-file-list.
11966
00db469c
EZ
119672011-11-26 Eli Zaretskii <eliz@gnu.org>
11968
11969 * whitespace.el (whitespace-newline): Use a different foreground
11970 color for 16-color light-background displays.
11971
4ad3bc2a
CY
119722011-11-24 Chong Yidong <cyd@gnu.org>
11973
11974 * window.el (display-buffer--special-action): Doc fix.
11975
e9fce1ac
JB
119762011-11-25 Juanma Barranquero <lekktu@gmail.com>
11977
11978 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11979 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11980 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11981 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11982 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11983 (avl-tree-stack-first):
11984 * emacs-lisp/cconv.el (cconv--analyse-use):
11985 * net/gnutls.el (gnutls-negotiate): Fix typos.
11986
cb825e5d
GM
119872011-11-24 Glenn Morris <rgm@gnu.org>
11988
3adbe224
GM
11989 * lpr.el (lpr-windows-system, lpr-lp-system):
11990 * mail/binhex.el (binhex-begin-line):
11991 * progmodes/grep.el (grep-history, grep-find-history):
11992 * textmodes/flyspell.el:
11993 * vc/pcvs-defs.el (cvs-global-menu):
11994 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11995 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11996 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11997
321decc8
GM
11998 * net/tls.el: Fix case of "GnuTLS".
11999
420b63ad
GM
12000 * paths.el (rmail-file-name): Format doc-string for make-docfile.
12001
cb825e5d
GM
12002 * version.el (emacs-build-system): Give it a doc-string.
12003
a0649f08
JL
120042011-11-24 Juri Linkov <juri@jurta.org>
12005
12006 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
12007
c0bc0fd4
GM
120082011-11-24 Glenn Morris <rgm@gnu.org>
12009
12010 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
12011 if called on a non-mime message just toggle the headers. (Bug#8006)
12012
20db1522
JB
120132011-11-24 Juanma Barranquero <lekktu@gmail.com>
12014
12015 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
12016 (allout-lead-with-comment-string, allout-structure-deleted-hook)
12017 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
12018 (allout-rebullet-heading, allout-open-sibtopic)
12019 (allout-toggle-current-subtree-encryption)
12020 (allout-toggle-subtree-encryption, allout-encrypt-string)
12021 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
12022 (allout-distinctive-bullets-string, allout-auto-activation):
12023 * window.el (window-normalize-buffer-to-display):
12024 * progmodes/verilog-mode.el (verilog-batch-indent):
12025 * textmodes/bibtex.el (bibtex-field-braces-opt)
12026 (bibtex-field-strings-opt):
12027 * vc/cvs-status.el (cvs-tree-merge):
12028 Fix typos.
12029
7262a87c
MA
120302011-11-23 Michael Albinus <michael.albinus@gmx.de>
12031
12032 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
12033 `non-essential' to t, in order to avoid remote connections.
12034
283430a1
EZ
120352011-11-23 Eli Zaretskii <eliz@gnu.org>
12036
a1beca85
SM
12037 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12038 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12039 case-insensitively.
12040
d2992a38
ML
120412011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12042
12043 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12044
50419064
GM
120452011-11-23 Glenn Morris <rgm@gnu.org>
12046
da94eca1
GM
12047 * paths.el (rmail-file-name): Reformat the doc-string so that it
12048 is picked up.
12049
9aac4de2
GM
12050 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12051 (rmail-auto-file): Ignore case in the "special" field names,
12052 as mail-fetch-field does for all others.
12053
8038d2d2
GM
12054 * mail/rmail.el (rmail-forward):
12055 * mail/rmailkwd.el (rmail-set-label):
12056 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12057 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12058
f3fe222a
GM
12059 * mail/rmail.el (rmail-current-message): Doc fix.
12060
50419064
GM
12061 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12062
28109f49
SM
120632011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12066
394c65f1
GM
120672011-11-22 Glenn Morris <rgm@gnu.org>
12068
12069 * mail/rmailmm.el (test-rmail-mime-handler)
12070 (test-rmail-mime-bulk-handler)
12071 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12072
f2a0aa3a
JL
120732011-11-21 Juri Linkov <juri@jurta.org>
12074
1154d12e
JB
12075 * calc/calc.el (calc-read-key-sequence):
12076 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12077
9c34a344
LMI
120782011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12079
12080 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12081 Tell the caller that the next line needs recomputation, even
12082 though it doesn't start a sexp (bug#10094).
12083
f04a3be9
SM
120842011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12085
12086 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12087
7978747f
SM
120882011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12089
f04a3be9
SM
12090 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12091 Use force-same-window.
7978747f 12092
fe7a3057
JB
120932011-11-20 Juanma Barranquero <lekktu@gmail.com>
12094
12095 * descr-text.el (describe-char-unicode-data):
12096 * json.el (json-string-escape):
12097 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12098 (Footnote-unicode, Footnote-style-p):
12099 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12100
24901d61
CY
121012011-11-20 Chong Yidong <cyd@gnu.org>
12102
12103 * window.el (replace-buffer-in-windows): Restore interactive spec.
12104
bac7ff22
SM
121052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12106
24f3d7b9
SM
12107 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12108
bac7ff22
SM
12109 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12110 (byte-compile-global-not-obsolete-vars): New var.
12111 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12112 Use it.
12113 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12114
cd1181db
JB
121152011-11-20 Juanma Barranquero <lekktu@gmail.com>
12116
12117 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12118 * progmodes/pascal.el (electric-pascal-equal):
12119 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12120 * xml.el (xml-substitute-special): Fix typos.
12121
7fb18e9e
GM
121222011-11-20 Glenn Morris <rgm@gnu.org>
12123
12124 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12125 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12126 Doc fixes.
12127 (rmail-decode-mime-charset): Mark as obsolete.
12128
12129 * mail/rmailsum.el (rmail-message-regexp-p-1):
12130 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12131 Before using mime functions, check they are set. (Bug#10077)
12132
d5a6b3ba
JL
121332011-11-19 Juri Linkov <juri@jurta.org>
12134
12135 * info.el (Info-finder-find-node): Use `package--builtins' instead
12136 of `package-alist'. Use node names formed by the pattern "Keyword "
12137 and the keyword name.
12138
e981b61f
AS
121392011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12140
1d00653d 12141 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12142
3ffbc301
JL
121432011-11-19 Juri Linkov <juri@jurta.org>
12144
12145 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12146 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12147 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12148 `old-history', `old-history-forward'. Add let-binding
12149 `window-selected'. Remove calls to `kill-buffer',
12150 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12151 before calling `Info-find-node', so `Info-find-node-2' will reread
12152 the Info file. Restore window positions only when `window-selected'
12153 is non-nil.
12154
30c62133
JL
121552011-11-19 Juri Linkov <juri@jurta.org>
12156
12157 * isearch.el (isearch-lazy-highlight-new-loop):
12158 Remove condition `(not isearch-error)'. (Bug#9918)
12159
12160 * misearch.el (multi-isearch-search-fun): Add condition
12161 `(not bound)' to ignore lazy-highlighting search.
12162 Add the search-failed message "end of multi" when the end of
12163 multi-sequence is reached. Uncapitalize the search-failed
12164 message "Repeat for next buffer".
12165
12166 * info.el (Info-search): Add the search-failed message
12167 "end of the manual" when the end of the manual is reached
12168 in Isearch mode.
12169
645ca9cf
JL
121702011-11-19 Juri Linkov <juri@jurta.org>
12171
12172 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12173 Use non-destructive `remove' instead of `delete' because
12174 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12175 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12176
df754f66
JL
121772011-11-19 Juri Linkov <juri@jurta.org>
12178
12179 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12180 to nil instead of binding `search-ring' and `regexp-search-ring'.
12181 (Bug#9185)
12182
0e23d96a
EZ
121832011-11-19 Eli Zaretskii <eliz@gnu.org>
12184
12185 * simple.el (line-move): Force movement by logical lines for any
12186 hscrolled window, not only when auto-hscroll-mode is on.
12187 (line-move-visual): Update doc string to that effect. (Bug#10076)
12188
8a6ccb66
AS
121892011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12190
12191 * language/european.el (macintosh): Define as alias for mac-roman.
12192
49ae5b39
EZ
121932011-11-19 Eli Zaretskii <eliz@gnu.org>
12194
12195 * mail/rmailmm.el (rmail-mime-display-header)
12196 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12197 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12198 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12199 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12200 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12201 of a raw aref.
12202 (rmail-mime-entity-segment): To get past the tagline, move forward
12203 2 more lines, to account for the 2 empty lines that precede and
12204 follow the line with the buttons.
12205 (rmail-mime-update-tagline): Move one more line, to get past the
12206 empty line that follows the buttons in the tagline. (Bug#9520)
12207
c56cad4a
MR
122082011-11-19 Martin Rudalics <rudalics@gmx.at>
12209
12210 * window.el (window-max-delta-1, window-min-delta-1)
12211 (window-min-size-1, window-state-get-1, window-state-put-1)
12212 (window-state-put-2): Use "window--" prefix.
12213
cbe71af3
SM
122142011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12215
2ad52c60
SM
12216 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12217 (smie-warning-count): New var.
12218 (smie-set-prec2tab): Use it.
12219 (smie-bnf->prec2): Improve warnings. Add docstring.
12220 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12221 (smie-bnf--set-class): New function.
12222 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12223 corner case.
12224
6944dbc1
SM
12225 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12226 (compilation-error-properties, compilation-move-to-column):
12227 Handle compilation-first-column while in the target buffer.
12228
c400c4d7
SM
12229 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12230 Don't hardcode point-min==1.
12231
6dbe3e96
SM
12232 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12233 (eshell-rewrite-for-command): Remove workaround.
12234 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12235 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12236 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12237
cbe71af3
SM
12238 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12239
a8e1496d
GM
122402011-11-17 Glenn Morris <rgm@gnu.org>
12241
12242 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12243 Ignore buffer-local generated-autoload-file if it is the same
12244 as the global value. (Bug#10049)
12245
df85d315
JB
122462011-11-17 Juanma Barranquero <lekktu@gmail.com>
12247
12248 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12249 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12250 (reftex-toc-previous-heading, reftex-toc-max-level)
12251 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12252 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12253 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12254 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12255 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12256 (reftex-toc-rename-label, reftex-toc-visit-location)
12257 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12258 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12259 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12260 leaving "*toc*" only for references to the buffer.
12261
a0c2d0ae
MR
122622011-11-17 Martin Rudalics <rudalics@gmx.at>
12263
12264 * window.el (window-resize, delete-window, split-window):
12265 Replace window-splits by window-combination-resize.
1d00653d 12266 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12267
35c0bac8
GM
122682011-11-17 Glenn Morris <rgm@gnu.org>
12269
12270 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12271 Make bash entry derive from sh entry, not shell entry.
12272
d0c8fc8a
MA
122732011-11-16 Michael Albinus <michael.albinus@gmx.de>
12274
7262a87c
MA
12275 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12276 local file name.
12277
7877f373
JB
122782011-11-16 Juanma Barranquero <lekktu@gmail.com>
12279
12280 * menu-bar.el (menu-bar-file-menu):
12281 * printing.el (pr-ps-utility):
12282 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12283 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12284 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12285 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12286 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12287 (icalendar--convert-cyclic-to-ical)
12288 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12289 (icalendar--convert-ical-to-diary)
12290 (icalendar--convert-recurring-to-diary)
12291 (icalendar--convert-non-recurring-all-day-to-diary)
12292 (icalendar-import-format-sample):
12293 * progmodes/idlw-shell.el (idlwave-shell-mode):
12294 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12295 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12296 (vhdl-ps-print-init): Fix typos.
12297
10649b82
KM
122982011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12299
9d0cfcd6
GM
12300 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12301 FSF and collapse date sequence, obscure author/maintainer email address
12302 better, remove extra version line, track relocation of author's webpage.
10649b82 12303
9d0cfcd6
GM
12304 * progmodes/python.el (python-pdbtrack-input-prompt)
12305 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12306 regular python pdb prompts. Adjustments shamelessly taken exactly as
12307 suggested in EmacsWiki page (tiny change):
12308 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12309
58179cce
JB
123102011-11-16 Juanma Barranquero <lekktu@gmail.com>
12311
12312 * expand.el (expand-pos, expand-index, expand-point):
12313 Remove redundant info from docstring.
12314 (expand-add-abbrevs): Doc fix.
12315 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12316 (expand-sample-perl-mode-expand-list): Fix typos.
12317
12318 * net/dbus.el (dbus-event-member-name):
12319 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12320 * term/pc-win.el (msdos-create-frame-with-faces):
12321 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12322
b6f67890
MR
123232011-11-16 Martin Rudalics <rudalics@gmx.at>
12324
12325 * window.el (split-window, window-state-get-1)
12326 (window-state-put-1, window-state-put-2): Rename occurrences of
12327 window-nest to window-combination-limit.
1d00653d 12328 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12329
ce7ddba0
CY
123302011-11-16 Chong Yidong <cyd@gnu.org>
12331
12332 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12333 regexp (Bug#10033).
12334
3ae704f4
SM
123352011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12338 `completing-read' will remove *Completions* and will preserve
12339 current-buffer for us.
12340 (tmm-add-prompt): Users of *Completions* will always (re)set its
12341 major mode.
12342 (tmm-old-comp-map): Remove.
12343
6ad1cdde
GM
123442011-11-16 Glenn Morris <rgm@gnu.org>
12345
12346 * mail/rmailedit.el: Require rmailmm when compiling.
12347 (rmail-old-mime-state): New declaration.
12348 (rmail-edit-current-message): If editing a mime message,
12349 edit the "raw" message from the mbox buffer.
12350 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12351
d20faa20
GM
123522011-11-15 Glenn Morris <rgm@gnu.org>
12353
12354 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12355 which wasn't being used. Add optional arg to force given state.
12356 (rmail-mime): Add optional arg to force given state.
12357
c7015153
JB
123582011-11-15 Juanma Barranquero <lekktu@gmail.com>
12359
12360 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12361 * frame.el (display-mm-dimensions-alist):
12362 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12363 (outline-move-subtree-down):
12364 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12365 (newsticker--treeview-do-get-node):
12366 * net/quickurl.el (quickurl-list-buffer-name):
12367 * progmodes/dcl-mode.el (dcl-mode):
12368 * progmodes/gdb-mi.el (gdb-mapcar*):
12369 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12370
45261b50
GM
123712011-11-15 Glenn Morris <rgm@gnu.org>
12372
12373 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12374 in a boolean sense, so just make it a boolean, and fix the doc.
12375 (rmail-show-mime-function, rmail-mime-feature)
12376 (rmail-require-mime-maybe): Doc fixes.
12377 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12378
12379 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12380
0d26e0b6
JB
123812011-11-15 Juanma Barranquero <lekktu@gmail.com>
12382
12383 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12384 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12385 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12386 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12387
447f30f6
GM
123882011-11-15 Glenn Morris <rgm@gnu.org>
12389
672b871d
GM
12390 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12391 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12392 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12393 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12394 (rmail-mime, rmail-show-mime): Doc fixes.
12395
f6aa5bb1
GM
12396 * term/ns-win.el (mode-line-frame-identification):
12397 Leave it alone. (Bug#10051)
12398
947cd66b
GM
12399 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12400
447f30f6
GM
12401 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12402 Handle empty buffers. (Bug#9978)
12403
0b381c7e
JB
124042011-11-14 Juanma Barranquero <lekktu@gmail.com>
12405
12406 * international/mule.el (define-charset):
12407 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12408 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12409 * progmodes/verilog-mode.el (verilog-backward-token):
12410 * textmodes/ispell.el (lookup-words):
12411 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12412
71e027ac
GM
124132011-11-14 Glenn Morris <rgm@gnu.org>
12414
56632ce4
GM
12415 * progmodes/executable.el
12416 (executable-make-buffer-file-executable-if-script-p):
12417 Handle file-modes returning nil.
12418
40500957
GM
12419 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12420 message - not necessary, and causes problems. (Bug#9831)
12421
071c2340
GM
12422 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12423
d3cfca60
GM
12424 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12425
71e027ac
GM
12426 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12427 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12428 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12429
89d61221
MR
124302011-11-12 Martin Rudalics <rudalics@gmx.at>
12431
12432 * window.el (window-resize, delete-window): Use window-splits
12433 variable instead of function.
12434 (window-state-get-1, window-state-put-2, window-state-put):
12435 Don't deal with windows' splits status.
12436
98282f6f
GM
124372011-11-12 Glenn Morris <rgm@gnu.org>
12438
12439 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12440 (apropos-documentation): Doc fixes.
12441
40a8bdf6
JB
124422011-11-11 Juanma Barranquero <lekktu@gmail.com>
12443
12444 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12445 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12446
65bd19ff
SM
124472011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12448
12449 * electric.el (electric-indent-post-self-insert-function): Make it
12450 possible for a char to only indent in some circumstances.
12451 (electric-indent-mode): Simplify.
12452
54f9154c
MR
124532011-11-11 Martin Rudalics <rudalics@gmx.at>
12454
12455 * window.el (windows-with-parameter): Remove unused function.
12456 (windows-at-side): Rename to window-at-side-list.
12457 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12458 (window-side-check, window-size-ignore, window-size-fixed-1)
12459 (window-in-direction-2): Prefix with "window--".
12460 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12461
68cbc58b
GM
124622011-11-11 Glenn Morris <rgm@gnu.org>
12463
12464 * subr.el (eval-after-load): If FILE is already loaded,
12465 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12466
b2621720
GM
124672011-11-10 Glenn Morris <rgm@gnu.org>
12468
9a4de110
GM
12469 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12470 Call svn via vc-svn-command rather than vc-do-command.
12471 (vc-svn-command): Add --non-interactive. (Bug#9993)
12472 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12473
b2621720
GM
12474 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12475 Add toggle-read-only. (Bug#7292)
12476 * files.el (toggle-read-only): Mention that it should only
12477 be used interactively. (Bug#10006)
12478
1dce7193
SM
124792011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12480
d9ac1a1e
SM
12481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12482 Adjust regexp for OCaml warnings.
12483
0c325082
SM
12484 * electric.el (electric-pair-post-self-insert-function): Let user
12485 turn it off buffer-locally (bug#9932).
12486
90132c14
SM
12487 * progmodes/python.el (python-beginning-of-statement):
12488 Rewrite (bug#2703).
12489
1dce7193
SM
12490 * progmodes/compile.el: Better handle TABs (bug#9749).
12491 (compilation-internal-error-properties)
12492 (compilation-next-error-function): Obey the target buffer's
12493 compilation-error-screen-columns.
12494
c4e7c63a
JB
124952011-11-09 Juanma Barranquero <lekktu@gmail.com>
12496
12497 * progmodes/meta-mode.el: Remove obsolete comments.
12498 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12499 Fix typos in docstrings.
12500
2cffd681
MR
125012011-11-09 Martin Rudalics <rudalics@gmx.at>
12502
12503 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12504 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12505 (window--resizable): New function. Make all callers of
12506 window-resizable call window--resizable instead.
12507 (window-resizable): Rewrite in terms of window--resizable.
12508
0edcba87
GM
125092011-11-08 Glenn Morris <rgm@gnu.org>
12510
12511 * progmodes/delphi.el (delphi-mode-syntax-table):
12512 Let define-derived-mode define a proper syntax table. (Bug#9994)
12513
4b0d61e3
SM
125142011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12515
12516 * window.el: Stay away from defsubst.
12517 (window-list-no-nils): Remove.
12518 (window-state-get-1, window-state-get): Use backquote instead.
12519
cd394be1 125202011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12521
4b0d61e3 12522 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12523 Fix incorrect use of default argument in `completing-read'.
12524
e1c2c6f2
MR
125252011-11-08 Martin Rudalics <rudalics@gmx.at>
12526
12527 * window.el (display-buffer-function, special-display-function):
12528 Mention display-buffer-record-window but do not mention
12529 help-setup parameter in doc-strings.
b3f4a882 12530 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12531
105216ed
CY
125322011-11-08 Chong Yidong <cyd@gnu.org>
12533
12534 * window.el (window-total-height, window-total-width): Doc fix.
12535 (window-body-size): Move from C.
12536 (window-body-height, window-body-width): Move to C.
12537
0a9f9ab5
SM
125382011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * window.el: Make special-display like display-buffer-alist (bug#9532).
12541 (display-buffer--special-action): New function, morphed
12542 from display-buffer--special.
12543 (display-buffer): Use it to handle special-display-buffers at higher
12544 priority (just after display-buffer-alist).
12545 (display-buffer-fallback-action, display-buffer--other-frame-action)
12546 (pop-to-buffer-same-window): Remove display-buffer--special.
12547
a769dd15
GM
125482011-11-07 Glenn Morris <rgm@gnu.org>
12549
12550 * calendar/cal-menu.el (cal-menu-set-date-title):
12551 Do nothing if not in a calendar. (Bug#9976)
12552
05a61ee3
SM
125532011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12554
12555 * files.el (find-file): Always use selected-window.
12556
be7f5545
MR
125572011-11-07 Martin Rudalics <rudalics@gmx.at>
12558
12559 * window.el (window-combinations): Make WINDOW argument
12560 mandatory. Rewrite doc-string.
12561 (walk-window-subtree, window-atom-check, window-min-delta)
12562 (window-max-delta, window--resize-this-window)
12563 (window--resize-root-window-vertically, window-tree)
12564 (balance-windows, window-state-put): Rewrite doc-strings as to
12565 not mention the term "subwindow".
12566 (window--resize-subwindows-skip-p): Rename to
12567 window--resize-child-windows-skip-p.
12568 (window--resize-subwindows-normal): Rename to
12569 window--resize-child-windows-normal.
12570 (window--resize-subwindows): Rename to
12571 window--resize-child-windows.
12572 (window-or-subwindow-p): Rename to window--in-subtree-p.
12573
3c6702ef
ML
125742011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12575
12576 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12577 Ensure that mbox format messages end in two newlines (Bug#9974).
12578
49745b39
CY
125792011-11-06 Chong Yidong <cyd@gnu.org>
12580
12581 * window.el (window-combination-p): Function deleted; its
12582 side-effect is not used in any existing code.
12583 (window-combinations, window-combined-p): Call window-*-child
12584 directly.
12585
24300f5f
CY
125862011-11-05 Chong Yidong <cyd@gnu.org>
12587
12588 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12589 (window-size-ignore, window-state-get): Callers changed.
12590 (window-normalize-window): Rename from window-normalize-any-window.
12591 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12592 (window-normalize-live-window): Delete.
447f16b8
CY
12593 (window-combination-p, window-combined-p, window-combinations)
12594 (walk-window-subtree, window-atom-root, window-min-size)
12595 (window-sizable, window-sizable-p, window-size-fixed-p)
12596 (window-min-delta, window-max-delta, window-resizable)
12597 (window-resizable-p, window-full-height-p, window-full-width-p)
12598 (window-current-scroll-bars, window-point-1, set-window-point-1)
12599 (window-at-side-p, window-in-direction, window-resize)
12600 (adjust-window-trailing-edge, maximize-window, minimize-window)
12601 (window-deletable-p, delete-window, delete-other-windows)
12602 (record-window-buffer, unrecord-window-buffer)
12603 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12604 (quit-window, split-window, window-state-put)
12605 (set-window-text-height, fit-window-to-buffer)
12606 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12607
89bd5ee1
EZ
126082011-11-04 Eli Zaretskii <eliz@gnu.org>
12609
53479029
EZ
12610 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12611 rfc2047-decode-string.
12612 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12613 warnings.
12614
89bd5ee1
EZ
12615 * window.el (window-body-height, window-body-width): Mention in
12616 the doc string that the return values are in frame's canonical
12617 units. (Bug#9949)
12618
bd17fdee
AM
126192011-11-03 Alan Mackenzie <acm@muc.de>
12620
12621 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12622 change in cc-engine.el.
12623
acc825c5
SM
126242011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12625
12626 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12627
1885e5b8
MR
126282011-11-02 Martin Rudalics <rudalics@gmx.at>
12629
12630 * window.el (quit-window): Call unrecord-window-buffer after
12631 showing another buffer in the window. (Bug#9937)
acc825c5 12632 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12633
ebe06da9
JB
126342011-11-02 Juanma Barranquero <lekktu@gmail.com>
12635
12636 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12637 Accept status with more than 9 shelves. (Bug#9935)
12638 Reported by Colin D Bennett <colin@gibibit.com>.
12639
4ee88440
MR
126402011-11-01 Martin Rudalics <rudalics@gmx.at>
12641
12642 * help.el (with-help-window): Don't reference
12643 temp-buffer-show-specifiers in doc-string.
12644
08e1d82c
AS
126452011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12646
12647 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12648 menu-item.
12649
84bd6e9e
VJL
126502011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12651
12652 * whitespace.el: New version 13.2.2.
12653 (whitespace-newline-mode): Disable properly. Reported by Sarah
12654 <EmacsWiki>.
12655
dba0634a
UJ
126562011-10-30 Ulf Jasper <ulf.jasper@web.de>
12657
12658 * net/newst-treeview.el: Remove "Time-stamp".
12659 (newsticker--group-manage-orphan-feeds): Do not call
12660 newsticker--treeview-tree-update.
db22a3c2
JB
12661 (newsticker-treeview-update, newsticker-treeview):
12662 Call newsticker--treeview-tree-update if necessary.
dba0634a 12663
3d8daefe
MR
126642011-10-30 Martin Rudalics <rudalics@gmx.at>
12665
12666 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12667 (window-iso-combinations): Remove "iso-" infix.
12668 Suggested by Chong Yidong.
3d8daefe
MR
12669 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12670 (window-max-delta-1, window-resize, window--resize-siblings)
12671 (window--resize-this-window, adjust-window-trailing-edge)
12672 (split-window, balance-windows-1)
12673 (shrink-window-if-larger-than-buffer):
12674 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12675 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12676
1bc4c3ae
SM
126772011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12678
12679 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12680 in place (bug#9907).
12681 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12682 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12683 (eshell-structure-basic-command, eshell-rewrite-while-command)
12684 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12685 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12686 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12687 (eshell-do-pipelines-synchronously, eshell-eval-command):
12688 Use backquotes and prefer setq to set.
12689 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12690 (eshell-macrop): Use functionp.
c1e2f5fa 12691 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12692
30b65d9c
CY
126932011-10-30 Chong Yidong <cyd@gnu.org>
12694
12695 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12696 instead of set-mark (Bug#9810).
12697
2d197ffb
CY
126982011-10-30 Chong Yidong <cyd@gnu.org>
12699
12700 * window.el (split-window-below, split-window-right): Rename from
12701 split-window-above-each-other and split-window-side-by-side
12702 respectively. All callers changed.
12703 (split-window-sensibly, split-window-sensibly): Use them.
12704 (split-window-keep-point): Doc fix.
12705
12706 * isearch.el: Add isearch-scroll property to split-window-below
12707 and split-window-right.
12708
12709 * follow.el (follow-mode):
12710 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12711 * progmodes/ada-xref.el (ada-gdb-application):
12712 * emulation/vip.el (vip-buffer-in-two-windows):
12713 * image-dired.el (image-dired-dired-with-window-configuration):
12714 * dired-x.el (dired-do-find-marked-files):
12715 * dired.el (dired-pop-to-buffer):
12716 * bs.el (bs--show-with-configuration):
12717 * vc/emerge.el (emerge-setup-windows):
12718 * textmodes/two-column.el (2C-two-columns):
12719 * textmodes/reftex-toc.el (reftex-toc):
12720 * progmodes/gdb-mi.el (gdb-setup-windows):
12721 * progmodes/fortran.el (fortran-window-create):
12722 * net/newst-treeview.el (newsticker--treeview-window-init):
12723 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12724 * emulation/tpu-edt.el (tpu-gold-map):
12725 * emulation/crisp.el (crisp-mode-map):
12726 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12727
38bb2ca8
CY
127282011-10-29 Chong Yidong <cyd@gnu.org>
12729
aa4de341
CY
12730 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12731
e1eb5385
CY
12732 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12733
5d2ece3c
CY
12734 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12735 forged Ispell output (Bug#7904).
12736
38bb2ca8
CY
12737 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12738
d0af9f77
SM
127392011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12740
12741 * doc-view.el: Avoid ugly errors about not finding nil.
12742 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12743 (doc-view-dvipdf-program, doc-view-unoconv-program)
12744 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12745 Avoid nil or absolute file name as default value.
12746 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12747
52bedd34
AM
127482011-10-28 Alan Mackenzie <acm@muc.de>
12749
db22a3c2 12750 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12751
7e43cfa5
AM
127522011-10-28 Alan Mackenzie <acm@muc.de>
12753
12754 Amend the handling of c-beginning/end-of-defun in nested declaration
12755 scopes.
12756
52bedd34
AM
12757 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12758 cc-langs.el. Change it to a defcustom.
7e43cfa5 12759
52bedd34
AM
12760 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12761 cc-vars.el.
7e43cfa5 12762
d0af9f77
SM
12763 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12764 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12765
52bedd34 12766 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12767 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12768 (c-widen-to-enclosing-decl-scope): New function.
12769 (c-while-widening-to-decl-block): New macro.
12770 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12771 outward for defun boundaries, and correspondingly change symbol
12772 `respect-enclosure' to `go-outward'.
12773 (c-declaration-limits): Change algorithm to report only the "innermost"
12774 defun's boundaries.
12775
1a2ce9ee
DD
127762011-10-28 Deniz Dogan <deniz@dogan.se>
12777
12778 * net/rcirc.el (rcirc-mode): Use hard newlines.
12779
bc97a826
AM
127802011-10-28 Alan Mackenzie <acm@muc.de>
12781
12782 Amend to indent and fontify macros "which include their own semicolon"
12783 correctly, using the "virtual semicolon" mechanism.
12784
52bedd34 12785 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12786
d0af9f77 12787 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12788 Recode to scan one line at a time rather than having \n and \r
58179cce 12789 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12790 (c-forward-label): Amend for virtual semicolons.
58179cce 12791 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12792
52bedd34
AM
12793 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12794 of the new C macros.
bc97a826 12795
52bedd34 12796 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12797 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12798 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12799 (c-opt-cpp-macro-define): Make into a full language variable.
12800 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12801 AWK Mode (including \n, \r) removed, no longer needed.
12802
d0af9f77
SM
12803 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12804 Invoke c-make-macro-with-semi-re.
bc97a826 12805
52bedd34
AM
12806 * progmodes/cc-vars.el (c-macro-with-semi-re):
12807 (c-macro-names-with-semicolon): New variables.
58179cce 12808 (c-make-macro-with-semi-re): New function.
bc97a826 12809
7a6c0941
SM
128102011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * vc/log-edit.el: Fill empty field rather than adding new one.
12813 (log-edit-add-field): New function.
12814 (log-edit-insert-changelog): Use it.
12815
b0c4cdcf
ML
128162011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12817
12818 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12819
ee1f1da9
SM
128202011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12823 (gdb--check-interpreter): New function.
12824 (gdb): Use it.
12825
51bc5f8b
GM
128262011-10-27 Glenn Morris <rgm@gnu.org>
12827
416a2c45
GM
12828 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12829 (least-positive-float, least-negative-float)
12830 (least-positive-normalized-float, least-negative-normalized-float)
12831 (float-epsilon, float-negative-epsilon):
12832 Remove unnecessary declarations.
12833
12834 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12835 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12836 (least-positive-float, least-negative-float)
12837 (least-positive-normalized-float, least-negative-normalized-float)
12838 (float-epsilon, float-negative-epsilon): Add doc-strings,
12839 based on those in cl.texi.
12840
51bc5f8b
GM
12841 * files.el (set-visited-file-name): If the major-mode changed,
12842 reload the local variables. (Bug#9796)
12843
15de15c6
CY
128442011-10-27 Chong Yidong <cyd@gnu.org>
12845
12846 * subr.el (change-major-mode-after-body-hook): New hook.
12847 (run-mode-hooks): Run it.
12848
ee1f1da9
SM
12849 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12850 Use change-major-mode-before-body-hook.
15de15c6
CY
12851
12852 * simple.el (fundamental-mode):
12853 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12854 change introducing fundamental-mode-hook.
12855
5430d399
JB
128562011-10-26 Juanma Barranquero <lekktu@gmail.com>
12857
acc825c5 12858 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12859
ad74a69e
MA
128602011-10-26 Michael Albinus <michael.albinus@gmx.de>
12861
12862 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12863 tramp.el explicitly. (Bug#7583)
ad74a69e 12864
71d4c2a5
SM
128652011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * progmodes/octave-mod.el:
12868 * progmodes/octave-inf.el: Update maintainer.
12869
b1f6fa26
CY
128702011-10-26 Chong Yidong <cyd@gnu.org>
12871
12872 * subr.el (with-wrapper-hook): Rewrite doc.
12873
3f04efd6
MA
128742011-10-25 Michael Albinus <michael.albinus@gmx.de>
12875
12876 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12877 filenames "/method:foo:". (Bug#9793)
3f04efd6 12878
410488d3
SM
128792011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12882 (bug#9865).
12883
c1ebb47e
GM
128842011-10-24 Glenn Morris <rgm@gnu.org>
12885
12886 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12887
7f5c46c7
MA
128882011-10-24 Michael Albinus <michael.albinus@gmx.de>
12889
12890 * notifications.el: Add the requirement of a running D-Bus session
12891 bus to the Commentary.
12892
db2440b6
JL
128932011-10-24 Juri Linkov <juri@jurta.org>
12894
12895 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12896 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12897 (Bug#9364)
12898
feecf435
JL
128992011-10-24 Juri Linkov <juri@jurta.org>
12900
12901 * info.el (Info-following-node-name-re): Add newline to the list
12902 of allowed characters for leading space. (Bug#9824)
12903
a3839de2
SM
129042011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12905
acc825c5
SM
12906 * progmodes/octave-inf.el (inferior-octave-mode-map):
12907 Fix C-c C-h binding.
a3839de2
SM
12908 * progmodes/octave-mod.el (octave-help): Remove.
12909
09388e76
MA
129102011-10-23 Michael Albinus <michael.albinus@gmx.de>
12911
12912 Sync with Tramp 2.2.3.
12913
12914 * net/tramp-cache.el (top): Pacify byte-compiler using
12915 `init-file-user' and `site-run-file'.
12916
12917 * net/trampver.el: Update release number.
12918
86c60681
CY
129192011-10-23 Chong Yidong <cyd@gnu.org>
12920
12921 * files.el (toggle-read-only): Remove obsolete comment about
12922 version control.
12923
12924 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12925 for toggle-read-only. Note that this hasn't called vc-next-action
12926 since 2008-05-02, though it wasn't documented at the time.
12927
a3839de2
SM
12928 * vc/ediff-init.el (ediff-toggle-read-only-function):
12929 Use toggle-read-only.
86c60681 12930
cd5495ff
AM
129312011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12932
12933 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12934 of c-parse-state.
12935
00b77525 12936 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12937 correct faulty logical expression.
cd5495ff
AM
12938 (c-parse-state-state, c-record-parse-state-state):
12939 (c-replay-parse-state-state): New defvar/defuns.
12940 (c-debug-parse-state): Use new functions.
12941
42ee24ed
MR
129422011-10-22 Martin Rudalics <rudalics@gmx.at>
12943
12944 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12945 last fix. Use window-in-direction correctly.
42ee24ed 12946
a7dee7e7
CY
129472011-10-21 Chong Yidong <cyd@gnu.org>
12948
12949 * progmodes/idlwave.el (idlwave-mode):
12950 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12951 require-final-newline; that's done in prog-mode.
12952 Suggested by Stefan Monnier.
a7dee7e7 12953
e07b9a6d
MR
129542011-10-21 Martin Rudalics <rudalics@gmx.at>
12955
12956 * mouse.el (mouse-drag-window-above)
12957 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12958 (mouse-drag-mode-line-1, mouse-drag-header-line)
12959 (mouse-drag-vertical-line-rightward-window): Remove.
12960 (mouse-drag-line): New function.
12961 (mouse-drag-mode-line, mouse-drag-header-line)
12962 (mouse-drag-vertical-line): Call mouse-drag-line.
12963 * window.el (window-at-side-p, windows-at-side): New functions.
12964
7e1361d9
UM
129652011-10-21 Ulrich Mueller <ulm@gentoo.org>
12966
12967 * tar-mode.el (tar-grind-file-mode):
12968 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12969
30fcaf3a
CY
129702011-10-21 Chong Yidong <cyd@gnu.org>
12971
12972 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12973 * progmodes/vera-mode.el (vera-mode):
12974 Use mode-require-final-newline.
30fcaf3a 12975
516eddb0
GM
129762011-10-20 Glenn Morris <rgm@gnu.org>
12977
db22a3c2 12978 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12979
10d5f513
CS
129802011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12981
12982 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12983
ac6c8639
CY
129842011-10-20 Chong Yidong <cyd@gnu.org>
12985
12986 * emulation/cua-base.el (cua-mode):
12987 * mail/footnote.el (footnote-mode):
12988 * mail/mailabbrev.el (mail-abbrevs-mode):
12989 * net/xesam.el (xesam-minor-mode):
12990 * progmodes/bug-reference.el (bug-reference-mode):
12991 * progmodes/cap-words.el (capitalized-words-mode):
12992 * progmodes/compile.el (compilation-minor-mode)
12993 (compilation-shell-minor-mode):
12994 * progmodes/gud.el (gud-tooltip-mode):
12995 * progmodes/hideif.el (hide-ifdef-mode):
12996 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12997 * progmodes/subword.el (subword-mode):
12998 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12999 * progmodes/which-func.el (which-function-mode):
13000 * term/tvi970.el (tvi970-set-keypad-mode):
13001 * term/vt100.el (vt100-wide-mode):
13002 * textmodes/flyspell.el (flyspell-mode):
13003 * textmodes/ispell.el (ispell-minor-mode):
13004 * textmodes/nroff-mode.el (nroff-electric-mode):
13005 * textmodes/paragraphs.el (use-hard-newlines):
13006 * textmodes/refill.el (refill-mode):
13007 * textmodes/reftex.el (reftex-mode):
13008 * textmodes/rst.el (rst-minor-mode):
13009 * textmodes/sgml-mode.el (html-autoview-mode)
13010 (sgml-electric-tag-pair-mode):
13011 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
13012 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
13013 * emulation/crisp.el (crisp-mode):
13014 * emacs-lisp/eldoc.el (eldoc-mode):
13015 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
13016 minor mode behavior.
13017
aa42ab43
JL
130182011-10-19 Juri Linkov <juri@jurta.org>
13019
13020 * descr-text.el (describe-char): Add #x2010 and #x2011 to
13021 the list of hard-coded chars with escape-glyph face.
13022
89400f1d
SM
130232011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
13024
13025 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
13026
305c07f6
MA
130272011-10-19 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
13030 running process.
13031
13754b54
GM
130322011-10-19 Glenn Morris <rgm@gnu.org>
13033
13034 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13035 Ignore ignored files. (Bug#9726)
13036
06e21633
CY
130372011-10-19 Chong Yidong <cyd@gnu.org>
13038
13039 Doc fix for minor modes, stating that an omitted argument enables
13040 the mode unconditionally when called from Lisp.
13041
13042 * abbrev.el (abbrev-mode):
13043 * allout.el (allout-mode):
13044 * autoinsert.el (auto-insert-mode):
13045 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13046 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13047 (global-auto-revert-mode):
13048 * battery.el (display-battery-mode):
13049 * composite.el (global-auto-composition-mode)
13050 (auto-composition-mode):
13051 * delsel.el (delete-selection-mode):
13052 * desktop.el (desktop-save-mode):
13053 * dired-x.el (dired-omit-mode):
13054 * dirtrack.el (dirtrack-mode):
13055 * doc-view.el (doc-view-minor-mode):
13056 * double.el (double-mode):
13057 * electric.el (electric-indent-mode, electric-pair-mode):
13058 * emacs-lock.el (emacs-lock-mode):
13059 * epa-hook.el (auto-encryption-mode):
13060 * follow.el (follow-mode):
13061 * font-core.el (font-lock-mode):
13062 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13063 * help.el (temp-buffer-resize-mode):
13064 * hilit-chg.el (highlight-changes-mode)
13065 (highlight-changes-visible-mode):
13066 * hi-lock.el (hi-lock-mode):
13067 * hl-line.el (hl-line-mode, global-hl-line-mode):
13068 * icomplete.el (icomplete-mode):
13069 * ido.el (ido-everywhere):
13070 * image-file.el (auto-image-file-mode):
13071 * image-mode.el (image-minor-mode):
13072 * iswitchb.el (iswitchb-mode):
13073 * jka-cmpr-hook.el (auto-compression-mode):
13074 * linum.el (linum-mode):
13075 * longlines.el (longlines-mode):
13076 * master.el (master-mode):
13077 * mb-depth.el (minibuffer-depth-indicate-mode):
13078 * menu-bar.el (menu-bar-mode):
13079 * minibuf-eldef.el (minibuffer-electric-default-mode):
13080 * mouse-sel.el (mouse-sel-mode):
13081 * msb.el (msb-mode):
13082 * mwheel.el (mouse-wheel-mode):
13083 * outline.el (outline-minor-mode):
13084 * paren.el (show-paren-mode):
13085 * recentf.el (recentf-mode):
13086 * reveal.el (reveal-mode, global-reveal-mode):
13087 * rfn-eshadow.el (file-name-shadow-mode):
13088 * ruler-mode.el (ruler-mode):
13089 * savehist.el (savehist-mode):
13090 * scroll-all.el (scroll-all-mode):
13091 * scroll-bar.el (scroll-bar-mode):
13092 * server.el (server-mode):
13093 * shell.el (shell-dirtrack-mode):
13094 * simple.el (auto-fill-mode, transient-mark-mode)
13095 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13096 (line-number-mode, column-number-mode, size-indication-mode)
13097 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13098 * strokes.el (strokes-mode):
13099 * time.el (display-time-mode):
13100 * t-mouse.el (gpm-mouse-mode):
13101 * tool-bar.el (tool-bar-mode):
13102 * tooltip.el (tooltip-mode):
13103 * type-break.el (type-break-mode-line-message-mode)
13104 (type-break-query-mode):
13105 * view.el (view-mode):
13106 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13107 (global-whitespace-mode, global-whitespace-newline-mode):
13108 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13109
a3839de2
SM
13110 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13111 Fix autogenerated docstring.
06e21633 13112
5214e501
JL
131132011-10-19 Juri Linkov <juri@jurta.org>
13114
13115 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13116 by checking environment variables "DESKTOP_SESSION" and
13117 "XDG_CURRENT_DESKTOP". (Bug#9779)
13118
195f8db9
JL
131192011-10-19 Juri Linkov <juri@jurta.org>
13120
13121 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13122 (browse-url-chromium-program, browse-url-chromium-arguments):
13123 New defcustoms.
13124 (browse-url-default-browser): Check for `browse-url-chromium' and
13125 call `browse-url-chromium-program'.
13126 (browse-url-chromium): New command. (Bug#9779)
13127
343a34ff
JB
131282011-10-18 Juanma Barranquero <lekktu@gmail.com>
13129
13130 * facemenu.el (list-colors-duplicates): On Windows, detect more
13131 duplicates by assuming that only colors matching "^System" are
13132 special "system colors". (Bug#9722)
13133
6978a151
SM
131342011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13135
13136 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13137 to distinguish the author from the committer.
13138
6a80b297
MA
131392011-10-18 Michael Albinus <michael.albinus@gmx.de>
13140
13141 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13142
b31a5677
JK
131432011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13144
13145 * international/mule.el (sgml-html-meta-auto-coding-function):
13146 Add support for detecting encoding in HTML5 specified only as
13147 <meta charset="UTF-8">. Implementation just makes http-equiv and
13148 content-type parts from HTML4 encoding string optional. (Bug#9716)
13149
80c6d77f
GM
131502011-10-18 Glenn Morris <rgm@gnu.org>
13151
13152 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13153
08b0fee8
CY
131542011-10-18 Chong Yidong <cyd@gnu.org>
13155
13156 * faces.el (cursor): Doc fix.
13157
67e729a5
CY
131582011-10-17 Chong Yidong <cyd@gnu.org>
13159
13160 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13161
343a34ff 131622011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13163
13164 * dirtrack.el (dirtrack): Support shell buffers with path
13165 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13166
0bc06380
TZ
131672011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13168
13169 * json.el: Bump version to 1.3 and note change in History.
13170 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13171
8b79f3e0
SM
131722011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13173
5a7c536b
SM
13174 * comint.el (comint-insert-input, comint-send-input)
13175 (comint-get-old-input-default, comint-backward-matching-input)
13176 (comint-next-prompt): Use nil instead of `input' for field property of
13177 past user input (bug#114).
13178
96a8a0df
SM
13179 * minibuffer.el (completion--replace): Inherit surrounding properties
13180 (bug#114).
13181 (minibuffer-complete-and-exit): Use it.
13182
8b79f3e0
SM
13183 * comint.el (comint--table-subvert): Quote the all-completions output
13184 (bug#9160).
13185
b8f7ff0d
MR
131862011-10-17 Martin Rudalics <rudalics@gmx.at>
13187
8b79f3e0 13188 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13189
b8f7ff0d 13190 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13191 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13192 entries and separate them from frame entries.
13193
c235b555
GM
131942011-10-15 Glenn Morris <rgm@gnu.org>
13195
13196 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13197 Doc fixes.
13198
6bbfa6e1
CY
131992011-10-15 Chong Yidong <cyd@stupidchicken.com>
13200
8b79f3e0
SM
13201 * net/network-stream.el (network-stream-open-starttls):
13202 Improve detection of failure due to lack of TLS support.
ec5c990d 13203
6bbfa6e1
CY
13204 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13205 putting the input text in front and in bold.
13206
98488977
SM
132072011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13208
3d1337be
SM
13209 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13210
ee0b45e4
SM
13211 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13212 empty buffer.
13213
98488977
SM
13214 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13215 unread-command-events rather than pushing yet-another event.
13216
186f4720
EZ
132172011-10-14 Eli Zaretskii <eliz@gnu.org>
13218
13219 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13220 the explanation of the possible choices. Make the options passed
13221 to completing-read shorter.
13222
8b7a997c
AM
132232011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13224
13225 * textmodes/flyspell.el (flyspell-large-region): Make sure
13226 extended character mode is used if defined (Bug#1339).
13227
12587bbb
EZ
132282011-10-13 Eli Zaretskii <eliz@gnu.org>
13229
13230 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13231 character info for LRE, LRO, RLE, and RLO characters by appending
13232 an invisible PDF.
12587bbb 13233
bad41229
SM
132342011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13235
13236 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13237 even in case of error; add debug spec; simplify data flow.
13238 (with-timeout-handler): Remove.
13239
28dbc92f
MA
132402011-10-12 Michael Albinus <michael.albinus@gmx.de>
13241
13242 Fix Bug#6019, Bug#9315.
13243
13244 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13245 complete `buffer-file-name', the local file name part could look
13246 remotely (for example on VMS).
13247
13248 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13249 `tramp-run-real-handler'.
13250 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13251 already quoted by '"'.
13252
13253 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13254 Let `file-name-handler-alist' be nil, the local file name part
13255 could look remotely (for example on VMS).
13256
e1b0b23a
SM
132572011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13258
13259 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13260 from here...
13261 (flyspell-post-command-hook): ...to here.
13262
a120bde9
SM
132632011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13264
13265 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13266 if not needed.
13267 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13268 using completion. Protect against "slow" callers.
13269 Remove the "message hack".
13270
7ce7717b
JL
132712011-10-11 Juri Linkov <juri@jurta.org>
13272
13273 * isearch.el (isearch-lazy-highlight-word): New variable.
13274 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13275 Use it. (Bug#9727)
13276
c02ee9d6
GM
132772011-10-11 Glenn Morris <rgm@gnu.org>
13278
13279 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13280 like f90-previous-statement does.
13281
93e616fd 132822011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13283
1f190e73 13284 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13285 only in interactive use, to avoid error.
13286
af7b6078
SM
132872011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13288
13289 * minibuffer.el (completion-file-name-table): Fix last change,
13290 i.e. ignore normal errors but not the other ones.
13291
0563dae9
MR
132922011-10-10 Martin Rudalics <rudalics@gmx.at>
13293
13294 * window.el (special-display-buffer-names)
13295 (special-display-regexps): Remove some remnants of earlier
13296 changes from doc-strings.
366ca7f3
MR
13297 (quit-windows-on): New function.
13298
13299 * vc/vc.el (vc-revert, vc-rollback):
13300 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13301 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13302 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13303
49677495
MR
133042011-10-09 Martin Rudalics <rudalics@gmx.at>
13305
13306 * window.el (frame-auto-hide-function): Add version tag.
13307 (Bug#9699)
13308
56f2d1e1
MA
133092011-10-09 Michael Albinus <michael.albinus@gmx.de>
13310
13311 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13312 condition.
13313
112a6592
LL
133142011-10-09 Leo Liu <sdl.web@gmail.com>
13315
13316 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13317 (Bug#9701)
13318
0812589b
GM
133192011-10-08 Glenn Morris <rgm@gnu.org>
13320
13321 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13322 before the first code statement zero indent. (Bug#9690)
13323
b2b0776e
CY
133242011-10-08 Chong Yidong <cyd@stupidchicken.com>
13325
13326 * simple.el (count-words-region): Always count in the region.
13327 Report the number of lines and characters too.
13328 (count-words): New command, which counts in the buffer if the
13329 region is inactive, as count-words-region used to.
13330 (count-words--message): New function. Handle plurals.
13331 (count-lines-region): Make it an alias for count-words-region.
13332
13333 * bindings.el (esc-map): Replace count-lines-region with
13334 count-words-region.
13335
c557cd6b
MR
133362011-10-08 Martin Rudalics <rudalics@gmx.at>
13337
13338 * window.el (window--delete): Delete dedicated frame
13339 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13340 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13341
61a57ef4 133422011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13343
3a7d293b 13344 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13345
c3833279
CY
133462011-10-07 Chong Yidong <cyd@stupidchicken.com>
13347
13348 * bindings.el ([M-left],[M-right]): Bind to left-word and
13349 right-word respectively.
13350
21ce8245
GM
133512011-10-07 Glenn Morris <rgm@gnu.org>
13352
13353 * cus-start.el (debug-on-quit): Fix custom type.
13354
6d823bb2
LMI
133552011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13356
0181e193
LMI
13357 * subr.el (define-key-after): Clarify that the function is not
13358 useful for non-menu keymaps.
13359
6d823bb2
LMI
13360 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13361
8e3459ce 133622011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13363
21ce8245 13364 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13365 in current minibuffer (Fix bug with recursive minibuffers).
13366
a1c2d21e
CY
133672011-10-06 Chong Yidong <cyd@stupidchicken.com>
13368
13369 * progmodes/gdb-mi.el (gdb): Doc fix.
13370
5a4cf282
MR
133712011-10-05 Martin Rudalics <rudalics@gmx.at>
13372
13373 * window.el (frame-auto-hide-function): New option replacing
13374 frame-auto-delete. Suggested by Stefan Monnier.
13375 (window--delete): Call frame-auto-hide-function instead of
13376 investigating frame-auto-delete.
c96111ea
MR
13377 (window-point-1, set-window-point-1): New functions.
13378 (window-in-direction, record-window-buffer, window-state-get-1)
13379 (display-buffer-record-window): Use window-point-1 instead of
13380 window-point.
13381 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13382
9854542e
SM
133832011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13386
8943cfb0
GM
133872011-10-05 Glenn Morris <rgm@gnu.org>
13388
13389 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13390 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13391
647ab967
LL
133922011-10-05 Leo Liu <sdl.web@gmail.com>
13393
13394 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13395 works with buffer object.
13396
3ddfbced
SM
133972011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13398
13399 * mpc.el (mpc-tool-bar-map): Add labels.
13400
bdfa5dd2
GM
134012011-10-04 Glenn Morris <rgm@gnu.org>
13402
13403 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13404
0e2070b5
MR
134052011-10-04 Martin Rudalics <rudalics@gmx.at>
13406
13407 * window.el (window--delete): New function.
13408 (frame-auto-delete): Resuscitate option.
13409 (bury-buffer, replace-buffer-in-windows)
13410 (quit-window): Rewrite using window--delete.
13411 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13412 Pass display-buffer-mark-dedicated to window--display-buffer-2
13413 (Bug#9639).
13414
3dc61a09
SM
134152011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13416
915a9b64
SM
13417 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13418 returns a list (bug#9554). Add remote file name completion.
13419 * comint.el (comint--table-subvert): Curry and get quote&unquote
13420 functions as arguments.
13421 (comint--complete-file-name-data): Adjust call accordingly.
13422 * pcomplete.el (pcomplete--table-subvert): Remove.
13423 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13424
3dc61a09
SM
13425 * minibuffer.el (completion-table-case-fold): Use currying.
13426 (completion--styles-type, completion--cycling-threshold-type):
13427 New constants.
13428 (completion-styles, completion-category-overrides)
13429 (completion-cycle-threshold): Use them.
13430 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13431 completion-table-case-fold.
13432
8ea0a993
SB
134332011-10-03 Stephen Berman <stephen.berman@gmx.net>
13434
13435 * minibuffer.el (completion-category-overrides): Fix type of styles
13436 and add more user friendly tags (bug#9660).
13437
8c24b7f6
SM
134382011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13441 (mule-input-method-string): New widget.
13442 (default-input-method, language-info-custom-alist): Use it.
13443
428fe61a
SM
134442011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13445
32c1fffd
SM
13446 * pcomplete.el: Require comint.
13447 (pcomplete--common-suffix): Remove.
13448 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13449 (pcomplete--table-subvert): Sync with comint--table-subvert.
13450 (pcomplete--entries): Use comint-completion-file-name-table.
13451 * comint.el (comint-unquote-filename): Simplify.
13452 (comint-completion-file-name-table): New function (bug#9616).
13453 (comint--complete-file-name-data): Use it.
13454
428fe61a
SM
13455 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13456 (pcmpl-gnu-tar-buffer): Remove.
13457 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13458 around. Make sure pcomplete-suffix-list is only changed temporarily.
13459 Don't look inside the tar's file if it's too large.
428fe61a 13460
04c52e2f
CY
134612011-10-01 Chong Yidong <cyd@stupidchicken.com>
13462
ce3cefcc
CY
13463 * cus-edit.el (custom-mode-map):
13464 * epa.el (epa-key-list-mode-map):
13465 * man.el (Man-mode-map):
13466 * startup.el (splash-screen-keymap):
13467 * simple.el (special-mode-map): Use scroll-up-command and
13468 scroll-down-command.
13469
13470 * progmodes/idlw-help.el (idlwave-help-mode-map):
13471 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13472 * net/newst-plainview.el (newsticker-mode-map):
13473 * emulation/ws-mode.el (wordstar-mode-map):
13474 * emulation/vi.el (vi-com-map):
13475 * calc/calc-graph.el (calc-graph-show-dumb):
13476 * term/sun.el (terminal-init-sun):
13477 * term/ns-win.el (global-map):
13478 * progmodes/grep.el (grep-mode-map):
13479 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13480 * mail/rmail.el (rmail-mode-map):
13481 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13482
04c52e2f
CY
13483 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13484 custom-safe-themes as special.
13485
79adf8c8
JD
134862011-10-01 Julien Danjou <julien@danjou.info>
13487
13488 * notifications.el (notifications-notify): Fix docstring.
13489
63bd50d3
PS
134902011-10-01 Per Starbäck <per@starback.se>
13491
13492 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13493
199e4c7e
MR
134942011-09-30 Martin Rudalics <rudalics@gmx.at>
13495
13496 * startup.el (command-line-1): Fix last fix by inserting
13497 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13498 (Bug#9605) and (Bug#9636)
199e4c7e 13499
fe5f08dd
EZ
135002011-09-29 Eli Zaretskii <eliz@gnu.org>
13501
13502 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13503 window is hscrolled, move by logical lines. (Bug#9607)
13504 (line-move-visual): Update the doc string to the above effect.
13505
b5516bbd
MR
135062011-09-29 Martin Rudalics <rudalics@gmx.at>
13507
ccee00c0
MR
13508 * window.el (display-buffer-record-window): When WINDOW is the
13509 selected window use `point' instead of `window-point'. (Bug#9626)
13510
b5516bbd
MR
13511 * startup.el (command-line-1): Use insert-before-markers when
13512 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13513
b5516bbd
MR
13514 * help.el (help-window): Remove variable.
13515
52aa0014
GM
135162011-09-29 Glenn Morris <rgm@gnu.org>
13517
13518 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13519
df9a7357
JB
135202011-09-29 Juanma Barranquero <lekktu@gmail.com>
13521
13522 * descr-text.el (describe-char-categories): Accept category
13523 descriptions more than one line long.
13524
a8406c20
SM
135252011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13526
88d9610c
SM
13527 * simple.el (delete-trailing-whitespace): Fix last change.
13528
a5daf810
SM
13529 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13530 Don't confuse "y => 3" as the beginning of a `y' operation.
13531
a8406c20
SM
13532 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13533 object has more than 4 slots (bug#9613).
13534
a239d4e9
JB
135352011-09-28 Juanma Barranquero <lekktu@gmail.com>
13536
13537 * subr.el (with-output-to-temp-buffer):
13538 * net/quickurl.el (quickurl, quickurl-browse-url):
13539 Fix typos in docstrings.
13540
693fbdb6
EZ
135412011-09-27 Eli Zaretskii <eliz@gnu.org>
13542
13543 * minibuffer.el (completion-styles)
13544 (completion-category-overrides): Cross reference each other in doc
13545 strings.
13546
8b457e28
GM
135472011-09-27 Glenn Morris <rgm@gnu.org>
13548
13549 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13550 to split-string. (Bug#9606)
13551
85a16208
LMI
135522011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13553
13554 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13555 (bug#9615).
13556
502f9ebd
CY
135572011-09-27 Chong Yidong <cyd@stupidchicken.com>
13558
13559 * emacs-lisp/package.el (list-packages): Fix echo area message.
13560
7690bdea
LL
135612011-09-27 Leo Liu <sdl.web@gmail.com>
13562
13563 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13564
e2ee6f30
MA
135652011-09-25 Michael Albinus <michael.albinus@gmx.de>
13566
13567 * net/dbus.el (dbus-unregister-object): Don't release services for
13568 registered signals. (Bug#9581)
13569
f3f98342
TZ
135702011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13571
13572 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13573 function that picks between cfengine 2 and 3 support
13574 automatically. Update docs accordingly.
13575
dd7aa8dd
KH
135762011-09-22 Kenichi Handa <handa@m17n.org>
13577
13578 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13579 ZERO.
13580 (indian-itrans-v5-table-for-tamil): New variable.
13581 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13582
3f2b07f8
KM
135832011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13584
13585 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13586 that's true if the current command involved collapsing of text.
13587 It's reset to false at the beginning of the next command.
13588 (allout-post-command-business): Move the cursor to the beginning
13589 of entry if the cursor is hidden and collapsing activity just
13590 happened.
13591
371d6a61
CY
135922011-09-24 Chong Yidong <cyd@stupidchicken.com>
13593
13594 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13595 tracking (Bug#9541).
13596
2ac2721a
UJ
135972011-09-24 Ulf Jasper <ulf.jasper@web.de>
13598
13599 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13600 (newsticker-show-news): Automatically load html rendering package
13601 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13602 because w3m-fill-column is let-bound" and the error "Symbol's value
13603 as variable is void: w3m-fill-column".
2ac2721a 13604
fac7ae53
MA
136052011-09-24 Michael Albinus <michael.albinus@gmx.de>
13606
13607 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13608 Release services only if they are defined. (Bug#9581)
13609
e08b633b
RS
136102011-09-23 Richard Stallman <rms@gnu.org>
13611
e488d29c
RS
13612 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13613 distinguish start of paragraph from start of its text.
13614
19c38752
RS
13615 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13616
e08b633b
RS
13617 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13618 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13619 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13620
0a39f27e
AS
136212011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13622
13623 * international/mule-diag.el (mule-diag): Insert a newline after
13624 each fontset description.
13625
db4e950d
SM
136262011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13627
13628 * simple.el (delete-trailing-whitespace):
13629 Document last change; simplify.
13630
eca3f3ea
PW
136312011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13632
d68e189a
PW
13633 * simple.el (delete-trailing-whitespace): Also delete
13634 extra newlines at the end of the buffer.
13635
eca3f3ea
PW
13636 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13637 (picture-newline): Use forward-line so as to ignore fields.
13638
01c157cc
SM
136392011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13640
13641 * subr.el (with-wrapper-hook): Fix edebug spec.
13642
022de23e
LMI
136432011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13644
13645 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13646 (bug#4538).
13647
91683089
MA
136482011-09-23 Michael Albinus <michael.albinus@gmx.de>
13649
eca3f3ea
PW
13650 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13651 Fix nasty bug using wrong cached values.
91683089 13652
5bdd6fa4
AM
136532011-09-23 Alan Mackenzie <acm@muc.de>
13654
13655 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13656
97adfb97
CY
136572011-09-23 Chong Yidong <cyd@stupidchicken.com>
13658
13659 * window.el (pop-to-buffer): Ensure right window is selected if we
13660 chose another frame.
13661
d4ef2b50
EZ
136622011-09-22 Eli Zaretskii <eliz@gnu.org>
13663
13664 * simple.el (what-cursor-position): Use get-char-property-change
13665 and next-single-char-property-change, to be able to show display
13666 properties that come from overlays as well as text properties.
13667
72258fe5
CY
136682011-09-22 Chong Yidong <cyd@stupidchicken.com>
13669
13670 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13671
13672 * cmuscheme.el (run-scheme, switch-to-scheme):
13673 * cus-edit.el (customize-group, custom-buffer-create)
13674 (customize-browse):
13675 * info.el (info):
13676 * shell.el (shell):
13677 * mail/sendmail.el (mail):
13678 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13679
8f098516
RS
136802011-09-22 Richard Stallman <rms@gnu.org>
13681
13682 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13683 move back only to line beg, don't move back over blank lines.
13684
e74f1bb6
MA
136852011-09-22 Michael Albinus <michael.albinus@gmx.de>
13686
13687 * files.el (copy-directory): Set directory attributes only in case
13688 they could be retrieved from the source directory. (Bug#9565)
13689
bfeef8b6
DK
136902011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13691
13692 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13693 (hs-find-block-beginning, hs-hide-level-recursive):
13694 Ignore strings as well as comments. (Bug#9502)
13695
7e423bb8
AS
136962011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13697
13698 * progmodes/sql.el (sql-comint-postgres):
13699 Convert port number to a string. (Bug#9566)
13700
b4d72fcf
MR
137012011-09-22 Martin Rudalics <rudalics@gmx.at>
13702
13703 * window.el (quit-window): Undedicate window when switching to
13704 previous buffer. Reported by Thierry Volpiatto
13705 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13706 (special-display-popup-frame): When popping up a new frame reset
13707 its previous buffers to nil. Simplify code.
b4d72fcf 13708
a7b88dc6
MA
137092011-09-21 Michael Albinus <michael.albinus@gmx.de>
13710
13711 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13712 and process filter, as done also in `shell-command'.
13713
cf4eacfd
MR
137142011-09-21 Martin Rudalics <rudalics@gmx.at>
13715
eca3f3ea 13716 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13717 Call set-window-start with NOFORCE argument t.
13718 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13719 (quit-window): Reword doc-string. Handle new format of
13720 quit-restore parameter. Don't delete window if it has a
13721 previous buffer we can show instead of the present one.
13722 (display-buffer-record-window): Rewrite using a new format for
13723 the quit-restore window parameter
13724 (special-display-popup-frame, display-buffer-same-window)
13725 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13726 (display-buffer-pop-up-window, display-buffer-use-some-window):
13727 Adapt symbol passed to display-buffer-record-window.
13728 * help.el (help-window-setup): Handle new format of quit-restore
13729 parameter.
13730
8d28cb95
SM
137312011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13732
94ab793f
SM
13733 * faces.el (face-list): Fix docstring (bug#9564).
13734
8d28cb95
SM
13735 * window.el (display-buffer--action-function-custom-type):
13736 Don't include internal functions in the Custom interface.
13737
3820edeb
JL
137382011-09-20 Juri Linkov <juri@jurta.org>
13739
13740 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13741 (Info-forward-node, Info-backward-node, Info-next-preorder)
13742 (Info-last-preorder): Use it. (Bug#9528)
13743
5147931d
JL
137442011-09-20 Juri Linkov <juri@jurta.org>
13745
13746 * info.el (Info-last-preorder): Visit last menu item only when
13747 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13748
cf499a1a
JD
137492011-09-20 Julien Danjou <julien@danjou.info>
13750
13751 * password-cache.el (password-cache-remove): Remove entries even if the
13752 value is nil, so that password with a nil value (negative caching) is
13753 possible to invalidate.
13754
f84e2fe2
LM
137552011-09-20 Lawrence Mitchell <wence@gmx.li>
13756
13757 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13758 all whitespace around breakpoint. (Bug#9553)
13759 (f90-find-breakpoint): Only break at whitespace inside a comment.
13760
78054a46
SM
137612011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13762
13763 * minibuffer.el (completion-file-name-table): Keep track of errors.
13764 (completion-table-with-predicate): Handle the case where pred1 is nil.
13765 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13766
345083b2
SM
137672011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13768
e24e27be
SM
13769 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13770 (debugger-return-value): Signal an error if the debugging context does
13771 not await any return value.
13772
345083b2
SM
13773 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13774 * image-mode.el (image-toggle-display-text)
13775 (image-toggle-display-image): Stay away from evil `intangible'.
13776
08d355e3
LL
137772011-09-19 Leo Liu <sdl.web@gmail.com>
13778
13779 * replace.el (occur-revert-arguments): Make it permanent-local.
13780 (occur-mode): Don't call font-lock-defontify.
13781
f01da43f
CY
137822011-09-19 Chong Yidong <cyd@stupidchicken.com>
13783
13784 * net/ldap.el (ldap-search-internal): Don't push empty search
13785 result (Bug#9508).
13786
b6072fa6
SM
137872011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13788
13789 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13790
443d6696
MA
137912011-09-19 Michael Albinus <michael.albinus@gmx.de>
13792
13793 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13794 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13795
7cc6e154
JL
137962011-09-18 Juri Linkov <juri@jurta.org>
13797
13798 * buff-menu.el (Buffer-menu-mode-map):
13799 * dired.el (dired-mode-map):
13800 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13801 (lisp-interaction-mode-map):
13802 * emacs-lisp/package.el (package-menu-mode-map):
13803 * epa.el (epa-key-list-mode-map):
13804 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13805 (menu-bar-options-menu):
13806 * outline.el (outline-mode-menu-bar-map):
13807 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13808 * vc/vc-dir.el (vc-dir-menu-map):
13809 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13810 Capitalize non-function content words in menu item strings.
13811
13812 * dired.el (dired-mode-map): Add menu item for
13813 `image-dired-dired-toggle-marked-thumbs'.
13814
80302a81
JL
138152011-09-18 Juri Linkov <juri@jurta.org>
13816
13817 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13818 to `isearch-case-fold-search' and restore its original value
13819 after the `isearch-mode' call.
13820
46c5cf66
JL
138212011-09-18 Juri Linkov <juri@jurta.org>
13822
13823 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13824 because `zgrep' returns 1 for successful matches (bug#9226).
13825
d18b513b
JL
138262011-09-18 Juri Linkov <juri@jurta.org>
13827
13828 * info.el (Info-extract-menu-node-name): Check the second match
13829 for empty string (second test-case of bug#9528).
13830 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13831 intermediate nodes to the history (first test-case of bug#9528).
13832
72753f87
JL
138332011-09-18 Juri Linkov <juri@jurta.org>
13834
13835 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13836 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13837
c9384295
JL
138382011-09-18 Juri Linkov <juri@jurta.org>
13839
1154d12e
JB
13840 * info.el (Info-file-supports-index-cookies):
13841 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13842 outputs one more line for long file names (bug#4142).
c9384295 13843
d473dce8
CY
138442011-09-18 Chong Yidong <cyd@stupidchicken.com>
13845
13846 * newcomment.el (comment-normalize-vars): If prompting for
13847 comment-start, set comment-start-skip too (Bug#8424).
13848
2176854d
JB
138492011-09-18 Johan Bockgård <bojohan@gnu.org>
13850
13851 * icomplete.el: Fix previous fix of Bug#5849.
13852 (icomplete-mode): Don't set completion-show-inline-help.
13853 (icomplete-minibuffer-setup): Set completion-show-inline-help
13854 locally during icompletion.
13855
3aace4e4
CY
138562011-09-18 Chong Yidong <cyd@stupidchicken.com>
13857
c940224f
CY
13858 * woman.el (woman2-process-escapes): Don't delete unrecognized
13859 escapes (Bug#7843).
13860
3aace4e4
CY
13861 * files.el (inhibit-first-line-modes-regexps): Add image files.
13862 (hack-local-variables-prop-line): Return nil for malformed
13863 prop-lines (Bug#9044).
13864
710dec63
MA
138652011-09-18 Michael Albinus <michael.albinus@gmx.de>
13866
13867 * net/tramp.el (top): Don't require 'shell.
13868 (tramp-methods): Fix docstring.
13869 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13870 Return complete remote file name. Handle "smb" case.
13871 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13872 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13873
13874 * net/tramp-compat.el (top): Require 'shell.
13875
13876 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13877 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13878 `tramp-current-host'.
13879 (tramp-get-remote-tmpdir): Remove.
13880
13881 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13882 `tramp-tmpdir' entries.
13883 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13884 (tramp-smb-handle-file-attributes): Ignore errors.
13885 (tramp-smb-wait-for-output): Check also for process end.
13886
5d5ac8ec
LMI
138872011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13888
13889 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13890 when sending QUIT (bug#9312).
13891
8c0f49f0
CY
138922011-09-17 Chong Yidong <cyd@stupidchicken.com>
13893
13894 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13895 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13896 occur-mode-display-occurrence.
13897 (occur-edit-mode): Add usage message.
13898 (occur-cease-edit): New command.
13899 (occur-after-change-function): Use text properties to find the
13900 position of the prefix text.
13901 (occur-engine): Set stickiness of prefix text properties.
13902
8f1383f7
GM
139032011-09-17 Glenn Morris <rgm@gnu.org>
13904
13905 * progmodes/etags.el (complete-tag):
13906 Fix call to completion-in-region. (Bug#9526)
13907
744ba0e3
JL
139082011-09-17 Juri Linkov <juri@jurta.org>
13909
13910 * textmodes/ispell.el (ispell-word): Add to the error message
13911 the word, ispell program name and current dictionary (bug#9121).
13912 (ispell-tex-arg-end): Capitalize "error" in the error message.
13913
d9bbf400
AS
139142011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13915
13916 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13917 check. (Bug#4251)
13918
8da11505
JL
139192011-09-17 Juri Linkov <juri@jurta.org>
13920
13921 * window.el (window-safe-min-height, window-safe-min-width):
13922 Fix typos (followup to bug#9522).
13923
a91adc7e
SJ
139242011-09-17 Sven Joachim <svenjoac@gmx.de>
13925
13926 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13927
064f328a
EZ
139282011-09-16 Eli Zaretskii <eliz@gnu.org>
13929
13930 * simple.el (line-move): If goal-column is set, move by logical
13931 lines, not by display lines. (Bug#971)
13932 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13933 to reflect the above change.
13934
e69df516
SM
139352011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13936
13937 * image.el (imagemagick-register-types): Use regexp-opt.
13938
cbb0f9ab
CY
139392011-09-15 Chong Yidong <cyd@stupidchicken.com>
13940
13941 * window.el (display-buffer-base-action): Rename from
13942 display-buffer-default-action. Make default value empty.
13943 (display-buffer-overriding-action): Convert to defvar.
13944 (display-buffer-fallback-action): New var.
13945
25322144
CY
139462011-09-15 Chong Yidong <cyd@stupidchicken.com>
13947
13948 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13949 declaration.
13950 (package--add-to-archive-contents): If there is a duplicate entry
13951 with an older version, remove it.
13952 (package-menu-mark-delete, package-menu-mark-install)
13953 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13954 (package-menu-mark-obsolete-for-deletion):
13955 Use package-menu-get-status instead of a regexp search.
25322144
CY
13956 (package-menu-get-status): Use tabulated-list-entry.
13957 (package-menu-mark-upgrades): New command.
d770725a 13958 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13959 (package-menu-execute): Do installation before deletion.
13960 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13961 instead of checking major-mode.
13962 (package-menu--find-upgrades): New function.
13963
7520339c
LMI
139642011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13965
13966 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13967 passwords in the log buffer.
65a046c4
LMI
13968 (smtpmail-process-filter): Update the process marker so that the
13969 "broken by peer" status message is inserted in the right place.
7520339c 13970
d3c30954
SM
139712011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13972
3fe48822
SM
13973 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13974 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13975 bibtex-completion-at-point-function.
13976 (bibtex-completion-at-point-function): Use them.
13977
1b8b3954
SM
13978 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13979
d3c30954
SM
13980 * mpc.el (mpc-constraints-tag-lookup): New function.
13981 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13982 also to browser "album|playlist".
13983
72779976
JL
139842011-09-14 Juri Linkov <juri@jurta.org>
13985
13986 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13987 (isearch-edit-string): Use length of `isearch-string' when
13988 `isearch-fail-pos' returns nil.
13989 (isearch-message): Remove duplicate code and call
13990 `isearch-fail-pos' with arg `t'.
13991
a0bf2bcd
CY
139922011-09-14 Chong Yidong <cyd@stupidchicken.com>
13993
17bb0a2d
CY
13994 * replace.el (occur-mode-goto-occurrence): Don't force using other
13995 window (Bug#9499).
13996
a0bf2bcd
CY
13997 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13998
f678e0b6
MR
139992011-09-14 Martin Rudalics <rudalics@gmx.at>
14000
14001 * window.el (display-buffer-window): Remove.
14002 (display-buffer-record-window): Use help-setup window parameter
14003 instead of variable display-buffer-window.
14004 (display-buffer-function, special-display-buffer-names)
14005 (special-display-function): Mention help-setup parameter instead
14006 of display-buffer-window in doc-string.
d3c30954
SM
14007 * help.el (help-window-setup): New argument help-window.
14008 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
14009 Reword some messages.
14010 (with-help-window): Pass window used for displaying the buffer
14011 to help-window-setup. Don't set display-buffer-window.
14012
8e39b2e8
GM
140132011-09-13 Glenn Morris <rgm@gnu.org>
14014
14015 * emacs-lisp/debug.el (debugger-make-xrefs):
14016 Preserve point. (Bug#9462)
14017
85e9c04b
CY
140182011-09-13 Chong Yidong <cyd@stupidchicken.com>
14019
14020 * window.el (window-deletable-p): Use next-frame.
14021
1b36ed6a
MR
140222011-09-13 Martin Rudalics <rudalics@gmx.at>
14023
14024 * window.el (window-auto-delete): Remove.
14025 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 14026 dedication and previous buffers.
1b36ed6a
MR
14027 (switch-to-prev-buffer): Don't delete window.
14028 (delete-windows-on): Delete a window's frame if and only if the
14029 window is dedicated.
14030 (replace-buffer-in-windows): Delete buffer's window or frame if
14031 and only if window is dedicated.
14032 (quit-window): Handle quit-restore as before last change.
4d61f28d 14033 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14034
ef8ef9fb
CY
140352011-09-13 Chong Yidong <cyd@stupidchicken.com>
14036
14037 * window.el (window-deletable-p): Never delete the last frame on a
14038 given terminal.
14039
b2cba41e
GM
140402011-09-13 Glenn Morris <rgm@gnu.org>
14041
14042 * help.el (describe-key-briefly): Copy previous standard-output change.
14043
51553db6 140442011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14045
14046 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14047
b7556719
GM
140482011-09-13 Glenn Morris <rgm@gnu.org>
14049
14050 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14051 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14052
64b51947
CY
140532011-09-12 Chong Yidong <cyd@stupidchicken.com>
14054
14055 * dired-aux.el (dired-mark-read-string): Don't return default
14056 value on empty input (Bug#9361).
14057 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14058 Omit initial minibuffer contents.
14059 (dired-do-chmod): Signal an error on empty input.
14060 (dired-mark-read-string): Don't return default on empty input.
14061
14062 * files.el (file-modes-symbolic-to-number): Doc fix.
14063
393a301e
SM
140642011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14065
14066 * international/mule-cmds.el (ucs-completions): Remove.
14067 (read-char-by-name): Use complete-with-action instead; add metadata.
14068
fa5660f9
CY
140692011-09-11 Chong Yidong <cyd@stupidchicken.com>
14070
14071 * window.el (display-buffer--action-function-custom-type)
14072 (display-buffer--action-custom-type): New vars.
14073 (display-buffer-alist, display-buffer-default-action)
14074 (display-buffer-overriding-action): Add defcustom types.
14075
4a592f66
CY
14076 * frame.el (delete-other-frames): Doc fix (Bug#276).
14077
73d56dbd
LMI
140782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14079
14080 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14081
37ac18a3
CY
140822011-09-11 Chong Yidong <cyd@stupidchicken.com>
14083
14084 Change modes that used same-window-* vars to use switch-to-buffer.
14085
14086 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14087 Use switch-to-buffer.
14088
14089 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14090 (customize-browse, custom-buffer-create-other-window):
14091 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14092
14093 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14094 (Info-prev, Info-up, Info-speedbar-goto-node)
14095 (info-display-manual): Use switch-to-buffer.
14096 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14097
14098 * mail/sendmail.el (mail): Use switch-to-buffer.
14099 (mail-recover): Use switch-to-buffer-other-window.
14100
14101 * cmuscheme.el (run-scheme, switch-to-scheme):
14102 * ielm.el (ielm):
14103 * shell.el (shell):
14104 * net/rlogin.el (rlogin):
14105 * net/telnet.el (telnet, rsh):
14106 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14107
10195bd6
AS
141082011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14109
14110 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14111
b322f63a
LMI
141122011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14113
39d7fed6
LMI
14114 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14115 so don't mention it (bug#9301).
ba5a81f1 14116 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14117
ee0e9f11
LMI
14118 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14119 match `x', `w32' and `ns', like the manual says (bug#9029).
14120
0b1c89c1 14121 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14122 (process-kill-buffer-query-function): Mention the buffer name in
14123 the query.
0b1c89c1 14124
77549ea8
LMI
14125 * image-mode.el (image-next-line): The line parameter is mandatory
14126 (bug#9258).
14127
803ef892
LMI
14128 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14129 which can be useful (bug#9301).
14130
12980837
LMI
14131 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14132
91054f8f
LMI
14133 * subr.el (match-string): Mention that the current buffer should
14134 be the same as the search was done in (bug#9282).
14135
b322f63a
LMI
14136 * facemenu.el: Disable the remove-* commands if the mark isn't
14137 active (bug#9162).
14138
3199b96f
CY
141392011-09-10 Chong Yidong <cyd@stupidchicken.com>
14140
14141 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14142 of display-buffer.
14143 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14144
14145 * replace.el (occur-mode-goto-occurrence)
14146 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14147 and display-buffer.
14148
14149 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14150 display-buffer.
14151
14152 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14153 special-display and same-window variables.
14154 (mail-other-window): Use switch-to-buffer-other-window.
14155 (mail-other-frame): USe switch-to-buffer-other-frame.
14156
393a301e
SM
14157 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14158 Use display-buffer-other-frame.
3199b96f
CY
14159 (gdb-display-gdb-buffer): Use pop-to-buffer.
14160
14161 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14162
14163 * progmodes/python.el: Don't set same-window-buffer-names.
14164
14165 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14166
14167 * window.el (display-buffer-alist): Add *Python*.
14168
8319e0bf
CY
141692011-09-10 Chong Yidong <cyd@stupidchicken.com>
14170
14171 * window.el (display-buffer-alist): Add entry for buffers
14172 previously handled same-window-*.
14173 (display-buffer-alist, display-buffer-default-action)
14174 (display-buffer-overriding-action): Mark as risky.
14175 (display-buffer-alist): Document action function changes.
14176 (display-buffer--same-window-action)
14177 (display-buffer--other-frame-action): New variables.
14178 (switch-to-buffer, display-buffer-other-frame): Use them.
14179 (display-buffer): Rename reuse-frame entry to reusable-frames.
14180 (display-buffer-reuse-selected-window): Function deleted.
14181 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14182 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14183 (display-buffer-special): New function.
14184 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14185 display-buffer-reuse-or-pop-window. Split off special-display
14186 part into display-buffer-special.
14187 (display-buffer-use-some-window): Don't perform any special
14188 pop-up-frames handling.
14189 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14190 (display-buffer--maybe-same-window): Rename from
0d3ff375 14191 display-buffer-maybe-same-window.
8319e0bf 14192
919a69aa
CY
14193 * info.el: Don't set same-window-regexps.
14194 (info-setup): New function.
14195 (info-other-window, info): Call it.
14196
14197 * cus-edit.el: Don't set same-window-regexps.
14198 (customize-group): New argument.
14199 (customize-group-other-window): Use it.
14200 (customize-face, customize-face-other-window): Likewise.
14201 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14202
8319e0bf
CY
14203 * net/rlogin.el:
14204 * net/telnet.el:
14205 * progmodes/gud.el: Don't set same-window-regexps.
14206
14207 * cmuscheme.el:
14208 * ielm.el:
14209 * shell.el:
14210 * mail/sendmail.el:
14211 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14212
25173000
JL
142132011-09-10 Juri Linkov <juri@jurta.org>
14214
14215 * isearch.el (isearch-edit-string): Remove obsolete mention of
14216 `C-w' (`isearch-yank-word-or-char') from docstring.
14217 (isearch-query-replace): Fix typo in docstring (bug#9466).
14218
056e44ef
JL
142192011-09-10 Juri Linkov <juri@jurta.org>
14220
14221 * paren.el (show-paren-function): Don't show escaped parens.
14222 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14223
c3760c17
EZ
142242011-09-10 Eli Zaretskii <eliz@gnu.org>
14225
14226 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14227 (mm-default-file-encoding): Remove autoload forms, they are
14228 replaced with autoload cookies in mml.el and mm-encode.el.
14229 (mail-add-attachment): New command.
14230 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14231 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14232 the doc string.
14233 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14234
fece895e
RT
142352011-09-10 Reuben Thomas <rrt@sc3d.org>
14236
e69df516
SM
14237 * simple.el (count-words-region): Use buffer if there's no region
14238 (bug#9429).
fece895e 14239
5e68ce4a
JL
142402011-09-09 Juri Linkov <juri@jurta.org>
14241
14242 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14243 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14244 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14245
0a6b9622
AM
142462011-09-09 Alan Mackenzie <acm@muc.de>
14247
14248 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14249 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14250
14a29deb
EZ
142512011-09-09 Eli Zaretskii <eliz@gnu.org>
14252
14253 Fix for Savannah bug#9392.
14254 * simple.el (mail-encode-mml): New defvar.
14255
14256 * mail/rmail.el (mail-encode-mml): Add a defvar.
14257 (rmail-enable-mime-composing): Default to t.
14258 (rmail-forward): Use MIME method of forwarding only if both
14259 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14260 Set mail-encode-mml non-nil if the MIME method was used.
14261
14262 * mail/sendmail.el (mml-to-mime): Add autoload form.
14263 (mail-encode-mml): Add a defvar.
14264 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14265 to nil.
14266 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14267 message through mml-to-mime, and reset mail-encode-mml to nil.
14268
28c45130
GM
142692011-09-09 Glenn Morris <rgm@gnu.org>
14270
14271 * woman.el (woman-if-body): When processing an .el block,
14272 do not delete the next .el block as well. (Bug#9447)
69f4b618 14273 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14274
9b1c252e
MR
142752011-09-08 Martin Rudalics <rudalics@gmx.at>
14276
14277 * window.el (window-deletable-p): Make sure window is live before
14278 invoking window-prev-buffers.
14279
567457e3
LL
142802011-09-08 Leo Liu <sdl.web@gmail.com>
14281
14282 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14283
97f05794
JL
142842011-09-08 Juri Linkov <juri@jurta.org>
14285
14286 * progmodes/compile.el (compilation-environment): Make it
14287 a defcustom (bug#8340).
14288
8b0874b5
MR
142892011-09-08 Martin Rudalics <rudalics@gmx.at>
14290
14291 * window.el (frame-auto-delete): Rename to window-auto-delete.
14292 Make it control auto-deletion of windows and/or frames.
14293 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14294 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14295 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14296 Rewrite handling of case when window/frame can be deleted.
14297 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14298 argument t. (Bug#9456)
8b0874b5 14299
4feb6e73
CY
143002011-09-07 Chong Yidong <cyd@stupidchicken.com>
14301
14302 * help-mode.el (help-mode): Restore autoload.
14303
91ab9c13
JL
143042011-09-07 Juri Linkov <juri@jurta.org>
14305
14306 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14307 `compilation-environment'. Set buffer-local
14308 `compilation-environment' to `thisenv' later after (funcall mode).
14309 (Bug#8340)
14310
14311 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14312 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14313 instead of replacing its value. (Bug#8340)
14314
0527e251
JL
143152011-09-07 Juri Linkov <juri@jurta.org>
14316
14317 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14318 based on text properties put by `grep-filter' instead of matching
14319 escape sequences.
14320 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14321 to the value of `grep-error-screen-columns' (bug#9438).
14322
249f792c
JL
143232011-09-07 Juri Linkov <juri@jurta.org>
14324
14325 * simple.el (next-error-highlight, next-error-highlight-no-select):
14326 Doc fix (bug#9432).
14327
ff7271b9
OT
143282011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14329
14330 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14331 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14332
183fc730
LL
143332011-09-07 Leo Liu <sdl.web@gmail.com>
14334
14335 * net/rcirc.el (rcirc-mode): Conditionally initialize
14336 rcirc-input-ring.
14337
77694924
SM
143382011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14339
14340 * emacs-lisp/find-func.el (find-function-C-source): Only set
14341 find-function-C-source-directory after checking that we found a source
14342 file there (bug#9440).
14343
d809b8eb
AM
143442011-09-06 Alan Mackenzie <acm@muc.de>
14345
14346 * isearch.el (isearch-other-meta-char): Wherever a key list is
14347 unread, "unread" the prefix arg, too. This fixes bug #8901.
14348
453de99f
OG
143492011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14350
14351 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14352
90439906
JL
143532011-09-05 Juri Linkov <juri@jurta.org>
14354
14355 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14356
f62bd846
JL
143572011-09-05 Juri Linkov <juri@jurta.org>
14358
14359 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14360 keeping point where processing of grep matches begins, and
14361 continue to delete remaining escape sequences from the same point.
14362 (grep-filter): Make leading zero optional in "0?1;31m" because
14363 git-grep emits "\033[1;31m" escape sequences unlike expected
14364 "\033[01;31m" as GNU Grep does (bug#9408).
14365 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14366
045820ec
JL
143672011-09-05 Juri Linkov <juri@jurta.org>
14368
14369 * subr.el (y-or-n-p): Capitalize "yes".
14370
f5e29b9b
MA
143712011-09-04 Michael Albinus <michael.albinus@gmx.de>
14372
14373 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14374 `tramp-cache-unload-hook' where appropriate.
14375 (tramp-methods): Rename `tramp-remote-sh' to
14376 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14377 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14378
14379 * net/tramp-sh.el (top): Don't require 'shell.
14380 (tramp-methods): Add `tramp-remote-shell' and
14381 `tramp-remote-shell-args' entries.
14382 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14383 (tramp-sh-handle-shell-command): Remove.
14384 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14385 Use `tramp-remote-shell'.
14386
2784c434
CY
143872011-09-03 Chong Yidong <cyd@stupidchicken.com>
14388
393a301e 14389 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14390 (sendmail-query-once): Save directly to send-mail-function.
14391 Update message-send-mail-function too.
14392
14393 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14394
464cdf56
CS
143952011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14396
14397 * progmodes/python.el (python-mode-map): Use correct function to
14398 start python interpreter from menu-bar (as reported by Geert
14399 Kloosterman).
14400 (inferior-python-mode-map): Fix typo.
393a301e 14401 (python-shell-map): Remove.
464cdf56 14402
d37e5c87
DD
144032011-09-03 Deniz Dogan <deniz@dogan.se>
14404
14405 * net/rcirc.el (rcirc-print): Simplify code for
14406 rcirc-scroll-show-maximum-output. There is no need to walk
14407 through all windows to find the right one.
14408
f3ada0ee
CS
144092011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14410
14411 * help.el (help-return-method): Doc fix.
14412
1f3c99ca
MR
144132011-09-03 Martin Rudalics <rudalics@gmx.at>
14414
14415 * window.el (window-deletable-p): Don't return a non-nil value
14416 when there's a buffer that was shown in the window before.
14417 (Bug#9419)
393a301e
SM
14418 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14419 Set window's previous buffers to nil.
1f3c99ca 14420
a3cf097f
EZ
144212011-09-03 Eli Zaretskii <eliz@gnu.org>
14422
14423 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14424 newline before and after the tag line, so it doesn't interfere
14425 with determining the paragraph direction of bidirectional text.
14426
3d03de90
LL
144272011-09-03 Leo Liu <sdl.web@gmail.com>
14428
14429 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14430
c3313451
CY
144312011-09-02 Chong Yidong <cyd@stupidchicken.com>
14432
393a301e 14433 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14434 (pop-to-buffer): Change interactive spec. Pass second argument
14435 directly to display-buffer.
14436 (display-buffer): Fix interactive spec. Use functionp to
14437 distinguish between a function and a list of functions.
14438
14439 * abbrev.el (edit-abbrevs):
14440 * arc-mode.el (archive-extract):
14441 * autoinsert.el (auto-insert):
14442 * bookmark.el (bookmark-bmenu-list):
14443 * files.el (find-file):
14444 * view.el (view-buffer):
14445 * progmodes/compile.el (compilation-goto-locus):
14446 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14447
89894cd8
CY
144482011-09-02 Chong Yidong <cyd@stupidchicken.com>
14449
14450 * window.el (display-buffer-alist): Doc fix.
14451 (display-buffer): Add docstring. Don't treat
14452 display-buffer-default specially.
14453 (display-buffer-reuse-selected-window)
14454 (display-buffer-same-window, display-buffer-maybe-same-window)
14455 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14456 (display-buffer-pop-up-window)
14457 (display-buffer-reuse-or-pop-window)
14458 (display-buffer-use-some-window): New functions.
14459 (display-buffer-default-action): Use them.
393a301e 14460 (display-buffer-default): Delete.
89894cd8
CY
14461 (pop-to-buffer-1): Fix choice of actions.
14462
ae0bc9fb
SM
144632011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * minibuffer.el (completion--insert-strings): Don't get confused by
14466 completion entries that end with an LF char.
14467
e9d90883
EZ
144682011-09-01 Eli Zaretskii <eliz@gnu.org>
14469
14470 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14471
437014c8
CY
144722011-09-01 Chong Yidong <cyd@stupidchicken.com>
14473
14474 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14475 (display-buffer-same-window, display-buffer-other-window):
14476 New functions.
437014c8
CY
14477 (pop-to-buffer-1): New function. Use the above.
14478 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14479 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14480
14481 * view.el (view-buffer-other-window, view-buffer-other-frame):
14482 Just use pop-to-buffer.
14483
a5e063d5
TV
144842011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14485
14486 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14487
793d32bb
WH
144882011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14489
14490 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14491
d65e4c15
RS
144922011-08-31 Richard Stallman <rms@gnu.org>
14493
14494 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14495 of the separation of rmail-view-buffer from rmail-buffer.
14496 If you say no to "replace original", the decrypt is in the
14497 view buffer. If you say yes, the decrypt goes into the
14498 rmail buffer also.
14499
f818cd2a
MR
145002011-08-31 Martin Rudalics <rudalics@gmx.at>
14501
14502 * window.el (display-buffer-window): Rewrite doc-string.
14503 (display-buffer-record-window): New function.
14504 (display-buffer-macro-specifiers)
14505 (display-buffer-even-window-sizes, display-buffer-set-height)
14506 (display-buffer-set-width, display-buffer-in-window)
14507 (display-buffer-reuse-window, display-buffer-split-specifiers)
14508 (display-buffer-side-specifiers, display-buffer-split-window-1)
14509 (display-buffer-split-window, display-buffer-split-atom-window)
14510 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14511 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14512 (display-buffer-other-window-means-other-frame)
14513 (display-buffer-normalize-special)
14514 (display-buffer-normalize-default)
14515 (display-buffer-normalize-argument)
14516 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14517 (display-buffer-normalize-specifiers, display-buffer-frame)
14518 (display-buffer-same-window, display-buffer-same-frame)
14519 (display-buffer-other-window)
14520 (display-buffer-same-frame-other-window)
14521 (display-buffer-other-frame, pop-to-buffer-same-window)
14522 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14523 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14524 (switch-to-buffer-same-frame)
14525 (switch-to-buffer-other-window-same-frame)
14526 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14527 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14528 (display-buffer-alist-set): Remove.
14529 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14530 (special-display-regexps, special-display-function):
14531 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14532 parameter.
14533 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14534 (special-display-frame-alist, special-display-popup-frame)
14535 (same-window-buffer-names, same-window-regexps, same-window-p)
14536 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14537 (split-window-preferred-function, split-height-threshold)
14538 (split-width-threshold, window-splittable-p)
14539 (split-window-sensibly, window--try-to-split-window)
14540 (window--frame-usable-p, even-window-heights)
14541 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14542 (window--display-buffer-2, display-buffer-other-frame):
14543 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14544 (display-buffer-default, display-buffer-assq-regexp): New functions.
14545 (display-buffer-alist): Rewrite doc-string.
14546 (display-buffer-default-action)
14547 (display-buffer-overriding-action): New variables.
14548 (display-buffer, switch-to-buffer): Rewrite.
14549 (pop-to-buffer): Restore Emacs 23 behavior but use
14550 window-normalize-buffer-to-display.
14551 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14552 Restore Emacs 23 behavior but use
14553 window-normalize-buffer-to-switch-to.
14554 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14555 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14556 Rewrite using Emacs 23 options.
f818cd2a 14557
5bc3b51d
MA
145582011-08-31 Michael Albinus <michael.albinus@gmx.de>
14559
14560 * net/tramp.el (tramp-root-regexp): Remove.
14561 (tramp-completion-file-name-regexp-unified)
14562 (tramp-completion-file-name-regexp-separate)
14563 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14564 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14565 (tramp-drop-volume-letter): Simplify definition.
14566 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14567
b1a4f8e1
SM
145682011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14569
14570 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14571 (bug#9356).
14572
5664fa7b
RT
145732011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14574
b1a4f8e1 14575 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14576
9a45d6c3
JL
145772011-08-29 Juri Linkov <juri@jurta.org>
14578
14579 * isearch.el (isearch-done): Don't display message "Mark saved"
14580 when arg `edit' is non-nil to prevent its flicker in the echo area.
14581
fb87e0fb
CY
145822011-08-28 Chong Yidong <cyd@stupidchicken.com>
14583
14584 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14585 obsolete packages for deletion.
14586
09ac1c2a
CS
145872011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14588
14589 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14590 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14591 view-mode from help-mode.
14592 (help-xref-override-view-map): Remove.
14593 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14594 view-mode is not used anymore.
14595
7a1ff57f
CY
145962011-08-28 Chong Yidong <cyd@stupidchicken.com>
14597
14598 * server.el (server-port): Doc fix.
14599
b9696605
CY
14600 * cus-theme.el (custom-theme-choose-mode): Inherit from
14601 special-mode (Bug#9124).
14602 (custom-theme-choose-mode-map): Add special-mode to parent.
14603
ef8cdf8c
AM
146042011-08-28 Alan Mackenzie <acm@muc.de>
14605
14606 * progmodes/cc-fonts.el
14607 (c-make-font-lock-BO-decl-search-function): New function.
14608 (c-basic-matchers-after - "Fontify the clauses after various
14609 keywords"): Extract the three keyword lists for the 3 erroneous
14610 constructs from the list of four, and use the new function above
14611 in place of an old one.
14612
27de4e20
DD
146132011-08-28 Deniz Dogan <deniz@dogan.se>
14614
14615 * net/rcirc.el (rcirc-insert-prev-input)
14616 (rcirc-insert-next-input): Remove unused argument.
14617
356a3681
SM
146182011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14621
3fc9b218
AM
146222011-08-27 Alan Mackenzie <acm@muc.de>
14623
14624 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14625 handle function pointer parameters properly.
14626
538a061c
MR
146272011-08-27 Martin Rudalics <rudalics@gmx.at>
14628
14629 * window.el (display-buffer-reuse-window): Fix case where
14630 selected window was reused with non-nil OTHER-WINDOW argument.
14631 (Bug#9381)
14632
35b1c40c
DD
146332011-08-27 Deniz Dogan <deniz@dogan.se>
14634
14635 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14636 oftc's NickServ messages.
14637
2f6a3e79
GM
146382011-08-27 Glenn Morris <rgm@gnu.org>
14639
14640 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14641
7254299e
CY
146422011-08-26 Chong Yidong <cyd@stupidchicken.com>
14643
14644 * emacs-lisp/package.el (package-install): Call package-initialize
14645 if called interactively.
14646
f8ccf167
LL
146472011-08-26 Leo Liu <sdl.web@gmail.com>
14648
14649 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14650
3e8cd5ce
JL
146512011-08-25 Juri Linkov <juri@jurta.org>
14652
14653 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14654 `search-whitespace-regexp' (bug#9364).
14655
93eb7113
JL
146562011-08-25 Juri Linkov <juri@jurta.org>
14657
14658 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14659 `regexp-search-ring' to their global values to protect from
14660 updating by `read-from-minibuffer' (bug#9185).
14661
f65d1611
JL
146622011-08-25 Juri Linkov <juri@jurta.org>
14663
14664 * textmodes/ispell.el (ispell-command-loop): Add newline
14665 at the end of the "Use option `i'..." line.
14666
f1cf7a31
JL
146672011-08-25 Juri Linkov <juri@jurta.org>
14668
14669 * battery.el (display-battery-mode): If `battery-status-function'
14670 or `battery-mode-line-format' is nil, display the message and set
14671 `display-battery-mode' to nil (bug#9363).
14672
0c95fcf7
EZ
146732011-08-25 Eli Zaretskii <eliz@gnu.org>
14674
14675 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14676 bidi-string-mark-left-to-right; they are unnecessary now.
14677
a2ebe600
DD
146782011-08-25 Deniz Dogan <deniz@dogan.se>
14679
14680 * net/quickurl.el: Documentation typo fixes.
14681
e4ed06f1
CY
146822011-08-25 Chong Yidong <cyd@stupidchicken.com>
14683
14684 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14685
e5f1c99e
GM
146862011-08-25 Glenn Morris <rgm@gnu.org>
14687
b2948976
GM
14688 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14689
e5f1c99e
GM
14690 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14691 (smtpmail-via-smtp): Handle nil response from smtp.
14692
f22f4808
JL
146932011-08-24 Juri Linkov <juri@jurta.org>
14694
14695 * proced.el (proced-marked): Inherit from `error' instead of
14696 `font-lock-warning-face'.
14697
14698 * ibuffer.el (ibuffer-marked-face): Change default face from
14699 `font-lock-warning-face' to `warning'.
14700 (ibuffer-deletion-face): Change default face from
14701 `font-lock-type-face' to `error'.
14702
14703 * battery.el (battery-update): Use the face `error' instead of
14704 `font-lock-warning-face' (bug#6117).
14705
6a93965e
JL
147062011-08-24 Juri Linkov <juri@jurta.org>
14707
14708 * faces.el (success): Change face color from "Green3" to
14709 "ForestGreen" on light background (bug#9353).
14710
1ed43b09
CY
147112011-08-24 Chong Yidong <cyd@stupidchicken.com>
14712
5664fa7b
RT
14713 * window.el (quit-window): Rename from quit-restore-window.
14714 Use same arglist as old quit-window.
1ed43b09
CY
14715 (frame-auto-delete): Doc fix.
14716
14717 * view.el (view-mode-exit): Use quit-window.
14718
11dcdbb2
JL
147192011-08-24 Juri Linkov <juri@jurta.org>
14720
14721 * isearch.el (isearch-ring-adjust1): Start visiting previous
14722 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14723 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14724 for empty search string (when the last search string is reused
14725 automatically) to adjust the isearch ring to the last element and
14726 prepare the correct index for further M-p commands (bug#9185).
14727
de62b4df
KH
147282011-08-24 Kenichi Handa <handa@m17n.org>
14729
14730 * international/ucs-normalize.el: If decomposition property of
14731 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14732 nil.
14733 (nfd, nfkd): Likewise.
14734
963b492b
SM
147352011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14736
14737 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14738 from process filters aren't reliably transmitted to the surrounding
14739 accept-process-output.
14740 (mpc-proc-check): New function.
14741 (mpc-proc-sync): Use it (bug#8293)
14742
93b6b5e1
SM
147432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14746 Add compatibility functions (bug#9313).
14747
bca633fb
EZ
147482011-08-23 Eli Zaretskii <eliz@gnu.org>
14749
b177498a
EZ
14750 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14751
6df6ae42 14752 * international/uni-bidi.el: Regenerate.
bca633fb 14753
0902a04e
KH
147542011-08-23 Kenichi Handa <handa@m17n.org>
14755
14756 * international/charprop.el:
14757 * international/uni-bidi.el:
14758 * international/uni-category.el:
14759 * international/uni-combining.el:
14760 * international/uni-comment.el:
14761 * international/uni-decimal.el:
14762 * international/uni-decomposition.el:
14763 * international/uni-digit.el:
14764 * international/uni-lowercase.el:
14765 * international/uni-mirrored.el:
14766 * international/uni-name.el:
14767 * international/uni-numeric.el:
14768 * international/uni-old-name.el:
14769 * international/uni-titlecase.el:
14770 * international/uni-uppercase.el: Regenerate.
14771
3bbf23bc
MR
147722011-08-23 Martin Rudalics <rudalics@gmx.at>
14773
14774 * help.el (help-window-setup): Fix message displayed when other
14775 window is reused. (Bug#9341)
14776
b3fd59bd
SM
147772011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14778
1802e444
SM
14779 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14780 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14781
b3fd59bd
SM
14782 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14783 Mark obsolete.
14784 * shell.el (shell-parse-pcomplete-arguments): New function.
14785 (shell-completion-vars): Use it instead (bug#9160).
14786
4eb61348
SM
147872011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14788
867cab74
SM
14789 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14790 strings and comments (bug#9333).
14791
4eb61348
SM
14792 * emacs-lisp/debug.el (debug-arglist): New function.
14793 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14794 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14795
262a1439
JL
147962011-08-22 Juri Linkov <juri@jurta.org>
14797
56ee679c
JL
14798 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14799 Revert regexp that highlights output switches to its old
14800 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14801
262a1439
JL
14802 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14803 to check for empty output (bug#9226).
14804
f13f86fb
CY
148052011-08-22 Chong Yidong <cyd@stupidchicken.com>
14806
14807 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14808 symbol-constituent as the default, as that stops font-lock from
14809 working properly (Bug#8843).
14810
c65c9622
LMI
148112011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14812
14813 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14814 `coding-system-for-*' around the process open call to avoid
14815 auth-source side effects.
e7f2c178 14816 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14817 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14818 probe hangs.
c65c9622 14819
23a8a5ab
CY
148202011-08-21 Chong Yidong <cyd@stupidchicken.com>
14821
ff98b2dd
CY
14822 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14823
23a8a5ab
CY
14824 * emacs-lisp/find-func.el (find-function-noselect): New arg
14825 lisp-only.
14826
14827 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14828 signal an error for built-in functions (Bug#6664).
14829
f5e3c598
LMI
148302011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14831
14832 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14833 (smtpmail-try-auth-methods): Use it.
14834
a3f2468a
CY
148352011-08-21 Chong Yidong <cyd@stupidchicken.com>
14836
2c34e8da
CY
14837 * font-lock.el (font-lock-fontify-region)
14838 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14839 (font-lock-default-unfontify-buffer)
14840 (font-lock-default-fontify-region)
14841 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14842
b3fd59bd
SM
14843 * progmodes/compile.el (compilation-error-properties):
14844 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14845 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14846 `ant' regexp.
ee31aabc 14847
a3f2468a
CY
14848 * net/browse-url.el (browse-url-firefox): Don't call
14849 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14850
8e999f70
GM
148512011-08-20 Glenn Morris <rgm@gnu.org>
14852
c21a496a
GM
14853 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14854
59ee0542
GM
14855 * tutorial.el (tutorial--default-keys): Update some default bindings.
14856
8e999f70
GM
14857 * files.el (hack-local-variables): Fully ignore case for "mode:".
14858
e3715033
AM
148592011-08-20 Alan Mackenzie <acm@muc.de>
14860
14861 Resolve invalid use of a regexp in regexp-opt.
14862
4d61f28d
JB
14863 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14864 detection for a java annotation.
e3715033 14865
4d61f28d 14866 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14867 detection for a java annotation.
14868
4d61f28d
JB
14869 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14870 handling for java.
e3715033
AM
14871 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14872
04ed2e9c
CY
148732011-08-20 Chong Yidong <cyd@stupidchicken.com>
14874
14875 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14876 (Bug#9274).
14877
826cee64
AM
148782011-08-20 Alan Mackenzie <acm@muc.de>
14879
58179cce 14880 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14881 such a construct. Mainly for when jit-lock etc. starts a chunk
14882 here.
14883
58179cce 14884 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14885 variable.
58179cce 14886 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14887 c-make-font-lock-search-function.
14888 (c-make-font-lock-search-function): Use the above function.
14889 (c-make-font-lock-context-search-function): New function.
14890 (c-cpp-matchers): Enhance the preprocessor expression case with
14891 the above function
14892 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14893 which takes an expression.
14894
14895 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14896
13009bd8
MR
148972011-08-20 Martin Rudalics <rudalics@gmx.at>
14898
14899 * window.el (display-buffer-reuse-window)
14900 (display-buffer-pop-up-window): Don't reuse or split a side
14901 window.
14902
9234ff7f
GM
149032011-08-19 Glenn Morris <rgm@gnu.org>
14904
14905 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14906 Downcase "Mode:". (Bug#9331)
9234ff7f 14907
f635daa1
CY
149082011-08-18 Chong Yidong <cyd@stupidchicken.com>
14909
14910 * international/characters.el: Add L and R categories.
14911
14912 * subr.el (bidi-string-mark-left-to-right): Rename from
14913 string-mark-left-to-right. Use category search.
14914
14915 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14916
bc987f8b
JL
149172011-08-18 Juri Linkov <juri@jurta.org>
14918
14919 * faces.el (error, warning, success): New faces with definitions
14920 copied from old default values of `font-lock-warning-face',
14921 `compilation-warning', `compilation-info' (bug#6117).
14922
14923 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14924
14925 * progmodes/compile.el (compilation-error): Inherit from `error'.
14926 (compilation-warning): Inherit from `warning'.
14927 (compilation-info): Inherit from `success'.
14928
14929 * dired.el (dired-marked): Inherit from `warning'.
14930 (dired-flagged): Inherit from `error'.
14931
57173b96
LMI
149322011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14933
3e79eb87
LMI
14934 * mail/smtpmail.el (auth-source): Require to avoid problems with
14935 binding variables (bug#9298). Also clean up some unused
14936 autoloads.
14937
b3fd59bd
SM
14938 * net/network-stream.el (network-stream-open-starttls):
14939 Support using starttls.el without using gnutls-cli.
57173b96 14940
02b404de
JL
149412011-08-17 Juri Linkov <juri@jurta.org>
14942
14943 * progmodes/grep.el (rgrep): Handle the case when
14944 `grep-find-command' is a cons cell (bug#9278).
14945
8c9177f2
MR
149462011-08-17 Martin Rudalics <rudalics@gmx.at>
14947
14948 * window.el (display-buffer-pop-up-frame): Run frame creation
14949 function with BUFFER current (as special-display-popup-frame
14950 does). Reported by Drew Adams.
14951
3644a0ab
DU
149522011-08-17 Daiki Ueno <ueno@unixuser.org>
14953
14954 * epa-mail.el: Simplify GnuPG group expansion using
14955 epg-expand-group.
14956 (epa-mail-group-alist, epa-mail-group-modtime)
14957 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14958 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14959 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14960 Remove.
14961
5e617bc2 149622011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14963
14964 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14965
9c4aeabf
AM
149662011-08-16 Alan Mackenzie <acm@muc.de>
14967
14968 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14969 Correct, to avoid the inside of macros.
14970
3a99bf64
RS
149712011-08-16 Richard Stallman <rms@gnu.org>
14972
04963aa8
RS
14973 * epa-mail.el: Handle GnuPG group definitions.
14974 (epa-mail-group-alist, epa-mail-group-modtime)
14975 (epa-mail-gnupg-conf-file): New variables.
14976 (epa-mail-parse-groups, epa-mail-sync-groups)
14977 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14978 (epa-mail-expand-recipients): New functions.
14979 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14980
177549d0
RS
14981 * mail/rmail.el (rmail-epa-decrypt): New command.
14982
fe38beef
RS
14983 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14984 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14985 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14986 (epa-decrypt-armor-in-region): Make error message clearer.
14987
934eacb9
SM
149882011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14989
14990 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14991 and "a2b" to "ab" for `prefix'.
14992
d024fb4e
CY
149932011-08-14 Chong Yidong <cyd@stupidchicken.com>
14994
14995 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14996 filter groups.
de148fee
CY
14997 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14998 Fourquet (Bug#8804).
d024fb4e 14999
62f1ca49
JB
150002011-08-12 Juanma Barranquero <lekktu@gmail.com>
15001
15002 * startup.el (argi): Declare as global variable (bug#9275).
15003
9ccaaa4b
CY
150042011-08-12 Chong Yidong <cyd@stupidchicken.com>
15005
15006 * subr.el (string-mark-left-to-right): Search the entire string
15007 for RTL script, not just the terminating character. Doc fix.
15008
a3dae87a
SM
150092011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
15010
6cd18349
SM
15011 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
15012 New function.
15013 (js--regexp-literal, js-syntax-propertize-function): Remove.
15014 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
15015 (js-mode-map): Don't rebind electric keys.
15016 (js-insert-and-indent): Remove.
15017 (js-mode): Setup electric-layout and electric-indent instead.
15018
a3dae87a
SM
15019 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
15020
9d5cb631
DU
150212011-08-12 Daiki Ueno <ueno@unixuser.org>
15022
15023 * epa.el (epa-progress-callback-function): Fix the logic of
15024 displaying progress.
15025 * epa-file.el (epa-file-insert-file-contents): Make progress
15026 display more user-friendly.
15027 (epa-file-write-region): Ditto.
15028
3e26a4a2
CY
150292011-08-10 Chong Yidong <cyd@stupidchicken.com>
15030
15031 * subr.el (string-mark-left-to-right): New function.
15032
15033 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15034 Use string-mark-left-to-right.
15035 (list-buffers-noselect): Caller changed.
15036
a3dae87a
SM
15037 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15038 Use string-mark-left-to-right.
3e26a4a2
CY
15039 (tabulated-list-print): Recenter after moving point.
15040
ac8cf6e6
JL
150412011-08-10 Juri Linkov <juri@jurta.org>
15042
15043 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15044 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15045 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15046
8d96c9a4
CY
150472011-08-09 Chong Yidong <cyd@stupidchicken.com>
15048
15049 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15050 (Bug#7554).
15051
7be1c708 150522011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15053
15054 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15055 character. (Bug#6594)
15056
37e11a63
CY
150572011-08-08 Chong Yidong <cyd@stupidchicken.com>
15058
839dde57
CY
15059 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15060 (image-dired--with-db-file): New macro.
15061 (image-dired-write-tags, image-dired-remove-tag)
15062 (image-dired-create-gallery-lists, image-dired-write-comments)
15063 (image-dired-get-comment, image-dired-mark-tagged-files)
15064 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15065 (image-dired-gallery-generate): Use insert-file-contents.
15066
37e11a63
CY
15067 * time.el (display-time-world-list, display-time-world-display):
15068 * time-stamp.el (time-stamp-string):
15069 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15070 set-time-zone-rule (Bug#7337).
15071
0b4946c4
DU
150722011-08-08 Daiki Ueno <ueno@unixuser.org>
15073
15074 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15075 (epg-error-to-string, epg-errors-to-string): New function.
15076 (epg-wait-for-completion): Reverse errors list.
15077 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15078 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15079 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15080 (epg-sign-keys, epg-generate-key-from-file)
15081 (epg-generate-key-from-string): Format errors by using
15082 epg-errors-to-string (bug#9255).
15083 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15084
75bfc667
JL
150852011-08-07 Juri Linkov <juri@jurta.org>
15086
15087 * faces.el (list-faces-display): Remove extra angle bracket
15088 from `help-mode-map'.
15089
15090 * info.el (Info-history-toc-nodes): Doc fix.
15091
15092 * longlines.el (longlines-mode): Doc fix.
15093
673e08bb
SM
150942011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15095
4640dd88
SM
15096 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15097 of statements and in a few more cases (bug#9183).
15098
673e08bb
SM
15099 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15100 New functions.
15101 (cl-transform-lambda): Use them (bug#9239).
15102
89b3f019
MR
151032011-08-05 Martin Rudalics <rudalics@gmx.at>
15104
15105 * window.el (display-buffer-same-window)
15106 (display-buffer-same-frame, display-buffer-other-window)
15107 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15108 (pop-to-buffer-other-window)
15109 (pop-to-buffer-same-frame-other-window)
15110 (pop-to-buffer-other-frame): Make them defuns.
15111 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15112
640c8776
SM
151132011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15114
15115 * subr.el (make-composed-keymap): Move from C. Change calling
15116 convention, and improve docstring to bring attention to a subtle point.
15117 * minibuffer.el (completing-read-default): Adjust accordingly.
15118
63648a95
MA
151192011-08-03 Michael Albinus <michael.albinus@gmx.de>
15120
15121 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15122 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15123
15124 * net/trampver.el: Update release number.
15125
b796c9b7
SM
151262011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15127
15128 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15129 "in" (bug#9190).
15130
2239d7d5
LMI
151312011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15132
e07dd7c3
LMI
15133 * mail/sendmail.el (sendmail-query-once): Restore the current
15134 buffer after querying (bug#9074).
15135
0e6a2bd7
LMI
15136 * dired.el (dired-flagged): Use different faces for marked and
15137 flagged files (bug#6117).
15138
ce887515
LMI
15139 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15140 (bug#4433).
15141
92f2affc
LMI
15142 * ido.el (ido-mode): Switch off the message if called
15143 non-interactively.
15144
57d5aff0
LMI
15145 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15146 before 587, since it appears that that's more likely to work for
15147 more people.
15148
98cd6c18 15149 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15150 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15151 exist.
15152
b96dec83
LMI
15153 * info.el: Remove the `Info-beginning-of-buffer' function
15154 (bug#8325).
15155
b796c9b7
SM
15156 * net/network-stream.el (network-stream-open-starttls):
15157 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15158
d90e2ea0
MR
151592011-08-01 Martin Rudalics <rudalics@gmx.at>
15160
15161 * window.el (display-buffer-in-window): Don't set dedicated status
15162 of window here (Bug#9215).
15163 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15164 (display-buffer-pop-up-side-window)
b796c9b7 15165 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15166
cca09170
SM
151672011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15168
15169 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15170 before binding generated-autoload-file.
15171
027b979c
DD
151722011-08-01 Deniz Dogan <deniz@dogan.se>
15173
15174 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15175
3c7ee4f3
MA
151762011-07-30 Michael Albinus <michael.albinus@gmx.de>
15177
15178 Sync with Tramp 2.2.2.
15179
15180 * net/trampver.el: Update release number.
15181
2cc8e51a
JL
151822011-07-30 Juri Linkov <juri@jurta.org>
15183
15184 * dired-aux.el (dired-touch-initial): Remove function.
15185 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15186 current time, and `default' to the last modification time of the
15187 current marked file (bug#6887).
15188
a514d856
JM
151892011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15190
15191 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15192 numeric argument to read-number (bug#9163).
a514d856 15193
8a7eddd7
MA
151942011-07-27 Michael Albinus <michael.albinus@gmx.de>
15195
15196 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15197 connection process, it could be nil.
15198
1ddd96f5
LL
151992011-07-27 Leo Liu <sdl.web@gmail.com>
15200
15201 Simplify url handling in rcirc-mode.
15202
15203 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15204 (rcirc-browse-url-at-mouse): Remove.
15205 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15206
b248a85d
AM
152072011-07-26 Alan Mackenzie <acm@muc.de>
15208
15209 Fontify bitfield declarations properly.
15210
15211 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15212 (c-symbol-chars): Now exported as a lang variable.
15213 (c-not-primitive-type-keywords): New lang variable.
15214
15215 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15216 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15217 parsed as a bitfield declaration.
b248a85d 15218
b796c9b7
SM
15219 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15220 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15221 (c-punctuation-in): New function.
15222 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15223 declarations properly.
15224
68575ab0
UJ
152252011-07-26 Ulf Jasper <ulf.jasper@web.de>
15226
15227 * calendar/icalendar.el (icalendar--all-events): Take care of
15228 multiple vcalendars in a single file.
b796c9b7 15229 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15230
0f0a88b9
DD
152312011-07-25 Deniz Dogan <deniz@dogan.se>
15232
15233 * image.el (insert-image): Clarifying docstring.
15234
0b3f36df
MA
152352011-07-24 Michael Albinus <michael.albinus@gmx.de>
15236
15237 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15238 `tramp-send-command-and-check' if there is no error.
15239 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15240
a9901f61
AM
152412011-07-22 Alan Mackenzie <acm@muc.de>
15242
15243 Prevent cc-langs.elc being loaded at run time.
15244
15245 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15246 cc-langs.
15247
4d61f28d 15248 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15249 "(require 'cc-langs)". Quote a form so it will evaluate at
15250 (cc-mode's) compilation time.
15251
11d074b2
MA
152522011-07-22 Michael Albinus <michael.albinus@gmx.de>
15253
15254 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15255 loading. (Bug#9114)
15256
938b94c8
MR
152572011-07-21 Martin Rudalics <rudalics@gmx.at>
15258
15259 * window.el (display-buffer-pop-up-window)
15260 (display-buffer-pop-up-side-window)
15261 (display-buffer-in-side-window): Call display-buffer-set-height
15262 and display-buffer-set-width after setting the new window's
b796c9b7 15263 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15264
bfa4f190
SS
152652011-07-20 Sam Steingold <sds@gnu.org>
15266
15267 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15268 (etags-tags-included-tables): Call `convert-standard-filename' on
15269 the file names contained in TAGS so that windows Emacs can handle
15270 TAGS files created by cygwin ctags.
15271
8ca42262
LMI
152722011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15273
15274 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15275 which apparently didn't work.
15276
5db2afd2 152772011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15278
5db2afd2
RW
15279 * proced.el (proced-send-signal): For *Marked Processes* buffer
15280 put point at beginning of buffer.
15281
92e15d10
SB
152822011-07-19 Stephen Berman <stephen.berman@gmx.net>
15283
15284 * proced.el (proced-format): Make header lines align with the text
15285 (bug#1779).
15286
1bfd59e5
LMI
152872011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15288
15289 * view.el (view-buffer): Allow running in `special' modes if we're
15290 visiting a file (bug#8615).
15291
f5aae37c
MR
152922011-07-19 Martin Rudalics <rudalics@gmx.at>
15293
15294 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15295 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15296 New functions.
f5aae37c
MR
15297 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15298 more accurately.
15299
bf2c1571
AM
153002011-07-18 Alan Mackenzie <acm@muc.de>
15301
15302 Fontify declarators properly when, e.g., a jit-lock chunk begins
15303 inside a declaration.
15304
15305 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15306
b796c9b7
SM
15307 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15308 New function.
bf2c1571
AM
15309 (c-complex-decl-matchers): Insert reference to
15310 c-font-lock-enclosing-decls.
15311
15312 * progmodes/cc-engine.el (c-backward-single-comment):
15313 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15314 to nil around calls to (forward-comment -1).
15315
4e190b80
LMI
153162011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15317
12dc863d
LMI
15318 * image.el (put-image): Doc typo fix.
15319
a762e966
LMI
15320 * progmodes/etags.el (tags-search): Doc typo fix.
15321
4e190b80
LMI
15322 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15323 password if we get errors 550 to 554.
15324
f019fb21
LMI
153252011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15326
b796c9b7 15327 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15328
81746738
LMI
15329 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15330 indentation character (bug#6380).
15331
3ee3a1b5
LMI
15332 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15333
c82f64de
LMI
15334 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15335 to clarify what the problem is (bug#4291).
15336
f019fb21
LMI
15337 * simple.el (current-kill): Clarify what
15338 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15339 (auto-fill-mode): Document `auto-fill-function' in relation to
15340 `auto-fill-mode' (bug#2470).
f019fb21 15341
0794775d
LM
153422011-07-16 Lawrence Mitchell <wence@gmx.li>
15343
15344 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15345 method if slot is read-only (bug#9035).
15346
be39b8cc
MR
153472011-07-16 Martin Rudalics <rudalics@gmx.at>
15348
b796c9b7 15349 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15350 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15351 selected before, see discussion of (Bug#8615), (Bug#6954).
15352 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15353
6ccf7859
GM
153542011-07-15 Glenn Morris <rgm@gnu.org>
15355
15356 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15357 Respect help-form.
6ccf7859 15358
87e86684
LM
153592011-07-09 Lawrence Mitchell <wence@gmx.li>
15360
15361 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15362 (gnutls-negotiate): Use it.
15363
d6066239
LMI
153642011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15365
b796c9b7
SM
15366 * net/gnutls.el (gnutls-negotiate):
15367 Upcase `gnutls-algorithm-priority'.
d6066239 15368
bd23ebc0
GM
153692011-07-15 Glenn Morris <rgm@gnu.org>
15370
c65bca65
GM
15371 * jka-compr.el (jka-compr-verbose): Move from here...
15372 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15373 Add missing :version tag.
15374 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15375
478615cc
LMI
153762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15377
7b41decb
LMI
15378 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15379 (gnutls-negotiate): Use it.
15380
dbc44fcd
LMI
15381 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15382
06789f97
LMI
15383 * info.el (Info-beginning-of-buffer): New command.
15384 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15385 announcing `b' as the key (bug#8325).
ab896c37 15386 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15387
c39da690
LMI
15388 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15389
3aa5f34b
LMI
15390 * international/mule-cmds.el
15391 (describe-specified-language-support): Make the error message
15392 clearer (bug#8905).
15393
4bf0979f
LMI
15394 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15395
478615cc
LMI
15396 * isearch.el (isearch-barrier): Add a doc string, since it's
15397 mentioned in a function doc string (bug#8678).
15398
75c68aa1
MR
153992011-07-15 Martin Rudalics <rudalics@gmx.at>
15400
15401 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15402 buffer argument (Bug#9083) and self-identifying label argument.
15403
a7c33da2
GM
154042011-07-15 Glenn Morris <rgm@gnu.org>
15405
15406 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15407
2f5c6024
LMI
154082011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15409
15410 * man.el (Man-fontify-manpage): Fix message when formatting the
15411 man page (bug#7929).
15412
0bb23927 154132011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15414
15415 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15416 argument LRM; if non-nil, append an invisible LRM character to the
15417 buffer name.
15418 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15419 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15420 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15421 paragraph direction.
cce4b0a7 15422
621ef9ab
LMI
154232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15424
d1583c48
LMI
15425 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15426 the man page name (bug#7929).
15427
6a57fb5f
LMI
15428 * image.el (put-image): Mention the `put-image' overlay property
15429 (bug#7834).
15430
d7956b14
LMI
15431 * scroll-bar.el (set-scroll-bar-mode): Mention that
15432 `scroll-bar-mode' lists the values (bug#7772).
15433
5b2d4a66
LMI
15434 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15435 command (bug#7729).
15436
7509a874
LMI
15437 * rect.el (apply-on-rectangle): Return the point after the last
15438 operation.
15439 (string-rectangle): Go to the point after the last operation
15440 (bug#7522).
15441
4fe74b19
LMI
15442 * printing.el (pr-toggle-region): Clarify the documentation
15443 slightly (bug#7493).
15444
b796c9b7
SM
15445 * time.el (display-time-update):
15446 Allow `display-time-mail-function' to return nil (bug#7158).
15447 Fix suggested by Detlev Zundel.
ab283561 15448
fc233c9d
LMI
15449 * vc/diff.el (diff): Clarify the order the file names are read
15450 (bug#7111).
15451
43f5740b
LMI
15452 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15453 the doc string (bug#7015).
15454
f2182a76
LMI
15455 * font-lock.el (font-lock-maximum-decoration): Mention what
15456 numeric levels mean (bug#6935).
15457
621ef9ab
LMI
15458 * startup.el (initial-buffer-choice): Don't mention the `none'
15459 selection, which is against policy.
15460
adc47434
MR
154612011-07-14 Martin Rudalics <rudalics@gmx.at>
15462
b796c9b7
SM
15463 * window.el (display-buffer-normalize-special):
15464 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15465
7e5bfb8f
EZ
154662011-07-14 Eli Zaretskii <eliz@gnu.org>
15467
15468 * subr.el (version<, version<=, version=): Mention "-CVS" and
15469 "-12345" alpha version numbers.
15470
27fa387a
CY
154712011-07-14 Chong Yidong <cyd@stupidchicken.com>
15472
15473 * bindings.el: Add advertised binding for set-mark-command
15474 (Bug#5772).
15475
8bdfa064
CY
154762011-07-14 Chong Yidong <cyd@stupidchicken.com>
15477
15478 * bindings.el (mode-line-other-buffer):
15479 * bookmark.el (bookmark-bmenu-2-window):
15480 * bs.el (bs-cycle-next, bs-cycle-previous):
15481 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15482 switch-to-buffer.
15483
15484 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15485 Delete.
8bdfa064 15486
5eba16a3
JB
154872011-07-14 Juanma Barranquero <lekktu@gmail.com>
15488
15489 * follow.el (follow-debug-message, follow-redisplay):
15490 * jka-cmpr-hook.el (with-auto-compression-mode):
15491 Fix typos in docstrings.
15492
15853710
LMI
154932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15494
a28e4607
LMI
15495 * subr.el (with-silent-modifications): Clarify somewhat what the
15496 macro inhibits (bug#6525).
15497
15853710
LMI
15498 * simple.el (eval-expression): Note what it does if called
15499 interactively (bug#6495).
15500
bee0fcef
CY
155012011-07-13 Chong Yidong <cyd@stupidchicken.com>
15502
b796c9b7
SM
15503 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15504 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15505
15506 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15507 Remove switch-to-buffer.
15508
58274504
LMI
155092011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15510
bd2fcc8d
LMI
15511 * files.el (make-directory): Clarify that an error will be raised
15512 if there's an error (bug#6397).
15513
0f04b32c
LMI
15514 * startup.el (initial-buffer-choice): Add `none' as a choice
15515 (bug#6234).
15516
465c5fc8
LMI
15517 * subr.el (add-hook): Clarify section about buffer-local hooks
15518 (bug#6218).
15519
58274504
LMI
15520 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15521
bead9a43
JB
155222011-07-13 Juanma Barranquero <lekktu@gmail.com>
15523
15524 * tabify.el (untabify): Preserve the current column so that point
15525 doesn't move (bug#6032).
15526
3af98a7b
LMI
155272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15528
b796c9b7
SM
15529 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15530 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15531
6240145a
GM
155322011-07-13 Glenn Morris <rgm@gnu.org>
15533
15534 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15535 (dired-insert-directory): Give a message the first time
15536 if ls is found not to support --dired.
15537
1d8c2ccc
LMI
155382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15539
15540 * simple.el (toggle-truncate-lines): Clarify what is toggled
15541 (bug#5580). Text by Drew Adams.
15542
5fc4038e
CY
155432011-07-13 Chong Yidong <cyd@stupidchicken.com>
15544
15545 * simple.el (blink-matching-open): Make the error message from the
15546 last change less verbose.
15547
bf6012e5
DN
155482011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15549
15550 * font-lock.el (font-lock-comment-face): Use the high contrast
15551 "yellow" color for font-lock-comment-face on low color terminals
15552 using a dark background color (bug#4221).
15553
343c3b5a
LMI
155542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15555
7e9505c5
LMI
15556 * dired.el (dired-insert-set-properties): Make the doc string
15557 reflect what it does now (bug#5325).
15558
c26fdcf5
LMI
15559 * simple.el (blink-matching-open): Say that we were unable to find
15560 the match within the limit, if we're limited (bug#5122).
15561
bb388cc5
LMI
15562 * international/mule-cmds.el (prefer-coding-system): Add an
15563 example (bug#4869).
15564
343c3b5a
LMI
15565 * progmodes/etags.el (tags-search): Document `file-list-form'
15566 (bug#4731).
15567
2a517d45
LM
155682011-07-13 Lawrence Mitchell <wence@gmx.li>
15569
15570 * net/browse-url.el (browse-url-default-browser)
15571 (browse-url-browser-function): Make the default browser choice a
15572 bit more logical (bug#4300). Also clean up the doc string.
15573
b6c78ef2
JB
155742011-07-13 Juanma Barranquero <lekktu@gmail.com>
15575
15576 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15577 binary endings (bug#4440).
15578
1c4dd947
LMI
155792011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15580
a2014063
LMI
15581 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15582 which can be pretty annoying (bug#8971).
15583
9c9c2d88
LMI
15584 * jka-compr.el (jka-compr-verbose): New variable, and use
15585 throughout (bug#8971).
15586
1c4dd947
LMI
15587 * info.el (Info-find-file): Fall back on the installation
15588 directory if we can't find the info node anywhere else.
15589
a1c9f41b
SO
155902011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15591
15592 * vc/vc.el (vc-revert-file):
15593 Don't set file time-stamp in the past. (Bug#5181)
15594
536f3d36
LMI
155952011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15596
7152b011
LMI
15597 * files.el (after-find-file): Give a better error message when
15598 trying to find a symlink that points to a file that doesn't exist
15599 (bug#4398).
15600
536f3d36
LMI
15601 * progmodes/cc-vars.el: Remove (probably) misleading comment
15602 (bug#4396).
15603
460c0fba
JB
156042011-07-12 Johan Bockgård <bojohan@gnu.org>
15605
15606 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15607
7a6bda45
CY
156082011-07-12 Chong Yidong <cyd@stupidchicken.com>
15609
15610 * mouse-sel.el: Hack restoring functionality, while keeping
15611 compatibility with 2010-07-03 changes to mouse selection.
15612 (mouse-sel-primary-overlay): New var.
15613 (mouse-sel-selection-alist): Use it.
15614 (mouse-sel-mode): Doc fix; remove points that are default features
15615 of mouse.el.
15616
c79598ef
JB
156172011-07-12 Johan Bockgård <bojohan@gnu.org>
15618
15619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15620 Fix previous fix (bug#2490).
15621
ff8be6ef
RW
156222011-07-12 Roland Winkler <winkler@gnu.org>
15623
b796c9b7
SM
15624 * textmodes/bibtex.el (bibtex-initialize):
15625 Use pop-to-buffer-same-window.
ff8be6ef
RW
15626 (bibtex-search-entries): Fix interactive call.
15627
296ba3ee
LMI
156282011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15629
f5242a02 15630 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15631 Fontise bytecomp Error lines more correctly (bug#2490).
15632 Fix suggested by Johan Bockgård.
f5242a02 15633
296ba3ee
LMI
15634 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15635
15636 * dired-x.el (dired-guess-default): Use `delete-dups'.
15637
f69fd0d2
CY
156382011-07-12 Chong Yidong <cyd@stupidchicken.com>
15639
15640 * dired.el (dired-mark-prompt):
15641 * dired-aux.el (dired-read-shell-command): Doc fix.
15642
eab5dc07
LMI
156432011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15644
b796c9b7
SM
15645 * mail/sendmail.el (sendmail-query-once):
15646 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15647 emacs -Q.
15648
15649 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15650
eab5dc07
LMI
15651 * cus-edit.el (custom-file): Take an optional no-error variable.
15652 (customize-save-variable): Set the variable, and give a warning if
15653 running under "emacs -q".
15654
a1e65d42
JB
156552011-07-11 Juanma Barranquero <lekktu@gmail.com>
15656
15657 * loadhist.el (unload-feature-special-hooks):
15658 Add `auto-coding-functions', `fill-nobreak-predicate' and
15659 `find-directory-functions' (bug#5327).
15660
1d52da10
LMI
156612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15662
be958f1d
LMI
15663 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15664
5bedb26c
LMI
15665 * cus-edit.el (custom-guess-name-alist): -alist variables should
15666 use the `alist' type (bug#3120). Suggested by Drew Adams.
15667
1d52da10
LMI
15668 * printing.el: Add documentation to all the `pr-toggle-' commands.
15669
cd394be1 156702011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15671
15672 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15673 backends where it makes sense (bug#2623).
15674
dcc88d8a
LMI
156752011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15676
c3de9feb
LMI
15677 * dired-x.el (dired-guess-default): Remove duplicate shell command
15678 entries (bug#2028).
8a93078b 15679 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15680 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15681
dcc88d8a
LMI
15682 * subr.el (remove-duplicates): New conveniency function.
15683
505e3645
LMI
156842011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15685
15686 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15687 (bug#1526).
15688
156892011-07-10 Martin Rudalics <rudalics@gmx.at>
15690
15691 * window.el (display-buffer-normalize-default): Don't invert
15692 meaning of even-window-heights. Reported by Eli Zaretskii
15693 <eliz@gnu.org>.
15694
455e4fa1
BR
156952011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15696
15697 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15698
8e0bc3e9
CY
156992011-07-10 Chong Yidong <cyd@stupidchicken.com>
15700
15701 * window.el (display-buffer): Fix arguments to
15702 display-buffer-reuse-window in last change.
15703
fa7c3228
CY
15704 * faces.el (link): Use a less saturated blue on light backgrounds.
15705
15706 * startup.el (fancy-startup-text, fancy-about-text)
15707 (fancy-startup-tail): Use font-lock faces, for background safety.
15708
c0a7f300
BN
157092011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15710
b796c9b7
SM
15711 * emulation/viper-cmd.el (viper-change-state-to-vi):
15712 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15713
4dc2a129
MR
157142011-07-09 Martin Rudalics <rudalics@gmx.at>
15715
15716 * window.el (display-buffer-default-specifiers): Remove.
15717 (display-buffer-macro-specifiers): Remove default specifiers.
15718 (display-buffer-alist): Default to nil.
b796c9b7 15719 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15720 (display-buffer-pop-up-window): Allow splitting internal
15721 windows. Check whether a live window was created.
15722 (display-buffer-other-window-means-other-frame)
15723 (display-buffer-normalize-arguments): Rename to
15724 display-buffer-normalize-argument and rewrite. Set the
15725 other-window specifier.
15726 (display-buffer-normalize-special): New function.
15727 (display-buffer-normalize-options): Rename to
15728 display-buffer-normalize-default and rewrite.
15729 (display-buffer-normalize-options-inhibit): Remove.
15730 (display-buffer-normalize-specifiers): Rewrite.
15731 (display-buffer): Process other-window specifier and call
15732 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15733 more faithfully.
b796c9b7 15734 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15735 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15736 (display-buffer-in-window, display-buffer-alist-set):
15737 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15738 <tassilo@member.fsf.org>.
15739
2d43b8c9
LL
157402011-07-09 Leo Liu <sdl.web@gmail.com>
15741
15742 * register.el (insert-register): Restore accidental change on
15743 2011-06-26. (Bug#9028)
15744
7f9b7c53
GM
157452011-07-09 Glenn Morris <rgm@gnu.org>
15746
15747 * subr.el (remq): Handle the empty list. (Bug#9024)
15748
f042cfd8
AS
157492011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15750
15751 * mail/sendmail.el (send-mail-function): No longer delay custom
15752 initialization.
15753 * custom.el (custom-initialize-delay): Doc fix.
15754
856b2f11
SM
157552011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15756
15757 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15758
afae1d68
MA
157592011-07-08 Michael Albinus <michael.albinus@gmx.de>
15760
15761 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15762 human-friendly prompt.
15763
0757af94
SM
157642011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15765
15766 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15767 provided by a particular plugin.
15768
d760b731
LMI
157692011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15770
15771 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15772 save customizations (with "emacs -Q"), just set the variable
15773 instead of erroring out.
15774
15775 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15776
cd79ce90
JL
157772011-07-08 Juri Linkov <juri@jurta.org>
15778
15779 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15780 (archive-zip-update-case): Use 7z if found by `executable-find'.
15781 The order of searching the available programs is the same as in
15782 `archive-zip-extract' (bug#8968).
15783
14cc04aa
CY
157842011-07-07 Chong Yidong <cyd@stupidchicken.com>
15785
15786 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15787 (menu-bar-options-menu): Tweak descriptions.
15788
0a1848ec
LMI
157892011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15790
15791 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15792 menu items into verb phrases (bug#1421). Also refill to fit under
15793 80 columns.
15794
f5bd0689
CY
157952011-07-07 Chong Yidong <cyd@stupidchicken.com>
15796
538e85c6
CY
15797 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15798 (Info-read-node-name): Doc fix (Bug#1084).
15799
f5bd0689
CY
15800 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15801 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15802 (end-of-sexp, beginning-of-sexp)
15803 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15804 (forward-symbol, forward-same-syntax, word-at-point)
15805 (sentence-at-point): Doc fix (Bug#1144).
15806
56ec5115
LMI
158072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15808
f3f8e37f
LMI
15809 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15810 should cover it (bug#1281).
15811
0757af94 15812 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15813
e9fce1ac 15814 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15815 negotiation fails, then possibly try again with a non-encrypted
15816 connection (bug#9017).
15817
56ec5115
LMI
15818 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15819 be used.
15820
c2f9aec8
RS
158212011-07-07 Richard Stallman <rms@gnu.org>
15822
15823 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15824 property, and handle its changed format.
15825 Look for the correct line number.
15826 Use file's line contents (but not past first =) to find
15827 correct line in message.
15828
ef7b981d 158292011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15830
15831 * international/characters.el (build-unicode-category-table):
15832 Delete it.
0757af94 15833 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15834
0757af94 15835 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15836 to src/chartab.c.
15837 (get-char-code-property): Call unicode-property-table-internal to
15838 load a file. Call get-unicode-property-internal where necessary.
15839 (put-char-code-property): Call unicode-property-table-internal to
15840 load a file. Call put-unicode-property-internal where necessary.
15841 put-unicode-property-internal where necessary.
0757af94
SM
15842 (char-code-property-description):
15843 Call unicode-property-table-internal to load a file.
c805dec0
KH
15844
15845 * international/charprop.el:
15846 * international/uni-bidi.el:
15847 * international/uni-category.el:
15848 * international/uni-combining.el:
15849 * international/uni-comment.el:
15850 * international/uni-decimal.el:
15851 * international/uni-decomposition.el:
15852 * international/uni-digit.el:
15853 * international/uni-lowercase.el:
15854 * international/uni-mirrored.el:
15855 * international/uni-name.el:
15856 * international/uni-numeric.el:
15857 * international/uni-old-name.el:
15858 * international/uni-titlecase.el:
15859 * international/uni-uppercase.el: Regenerate.
15860
15861 * loadup.el: Load international/charprop.el before
15862 international/characters.
15863
e14b388a
CY
158642011-07-07 Chong Yidong <cyd@stupidchicken.com>
15865
15866 * window.el (next-buffer, previous-buffer): Signal an error if
15867 called from a minibuffer window.
15868
15869 * bindings.el: Revert 2011-07-04 change.
15870
354cf0ba
RS
158712011-07-06 Richard Stallman <rms@gnu.org>
15872
15873 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15874 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15875 Treat markers like ints.
15876 (rmail-mime-entity): Doc fix.
15877
a48868a7
LMI
158782011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15879
4906cd3d
LMI
15880 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15881 defcustom again for backwards compatibility.
15882
e0457abe
LMI
15883 * simple.el (shell-command-on-region): Fill.
15884
d67f7e1f
LMI
15885 * dired-aux.el (dired-kill-line): Add a doc string.
15886
fe204702
LMI
15887 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15888 to "\\sw\\|\\s_" (bug#358).
15889
a48868a7
LMI
15890 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15891 (dired-unmark-backward): Ditto.
15892 (dired-flag-backup-files): Ditto.
15893
15894 * dired-x.el (dired-mark-sexp): Ditto.
15895
aa8a705c
RS
158962011-07-06 Richard Stallman <rms@gnu.org>
15897
15898 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15899 (rmail-mime-entity): New arg TRUNCATED.
15900 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15901 New functions.
15902 (rmail-mime-save): Warn if entity is truncated.
15903 (rmail-mime-toggle-hidden): Likewise, for showing.
15904 (rmail-mime-process-multipart): Record when an entity is truncated.
15905
a9a936b9
RS
15906 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15907 if ENTITY is a string.
15908
1f2b92cb
LMI
159092011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15910
f4f73198 15911 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15912 of faces when `M-C-x'-ing their definitions (bug#8378).
15913 Also clean up the code slightly.
f4f73198 15914
12b16734 15915 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15916 because that makes the colors go away.
12b16734 15917
f0691d22
LMI
15918 * mail/sendmail.el (send-mail-function): Change the default to
15919 `sendmail-query-once'.
9e87df06 15920 (sendmail-query-once): Add an autoload cookie.
f0691d22 15921
1f2b92cb
LMI
15922 * net/network-stream.el (network-stream-open-starttls): Try using
15923 a plain connection even if the server offered STARTTLS, and we
15924 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15925 capability. This should make smtpmail.el work in slightly more
15926 configurations.
15927
1cdd2a1b
MA
159282011-07-06 Michael Albinus <michael.albinus@gmx.de>
15929
15930 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15931 New defun.
15932 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15933
fbcc67e2
MM
159342011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15935
15936 * progmodes/sql.el: Version 3.0
0757af94 15937 (sql-product-alist): Add product :completion-object,
fbcc67e2 15938 :completion-column, and :statement attributes.
0757af94 15939 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15940 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15941 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15942 ansi keywords.
15943 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15944 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15945 (sql-oracle-show-reserved-words): New function for development.
15946 (sql-product-font-lock): Simplify for source code buffers.
15947 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15948 New functions.
15949 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15950 (sql-mode-map): Add statement movement functions.
15951 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15952 New variable.
fbcc67e2
MM
15953 (sql-statement-regexp, sql-beginning-of-statement)
15954 (sql-end-of-statement, sql-signum): New functions.
0757af94 15955 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15956 (sql-show-sqli-buffer): Bug fix.
15957 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15958 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15959 with sql-interactive-mode.
15960 (sql-save-connection): Save buffer local settings.
0757af94 15961 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15962 (sql-product-interactive): Bug fix.
15963 (sql-preoutput-hold): New variable.
15964 (sql-interactive-remove-continuation-prompt): Bug fixes.
15965 (sql-debug-redirect): New variable.
15966 (sql-str-literal): New function.
15967 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15968 Redesign.
fbcc67e2
MM
15969 (sql-oracle-save-settings, sql-oracle-restore-settings)
15970 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15971 (sql-completion-object, sql-completion-column)
15972 (sql-completion-sqlbuf): New variables.
15973 (sql-build-completions-1, sql-build-completions)
15974 (sql-try-completion): New functions.
15975 (sql-read-table-name): Use them.
15976 (sql-contains-names): New buffer local variable.
15977 (sql-list-all, sql-list-table): Use it.
15978 (sql-oracle-completion-types): New variable.
15979 (sql-oracle-completion-object, sql-sqlite-completion-object)
15980 (sql-postgres-completion-object): New functions.
15981
d4eaeab1
GM
159822011-07-06 Glenn Morris <rgm@gnu.org>
15983
15984 * window.el (pop-to-buffer): Doc fix.
15985
322b7dab 159862011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15987
15988 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15989
322b7dab 159902011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15991
322b7dab 15992 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15993
322b7dab 15994 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15995
605dd5bf
CY
159962011-07-05 Chong Yidong <cyd@stupidchicken.com>
15997
15998 * button.el (button): Inherit from link face. Suggested by Dan
15999 Nicolaescu.
16000
7dbfa719
SM
160012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16002
3db614b0
SM
16003 * progmodes/gdb-mi.el: Fit in 80 columns.
16004 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
16005 switch-to-buffer.
16006
7dbfa719
SM
16007 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
16008 if imenu is simply not configured (bug#8941).
16009
919d884a
KM
160102011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
16011
16012 * allout.el (allout-post-undo-hook): New allout outline-change
16013 event hook to signal undo activity.
16014 (allout-post-command-business): Run allout-post-undo-hook if an
16015 undo just occurred.
7dbfa719
SM
16016 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
16017 * allout-widgets.el (allout-widgets-after-undo-function):
16018 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
16019 in the vicinity of an undo.
16020 (allout-widgets-mode): Include allout-widgets-after-undo-function
16021 on the new allout-post-undo-hook.
16022
450a0f09
SM
160232011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16024
16025 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
16026 Let define-derived-mode define it.
16027 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
16028 cycles of abbrev-table inheritance (bug#8998).
16029
2de69e00
RW
160302011-07-05 Roland Winkler <winkler@gnu.org>
16031
16032 * textmodes/bibtex.el: Add support for biblatex.
16033 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16034 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16035 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16036 (bibtex-entry-alist, bibtex-field-alist): New variables.
16037 (bibtex-entry-field-alist): Obsolete alias for
16038 bibtex-BibTeX-entry-alist.
16039 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16040 (bibtex-set-dialect): New command.
16041 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16042 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16043 Bind via bibtex-set-dialect.
2de69e00
RW
16044 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16045 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16046 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16047 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16048 Define via bibtex-set-dialect.
450a0f09
SM
16049 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16050 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16051 (bibtex-vec-push, bibtex-vec-incr): New functions.
16052 (bibtex-format-entry, bibtex-field-list)
16053 (bibtex-print-help-message, bibtex-validate)
16054 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16055
2dcdbdd9
SM
160562011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16057
16058 * progmodes/compile.el (compilation-goto-locus):
16059 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16060 * bs.el (bs-cycle-next, bs-cycle-previous):
16061 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16062 * bindings.el (mode-line-other-buffer):
16063 * autoinsert.el (auto-insert):
16064 * arc-mode.el (archive-extract):
16065 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16066
b27640fe
JB
160672011-07-05 Juanma Barranquero <lekktu@gmail.com>
16068
16069 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16070 Fix check of `emacs-lock-unlockable-modes'.
16071 Coerce true values of `emacs-lock--try-unlocking' to t.
16072
53bbe3ad
JB
160732011-07-05 Juanma Barranquero <lekktu@gmail.com>
16074
16075 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16076 * emacs-lock.el: New file.
16077
1d3cdbc7
JD
160782011-07-05 Julien Danjou <julien@danjou.info>
16079
16080 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16081 than `boundp' to check if face is set.
16082
9173deec
JB
160832011-07-05 Juanma Barranquero <lekktu@gmail.com>
16084
16085 * register.el (registerv-make):
16086 * window.el (window-min-height): Fix typos in docstrings.
16087
869795d6
JD
160882011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16089
9173deec 16090 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16091 Update doc string.
16092
b768cdcd
JB
160932011-07-04 Juanma Barranquero <lekktu@gmail.com>
16094
16095 * server.el (server-execute): Catch quit and call
16096 `server-return-error' to pass the error back to emacsclient and
16097 close the connection (bug#8942).
16098
13aa217b
KM
160992011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16100
16101 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16102 insecure exception for current topic. Also note that auto-saves
16103 are handled differently.
16104
5d3385a0 16105 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16106 State variables for tracking auto-save inhibition situation.
16107
16108 (allout-write-contents-hook-handler): Rename from
16109 'allout-write-file-hook-handler', and describe how it depends on
16110 write-contents-functions sensitivity to non-nil value to prevent
16111 file write.
16112
16113 (allout-auto-save-hook-handler): Remove. auto-save does not check
16114 this in individual buffers, only in the starting buffer, so this
16115 is not the right way for us to inhibit auto-save in a buffer
16116 according to its condition.
16117
16118 (allout-mode): Use new allout-write-contents-hook-handler, and
16119 only with write-contents-functions. Remove auto-save provisions -
16120 they're implemented elsewhere.
16121
16122 (allout-before-change-handler): If undo is in progress, note that
16123 for attention of allout-post-command-business.
16124
16125 (allout-post-command-business): If the command we're following was
16126 an undo, check for change in the status of encrypted items and
16127 adjust auto-save inhibitions accordingly.
16128
16129 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16130 according to whether there are or aren't any plain-text topics
16131 pending encryption.
16132
2dcdbdd9 16133 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16134 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16135 if there are plain-text topics pending encryption.
13aa217b
KM
16136
16137 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16138 buffer-saved-size and some allout state to not inhibit auto-saves
16139 if there are no longer any plain-text topics pending encryption.
16140
0757af94
SM
16141 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16142 No longer provide for exemption of the current topic.
13aa217b 16143
ac89b32c
JL
161442011-07-04 Juri Linkov <juri@jurta.org>
16145
16146 Add 7z operations to delete and save changed members (bug#8968).
16147 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16148 New defcustoms.
16149 (archive-7z-write-file-member): New function.
16150 (archive-7z-summarize): Fix the number of dashes in the
16151 listing output.
16152
8fa39615
SM
161532011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16156 (bug#8958).
16157
2f11b3f1
CY
161582011-07-04 Chong Yidong <cyd@stupidchicken.com>
16159
d66fef2b
CY
16160 * bindings.el: Ignore next-buffer and previous-buffer in
16161 minibuffer-local-map.
16162
2f11b3f1
CY
16163 * font-lock.el (font-lock-builtin-face): Change light background
16164 color to dark slate blue (Bug#6693).
16165
f932a347
WD
161662011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16167
16168 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16169
c8af70e1
SM
161702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16171
16172 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16173 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16174 Add switch-to-buffer.
16175
f158badc
LMI
161762011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16177
16178 * isearch.el (isearch-search-fun-function): Clarify further the
16179 meaning of the function returned.
16180
6d95bd46
MA
161812011-07-04 Michael Albinus <michael.albinus@gmx.de>
16182
16183 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16184
16185 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16186 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16187 Use it.
16188 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16189 `tramp-default-remote-path' does not exist.
16190 (tramp-send-command-and-read): New optional argument NOERROR.
16191 (tramp-open-connection-setup-interactive-shell)
16192 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16193 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16194 (tramp-process-sentinel): Flush also process' connection property.
16195 (tramp-sh-handle-start-file-process): Do not set process
16196 sentinel. It is done now ...
16197 (tramp-maybe-open-connection): ... here. (Bug#8929)
16198
909e6b67
MK
161992011-07-04 MON KEY <monkey@sandpframing.com>
16200
16201 * play/animate.el (animate-string): Doc fixes and allow changing
16202 the buffer name (bug#5417).
16203
162042011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16205
c8af70e1 16206 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16207
f34755dc
PE
162082011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16209
396cec72
PE
16210 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16211 This is simpler and helps future-proof the code.
16212 (timer-until): Use time-subtract and float-time.
08235028 16213 (timer--time-less-p): Use time-less-p.
f34755dc 16214
56e6cc31
JB
162152011-07-04 Juanma Barranquero <lekktu@gmail.com>
16216
3abb79e5
JB
16217 * type-break.el (timep): Use the value of `float-time' to avoid a
16218 byte-compiler warning.
16219
56e6cc31
JB
16220 * server.el (server-eval-and-print): Return any result, even nil.
16221
7b9430b4
PE
162222011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16223
16224 * type-break.el: Accept time formats that the builtins accept.
16225 (timep, type-break-time-difference): Accept any format that
16226 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16227 This is simpler and helps future-proof the code.
16228 (type-break-time-difference): Round rather than ignoring
16229 subseconds components.
16230
3034e9e7
LMI
162312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16232
16233 * info.el (Info-apropos-matches): Make non-interactive, since it
16234 doesn't seem to do anything useful as a command (bug#8829).
16235
1485f4c0
CY
162362011-07-03 Chong Yidong <cyd@stupidchicken.com>
16237
16238 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16239 Move from faces.el.
1485f4c0
CY
16240 (frame-default-terminal-background): New function.
16241
16242 * custom.el (custom-push-theme): Don't record faces in `changed'
16243 theme; this doesn't work correctly for per-frame face settings.
16244 (disable-theme): Use face-set-after-frame-default to reset faces.
16245 (custom--frame-color-default): New function.
16246
9fa3dd45
LMI
162472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16248
c8af70e1 16249 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16250 (bug#8769).
16251
6cbbc20c
KR
162522011-03-29 Kevin Ryde <user42@zip.com.au>
16253
16254 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16255 `perl-Test2' extend to match possible "fail #N" rep count
16256 (bug#8377).
16257
c7f98048
LMI
162582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16259
65676592
LMI
16260 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16261 `smtpmail-via-smtp' now returns the error instead of nil.
16262
c7f98048
LMI
16263 * isearch.el (isearch-search-fun-function): Clarify the doc string
16264 (bug#8101).
16265
56e6cc31 162662011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16267
16268 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16269 unnecessary spaces (bug#8987).
16270
2b216704
LMI
162712011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16272
16273 * net/network-stream.el (open-network-stream): Use the
16274 :end-of-capability command thoughout.
16275
162762011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16277
16278 * net/network-stream.el (open-network-stream): Add the
16279 :end-of-capability command parameter, used by pop3.el.
16280
36adf6ce
LMI
162812011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16282
1ca0da0e
LMI
16283 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16284
fc00f69c
LMI
16285 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16286 for list)" (bug#6475).
16287
28fd8759 16288 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16289 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16290 an error (bug#6297).
16291
0dd8b6da
LMI
16292 * man.el (Man-reference-regexp): Allow matching possible
16293 word-wrapped references (bug#6289).
16294
ce1438d6
LMI
16295 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16296 for consistency with the other vc buffers (bug#6197).
16297 (vc-checkin): Ditto.
16298
16299 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16300
36adf6ce
LMI
16301 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16302
e83cc1f7
LMI
163032011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16304
8a20ca4c
LMI
16305 * custom.el (defcustom): Clarify that :set is only used in the
16306 Customize user interface (bug#6089).
16307
83319045
LMI
16308 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16309 associated with a file, refuse to run instead of erroring out
16310 (bug#6084).
16311
a8392169
LMI
16312 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16313 the doc string, since it appears that using `fill-column' always
16314 controls the width (bug#7845).
16315
e83cc1f7
LMI
16316 * simple.el (shell-command-on-region): Say where the error output
16317 went if `shell-command-default-error-buffer' is set (bug#6857).
16318
e47ca23b
KM
163192011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16320
16321 * allout.el (allout-yank-processing): Adjust cursor position for
16322 backwards-deleted space.
16323
16324 (allout-rebullet-heading): Register changes with
16325 allout-exposure-changed-hook, so the modified topic is properly
16326 decorated.
16327
5cf56143
LMI
163282011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16329
08549772
LMI
16330 * minibuffer.el (completion-in-region): Document PREDICATE
16331 (bug#7136).
16332
48e96771
LMI
16333 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16334 of keyword/argument pairs (bug#6904).
16335
c8af70e1
SM
16336 * replace.el (multi-occur):
16337 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16338
e17d05e2
LMI
163392011-07-02 Drew Adams <drew.adams@oracle.com>
16340
16341 * dired.el (dired-mark-if): Make the message about whether it's
16342 marking or unmarking clearer (bug#8523).
16343
063b0e45
LMI
163442011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16345
16346 * disp-table.el (display-table-print-array): New function.
16347 (describe-display-table): Use it to print the vectors more pretty
16348 (Bug#8859).
16349
28545e04
MR
163502011-07-02 Martin Rudalics <rudalics@gmx.at>
16351
16352 * window.el (window-state-get-1): Don't assign clone numbers.
16353 Add clone-of item to list of window parameters.
16354 (window-state-put-2): Don't process clone numbers.
16355 (display-buffer-alist): Fix doc-string.
16356
3349e122
SM
163572011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16358
16359 * subr.el (remq): Don't allocate if it's not needed.
16360 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16361 (keymap--merge-bindings): New functions.
16362 (keymap-canonicalize): Use them to refine the canonicalization.
16363 * minibuffer.el (minibuffer-local-completion-map)
16364 (minibuffer-local-must-match-map): Move initialization from C.
16365 (minibuffer-local-filename-completion-map): Move initialization from C;
16366 don't inherit from anything here.
16367 (minibuffer-local-filename-must-match-map): Make obsolete.
16368 (completing-read-default): Use make-composed-keymap to combine
16369 minibuffer-local-filename-completion-map with either
16370 minibuffer-local-must-match-map or
16371 minibuffer-local-filename-completion-map.
16372
d224ac83
GM
163732011-07-01 Glenn Morris <rgm@gnu.org>
16374
3de63bf8
GM
16375 * type-break.el (type-break-time-sum): Use dolist.
16376
d224ac83
GM
16377 * textmodes/flyspell.el (flyspell-word-search-backward):
16378 Replace CL function.
16379
1a1e3f32
SM
163802011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16381
fe3f64d5
SM
16382 * mouse.el (mouse--strip-first-event): New function.
16383 (function-key-map): Use it to map fringe clicks to normal clicks
16384 by default.
16385
eb604e34
SM
16386 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16387 (vc-bzr-revision-completion-table): Add support for annotate and date.
16388
1a1e3f32
SM
16389 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16390 inherit from parent.
16391
5bd35902
LMI
163922011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16393
ace6c69c 16394 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16395 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16396
191e2bed
LMI
16397 * dired.el (dired-mode): Fix up the doc string as suggested by
16398 Drew Adams (bug#8817).
16399
5bd35902
LMI
16400 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16401 cookie, since the manual says that it should be possible to add
16402 this function to `find-file-hook' (bug#8709).
16403
eee8207a
TZ
164042011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16405
16406 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16407 here. Noted Ted Zlatanov as the maintainer.
16408 (cfengine-common-settings, cfengine-common-syntax): New functions
16409 to set up common things between `cfengine-mode' and
16410 `cfengine3-mode'.
16411 (cfengine3-mode): New mode.
16412 (cfengine3-defuns cfengine3-defuns-regex
16413 (cfengine3-class-selector-regex cfengine3-category-regex)
16414 (cfengine3-vartypes cfengine3-font-lock-keywords)
16415 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16416 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16417
36b148cf
MA
164182011-07-01 Michael Albinus <michael.albinus@gmx.de>
16419
16420 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16421
16422 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16423
0bf4ba9a
MR
164242011-07-01 Martin Rudalics <rudalics@gmx.at>
16425
16426 * window.el (same-window-buffer-names, same-window-regexps)
16427 (same-window-p, special-display-frame-alist)
16428 (special-display-popup-frame, special-display-function)
16429 (special-display-buffer-names, special-display-regexps)
16430 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16431 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16432 (split-window-preferred-function, split-height-threshold)
16433 (split-width-threshold, even-window-heights)
16434 (display-buffer-mark-dedicated, window-splittable-p)
16435 (split-window-sensibly, window-safely-shrinkable-p):
16436 Un-obsolete.
16437 (display-buffer): Don't spread args with function specifier
16438 because special-display-popup-frame won't like it.
16439
35837f51
PE
164402011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16441
d0672f86
PE
16442 Time-stamp simplifications and fixes.
16443 These improve accuracy slightly, and future-proof the code
16444 against some potential changes to current-time format.
16445
b9444d97
PE
16446 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16447 by using time-since and float-time.
16448
0ef923dc
PE
16449 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16450 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16451 + NNN microseconds".
16452
2f81380d
PE
16453 * type-break.el (type-break-time-sum): Rewrite using time-add.
16454
845b5c3e
PE
16455 * play/hanoi.el (hanoi-current-time-float): Remove.
16456 All uses replaced by float-time.
16457
ee6f1be0
PE
16458 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16459 This yields a more-accurate answer.
16460 (rng-time-to-float): Remove; no longer needed.
16461
fe955043
PE
16462 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16463
5777162a
PE
16464 * calendar/timeclock.el (timeclock-seconds-to-time):
16465 Defalias to seconds-to-time, since they're the same thing.
16466
3103f8b6 16467 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16468 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16469 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16470
0e61a35f
SM
164712011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16472
16473 * window.el (bury-buffer): Don't iconify the only frame.
16474 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16475 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16476
ddd63a1e
CY
164772011-07-01 Chong Yidong <cyd@stupidchicken.com>
16478
0e61a35f
SM
16479 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16480 Add mouse-yank-primary.
ddd63a1e 16481
055f4923
TZ
164822011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16483
16484 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16485
6a2fb145
SM
164862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16487
16488 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16489 (find-library-name): Use it to find relative load names when provided
16490 absolute file name (bug#8803).
16491
fd4983f2
LMI
164922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16493
887d14ad
LMI
16494 * textmodes/flyspell.el (flyspell-word): Consider words that
16495 differ only in case as potential doublons (bug#5687).
16496
c53dc7fc
LMI
16497 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16498 Remove two rather uninteresting debugging-like messages to make
16499 debbugs.el more silent.
16500
fd4983f2
LMI
16501 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16502 a password-like phrase.
16503
7a71b18d 165042011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16505
16506 * progmodes/cc-guess.el: New file.
16507
6a2fb145 16508 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16509
16510 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16511 derived from `c-basic-common-init'.
16512
16513 * progmodes/cc-mode.el (top-level): Require cc-guess.
16514 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16515
1fa280a3
LM
165162011-06-30 Lawrence Mitchell <wence@gmx.li>
16517
16518 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16519
e6597158
AM
165202011-06-30 Alan Mackenzie <acm@muc.de>
16521
1fa280a3
LM
16522 * progmodes/cc-engine.el (c-guess-continued-construct):
16523 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16524 lock is disabled. Name this case as "CASE G".
16525
68ba37fb
KM
165262011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16527
16528 * allout.el (allout-yank-processing): Fix injection of extra space
16529 between bullet and non-whitespace character in first topic when
16530 pasting, ensuring that the actual spacing in the pasted topic
16531 following the bullet char is preserved. This extra space was
16532 causing pasted encrypted topics to get a decrypted status even
16533 when the content was actually still encrypted. Now the decryption
16534 status from before the paste is preserved.
16535
16536 (allout-flag-region): Set all allout overlays so they evaporate
16537 when reduced to zero length (evanescent), to prevent overlay
16538 leakage.
16539
887a0b34
GM
165402011-06-30 Glenn Morris <rgm@gnu.org>
16541
94b9acce
GM
16542 * w32-fns.el (w32-charset-info-alist): Declare.
16543
1d9b46d4
GM
16544 * find-dired.el (find-grep-options): Simplify.
16545
cc232200
GM
16546 * term/ns-win.el (ns-set-resource): Declare.
16547
28e77c46
GM
16548 * ses.el (row, col): Declare dynamic variables honestly.
16549
887a0b34
GM
16550 * textmodes/reftex-parse.el (index-tags): Declare.
16551
658d8eb8
CY
165522011-06-30 Chong Yidong <cyd@stupidchicken.com>
16553
16554 * cus-edit.el (customize-push-and-save): New function.
16555
16556 * files.el (hack-local-variables-confirm): Use it.
16557
1fa280a3
LM
16558 * custom.el (load-theme): New arg NO-CONFIRM.
16559 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16560 (custom-enabled-themes): Doc fix.
16561
16562 * cus-theme.el (customize-create-theme)
16563 (custom-theme-merge-theme): Callers to load-theme changed.
16564
bb617717
LMI
165652011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16566
d61bdd5d
LMI
16567 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16568 short URLs have at least one dot in them (bug #7614).
16569
bb617717
LMI
16570 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16571 nil, because using a pty is apparently too slow (bug #895).
16572
2f31f37a
LMI
165732011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16574
16575 * mail/sendmail.el (sendmail-query-once): New function.
16576 (sendmail-query-once-function): New variable.
16577
3076b24e
GM
165782011-06-29 Glenn Morris <rgm@gnu.org>
16579
faf2a174
GM
16580 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16581
3076b24e
GM
16582 * ses.el (top-level): Require cl when compiling.
16583 (ses-set-localvars): Fix error statement.
16584 Call it at compile time to silence a storm of warnings.
16585
5386012d
MR
165862011-06-29 Martin Rudalics <rudalics@gmx.at>
16587
16588 * window.el (normalize-live-buffer): Rename to
16589 window-normalize-buffer.
16590 (normalize-live-frame): Rename to window-normalize-frame.
16591 (normalize-any-window): Rename to window-normalize-any-window.
16592 (normalize-live-window): Rename to window-normalize-live-window.
16593 (make-window-atom): Rename to window-make-atom.
16594 (window-resize-reset): Rename to window--resize-reset.
16595 (window-resize-reset-1): Rename to window--resize-reset-1.
16596 (resize-mini-window): Rename to window--resize-mini-window.
16597 (resize-subwindows-skip-p): Rename to
16598 window--resize-subwindows-skip-p.
16599 (resize-subwindows-normal): Rename to
16600 window--resize-subwindows-normal.
16601 (resize-subwindows): Rename to window--resize-subwindows.
16602 (resize-other-windows): Rename to window--resize-siblings.
16603 (resize-this-window): Rename to window--resize-this-window.
16604 (resize-root-window): Rename to window--resize-root-window.
16605 (resize-root-window-vertically): Rename to
16606 window--resize-root-window-vertically.
16607 (normalize-buffer-to-display): Rename to
16608 window-normalize-buffer-to-display.
16609 (normalize-buffer-to-switch-to): Rename to
16610 window-normalize-buffer-to-switch-to.
16611 Correspondingly update all callers of the functions listed
16612 above.
16613 (display-buffer-alist, display-buffer-normalize-arguments)
16614 (display-buffer-normalize-options, display-buffer)
16615 (display-buffer-alist-set): Use "function" instead of
16616 "fun-with-args".
16617
1176868d
CY
166182011-06-28 Chong Yidong <cyd@stupidchicken.com>
16619
16620 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16621 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16622 debbugs.gnu.org. Mention acknowledgment email.
16623
20a7a65f
LMI
166242011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16625
16626 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16627 buffer multibyteness, since it shouldn't matter.
16628
5f45cca5
MR
166292011-06-28 Martin Rudalics <rudalics@gmx.at>
16630
16631 * window.el (display-buffer-in-side-window): Handle dedicated
16632 windows as in display-buffer-reuse-window.
16633 (display-buffer-normalize-alist): Use value of override
16634 specifier.
16635 (display-buffer-normalize-specifiers): Use value of
16636 other-window-means-other-frame specifier.
16637 (display-buffer-alist): Rewrite some texts in widgets.
16638 (display-buffer): Spread arguments when calling function
16639 specified by fun-with-args.
16640
ad85fe1f
DD
166412011-06-28 Deniz Dogan <deniz@dogan.se>
16642
1fa280a3
LM
16643 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16644 Unnest `let'.
da68c4c8 16645
ad85fe1f
DD
16646 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16647 selectors (Bug#5732).
ec49bd31 16648 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16649
a08cc025
JA
166502011-06-27 Jari Aalto <jari.aalto@cante.net>
16651
16652 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16653 (eshell-ls-date-format): New defcustom.
16654 (eshell-ls-file): Use it.
16655
e2b551c5
SM
166562011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16657
16658 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16659
8982b231
KY
166602011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16661
16662 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16663 (ange-ftp-make-tmp-name): New arg.
16664 (ange-ftp-file-local-copy): Use it.
16665
36c9fa27
J
166662011-06-27 Jambunathan K <kjambunathan@gmail.com>
16667
16668 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16669 no-conversion (Bug#8870).
16670
d68443dc
MR
166712011-06-27 Martin Rudalics <rudalics@gmx.at>
16672
16673 * window.el (window-right, window-left, window-child)
16674 (window-child-count, window-last-child)
16675 (window-iso-combination-p, walk-window-tree-1)
16676 (window-atom-check-1, window-tree-1, delete-window)
16677 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16678 new naming conventions - window-vchild, window-hchild,
16679 window-next and window-prev are now called window-top-child,
16680 window-left-child, window-next-sibling and window-prev-sibling
16681 respectively.
d615d6d2
MR
16682 (resize-window-reset): Rename to window-resize-reset.
16683 (resize-window-reset-1): Rename to window-resize-reset-1.
16684 (resize-window): Rename to window-resize.
16685 (window-min-height, window-min-width)
16686 (resize-mini-window, resize-this-window, resize-root-window)
16687 (resize-root-window-vertically, adjust-window-trailing-edge)
16688 (enlarge-window, shrink-window, maximize-window)
16689 (minimize-window, delete-window, quit-restore-window)
16690 (split-window, balance-windows, balance-windows-area-adjust)
16691 (balance-windows-area, window-state-put-2)
16692 (display-buffer-even-window-sizes, display-buffer-set-height)
16693 (display-buffer-set-width, set-window-text-height)
16694 (fit-window-to-buffer): Rename all "resize-window" prefixed
16695 calls to use the "window-resize" prefix convention.
16696 (display-buffer-alist): Fix symbol for label specifier.
16697 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16698 corresponding specifier.
16699 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16700
b6458526
VB
167012011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16702
16703 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16704 convention.
16705 (ses-call-printer): Does not pass an empty string to formatter when the
16706 cell is empty to keep from barking printer Calc math-format-value.
16707
d31fd9ac
RS
167082011-06-27 Richard Stallman <rms@gnu.org>
16709
43d5bf84
RS
16710 * battery.el (battery-mode-line-limit): New variable.
16711 (battery-update): Handle it.
16712
d31fd9ac
RS
16713 * mail/rmailmm.el (rmail-mime-process-multipart):
16714 Handle truncated messages.
16715
819a6054
GM
167162011-06-27 Glenn Morris <rgm@gnu.org>
16717
16718 * progmodes/flymake.el (flymake-err-line-patterns):
16719 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16720
cedc73f2
VB
167212011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16722
819a6054 16723 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16724 (ses--clean-!, ses--clean-_): New functions.
16725 (ses-range): Add configurability of readout order, and conversion
16726 to Calc vector.
16727
5e5d49b6
VB
16728 * ses.el (ses-repair-cell-reference-all): New function.
16729 (ses-cell-symbol): Set macro as safe, so that it can be used in
16730 formulas.
16731
56e6cc31 16732 * ses.el: Update cycle detection algorithm.
90ca8b49 16733 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16734 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16735 (ses-set-localvars): New function.
16736 (ses-make-cell): Add property-list as a cell element.
16737 (ses-cell-property-get-fun, ses-cell-property-get)
16738 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16739 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16740 New functions.
90ca8b49
VB
16741 (ses-cell-property-set, ses-cell-property-pop)
16742 (ses-cell-property-get-handle): New macro.
16743 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16744 New aliases, used for code readability.
16745 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16746 cycle detection.
16747 (ses-self-reference-early-detection): New defcustom.
fac916bf 16748 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16749 (ses-mode): Use ses-set-localvars.
16750 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16751 before lauching the update processing.
16752 (ses-initialize-Dijkstra-attempt): New function.
16753 (ses-recalculate-cell): Update for cycle detection based on
16754 Dijkstra algorithm.
16755
2bb63e81
VB
16756 * ses.el: Fix commenting and indenting convention.
16757
c9d29fb8
SM
167582011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16759
16760 * bs.el (bs-cycle-next): Complete last change.
16761
d8e4b68b
JB
167622011-06-27 Drew Adams <drew.adams@oracle.com>
16763
16764 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16765
40098786
LMI
167662011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16767
c9d29fb8
SM
16768 * net/network-stream.el (network-stream-open-starttls):
16769 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16770 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16771
40098786
LMI
16772 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16773 to binary to possibly avoid line encoding issues on Windows (among
16774 other things).
16775
468d09d4
LMI
167762011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16777
16778 * net/network-stream.el (open-network-stream): Return an :error
16779 saying what the problem was, if possible.
16780
16781 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16782 server.
16783
16784 * net/network-stream.el (network-stream-open-starttls): If we
16785 wanted to use STARTTLS, and the server offered it, but we weren't
16786 able to because we had no STARTTLS support, then close the connection.
16787 (open-network-stream): Return an :error element, if present.
16788
16f07dd7
CY
167892011-06-26 Chong Yidong <cyd@stupidchicken.com>
16790
88821ca0
CY
16791 * hl-line.el (hl-line-sticky-flag): Doc fix.
16792 (global-hl-line-sticky-flag): New option (Bug#8323).
16793 (global-hl-line-highlight): Obey it.
16794
16f07dd7
CY
16795 * vc/vc.el (vc-revert-show-diff): Default to t.
16796
6b5ccddf
KM
167972011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16798
c9d29fb8
SM
16799 * allout-widgets.el (allout-widgets-post-command-business):
16800 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16801 undecorated when an isearch is continued past, and isearch
16802 automatically collapses them. This leads to "widget leaks", where
16803 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16804 hidden widgets can slow down cursor travel, substantially.
16805 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16806 so we're doing without this nicety.
16807
16808 (allout-widgets-tally-string): Don't try to do a hash-table-count
16809 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16810 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16811 *Messages* when allout-widgets-maintain-tally is t.
16812
355f2e07
MR
168132011-06-26 Martin Rudalics <rudalics@gmx.at>
16814
16815 * window.el (display-buffer-normalize-argument): Rename to
16816 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16817 LABEL argument. Respect special-display-function when popping up
16818 a new frame. Fix code searching for a window showing the buffer
16819 on another frame.
c9d29fb8
SM
16820 (display-buffer-normalize-specifiers):
16821 Call display-buffer-normalize-arguments.
355f2e07
MR
16822 (display-buffer-in-window): Don't undedicate the window if its
16823 buffer remains the same.
16824 Reported by Drew Adams <drew.adams@oracle.com>.
16825 (display-buffer-alist): Add choice for same-window macro
16826 specfier.
16827 (display-buffer): Mention special meaning of LABEL argument in
16828 doc-string. Fix quoting. Don't pop up a new frame even as
16829 fallback.
16830
7ca8fc42
JB
168312011-06-26 Juanma Barranquero <lekktu@gmail.com>
16832
16833 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16834 avoid deleting the current window in some cases (bug#8911).
16835
bc312254
AS
168362011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16837
16838 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16839 (Bug#8934)
16840
2db18f3f
LMI
168412011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16842
c9d29fb8
SM
16843 * net/network-stream.el (network-stream-open-starttls):
16844 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16845 (network-stream-open-tls): Ditto.
16846
6302e0d3
LL
168472011-06-26 Leo Liu <sdl.web@gmail.com>
16848
16849 * register.el (registerv): New struct.
16850 (registerv-make): New function.
c9d29fb8
SM
16851 (jump-to-register, describe-register-1, insert-register):
16852 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16853 struct. (Bug#8415)
16854
5fdd4046
CY
168552011-06-26 Chong Yidong <cyd@stupidchicken.com>
16856
2afef60a
CY
16857 * vc/vc.el (vc-revert-show-diff): New defcustom.
16858 (vc-diff-internal): New arg specifying diff buffer.
16859 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16860 reuse an existing *vc-diff* buffer (Bug#8927).
16861
5fdd4046
CY
16862 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16863
e93db24a
GM
168642011-06-26 Glenn Morris <rgm@gnu.org>
16865
16866 * progmodes/f90.el (f90-critical-indent): New option.
16867 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16868 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16869 (f90-mode): Doc fix.
16870 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16871 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16872 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16873 (f90-match-end): Handle block, critical.
16874
eefff499
GM
168752011-06-25 Glenn Morris <rgm@gnu.org>
16876
f6ba4cc9
GM
16877 * calendar/diary-lib.el (diary-included-files): Doc fix.
16878 (diary-include-files): New function, extracted from
16879 diary-include-other-diary-files and diary-mark-included-diary-files.
16880 (diary-include-other-diary-files, diary-mark-included-diary-files):
16881 Just call diary-include-files.
16882 (diary-mark-entries): Reset diary-included-files on first call.
16883
16712304
GM
16884 * calendar/diary-lib.el (diary-mark-entries)
16885 (diary-mark-included-diary-files):
16886 Visit included diary-files in temp buffers.
16887
5d8e0d43
GM
16888 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16889 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16890 (f90-start-block-re, f90-imenu-generic-expression)
16891 (f90-looking-at-program-block-start, f90-no-block-limit):
16892 Add support for submodules.
16893
ccf7a5d5
GM
16894 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16895 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16896
11fdef7d 168972011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16898
16899 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16900 buffer-file-type before setting its value, to avoid disastrous
eefff499 16901 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16902
74f53697
JB
169032011-06-25 Juanma Barranquero <lekktu@gmail.com>
16904
16905 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16906
16907 * ses.el (ses-unload-function):
16908 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16909
16910 * proced.el (proced-unload-function):
16911 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16912
18a4ce5e
AR
169132011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16914
16915 * server.el (server-create-window-system-frame): Add parameters arg.
16916 (server-process-filter): Doc fix. Handle frame-parameters.
16917
519d22cc
JB
169182011-06-25 Juanma Barranquero <lekktu@gmail.com>
16919
16920 Fix bug#8730, bug#8781.
16921
16922 * loadhist.el (unload--set-major-mode): New function.
16923 (unload-feature): Use it.
16924
16925 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16926 (python-unload-function): New function.
16927
c206f5b0
SM
169282011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16929
16930 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16931
f9ad64f3
GS
169322011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16933
16934 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16935 the candidates list.
16936
7d0da90e
JB
169372011-06-24 Juanma Barranquero <lekktu@gmail.com>
16938
16939 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16940
14b4e83d
RS
169412011-06-23 Richard Stallman <rms@gnu.org>
16942
16943 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16944 (rmail-variables): Set next-error-move-function.
16945 (rmail-what-message): Take argument POS.
16946 (rmail-next-error-move): New function.
16947
273d2baf
SM
169482011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16949
16950 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16951 messages for adjacent non-terminals.
16952
56c2cc9a
RS
169532011-06-23 Richard Stallman <rms@gnu.org>
16954
16955 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16956 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16957 (rmail-start-mail): Don't specify use of rmail-mail-return;
16958 that's done by mail-bury now.
16959 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16960
d59eb518
MA
169612011-06-23 Michael Albinus <michael.albinus@gmx.de>
16962
16963 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16964 SIZE is a number.
16965
02cfc6d6
MR
169662011-06-23 Martin Rudalics <rudalics@gmx.at>
16967
16968 * window.el (get-lru-window, get-mru-window)
16969 (get-largest-window): Never return a minibuffer window.
16970 (display-buffer-pop-up-window): Fix a bug that could lead to
16971 reusing the minibuffer window.
16972 (display-buffer): Pass original specifier argument to
16973 display-buffer-function instead of the normalized one.
16974 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16975
4e323265
LL
169762011-06-22 Leo Liu <sdl.web@gmail.com>
16977
16978 * minibuffer.el (completing-read-function)
1f9f395d 16979 (completing-read-default): Move from minibuf.c.
4e323265 16980
7a70468f
RS
169812011-06-22 Richard Stallman <rms@gnu.org>
16982
50718fc2
RS
16983 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16984 to Rmail even if not started by a special Rmail command.
16985
7a70468f
RS
16986 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16987 Copy the buffer currently showing just one message.
16988
297dde5a
RW
169892011-06-22 Roland Winkler <winkler@gnu.org>
16990
16991 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16992 (bibtex-clean-entry): First delete the old key so that a
16993 customized algorithm for generating the new key does not get
16994 confused by the old key.
16995 (bibtex-url): Obey regexp of first step.
16996 (bibtex-search-entries): Do not use add-to-list with local
16997 list-var.
16998
97bb1093
LMI
169992011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17000
17001 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
17002 stored a user name, then query for the password first, instead of
17003 waiting for SMTP to give an error message and the trying again.
17004
1c0f1a19
JD
170052011-06-22 Lawrence Mitchell <wence@gmx.li>
17006
17007 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
17008 BUFFER in call-process.
17009
396f7c9d
LMI
170102011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
17011
17012 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
17013 QUIT twice.
ddb7ffee
LMI
17014 (smtpmail-try-auth-methods): Require user name and password from
17015 auth-source.
396f7c9d 17016
8998d1b3
MR
170172011-06-22 Martin Rudalics <rudalics@gmx.at>
17018
17019 * window.el (display-buffer-default-specifiers)
17020 (display-buffer-alist): Remove entries for pop-up-frame-alist.
17021 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 17022 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
17023
17024 * frame.el (pop-up-frame-alist, pop-up-frame-function)
17025 (special-display-frame-alist, special-display-popup-frame):
17026 Remove duplicate declarations. These are now in window.el.
17027
4ea31e07
LMI
170282011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17029
c9d29fb8
SM
17030 * mail/smtpmail.el (smtpmail-via-smtp):
17031 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
17032 server supports it. SMTP servers that support STARTTLS commonly
17033 require it.
17034
17035 * net/network-stream.el (network-stream-open-starttls): Support
17036 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17037 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17038
95f41d9a
LMI
17039 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17040 upgrades with `open-network-stream', and rely solely on
17041 auth-source for all credentials. Big changes throughout the file,
17042 but in particular:
c9d29fb8
SM
17043 (smtpmail-auth-credentials): Remove.
17044 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17045 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17046 MAIL FROM, too.
95f41d9a 17047
c9d29fb8
SM
17048 * net/network-stream.el (network-stream-open-starttls):
17049 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17050 STARTTLS.
17051 (auth-source): Require.
17052 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17053 (network-stream-certificate): Change cert-cert to cert and
17054 cert-key to key.
4ea31e07 17055
065ec2c7
MA
170562011-06-21 Michael Albinus <michael.albinus@gmx.de>
17057
17058 * net/tramp-cache.el (top): Don't load the persistency file when
17059 "emacs -Q" has been called.
17060
cd93b359
DR
170612011-06-21 Tim Harper <timcharper@gmail.com>
17062
d8e4b68b
JB
17063 * term/ns-win.el (ns-initialize-window-system):
17064 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17065 resource to NO as it is not yet supported by the NS port.
17066
ae9c0411
JB
170672011-06-21 Juanma Barranquero <lekktu@gmail.com>
17068
17069 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17070 (list-dynamic-libraries): ...not here.
17071
7f3f739f
LL
170722011-06-21 Leo Liu <sdl.web@gmail.com>
17073
17074 * subr.el (sha1): Implement sha1 using secure-hash.
17075
327c8fb1
MR
170762011-06-21 Martin Rudalics <rudalics@gmx.at>
17077
17078 * window.el (display-buffer-alist): In default value do not
17079 enforce searching a window on any but the selected frame.
17080 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17081 (display-buffer-select-window): Remove function.
17082 (display-buffer-in-window): When a window on another frame gets
17083 reused, do not select it any more but just raise its frame if
17084 necessary (Bug#8851) and (Bug#8856).
17085 (display-buffer-normalize-options): Handle pop-up-frames related
17086 options more faithfully.
17087 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17088 window if it is on another frame.
c9d29fb8
SM
17089 (display-buffer-alist, display-buffer-default-specifiers):
17090 Don't make new frame unsplittable by default.
9e9de014
MR
17091 (display-buffer-normalize-argument): Fix doc-string typo and use
17092 'same-frame-other-window instead of 'other-window when associating
17093 with display-buffer-macro-specifiers.
327c8fb1 17094
7cf3f556
VB
170952011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17096
17097 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17098 New functions.
17099 (5x5-mode-map, 5x5-mode-menu): Bind them.
17100 (5x5-draw-grid): Tweak the solver's rendering.
17101
60a406cf
SM
171022011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17103
17104 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17105 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17106
d8e4b68b 171072011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17108
17109 * menu-bar.el: Use function variable instead of switch-to-buffer.
17110 (menu-bar-select-buffer-function): New variable.
60a406cf 17111 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17112
478d6f95
SM
171132011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17114
17115 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17116 variable's status.
17117
ca530739
JD
171182011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17119
17120 * x-dnd.el (x-dnd-version-from-flags)
17121 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17122 and long as number (Bug#8899).
17123 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17124
bcd70d97
SM
171252011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17126
60a406cf 17127 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17128 (completion-try-completion, completion-all-completions): Compute the
17129 metadata argument if it's missing; make it optional (bug#8795).
17130
60a406cf 17131 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17132 (widget-complete): Use new :completion-function property.
17133 (widget-completions-at-point): New function.
17134 (default): Use :completion-function instead of :complete.
60a406cf
SM
17135 (widget-default-completions): Rename from widget-default-complete;
17136 Rewrite.
bcd70d97
SM
17137 (widget-string-complete, widget-file-complete, widget-color-complete):
17138 Remove functions.
17139 (file, symbol, function, variable, coding-system, color):
17140 * international/mule-cmds.el (default-input-method, charset)
17141 (language-info-custom-alist):
17142 * cus-edit.el (face): Use new property :completions.
17143
17144 * progmodes/pascal.el (pascal-completions-at-point): New function.
17145 (pascal-mode): Use it.
17146 (pascal-mode-map): Use completion-at-point.
17147 (pascal-toggle-completions): Make obsolete.
17148 (pascal-complete-word, pascal-show-completions):
17149 * progmodes/octave-mod.el (octave-complete-symbol):
17150 Redefine as obsolete alias.
17151 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17152 Signal absence of completion info for old Octave,
17153 (inferior-octave-complete): Redefine as obsolete alias.
17154 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17155 (meta-completions-at-point): Rename from meta-complete-symbol and
17156 adapt it for use on completion-at-point-functions.
17157 (meta-common-mode): Use it.
17158 (meta-looking-at-backward, meta-match-buffer): Remove.
17159 (meta-complete-symbol): Redefine as obsolete alias.
17160 (meta-common-mode-map): Use completion-at-point.
17161 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17162 (makefile-mode-map): Use completion-at-point.
17163 (makefile-completions-at-point): Rename from makefile-complete and
17164 adapt it for use on completion-at-point-functions.
17165 (makefile-mode): Use it.
17166 (makefile-complete): Redefine as obsolete alias.
17167
aebf69c8
DD
171682011-06-20 Deniz Dogan <deniz@dogan.se>
17169
17170 * net/rcirc.el: Delete trailing whitespaces once and for all.
17171
bfbbb27d
DC
171722011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17173
17174 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17175
d264a46b
CY
171762011-06-19 Chong Yidong <cyd@stupidchicken.com>
17177
4ca009e5
CY
17178 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17179
d264a46b
CY
17180 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17181
fbf5b3ce
MR
171822011-06-19 Martin Rudalics <rudalics@gmx.at>
17183
17184 * window.el (display-buffer-other-window-means-other-frame):
17185 Call display-buffer-normalize-alist.
17186 (display-buffer-normalize-specifiers-1): Rename to
17187 display-buffer-normalize-argument. New argument other-frame.
17188 Rewrite.
17189 (display-buffer-normalize-specifiers-2): Rename to
17190 display-buffer-normalize-options.
17191 (display-buffer-normalize-alist-1): New function.
17192 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17193 display-buffer-normalize-alist.
17194 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17195 (display-buffer-normalize-options-inhibit): New variable.
17196 (display-buffer-normalize-specifiers): Rewrite calling
17197 display-buffer-normalize-alist,
17198 display-buffer-normalize-argument, and
17199 display-buffer-normalize-options. Don't call the latter if
17200 display-buffer-normalize-options-inhibit is non-nil.
17201 (frame-auto-delete): New option.
17202 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17203 (window-list-no-nils, window-state-ignored-parameters)
17204 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17205 (window-state-put-1, window-state-put-2, window-state-put):
17206 New functions.
9a028c23
MR
17207 (display-buffer-normalize-options): Move special-display-p group
17208 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17209
6d10d800
CY
172102011-06-18 Chong Yidong <cyd@stupidchicken.com>
17211
6420d28b
CY
17212 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17213 groups (Bug#8776).
17214 (rx-submatch-n): New function.
17215 (rx): Document it.
17216
ddb8b596
CY
17217 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17218 (Bug#8768).
17219
17220 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17221
77080289
CY
17222 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17223
61dfb316
CY
17224 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17225 anytime existing face settings are present (Bug#8889).
17226
6d10d800
CY
17227 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17228 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17229 Remove unused argument.
17230
be3fb2b8
MR
172312011-06-18 Martin Rudalics <rudalics@gmx.at>
17232
bcd70d97
SM
17233 * window.el (display-buffer-default-specifiers):
17234 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17235 pop-up-window-min-width, and another reuse-window specifier
17236 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17237 (display-buffer-normalize-specifiers-2):
17238 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17239 pop-up-windows is unset. Add a reuse-window specifier for the
17240 case popping up a new window fails.
17241 (special-display-popup-frame): Remove double quoting.
28dec25a 17242 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17243
1c6d8c76
SM
172442011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17245
17246 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17247 according to comint-completion-addsuffix.
17248
17249 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17250 (pcomplete-suffix-list): Mark as obsolete.
17251 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17252 pcomplete-seen in the closure.
17253 (pcomplete-comint-setup): Setup completion-at-point as well.
17254 (pcomplete--entries): New function.
17255 (pcomplete--env-regexp): New var.
17256 (pcomplete-entries): Rewrite to work with partial-completion and
17257 without relying on pcomplete-suffix-list.
17258 (pcomplete-pare-list): Remove, unused.
17259
25aef8b8
MR
172602011-06-17 Martin Rudalics <rudalics@gmx.at>
17261
17262 * window.el (display-buffer-alist): Set pop-up-window-min-height
17263 and pop-up-window-min-width in default value. Reported by
17264 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17265 other-window-means-other-frame.
17266 (display-buffer-macro-specifiers): Comment out entry for
17267 other-window specifier.
17268 (display-buffer-other-window-means-other-frame): New function.
17269 (display-buffer-normalize-specifiers-1): New arguments
17270 buffer-name and label. Treat other-window case specially.
17271 (display-buffer-normalize-specifiers-2): Treat other-window case
17272 specially.
17273 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17274 (display-buffer-normalize-specifiers):
17275 Call display-buffer-normalize-specifiers-3.
25aef8b8 17276
dbad4f69
MR
172772011-06-17 Martin Rudalics <rudalics@gmx.at>
17278
17279 * window.el (same-window-p): Fix two typos introduced when
17280 adding with-no-warnings.
d1067961
MR
17281 (display-buffer-normalize-specifiers-1): Don't check
17282 pop-up-frames for 'unset initialization.
17283 (display-buffer-normalize-specifiers-2): Major rewrite using
17284 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17285 (pop-up-frames, display-buffer-reuse-frames)
17286 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17287 Suggested by David Engster <deng@randomsample.de>.
17288 (even-window-heights): Initialize to 'unset.
17289 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17290 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17291 other window case.
dbad4f69 17292
9b9c9e3a
MR
172932011-06-16 Martin Rudalics <rudalics@gmx.at>
17294
bcd70d97
SM
17295 * window.el (display-buffer-normalize-specifiers-1):
17296 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17297 second argument of display-buffer (Bug#8865).
981d5c09
MR
17298 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17299 (switch-to-buffer-other-window-same-frame)
17300 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17301 Adams (Bug#8875).
9c2755e9
MR
17302 (display-buffer): Don't check noninteractive when calling
17303 display-buffer-pop-up-frame.
17304 (display-buffer-pop-up-frame): Never pop up a frame in
17305 noninteractive mode (Bug#8857).
67222e1d
MR
17306 (enlarge-window, shrink-window): Don't report an error when the
17307 window can't be resized as requested (Bug#8862).
9b9c9e3a 17308
2b75be67
SM
173092011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17310
9ffdd3ba
SM
17311 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17312
cb581a67
SM
17313 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17314
2b75be67
SM
17315 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17316
8c0e3589
AM
173172011-06-15 Alan Mackenzie <acm@muc.de>
17318
cb581a67
SM
17319 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17320 for declarators, disable knr checking to speed up for normal files.
17321 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17322
b96e6cde
LMI
173232011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17324
4bba86e6
LMI
17325 * net/network-stream.el (open-network-stream): Add the keyword
17326 :always-query-capabilities for the case where you want to force a
17327 `plain' network connection, but the protocol still requires the
17328 capabilitiy command (i.e., SMTP and EHLO).
17329
2b75be67 17330 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17331 consistency with other `-live-p' functions.
17332
efdcdbf8
SM
173332011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17334
17335 * window.el (same-window-buffer-names, same-window-regexps)
17336 (special-display-frame-alist, special-display-popup-frame)
17337 (special-display-function, special-display-buffer-names)
17338 (special-display-regexps, pop-up-frame-alist)
17339 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17340 (pop-up-windows, split-window-preferred-function)
17341 (split-height-threshold, split-width-threshold, even-window-heights)
17342 (display-buffer-mark-dedicated): Don't encourage the use of
17343 display-buffer-alist from Elisp code.
17344
c5cde042
DN
173452011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17346
17347 * progmodes/python.el (python-mode): Derive from prog-mode.
17348 * progmodes/ps-mode.el (ps-mode):
17349 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17350 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17351 * progmodes/ld-script.el (ld-script-mode): Likewise.
17352
baa1c9ab
MR
173532011-06-15 Martin Rudalics <rudalics@gmx.at>
17354
17355 * window.el (display-buffer-alist): Trim default value to avoid
17356 popping up a new frame (Bug#8857) or reusing an arbitrary window
17357 on another frame.
17358 (display-buffer): Do not fall back on popping up a new frame in
17359 batch mode (Bug#8857).
17360
c5dd5a51
CY
173612011-06-14 Chong Yidong <cyd@stupidchicken.com>
17362
17363 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17364 (custom-theme-summary): New function.
17365 (customize-themes): Use it.
17366
d647b7c4
GM
173672011-06-13 Glenn Morris <rgm@gnu.org>
17368
17369 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17370
9481c002
MR
173712011-06-13 Martin Rudalics <rudalics@gmx.at>
17372
357f93d2
MR
17373 * help.el (help-window): Remove variable.
17374 (help-window-point-marker, temp-buffer-max-height)
17375 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17376 (help-print-return-message): Don't set help-window.
17377 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17378 (help-window-setup-finish): Remove.
17379 (help-window-display-message, help-window-setup)
17380 (with-help-window): Major rewrite based on new
17381 display-buffer-window variable.
17382
17383 * help-mode.el (help-mode-finish): Remove help-window related
17384 code.
17385
17386 * view.el (view-exits-all-viewing-windows): Remove reference to
17387 view-return-to-alist in doc-string.
17388 (view-return-to-alist): Make obsolete.
17389 (view-buffer): Call pop-to-buffer-same-window and remove
17390 undo-window code.
17391 (view-buffer-other-window): Call pop-to-buffer-other-window and
17392 simplify code. Ignore second argument.
17393 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17394 simplify code. Ignore second argument.
17395 (view-return-to-alist-update): Make obsolete.
17396 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17397 Rewrite using quit-restore window parameters.
2b75be67
SM
17398 (view-mode-exit): Rename second argument to EXIT-ONLY.
17399 Rewrite using quit-restore-window.
357f93d2
MR
17400 (View-exit, View-exit-and-edit, View-leave, View-quit)
17401 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17402 appropriate arguments.
17403 (view-end-message): Use quit-restore window parameter.
17404
9481c002
MR
17405 * window.el (display-buffer-function): Rewrite doc-string.
17406 (display-buffer-window, display-buffer-alist): New variables.
17407 (display-buffer-split-specifiers)
17408 (display-buffer-side-specifiers)
17409 (display-buffer-macro-specifiers): New constants.
17410 (display-buffer-even-window-sizes, display-buffer-set-height)
17411 (display-buffer-set-width, display-buffer-select-window)
17412 (display-buffer-in-window, display-buffer-reuse-window)
17413 (display-buffer-split-window-1, display-buffer-split-window)
17414 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17415 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17416 (display-buffer-in-side-window, normalize-buffer-to-display)
17417 (display-buffer-normalize-specifiers-1)
17418 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17419 (display-buffer-normalize-specifiers, display-buffer-frame):
17420 New functions.
9481c002
MR
17421 (display-buffer): Major rewrite.
17422 (display-buffer-other-window, display-buffer-other-frame)
17423 (pop-to-buffer, switch-to-buffer-other-window)
17424 (switch-to-buffer-other-frame): Rewrite.
17425 (display-buffer-same-window, display-buffer-same-frame)
17426 (display-buffer-same-frame-other-window)
17427 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17428 (pop-to-buffer-other-window)
17429 (pop-to-buffer-same-frame-other-window)
17430 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17431 (switch-to-buffer-other-window-same-frame): New functions.
17432 (same-window-p, special-display-p): Rewrite disabling warnings.
17433 Make obsolete.
17434 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17435 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17436 Make obsolete
17437 (same-window-buffer-names, same-window-regexps)
17438 (special-display-frame-alist, special-display-popup-frame)
17439 (special-display-function, special-display-buffer-names)
17440 (special-display-regexps, pop-up-frame-alist)
17441 (pop-up-frame-function, split-window-preferred-function)
17442 (split-height-threshold, split-width-threshold)
17443 (even-window-heights): Make obsolete.
17444
9db51aca
GM
174452011-06-12 Glenn Morris <rgm@gnu.org>
17446
17447 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17448 Misc simplifications.
9db51aca 17449
39cffb44
MR
174502011-06-12 Martin Rudalics <rudalics@gmx.at>
17451
17452 * window.el (window-safely-shrinkable-p): Restore function which
17453 was inadvertently removed in change from 2011-06-11. Declare as
17454 obsolete.
17455
2b75be67
SM
17456 * calendar/calendar.el (calendar-generate-window):
17457 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17458 window-safely-shrinkable-p.
17459
a8955be7
GM
174602011-06-12 Glenn Morris <rgm@gnu.org>
17461
17462 * progmodes/fortran.el (fortran-mode-syntax-table):
17463 * progmodes/f90.el (f90-mode-syntax-table):
17464 Set % to punctuation. (Bug#8820)
17465 (f90-find-tag-default): Remove, no longer needed.
17466
f0d4059d
DC
174672011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17468
17469 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17470
1100a63c
CY
174712011-06-11 Chong Yidong <cyd@stupidchicken.com>
17472
17473 * image.el (image-animated-p): Return animation delay in seconds.
17474 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17475 (image-animate-timeout): Remove DELAY argument. Don't assume
17476 every subimage has the same delay; get it from image-animated-p.
17477 (image-animate): Caller changed.
17478
def722bf
MA
174792011-06-11 Michael Albinus <michael.albinus@gmx.de>
17480
17481 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17482 to ignored backtrace functions.
17483
0a2bb1a9
GM
174842011-06-11 Glenn Morris <rgm@gnu.org>
17485
17486 * calendar/appt.el (appt-disp-window-function): Doc fix.
17487 (appt-check): Handle overlapping appointments. (Bug#8337)
17488
6198ccd0
MR
174892011-06-11 Martin Rudalics <rudalics@gmx.at>
17490
17491 * window.el (window-tree-1, window-tree): New functions, moving
17492 the latter to window.el.
17493 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17494 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17495 (bw-refresh-edges): Remove.
17496 (balance-windows-1, balance-windows-2): New functions.
17497 (balance-windows): Rewrite in terms of window tree functions,
17498 balance-windows-1 and balance-windows-2.
17499 (bw-adjust-window): Remove.
17500 (balance-windows-area-adjust): New function with functionality of
17501 bw-adjust-window but using resize-window.
2b75be67
SM
17502 (set-window-text-height): Rewrite doc-string.
17503 Use normalize-live-window and resize-window.
17504 (enlarge-window-horizontally, shrink-window-horizontally):
17505 Rename argument to DELTA.
6198ccd0
MR
17506 (window-buffer-height): New function.
17507 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17508 Rewrite using new window resize routines.
2b75be67
SM
17509 (kill-buffer-and-window, mouse-autoselect-window-select):
17510 Use ignore-errors instead of condition-case.
6198ccd0
MR
17511 (quit-window): Call delete-frame instead of delete-windows-on
17512 for the only buffer on frame.
17513
9397e56f
MR
175142011-06-10 Martin Rudalics <rudalics@gmx.at>
17515
17516 * loadup.el (top-level): Load window before files for the sake
17517 of replace-buffer-in-windows.
17518
17519 * files.el (read-buffer-to-switch)
17520 (switch-to-buffer-other-window)
2b75be67
SM
17521 (switch-to-buffer-other-frame, display-buffer-other-frame):
17522 Move to window.el.
9397e56f
MR
17523
17524 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17525 (previous-buffer): Move to window.el.
17526
17527 * bindings.el (unbury-buffer): Move to window.el.
17528
17529 * window.el (delete-other-windows-vertically): Move after
17530 definition of delete-other-windows.
17531 (other-window, delete-windows-on, replace-buffer-in-windows):
17532 Move here from window.c.
17533 (record-window-buffer, unrecord-window-buffer)
17534 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17535 (switch-to-next-buffer): New functions.
17536 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17537 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17538 (previous-buffer): Move here from simple.el.
17539 Call switch-to-prev-buffer.
9397e56f
MR
17540 (bury-buffer): Move here from buffer.c. Switch to previous
17541 buffer when window cannot be deleted.
17542 (unbury-buffer): Move here from bindings.el.
17543 (ctl-x-map): Move binding for other-window from window.c to
17544 here.
17545 (read-buffer-to-switch, switch-to-buffer-other-window)
17546 (switch-to-buffer-other-frame): Move here from files.el.
17547 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17548 (switch-to-buffer): Move here from buffer.c.
17549 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17550
562dd5e9
MR
175512011-06-10 Martin Rudalics <rudalics@gmx.at>
17552
17553 * window.el (window-min-height, window-min-width): Move here
17554 from window.c. Add defcustoms and rewrite doc-strings.
17555 (resize-mini-window, resize-window): New functions.
17556 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17557 Move here from window.c.
17558 (maximize-window, minimize-window): New functions.
17559 (delete-window, delete-other-windows, split-window): Move here
17560 from window.c.
17561 (window-split-min-size): New function.
17562 (split-window-keep-point): Mention split-window-above-each-other
17563 instead of split-window-vertically.
2b75be67 17564 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17565 Rename split-window-vertically to split-window-above-each-other
17566 and provide defalias for old definition.
17567 (split-window-side-by-side, split-window-horizontally):
17568 Rename split-window-horizontally to split-window-side-by-side
17569 and provide defalias for the old definition.
562dd5e9
MR
17570 (ctl-x-map): Move bindings for delete-window,
17571 delete-other-windows and enlarge-window here from window.c.
17572 Replace bindings for split-window-vertically and
17573 split-window-horizontally by bindings for
17574 split-window-above-each-other and split-window-side-by-side.
17575
17576 * cus-start.el (all): Remove entries for window-min-height and
17577 window-min-width. Add entries for window-splits and
17578 window-nest.
17579
f0da764a
GM
175802011-06-09 Glenn Morris <rgm@gnu.org>
17581
80675c21
GM
17582 * calendar/appt.el (appt-mode-line): New function.
17583 (appt-check, appt-disp-window): Use it.
17584
f0da764a
GM
17585 * files.el (hack-one-local-variable-eval-safep):
17586 Allow minor-modes with explicit +/-1 arguments.
17587
59f623b7
TZ
175882011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17589
17590 * term/xterm.el (xterm): Add defgroup.
17591 (xterm-extra-capabilities): Add defcustom to supply known xterm
17592 capabilities, skip querying them, or query them (default).
17593 (terminal-init-xterm): Use it.
17594 (terminal-init-xterm-modify-other-keys): New function to set up
17595 modifyOtherKeys support to simplify `terminal-init-xterm'.
17596
9aab8e0d
MR
175972011-06-09 Martin Rudalics <rudalics@gmx.at>
17598
17599 * window.el (resize-window-reset, resize-window-reset-1)
17600 (resize-subwindows-skip-p, resize-subwindows-normal)
17601 (resize-subwindows, resize-other-windows, resize-this-window)
17602 (resize-root-window, resize-root-window-vertically)
17603 (window-deletable-p, window-or-subwindow-p)
17604 (frame-root-window-p): New functions.
17605
e8b08aee
GM
176062011-06-09 Glenn Morris <rgm@gnu.org>
17607
17608 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17609 (ange-ftp-get-files): Use it.
17610
254c37a5
AK
176112011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17612
17613 * mail/sendmail.el (mail-recover-1, mail-recover):
17614 * files.el (recover-file, recover-session):
17615 Handle dired-listing-switches not being just a single short option.
17616
35d7dbd3
GM
176172011-06-09 Glenn Morris <rgm@gnu.org>
17618
17619 * calendar/appt.el (appt-display-message, appt-disp-window):
17620 Handle lists of appointments.
17621
387522b2
MR
176222011-06-08 Martin Rudalics <rudalics@gmx.at>
17623
2b75be67
SM
17624 * window.el (one-window-p): Move down in code.
17625 Rewrite doc-string.
17626 (window-current-scroll-bars): Rewrite doc-string.
17627 Normalize live window argument.
387522b2
MR
17628 (walk-windows, get-window-with-predicate, count-windows):
17629 Rewrite doc-string. Use window-list-1.
17630 (window-in-direction-2, window-in-direction, get-mru-window):
17631 New functions.
17632
d8e4b68b 176332011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17634
17635 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17636 Doc fix (Bug#8713).
17637
176382011-06-08 Chong Yidong <cyd@stupidchicken.com>
17639
17640 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17641
176422011-06-08 Juanma Barranquero <lekktu@gmail.com>
17643
17644 * loadhist.el (unload-feature-special-hooks):
17645 Add `comint-output-filter-functions'.
17646
0de12c52
IK
176472011-06-08 Ivan Kanis <gnu@kanis.fr>
17648
17649 * calendar/appt.el (appt-check): Move some initializations into the let.
17650
f3d1777e
MR
176512011-06-08 Martin Rudalics <rudalics@gmx.at>
17652
17653 * window.el (window-height): Defalias to window-total-height.
17654 (window-width): Defalias to window-body-width.
17655
18af70d0
CY
176562011-06-07 Chong Yidong <cyd@stupidchicken.com>
17657
17658 * image-mode.el (image-toggle-animation): New command.
17659 (image-mode-map): Bind it to RET.
17660 (image-mode): Update message.
17661 (image-toggle-display-image): Avoid a spurious cache flush.
17662 (image-transform-rotation): Doc fix.
17663 (image-transform-properties): Return quickly in the normal case.
17664 (image-animate-loop): Rename from image-animate-max-time.
17665
2b75be67 17666 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17667 (create-animated-image): Remove unnecessary function.
17668 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17669 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17670 (image-animate-timer): Use car-safe.
17671 (image-animate-timeout): Rename argument.
17672
190b47e6
MR
176732011-06-07 Martin Rudalics <rudalics@gmx.at>
17674
17675 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17676 window.c. Rename first argument to ALL-FRAMES.
17677 Rephrase doc-strings.
17678 (get-buffer-window-list): Rewrite using window-list-1.
17679 Rephrase doc-string.
a1511caf
MR
17680 (window-safe-min-height, window-safe-min-width): New constants.
17681 (window-size-ignore, window-min-size, window-min-size-1)
17682 (window-sizable, window-sizable-p, window-size-fixed-1)
17683 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17684 (window-max-delta-1, window-max-delta, window-resizable)
17685 (window-resizable-p, window-total-height, window-total-width)
17686 (window-body-width): New functions.
17687 (window-full-height-p, window-full-width-p): Rewrite using
17688 window-total-size.
17689 (window-body-height): Rewrite using window-body-size.
190b47e6 17690
85cc1f11
MR
176912011-06-06 Martin Rudalics <rudalics@gmx.at>
17692
17693 * window.el (window-right, window-left, window-child)
17694 (window-child-count, window-last-child, window-any-p)
17695 (normalize-live-buffer, normalize-live-frame)
17696 (normalize-any-window, normalize-live-window)
17697 (window-iso-combination-p, window-iso-combined-p)
17698 (window-iso-combinations)
17699 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17700 (windows-with-parameter, window-with-parameter)
17701 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17702 (window-atom-check, window-side-check, window-check):
17703 New functions.
85cc1f11
MR
17704 (ignore-window-parameters, window-sides, window-sides-vertical)
17705 (window-sides-slots): New variables.
17706 (window-size-fixed): Move down in code. Minor doc-string fix.
17707
e7156492
AS
177082011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17709
17710 * comint.el (comint-dynamic-complete-as-filename)
17711 (comint-dynamic-complete-filename): Correctly call
17712 completion-in-region.
17713
7e821d0d
DD
177142011-06-05 Deniz Dogan <deniz@dogan.se>
17715
17716 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17717 in last change.
17718
ac09b8a1
DD
177192011-06-05 Deniz Dogan <deniz@dogan.se>
17720
17721 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17722 (rcirc): Use it to prompt for encryption.
17723
34699b85
RW
177242011-06-05 Roland Winkler <winkler@gnu.org>
17725
17726 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17727 (bibtex-search-entries): New command bound to C-c C-a.
17728 (bibtex-display-entries): New function.
17729
004dedd3
RW
177302011-06-05 Roland Winkler <winkler@gnu.org>
17731
17732 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17733 (bibtex-insert-kill): After yanking insert newline if necessary.
17734 (bibtex-initialize): Call bibtex-string-files-init only once.
17735 (bibtex-mode): Do not call easy-menu-add.
17736 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17737 (bibtex-yank): Set arg properly if nil.
17738
022fe7ce
RW
177392011-06-05 Roland Winkler <winkler@gnu.org>
17740
2b75be67
SM
17741 * textmodes/bibtex.el (bibtex-search-entry-globally):
17742 New variable.
022fe7ce
RW
17743 (bibtex-search-entry): Use it.
17744
b7c3692a
RW
177452011-06-05 Roland Winkler <winkler@gnu.org>
17746
17747 * textmodes/bibtex.el (bibtex-entry-format): New option
17748 sort-fields.
17749 (bibtex-format-entry, bibtex-reformat): Honor this option.
17750 (bibtex-parse-entry): Return fields in proper order.
17751
8eda563d
JB
177522011-06-05 Juanma Barranquero <lekktu@gmail.com>
17753
17754 * doc-view.el (doc-view-remove-if): Move computation of result out
17755 of `dolist' to silence misleading lexical-binding warning.
17756
7dbe3dbc
CY
177572011-06-04 Chong Yidong <cyd@stupidchicken.com>
17758
17759 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17760 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17761
0c33dd17
MA
177622011-06-04 Michael Albinus <michael.albinus@gmx.de>
17763
17764 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17765 "SunOS 5.10".
17766
f8f91c2b
MA
177672011-06-04 Michael Albinus <michael.albinus@gmx.de>
17768
17769 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17770 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17771 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17772 (tramp-parse-putty):
17773 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17774 (tramp-completion-function-alist-ssh)
17775 (tramp-completion-function-alist-telnet)
17776 (tramp-completion-function-alist-su)
17777 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17778 cookie.
17779
17780 * net/tramp-ftp.el:
17781 * net/tramp-sh.el:
17782 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17783 load "tramp.el" `tramp-set-completion-function'.
17784
e17d9003
SM
177852011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17786
17787 * shell.el: Require and use pcomplete.
17788 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17789 (shell-completion-vars): Set pcomplete-default-completion-function.
17790
6c4cab03
DD
177912011-06-04 Deniz Dogan <deniz@dogan.se>
17792
17793 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17794 `memq' (Bug#8799).
17795
ea9fafe0
SM
177962011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17797
17798 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17799
b3e945d3
JB
178002011-06-02 Juanma Barranquero <lekktu@gmail.com>
17801
17802 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17803 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17804 * vc/log-view.el (log-view-beginning-of-defun):
17805 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17806 (smerge-refine-forward, smerge-refine-chopup-region):
17807 Silence warning for unused `dotimes' counter variables.
17808
7d520089
SM
178092011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17810
17811 * net/tramp.el (tramp-with-progress-reporter): Rename from
17812 with-progress-reporter. Use `declare'.
17813 * net/tramp-smb.el:
17814 * net/tramp-sh.el:
17815 * net/tramp-gvfs.el: Update all uses.
17816
a1c2400f
JB
178172011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17818
17819 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17820 buffer isn't killed before making it current.
17821
2403c841
SM
178222011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17823
17824 Silence various byte-compiler warnings.
17825 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17826 `access-type' and new obsolescence format.
17827 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17828 new format.
17829 (byte-compile-check-variable): New `access-type' argument.
17830 Only warn if the access-type is obsolete.
17831 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17832 (byte-compile-variable-set): Adjust callers.
17833 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17834 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17835 setting it as obsolete.
17836 * simple.el (minibuffer-completing-symbol):
17837 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17838 access as obsolete.
17839 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17840 obsolete yet.
17841 * international/quail.el (quail-mouse-choose-completion): Remove unused
17842 code referring to obsolete var.
17843 (quail-choose-completion-string): Remove.
17844 * server.el (server-clients-with, server-kill-buffer-query-function)
17845 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17846 * proced.el (proced-send-signal):
17847 * emacs-lisp/lisp.el (lisp-complete-symbol):
17848 Replace completion-annotate-function with completion-extra-properties.
17849
2462470b
SM
178502011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17851
fb5b2591
SM
17852 * simple.el (goto-line): Use read-number.
17853 (overriding-map-is-bound): Remove.
17854 (saved-overriding-map): Change default.
17855 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17856 Take the map as argument.
17857 (universal-argument, negative-argument, digit-argument): Use it.
17858 (restore-overriding-map): Adjust.
17859 (do-auto-fill): Use fill-forward-paragraph.
17860 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17861
fd6fa53f
SM
17862 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17863 (minibuffer-inactive-mode): New major mode.
17864 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17865 the *Messages* buffer" hack.
17866 (mouse-popup-menubar): Don't burp if the event is a normal key.
17867
2462470b
SM
17868 Miscellaneous tweaks.
17869 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17870 lexical scoping as in subr.el's dolist and dotimes.
17871 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17872 Silence compiler warning.
17873 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17874 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17875 * international/ccl.el (ccl-compile): Trivial simplification.
17876 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17877 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17878 `printflag' argument.
17879 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17880 Purecopy the whole obsolescence data.
17881
108bf785
LL
178822011-06-01 Leo Liu <sdl.web@gmail.com>
17883
17884 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17885 improve doc-string as suggested by Marco Pessotto
17886 <melmothx@gmail.com>.
17887 (rcirc-print): Fix last change.
17888
30a23501
SM
178892011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17890
17891 * minibuffer.el (complete-with-action): Return nil for the metadata and
17892 boundaries of non-functional tables.
17893 (completion-table-dynamic): Return nil for the metadata.
17894 (completion-table-with-terminator): Add default case, using
17895 complete-with-action.
17896 (completion--metadata): New function.
17897 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17898 to try and avoid pathological performance problems.
17899 (completion--embedded-envvar-table): Return `category' metadata.
17900
bcd54f83
LMI
179012011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17902
17903 * subr.el (process-alive-p): New tiny convenience function.
17904
e227544d
SM
179052011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17906
17907 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17908 content but also its previous major mode.
17909
e8296fdc
HE
179102011-05-31 Helmut Eller <eller.helmut@gmail.com>
17911
4d61f28d 17912 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17913 *Backtrace* buffer when we exit with C-M-c.
17914
620c53a6
SM
179152011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17916
17917 * minibuffer.el: Add metadata method to completion tables.
17918 (completion-category-overrides): New defcustom.
17919 (completion-metadata, completion--field-metadata)
17920 (completion-metadata-get, completion--styles)
17921 (completion--cycle-threshold): New functions.
17922 (completion-try-completion, completion-all-completions):
17923 Add `metadata' argument to choose completion-styles.
17924 (completion--do-completion): Use metadata to choose cycling.
17925 (completion-all-sorted-completions): Use metadata for sorting.
17926 Remove :completion-cycle-penalty which is not needed any more.
17927 (completion--try-word-completion): Add `metadata' argument.
17928 (minibuffer-completion-help): Check metadata for annotation function
17929 and sorting.
17930 (completion-file-name-table): Return `category' metadata.
17931 (minibuffer-completing-file-name): Make obsolete.
17932 * simple.el (minibuffer-completing-symbol): Make obsolete.
17933 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17934 completion-try-completion.
17935
1257e755
SM
179362011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17937
17938 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17939
3767e706
LL
179402011-05-30 Leo Liu <sdl.web@gmail.com>
17941
17942 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17943 (rcirc-print): Decode all incoming messages (bug#8744).
17944 (rcirc-decode-coding-system): Allow value nil for automatic coding
17945 system detection.
3767e706 17946
d1a5d56a
GM
179472011-06-01 Glenn Morris <rgm@gnu.org>
17948
17949 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17950
e8cbec34
CY
179512011-05-29 Chong Yidong <cyd@stupidchicken.com>
17952
17953 * image.el (image-animate-max-time): Allow nil and t values.
17954 Default to nil.
17955 (create-animated-image): Doc fix.
17956 (image-animate-start): Remove second arg; just use
17957 image-animate-max-time.
17958 (image-animate-timeout): Doc fix. Args changed.
17959
17960 * image-mode.el (image-toggle-display-image): Ensure that the
17961 image spec passed to the animate timer is the same object as in
58179cce 17962 the buffer's display property (Bug#6981).
e8cbec34
CY
17963 (image-transform-properties): Doc fix.
17964
17965 * image.el (image-animate-max-time): Default to nil.
17966
159daf87
MR
179672011-05-29 Martin Rudalics <rudalics@gmx.at>
17968
17969 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17970 entire buffer list (Bug#8184).
17971
d66c4c7c
CY
179722011-05-29 Chong Yidong <cyd@stupidchicken.com>
17973
17974 * image.el (imagemagick-types-inhibit)
17975 (imagemagick-register-types): Doc fix.
17976
80aec780
DD
179772011-05-29 Deniz Dogan <deniz@dogan.se>
17978
17979 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17980 default.
17981
1dd3c2d9
CY
179822011-05-29 Chong Yidong <cyd@stupidchicken.com>
17983
17984 * select.el: Don't perform clipboard-manager saving in hooks;
17985 leave the hooks empty.
17986
60e56523
LL
179872011-05-28 Leo Liu <sdl.web@gmail.com>
17988
17989 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17990 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17991 (occur-edit-mode): New major mode (Bug#8463).
17992 (occur-after-change-function): New function.
17993 (occur-engine): Give Occur tags a read-only property.
17994
2b1e1a22
KR
179952011-05-28 Kevin Ryde <user42@zip.com.au>
17996
17997 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17998
5d344e88
CY
179992011-05-28 Chong Yidong <cyd@stupidchicken.com>
18000
8e6ca83d
CY
18001 * bindings.el (help-echo): Make the initial non-indicator dash
18002 empty on graphical terminals (Bug#7295).
18003
5d344e88
CY
18004 * files.el (auto-mode-alist): Move config rule after the
18005 in-stripping one (Bug#8547).
18006
bfbbace7
CY
18007 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
18008
fbeba6e2
CY
18009 * startup.el (normal-splash-screen): Remove gratuitous mode-line
18010 setting (Bug#8740).
18011
60ed8c72
AA
180122011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
18013
4ac619f0
AA
18014 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
18015 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
18016 (Bug#8539).
60ed8c72 18017
23db196e
CY
180182011-05-28 Chong Yidong <cyd@stupidchicken.com>
18019
18020 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
18021
5012f24c
DK
180222011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
18023
18024 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
18025 (hs-hide-block-at-point, hs-find-block-beginning)
18026 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
18027 (Bug#8279).
18028
6a639b16
GM
180292011-05-28 Glenn Morris <rgm@gnu.org>
18030
18031 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
18032
d43eaf2c
CY
180332011-05-28 Chong Yidong <cyd@stupidchicken.com>
18034
5199bde1
CY
18035 * help-fns.el (describe-function-1): If the function is a derived
18036 major mode, print the parent mode.
18037
d43eaf2c
CY
18038 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18039 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18040
423428a8
SM
180412011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18042
0ff8e1ba 18043 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18044 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18045 * progmodes/etags.el (tags-completion-at-point-function):
18046 * info-look.el (info-lookup-completions-at-point): Mark as
18047 non-exclusive.
18048 (info-complete): Adjust accordingly.
18049
423428a8
SM
18050 * info-look.el: Convert to lexical-binding and completion-at-point.
18051 (info-lookup-completions-at-point): New function.
18052 (info-complete): Use it and completion-in-region.
18053
b74aa22b
DA
180542011-05-28 Drew Adams <drew.adams@oracle.com>
18055
18056 * isearch.el: Let M-e start with point at the first mismatched char.
18057 (isearch-fail-pos): New function.
18058 (isearch-edit-string): Use it.
18059
66e2e71d
DK
180602011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18061
18062 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18063
b1890b0f 180642011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18065
18066 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18067 traversal functions for avl-trees.
18068 (avl-tree--stack): New struct.
18069 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18070 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18071 (avl-tree--do-enter): Add optional `updatefun' arg.
18072 Change return value.
eb95d01d 18073 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18074 (avl-tree--do-delete): Add `test' and `nilflag' args.
18075 Change return value.
eb95d01d
TC
18076 (avl-tree-member): Add optional `nilflag'
18077 (avl-tree-member-p): New function.
18078 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18079 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18080 (avl-tree-stack-empty-p): New functions.
18081
3769ddcf
TC
18082 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18083 avl-tree--del-balance1 and make it work both ways.
18084 (avl-tree--del-balance2): Remove.
18085 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18086 make it work both ways.
18087 (avl-tree--enter-balance2): Remove.
18088 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18089 New macros.
18090 (avl-tree--mapc, avl-tree-map): Add direction argument.
18091
eb95d01d 180922011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18093
18094 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18095
a9f737ee
CY
180962011-05-27 Chong Yidong <cyd@stupidchicken.com>
18097
18098 * select.el: Support clipboard managers with built-in function
18099 x-clipboard-manager-save, via delete-frame-functions and
18100 kill-emacs-hook.
18101 (xselect-convert-to-targets): Add MULTIPLE target to list.
18102 (xselect-convert-to-save-targets): New function.
18103
c92a1e54
KH
181042011-05-27 Kenichi Handa <handa@m17n.org>
18105
18106 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18107 let-binding rfc2047-encode-encoded-words to nil.
18108
e145f188
GM
181092011-05-27 Glenn Morris <rgm@gnu.org>
18110
5ec8a862
GM
18111 * mail/emacsbug.el: Don't require url-util.
18112
4b29d9fb
GM
18113 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18114
e145f188
GM
18115 * files.el (set-auto-mode):
18116 Also respect mode: entries at the end of the file. (Bug#8586)
18117
7d15102b
GM
181182011-05-26 Glenn Morris <rgm@gnu.org>
18119
98f593b8
GM
18120 * files.el (hack-local-variables-prop-line, hack-local-variables):
18121 Downcase mode names, as seems to be traditional.
27b48e63 18122 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18123
7d15102b
GM
18124 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18125 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18126
51d5b4ec
JD
181272011-05-25 Julien Danjou <julien@danjou.info>
18128
18129 * textmodes/rst.el (rst-define-level-faces): Do not define face
18130 symbol if it is already defined.
18131
91513f63
VB
181322011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18133
18134 * play/5x5.el (5x5-new-game, 5x5-randomize):
18135 Reset 5x5-solver-output to nil when a new grid is cast.
18136 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18137 these debugging traces, as defmacro breaks the compiled code.
18138
4d90d6d0
DK
181392011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18140
18141 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18142
e1b90ef6
LL
181432011-05-24 Leo Liu <sdl.web@gmail.com>
18144
18145 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18146 (vc-bzr-sha1): Adapt.
18147
d8e4b68b 18148 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18149
18150 * bindings.el: Provide sha1 feature.
18151
db0406bb 181522011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18153
18154 * mail/sendmail.el: Require `rfc2047'.
18155 (mail-insert-from-field): Do not perform RFC2047 encoding.
18156 (mail-encode-header): New function.
18157 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18158 buffer to the return value of select-message-coding-system.
18159 Call mail-encode-header.
b8d747b9
KH
18160
18161 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18162
db0406bb 181632011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18164
4d90d6d0
DK
18165 * mail/supercite.el (sc-default-cite-frame):
18166 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18167
eb8a5e9b
GM
181682011-05-24 Glenn Morris <rgm@gnu.org>
18169
f8630703
GM
18170 * progmodes/python.el (brm-menu): Declare.
18171
8831bbed
GM
18172 * emulation/viper.el (viper-set-hooks): Declare.
18173
eb8a5e9b
GM
18174 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18175 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18176 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18177 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18178 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18179 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18180
a2a25d24
SM
181812011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18182
18183 Add an :exit-function for completion-at-point.
18184
18185 * minibuffer.el (completion--done): New fun.
18186 (completion--do-completion): Use it. New arg `expect-exact'.
18187 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18188 since completion--do-completion does it for us now.
18189 (minibuffer-force-complete): Use completion--done and
18190 completion--replace. Handle sole-completion case with more care.
18191 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18192 (completion-extra-properties): New var.
18193 (completion-annotate-function): Make obsolete.
18194 (minibuffer-completion-help): Adjust accordingly.
18195 Use completion-list-insert-choice-function.
18196 (completion-at-point, completion-help-at-point):
18197 Bind completion-extra-properties.
18198 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18199 * simple.el (completion-list-insert-choice-function): New var.
18200 (completion-setup-function): Preserve it.
18201 (choose-completion): Pay attention to it, shuffle the code a bit.
18202 (choose-completion-string): New arg `insert-function'.
18203
18204 * textmodes/bibtex.el: Convert to lexical binding.
18205 (bibtex-mode-map): Use completion-at-point.
18206 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18207 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18208 (bibtex-complete): Define as obsolete alias.
18209 (bibtex-complete-internal): Remove.
18210 (bibtex-format-entry): Remove unused sub-group in regexp.
18211 * shell.el (shell--command-completion-data)
18212 (shell-environment-variable-completion):
18213 * pcomplete.el (pcomplete-completions-at-point):
18214 * comint.el (comint--complete-file-name-data): Use :exit-function
18215 instead of completion-table-with-terminator so it also works for
18216 choose-completion.
18217
e44e373d
SM
182182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18219
4f91a816
SM
18220 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18221
782fc819
SM
18222 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18223 (bug#8710).
18224
e44e373d
SM
18225 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18226
381987c3
KM
182272011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18228
18229 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18230 customization variable and implement: If non-nil, auto-fill will
18231 be inhibited while on topic's header line.
18232
b776bc70
VB
182332011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18234
18235 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18236 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18237 always have a solution in grid size = 5 cases.
18238 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18239 (5x5-solver-output, 5x5-log-buffer): New vars.
18240 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18241 Make these variables buffer local to achieve 5x5 multi-session-ness.
18242 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18243 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18244 (5x5-solve-suggest): New funs.
18245 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18246 randomize a grid so that we ensure that there is always a solution.
18247 (5x5-make-random-grid): Allow other movement than flipping.
18248
7de88b6e
KR
182492011-05-23 Kevin Ryde <user42@zip.com.au>
18250
18251 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18252 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18253 advice and passes PREDICATE.
18254
b1ef1257
SM
182552011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18256
bbca48fe
SM
18257 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18258 byte-compile-lambda if it's actually a lambda.
18259
b1ef1257
SM
18260 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18261 Fix function quoting. Use backquote better.
18262
92a9cc65
YS
182632011-05-22 Yuanle Song <sylecn@gmail.com>
18264
18265 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18266 matching (Bug#8516).
18267
f0fb8059
JA
182682011-01-22 Jari Aalto <jari.aalto@cante.net>
18269
18270 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18271 different face (Bug#8178).
18272
d5b44c93
CY
182732011-05-22 Chong Yidong <cyd@stupidchicken.com>
18274
18275 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18276 defface (Bug#8144).
18277
79106a44
SM
182782011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18279
9c848d8a
SM
18280 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18281 funcall as well (bug#8712). Warn when performing those conversions.
18282 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18283
79106a44
SM
18284 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18285
88dfa756
GM
182862011-05-22 Glenn Morris <rgm@gnu.org>
18287
18288 * files.el (hack-local-variables-prop-line): Small simplifications.
18289 (hack-local-variables, hack-local-variables-prop-line):
18290 If MODE-ONLY, return the mode, rather than just `t'.
18291
b7cf2c79
SM
182922011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18293
18294 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18295
3f1a8558
GM
182962011-05-21 Glenn Morris <rgm@gnu.org>
18297
7e4ccca3
GM
18298 * files.el (hack-local-variables-prop-line, hack-local-variables):
18299 If only interested in the mode, don't bother doing the other stuff.
18300
637d46ca
GM
18301 * image-mode.el (image-after-revert-hook):
18302 Redraw all frames on which the image is visible. (Bug#8567)
18303
973d955b
GM
18304 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18305
3f1a8558
GM
18306 * wid-edit.el (widget-checklist-match-inline):
18307 Fix 2011-04-19 change. (Bug#8649)
18308
96479927
SM
183092011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18310
1dcf791f
SM
18311 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18312 Also allow singlespace after single-letter capitals followed by a dot.
18313
96479927
SM
18314 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18315 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18316
35fd0881
N
183172011-05-20 Nix <nix@esperi.org.uk>
18318
18319 * files.el (basic-save-buffer-2):
18320 Fix handling of break-hardlink-on-save with non-existent files.
18321
82745640
DD
183222011-05-19 Deniz Dogan <deniz@dogan.se>
18323
18324 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18325 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18326
4a720484
GM
183272011-05-19 Glenn Morris <rgm@gnu.org>
18328
d1f21341
GM
18329 * progmodes/f90.el (f90-type-def-re):
18330 Handle "type, bind(c)". (Bug#8691)
18331
4a720484
GM
18332 * emacs-lisp/autoload.el (batch-update-autoloads):
18333 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18334
2fb0a219
MA
183352011-05-18 Michael Albinus <michael.albinus@gmx.de>
18336
18337 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18338 property for the correct connection in case of multihops.
18339
e565dd37
GM
183402011-05-18 Glenn Morris <rgm@gnu.org>
18341
c2571358 18342 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18343 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18344
e565dd37
GM
18345 Rationalize calendar handling of day and month abbrev-arrays.
18346 * calendar/calendar.el (calendar-customized-p): New function.
18347 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18348 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18349 Add :set function.
18350 (calendar-abbrev-length, calendar-day-abbrev-array)
18351 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18352 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18353 Elements may no longer be nil.
18354 (calendar-day-name, calendar-month-name):
18355 Update for changed nature of abbrev arrays.
18356 * calendar/diary-lib.el (diary-name-pattern):
18357 Update for changed nature of abbrev arrays.
18358 (diary-mark-entries-1): Update calendar-make-alist calls.
18359 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18360 * calendar/cal-html.el (cal-html-day-abbrev-array):
18361 Simply inherit from calendar-day-abbrev-array.
18362
1d99a745
SM
183632011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18364
18365 * progmodes/grep.el (grep-mode): Disable default
18366 compilation-directory-matcher setting (bug#8684).
18367
7c1d9aa0
MA
183682011-05-17 Michael Albinus <michael.albinus@gmx.de>
18369
18370 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18371 instead of "head" and "tail". There were problems with SunOS 5.9,
18372 and it performs better.
18373
3952e9d8
GM
183742011-05-17 Glenn Morris <rgm@gnu.org>
18375
2dd12e7f
GM
18376 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18377
e4157b9c
GM
18378 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18379 Replace obsolete function.
18380
8e249bbd
GM
18381 * shell.el (pcomplete-parse-arguments-function): Declare.
18382
3952e9d8
GM
18383 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18384 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18385 (appt-check): Doc fixes.
18386 (appt-disp-window-function, appt-delete-window-function):
18387 Remove needless special case in custom :type.
18388 (appt-display-count): Default to 0, not nil.
18389 (appt-check): Reset appt-display-count to 0, not nil.
18390
c71a0d48 183912011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18392
c71a0d48
GM
18393 * progmodes/python.el (python-font-lock-keywords):
18394 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18395
31d55be9
SM
183962011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18399
3bfacb2f
KR
184002011-05-16 Kevin Ryde <user42@zip.com.au>
18401
18402 * info-look.el (makefile-automake-mode): New setups, looking in
18403 automake manual, then makefile-mode.
18404 (makefile-mode): Remove automake manual, have it just in
18405 makefile-automake-mode since there's various things different or
18406 not relevant to plain make.
18407 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18408 believe a hypothetical automake-mode would go to makefile-mode,
18409 not the other way around.
18410
c8e83751
CY
184112011-05-15 Chong Yidong <cyd@stupidchicken.com>
18412
5e9e35cd
CY
18413 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18414 hunk-end tags (Bug#8672).
18415
c8e83751
CY
18416 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18417 vc-annotate-show-diff-revision-at-line (Bug#8671).
18418
50b23e5a
GM
184192011-05-14 Glenn Morris <rgm@gnu.org>
18420
7210a739
GM
18421 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18422 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18423 (change-log-font-lock-keywords): Also handle multiple author lines
18424 with leading tabs. (Bug#8644)
7210a739 18425
4691905a
GM
18426 * calendar/appt.el (appt-check): Rename some local variables.
18427 Some simplification/reordering.
18428
50b23e5a
GM
18429 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18430 (feedmail-sendmail-f-doesnt-sell-me-out)
18431 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18432 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18433 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18434 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18435 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18436 (feedmail-binmail-gnulinuxish-template):
18437 Rename from feedmail-binmail-linuxish-template.
18438 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18439 Use insert-buffer-substring.
18440
215cda7c
BC
184412011-05-14 Bill Carpenter <bill@carpenter.org>
18442
18443 * mail/feedmail.el (feedmail-patch-level): Increase.
18444 (feedmail-debug): New custom group.
18445 (feedmail-confirm-outgoing-timeout)
18446 (feedmail-sendmail-f-doesnt-sell-me-out)
18447 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18448 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18449 (feedmail-sender-line, feedmail-from-line)
18450 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18451 (feedmail-spray-this-address)
215cda7c
BC
18452 (feedmail-spray-address-fiddle-plex-list)
18453 (feedmail-queue-use-send-time-for-date)
18454 (feedmail-queue-use-send-time-for-message-id)
18455 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18456 (feedmail-buffer-eating-function):
18457 Doc fixes.
18458 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18459 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18460 (feedmail-message-action-scroll-down): New functions.
18461 (feedmail-queue-directory, feedmail-queue-draft-directory):
18462 Use expand-file-name.
18463 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18464 Remove C-v help entry.
18465 (feedmail-queue-buffer-file-name): New variable.
18466 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18467 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18468 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18469 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18470 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18471 (feedmail-message-action-toggle-spray)
18472 (feedmail-run-the-queue-no-prompts)
18473 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18474 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18475 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18476 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18477 (feedmail-envelope-deducer, feedmail-fiddle-from)
18478 (feedmail-fiddle-sender, feedmail-default-date-generator)
18479 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18480 (feedmail-fiddle-spray-address)
18481 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18482 (feedmail-fiddle-list-of-fiddle-plexes)
18483 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18484 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18485 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18486 Change default. Doc fix.
18487 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18488 (feedmail-binmail-linuxish-template): New constant.
18489 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18490 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18491 (feedmail-send-it): Add debug call.
18492 Use feedmail-queue-buffer-file-name, and
18493 feedmail-send-it-immediately-wrapper.
18494 (feedmail-message-action-send): Add debug call.
18495 Use feedmail-send-it-immediately-wrapper.
18496 (feedmail-queue-express-to-queue): Add debug call.
18497 Run feedmail-queue-express-hook.
18498 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18499 (feedmail-message-action-help-blat):
18500 Rename from feedmail-queue-send-edit-prompt-help-first.
18501 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18502 Check line-endings. Handle errors better.
18503 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18504 Doc fix. Add debug call.
18505 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18506 Use feedmail-queue-send-edit-prompt-inner.
18507 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18508 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18509 from feedmail-queue-send-edit-prompt.
18510 (feedmail-queue-send-edit-prompt-help)
18511 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18512 (feedmail-tidy-up-slug): Add debug call.
18513 Respect feedmail-queue-slug-suspect-regexp.
18514 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18515 (feedmail-dump-message-to-queue): Add debug call.
18516 Expand queue-directory.
18517 (feedmail-dump-message-to-queue): Change message slightly.
18518 Use feedmail-say-chatter.
18519 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18520 (feedmail-send-it-immediately-wrapper): New function.
18521 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18522 Insert empty string rather than newline. Handle full-frame case.
18523 Use catch/throw. Use feedmail-say-chatter.
18524 (feedmail-fiddle-from): Try mail-host-address.
18525 (feedmail-default-message-id-generator): Doc fix.
18526 Bind system-time-locale. Handle missing end.
18527 (feedmail-fiddle-x-mailer): Add debug call.
18528 Handle feedmail-x-mailer-line being nil.
18529 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18530 Add debug call. Use buffer-substring-no-properties.
18531 (feedmail-say-debug, feedmail-say-chatter): New functions.
18532 (feedmail-find-eoh): Give an explicit error.
18533
42c7e61e
UJ
185342011-05-13 Ulf Jasper <ulf.jasper@web.de>
18535
c2571358 18536 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18537 family from helvetica to sans.
c2571358 18538 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18539 etc/images/newsticker.
18540
c2571358 18541 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18542 family from helvetica to sans.
18543
18544 * net/newst-plainview.el (newsticker-new-item-face)
18545 (newsticker-old-item-face, newsticker-immortal-item-face)
18546 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18547 (newsticker-statistics-face): Change default family from
42c7e61e 18548 helvetica to sans.
c2571358 18549 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18550 etc/images/newsticker.
18551
5d3385a0
JB
18552 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18553 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18554 auto-marking.
18555
8497a297
DV
185562011-05-13 Didier Verna <didier@xemacs.org>
18557
18558 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18559 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18560 TODO entries.
8497a297
DV
18561 (lisp-lambda-list-keyword-parameter-indentation)
18562 (lisp-lambda-list-keyword-parameter-alignment)
18563 (lisp-lambda-list-keyword-alignment): New customizable user options.
18564 (lisp-indent-defun-method): Improve docstring.
18565 (extended-loop-p): Fix comment.
18566 (lisp-indent-lambda-list-keywords-regexp): New variable.
18567 (lisp-indent-lambda-list): New function.
18568 (lisp-indent-259): Use it.
18569 (lisp-indent-defmethod): Support for more than one
18570 method qualifier and properly indent methods lambda-lists.
18571 (defgeneric): Provide a missing common-lisp-indent-function property.
18572
f278f87f
SM
185732011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18574
18575 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18576 bounds for the empty string (bug#8667).
18577
5233edd7
GM
185782011-05-13 Glenn Morris <rgm@gnu.org>
18579
5237a44f
GM
18580 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18581
8340026c 18582 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18583 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18584
5233edd7 18585 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18586 (appt-time-msg-list): Doc fix.
a5464014 18587 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18588
92d10796
AS
185892011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18590
18591 * progmodes/ld-script.el (ld-script-keywords)
18592 (ld-script-builtins): Update keywords list.
18593
914a0ae1
SM
185942011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18595
c89be45f
SM
18596 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18597
914a0ae1
SM
18598 * shell.el (shell-completion-vars): New function.
18599 (shell-mode):
18600 * simple.el (read-shell-command): Use it.
18601 (blink-matching-open): No need for " [...]" in minibuffer-message.
18602
98dc3df3
GM
186032011-05-12 Glenn Morris <rgm@gnu.org>
18604
18605 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18606 (appt-check): Simplify.
18607
d2fc7e3d 186082011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18609
4d61f28d 18610 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18611 literal "/dev/null".
18612
d2fc7e3d 186132011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18614
18615 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18616 Fix typo.
18617
d2fc7e3d 186182011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18619
3f254caa
SM
18620 * progmodes/which-func.el (which-function):
18621 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18622 which might not be defined (Bug#8260).
18623
d45885f7
GM
186242011-05-12 Glenn Morris <rgm@gnu.org>
18625
18626 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18627 Let byte-compile-initial-macro-environment always take precedence.
18628
488086f4
SM
186292011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18630
18631 * net/rcirc.el: Add support for SSL/TLS connections.
18632 (rcirc-server-alist): New field `encryption'.
18633 (rcirc): Check `encryption' settings.
18634 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18635 Merge make-local-variable into `set'.
18636 (rcirc--connection-open-p): New function.
18637 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18638 the process is not a network process (e.g. running gnutls-cli).
18639 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18640 Make rcirc-(en|de)code-coding-system local here.
18641 (rcirc-mode): Merge make-local-variable into `set'.
18642 (rcirc-parent-buffer): Make permanent buffer-local.
18643 (rcirc-multiline-minor-mode): Don't do it here.
18644 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18645 there's no server buffer.
18646
7d3b9d44
GM
186472011-05-11 Glenn Morris <rgm@gnu.org>
18648
f64049c6
GM
18649 * newcomment.el (comment-kill): Prefix "unused" local.
18650
93c9df73
GM
18651 * term/w32console.el (get-screen-color): Declare.
18652
7d3b9d44
GM
18653 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18654 Handle symbol elements of byte-compile-initial-macro-environment.
18655
9e2dd53f
LL
186562011-05-10 Leo Liu <sdl.web@gmail.com>
18657
488086f4
SM
18658 * bookmark.el (bookmark-bmenu-mode-map):
18659 Bind bookmark-bmenu-search to `/'.
8b340240 18660
9e2dd53f 18661 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18662 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18663 (Footnote-unicode): New function.
18664 (footnote-style-alist): Add unicode style to the list.
18665 (footnote-style): Doc fix.
9e2dd53f 18666
79b70037
GM
186672011-05-10 Jim Meyering <meyering@redhat.com>
18668
18669 Fix doubled-word typos.
18670 * international/quail.el (quail-insert-kbd-layout): and and -> and
18671 * kermit.el: and and -> and
18672 * net/ldap.el (ldap-search-internal): to to -> to
18673 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18674 * progmodes/js.el (js-mode): and and -> and
18675 * textmodes/artist.el (artist-move-to-xy): at at -> at
18676 (artist-draw-region-trim-line-endings): if if -> if
18677 And Safetyc -> Safety.
18678 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18679
b8f82dc1 186802011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18681 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18682
18683 * files.el (hack-one-local-variable-eval-safep):
18684 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18685
4f99f44b
GM
186862011-05-10 Glenn Morris <rgm@gnu.org>
18687
18688 * calendar/diary-lib.el (diary-list-entries-hook)
18689 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18690 (diary-nongregorian-marking-hook, diary-list-entries)
18691 (diary-include-other-diary-files, diary-mark-entries)
18692 (diary-mark-included-diary-files): Doc fixes.
18693
84f29e6b
JB
186942011-05-09 Juanma Barranquero <lekktu@gmail.com>
18695
18696 * misc.el: Require tabulated-list.el during compilation.
18697
9bedd73a
CY
186982011-05-09 Chong Yidong <cyd@stupidchicken.com>
18699
488086f4
SM
18700 * progmodes/compile.el (compilation-start):
18701 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18702 (compilation-filter-hook): Doc fix.
18703
797c735c
DD
187042011-05-09 Deniz Dogan <deniz@dogan.se>
18705
18706 * wdired.el: Remove outdated installation comment. Fix usage
18707 comment.
18708
5f4b1dfe
JB
187092011-05-09 Juanma Barranquero <lekktu@gmail.com>
18710
18711 * misc.el: Implement new command `list-dynamic-libraries'.
18712 (list-dynamic-libraries--loaded-only-p): New variable.
18713 (list-dynamic-libraries--refresh): New function.
18714 (list-dynamic-libraries): New command.
18715
4c44026c
CY
187162011-05-09 Chong Yidong <cyd@stupidchicken.com>
18717
488086f4
SM
18718 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18719 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18720 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18721 higher priority to avoid clobbering by gnu.
18722
027f966d
CY
187232011-05-08 Chong Yidong <cyd@stupidchicken.com>
18724
18725 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18726 if the face has existing theme settings (Bug#8454).
18727
085f5d7d
CY
187282011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18729
488086f4
SM
18730 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18731 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18732
2a86a00c
RS
18733 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18734 special file names `.' and `..' (Bug#8259).
18735
d9c54a06
CY
187362011-05-08 Chong Yidong <cyd@stupidchicken.com>
18737
488086f4
SM
18738 * progmodes/grep.el (grep-mode-font-lock-keywords):
18739 Remove buffer-changing entries.
d9c54a06
CY
18740 (grep-filter): New function.
18741 (grep-mode): Add it to compilation-filter-hook.
18742
18743 * progmodes/compile.el (compilation-filter-hook)
18744 (compilation-filter-start): New defvars.
18745 (compilation-filter): Call compilation-filter-hook prior to
18746 updating the process mark.
18747
c4662635
SM
187482011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18749
18750 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18751
b0512a1d
EZ
187522011-05-07 Eli Zaretskii <eliz@gnu.org>
18753
605c9376
EZ
18754 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18755 mailclient-send-it even if window-system is nil. (Bug#8595)
18756
c4662635
SM
18757 * term/w32console.el (terminal-init-w32console):
18758 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18759 background-mode. (Bug#8597)
18760
d1dc2cc2
SM
187612011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18762
18763 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18764 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18765 New functions.
18766 (defgeneric, eieio--defmethod): Use them.
18767 (eieio-defgeneric): Remove.
18768 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18769
915d1300
GM
187702011-05-07 Glenn Morris <rgm@gnu.org>
18771
a3961c3e
GM
18772 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18773 Use let rather than let*.
18774 (timeclock-find-discrep): Remove unused local.
18775
314347b9
GM
18776 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18777
915d1300
GM
18778 * calendar/appt.el (appt-time-msg-list): Doc fix.
18779
275b59b0
NF
187802011-05-06 Noah Friedman <friedman@splode.com>
18781
18782 * apropos.el (apropos-print-doc): Only use
18783 emacs-lisp-docstring-fill-column when it is bound to an integer,
18784 per that variable's documentation.
18785
6c19f744
SM
187862011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18787
18788 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18789 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18790
60f884b2
GM
187912011-05-06 Glenn Morris <rgm@gnu.org>
18792
5006e634
GM
18793 * calendar/appt.el (appt-message-warning-time): Doc fix.
18794 (appt-warning-time-regexp): New option.
18795 (appt-make-list): Respect appt-message-warning-time.
18796
548d0a63
GM
18797 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18798 New options.
18799 (diary-add-to-list): Strip comments from the displayed string.
18800 (diary-mode): Set comment-start and comment-end.
18801
60f884b2
GM
18802 * vc/diff-mode.el (smerge-refine-subst): Declare.
18803 (diff-refine-hunk): Don't require smerge-mode when compiling.
18804
989681bb
JB
188052011-05-06 Juanma Barranquero <lekktu@gmail.com>
18806
18807 * simple.el (list-processes): Return nil as the docstring says.
18808
a6bc05e1
MA
188092011-05-05 Michael Albinus <michael.albinus@gmx.de>
18810
18811 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18812 to "".
18813 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18814 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18815 determining of binary transfer. (Bug#7383)
18816
23c22e9a
MA
188172011-05-05 Michael Albinus <michael.albinus@gmx.de>
18818
c4662635
SM
18819 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18820 Fix port computation bug. (Bug#8618)
23c22e9a 18821
0bff894f
GM
188222011-05-05 Glenn Morris <rgm@gnu.org>
18823
b8296902
GM
18824 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18825
1f522ce8
GM
18826 * simple.el (shell-dynamic-complete-functions)
18827 (comint-dynamic-complete-functions): Declare.
18828
cf5bee67
GM
18829 * net/network-stream.el (gnutls-negotiate):
18830 * simple.el (tabulated-list-print): Fix declarations.
18831
18832 * progmodes/gud.el (syntax-symbol, syntax-point):
18833 Remove unnecessary and incorrect declarations.
18834
0bff894f 18835 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18836 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18837
9869b3ae
SM
188382011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18839
18840 Fix earlier half-done eieio-defmethod change (bug#8338).
18841 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18842 Streamline and change calling convention.
18843 (defmethod): Adjust accordingly and simplify.
18844 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18845 new eieio--defmethod.
18846 (slot-boundp): Minor CSE simplification.
18847
9c1d5ac5
MZ
188482011-05-05 Milan Zamazal <pdm@zamazal.org>
18849
18850 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18851 (glasses-make-readable): Use glasses-separate-capital-groups.
18852
455c834e
JB
188532011-05-05 Juanma Barranquero <lekktu@gmail.com>
18854
18855 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18856 (warning-series): Doc fix.
18857 (display-warning): Don't try to create the buffer if we just found it.
18858
9ed7c8cb
CY
188592011-05-04 Chong Yidong <cyd@stupidchicken.com>
18860
18861 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18862 (autoload-find-generated-file): New function.
18863 (generate-file-autoloads): Bind generated-autoload-file to
18864 buffer-file-name.
9869b3ae
SM
18865 (update-file-autoloads, update-directory-autoloads):
18866 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18867 output file (Bug#7989).
18868 (batch-update-autoloads): Doc fix.
18869
0898ca10
JB
188702011-05-04 Juanma Barranquero <lekktu@gmail.com>
18871
18872 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18873
31dfb76c
GM
188742011-05-04 Glenn Morris <rgm@gnu.org>
18875
f330b642
GM
18876 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18877 function, so it follows changes in calendar-date-style.
18878 (diary-fancy-date-matcher): New function.
18879 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18880 (diary-fancy-font-lock-fontify-region-function):
18881 Use diary-fancy-date-pattern as a function.
18882
31dfb76c
GM
18883 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18884 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18885
48e79d6a
TZ
188862011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18887
18888 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18889 instead of positional arguments. Allow :keylist and :crlfiles
18890 arguments.
18891 (open-gnutls-stream): Call it.
18892
18893 * net/network-stream.el (network-stream-open-starttls): Adjust to
18894 call `gnutls-negotiate' with :process and :hostname arguments.
18895
dd5a5ee0
SM
188962011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18897
ef80fc09
SM
18898 * minibuffer.el (completion--message): New function.
18899 (completion--do-completion, minibuffer-complete)
18900 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18901 (completion--do-completion): Don't ignore completion-auto-help when in
18902 icomplete-mode.
18903
dd5a5ee0
SM
18904 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18905 internal encoding (e.g. tibetan zero is not whitespace).
18906 (global-whitespace-mode): Prefer save-current-buffer.
18907 (whitespace-trailing-regexp): Remove useless save-match-data.
18908 (whitespace-empty-at-bob-regexp): Minor simplification.
18909
b7d22a83
CY
189102011-05-03 Chong Yidong <cyd@stupidchicken.com>
18911
18912 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18913
5192af46
AM
189142011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18915
18916 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18917 Use `concat' to create string for insertion.
5192af46 18918
5767d190
SM
189192011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18920
18921 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18922 Avoid open-line which runs post-self-insert-hook.
18923 (bibtex-fill-entry): Remove unused `end' var.
18924
bf242939
AM
189252011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18926
5767d190
SM
18927 * textmodes/ispell.el (ispell-add-per-file-word-list):
18928 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18929
25666126
LL
189302011-05-03 Leo Liu <sdl.web@gmail.com>
18931
18932 * isearch.el (isearch-yank-pop): New command.
5767d190 18933 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18934 (isearch-forward): Mention it.
18935
52d3c2d0
SM
189362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18937
1bcace58
SM
18938 * simple.el (minibuffer-complete-shell-command): Remove.
18939 (minibuffer-local-shell-command-map): Use completion-at-point.
18940 (read-shell-command): Setup completion vars here instead.
18941 (read-expression-map): Bind TAB to symbol completion.
18942
52d3c2d0
SM
18943 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18944 error directly rather via storing it into `results'.
18945
35813471
LL
189462011-05-02 Leo Liu <sdl.web@gmail.com>
18947
18948 * vc/diff.el: Fix description.
18949
e793a940
LMI
189502011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18951
18952 * server.el (server-eval-at): New function.
18953
8de66e05
LMI
189542011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18955
18956 * net/network-stream.el (open-network-stream): Take a :nowait
18957 parameter and pass it on to `make-network-process'.
18958 (network-stream-open-plain): Ditto.
18959
dcb79f20
AS
189602011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18961
18962 * faces.el (face-spec-set-match-display): Don't match toolkit
18963 options on terminal frames.
18964
14a7fbd8
SM
189652011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18966
7eabc1be
SM
18967 * progmodes/pascal.el: Use lexical binding.
18968 (pascal-mode-map): Remove author preferences.
18969
14a7fbd8
SM
18970 * pcomplete.el (pcomplete-std-complete): Don't abuse
18971 completion-at-point.
18972
50f84510
JB
189732011-04-28 Juanma Barranquero <lekktu@gmail.com>
18974
6e087a44
JB
18975 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18976 removing code that has been dead since 1991 or so.
18977
50f84510
JB
18978 * startup.el (command-line): When warning about "_emacs", use a
18979 delayed warning to allow the user to filter it out.
18980
0ba690bd
DD
189812011-04-28 Deniz Dogan <deniz@dogan.se>
18982
18983 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18984 user has not joined.
18985
08abfaad
SM
189862011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18987
18988 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18989 aren't any completions at point.
18990
638f053a
JB
189912011-04-28 Juanma Barranquero <lekktu@gmail.com>
18992
18993 * subr.el (display-delayed-warnings): New function.
18994 (delayed-warnings-hook): New variable.
18995
8fff8daa
SM
189962011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18997
08abfaad
SM
18998 * minibuffer.el (completion-at-point, completion-help-at-point):
18999 Don't presume that a given completion-at-point-function will always
19000 use the same calling convention.
19001
8fff8daa
SM
19002 * pcomplete.el (pcomplete-completions-at-point):
19003 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
19004 pcomplete-seen is non-nil.
19005 (pcomplete-comint-setup): Also recognize the new comint/shell
19006 completion functions.
19007 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
19008 pcomplete-seen is non-nil.
19009
841a1577 190102011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 19011
841a1577 19012 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 19013 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 19014 the first character in the entry. This allows for code to add its
211ec907
UJ
19015 own uid to the entry.
19016 (icalendar--convert-float-to-ical): Add export of
19017 `diary-float'-entries save for those with the optional DAY
19018 argument.
19019
2a782793
DC
190202011-04-27 Daniel Colascione <dan.colascione@gmail.com>
19021
19022 * subr.el (shell-quote-argument): Use alternate escaping strategy
19023 when we spot a variable reference in a string.
19024
0438ce91
DC
190252011-04-26 Daniel Colascione <dan.colascione@gmail.com>
19026
19027 * cus-start.el (all): Define customization for debug-on-event.
19028
841a1577 190292011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
19030
19031 * subr.el (shell-quote-argument): Escape correctly under Windows.
19032
d090ed6c
SM
190332011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19034
19035 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19036
bfd31217
MA
190372011-04-25 Michael Albinus <michael.albinus@gmx.de>
19038
d090ed6c
SM
19039 * net/tramp.el (tramp-process-actions): Add POS argument.
19040 Delete region between POS and (pos).
bfd31217 19041
d090ed6c
SM
19042 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19043 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19044 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19045
19046 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19047 position in `tramp-process-actions' call.
19048
19049 * net/trampver.el: Update release number.
19050
e92f3bd3
SM
190512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19052
850256b5
SM
19053 * custom.el (defcustom): Obey lexical-binding.
19054
e92f3bd3
SM
19055 Fix octave-inf completion problems reported by Alexander Klimov.
19056 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19057 Inherit from octave-mode-syntax-table.
19058 (inferior-octave-mode): Set info-lookup-mode.
19059 (inferior-octave-completion-at-point): New function.
19060 (inferior-octave-complete): Use it and completion-in-region.
19061 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19062 comint-filename-completion.
19063 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19064 symbol elements which shouldn't be word elements.
19065 (octave-font-lock-keywords, octave-beginning-of-defun)
19066 (octave-function-header-regexp): Adjust regexps accordingly.
19067 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19068
cd22b309
JB
190692011-04-25 Juanma Barranquero <lekktu@gmail.com>
19070
19071 * net/gnutls.el (gnutls-errorp): Declare before first use.
19072
8b492194
TZ
190732011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19074
19075 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19076 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19077 default trustfile exists before going to use it. Add missing
5a5fa834 19078 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19079 Reported by Claudio Bley <claudio.bley@gmail.com>.
19080 (open-gnutls-stream): Add usage example.
19081
19082 * net/network-stream.el (network-stream-open-starttls): Give host
19083 parameter to `gnutls-negotiate'.
19084 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19085 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19086
841a1577 190872011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19088
cd22b309
JB
19089 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19090 Use correct match group (bug#8438).
05842630 19091
3ba7869c
CY
190922011-04-24 Chong Yidong <cyd@stupidchicken.com>
19093
512e3ae1
CY
19094 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19095 (package-menu--generate): New arg specifying packages to show.
19096 (package-menu-refresh, package-menu-execute, list-packages):
19097 Callers changed.
19098 (package-show-package-list): New function, replacing deleted
19099 package--list-packages (renamed because it is non-internal).
19100
19101 * finder.el (finder-list-matches): Use package-show-package-list
19102 instead of deleted package--list-packages.
19103
e92f3bd3
SM
19104 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19105 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19106 (vc-annotate-mode-map): Bind it to RET.
19107
7031be6d
UR
191082011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19109
19110 * progmodes/etags.el (next-file): Don't use set-buffer to change
19111 buffers (Bug#8478).
19112
4ef177aa
CY
191132011-04-24 Chong Yidong <cyd@stupidchicken.com>
19114
c8d173eb
CY
19115 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19116
4ef177aa
CY
19117 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19118 (apropos-accumulator): Doc fix.
19119 (apropos-function, apropos-macro, apropos-command)
19120 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19121 (apropos-plist): Add face property.
19122 (apropos-symbols-internal): Fix indentation.
19123 (apropos-print): Simplify help, and recognize apropos-multi-type.
19124 (apropos-print-doc): Use button-type-get to extract the button's
19125 face property. Fill docstring (Bug#8352).
19126
4ffd0d6b 191272011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19128
19129 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19130
c6c32125 19131 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19132 (mpuz-mode-map): Use mapc.
c6c32125
JB
19133 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19134 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19135 Fix typos in docstrings.
19136
58d468b4
JB
19137 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19138 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19139
6470c3c6
JB
19140 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19141
4ffd0d6b 191422011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19143
19144 * minibuffer.el (completion--do-completion): Avoid the "Next char
19145 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19146
3ad8bad0
CY
19147 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19148 mouse-2 into unread-command-events, it is interpreted correctly.
19149
71d73c9c 19150 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19151 (image-toggle-display): Doc fix.
71d73c9c 19152
841a1577 191532011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19154
4ffd0d6b
GM
19155 * textmodes/page.el (what-page): Use line-number-at-pos to
19156 calculate line number (Bug#6825).
6e1dbaa9 19157
c2fb1b60
JB
191582011-04-22 Juanma Barranquero <lekktu@gmail.com>
19159
19160 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19161 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19162 Pass argument NO-DEFAULT to `find-tag-interactive'.
19163
e02f48d7
JB
191642011-04-22 Juanma Barranquero <lekktu@gmail.com>
19165
19166 Lexical-binding cleanup.
19167
19168 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19169 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19170 * progmodes/ada-prj.el (ada-prj-initialize-values)
19171 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19172 (ada-prj-show-value):
19173 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19174 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19175 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19176 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19177 * progmodes/bug-reference.el (bug-reference-push-button):
19178 * progmodes/fortran.el (fortran-line-length):
19179 * progmodes/glasses.el (glasses-change):
19180 * progmodes/octave-mod.el (octave-fill-paragraph):
19181 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19182 (python-pdbtrack-grub-for-buffer, python-sentinel):
19183 * progmodes/sql.el (sql-save-connection):
19184 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19185 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19186 Mark unused parameters.
19187
19188 * progmodes/compile.el (compilation--flush-directory-cache)
19189 (compilation--flush-parse, compile-internal): Mark unused parameters.
19190 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19191 (compilation-next-error-function): Remove unused variable `timestamp'.
19192
19193 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19194 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19195
19196 * progmodes/dcl-mode.el (dcl-end-of-command):
19197 Remove unused variable `start'.
19198 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19199 (dcl-option-value-basic, dcl-option-value-offset)
19200 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19201 Mark unused parameters.
19202 (dcl-save-local-variable): Remove unused variable `val'.
19203 (mode): Declare.
19204
19205 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19206 Mark unused parameters.
19207 (delphi-ignore-changes): Move before first use.
19208 (delphi-charset-token-at): Remove unused variable `start'.
19209 (delphi-else-start): Remove unused variable `if-count'.
19210 (delphi-comment-block-start, delphi-comment-block-end):
19211 Remove unused variable `kind'.
19212 (delphi-indent-line): Remove unused variable `new-point'.
19213
19214 * progmodes/ebrowse.el (ebrowse-files-list)
19215 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19216 Mark unused parameters. Don't quote `lambda'.
19217 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19218 Don't quote `lambda'.
19219 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19220 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19221 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19222 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19223 Use `ignore-errors'.
19224 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19225 (ebrowse-view/find-file-and-search-pattern)
19226 (ebrowse-view/find-member-declaration/definition):
19227 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19228 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19229 Rename parameter PREFIX-ARG to PREFIX.
19230 (ebrowse-tags-read-name): Remove unused variables `start' and
19231 `member-info'.
19232 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19233 to `tags-file'.
19234
19235 * progmodes/etags.el (local-find-tag-hook): Declare.
19236 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19237 Mark unused parameters.
19238
19239 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19240 (executable-interpret): Mark unused parameter.
19241
19242 * progmodes/flymake.el (flymake-process-sentinel)
19243 (flymake-after-change-function)
19244 (flymake-create-temp-with-folder-structure)
19245 (flymake-get-include-dirs-dot): Mark unused parameters.
19246 (flymake-safe-delete-directory): Remove unused variable `err'.
19247
19248 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19249 (speedbar-timer-fn, speedbar-line-text)
19250 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19251 (speedbar-center-buffer-smartly): Declare functions.
19252 (gdb-find-watch-expression): Remove unused variable `array'.
19253 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19254 (gdb-starting): Mark unused parameters.
19255 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19256 (gdb-table-string): Remove unused variable `res'.
19257 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19258 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19259 (gdb-display-buffer): Remove unused variable `cur-size'.
19260
19261 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19262 allow lexical-binding compilation.
19263 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19264 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19265 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19266 Mark unused parameters.
19267 (gud-gdb-marker-filter): Remove unused variable `match'.
19268 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19269 lambda expressions and funcall them, instead of using `fset'.
19270
19271 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19272 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19273
19274 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19275 variable `header-beg'; use `let'.
19276
19277 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19278 `restart', `last-sexp' and `at-do'.
19279
19280 * progmodes/js.el (js--debug): Mark unused parameter.
19281 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19282 (js--splice-into-items): Remove unused variable `item'.
19283 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19284
19285 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19286 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19287 (makefile-complete): Remove unused variable `try'.
19288 (makefile-fill-paragraph, makefile-match-function-end):
19289 Mark unused parameters.
19290
19291 * progmodes/octave-inf.el (inferior-octave-complete):
19292 Remove unused variable `proc'.
19293 (inferior-octave-output-digest): Mark unused parameter.
19294
19295 * progmodes/perl-mode.el (perl-calculate-indent):
19296 Remove unused variable `err'.
19297
19298 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19299 (prolog-indent-line): Mark unused parameters.
19300 (prolog-indent-line): Remove unused variable `beg'.
19301
19302 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19303 (reporter-dont-compact-list): Declare.
19304
19305 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19306 Remove unused variable `char'.
19307 (sh-debug): Mark unused parameter.
19308 (sh-get-indent-info): Remove unused variable `start'.
19309 (sh-calculate-indent): Remove unused variable `var'.
19310
19311 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19312 (simula-electric-keyword): Remove unused variable `null'.
19313 (simula-search-backward, simula-search-forward): Remove unused
19314 variables `begin' and `end'.
19315
19316 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19317 Remove unused variable `pos'.
19318 (vera-electric-tab, vera-comment-uncomment-region):
19319 Mark unused parameters.
19320 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19321
7ede3b65
CY
193222011-04-22 Chong Yidong <cyd@stupidchicken.com>
19323
19324 * emacs-lisp/package.el (package--builtins, package-alist)
19325 (package-load-descriptor, package-built-in-p, package-activate)
19326 (define-package, package-installed-p)
19327 (package-compute-transaction, package-buffer-info)
19328 (package--push): Doc fix. Distinguish more clearly between
19329 version strings and version lists.
19330
121656e9
JB
193312011-04-21 Juanma Barranquero <lekktu@gmail.com>
19332
19333 Lexical-binding cleanup.
19334
19335 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19336 (5x5-make-mutate-best):
19337 * play/fortune.el (fortune-in-buffer):
19338 * play/gomoku.el (gomoku-init-display):
19339 * play/solitaire.el (solitaire, solitaire-do-check):
19340 * play/tetris.el (tetris-default-update-speed-function):
19341 Mark unused parameters.
19342
19343 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19344 (bubbles--shift): Remove unused variable `char-org'.
19345 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19346 (bubbles--show-images): Remove unused variable `char'.
19347
19348 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19349 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19350 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19351 (decipher-analyze-buffer): Use ?\s.
19352 (decipher-make-checkpoint): Remove unused variable `mapping'.
19353
19354 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19355
19356 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19357 Remove unused variable `result'; use `let'.
19358
19359 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19360 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19361 (gametree-children-shown-p, gametree-compute-reduced-score):
19362 Use `ignore-errors'.
19363
19364 * play/handwrite.el (ps-lpr-switches): Declare.
19365 (handwrite): Remove unused variables `pmin' and `lastp'.
19366
19367 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19368
19369 * play/landmark.el (landmark-init-display)
19370 (landmark-update-naught-weights): Mark unused parameters.
19371 (landmark-y): Remove unused variable `noise'. Simplify.
19372 (landmark-human-plays): Remove unused variable `score'.
19373
19374 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19375 (mpuz-try-proposal): Remove unused variable `game'.
19376
19377 * play/zone.el (life-patterns): Declare.
19378
80f499c7
JB
193792011-04-20 Juanma Barranquero <lekktu@gmail.com>
19380
19381 * vc/vc.el (ediff-vc-internal): Declare function.
19382
024ff170
SM
193832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19384
c0a193ea
SM
19385 * shell.el: Use lexical-binding and std completion UI.
19386 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19387 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19388 comint-preoutput-filter-functions rather than on
19389 comint-output-filter-functions.
19390 (shell-command-completion, shell--command-completion-data)
19391 (shell-filename-completion, shell-environment-variable-completion)
19392 (shell-c-a-p-replace-by-expanded-directory): New functions.
19393 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19394 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19395 (shell-dynamic-complete-environment-variable): Use them.
19396 (shell-dynamic-complete-as-environment-variable)
19397 (shell-dynamic-complete-as-command): Remove.
19398 (shell-match-partial-variable): Match past point.
19399 * comint.el: Clean up use of completion-at-point-functions.
19400 (comint-completion-at-point): New function.
19401 (comint-mode): Use it completion-at-point-functions.
19402 (comint-dynamic-complete): Make it obsolete.
19403 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19404 (comint-c-a-p-replace-by-expanded-history): New function.
19405 (comint-dynamic-complete-functions)
19406 (comint-replace-by-expanded-history): Use it.
19407 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19408 termination strings. Try harder to avoid second try-completion.
19409 (completion-in-region-mode-map): Disable bindings that don't work yet.
19410
2dbaa080
SM
19411 * comint.el: Use lexical-binding. Require CL.
19412 (comint-dynamic-complete-functions): Use comint-filename-completion.
19413 (comint-completion-addsuffix): Tweak custom type.
19414 (comint-filename-completion, comint--common-suffix)
19415 (comint--common-quoted-suffix, comint--table-subvert)
19416 (comint--complete-file-name-data): New functions.
19417 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19418 (comint-dynamic-list-filename-completions): Use them.
19419 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19420
2dbaa080
SM
19421 * minibuffer.el (completion-in-region-mode):
19422 Keep completion-in-region-mode--predicate global.
19423 (completion-in-region--postch):
19424 Assume completion-in-region-mode--predicate is not null.
19425
c79a6f38
SM
19426 * progmodes/flymake.el (flymake-start-syntax-check-process):
19427 Obey `dir'. Simplify.
19428
024ff170
SM
19429 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19430 we're in VC after all.
19431
1c6c854e
CS
194322011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19433
19434 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19435 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19436 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19437
bed7f140
SM
194382011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19439
332e62ab
SM
19440 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19441 add sanity check.
19442
bed7f140
SM
19443 * obsolete/erc-hecomplete.el: Make obsolete.
19444 * obsolete/: Standardize obsolescence info in the header.
19445
f195c582
GM
194462011-04-20 Glenn Morris <rgm@gnu.org>
19447
19448 * calendar/solar.el (solar-horizontal-coordinates):
19449 Use the longitude argument rather than `calendar-longitude'.
19450 (solar-date-next-longitude): Remove unused locals.
19451
cb79b8c0
VJL
194522011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19453
19454 * whitespace.el: New version 13.2.1.
19455
194562011-04-20 felix <EmacsWiki> (tiny change)
19457
d8e4b68b 19458 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19459 switching between major modes on a file.
19460
602ea69d
SM
194612011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19464 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19465 multi-line comments as well.
19466
06b60517
JB
194672011-04-19 Juanma Barranquero <lekktu@gmail.com>
19468
19469 Lexical-binding cleanup.
19470
19471 * arc-mode.el (archive-mode-revert):
19472 * cmuscheme.el (scheme-interactively-start-process):
19473 * custom.el (custom-initialize-delay):
19474 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19475 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19476 * emacs-lock.el (emacs-lock-clear-sentinel):
19477 * ezimage.el (defezimage):
19478 * follow.el (follow-avoid-tail-recenter):
19479 * fringe.el (set-fringe-mode-1):
19480 * generic-x.el (bat-generic-mode-compile):
19481 * help-mode.el (help-info-variable, help-do-xref)
19482 (help-mode-revert-buffer):
19483 * help.el (view-emacs-todo):
19484 * iswitchb.el (iswitchb-completion-help):
19485 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19486 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19487 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19488 * locate.el (locate-update):
19489 * longlines.el (longlines-encode-region)
19490 (longlines-after-change-function):
19491 * outline.el (outline-isearch-open-invisible):
19492 * ps-def.el (declare-function, charset-dimension, char-width)
19493 (encode-char):
19494 * ps-mule.el (ps-mule-plot-string):
19495 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19496 (recentf-edit-list-select, recentf-edit-list-validate)
19497 (recentf-open-files-action):
19498 * rect.el (delete-whitespace-rectangle-line)
19499 (rectangle-number-line-callback):
19500 * register.el (window-configuration-to-register)
19501 (frame-configuration-to-register):
19502 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19503 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19504 (xselect-convert-to-targets, xselect-convert-to-delete)
19505 (xselect-convert-to-filename, xselect-convert-to-charpos)
19506 (xselect-convert-to-lineno, xselect-convert-to-colno)
19507 (xselect-convert-to-os, xselect-convert-to-host)
19508 (xselect-convert-to-user, xselect-convert-to-class)
19509 (xselect-convert-to-name, xselect-convert-to-integer)
19510 (xselect-convert-to-atom, xselect-convert-to-identity):
19511 * subr.el (declare, ignore, process-kill-without-query)
19512 (text-clone-maintain):
19513 * terminal.el (te-get-char, te-tic-sentinel):
19514 * tool-bar.el (tool-bar-make-keymap):
19515 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19516 * type-break.el (type-break-mode, type-break-noninteractive-query):
19517 * view.el (View-back-to-mark):
19518 * wid-browse.el (widget-browse-action, widget-browse-widget)
19519 (widget-browse-widgets, widget-browse-sexp):
19520 * widget.el (define-widget-keywords):
19521 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19522 Mark unused parameters.
19523
19524 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19525 (align-areas): Remove unused variable `look'.
19526 (align-region): Remove unused variables `real-end' and `pos-list'.
19527
19528 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19529
19530 * bindings.el (mode-line-modified, mode-line-remote):
19531 Mark unused parameters.
19532 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19533
19534 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19535 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19536
19537 * comint.el (comint-history-isearch-pop-state)
19538 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19539 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19540 (comint-substitute-in-file-name): Doc fix.
19541
19542 * completion.el (cmpl-statistics-block): Mark unused parameter.
19543 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19544 (save-completions-to-file, load-completions-from-file):
19545 Remove unused local variable `e'.
19546
19547 * composite.el (compose-chars): Remove unused variable `len'.
19548 (lgstring-insert-glyph): Remove unused variable `g'.
19549 (compose-glyph-string): Remove unused variables `ascent',
19550 `descent', `lbearing' and `rbearing'.
19551 (compose-glyph-string-relative): Remove unused variables
19552 `lbearing', `rbearing' and `wadjust'.
19553 (compose-gstring-for-graphic): Remove unused variables `header',
19554 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19555 (compose-gstring-for-terminal): Remove unused variables `header'
19556 and `nchars'. Use `let', not `let*'.
19557
19558 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19559 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19560 (Custom-buffer-done, custom-buffer-create-internal)
19561 (custom-browse-visibility-action, custom-browse-group-tag-action)
19562 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19563 (widget-magic-mouse-down-action, custom-toggle-parent)
19564 (custom-add-parent-links, custom-toggle-hide-variable)
19565 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19566 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19567 (custom-face-menu-create, custom-variable-menu-create, get)
19568 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19569 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19570 (customize-apropos): Remove unused variable `tests'.
19571 (custom-group-value-create): Remove unused variable `hidden-p'.
19572 (sort-fold-case): Declare.
19573
19574 * cus-theme.el (custom-reset-standard-faces-list)
19575 (custom-reset-standard-variables-list): Declare.
19576 (customize-create-theme, custom-theme-revert, custom-theme-write)
19577 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19578 Mark unused parameters.
19579
19580 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19581
19582 * delim-col.el (delimit-columns-max): Move defvar before first use.
19583
19584 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19585 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19586
19587 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19588 (auto-insert): Declare.
19589 (desktop-restore-file-buffer): Rename desktop-* parameters;
19590 mark unused ones.
19591 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19592 (desktop-buffer): Rename desktop-* parameters.
19593
19594 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19595 (dframe-reposition-frame-xemacs, dframe-help-echo)
19596 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19597 Mark unused parameters.
19598
19599 * dired-aux.el (backup-extract-version-start, overwrite-query)
19600 (overwrite-backup-query, rename-regexp-query)
19601 (rename-non-directory-query): Declare.
19602 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19603 (dired-add-entry): Remove unused variable `orig-file-name'.
19604 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19605 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19606 `dired-copy-preserve-time' directly.
19607 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19608 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19609
19610 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19611 (dired-virtual-revert, dired-make-relative-symlink):
19612 Mark unused parameters.
19613 (manual-program): Declare.
19614 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19615 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19616 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19617
19618 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19619
19620 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19621
19622 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19623 Declare.
19624
19625 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19626
19627 * electric.el (Electric-command-loop): Rename parameter
19628 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19629
19630 * expand.el (expand-in-literal): Remove unused variable `here'.
19631
19632 * facemenu.el (facemenu-add-new-color):
19633 Remove unused variable `docstring'.
19634
19635 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19636 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19637 (face-attr-construct): Mark unused parameter. Doc fix.
19638 (read-color): Remove unused variable `hex-string'.
19639
19640 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19641 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19642 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19643 (display-buffer-other-frame): Remove unused variable `old-window'.
19644 (kill-buffer-hook): Declare.
19645 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19646 Mark unused parameters.
19647 (after-find-file): Pass 1 to `auto-save-mode', not t.
19648
19649 * files-x.el (auto-insert): Declare.
19650 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19651
19652 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19653 variable `buf'. Mark unused parameter.
06b60517
JB
19654 (find-lisp-insert-directory): Mark unused parameter.
19655
19656 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19657 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19658 (format-common-tail): Remove, unused.
19659 (format-deannotate-region): Remove unused variable `loc'.
19660 (format-annotate-region): Remove unused variable `p'.
19661 (format-annotate-single-property-change): Remove unused variables
19662 `default' and `tail'.
19663
19664 * forms.el (read-file-filter): Declare.
19665 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19666
19667 * frame.el (frame-creation-function-alist): Mark unused parameter.
19668 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19669
19670 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19671 Remove unused parameters.
19672 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19673 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19674
19675 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19676 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19677 (hfy-prepare-tag-map): Mark unused parameters.
19678 (htmlfontify-buffer): Use `called-interactively-p'.
19679
19680 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19681 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19682 (ibuffer-do-occur): Mark unused parameters.
19683 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19684 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19685
19686 * ibuffer.el: Don't quote `lambda'.
19687 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19688 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19689 Mark unused parameters.
19690
19691 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19692 (ido-completing-read): Mark unused parameters.
19693 (ido-copy-current-word): Mark unused parameters;
19694 remove unused variable `name'.
19695 (ido-sort-merged-list): Remove unused parameter `dirs'.
19696
19697 * ielm.el (ielm-input-sender): Mark unused parameter.
19698 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19699 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19700 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19701 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19702 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19703
19704 * image-dired.el (image-dired-display-thumbs): Remove unused
19705 variables `curr-file' and `count'.
19706 (image-dired-remove-tag): Remove unused variable `start'.
19707 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19708 variable `curr-file'
19709 (image-dired-rotate-original): Remove unused variable `temp-file'.
19710 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19711 Remove unused variable `file'.
19712 (image-dired-gallery-generate): Remove unused variable `curr'.
19713 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19714
19715 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19716
19717 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19718
19719 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19720
19721 * isearch.el (minibuffer-history-symbol): Declare.
19722 (isearch-edit-string): Remove unused variable `err'.
19723 (isearch-message-prefix, isearch-message-suffix):
19724 Mark unused parameters.
19725
19726 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19727
19728 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19729
19730 * makesum.el (double-column): Remove unused variable `cnt'.
19731
19732 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19733 (ido-ignore-item-temp-list): Declare.
19734
19735 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19736 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19737 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19738 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19739 `mouse-col-delta'.
19740
19741 * mouse-sel.el (mouse-extend-internal):
19742 Remove unused variable `orig-window-frame'.
19743
19744 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19745 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19746 Move declarations before first use.
19747 (pcomplete-opt): Mark unused parameters; doc fix.
19748
19749 * proced.el (proced-revert): Mark unused parameter.
19750 (proced-send-signal): Remove unused variable `err'.
19751
19752 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19753 Rename parameter PREFIX-ARG to ARG.
19754 (ps-basic-plot-string, ps-basic-plot-whitespace):
19755 Mark unused parameters.
19756
19757 * replace.el (replace-count): Define.
19758 (occur-revert-function): Mark unused parameters.
19759 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19760 (isearch-case-fold-search, isearch-string): Declare.
19761 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19762 bind `case-fold-search'. Remove unused variables `beg' and `end',
19763 and simplify.
19764 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19765 COUNT and bind `replace-count'.
19766 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19767 to COUNT.
19768
19769 * savehist.el (print-readably, print-string-length): Declare.
19770
19771 * shadowfile.el (shadow-expand-cluster-in-file-name):
19772 Remove unused variable `cluster'.
19773 (shadow-copy-file): Remove unused variable `i'.
19774 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19775 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19776 (shadow-define-literal-group, shadow-define-regexp-group)
19777 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19778
19779 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19780 (shell): Use `called-interactively-p'.
19781 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19782
19783 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19784 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19785 (delete-backward-char): Remove unused variable `ocol'.
19786 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19787 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19788 (event-apply-hyper-modifier, event-apply-shift-modifier)
19789 (event-apply-control-modifier, event-apply-meta-modifier):
19790 Mark unused parameters.
19791 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19792 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19793
19794 * speedbar.el (speedbar-ignored-directory-expressions)
19795 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19796 (speedbar-find-file, speedbar-dir-follow)
19797 (speedbar-directory-buttons-follow, speedbar-tag-find)
19798 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19799 (speedbar-buffers-line-directory, speedbar-buffer-click):
19800 Mark unused parameters.
19801 (speedbar-tag-file): Remove unused variable `mode'.
19802 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19803
19804 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19805
19806 * talk.el (talk): Remove unused variable `display'.
19807
19808 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19809 (tar-write-region-annotate): Mark unused parameter.
19810
19811 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19812 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19813 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19814 warning by another.
19815
19816 * time-stamp.el (time-stamp-string-preprocess):
19817 Remove unused variable `require-padding'.
19818
19819 * tree-widget.el (widget-glyph-enable): Declare.
19820 (tree-widget-action): Mark unused parameter.
19821
19822 * w32-fns.el (x-get-selection): Mark unused parameter.
19823 (autoload-make-program, generated-autoload-file): Declare.
19824
19825 * wdired.el (wdired-revert): Mark unused parameters.
19826 (wdired-xcase-word): Remove unused variable `err'.
19827
19828 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19829 (whitespace-help-scroll): Remove unused variable `data-help'.
19830
19831 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19832 (widget-image-insert, widget-after-change, default)
19833 (widget-default-format-handler, widget-default-notify)
19834 (widget-default-prompt-value, widget-info-link-action)
19835 (widget-url-link-action, widget-function-link-action)
19836 (widget-variable-link-action, widget-file-link-action)
19837 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19838 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19839 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19840 (widget-insert-button-action, widget-delete-button-action, visibility)
19841 (widget-documentation-link-action, widget-documentation-string-action)
19842 (widget-const-prompt-value, widget-regexp-match, symbol)
19843 (widget-coding-system-prompt-value)
19844 (widget-key-sequence-value-to-external, sexp)
19845 (widget-sexp-value-to-internal, character, vector, cons)
19846 (widget-choice-prompt-value, widget-boolean-prompt-value)
19847 (widget-color--choose-action): Mark unused parameters.
19848 (widget-item-match-inline, widget-choice-match-inline)
19849 (widget-checklist-match, widget-checklist-match-inline)
19850 (widget-group-match): Rename parameter VALUES to VALS.
19851 (widget-field-value-set): Remove unused variable `size'.
19852 (widget-color-action): Remove unused variables `value' and `start'.
19853
19854 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19855 variable `dir'. Doc fix.
06b60517
JB
19856 (windmove-find-other-window): Don't pass it.
19857
19858 * window.el (count-windows): Mark unused parameter.
19859 (bw-adjust-window): Remove unused variable `err'.
19860
19861 * woman.el (woman-file-name): Remove unused variable `default'.
19862 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19863 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19864 (global-font-lock-mode): Declare.
19865 (woman-decode-region): Mark unused parameter.
19866 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19867
19868 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19869 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19870 (x-dnd-handle-moz-url): Remove unused variable `title'.
19871 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19872
19873 * xml.el (xml-parse-tag, xml-parse-attlist):
19874 Remove unused variable `pos'.
19875
bc4f7f3d
GM
198762011-04-19 Glenn Morris <rgm@gnu.org>
19877
19878 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19879 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19880 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19881 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19882 * calendar/cal-html.el (cal-html-insert-minical):
19883 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19884 (calendar-mark-date-pattern):
19885 Prefix "unused" locals.
19886
19887 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19888 optional argument `style'.
19889
19890 * calendar/appt.el (appt-make-list):
19891 * calendar/cal-china.el (calendar-chinese-date-string):
19892 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19893 (diary-hebrew-yahrzeit):
19894 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19895 * calendar/calendar.el (calendar-generate-window):
19896 * calendar/time-date.el (time-to-days):
19897 Remove unused local variables.
19898
16a43933
CY
198992011-04-18 Chong Yidong <cyd@stupidchicken.com>
19900
19901 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19902 glyphless-char-display table.
19903 (tabulated-list-glyphless-char-display): New var.
19904
7eed1860
SS
199052011-04-18 Sam Steingold <sds@gnu.org>
19906
19907 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19908 to acknowledgments.
19909
4d2d1ccd
GM
199102011-04-17 Glenn Morris <rgm@gnu.org>
19911
19912 * calendar/diary-lib.el (diary-sexp-entry):
19913 * calendar/holidays.el (holiday-sexp):
19914 Set debug-on-error rather than the removed stack-trace-on-error.
19915
239da61d
GM
199162011-04-16 Glenn Morris <rgm@gnu.org>
19917
19918 * progmodes/f90.el: Use lexical-binding.
19919 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19920
8b05752a
SM
199212011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19922
daca8ba5
SM
19923 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19924 (mail-mode): Setup mailalias completion here instead.
19925 * mail/mailalias.el: Use lexical-binding.
19926 (pattern, mailalias-done): Declare dynamic.
19927 (mail-completion-at-point-function): New function, from mail-complete.
19928 (mail-complete): Use it.
19929 (mail-completion-expand): New function.
19930 (mail-get-names): Use it.
19931 (mail-directory, mail-directory-process, mail-directory-stream):
19932 Don't use `pattern' for lexically bound arg.
19933
6f542485
SM
19934 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19935
037e7c3f
SM
19936 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19937 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19938 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19939
8b05752a
SM
19940 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19941 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19942 (byte-interactive-p): Define them again, for use when inlining
19943 old code.
19944
49093f60
JB
199452011-04-15 Juanma Barranquero <lekktu@gmail.com>
19946
19947 * loadup.el: Use `string-to-number', not `string-to-int'.
19948
b5b8e7de
SM
199492011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19950
19951 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19952 gud-gdb-complete-command.
19953 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19954 (gud-gdb-completion-at-point): New function.
19955 (gud-gdb-completions): Remove.
19956
f42efeb5
MA
199572011-04-14 Michael Albinus <michael.albinus@gmx.de>
19958
49093f60
JB
19959 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19960 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19961 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19962 whether `executable-find' is bound.
f42efeb5
MA
19963
19964 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19965
e240cc21
SM
199662011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19967
19968 * minibuffer.el (completion-in-region-mode-predicate)
19969 (completion-in-region-mode--predicate): New vars.
19970 (completion-in-region, completion-in-region--postch)
19971 (completion-in-region-mode): Use them.
19972 (completion--capf-wrapper): Also return the hook function.
19973 (completion-at-point, completion-help-at-point):
19974 Adjust and provide a predicate.
c2bd2ab0
SM
19975
19976 Preserve arg names for advice of subr and lexical functions (bug#8457).
19977 * help-fns.el (help-function-arglist): Consolidate the subr and
19978 new-byte-code cases. Add argument `preserve-names' to extract names
19979 from the docstring when needed.
19980 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19981 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19982 (ad-arglist): Use help-function-arglist's new arg.
19983 (ad-definition-type): Use cond.
19984
c183f693
JB
199852011-04-13 Juanma Barranquero <lekktu@gmail.com>
19986
06641a47
JB
19987 * autorevert.el (auto-revert-handler):
19988 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19989 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19990 Don't quote lambda.
19991
c183f693
JB
19992 * image-mode.el (image-transform-set-scale):
19993 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19994
1e3b6001
G
199952011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19996
19997 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19998 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19999 Upgrades via gnutls-cli are too slow to be done opportunistically.
20000
2d6af8dd
JB
200012011-04-12 Juanma Barranquero <lekktu@gmail.com>
20002
20003 * dframe.el (dframe-current-frame): Remove spurious quote.
20004
c0749a51
GM
200052011-04-12 Glenn Morris <rgm@gnu.org>
20006
088d0d61
GM
20007 * calendar/cal-tex.el (cal-tex-end-document):
20008 Try to automatically use latin1 input if needed.
20009
c0749a51
GM
20010 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
20011 Don't try to cons a mark onto an empty element.
20012
5c90fde0
LL
200132011-04-11 Leo Liu <sdl.web@gmail.com>
20014
20015 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
20016 buffers.
20017 (ido-kill-buffer-at-head): Support killing virtual buffers.
20018
369e974d
CY
200192011-04-10 Chong Yidong <cyd@stupidchicken.com>
20020
20021 * minibuffer.el (completion-show-inline-help): New var.
20022 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
20023 (minibuffer-force-complete, minibuffer-complete-word):
20024 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
20025
20026 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
20027 to avoid interference from inline help (Bug#5849).
20028
37f1c930
LL
200292011-04-10 Leo Liu <sdl.web@gmail.com>
20030
099c39a4
JB
20031 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20032 Fix typo.
37f1c930 20033
a32d4040
CY
200342011-04-09 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * image-mode.el (image-toggle-display-image): Signal an error if
20037 not in Image mode.
20038 (image-transform-mode, image-transform-resize)
20039 (image-transform-set-rotation): Doc fix.
daca8ba5 20040 (image-transform-set-resize): Delete.
a32d4040
CY
20041 (image-transform-set-scale, image-transform-fit-to-height)
20042 (image-transform-fit-to-width): Handle image-toggle-display-image
20043 and image-transform-resize directly.
20044
099c39a4 200452011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20046
20047 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20048 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20049 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20050 (doc-view-mode-map): Add bindings for the new functions.
20051
099c39a4 200522011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20053
4d61f28d 20054 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20055 Fix typo in docstring.
20056
3726838a
EZ
200572011-04-08 Eli Zaretskii <eliz@gnu.org>
20058
04f33f1e
EZ
20059 * files.el (file-size-human-readable): Produce one digit after
20060 decimal, like "ls -lh" does.
20061
20062 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20063 the file size representation.
20064
3726838a
EZ
20065 * simple.el (list-processes): If async subprocesses are not
20066 available, error out with a clear error message.
20067
cbb59342
CY
200682011-04-08 Chong Yidong <cyd@stupidchicken.com>
20069
20070 * help.el (help-form-show): New function, to be called from C.
20071 Put help-form output in a buffer named differently than *Help*.
20072
e3971c44
EZ
200732011-04-08 Eli Zaretskii <eliz@gnu.org>
20074
20075 * files.el (file-size-human-readable): New function.
20076
20077 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20078 computing the representation inline. Don't require `cl'.
20079
12544bbe
GM
200802011-04-08 Glenn Morris <rgm@gnu.org>
20081
a1de6c6a
GM
20082 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20083
3c4671f4
GM
20084 * net/browse-url.el (browse-url-firefox):
20085 Test system-type, not system-configuration.
20086
b605679c
GM
20087 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20088 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20089 Use log-edit-empty-buffer-p. (Bug#7598)
20090
56442f0c
GM
20091 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20092 (rlogin-mode-map): Initialize in the defvar.
20093 (rlogin): Use ignore-errors.
20094
12544bbe
GM
20095 * replace.el (occur-mode-map): Some fixes for menu items.
20096
eb237b0f
AH
200972011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20098
20099 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20100
7d668f2c
CY
201012011-04-06 Chong Yidong <cyd@stupidchicken.com>
20102
e67a13ab
CY
20103 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20104 issuing unused warnings.
20105
20106 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20107 macro directly.
20108
7d668f2c
CY
20109 * simple.el: Lisp reimplement of list-processes. Based on an
20110 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20111 (process-menu-mode): New major mode.
20112 (list-processes--refresh, list-processes):
20113 (process-menu-visit-buffer): New functions.
20114
20115 * files.el (save-buffers-kill-emacs): Don't assume any return
20116 value of list-processes, which is undocumented anyway.
20117
a83ec3c9
CY
201182011-04-06 Chong Yidong <cyd@stupidchicken.com>
20119
20120 * emacs-lisp/tabulated-list.el: New file.
20121
e91a96fe
CY
20122 * emacs-lisp/package.el: Use Tabulated List mode.
20123 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20124 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20125 table format using Tabulated List mode variables.
20126 (package--push): New macro, replacing package-list-maybe-add.
20127 (package-menu--generate): Use package--push. Renamed from
20128 package--generate-package-list.
20129 (package-menu-refresh, list-packages): Use it.
daca8ba5 20130 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20131 Return insertion data instead of inserting it directly.
099c39a4
JB
20132 (package-menu-describe-package, package-menu-execute):
20133 Use tabulated-list-get-id.
e91a96fe
CY
20134 (package-menu-mark-delete, package-menu-mark-install)
20135 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20136 (package-menu-mark-obsolete-for-deletion):
20137 Use tabulated-list-put-tag.
e91a96fe
CY
20138 (package--list-packages, package-menu-revert)
20139 (package-menu-get-package, package-menu-get-version)
20140 (package-menu-sort-by-column): Functions deleted.
20141 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20142 (package-menu--status-predicate, package-menu--version-predicate)
20143 (package-menu--name-predicate)
20144 (package-menu--description-predicate): Handle arguments in the
20145 Tabulated List format.
20146 (package-list-packages-no-fetch): Call list-packages.
20147
3e214b50
JB
201482011-04-06 Juanma Barranquero <lekktu@gmail.com>
20149
20150 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20151 (after-find-file): Don't bind it.
3e214b50
JB
20152 (revert-buffer-in-progress-p): New variable.
20153 (revert-buffer): Bind it.
20154 Pass nil for `after-find-file-from-revert-buffer'.
20155
20156 * saveplace.el (save-place-find-file-hook): Use new variable
20157 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20158
3f0f1700
GM
201592011-04-06 Glenn Morris <rgm@gnu.org>
20160
c0274801
GM
20161 * Makefile.in (AUTOGEN_VCS): New variable.
20162 (autoloads): Use $AUTOGEN_VCS.
20163
3f0f1700
GM
20164 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20165 * calendar/calendar.el (calendar-mode-map):
20166 Check for toolkit scroll bars. (Bug#8305)
20167
41ea9e48
CY
201682011-04-05 Chong Yidong <cyd@stupidchicken.com>
20169
20170 * minibuffer.el (completion-in-region--postch)
20171 (completion-in-region-mode): Remove unnecessary messages.
20172
6194c800
JB
201732011-04-05 Juanma Barranquero <lekktu@gmail.com>
20174
33256f14
JB
20175 * font-lock.el (font-lock-refresh-defaults):
20176 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20177 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20178
6194c800
JB
20179 * info.el (Info-directory-list, Info-read-node-name-2)
20180 (Info-split-parameter-string): Doc fixes.
20181 (Info-virtual-nodes): Reflow docstring.
20182 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20183 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20184 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20185 Fix typos in docstrings.
20186 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20187 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20188 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20189 (Info-restore-desktop-buffer): Mark unused parameters.
20190 (Info-directory-find-file, Info-directory-find-node)
20191 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20192 (Info-virtual-index-find-node, Info-apropos-find-file)
20193 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20194 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20195 (Info-virtual-index): Remove unused local variable `nodename'.
20196
b87a8200 201972011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20198
b87a8200
DD
20199 * net/rcirc.el: Update my e-mail address.
20200 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20201
3b2ff876
CY
202022011-04-05 Chong Yidong <cyd@stupidchicken.com>
20203
20204 * startup.el (command-line): Save the cursor's theme-face
20205 directly, instead of using face-override-spec.
20206
20207 * custom.el (load-theme): Minor optimization in assigning faces.
20208
8d17e7ca
JB
202092011-04-04 Juanma Barranquero <lekktu@gmail.com>
20210
20211 * help-fns.el (describe-variable): Complete all variables having
20212 documentation, including keywords.
20213 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20214
2fbc1934
JB
202152011-04-04 Juanma Barranquero <lekktu@gmail.com>
20216
20217 Convert to lexical-binding.
20218
20219 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20220 (bs--get-marked-string, bs--get-modified-string)
20221 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20222 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20223 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20224
20225 * ehelp.el (electric-help-execute-extended)
20226 (electric-help-ctrl-x-prefix):
20227 * hexl.el (hexl-revert-buffer-function):
20228 * linum.el (linum-after-change, linum-after-scroll):
20229 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20230
20231 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20232
74f50695
DU
202332011-04-04 Daiki Ueno <ueno@unixuser.org>
20234
20235 * epa-dired.el:
20236 * epa-mail.el:
20237 * epa-hook.el:
20238 * epa-file.el:
20239 * epa.el:
20240 * epg.el: Use lexical binding.
20241
c11325f7
CY
202422011-04-03 Chong Yidong <cyd@stupidchicken.com>
20243
0d9e9a12
CY
20244 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20245
c11325f7 20246 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20247 dictionary case for flyspell-mark-duplications-exceptions.
20248 Use regexp matching for languages.
c11325f7
CY
20249 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20250 default dictionary (Bug#7926).
20251
da91b5f2
CY
202522011-04-02 Chong Yidong <cyd@stupidchicken.com>
20253
099c39a4
JB
20254 * emacs-lisp/package.el (package--with-work-buffer):
20255 Recognize https URLs.
da91b5f2 20256
099c39a4
JB
20257 * net/network-stream.el: Move from gnus/proto-stream.el.
20258 Change prefix to network-stream throughout.
da91b5f2
CY
20259 (open-protocol-stream): Merge into open-network-stream, leaving
20260 open-protocol-stream as an alias. Handle nil BUFFER args.
20261
20262 * subr.el (open-network-stream): Move to net/network-stream.el.
20263
afa8e9f6
GM
202642011-04-02 Glenn Morris <rgm@gnu.org>
20265
1d2e369d
GM
20266 * find-dired.el (find-exec-terminator): New option.
20267 (find-ls-option): Test for -ls support.
20268 (find-ls-subdir-switches): Test for -b in find-ls-option.
20269 (find-dired, find-grep-dired): Doc fixes.
20270 (find-dired): Use find-exec-terminator.
20271
8abb7da8 20272 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20273 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20274 (find-name-arg): Remove purecopy.
8abb7da8 20275
f3ca7378
GM
20276 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20277 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20278 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20279 accordingly. Don't add the null-device if not needed.
20280
afa8e9f6
GM
20281 * files.el (save-some-buffers): Doc fix.
20282
35eae264
EZ
202832011-04-02 Eli Zaretskii <eliz@gnu.org>
20284
20285 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20286
26b51db5
JB
202872011-04-01 Juanma Barranquero <lekktu@gmail.com>
20288
20289 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20290 Use `dolist' rather than `mapcar'.
20291
7200d79c
SM
202922011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20293
03408648 20294 Add lexical binding.
7200d79c 20295
03408648
SM
20296 * subr.el (apply-partially): Use new closures rather than CL.
20297 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20298 (dolist, dotimes): Use slightly different expansion for lexical code.
20299 (functionp): Move to C.
20300 (letrec): New macro.
20301 (with-wrapper-hook): Use it and apply-partially instead of CL.
20302 (eval-after-load): Preserve lexical-binding.
20303 (save-window-excursion, with-output-to-temp-buffer): Turn them
20304 into macros.
7200d79c 20305
03408648
SM
20306 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20307
20308 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20309 than the arglist.
20310 (help-add-fundoc-usage): Don't add `Not documented'.
20311 (help-function-arglist): Handle closures, subroutines, and new
20312 byte-code-functions.
20313 (help-make-usage): Remove leading underscores.
20314 (describe-function-1): Handle closures.
20315 (describe-variable): Use special-variable-p for completion.
20316
20317 * files.el (lexical-binding): Declare safe.
f488fb65 20318
03408648
SM
20319 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20320 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20321 (pcase): Add `let' pattern.
20322 Change memoization so it actually works.
20323 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20324 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20325 <let>: New case.
f488fb65 20326
03408648
SM
20327 * emacs-lisp/macroexp.el: Use lexical binding.
20328 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20329 Don't convert ' to #' without checking that it's indeed quoting
20330 a lambda.
20331
20332 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20333 Use eval-sexp-add-defvars.
03408648
SM
20334 (eval-sexp-add-defvars): New fun.
20335
20336 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20337
20338 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20339 Don't autoload.
20340 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20341 than the internal `byte-compile-lambda'.
20342 (defmethod): Don't hide code under quotes.
20343 (eieio-defmethod): New `code' argument.
20344
20345 * emacs-lisp/eieio-comp.el: Remove.
20346
20347 * emacs-lisp/edebug.el (edebug-eval-defun)
20348 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20349 (edebug-toggle): Avoid `eval'.
20350
20351 * emacs-lisp/disass.el (disassemble-internal): Handle new
20352 `closure' objects.
20353 (disassemble-1): Handle new byte codes.
20354
20355 * emacs-lisp/cl.el (pushnew): Silence warning.
20356
20357 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20358 (cl-byte-compile-throw): Remove.
20359 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20360
20361 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20362 closures.
20363
20364 * emacs-lisp/cconv.el: New file.
20365
20366 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20367 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20368 (byte-compile-initial-macro-environment):
20369 Handle declare-function here.
20370 (byte-compile--lexical-environment): New var.
20371 (byte-stack-ref, byte-stack-set, byte-discardN)
20372 (byte-discardN-preserve-tos): New lap codes.
20373 (byte-interactive-p): Don't use any more.
20374 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20375 New macros.
20376 (byte-compile-lapcode): Use them and handle new lap codes.
20377 (byte-compile-obsolete): Remove.
20378 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20379 (byte-compile-arglist-warn): Check late def of inlinable funs.
20380 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20381 since they should have been expanded by now.
20382 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20383 (byte-compile-from-buffer): Remove unused second arg.
20384 (byte-compile-preprocess): New function.
20385 (byte-compile-toplevel-file-form): New function to distinguish
20386 file-form calls from outside from file-form calls from hunk-handlers.
20387 (byte-compile-file-form): Simplify.
20388 (byte-compile-file-form-defsubst): Remove.
20389 (byte-compile-file-form-defmumble): Simplify now that
20390 byte-compile-lambda always returns a byte-code-function.
20391 (byte-compile): Preprocess.
20392 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20393 Remove, not used any more.
20394 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20395 (byte-compile-make-args-desc): New funs.
20396 (byte-compile-lambda): Handle lexical functions. Always return
20397 a byte-code-function.
20398 (byte-compile-reserved-constants): New var, to make up room for
20399 closed-over variables.
20400 (byte-compile-constants-vector): Obey it.
20401 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20402 (byte-compile-macroexpand-declare-function): New function.
20403 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20404 byte-code-functions.
20405 (byte-compile-form): Check obsolescence here.
20406 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20407 (byte-compile-variable-ref): Remove.
20408 (byte-compile-dynamic-variable-op): New fun.
20409 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20410 (byte-compile-variable-set): New funs.
20411 (byte-compile-discard): Add 2 args.
20412 (byte-compile-stack-ref, byte-compile-stack-set)
20413 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20414 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20415 macroexpand-all instead.
20416 (byte-compile-quote-form): Remove.
20417 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20418 (byte-compile-bind, byte-compile-unbind): New funs.
20419 (byte-compile-let): Handle let* and lexical binding.
20420 (byte-compile-let*): Remove.
20421 (byte-compile-catch, byte-compile-unwind-protect)
20422 (byte-compile-track-mouse, byte-compile-condition-case):
20423 Handle a new :fun-body form, used for lexical scoping.
20424 (byte-compile-save-window-excursion)
20425 (byte-compile-with-output-to-temp-buffer): Remove.
20426 (byte-compile-defun): Simplify.
20427 (byte-compile-stack-adjustment): New fun.
20428 (byte-compile-out): Use it.
20429 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20430
20431 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20432 handler any more.
20433
20434 * emacs-lisp/byte-opt.el: Use lexical binding.
20435 (byte-inline-lapcode): Remove (to bytecomp).
20436 (byte-compile-inline-expand): Pay attention to inlining to/from
20437 lexically bound code.
20438 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20439 any more.
20440 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20441 any more and don't call compiler-macros.
20442 (byte-compile-splice-in-already-compiled-code): Remove.
20443 (byte-code): Don't inline any more.
20444 (disassemble-offset): Receive `bytes' as argument rather than via
20445 dynamic scoping.
20446 (byte-compile-tag-number): Declare before first use.
20447 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20448 `return' even if make-spliceable.
20449 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20450 obsolete interactive-p.
20451 (byte-optimize-lapcode): Optimize new lap-codes.
20452 Don't trip up on new form of `byte-constant' lap code.
20453
20454 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20455
20456 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20457
20458 * custom.el (custom-initialize-default, custom-declare-variable):
20459 Use `defvar'.
20460
20461 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20462 New variables.
20463 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20464 (COMPILE_FIRST): Add macroexp and cconv.
20465 * makefile.w32-in: Mirror changes in Makefile.in.
20466
20467 * vc/cvs-status.el:
20468 * vc/diff-mode.el:
20469 * vc/log-edit.el:
20470 * vc/log-view.el:
20471 * vc/smerge-mode.el:
20472 * textmodes/bibtex-style.el:
090bd7cb 20473 * textmodes/css-mode.el:
03408648
SM
20474 * startup.el:
20475 * uniquify.el:
da91b5f2
CY
20476 * minibuffer.el:
20477 * newcomment.el:
20478 * reveal.el:
20479 * server.el:
20480 * mpc.el:
20481 * emacs-lisp/smie.el:
20482 * doc-view.el:
20483 * dired.el:
03408648
SM
20484 * abbrev.el: Use lexical binding.
20485
0f0c1f27
EZ
204862011-04-01 Eli Zaretskii <eliz@gnu.org>
20487
20488 * info.el (info-display-manual): New function.
20489
c82b2579
SM
204902011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20491
20492 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20493
221ddf68
TH
204942011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20495
20496 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20497 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20498
cba6e77e
GM
204992011-03-31 Glenn Morris <rgm@gnu.org>
20500
e040639f
GM
20501 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20502
cba6e77e
GM
20503 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20504
6d0f1c9e
CS
205052011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20506
20507 * progmodes/python.el (python-default-interpreter)
20508 (python-python-command-args, python-jython-command-args)
20509 (python-which-shell, python-which-args, python-which-bufname)
20510 (python-file-queue, python-comint-output-filter-function)
20511 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20512 variables and functions.
20513
3e2d70fd
SM
205142011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20515
20516 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20517 (completion-in-region-mode): New minor mode.
20518 (completion-in-region): Use it.
20519 (completion-in-region--data, completion-in-region-mode-map): New vars.
20520 (completion-in-region--postch): New function.
20521 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20522 New vars.
20523 (completion--capf-wrapper): New function.
20524 (completion-at-point): Use it to track well-behavedness of
20525 hook functions.
20526 (completion-help-at-point): New command.
20527
f3e4086c
JM
205282011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20529
20530 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20531 syntax class to search for whitespace on a single line
20532 (Message-ID: <4D938140.4030905@redhat.com>).
20533
eb7ffc14
LL
205342011-03-30 Leo Liu <sdl.web@gmail.com>
20535
20536 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20537 New commands.
20538 (edit-abbrevs-map): Bind them here.
20539 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20540
d806ab68
KM
205412011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20542
20543 * allout.el (allout-hide-by-annotation, allout-flag-region):
20544 Reduce possibility of overlay leakage by making them volatile.
20545
20546 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20547 hash is not shared between buffers. Mode initialization is
20548 responsible for giving it a useful starting value.
20549 (allout-item-span): Reduce possibility of overlay leakage by
20550 making them volatile.
20551 (allout-widgets-count-buttons-in-region): Add diagnostic function
20552 for tracking down button overlay leaks.
20553
ea622834
LL
205542011-03-29 Leo Liu <sdl.web@gmail.com>
20555
20556 * ido.el (ido-read-internal): Use the default history var
20557 minibuffer-history if no HISTORY is specified.
20558
b62f8267
G
205592011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20560
03408648
SM
20561 * net/imap.el (imap-shell-open, imap-process-connection-type):
20562 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20563 Kerberos, SSL, other subprocesses.
20564
947b6566
LL
205652011-03-28 Leo Liu <sdl.web@gmail.com>
20566
20567 * abbrev.el (abbrev-table-empty-p): New function.
20568 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20569 nonempty ones. (Bug#5937)
20570
5ffb62aa
JD
205712011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20572
20573 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20574
7a097943
LL
205752011-03-27 Leo Liu <sdl.web@gmail.com>
20576
20577 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20578 for foreground and background colors.
20579 (ansi-color-make-color-map): Adapt.
20580
c5b40130
LL
205812011-03-25 Leo Liu <sdl.web@gmail.com>
20582
1f48f7d2
LL
20583 * midnight.el (midnight-time-float): Remove. Note it calculates
20584 the microsecond component incorrectly and seconds-to-time does the
20585 same job.
625897ec 20586 Remove redundant (require 'timer).
1f48f7d2 20587
c5b40130
LL
20588 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20589 (ido-completions): Remove unused arguments. (Bug#8329)
20590
d86d2721
SM
205912011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20592
20593 * minibuffer.el (completion--flush-all-sorted-completions):
20594 Remove itself from hook.
20595 (completion-at-point): Let the functions perform the completion
20596 immediately and return nil or t.
20597 * comint.el (comint-dynamic-complete-functions): Now identical to
20598 completion-at-point-functions.
20599 (comint-dynamic-list-input-ring): Remove unused var `index'.
20600 (comint--match-partial-filename, comint--unquote&expand-filename):
20601 New funs, split from comint-match-partial-filename.
20602 (comint-dynamic-complete): Use completion-at-point.
20603 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20604
e8974c48
DA
206052011-03-24 Drew Adams <drew.adams@oracle.com>
20606
20607 * thingatpt.el: Support `defun'.
20608
def71b5e
LL
206092011-03-23 Leo Liu <sdl.web@gmail.com>
20610
cb5af48e
LL
20611 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20612
def71b5e
LL
20613 * help-mode.el (help-mode-finish): Tweak regexp.
20614
927c53e7
GM
206152011-03-23 Glenn Morris <rgm@gnu.org>
20616
18d05bed
GM
20617 * eshell/esh-opt.el (eshell-eval-using-options):
20618 Do not bind unused local variable `eshell-option-stub'.
20619
927c53e7
GM
20620 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20621
9d0da923
JB
206222011-03-22 Juanma Barranquero <lekktu@gmail.com>
20623
20624 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20625 keymap variable in `with-no-warnings' to avoid a warning when the
20626 keymap has been already `defconst'ed.
20627
4b978a67
LL
206282011-03-22 Leo Liu <sdl.web@gmail.com>
20629
20630 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20631 encode all chars in abbrevs; otherwise use emacs-mule or
20632 utf-8-emacs. (Bug#8308)
20633
5fd62452
JB
206342011-03-22 Juanma Barranquero <lekktu@gmail.com>
20635
0b1596c6
JB
20636 * simple.el (backward-delete-char-untabify):
20637 Avoid warning about using `delete-backward-char'.
20638
5fd62452
JB
20639 * image.el (image-type-file-name-regexps): Make it variable.
20640 `imagemagick-register-types' modifies it, and the user may want
20641 to add new extensions for known image types.
20642 (imagemagick-register-types): Throw error if not using ImageMagick.
20643
0b4e93f1
LL
206442011-03-22 Leo Liu <sdl.web@gmail.com>
20645
20646 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20647 located before rcirc-prompt-end-marker.
20648 (rcirc-complete): Error if point is not after rcirc prompt.
20649 Handle the case when table is nil.
9882e214 20650 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20651
fccee4ab
CY
206522011-03-22 Chong Yidong <cyd@stupidchicken.com>
20653
20654 * custom.el (custom--inhibit-theme-enable): Make it affect only
20655 custom-theme-set-variables and custom-theme-set-faces.
20656 (provide-theme): Ignore custom--inhibit-theme-enable.
20657 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20658 (custom-enabling-themes): Delete variable.
d86d2721
SM
20659 (enable-theme): Accept only loaded themes as arguments.
20660 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20661 (custom-enabled-themes): Forbid themes from setting this.
20662 Eliminate use of custom-enabling-themes.
20663 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20664
af896da6
LL
206652011-03-21 Leo Liu <sdl.web@gmail.com>
20666
20667 * ido.el (ido-read-internal): Add ido-selected to history instead
20668 of user input.
20669
78f64af0
SM
206702011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20671
20672 * subr.el (deferred-action-list, deferred-action-function):
20673 Mark obsolete.
20674
b16ac1ec
LL
206752011-03-21 Leo Liu <sdl.web@gmail.com>
20676
810f7698
LL
20677 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20678 change on 2011-02-13 (bug#8309).
20679
b16ac1ec
LL
20680 * minibuffer.el (read-file-name-function): Change default value.
20681 (read-file-name--defaults): Rename from read-file-name-defaults.
20682 (read-file-name-default): Rename from read-file-name.
20683 (read-file-name): Call read-file-name-function.
20684
4e05e67e
GM
206852011-03-21 Glenn Morris <rgm@gnu.org>
20686
20687 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20688 Doc fixes.
20689
4359915b
CY
206902011-03-21 Chong Yidong <cyd@stupidchicken.com>
20691
20692 * cus-theme.el: Add missing provide statement.
20693 (customize-create-theme): Extract theme value correctly.
20694 (custom-theme-visit-theme): Autoload.
20695 (customize-create-theme): Prompt before inserting default faces.
20696
1fe275ee
JB
206972011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20698
20699 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20700 units and musical notes.
20701
cd394be1 207022011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20703
20704 * ido.el (ido-read-internal): Use completing-read-default.
20705 (ido-completing-read): Fix compatibility with completing-read.
20706
7d476bde
CO
207072011-03-20 Christian Ohler <ohler@gnu.org>
20708
20709 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20710 (ert-delete-all-tests): Use `called-interactively-p' rather than
20711 `interactive-p'.
20712 (ert--make-xrefs-region): Respect END.
20713
fe0fb33e
CY
207142011-03-19 Chong Yidong <cyd@stupidchicken.com>
20715
ff854b0b
CY
20716 * dired-aux.el (dired-create-directory): Signal an error if the
20717 directory already exists (Bug#8246).
20718
fe0fb33e
CY
20719 * facemenu.el (list-colors-display): Call list-faces-display
20720 inside with-help-window.
20721 (list-colors-print): Use display property to align the final
20722 column, instead of checking window-width.
20723
576bce32
EZ
207242011-03-19 Eli Zaretskii <eliz@gnu.org>
20725
4d61f28d 20726 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20727 windows-nt systems.
20728 (emerge-protect-metachars): Quote correctly for ms-dos and
20729 windows-nt systems.
20730
89c41d68 207312011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20732
20733 * info.el (info-initialize): Replace all uses of `:' with
20734 path-separator for compatibility with non-Unix systems.
20735 Cache quoting of path-separator. (Bug#8258)
20736
b14e3e21 207372011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20738
20739 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20740 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20741 (mouse-avoidance-mode): Fix typos in docstrings.
20742
4525ce3e
CY
207432011-03-19 Chong Yidong <cyd@stupidchicken.com>
20744
20745 * startup.el (package-subdirectory-regexp): Move from package.el.
20746 Omit \\` and \\', and let callers add them.
20747
20748 * emacs-lisp/package.el (package-strip-version)
20749 (package-load-all-descriptors): Add \\` and \\' to
20750 package-subdirectory-regexp before using it.
20751 (package-untar-buffer): New arg DIR; ensure that file untars only
20752 into this expected directory. Remove superfluous delete-region.
20753 (package-unpack): Caller changed.
20754 (package-tar-file-info): Use package-subdirectory-regexp.
20755
a904a09a 207562011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20757
a904a09a
SM
20758 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20759 diff-mode-shared-map (bug#8284).
20760 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20761
207622011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20763
20764 * calendar/time-date.el (format-seconds): Use assoc instead of
20765 assoc-string, since assoc-string doesn't exist in XEmacs.
20766
171fc304
JB
207672011-03-17 Juanma Barranquero <lekktu@gmail.com>
20768
20769 * custom.el (custom-known-themes): Reflow docstring.
20770 (custom-theme-load-path): Fix typo in docstring.
20771 (load-theme): Fix typo in error message.
20772 (custom-available-themes, custom-variable-theme-value):
20773 Use `let', not `let*'.
20774
d71990a1
JB
207752011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20776
20777 * calc/README: Mention inclusion of musical notes.
20778
20779 * calc/calc-units.el (calc-lu-quant): Rename from
20780 `calc-logunits-quantity'.
20781 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20782 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20783 (calc-db): Rename from `calc-dblevel'.
20784 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20785 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20786 (calc-np): Rename from `calc-nplevel'.
20787 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20788 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20789 (calc-lu-plus): Rename from `calc-logunits-add'.
20790 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20791 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20792 (calc-lu-minus): Rename from `calc-logunits-sub'.
20793 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20794 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20795 (calc-lu-times): Rename from `calc-logunits-mul'.
20796 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20797 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20798 (calc-lu-divide): Rename from `calc-logunits-div'.
20799 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20800 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20801
20802 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20803 functions being autoloaded.
20804
20805 * calc/calc.el (calc-lu-power-reference): Rename from
20806 `calc-logunits-power-reference'.
20807 (calc-lu-field-reference): Rename from
20808 `calc-logunits-field-reference'.
20809
7a71b18d
GM
20810 * calc/calc-help.el (calc-l-prefix-help):
20811 Mention musical note functions.
d71990a1 20812
40c2934b
SM
208132011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20814
20815 * minibuffer.el (completion-all-sorted-completions):
20816 Use :completion-cycle-penalty text property if present.
20817
b0911414
KM
208182011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20819
20820 * allout.el (allout-yank-processing): Adjust for new rebulleting
20821 regime so bullet being yanked is used without prompting the user
20822 for a choice.
20823
8a05b668
JB
208242011-03-16 Juanma Barranquero <lekktu@gmail.com>
20825
20826 * startup.el (command-line): Warn the user that _emacs is deprecated.
20827
5ba5fb81
JB
208282011-03-16 Juanma Barranquero <lekktu@gmail.com>
20829
20830 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20831 (delphi-verbose, delphi-comment-face, delphi-string-face)
20832 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20833 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20834 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20835 (delphi-new-comment-line, delphi-font-lock-defaults)
20836 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20837 Fix typos in docstrings.
20838
2dab465b
KM
208392011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20840
5ba5fb81 20841 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20842 Invert the roles of character and string values for INSTEAD, so a
20843 string is used for the more common case of a defaulting prompt.
20844
0adf5618
SM
208452011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20846
20847 * progmodes/ruby-mode.el (ruby-backward-sexp):
20848 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20849 * play/gamegrid.el (gamegrid-make-face):
20850 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20851 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20852 * notifications.el (notifications-notify):
20853 * net/xesam.el (xesam-search-engines):
20854 * net/quickurl.el (quickurl-list-insert):
20855 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20856
d72700e5
CY
208572011-03-15 Chong Yidong <cyd@stupidchicken.com>
20858
20859 * startup.el (command-line): Update package subdirectory regexp.
20860
49c5410a
SM
208612011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20862
c6eee9aa
SM
20863 * allout.el (allout-abbreviate-flattened-numbering)
20864 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20865
49c5410a
SM
20866 * subr.el (read-char-choice): Only show the cursor after the prompt,
20867 not after the answer.
20868
047b2bb9
KR
208692011-03-15 Kevin Ryde <user42@zip.com.au>
20870
20871 * help-fns.el (variable-at-point): Skip leading quotes, if any
20872 (bug#8253).
20873
0a57d256
SM
208742011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20875
20876 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20877 warning message.
20878
77c992bc
MA
208792011-03-14 Michael Albinus <michael.albinus@gmx.de>
20880
20881 * shell.el (shell): When called interactively, offer to change the
20882 shell file name on remote hosts.
20883
eebc475d
TZ
208842011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20885
20886 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20887 integration for LDAP parameters. The host, base, user or binddn,
20888 and secret tokens can be specified in a netrc file, for instance.
20889 This is optional because an `auth-source' parameter must be
20890 specified in the search attributes.
20891
9d05d1ba
JB
208922011-03-13 Juanma Barranquero <lekktu@gmail.com>
20893
20894 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20895
09d9db2c
GM
208962011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20897
20898 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20899 into declaration. Remove redundant and harmful binding.
20900
209012011-03-12 Eli Zaretskii <eliz@gnu.org>
20902
20903 * files.el (file-ownership-preserved-p): Pass `integer' as an
20904 explicit 2nd argument to `file-attributes'. If the file's owner
20905 is the Administrators group on Windows, and the current user is
20906 Administrator, consider that a match.
20907
20908 * server.el (server-ensure-safe-dir): Consider server directory
20909 safe on MS-Windows if its owner is the Administrators group while
20910 the current Emacs user is Administrator. Use `=' to compare
20911 numerical UIDs, since they could be integers or floats.
20912
219bd536
JB
209132011-03-12 Juanma Barranquero <lekktu@gmail.com>
20914
20915 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20916
f3afd36b
MA
209172011-03-12 Michael Albinus <michael.albinus@gmx.de>
20918
20919 Sync with Tramp 2.2.1.
20920
20921 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20922
20923 * net/trampver.el: Update release number.
20924
3aaaa6f1
SM
209252011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20926
94642599
SM
20927 * progmodes/compile.el (compilation--previous-directory): Fix up
20928 various nil/dead-marker mismatches (bug#8014).
20929 (compilation-directory-properties, compilation-error-properties):
20930 Don't call it at a position past the one we're about to change.
20931
3aaaa6f1
SM
20932 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20933 Disable obsolescence warnings in the file that declares it.
20934
14239447
KM
209352011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20936
099c39a4
JB
20937 * allout-widgets.el (allout-widgets-tally):
20938 Initialize allout-widgets-tally as a hash table rather than nil to
20939 prevent mode-line redisplay warnings. Also, clarify the module
20940 description and fix a comment typo.
14239447 20941
135e287c
JB
209422011-03-11 Juanma Barranquero <lekktu@gmail.com>
20943
20944 * help-fns.el (describe-variable): Don't complete keywords.
20945 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20946
ffbf300e
CY
209472011-03-10 Chong Yidong <cyd@stupidchicken.com>
20948
ba08b241
CY
20949 * emacs-lisp/package.el (package-version-join): Impose a standard
20950 string representation for pre/alpha/beta version lists.
20951 (package-unpack-single): Standardize the directory name by passing
20952 it through package-version-join.
20953 (package-strip-rcs-id): Accept any version string that does not
20954 signal an error in version-to-list.
ffbf300e 20955
f346fd6b
MA
209562011-03-10 Michael Albinus <michael.albinus@gmx.de>
20957
20958 * simple.el (delete-trailing-whitespace): Return nil for the
20959 benefit of `write-file-functions'.
20960
ccb55d27
GM
209612011-03-10 Glenn Morris <rgm@gnu.org>
20962
5ceaac0c
GM
20963 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20964
02da65ff
GM
20965 * vc/vc-git.el (vc-git-program): New option.
20966 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20967 (vc-git--call): Use it.
20968
b2f603cc
GM
20969 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20970
5772caab
GM
20971 * cus-edit.el (Custom-newline): If no button at point, look
20972 for a subgroup button at start-of-line. (Bug#2298)
20973
ccb55d27
GM
20974 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20975
ec6ecaed
JD
209762011-03-10 Julien Danjou <julien@danjou.info>
20977
20978 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20979 `cursor-type' is nil.
20980
9d5aa01d
JB
209812011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20982
20983 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20984
b6a5875b
KM
209852011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20986
7a71b18d 20987 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20988 preserves the existing header prefix, rebulleting it if necessary,
20989 rather than replacing it. This is necessary for proper operation
20990 of cooperative addons like allout-widgets.
1154d12e
JB
20991 (allout-make-topic-prefix, allout-rebullet-heading):
20992 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20993 value as alternate bullet to be used, instead of prompting the user
20994 for a bullet character.
b6a5875b 20995
ee545c35
MA
209962011-03-09 Michael Albinus <michael.albinus@gmx.de>
20997
d86d2721
SM
20998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20999 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
21000 `tramp-default-port'.
21001
c47971d7
DD
210022011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
21003
21004 * net/rcirc.el (rcirc-handler-001): Remove useless
21005 with-rcirc-process-buffer.
21006 (rcirc-check-auth-status): Swap arguments to string-match.
21007
13522cb4
GM
210082011-03-09 Glenn Morris <rgm@gnu.org>
21009
0be6f4f1
GM
21010 * shell.el (shell-mode):
21011 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
21012
13522cb4
GM
21013 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
21014 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
21015
515de2e3
CY
210162011-03-08 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * emacs-lisp/package.el (package-refresh-contents)
21019 (package-menu-execute): Use condition-case-no-debug.
21020
b511b994
MA
210212011-03-08 Michael Albinus <michael.albinus@gmx.de>
21022
21023 * simple.el (shell-command-to-string): Use `process-file'.
21024
21025 * emacs-lisp/package.el (package-tar-file-info): Handle also
21026 remote files.
21027
d86d2721
SM
21028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
21029 Use `equal' for upload base check.
b511b994 21030
25bbfb31
AM
210312011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
21032
21033 * textmodes/texinfo.el (texinfo-environments):
21034 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21035
be996521
GM
210362011-03-08 Glenn Morris <rgm@gnu.org>
21037
e9c8529f
GM
21038 * cus-start.el (cursor-in-non-selected-windows):
21039 Fix :set quoting oddness. (Bug#8192)
21040
be996521
GM
21041 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21042 in some setf expressions. (Bug#2159)
21043
2bb5649e
CY
210442011-03-08 Chong Yidong <cyd@stupidchicken.com>
21045
21046 * custom.el (custom-available-themes): Return themes in
21047 alphabetical order.
21048
33383987 21049See ChangeLog.15 for earlier changes.
e3d51b27
MR
21050
21051;; Local Variables:
21052;; coding: utf-8
e3d51b27
MR
21053;; End:
21054
acaf905b 21055 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21056
21057 This file is part of GNU Emacs.
21058
21059 GNU Emacs is free software: you can redistribute it and/or modify
21060 it under the terms of the GNU General Public License as published by
21061 the Free Software Foundation, either version 3 of the License, or
21062 (at your option) any later version.
21063
21064 GNU Emacs is distributed in the hope that it will be useful,
21065 but WITHOUT ANY WARRANTY; without even the implied warranty of
21066 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21067 GNU General Public License for more details.
21068
21069 You should have received a copy of the GNU General Public License
21070 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.