* lisp/window.el (with-temp-buffer-window): Doc fix.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
65463c40
GM
12012-11-17 Glenn Morris <rgm@gnu.org>
2
3 * window.el (with-temp-buffer-window): Doc fix.
4
cdc5d88c
SM
52012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * emacs-lisp/cl-lib.el: Set more meaningful version number.
8
0ff7851c
MR
92012-11-16 Martin Rudalics <rudalics@gmx.at>
10
11 * window.el (enlarge-window, shrink-window): Don't mention return
12 value in doc-string (Bug#12896).
13 (window--display-buffer): Don't resize frames - it won't work
14 with all window managers and defeat pop-up-frame-alist.
15 (display-buffer-alist): In doc-string explain that CONDITION can
16 be a function and which arguments are passed to it (Bug#12854).
17 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
18 expressions (Bug#12854).
19 (display-buffer): Pass ACTION argument to
20 display-buffer-assq-regexp.
21
dedd1884
GM
222012-11-16 Glenn Morris <rgm@gnu.org>
23
7c82753d
GM
24 * window.el (fit-frame-to-buffer-bottom-margin)
25 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
26
dedd1884
GM
27 * faces.el (face-underline-p): Use face-attribute-specified-or.
28
662b0ee6
JB
292012-11-15 Juanma Barranquero <lekktu@gmail.com>
30
31 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
32
eb31fa40
SM
332012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
36
e2e13f18
GM
372012-11-15 Glenn Morris <rgm@gnu.org>
38
17c083ac
GM
39 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
40 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
41
bde3c6c0
GM
42 * faces.el (face-underline-p): Doc fix. Handle :underline being
43 things other than `t' (a string, a list).
44 (face-inverse-video-p): Doc fix.
45 (set-face-underline): Rename it back from set-face-underline-p.
46 Doc fix. Allow interactive input of values other than t.
47 (read-face-attribute): Apply formatting to :underline,
48 since like :box and :stipple it can take list values.
49
e2e13f18
GM
50 * term.el (ansi-term): Don't let C-x escape-char binding
51 clobber the more standard C-c binding. (Bug#12842)
52
3a514ab0
SM
532012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
56 (bug#12879).
57
e0ea8060
GM
582012-11-14 Glenn Morris <rgm@gnu.org>
59
60 * subr.el (set-temporary-overlay-map): Doc fix.
61
92346275
MR
622012-11-13 Martin Rudalics <rudalics@gmx.at>
63
64 * window.el (record-window-buffer)
65 (display-buffer-record-window): When copying the markers to
66 window-point preserve window-point-insertion-type. (Bug#12588)
67
7b1bf173
GM
682012-11-13 Glenn Morris <rgm@gnu.org>
69
70 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
71 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
72 Use new names for hooks rather than obsolete aliases.
73
f8705f6e
SM
742012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
75
76 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
77
9db94175
WJ
782012-11-12 Wolfgang Jenkner <wjenkner@inode.at>
79
80 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
81 39 and 49. This fixes bug#12792. Also, treat unimplemented
82 parameters as 0, thereby restoring the behavior of revisions prior
83 to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
84
2e6625b5
FEG
852012-11-12 Fabián Ezequiel Gallina <fgallina@cuca>
86
87 Fix end-of-defun misbehavior.
88 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
89 python-beginning-of-defun-function. Handle nested defuns
90 correctly.
91 (python-nav-end-of-defun): Rename from
92 python-end-of-defun-function. Ensure forward movement.
f8705f6e 93 (python-info-current-defun): Reimplement to work as intended
2e6625b5
FEG
94 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
95 parent defuns as soon as possible.
96
24c38527
GM
972012-11-12 Glenn Morris <rgm@gnu.org>
98
99 * progmodes/flymake.el (flymake-error-bitmap)
100 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
101 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
102
d1e1e53d
DG
1032012-11-12 Dmitry Gutov <dgutov@yandex.ru>
104
105 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
106 backward, always stop at indentation. Reverts the change from
107 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
108
68146aa5
GM
1092012-11-11 Glenn Morris <rgm@gnu.org>
110
a1d3e07e
GM
111 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
112 Add ibuffer-filter-by-derived-mode.
113
84acf328
GM
114 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
115 the same name shadowing each other.
116
38785e75
GM
117 * window.el (with-temp-buffer-window): Doc tweak.
118
57fc0fee
GM
119 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
120
6ba6a3e5
GM
121 * help.el (temp-buffer-max-height):
122 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
68146aa5
GM
123 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
124
e4e46889
LL
1252012-11-10 Leo Liu <sdl.web@gmail.com>
126
127 * ido.el (ido-set-matches-1): Fix split-string args to avoid
128 performance issue. (Bug#12796)
129
19e09879
GM
1302012-11-10 Glenn Morris <rgm@gnu.org>
131
bf67dafa
GM
132 * term.el (term-default-fg-color, term-default-bg-color):
133 Make obsolete, rather than just saying "deprecated" in the doc.
134
19e09879
GM
135 * term.el (term): Rename from `term-face'.
136 (term-current-face, ansi-term-color-vector)
137 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
138 Update all users.
139
d743088d
JD
1402012-11-09 Jan Djärv <jan.h.d@swipnet.se>
141
f8705f6e 142 * server.el (server-create-window-system-frame): Improve comment.
d743088d 143
531bdce6
JD
1442012-11-08 Jan Djärv <jan.h.d@swipnet.se>
145
146 * server.el (server-create-window-system-frame): Handle Nextstep
147 specially (Bug#12780).
148
fedb154e
GM
1492012-11-08 Glenn Morris <rgm@gnu.org>
150
151 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
152 Unautoload, and make obsolete. (Bug#7449)
153
9d9e48d9
CY
1542012-11-08 Chong Yidong <cyd@gnu.org>
155
156 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
157 rename from diff-remove-trailing-whitespace (Bug#12831).
158
32170f7f
SM
1592012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
162 miscompilation of trace.el.
163
26f59676
GM
1642012-11-08 Glenn Morris <rgm@gnu.org>
165
166 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
167
41626722
SM
1682012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
171 (bug#12812).
172
7d806bfe
CY
1732012-11-07 Chong Yidong <cyd@gnu.org>
174
175 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
176 a defcustom with an appropriate :set function.
177 (minibuffer-default--in-prompt-regexps): New function.
178
2ee1d59f
GM
1792012-11-07 Glenn Morris <rgm@gnu.org>
180
031b2ea7
GM
181 * emacs-lisp/cl.el (define-setf-expander, defsetf)
182 (define-modify-macro): Doc fixes.
183
2ee1d59f
GM
184 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
185 (gv-define-simple-setter): Update doc of `fix-return'.
186
d57c286e
SM
1872012-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
188
b715ed44
SM
189 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
190 twice when `fix-return' is set (bug#12813).
191
d57c286e
SM
192 * emacs-lisp/cl.el (defsetf): Pass the third arg to
193 gv-define-simple-setter (bug#12812).
194
c9cac599
SM
1952012-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
198 (bug#12756).
199
6b3770fb
GM
2002012-11-06 Glenn Morris <rgm@gnu.org>
201
202 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
203
5593ed90
GM
2042012-11-05 Glenn Morris <rgm@gnu.org>
205
206 * emacs-lisp/cl-extra.el (cl-prettyexpand):
207 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
208 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
209 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
210
211 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
212
5c677d44
GM
2132012-11-03 Glenn Morris <rgm@gnu.org>
214
49138400
GM
215 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
216 Rename handler properties back from cl-- to cl-. (Bug#12788)
217
5c677d44
GM
218 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
219
1d4341f9
EZ
2202012-11-03 Eli Zaretskii <eliz@gnu.org>
221
222 * term/pc-win.el: Don't load term/internal from here.
223
224 * loadup.el: Load term/internal from here.
225
12fd5ee1
FEG
2262012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
227
228 * progmodes/python.el (inferior-python-mode): Fix hang in
229 jit-lock (Bug#12645).
230
43bcfda6
MR
2312012-11-03 Martin Rudalics <rudalics@gmx.at>
232
233 * window.el (switch-to-visible-buffer)
234 (switch-to-buffer-preserve-window-point): Fix doc-strings.
235
b4b096e4
SB
2362012-11-01 Stephen Berman <stephen.berman@gmx.net>
237
238 * play/gomoku.el (gomoku-display-statistics): Update mode line
239 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
240
218e997a
MR
2412012-10-31 Martin Rudalics <rudalics@gmx.at>
242
243 * window.el (quit-restore-window): If the window has been
244 created on an existing frame and ended up as the sole window on
245 that frame, do not delete it (Bug#12764).
246
b08b6da7
SM
2472012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
248
3618df45
SM
249 * progmodes/sh-script.el (sh--inside-noncommand-expression):
250 Rename from sh--inside-arithmetic-expression, handle more cases
251 (bug#11263).
252
b08b6da7
SM
253 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
254 (sh-font-lock-open-heredoc): Use it (bug#12770).
255
4ddedf94
GM
2562012-10-30 Glenn Morris <rgm@gnu.org>
257
f43a5263
GM
258 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
259
4ddedf94
GM
260 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
261
748b0d84
CY
2622012-10-29 Chong Yidong <cyd@gnu.org>
263
b5dd9a77
CY
264 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
265 function key is stored in a keyboard macro (Bug#4894).
266
748b0d84
CY
267 * thingatpt.el (number-at-point): Apply a thing-at-point property.
268
e07fcbdc
SM
2692012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
270
d7f9cc85
SM
271 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
272 header comments".
273 (diff-unified->context, diff-context->unified)
274 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
275
c606253c
SM
276 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
277
e07fcbdc
SM
278 * files.el (find-alternate-file): Only ask one question (bug#12487).
279
894b9dd9
CY
2802012-10-29 Chong Yidong <cyd@gnu.org>
281
1dc2755a
CY
282 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
283 Suggested by Dan Nicolaescu (Bug#6326).
284
329c48d8
CY
285 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
286
2230fa5b 287 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5c2f2631 288
e84cad57
CY
289 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
290
1913c5f5
CY
291 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
292
894b9dd9
CY
293 * face-remap.el (face-remap-add-relative): Handle the case where a
294 face-remapping-alist entry is a cons cell (Bug#12762).
295
329c48d8
CY
2962012-10-29 Kevin Ryde <user42@zip.com.au>
297
298 * woman.el (woman-parse-numeric-value): Handle picas correctly
299 (Bug#12639).
300
a0ccbcbd
GM
3012012-10-29 Glenn Morris <rgm@gnu.org>
302
303 * emacs-lisp/cl.el (defsetf): Doc fix.
304
b3871e59
SM
3052012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
308 syntax to the matching opener, if any (bug#12547).
309 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
310 matching open as a "case-(".
311 (sh-smie-rc-grammar): Add a corresponding rule for it.
312
cd44022c
DH
3132012-10-28 Daniel Hackney <dan@haxney.org>
314
315 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
316 "PKGNAME-autoloads.el" in case we created it.
317
70edffb1
SM
3182012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
319
86957a0c
SM
320 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
321 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
b9383404 322 (completion--twq-all): Disable too-strict assertions.
86957a0c 323
70edffb1
SM
324 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
325
d069271c
EZ
3262012-10-27 Eli Zaretskii <eliz@gnu.org>
327
328 * profiler.el (profiler-report-make-entry-part): Fix help-echo
329 text to match the real keybindings.
330
e2f022a3
JL
3312012-10-27 Juri Linkov <juri@jurta.org>
332
333 * wdired.el (wdired-keep-marker-rename): New defcustom.
334 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
335 (Bug#11795)
336
337 * dired.el (dired-keep-marker-rename): Add reference to
338 `wdired-keep-marker-rename' in the docstring.
339 Add default character value ?R to display initially in
340 Customization UI instead of ?@.
341
df171c23
MR
3422012-10-27 Martin Rudalics <rudalics@gmx.at>
343
344 * window.el (display-buffer): In doc-string describe
345 window-height and window-width alist entries.
346
347 * time.el (display-time-world): Restore fit-window-to-buffer
348 behavior.
349
05b621a6
CY
3502012-10-27 Chong Yidong <cyd@gnu.org>
351
352 * subr.el (insert-buffer-substring-as-yank): Doc fix.
353
55f197b2
J
3542012-10-26 Jambunathan K <kjambunathan@gmail.com>
355
356 * minibuffer.el (completion-category-overrides): New completion
357 category `bookmark' (bug#11131).
358
372212df
SM
3592012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
360
150f809c
SM
361 * emacs-lisp/advice.el (ad-assemble-advised-definition):
362 Silence bogus compiler warnings for ad-do-it.
363
372212df
SM
364 * bookmark.el (bookmark-completing-read): Set the completion category
365 to `bookmark' (bug#11131).
366
c5772569
B
3672012-10-26 Bastien <bzg@altern.org>
368 Stefan Monnier <monnier@iro.umontreal.ca>
369
370 * face-remap.el: Use lexical-binding.
371 (text-scale-adjust): Improve docstring. Use itself for the temporary
372 overlay-map bindings, so as to repeat the "Use..." message each time.
373
a2be0357
SM
3742012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
375
63314e57
SM
376 * emacs-lisp/macroexp.el (macroexp--expand-all):
377 Obey byte-compile-warning-enabled-p (bug#12486).
378
a2be0357
SM
379 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
380 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
381
8c7727c3
MR
3822012-10-26 Martin Rudalics <rudalics@gmx.at>
383
384 * mouse.el (mouse-drag-line): Move last form into preceding when
385 clause (Bug#12731).
386
387 * help.el (resize-temp-buffer-window): Fix doc-string.
388
3f2a848d
DE
3892012-10-25 David Engster <deng@randomsample.de>
390
391 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
a2be0357 392 Remove. This feature is already integrated in imenu.
3f2a848d
DE
393
394 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
395 always loaded. Require `speedbar' unconditionally.
396
a7723be6
SM
3972012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
398
aaabfc8b
SM
399 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
400
414a8595
SM
401 * minibuffer.el (minibuffer-force-complete): Fix thinko.
402
fb5b9475
SM
403 * net/ldap.el (ldap-search-internal): The official ldif format starts
404 with a "version: 1" header (bug#12724).
405
a7723be6
SM
406 * emacs-lisp/package.el (package-installed-p): Warn if not ready
407 (bug#12721).
408
a05cb6e3
GM
4092012-10-25 Glenn Morris <rgm@gnu.org>
410
411 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
412
3c92de70
SM
4132012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * minibuffer.el (minibuffer-force-complete): Use one more marker
416 for the temporary-overlay-map command (bug#12619).
417
a4b6d7c6
CY
4182012-10-24 Chong Yidong <cyd@gnu.org>
419
420 * time.el (display-time-world-mode): Derive from special-mode.
421 (display-time-world): Use display-buffer (Bug#12708).
422 (display-time-world-mode-map): Variable deleted.
9321d8d7
CY
423 (display-time-world-display): Wrap the final delete-char inside
424 inhibit-read-only.
a4b6d7c6 425
75e8f9d2
CY
4262012-10-24 Chong Yidong <cyd@gnu.org>
427
cd996018
CY
428 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
429 Doc fix.
430
75e8f9d2
CY
431 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
432
d92df117
SM
4332012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
434
435 * minibuffer.el (completion--all-sorted-completions-location): New var.
436 (completion--cache-all-sorted-completions)
437 (completion--flush-all-sorted-completions): Use it.
438 (completion-in-region, completion-in-region--postch)
439 (completion-at-point, completion-help-at-point): Use markers in
440 completion-in-region--data (bug#12619).
441
9c3e39f3
SM
4422012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
443
c79825bd
SM
444 * progmodes/compile.el (compilation-start): Try to handle common
445 quoting of `cd' argument (bug#12640).
446
9c3e39f3
SM
447 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
448 (bug#12671).
449
a6709bc7
GM
4502012-10-23 Glenn Morris <rgm@gnu.org>
451
452 * progmodes/gud.el (gud-menu-map):
453 Check gdb-active-process is bound. (Bug#12358)
454
d1069532
SM
4552012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
456
d20d69c0
SM
457 * repeat.el (repeat): Set real-this-command (bug#12232).
458
d1069532
SM
459 * htmlfontify.el (hfy-post-html-hook):
460 * filesets.el (filesets-cache-fill-content-hook):
461 * arc-mode.el (archive-extract-hook):
462 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
463 * net/rcirc.el (rcirc-sentinel-functions)
464 (rcirc-receive-message-functions, rcirc-activity-functions)
465 (rcirc-print-functions):
466 * net/dbus.el (dbus-event-error-functions):
467 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
468 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
469 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
470 * term/sun.el (sun-raw-prefix-hooks):
471 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
472
f7eac6d8
MA
4732012-10-23 Michael Albinus <michael.albinus@gmx.de>
474
d1069532
SM
475 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
476 Set `tramp-chunksize' to 1. This improves the performance.
f7eac6d8
MA
477 (tramp-smb-wait-for-output): Add timeout to
478 `tramp-accept-process-output' calls.
479
608d9d7c
CY
4802012-10-23 Chong Yidong <cyd@gnu.org>
481
49238e7f
CY
482 * faces.el (font-list-limit): Define as an obsolete variable.
483
484 * startup.el (command-line):
485 * cus-start.el: Don't refer to font-list-limit.
486
608d9d7c
CY
487 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
488
4ff5b1b2
SM
4892012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
490
491 * subr.el (internal-temp-output-buffer-show): Rename from
492 temp-output-buffer-show, since previously compiled files expect this name.
493
ea1d4aac
GM
4942012-10-23 Glenn Morris <rgm@gnu.org>
495
496 * image.el (image-type-from-file-name): If multiple types match,
497 return the first one that is supported. (Bug#9045)
498
eda82a31
GM
4992012-10-22 Glenn Morris <rgm@gnu.org>
500
501 * image.el (imagemagick-enabled-types): Doc fix.
502
4f020bec
TA
5032012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
504
505 * progmodes/which-func.el (which-func-current): The hash-table may have
506 an explicit nil (bug#12338).
507
c77d37e2
SM
5082012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
509
510 * electric.el (electric-pair-delete-selection-self-insert-function):
511 Rename to electric-pair-will-use-region, return a boolean.
512 (electric-pair-mode): Adjust accordingly. Don't require delsel.
513
514 * delsel.el (delete-selection-helper): Use a function instead of a hook.
515 (delete-selection-pre-hook): Use use-region-p.
516 (delete-selection-self-insert-function): Remove.
517 (self-insert-command): Obey self-insert-uses-region-functions.
518 (self-insert-iso): Revert to previous setting, since we don't actually
519 know what that command does.
520 (delete-selection-self-insert-hooks): Remove.
521
b1d39ccc
SL
5222012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
523
524 * delsel.el (delete-selection-helper): New function, extracted from
525 delete-selection-pre-hook.
526 (delete-selection-pre-hook): Use it.
527 (delete-selection-self-insert-function): New function.
528 (delete-selection-self-insert-hooks): New hook.
529 (self-insert-command, self-insert-iso): Use it.
530 * electric.el (electric-pair-syntax): New function, extracted from
531 electric-pair-post-self-insert-function.
532 (electric-pair-post-self-insert-function): Use it.
533 (electric-pair-delete-selection-self-insert-function): New function.
534 (electric-pair-mode): Require delsel and setup
535 delete-selection-self-insert-hooks (bug#11520).
536
045ef729
CY
5372012-10-20 Chong Yidong <cyd@gnu.org>
538
4c5d08a8
CY
539 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
540 no changes to show (Bug#12586).
541
045ef729
CY
542 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
543 list explicitly (Bug#12571).
544
3503c798 5452012-10-20 Arne Jørgensen <arne@arnested.dk>
79e1997a 546
b1d39ccc
SL
547 * progmodes/flymake.el (flymake-create-temp-inplace):
548 Use file-truename.
79e1997a 549
2068905b
EZ
5502012-10-20 Eli Zaretskii <eliz@gnu.org>
551
552 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
553
4c9e9550
JB
5542012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
555
556 * calc/calc-units.el (math-extract-units): Properly extract powers
557 of units.
558
1a6e7e38
DC
5592012-10-20 Daniel Colascione <dancol@dancol.org>
560
561 * frame.el (make-frame): Set x-display-name as we used to in order
562 to unbreak creating an X11 frame from an Emacs daemon started
563 without a display.
564
8e808318
SM
5652012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * minibuffer.el (minibuffer-force-complete): Make the next completion use
568 the same completion-field (bug@12221).
569
fb0104da
MR
5702012-10-19 Martin Rudalics <rudalics@gmx.at>
571
572 * emacs-lisp/debug.el (debug): Record height of debugger window
573 also when debugger will be back (Bug#8789).
574
8c27235e
CY
5752012-10-18 Chong Yidong <cyd@gnu.org>
576
577 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
578 Convert to defcustom.
579 (gdb-get-source-file): Don't bind pop-up-windows.
580
581 * progmodes/gud.el (gud-display-line): Don't specially re-use
582 other frames for the gdb-mi case (Bug#12648).
583
90eacf99
SM
5842012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
585
aaf0c300
SM
586 * emacs-lisp/advice.el: Clean up commentary a bit.
587 (ad-do-advised-functions, ad-with-originals): Use `declare'.
588 (byte-code-function-p): Never redefine.
589
90eacf99
SM
590 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
591
281c9d2b
GM
5922012-10-18 Glenn Morris <rgm@gnu.org>
593
40714e3d
GM
594 * dired.el (dired-sort-toggle): Some ls implementations only allow
595 a single option string. (Bug#12666)
596
281c9d2b
GM
597 * minibuffer.el (completion-cycle-threshold): Doc fix.
598
b278604e
KH
5992012-10-17 Kenichi Handa <handa@gnu.org>
600
90eacf99
SM
601 * international/mule.el (set-keyboard-coding-system):
602 Recover input meta mode when the new coding system doesn not use 8-bit.
b278604e
KH
603 Supply TERMINAL arg to set-input-meta-mode.
604
df171c23 6052012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
7ebc5f5a
MH
606
607 * wdired.el (wdired-old-marks): New variable.
608 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
609 (wdired-do-renames): Move point with renamed file and don't lose
610 mark status (Bug#11795).
611
e5a94ec4
JL
6122012-10-16 Juri Linkov <juri@jurta.org>
613
614 * replace.el (query-replace-help): Mention multi-buffer replacement
615 keys in the Help message. (Bug#12655)
616
d18a0d24
CY
6172012-10-15 Chong Yidong <cyd@gnu.org>
618
619 * emacs-lisp/byte-run.el (defsubst): Doc fix.
620
8111f5e6
EZ
6212012-10-14 Eli Zaretskii <eliz@gnu.org>
622
7b9abf24
EZ
623 * window.el (display-buffer): Doc fix.
624
8111f5e6
EZ
625 * progmodes/compile.el (compilation-error-regexp-alist-alist):
626 Adjust the msft regexp to the output of Studio 2010, and move msft
627 before edg-1. See the discussion on emacs-devel,
628 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
629 for the details.
630
5046ef67
SM
6312012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
632
9760c73c
SM
633 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
634 (oset): Move uses of object-class-fast macro after its definition.
635
5046ef67
SM
636 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
637
0d11ff1c
CY
6382012-10-13 Chong Yidong <cyd@gnu.org>
639
640 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
641 enabled, re-enable it (Bug#11963).
642
88ded8ac
MR
6432012-10-13 Martin Rudalics <rudalics@gmx.at>
644
645 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
646 non-nil, restore window configuration (Bug#12623).
647
bd0ffffd
SM
6482012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
649
06485aa8
SM
650 * help-fns.el (describe-variable, describe-function-1):
651 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
652
bd0ffffd
SM
653 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
654
3a989246
GM
6552012-10-12 Glenn Morris <rgm@gnu.org>
656
657 * mail/rmailsum.el (rmail-header-summary):
658 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
659
55cd00c8
FEG
6602012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
661
bd0ffffd
SM
662 * progmodes/python.el (python-mode-map):
663 Replace subtitute-key-definition with proper command remapping.
55cd00c8
FEG
664 (python-nav--up-list): Fix behavior for blocks on the same level.
665
ac9fc2c7
SM
6662012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
667
d8cc4c00 668 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
d8cc4c00 669
5253a5fd
SM
670 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
671 changes to the format of load-history.
672
ac9fc2c7
SM
673 * international/mule-cmds.el (read-char-by-name): Move let-binding of
674 completion-ignore-case in case that var is buffer-local (bug#12615).
675
cde44a77
KH
6762012-10-11 Kenichi Handa <handa@gnu.org>
677
678 * international/eucjp-ms.el: Re-generated.
679
4ef4a10d
KH
6802012-10-10 Kenichi Handa <handa@gnu.org>
681
682 * select.el (xselect--encode-string): If a coding is specified for
683 selection, and that is compatible with COMPOUND_TEXT, use it.
684
9d7f027b
MR
6852012-10-10 Martin Rudalics <rudalics@gmx.at>
686
687 * window.el (switch-to-buffer-preserve-window-point): New option.
ac9fc2c7
SM
688 (switch-to-buffer):
689 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
9d7f027b 690
238f3a58
SM
6912012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
692
693 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
694 Don't document nil as a useful value (bug#12583).
695
1d51f99c
MA
6962012-10-09 Michael Albinus <michael.albinus@gmx.de>
697
238f3a58
SM
698 * net/tramp.el (tramp-debug-message):
699 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1d51f99c
MA
700 (with-tramp-progress-reporter): Rename from
701 `tramp-with-progress-reporter'.
238f3a58
SM
702 (with-tramp-file-property, with-tramp-connection-property):
703 Move from tramp-cache.el, rename from `with-file-property' and
1d51f99c
MA
704 `with-connection-property', respectively.
705
706 * net/tramp-cache.el: Remove `with-file-property' and
707 `with-connection-property'.
708
709 * net/tramp.el:
710 * net/tramp-gvfs.el:
711 * net/tramp-sh.el:
712 * net/tramp-smb.el: Adapt callees.
713
714 * net/trampver.el: Update release number.
715
26b77251
GM
7162012-10-09 Glenn Morris <rgm@gnu.org>
717
9a5f296f
GM
718 * w32-fns.el (set-message-beep):
719 * term/w32-win.el (set-message-beep): Update declarations.
720
94c66ce5
SM
7212012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
722
10766e9e
SM
723 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
724 (mode-line-widen, mode-line-input-method-map)
725 (mode-line-coding-system-map, mode-line-remote)
726 (mode-line-unbury-buffer, mode-line-bury-buffer)
727 (mode-line-next-buffer, mode-line-previous-buffer):
728 Replace save-selected-window+select-window => with-selected-window.
729
f754db08
SM
730 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
731 * progmodes/cc-vars.el (bq-process): Remove, unused.
732
94c66ce5
SM
733 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
734
a4ff7fe1
FEG
7352012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
736
737 Implemented `backward-up-list'-like navigation.
738 * progmodes/python.el (python-nav-up-list)
739 (python-nav-backward-up-list): New functions.
740 (python-mode-map): Define substitute key for backward-up-list to
741 python-nav-backward-up-list.
742
24517d82
FEG
7432012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
744
745 * progmodes/python.el (python-fill-paragraph): Rename from
746 python-fill-paragraph-function. Fixed fill-paragraph for
747 decorators (Bug#12605).
748
51867ae2
FEG
7492012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
750
751 * progmodes/python.el (python-shell-output-filter): Handle extra
752 carriage return in OSX (Bug#12409).
753
a5b773c4
FEG
7542012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
755
756 Fix shell handling of unbalanced quotes and parens in output.
94c66ce5 757 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
a5b773c4
FEG
758 (python-syntax-propertize-function): Use it.
759 (python-shell-output-syntax-table): New var.
760 (inferior-python-mode): Prevent unbalanced parens/quotes from
761 previous output mess with current input context.
762
13373538
JB
7632012-10-08 Juanma Barranquero <lekktu@gmail.com>
764
765 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
766 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
767
775a132d
MA
7682012-10-08 Michael Albinus <michael.albinus@gmx.de>
769
770 * ffap.el (ffap-replace-file-component): Support Tramp file name
771 syntax, not only ange-ftp's one.
772
3ab44929
GM
7732012-10-08 Glenn Morris <rgm@gnu.org>
774
57f1dee4
GM
775 * cus-start.el (message-log-max): Set :version.
776
3ab44929
GM
777 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
778
6a088630
MR
7792012-10-08 Martin Rudalics <rudalics@gmx.at>
780
781 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
782 the minibuffer window (Bug#10851).
783
8dbce54c
FEG
7842012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
785
786 Enhancements on forward-sexp movement.
787 * progmodes/python.el (python-nav-beginning-of-statement)
788 (python-nav-end-of-statement): Return point-marker.
789 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
790 (python-info-current-symbol)
791 (python-info-statement-starts-block-p): Rename from
792 python-info-beginning-of-block-p.
793 (python-info-statement-ends-block-p): Rename from
794 python-info-end-of-block-p.
795 (python-info-beginning-of-statement-p)
796 (python-info-end-of-statement-p)
797 (python-info-beginning-of-block-p, python-info-end-of-block-p):
798 New functions.
799
5acd2b3e
SM
8002012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
801
802 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
803 frame-selected-windows.
804
e08348a0
DC
8052012-10-08 Daniel Colascione <dancol@dancol.org>
806
807 * battery.el (battery-status-function): Check for
808 w32-battery-status itself, not system-time windows-nt.
809
810 * frame.el: Require cl-lib.
811 (display-format-alist): New variable mapping frame types to
812 functions that initialize them.
813 (window-system-for-display): New function: interprets
814 display-format-alist.
815 (make-frame-on-display): Remove existing display-selection logic
816 and just forward to make-frame, which will now DTRT.
817 (make-frame): Restructure to use window-system-for-display to
818 figure out how to create a frame on a given display.
819 (display-mouse-p): Look for frame-type w32, not a particular
820 system-type.
821
822 * loadup.el: Load w32 lisp code when we have the w32 feature.
823
824 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
825 system-type windows-nt.
826
827 * server.el (server-create-window-system-frame): Look for window
828 type.
829 (server-proces-filter): Only force a window system when windows-nt
830 _and_ w32. Explain why.
831
832 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
833 of window systems we configure for the mode.
834
835 * startup.el (command-line): Mark window system is initialized
836 after we've done it.
837
838 * common-win.el (x-select-text): Look for w32, not windows-nt.
839
840 * ns-win.el: Require cl-lib. Add ourselves to
841 display-format-alist.
842 (ns-initialize-window-system): Assert we're not initialized twice.
843
844 * w32-win.el: Enable lexical binding; require cl-lib; add
845 ourselves to display-format-alist.
846 (w32-handle-dropped-file): Convert incoming dropped files from
847 Windows paths to Cygwin ones before passing them on to the rest of
848 Emacs.
849 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
850 (w32-initialize-window-system): Assert we're not initialized twice.
851
852 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
853 (x-initialize-window-system): Assert we're not initialized twice.
854
855 * w32-common-fns.el: New File.
856 (w32-version, w32-using-nt, w32-get-clipboard-data)
857 (w32-set-clipboard-data, x-set-selection, x-get-selection)
858 (w32-charset-info-alist, x-last-selected, text)
859 (x-get-selection-value, x-selection-value): Move here.
860
861 * w32-fns.el: Require w32-common-fns.
862 (w32-version, w32-using-nt, w32-get-clipboard-data)
863 (w32-set-clipboard-data, x-set-selection, x-get-selection)
864 (w32-charset-info-alist, x-last-selected, text)
865 (x-get-selection-value, x-selection-value): Move to
866 w32-common-fns.
867
868 * w32-vars.el:
869 (w32-allow-system-shell, w32-system-shells): Define only in
870 non-cygwin case.
871
795b1482
SM
8722012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
875 (read-passwd): Remove a few more potential sources of leaks.
876
f27c99dc
FEG
8772012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
878
879 * progmodes/python.el (inferior-python-mode)
795b1482 880 (python-shell-make-comint): Fix initialization of local
f27c99dc
FEG
881 variables copied from parent buffer.
882
fcacb558
JD
8832012-10-07 Jan Djärv <jan.h.d@swipnet.se>
884
885 * term/ns-win.el (ns-read-file-name): Update declaration to match
886 nsfns.m.
887 (ns-respond-to-change-font): Change fontsize separatly so we are sure
888 it is set when font is acted upon.
889
be0d5bae
FEG
8902012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
891
892 Enhancements to indentation.
893 * progmodes/python.el (python-indent-context): Give priority to
894 inside-string context. Make comments indentation markers.
895 (python-indent-region): Do not mess with strings, unless it's the
896 enclosing set of quotes.
897
13af0d10
SM
8982012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
899
662a9d0e
SM
900 * window.el (internal--before-save-selected-window)
901 (internal--after-save-selected-window): New functions extracted from
902 save-selected-window. Make sure we return the `alist' we construct.
903 (save-selected-window): Use them.
904
905 * textmodes/tex-mode.el (tex-recenter-output-buffer):
906 Use with-selected-window.
907
13af0d10
SM
908 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
909 forms that define macros (bug#12593).
910
6aa75fb6
KH
9112012-10-07 Kenichi Handa <handa@gnu.org>
912
13af0d10
SM
913 * international/mule-conf.el (compound-text-with-extensions):
914 Add :mime-charset property as x-ctext.
6aa75fb6 915
78d876b9
SM
9162012-10-07 Stefan Merten <smerten@oekonux.de>
917
918 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
919 (rst-indent-literal-normal, rst-indent-literal-minimized)
920 (rst-indent-comment): Correct :version tag.
557337e9 921 (rst-official-cvs-rev): Correct version string.
78d876b9 922
99a1e701
GM
9232012-10-07 Glenn Morris <rgm@gnu.org>
924
925 * mail/rmailmm.el (rmail-mime-process-multipart):
926 Do not confuse a multipart message with an epilogue
927 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
928
08f18c3d
FEG
9292012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
930
931 Fix shell output retrieval and comint-prompt-regexp init.
932 * progmodes/python.el (inferior-python-mode):
933 (python-shell-make-comint): Fix initialization of
934 comint-prompt-regexp from copied file local variables.
935 (python-shell-fetched-lines): Remove var.
936 (python-shell-output-filter-in-progress): Rename from
937 python-shell-fetch-lines-in-progress.
938 (python-shell-output-filter-buffer): Rename from
939 python-shell-fetch-lines-string.
940 (python-shell-fetch-lines-filter): Delete function.
941 (python-shell-output-filter): New function.
942 (python-shell-send-string-no-output): Use them.
943
82ed3ab4
GM
9442012-10-07 Glenn Morris <rgm@gnu.org>
945
1595ecfa
GM
946 * hi-lock.el (hi-lock-process-phrase):
947 Try to make it less fragile. (Bug#7161)
948
82ed3ab4
GM
949 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
950
f1f4dba0
GM
9512012-10-06 Glenn Morris <rgm@gnu.org>
952
addc11ed 953 * ehelp.el (electric-help-mode): Use help-mode rather than
32939005
GM
954 non-existent mode `help'.
955 (electric-help-map): Use button-buffer-map. (Bug#10917)
addc11ed 956
460042b8
GM
957 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
958 (reftex-create-bibtex-footer): Fix custom types.
959
67667c70
GM
960 * progmodes/sh-script.el (sh-indent-after-continuation):
961 Add explicit :group.
962
18dec750
GM
963 * textmodes/rst.el (rst-preferred-decorations)
964 (rst-shift-basic-offset): Clarify obsolescence versions.
965
d1a1c7e6
GM
966 * profiler.el (profiler): Add missing group :version tag.
967 * avoid.el (mouse-avoidance-banish-position):
968 * proced.el (proced-renice-command):
969 * calc/calc.el (calc-ensure-consistent-units):
970 * calendar/icalendar.el (icalendar-import-format-uid):
971 * net/tramp.el (tramp-save-ad-hoc-proxies):
972 * progmodes/bug-reference.el (bug-reference-bug-regexp):
973 * progmodes/flymake.el (flymake-error-bitmap)
974 (flymake-warning-bitmap, flymake-fringe-indicator-position):
975 * progmodes/sh-script.el (sh-indent-after-continuation):
976 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
977 (verilog-before-save-font-hook, verilog-after-save-font-hook):
978 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
979 (vhdl-array-index-record-field-in-sensitivity-list)
980 (vhdl-indent-comment-like-next-code-line):
981 * textmodes/reftex-vars.el (reftex-ref-style-alist)
982 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
983 (reftex-cite-key-separator, reftex-create-bibtex-header)
984 (reftex-create-bibtex-footer):
985 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
986 (rst-indent-literal-normal, rst-indent-literal-minimized)
987 (rst-indent-comment): Add missing custom :version tags.
988
ef35abb4
GM
989 * calendar/timeclock.el (timeclock-modeline-display):
990 Add missing obsolete alias for renamed user option.
991
d1aae614
GM
992 * strokes.el (strokes-modeline-string):
993 * emulation/crisp.el (crisp-mode-modeline-string):
994 * eshell/esh-mode.el (eshell-status-in-modeline):
995 Aliases to defcustoms must come before the defcustom.
996
f1f4dba0
GM
997 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
998 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
999 (cal-tex-cursor-week-monday): Doc fixes.
1000 (cal-tex-cursor-week2-summary): Doc fix.
1001 Rename from cal-tex-cursor-week-at-a-glance.
1002
1003 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
1004 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
1005
1006 * calendar/calendar.el (calendar-mode-map):
1007 Add cal-tex-cursor-week2-summary.
1008
d39109c3
SM
10092012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
1010
685f87b0
SM
1011 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
1012
d39109c3
SM
1013 * subr.el (read-passwd-map): New var.
1014 (read-passwd): Use `read-string' again.
1015 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
1016
5694896d
J
10172012-10-06 Jambunathan K <kjambunathan@gmail.com>
1018
1019 * register.el (append-to-register, prepend-to-register):
1020 Deactivate mark, as does `copy-to-register' (bug#12389).
1021
9414dd8d
CY
10222012-10-06 Chong Yidong <cyd@gnu.org>
1023
1024 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
1025
2b89bca4
KH
10262012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
1027
1028 * international/characters.el: Fix simple mistake ((car chars) ->
1029 elt), delete duplicated code.
1030
d5acb99a
GM
10312012-10-06 Glenn Morris <rgm@gnu.org>
1032
1033 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
1034
123ec157
JS
10352012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
1036
1037 * color.el (color-hsl-to-rgb): Fix incorrect results for
1038 small and large hue values. (Bug#12559)
1039
7fa36ccb
FEG
10402012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
1041
1042 Enhancements to docstring formatting when filling paragraphs.
1043 * progmodes/python.el (python-fill-docstring-style): Rename from
1044 python-fill-string-style. Added new style.
1045 (python-fill-string): Use new style. Better checks for
1046 docstrings.
1047
d8788e1e
GM
10482012-10-05 Glenn Morris <rgm@gnu.org>
1049
204f3953
GM
1050 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
1051
d8788e1e
GM
1052 * color.el (color-name-to-rgb, color-rgb-to-hex)
1053 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
1054 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
1055 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
1056 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
1057
8d956cef
GM
1058 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
1059
e8757f09 10602012-10-05 Juanma Barranquero <lekktu@gmail.com>
ea9a3563
JB
1061
1062 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
1063 to get the correct size across symlinks.
1064
e8757f09
GM
1065 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
1066
0e2ae83d
JL
10672012-10-04 Juri Linkov <juri@jurta.org>
1068
1069 * replace.el (query-replace-interactive): Declare obsolete.
1070 (query-replace-read-from): Add the last incremental search string
1071 to the list of default values accessible via M-n.
1072 (map-query-replace-regexp): Use `read-regexp'.
1073 (query-replace, query-replace-regexp, query-replace-regexp-eval)
1074 (map-query-replace-regexp, replace-string, replace-regexp):
1075 Fix docstrings to replace mentions of `query-replace-interactive'
1076 with alternatives. (Bug#12526)
1077
93cacb6d
JL
10782012-10-04 Juri Linkov <juri@jurta.org>
1079
1080 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
1081 (dired-pop-to-buffer): Declare obsolete.
1082 (dired-mark-pop-up): Doc fix.
1083
fc345011
FEG
10842012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
1085
1086 Allow user to set docstring style for fill-paragraph.
1087 * progmodes/python.el
1088 (python-fill-comment-function, python-fill-string-function)
1089 (python-fill-decorator-function, python-fill-paren-function):
1090 Remove :safe for defcustoms.
1091 (python-fill-string-style): New defcustom
5694896d 1092 (python-fill-paragraph-function): Enhance context detection.
fc345011
FEG
1093 (python-fill-string): Honor python-fill-string-style settings.
1094
6bab5d8b
MR
10952012-10-04 Martin Rudalics <rudalics@gmx.at>
1096
1097 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
1098 after setting its buffer (Bug#10805).
1099
a1a9f411
FEG
11002012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
1101
1102 Fix cornercase for string syntax.
1103 * progmodes/python.el (python-syntax-propertize-function):
1104 Simplify and enhance the regexp for unescaped quotes. Now it also
1105 matches quotes in weird situations like the single quote in
1106 "something\"'".
1107 (python-syntax-stringify): Simplify num-quotes detecting code.
1108
05e153a6
GM
11092012-10-03 Glenn Morris <rgm@gnu.org>
1110
1111 * help-macro.el (three-step-help):
1112 Revert 2012-09-29 change. (Bug#12567)
1113
2e566ecb
MR
11142012-10-03 Martin Rudalics <rudalics@gmx.at>
1115
96ef9ccd
MR
1116 * menu-bar.el (kill-this-buffer): Don't do anything when
1117 `menu-frame' is not alive or visible (Bug#8184).
1118
2e566ecb
MR
1119 * emacs-lisp/debug.el (debug): When quitting the debugger window
1120 restore current buffer (Bug#12502).
1121
a96e1cb7
CY
11222012-10-02 Chong Yidong <cyd@gnu.org>
1123
5694896d
J
1124 * progmodes/hideif.el (hif-lookup, hif-defined):
1125 Handle semantic-c-takeover-hideif.
a96e1cb7 1126
b3ecad33
PE
11272012-10-02 Paul Eggert <eggert@cs.ucla.edu>
1128
1129 Change sampling interval units from ms to ns.
1130 * profiler.el (profiler-sampling-interval): Change units
1131 from ms to ns, multiplying the default by 1000000 so that
1132 it remains 1 ms.
1133 (profiler-report-cpu-line-format): Give enough room for
1134 the maximum counters on 64-bit hosts.
1135 (profiler-report-render-calltree-1): Call them "CPU samples",
1136 not "Time (ms)", since they are not milliseconds now (and
1137 never really were).
1138
8cb51b66 11392012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
c623f81a 1140
5694896d
J
1141 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
1142 Fix querying BBDB for entries without a last name (Bug#11580).
c623f81a 1143
fd795bf4
CY
11442012-10-02 Chong Yidong <cyd@gnu.org>
1145
1146 * emacs-lisp/eieio.el: Restore Version header.
1147
fe0a74f9
SM
11482012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
1149
6be9197e
SM
1150 * vc/diff-mode.el (diff--auto-refine-data): New var.
1151 (diff-hunk): Use it to delay refinement.
1152 (diff-mode): Remove overlays when we turn off font-lock.
1153
18486139
SM
1154 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
1155 (table-initialize-table-fixed-width-mode)
1156 (table-set-table-fixed-width-mode): Remove functions.
1157 (table-command-list): Move initialization into declaration.
1158 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
1159 (table-with-cache-buffer): Use `declare'.
1160 (table-span-cell): Simplify via CSE.
1161 (table-fixed-width-mode): Use define-minor-mode.
1162 (table-call-interactively, table-funcall, table-apply): Remove.
1163 (table-function): New function, to replace them.
1164
d83ef976
SM
1165 * bookmark.el (bookmark-search-pattern): Remove var.
1166 (bookmark-read-search-input): Remove function.
1167 (bookmark-bmenu-search): Reimplement using a minibuffer.
1168
cd386662
SM
1169 * faces.el (modeline): Remove obsolete face name.
1170
fe0a74f9
SM
1171 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
1172 and give a non-nil default value.
1173 (add-change-log-entry): Simplify accordingly.
1174
9f7b98f8
DG
11752012-10-01 Dmitry Gutov <dgutov@yandex.ru>
1176
1177 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
1178 (vc-git-log-edit-toggle-amend): New function.
1179 (vc-git-log-edit-toggle-signoff): New function.
1180 (vc-git-log-edit-mode): New major mode.
1181 (vc-git-log-edit-mode-map): Keymap for it.
1182 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
1183
1184 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
1185 header names.
1186 (log-edit-toggle-header): New function.
1187 (log-edit-extract-headers): Accept function values in HEADERS alist.
1188
62a81506
CY
11892012-10-01 David Engster <deng@randomsample.de>
1190
1191 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
1192 from symbol property and change message to be more consistent with
1193 Emacs proper.
1194 (eieio-describe-generic): Add filename for each implementation.
1195 Fix indices for generic and normal methods.
1196 (eieio-method-def, eieio-class-def): New buttons.
1197 (eieio-help-find-method-definition)
1198 (eieio-help-find-class-definition): New functions.
1199 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
1200 class, constructor and method definitions.
1201
1202 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
1203 information in symbol property.
1204 (scoped-class): Remove.
1205 (eieio-slot-name-index, call-next-method): Check if it is bound.
1206
12072012-10-01 Leo P. White <lpw25@cam.ac.uk>
1208
1209 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
1210 (eieio-custom-mode): New major mode.
1211 (eieio-customize-object): Use it.
1212
12132012-10-01 Eric Ludlam <zappo@gnu.org>
1214
1215 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
1216 specifying the expected class, and whether subclassing is allowed.
1217 (eieio-persistent-convert-list-to-object):
1f9f395d
JB
1218 (eieio-persistent-validate/fix-slot-value)
1219 (eieio-persistent-slot-type-is-class-p): New functions.
1220 (eieio-named::slot-missing): Doc fix.
62a81506
CY
1221
1222 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
1223 Stop using unused publd variable.
1224
1225 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
1226 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
1227 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
1228 (eieio-speedbar-handle-click): Do not specify a class for the
1229 method. Fixes method invocation order problems with EDE.
1230
375e49d4
SM
12312012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1232
1233 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
1234 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
1235
16ce6ccd
KF
12362012-10-01 Karl Fogel <kfogel@red-bean.com>
1237
1238 * bookmark.el (bookmark-version-control): Give tags in the
1239 :type choices (Bug#12309), and improve doc string.
e4c4abdd
KF
1240 (bookmark-write-file): Bind `print-circle' to `t' to allow
1241 circular custom bookmark types. (Bug#12503)
16ce6ccd 1242
19e54a4d
PE
12432012-10-01 Paul Eggert <eggert@cs.ucla.edu>
1244
86ec63ba
PE
1245 Revert the FOLLOW-SYMLINKS change for file-attributes.
1246 * files.el (remote-file-name-inhibit-cache, after-find-file):
1247 * time.el (display-time-file-nonempty-p): Undo last change.
1248
19e54a4d
PE
1249 * profiler.el (profiler-sampling-interval): Change default back to 1.
1250 See Stefan Monnier in
1251 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
1252
0478776b
FEG
12532012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
1254
1255 Shell output catching a la gud-gdb.
1256 * progmodes/python.el (python-shell-fetch-lines-in-progress)
375e49d4
SM
1257 (python-shell-fetch-lines-string, python-shell-fetched-lines):
1258 New Vars.
0478776b
FEG
1259 (python-shell-fetch-lines-filter): New function.
1260 (python-shell-send-string-no-output): Use them.
1261
c22bac2c
TM
12622012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
1263
1264 * profiler.el (profiler-sampling-interval): Rename from
1265 profiler-sample-interval.
1266 (profiler-sampling-interval): Default to 10.
1267 (profiler-find-profile): New command (was profiler-find-log).
1268 (profiler-find-profile-other-window): New command.
1269 (profiler-find-profile-other-frame): New command.
1270 (profiler-profile): Introduce API-level data structure.
1271
e7a2937b
PE
12722012-09-30 Paul Eggert <eggert@cs.ucla.edu>
1273
1274 file-attributes has a new optional arg FOLLOW-SYMLINKS.
1275 * files.el (remote-file-name-inhibit-cache):
1276 * time.el (display-time-file-nonempty-p): Use it.
1277 * files.el (after-find-file): Don't chase links before calling
1278 file-exists-p, as file-exists-p already does the right thing.
1279
4f595e15
RA
12802012-09-30 Ralf Angeli <angeli@caeruleus.net>
1281
1282 Merge from standalone RefTeX repository.
1283
1284 The following ChangeLog entries are shortened versions of the
1285 original ones with file paths adapted. A not so strongly edited
1286 version of the original ChangeLog can be found in the commit log.
1287
1288 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
375e49d4
SM
1289 (reftex-arg-cite): Use `reftex-cite-key-separator'.
1290 Correctly handle new value type returned by `reftex-citation'.
4f595e15
RA
1291
1292 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
375e49d4
SM
1293 that entries with whitespace at various places are found.
1294 Doc fix. Include entries that are cross-referenced from cited entries.
4f595e15
RA
1295 Include @String definitions in the resulting bib file. Add header
1296 and footer defined in `reftex-create-bibtex-header' and
1297 `reftex-create-bibtex-footer'.
1298 (reftex-do-citation): Make it possible again to insert
1299 non-existent entries. Save match data when asking for optional
1300 arguments. Return all keys, not just the first one.
1301 (reftex-all-used-citation-keys): Fix regexp to correctly extract
1302 all citations in the same line.
1303 (reftex-parse-bibtex-entry): Accept additional optional argument
1304 `raw' and keep quotes or braces if it is non-nil. Match fields
1305 containing hyphens besides word constituents.
1306 (reftex-get-string-refs): New function.
1307 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1308 and ask if it should be reread in case it did.
1309 (reftex-pop-to-bibtex-entry)
1310 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1311 entries with spaces or tabs in front of arguments.
1312 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
375e49d4
SM
1313 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1314 Match entries containing numbers and symbol constituents.
1315 (reftex-do-citation, reftex-figure-out-cite-format):
1316 Use `reftex-cite-key-separator'.
4f595e15
RA
1317
1318 * textmodes/reftex-dcr.el: Move provide statement to end of file.
1319 (reftex-mouse-view-crossref): Explain why point is set.
1320
1321 * textmodes/reftex-global.el: Whitespace changes.
1322
1323 * textmodes/reftex-index.el: Move provide statement to end of
1324 file.
1325 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1326 (reftex-index-visit-phrases-buffer): Set marker when visiting
1327 buffer. This allows for returning from the phrases file to the
1328 file one was just editing instead of the file where the last
1329 phrases was added from.
1330 (reftex-index-phrases-syntax-table): New variable. Give ?\"
1331 punctuation syntax as it usually is not used as string quote in
1332 TeX-related modes and may occur unmatched. The change also
1333 prevents fontification of quoted content.
1334 (reftex-index-phrases-mode): Use it.
1335
375e49d4
SM
1336 * textmodes/reftex-parse.el (reftex-parse-from-file):
1337 Move backward one char if a `\' was matched after a section macro.
4f595e15
RA
1338 (reftex-parse-from-file): Use beginning of match instead of end as
1339 bound.
1340
1341 * textmodes/reftex-ref.el: Adapt creation of
1342 `reftex-<package>-<macro>' functions to new structure of
1343 `reftex-ref-style-alist'.
375e49d4
SM
1344 (reftex-reference): Use `reftex-ref-style-list' function.
1345 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
4f595e15
RA
1346 reference macro if `reftex-ref-macro-prompt' is non-nil.
1347 (reftex-reference): Pass refstyle to `reftex-format-special'.
1348 Determine reference macro by looking at
375e49d4
SM
1349 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1350 Use only one special format function.
4f595e15
RA
1351 (reftex-varioref-vref, reftex-fancyref-fref)
1352 (reftex-fancyref-Fref): Remove definitions. The functions are now
1353 generated from `reftex-ref-style-alist'.
1354 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1355 Remove.
1356 (reftex-format-special): New function.
1357
1358 * textmodes/reftex-sel.el
1359 (reftex-select-cycle-ref-style-internal): Adapt to new structure
1360 of `reftex-ref-style-alist'. Remove code for testing macro type.
1361 (reftex-select-toggle-varioref)
1362 (reftex-select-toggle-fancyref): Remove.
1363 (reftex-select-cycle-ref-style-internal)
1364 (reftex-select-cycle-ref-style-forward)
1365 (reftex-select-cycle-ref-style-backward): New functions.
1366 (reftex-select-label-map): Use `v' and `V' for general cycling
1367 through reference styles. Add `p' for switching between number
1368 and page reference types.
1369
375e49d4
SM
1370 * textmodes/reftex-toc.el (reftex-re-enlarge):
1371 Call `enlarge-window' only if there is something to do because in Emacs
4f595e15
RA
1372 the horizontal version throws an error even if the parameter is 0.
1373
1374 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1375 (reftex-plug-into-AUCTeX): Doc fix.
1376 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1377 string. Adapt to new name.
1378 (reftex-ref-style-alist): Change structure so that it is not
1379 possible to use multiple different package names within a style.
375e49d4
SM
1380 Remove the symbols for symbols for macro type distinction.
1381 Add characters for macro selection.
4f595e15
RA
1382 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1383 (reftex-create-bibtex-footer): New variables.
1384 (reftex-format-ref-function): Mention third argument of special
1385 format function.
375e49d4
SM
1386 (reftex-ref-style-alist, reftex-ref-style-default-list):
1387 New variables.
4f595e15
RA
1388 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1389 to new implementation. Mark as obsolete. Add compatibility code
1390 for honoring the variable values in case they are set.
375e49d4
SM
1391 (reftex-cite-format-builtin, reftex-bibliography-commands):
1392 Add support for ConTeXt.
1393 (reftex-format-ref-function, reftex-format-cite-function):
1394 Fix custom type.
4f595e15
RA
1395 (reftex-cite-key-separator): New variable.
1396
1397 * textmodes/reftex.el (reftex-syntax-table-for-bib)
1398 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1399 `reftex-syntax-table' because parens have to retain their paren
1400 syntax in order for parsing of BibTeX entries like @book(...) to
1401 work.
1402 (reftex-in-comment): Do not error out if `comment-start-skip' is
1403 not set. Deal correctly with escaped comment characters.
375e49d4
SM
1404 (reftex-tie-multifile-symbols): Add doc string.
1405 Initialize `reftex-ref-style-list'.
4f595e15
RA
1406 (reftex-untie-multifile-symbols): Add doc string.
1407 (reftex-add-index-macros): Doc fix.
1408 (reftex-ref-style-activate, reftex-ref-style-toggle)
1409 (reftex-ref-style-list): New functions.
1410 (reftex-mode-menu): Use them. Adapt to new structure of
1411 `reftex-ref-style-alist'.
1412 (reftex-select-with-char): Kill the RefTeX Select buffer when
1413 done.
1414 (reftex-remove-if): New function.
1415 (reftex-erase-all-selection-and-index-buffers)
1416 (reftex-mode-menu): Reference styles are now computed from
1417 `reftex-ref-style-alist'. Fix typo.
1418 (reftex-report-bug): New function.
1419 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1420 algorithms with O(n log n). Introduce optional argument SORT (not
1421 yet used).
1422
440ba395
FEG
14232012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
1424
1425 Enhancements for triple-quote string syntax.
375e49d4
SM
1426 * progmodes/python.el (python-syntax-propertize-function):
1427 Match both quote cases in one regexp.
440ba395
FEG
1428 (python-syntax-stringify): Handle matches properly.
1429
4c478e6b
JL
14302012-09-30 Juri Linkov <juri@jurta.org>
1431
1432 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
93cacb6d 1433 to nil around the call to `insert' to prevent
4c478e6b
JL
1434 directory time modification by lock_file. (Bug#2295)
1435 * tar-mode.el (tar-summarize-buffer): Idem.
1436
d80d54b2
JL
14372012-09-30 Juri Linkov <juri@jurta.org>
1438
1439 * facemenu.el (list-colors-sort): Add option "Luminance".
1440 (list-colors-sort-key): Implement it.
1441
1442 * vc/diff-mode.el (diff-refine-removed):
1443 * vc/ediff-init.el (ediff-fine-diff-A):
1444 * vc/smerge-mode.el (smerge-refined-removed):
1445 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
1446
d7e642cc
JD
14472012-09-30 Jan Djärv <jan.h.d@swipnet.se>
1448
1449 * term/ns-win.el (x-file-dialog): New function.
1450
ee41332b
JB
14512012-09-30 Juanma Barranquero <lekktu@gmail.com>
1452
1453 * ido.el (ido-max-directory-size): Default to nil; the current
1454 default is small for POSIX systems, and impractical on Windows 7
1455 now that lstat returns directory sizes for NTFS.
1456
5938d519
MR
14572012-09-30 Martin Rudalics <rudalics@gmx.at>
1458
1459 In buffer display functions handle window-height/window-width
1460 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
375e49d4
SM
1461 * window.el (window--display-buffer): New argument ALIST.
1462 Obey window-height and window-width alist entries.
1463 (window--try-to-split-window): New argument ALIST.
1464 Bind window-combination-limit to t when the window's size shall be
5938d519
MR
1465 changed and window-combination-limit equals `window-size'.
1466 (display-buffer-in-atom-window)
1467 (display-buffer-in-major-side-window)
1468 (display-buffer-in-side-window, display-buffer-same-window)
1469 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1470 (display-buffer-pop-up-window, display-buffer-below-selected)
1471 (display-buffer-at-bottom, display-buffer-in-previous-window)
1472 (display-buffer-use-some-window): Adjust all callers of
1473 window--display-buffer and window--try-to-split-window.
1474 (fit-frame-to-buffer): New option.
1475 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1476 is non-nil.
1477 (display-buffer-in-major-side-window): Evaluate window-height /
1478 window-width alist entries.
1479
1480 * help.el (temp-buffer-resize-frames)
1481 (temp-buffer-resize-regexps): Remove options.
1482 (temp-buffer-resize-mode): Adjust doc-string.
1483 (resize-temp-buffer-window): Don't consult
1484 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
1485 temp-buffer-resize-frames.
1486
375e49d4
SM
1487 * dired.el (dired-mark-pop-up):
1488 Call display-buffer-below-selected with a fit-window-to-buffer alist
5938d519
MR
1489 entry.
1490
c4c0c2df
CY
14912012-09-30 Chong Yidong <cyd@gnu.org>
1492
48de8b12
CY
1493 * server.el (server-host): Document the security implications.
1494 (server-auth-key): Doc fix.
1495
1496 * startup.el (initial-buffer-choice): Doc fix.
1497
1498 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1499
a97dc380
CY
1500 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1501 restriction change.
1502
d39d3c8e
CY
1503 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1504
c4c0c2df
CY
1505 * help-fns.el (help-fns--obsolete): Fix last change.
1506
98a5e33b
SM
15072012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
1508
34cf6f39
SM
1509 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1510 (minor-mode-map-alist): Remove redundant code.
1511
e01c13fe
SM
1512 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1513 visited in a buffer.
1514 (cvs-insert-visited-file): New function.
1515 (find-file-hook): Use it.
1516
1517 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1518
02661b3a
SM
1519 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1520 chose face.
1521 (log-edit-empty-buffer-p): Don't require a space after a header.
1522
43711d4b
SM
1523 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1524
38a30d64
SM
1525 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1526
4ffb41a9
SM
1527 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1528 a proper minor-mode.
1529
98a5e33b
SM
1530 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1531
de82e29b
GM
15322012-09-29 Glenn Morris <rgm@gnu.org>
1533
5cc2e639
GM
1534 * winner.el (winner-mode): Remove variable (let define-minor-mode
1535 handle it).
1536 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1537 Doc fixes.
1538 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1539 (winner-mode): Use define-minor-mode.
1540
7bd302eb
GM
1541 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1542 the full definition in loaddefs, rather than duplicating it.
1543
2923922f 1544 * help-macro.el (three-step-help): No need to autoload defcustom.
ced08382 1545
0e3e4156
GM
1546 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1547 (inferior-lisp-program, inferior-lisp-load-command)
1548 (inferior-lisp-prompt, inferior-lisp-mode-hook):
2923922f 1549 No need to autoload defcustoms.
0e3e4156 1550
de82e29b
GM
1551 * hippie-exp.el (hippie-expand-try-functions-list)
1552 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1553 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1554 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2923922f 1555 (hippie-expand-only-buffers): No need to autoload defcustoms.
de82e29b
GM
1556 * progmodes/vhdl-mode.el (vhdl-line-expand):
1557 Explicitly load hippie-exp, so it does not get autoloaded
1558 while hippie-expand-try-functions-list is let-bound.
1559
e60b51ab
GM
15602012-09-28 Glenn Morris <rgm@gnu.org>
1561
277f0cfa
GM
1562 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1563
e60b51ab
GM
1564 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1565 Only "cl.el" counts as cl these days.
1566
53baf48a
JL
15672012-09-28 Juri Linkov <juri@jurta.org>
1568
1569 Display archive errors in the echo area instead of inserting
1570 to the file buffer.
1571
1572 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1573 to STDERR-TEST that can be a regexp matching a successful output.
1574 Create a temporary file and redirect stderr to it. Search for
1575 STDERR-TEST in the stderr output and display it in the echo area
1576 if no match is found.
1577 (archive-extract-by-file): New function like
1578 `archive-extract-by-stdout' but extracting archives to files
1579 and looking for successful matches in stdout. Function body is
1580 mostly copied from `archive-rar-extract'.
1581 (archive-rar-extract): Use `archive-extract-by-file'.
1582 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
1583
9c1228c3
LL
15842012-09-28 Leo Liu <sdl.web@gmail.com>
1585
375e49d4
SM
1586 * pcomplete.el (pcomplete-show-completions):
1587 Use minibuffer-message to make pcomplete usable in minibuffer.
147c0425 1588
9c1228c3
LL
1589 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1590
7f457c06
SM
15912012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1592
3df749b0
SM
1593 * type-break.el: Use lexical-binding.
1594 (type-break-mode): Use define-minor-mode.
1595
7f457c06
SM
1596 * emacs-lisp/pcase.el (pcase--mark-used): New.
1597 (pcase--u1): Use it (bug#12512).
1598
1599 * custom.el (load-theme): Set buffer-file-name so the load is recorded
1600 in load-history with the right file name.
1601
c00ebc98
TH
16022012-09-28 Tassilo Horn <tsdh@gnu.org>
1603
1604 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1605 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1606 (doc-view-get-bounding-box): Make bounding box slicing work for
1607 ODF and DVI documents.
1608
96fb7170
GM
16092012-09-28 Glenn Morris <rgm@gnu.org>
1610
1611 * type-break.el (type-break-mode, type-break-interval)
1612 (type-break-good-rest-interval, type-break-keystroke-threshold):
1613 No need to autoload.
1614 (type-break-good-rest-interval, type-break-keystroke-threshold):
1615 Add :set-after.
1616
5bc93c67
CY
16172012-09-28 Chong Yidong <cyd@gnu.org>
1618
1619 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1620 Add :version tag.
1621
9cad61d6
SM
16222012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1623
e28e67b3 1624 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
9cad61d6 1625
daee954c
GM
16262012-09-27 Glenn Morris <rgm@gnu.org>
1627
a88324d4
GM
1628 * faces.el (x-display-name): Declare (for without-x builds).
1629
8e5064e5
GM
1630 * linum.el (linum-format): Don't autoload it. Improve :type.
1631
cc1783c2
GM
1632 * progmodes/tcl.el: Don't require outline when compiling.
1633 (outline-regexp, outline-level): Declare.
1dddcf4c
GM
1634 * textmodes/sgml-mode.el: Don't require outline when compiling.
1635 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1636
48c339f2
GM
1637 * term.el (term-ansi-reset):
1638 Try setting term-ansi-face-already-done to nil. (Bug#11785)
1639
daee954c
GM
1640 * vc/vc.el (vc-next-action): Only gripe about committing read-only
1641 files for RCS and SCCS. (Bug#9781)
1642
b7f42161
CY
16432012-09-27 Chong Yidong <cyd@gnu.org>
1644
1645 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1646 change; value should be t.
1647
a2e770db
SM
16482012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
1649
83600dc8
SM
1650 * image-mode.el: Use lexical-binding.
1651 (image-mode-winprops): Use t to stand for the window of
1652 a buffer that's not displayed.
1653 * doc-view.el (doc-view-new-window-function): Handle the new
1654 t in winprops.
1655 (doc-view-enlarge): Make it a real nop if the size is not changed.
1656 (doc-view-display): Handle the case where the buffer is not (yet?)
1657 displayed in any window.
1658 (doc-view-saved-settings): New var.
1659 (doc-view-mode): Use it.
1660 (doc-view-fallback-mode): Set it.
1661
a2e770db
SM
1662 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1663 Set lexical-binding.
1664 (minibuffer-eldef-shorten-default): New var.
1665 (minibuffer-default-in-prompt-regexps): Use it for new default.
1666 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1667
e3b60857
JB
16682012-09-26 Juanma Barranquero <lekktu@gmail.com>
1669
1670 * international/uni-bidi.el:
1671 * international/uni-category.el:
1672 * international/uni-name.el:
1673 * international/uni-numeric.el: Regenerate.
1674
3a880af4
SM
16752012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
1676 Stefan Monnier <monnier@iro.umontreal.ca>
1677
1678 * profiler.el: New file.
1679
07b1a5fb
SM
16802012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1683 (testcover-reinstrument): Simplify with CSE.
1684
42019c2e
JB
16852012-09-26 Juanma Barranquero <lekktu@gmail.com>
1686
1687 * window.el (temp-buffer-window-setup): Fix typo in docstring.
1688
179f044b
WS
16892012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
1690
1691 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1692 (verilog-auto-input, verilog-auto-insert-lisp)
1693 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1694 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1695 (verilog-auto-unused, verilog-auto-wire)
1696 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1697 newline. Reported by Andrew Jones.
1698 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1699 Reported by Brad Dobbie.
07b1a5fb
SM
1700 (verilog-batch-delete-trailing-whitespace):
1701 Create verilog-batch-delete-trailing-whitespace.
1702 Reported by Brad Dobbie.
179f044b
WS
1703 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1704 parameters from another module. Reported by Dan Katz.
1705 (verilog-auto, verilog-auto-assign-modport)
1706 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1707 AUTOINOUTMODPORT for UVM interface module shell generation.
1708 Reported by Brad Dobbie.
1709 (verilog-auto-inst-interfaced-ports): Make default nil, as more
1710 standard behavior.
1711 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1712 Reported by Matt Martin.
1713
9c52dd5a
MR
17142012-09-25 Martin Rudalics <rudalics@gmx.at>
1715
1716 * window.el (window--resize-child-windows): When resizing child
1717 windows proportionally, process them in reverse order to
1718 preserve the "when splitting a window the new one gets the odd
1719 line" behavior.
1720 (window--resize-root-window-vertically): When resizing the
1721 minibuffer window try to affect only windows at the bottom of the
1722 frame. (Bug#12419)
1723
863666eb
CY
17242012-09-25 Chong Yidong <cyd@gnu.org>
1725
1726 * subr.el (declare): Doc fix.
1727
1728 * help-fns.el (help-fns--obsolete): Handle macros properly.
1729
59f7af81
CY
17302012-09-25 Chong Yidong <cyd@gnu.org>
1731
1732 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1733 this function obsolete.
1734
1735 * calendar/cal-x.el (calendar-two-frame-setup)
1736 (calendar-only-one-frame-setup, calendar-one-frame-setup):
1737 * calendar/calendar.el (american-calendar, european-calendar)
1738 (calendar-for-loop):
1739 * comint.el (comint-dynamic-simple-complete)
1740 (comint-dynamic-complete-as-filename, comint-unquote-filename):
1741 * desktop.el (desktop-load-default):
1742 * dired-x.el (dired-omit-here-always)
1743 (dired-hack-local-variables, dired-default-directory):
1744 * emacs-lisp/derived.el (derived-mode-class):
1745 * emacs-lisp/timer.el (timer-set-time-with-usecs):
1746 * emacs-lock.el (toggle-emacs-lock):
1747 * epa.el (epa-display-verify-result):
1748 * epg.el (epg-sign-keys, epg-start-sign-keys)
1749 (epg-passphrase-callback-function):
1750 * eshell/esh-util.el (eshell-for):
1751 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1752 (eshell-add-to-window-buffer-names):
1753 * files.el (locate-file-completion):
1754 * imenu.el (imenu-example--create-c-index)
1755 (imenu-example--create-lisp-index)
1756 (imenu-example--lisp-extract-index-name)
1757 (imenu-example--name-and-position):
1758 * international/mule-cmds.el (princ-list):
1759 * international/mule-diag.el (decode-codepage-char):
1760 * international/mule-util.el (detect-coding-with-priority):
1761 * iswitchb.el (iswitchb-read-buffer):
1762 * mail/mailalias.el (mail-complete):
1763 * mail/sendmail.el (mail-sent-via):
1764 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1765 (mouse-major-mode-menu):
1766 * password-cache.el (password-read-and-add):
1767 * pcomplete.el (pcomplete-parse-comint-arguments):
1768 * progmodes/sh-script.el (sh-maybe-here-document):
1769 * replace.el (query-replace-regexp-eval):
1770 * savehist.el (savehist-load):
1771 * simple.el (choose-completion-delete-max-match):
1772 * term.el (term-dynamic-simple-complete):
1773 * vc/ediff-init.el (ediff-check-version):
1774 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1775 * vc/vc.el (vc-diff-switches-list):
1776 * view.el (view-return-to-alist-update): Likewise.
1777
1778 * subr.el (eval-next-after-load, makehash, insert-string)
1779 (assoc-ignore-representation, assoc-ignore-case): Use declare to
1780 mark obsolete.
1781 (mode-line-inverse-video): Variable deleted.
1782
1783 * international/mule-util.el (string-to-sequence): Remove.
1784
1785 * calendar/calendar.el (calendar-version):
1786 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1787 (icalendar-convert-diary-to-ical):
1788 * cus-edit.el (custom-mode):
1789 * ansi-color.el (ansi-color-unfontify-region):
1790 * international/latin1-disp.el (latin1-char-displayable-p):
1791 * progmodes/cwarn.el (turn-on-cwarn-mode):
07b1a5fb
SM
1792 * progmodes/which-func.el (which-func-update-1):
1793 Use define-obsolete-function-alias.
59f7af81
CY
1794
1795 * net/newst-backend.el (newsticker-cache-filename):
07b1a5fb
SM
1796 * net/newst-treeview.el (newsticker-groups-filename):
1797 Fix incorrect obsolescence declaration.
59f7af81
CY
1798
1799 * allout.el (allout-passphrase-hint-string): Likewise.
1800 (allout-init): Use a declare form to mark obsolete.
1801
1802 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1803 this applies to functions.
1804
1805 * iswitchb.el (iswitchb-read-buffer): Move code of
1806 iswitchb-define-mode-map here, and delete that obsolete function.
1807
1808 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1809 font-lock-reference-face.
1810
cca96c97
GM
18112012-09-25 Glenn Morris <rgm@gnu.org>
1812
b06eeda8
GM
1813 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1814 Doc fixes.
1815
cca96c97
GM
1816 * eshell/em-term.el (eshell-term-name):
1817 Default to term-term-name. (Bug#12485)
1818
dc4f818b
FEG
18192012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1820
cca96c97
GM
1821 * progmodes/python.el (python-shell-send-buffer): Better handling
1822 of "if __name__ == '__main__':" conditionals when sending the buffer.
dc4f818b 1823
289c24bd
GM
18242012-09-24 Glenn Morris <rgm@gnu.org>
1825
1826 * eshell/esh-cmd.el (eshell-find-alias-function):
1827 Tighten up file-name regexp. (Bug#12499)
1828
8fb8b88f
FEG
18292012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
1830
1831 Enhancements for triple-quote string syntax.
1832 * progmodes/python.el (python-quote-syntax): Remove.
1833 (python-syntax-propertize-function): New value.
07b1a5fb
SM
1834 (python-syntax-count-quotes, python-syntax-stringify):
1835 New functions.
8fb8b88f 1836
6c27f0f8
CY
18372012-09-24 Chong Yidong <cyd@gnu.org>
1838
a5f2b6ec
CY
1839 * mail/supercite.el (sc-version): Remove obsolete function.
1840 (sc-describe): Don't mark as obsolete, since it is bound.
1841 (sc-submit-bug-report): Remove.
1842
1843 * vc/log-edit.el (cvs-changelog-full-paragraphs)
1844 (cvs-commit-buffer-require-final-newline): Remove.
0c765e5f
CY
1845 (log-edit-require-final-newline)
1846 (log-edit-changelog-full-paragraphs): Default to t.
a5f2b6ec
CY
1847
1848 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1849 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1850 * vc/vc.el (vc-checkout-carefully): Likewise.
1851
1852 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1853 (emerge-version): Remove.
1854
1855 * progmodes/compile.el (compile-internal): Remove.
1856 (compilation-parse-errors-function): Fix typo.
1857
1858 * international/mule.el (set-char-table-default): Remove.
1859 (set-coding-priority, make-coding-system, generic-char-p)
1860 (charset-list, charset-bytes, charset-id): Use declare to mark
1861 functions as obsolete.
1862
1863 * vc/pcvs-defs.el (cvs-buffer-name-alist)
1864 (cvs-invert-ignore-marks): Remove references to obsolete vars.
1865 * vc/vc-hooks.el (vc-default-registered): Don't use
1866 vc-master-templates.
1867
07b1a5fb
SM
1868 * font-lock.el (font-lock-reference-face):
1869 Use define-obsolete-variable-alias.
6c27f0f8
CY
1870
1871 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1872 * calendar/calendar.el (calendar-font-lock-keywords):
1873 * calendar/diary-lib.el (diary-font-lock-keywords)
1874 (diary-fancy-font-lock-keywords):
1875 * textmodes/reftex-sel.el (reftex-insert-docstruct):
1876 * textmodes/reftex-index.el (reftex-insert-index):
1877 * textmodes/reftex-cite.el (reftex-format-bib-entry):
1878 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1879 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1880 * progmodes/prolog.el (prolog-font-lock-keywords):
1881 * progmodes/idlwave.el (idlwave-idl-keywords):
1882 * progmodes/ada-mode.el (ada-font-lock-keywords):
1883 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1884
bcc0adbf
GM
18852012-09-24 Glenn Morris <rgm@gnu.org>
1886
1887 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1888
095bb823
FEG
18892012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
1890
1891 * progmodes/python.el (python-indent-line): More consistent cursor
1892 movement behavior.
1893
70efc5c9
SM
18942012-09-23 Stefan Merten <smerten@oekonux.de>
1895
1896 * textmodes/rst.el: Fix compiler warning.
1897
2f438239
RW
18982012-09-23 Roland Winkler <winkler@gnu.org>
1899
07b1a5fb
SM
1900 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1901 Transcribe also LaTeX hyphenation.
2f438239
RW
1902 (bibtex-reformat): Bug fix. Do not quote twice the elements of
1903 bibtex-reformat-previous-options.
1904
936ad041
RW
19052012-09-23 Roland Winkler <winkler@gnu.org>
1906
1907 * proced.el (proced-renice-command): New variable.
1908 (proced-marked-processes): New function.
1909 (proced-with-processes-buffer): New macro.
1910 (proced-send-signal): Use them.
1911 (proced-renice): New command bound to r.
1912
6fab0274
RW
19132012-09-23 Roland Winkler <winkler@gnu.org>
1914
1915 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1916 ibuffer-saved-filter-groups has one element, shortcut the call of
1917 completing-read. (Bug#12331)
1918
9a930676
CY
19192012-09-23 Chong Yidong <cyd@gnu.org>
1920
1921 * bindings.el (mode-line-toggle-read-only):
1922 * bs.el (bs-toggle-readonly):
1923 * buff-menu.el (Buffer-menu-toggle-read-only):
1924 * dired.el (dired-toggle-read-only):
1925 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1926
d07ff9db
CY
19272012-09-23 Chong Yidong <cyd@gnu.org>
1928
1929 * image.el (image-type-available-p): Adapt to init-image-library
1930 argument changes.
1931
51c4474e
JL
19322012-09-22 Juri Linkov <juri@jurta.org>
1933
1934 * dired.el (dired-mode-map): Add [remap read-only-mode] for
1935 `dired-toggle-read-only'. (Bug#12462)
1936
43bf5e8e
MR
19372012-09-22 Martin Rudalics <rudalics@gmx.at>
1938
1939 * subr.el (temp-output-buffer-show): New function.
1940 (with-output-to-temp-buffer): Call temp-output-buffer-show
1941 instead of internal-temp-output-buffer-show.
1942
c88b867f
CY
19432012-09-22 Chong Yidong <cyd@gnu.org>
1944
3df47cd5
CY
1945 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1946 (Bug#12462).
1947
c88b867f
CY
1948 * repeat.el (repeat): Doc fix (Bug#12348).
1949
1950 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1951 (Bug#10909).
1952
1953 * simple.el (shell-command-on-region): Doc fix.
3171e303 1954 (read-only-mode): Doc fix.
c88b867f 1955
df9685f3
EZ
19562012-09-22 Eli Zaretskii <eliz@gnu.org>
1957
1958 * emacs-lisp/timer.el (run-with-idle-timer)
1959 (timer-activate-when-idle): Warn against reinvoking an idle timer
1960 from within its own timer action. (Bug#12447)
1961
8e17c9ba
MR
19622012-09-22 Martin Rudalics <rudalics@gmx.at>
1963
1964 * cus-start.el (window-combination-limit): Add new optional
1965 values.
1966 * window.el (temp-buffer-window-show)
1967 (window--try-to-split-window): Handle new values of
1968 window-combination-limit (Bug#1806).
1969 (split-window): Test window-combination-limit for t instead of
1970 non-nil.
1971 (display-buffer-at-bottom): New buffer display action function.
1972 * help.el (temp-buffer-resize-regexps): New option.
1973 (temp-buffer-resize-mode): Rewrite doc-string.
1974 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
bd909927 1975 Don't resize reused window. Suggested by Glenn Morris.
8e17c9ba 1976
48a24920
SM
19772012-09-22 Stefan Merten <smerten@oekonux.de>
1978
70efc5c9 1979 * textmodes/rst.el: Revamp section title faces.
48a24920
SM
1980 (rst-official-version)
1981 (rst-package-emacs-version-alist): Sync with official version
1982 V1.4.0.
1983 (rst-faces-defaults, rst-set-level-default)
1984 (rst-level-face-max, rst-level-face-base-color)
1985 (rst-level-face-base-light, rst-level-face-format-light)
1986 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1987 (rst-adornment-faces-alist): Match new setup.
1988 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1989 (rst-level-5, rst-level-6): New faces.
1990
82f8cd94
CY
19912012-09-22 Chong Yidong <cyd@gnu.org>
1992
1993 * simple.el (undo): Handle indirect buffers (Bug#8207).
1994
acfa068f 19952012-09-21 Leo Liu <sdl.web@gmail.com>
a8c14da8
LL
1996
1997 IDO: Disable match re-ordering for buffer switching.
2bc9406c 1998 * ido.el (ido-buffer-disable-smart-matches): New variable.
a8c14da8
LL
1999 (ido-set-matches-1): Use it. (Bug#2042)
2000
acfa068f 20012012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
a316d229
JM
2002
2003 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
2004 Fix 2011-05-17 change. (Bug#12418)
2005
acfa068f 20062012-09-21 Leo Liu <sdl.web@gmail.com>
d02e58f8
LL
2007
2008 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
2009
acfa068f 20102012-09-21 Glenn Morris <rgm@gnu.org>
511fd0b2
GM
2011
2012 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
2013 Be more robust about locating simple.el.
2014
acfa068f 20152012-09-21 Glenn Morris <rgm@gnu.org>
fa05bfe0
GM
2016
2017 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
2018
acfa068f
CY
20192012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
2020
2021 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
2022
41a97e6f
JL
20232012-09-20 Juri Linkov <juri@jurta.org>
2024
eb2deaff
JL
2025 * replace.el (query-replace-read-from): Use `read-regexp' instead
2026 of `read-from-minibuffer' when `regexp-flag' is non-nil.
2027 (occur-read-primary-args): Use `read-regexp' instead of
2028 `read-string'.
2029 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
2030 `read-from-minibuffer'.
2031 * isearch.el (isearch-occur): Use `read-regexp' instead of
2032 `read-string'.
2033 * dired.el (dired-read-regexp): Use `read-regexp' instead of
2034 `read-from-minibuffer'.
2035 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
2036 of `read-string'. (Bug#7567)
2037
5825610b
JL
2038 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
2039 and allow accepting a list of strings prepended to a list of
2040 standard default values. Doc fix. (Bug#12321)
2041
eebbf404
JL
2042 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
2043
41a97e6f
JL
2044 * replace.el (read-regexp): Don't add ": " when PROMPT already
2045 ends with a colon and space. (Bug#12321)
2046
c9e452d3
TH
20472012-09-20 Tassilo Horn <tsdh@gnu.org>
2048
2049 * doc-view.el (doc-view-display): Better fix for the cl-assertion
2050 error.
2051
ee97deee
SM
20522012-09-20 Stefan Merten <smerten@oekonux.de>
2053
70efc5c9 2054 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
ee97deee
SM
2055 Fixes feature request bug#11711.
2056 (rst-mode): Create `imenu-create-index-function'.
2057 (rst-get-stripped-line): Delete after refactoring.
2058 (rst-section-tree, rst-section-tree-rec)
2059 (rst-section-tree-point): Refactor and document properly.
2060 (rst-imenu-find-adornments-for-position)
07b1a5fb
SM
2061 (rst-imenu-convert-cell, rst-imenu-create-index):
2062 New function.
ee97deee 2063
f490dab9
SM
20642012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2065
95b9712e
SM
2066 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
2067 (macroexp--expand-all): Use it.
2068 (macroexp--funcall-and-return): Remove by folding it into its sole
2069 caller (macroexp--warn-and-return).
2070 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
2071 Use macroexp--obsolete-warning.
2072
f490dab9
SM
2073 * calc/calc.el: Fix last change by removing the whole chunk, since it
2074 was only needed back when Calc was not bundled.
2075
96e8d411
MR
20762012-09-20 Martin Rudalics <rudalics@gmx.at>
2077
2078 * emacs-lisp/debug.el (debug): Restore assignment to
2079 debugger-old-buffer removed on 2012-09-08.
2080
0876a82d
JL
20812012-09-20 Juri Linkov <juri@jurta.org>
2082
2083 * dired-aux.el (dired-diff): Remove (require 'diff) since
2084 `diff-latest-backup-file' is now autoloaded.
2085
9f7c28f0
CY
20862012-09-20 Chong Yidong <cyd@gnu.org>
2087
2088 * vc/diff.el (diff-latest-backup-file): Autoload.
2089
7a04bee9
SM
20902012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2091
e6f0a80d
SM
2092 * calc/calc.el: Remove redundant autoload shape check.
2093 (sel-mode): Don't defvar.
2094 (calc-get-stack-element): Add `sel-mode' arg instead.
2095 (calc-top, calc-top-list): Pass it this additional argument.
2096 * calc/calc-store.el (calc-store-map):
2097 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
2098 (calc-map-equation, calc-outer-product, calc-inner-product):
2099 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
2100
7a04bee9
SM
2101 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
2102
12734222
JL
21032012-09-19 Juri Linkov <juri@jurta.org>
2104
2105 * dired-aux.el (dired-diff): Add (require 'diff) because
2106 `diff-latest-backup-file' is not autoloaded.
2107 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
2108 of `dired-get-filename' to t to not report error when there is
2109 no default file on the current line.
2110
46624b4f
SM
21112012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2112
ce97595b
SM
2113 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
2114 macroexp--eval-if-compile.
2115 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
2116 (macroexp--expand-all): Use them (bug#12371).
2117
46624b4f
SM
2118 * doc-view.el (doc-view-guess-paper-size)
2119 (doc-view-scale-bounding-box): Fix unbound `caddr'.
2120
db8a5a18
TH
21212012-09-19 Tassilo Horn <tsdh@gnu.org>
2122
2123 New feature: set optimal slice from BoundingBox information.
2124 * doc-view.el (doc-view-mode-map): Add keybinding.
2125 (doc-view-menu): Add menu entry.
2126 (doc-view-set-slice): Adapt docstring.
2127 (doc-view-get-bounding-box, doc-view-guess-paper-size)
2128 (doc-view-scale-bounding-box)
2129 (doc-view-set-slice-from-bounding-box): New functions.
2130 (doc-view-paper-sizes): New defvar.
2131
69f6644c
GM
21322012-09-19 Glenn Morris <rgm@gnu.org>
2133
35f5b19d
GM
2134 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
2135 (byte-compile-log-warning): Autoload. (Bug#12371)
2136
69f6644c
GM
2137 * calendar/calendar.el (calendar-american-month-header)
2138 (calendar-european-month-header, calendar-iso-month-header)
2139 (calendar-month-header): New options.
2140 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
2141 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
2142
e543ae91
JD
21432012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2144
2145 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
2146
2fd5e67d
JL
21472012-09-18 Juri Linkov <juri@jurta.org>
2148
2149 * dired-aux.el (dired-diff): Restore original functionality of
2150 getting the default value, but keep new feature of using the
2151 latest existing backup file (`diff-latest-backup-file').
2152
42917e79
JL
21532012-09-18 Juri Linkov <juri@jurta.org>
2154
2155 * dired.el (dired-mark): If the region is active in Transient Mark
2156 mode, mark all files in the active region. Doc fix.
2157 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
2158 Doc fix. (Bug#10624)
2159
20f70ede
JL
21602012-09-18 Juri Linkov <juri@jurta.org>
2161
2162 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
2163 attributes for M-n are pulled from the file at point.
2164 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
2165 Suggested by Drew Adams. (Bug#10624)
2166
32fb8162
DG
21672012-09-18 Dmitry Gutov <dgutov@yandex.ru>
2168
2169 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
2170 whitespace after "end".
2171 (ruby-do-end-to-brace): Collapse block to one line if it fits
2172 within fill-column.
2173
37ab5092
MR
21742012-09-18 Martin Rudalics <rudalics@gmx.at>
2175
2176 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
2177 value.
2178 (debug): Don't remove debugger window when debugger is expected
2179 to be back.
2180
ed1f0bd3
CY
21812012-09-18 Chong Yidong <cyd@gnu.org>
2182
2183 * custom.el (defface): Doc fix.
2184
2185 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
2186
a11035b8
MB
21872012-09-18 Martin Blais <blais@furius.ca> (tiny change)
2188
2189 * progmodes/compile.el (compilation-start): Use compilation-always-kill
2190 to initialize query-on-exit; then test that instead (bug#12288).
2191
64f6a736
SM
21922012-09-17 Stefan Merten <smerten@oekonux.de>
2193
70efc5c9 2194 * textmodes/rst.el: Add support for `testcover'.
64f6a736
SM
2195 (rst-defcustom-testcover, rst-testcover-add-compose)
2196 (rst-testcover-add-1value): New functions.
2197 (rst-portable-mark-active-p): Replace by `use-region-p'.
2198 (rst-update-section, rst-classify-adornment)
2199 (rst-find-title-line): Mark `1value' forms.
2200 (rst-classify-adornment): Remove superfluous form.
2201 (rst-update-section, rst-get-adornments-around)
2202 (rst-adornment-complete-p, rst-get-next-adornment)
2203 (rst-adjust, rst-promote-region)
2204 (rst-display-adornments-hierarchy, rst-straighten-adornments)
2205 (rst-find-pfx-in-region, rst-section-tree-rec)
2206 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
2207 (rst-toc-node, rst-toc, rst-forward-section)
2208 (rst-iterate-leftmost-paragraphs)
2209 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
2210 (rst-bullet-list-region)
2211 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
2212 (rst-compile-find-conf, rst-compile)
2213 (rst-repeat-last-character): Fix style.
2214
580bd868
CY
22152012-09-17 Chong Yidong <cyd@gnu.org>
2216
2217 * comint.el (comint--complete-file-name-data): Don't add a space
2218 if the status is `sole'; that adds a gratuitous space in the
2219 completion-cycling case (Bug#12092).
2220
2221 * pcomplete.el (pcomplete-completions-at-point): Likewise.
2222
69de3ec6
RS
22232012-09-17 Richard Stallman <rms@gnu.org>
2224
0dee970c
RS
2225 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
2226 only in the mime-shown mode, not in raw mode.
2227 (rmail-mime): Toggle off mime by displaying the message without
6b250df6 2228 mime processing. (Bug#12305)
0dee970c 2229
6b250df6
GM
2230 * mail/rmail.el (rmail-retry-failure):
2231 Turn off mime processing first. (Bug#12037)
acb1c47b 2232
69de3ec6
RS
2233 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
2234
d079ee5f
CY
22352012-09-17 Chong Yidong <cyd@gnu.org>
2236
2237 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
2238 (shell-dynamic-complete-functions): Convert to defcustom.
2239 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
2240
865fe16f
CY
2241 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
2242 * comint.el (comint-prompt-read-only):
2243 * custom.el (defcustom):
2244 * hi-lock.el (hi-lock-mode):
2245 * ibuffer.el (ibuffer-formats):
2246 * ielm.el (ielm-prompt-read-only):
2247 * novice.el (disable-command):
2248 * saveplace.el (toggle-save-place):
2249 * speedbar.el (speedbar-supported-extension-expressions):
2250 * startup.el (auto-save-list-file-prefix, init-file-user)
2251 (after-init-hook, inhibit-startup-echo-area-message):
2252 * strokes.el (strokes-help):
2253 * time-stamp.el (time-stamp):
2254 * calendar/calendar.el (calendar, diary-file):
2255 * calendar/diary-lib.el (diary-mail-entries, diary)
2256 (diary-list-entries-hook):
2257 * calendar/holidays.el (holidays, calendar-holidays):
2258 * calendar/lunar.el (lunar-phases):
2259 * calendar/solar.el (sunrise-sunset):
2260 * emulation/edt.el (edt-load-keys):
2261 * emulation/viper.el (viper-mode):
2262 * eshell/em-alias.el (eshell-command-aliases-list):
2263 * eshell/esh-util.el (eshell-convert-numeric-arguments):
2264 * international/ogonek.el (ogonek-information):
2265 * net/tramp-cmds.el (tramp-bug):
2266 * net/quickurl.el (quickurl-reread-hook-postfix):
2267 * play/decipher.el (decipher-font-lock-keywords):
2268 * progmodes/cc-styles.el (c-set-style):
2269 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2270 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2271 * progmodes/octave-mod.el (octave-mode):
2272 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2273 * progmodes/verilog-mode.el (verilog-read-defines):
2274 * textmodes/two-column.el (2C-mode): Likewise.
2275
48093eb9
KY
22762012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
2277
2278 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2279 that holds many addresses.
2280
c584eaf9
CY
22812012-09-16 Chong Yidong <cyd@gnu.org>
2282
40d70ecb
CY
2283 * align.el (align-areas): Call the indication function with
2284 positions instead of markers for arguments (Bug#12343).
2285
1667e065
CY
2286 * files.el (parse-colon-path): Use split-string (Bug#12351).
2287
fdc2806d 2288 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
71ce58e7 2289 (display-buffer-function): Mark as obsolete.
fdc2806d 2290
f1be615c 2291 * progmodes/compile.el (compilation-parse-errors): Accept list
ce97595b
SM
2292 values similar to font-lock-keywords (Bug#12136).
2293 Suggested by Oleksandr Manzyuk.
c584eaf9
CY
2294 (compilation-error-regexp-alist): Doc fix.
2295
f40a9709
GM
22962012-09-15 Glenn Morris <rgm@gnu.org>
2297
72aa16e1
GM
2298 * version.el (emacs-bzr-version-bzr): New function.
2299 (emacs-bzr-get-version): Add optional EXTERNAL argument.
2300
82375160
GM
2301 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2302 checkouts, check the parent dirstate matches the branch.
2303 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
2304 empty string.
2305
f40a9709
GM
2306 * version.el (emacs-bzr-version): Doc fix.
2307 (emacs-bzr-version-dirstate): New function.
2308 (emacs-bzr-get-version): For lightweight checkouts, if the parent
2309 is local try and check that it matches the branch. If not, just
2310 use dirstate information. (Bug#12441)
2311
cb26b7f5
JL
23122012-09-14 Juri Linkov <juri@jurta.org>
2313
2314 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2315 (Bug#12399)
2316
2de39f08
SM
23172012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
2318
0fb3cb7c
SM
2319 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2320
2de39f08
SM
2321 * emacs-lisp/edebug.el: Miscellaneous cleanup.
2322 Remove obsolete byte-compiler hack that tried to silence some warnings.
2323 (edebug-submit-bug-report): Remove.
2324 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2325 Remove aliases, use the un-prefixed name instead.
2326 (edebug-pop-to-buffer): Consider other frames.
2327 (edebug-original-read):: Make it more obvious that it's always defined.
2328 (edebug--make-form-data-entry, edebug--form-data-name)
2329 (edebug--form-data-begin, edebug--form-data-end): Rename from the
2330 single-dashed name, and implement with cl-defstruct.
2331 (edebug-set-form-data-entry): Use the standard accessors.
2332 (edebug-make-top-form-data-entry): Use push.
2333 (edebug-no-match): Drop useless `funcall'.
2334 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2335 to functions.
2336 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2337 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2338 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2339 (easy-menu-define, with-custom-print): Remove redundant specs.
2340 (edebug-outside-overriding-local-map)
2341 (edebug-outside-overriding-terminal-local-map): Remove, unused.
2342 (edebug--display): Bind unread-command-events directly to nil rather
2343 than binding it to unread-command-events and later setting it to nil.
2344 (edebug--display): Kill edebug-eval-buffer here...
2345 (edebug--recursive-edit): ...rather than here.
2346 Bind standard-output and standard-input.
2347 (edebug-eval): Check cl-macroexpand-all is fboundp.
2348 (edebug-temp-display-freq-count): Fix last change.
2349
2350 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2351 * subr.el (noreturn, 1value): Add `debug' spec.
2352 * emacs-lisp/advice.el: Require cl-lib.
2353 (ad-copy-tree): Remove, use copy-tree instead.
2354 (ad-dolist): Remove use dolist or cl-dolist instead.
2355 (ad-do-return): Remove, use cl-return instead.
2356 (defadvice): Add `debug' spec.
2357
5b68b333
JL
23582012-09-13 Juri Linkov <juri@jurta.org>
2359
2360 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2361 (Bug#12399)
2362
b9800ec4
GM
23632012-09-13 Glenn Morris <rgm@gnu.org>
2364
6a2e6868
GM
2365 * calc/calc.el (math-compose-expr):
2366 * calc/calc-ext.el (math-compose-expr):
2367 * progmodes/cc-defs.el (cl-macroexpand-all):
2368 * progmodes/cc-langs.el (delete-duplicates, mapcan)
2369 (cl-macroexpand-all): Update declarations.
2370
b9800ec4
GM
2371 * vc/vc.el: No need to require ediff.
2372 (ediff-load-version-control): Declare.
2373 (ediff-vc-internal): Fix declaration.
2374 (vc-version-ediff): Require ediff.
2375
c18e885b
PE
23762012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2377
2378 Use a more backwards-compatible timer format (Bug#12430).
2379 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2380 being right after USECS, as that better supports old code that
2381 inadvisedly looked directly at the timer vector.
2382
d607d303
KH
23832012-09-13 Kenichi Handa <handa@gnu.org>
2384
2385 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2386 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2387 `coding-priority' property of these language environment.
2388
72eac303
PE
23892012-09-13 Paul Eggert <eggert@cs.ucla.edu>
2390
2391 Fix glitches caused by addition of psec to timers (Bug#12430).
2392 * image.el (image-animate-timer):
2393 * time.el (display-time-world-timer):
2394 Use timer--function and timer--args rather than raw access to
2395 timer vector.
2396
2168fe4f
GM
23972012-09-13 Glenn Morris <rgm@gnu.org>
2398
2399 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2400 If not compiling a file, try using load-file-name.
2401
bd8d6108
SM
24022012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2403
c0c54fbd
SM
2404 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2405 Fix last change.
2406 (edebug-update-eval-list): Use `push'.
2407
bd8d6108
SM
2408 * emacs-lisp/edebug.el: Use lexical-binding.
2409 Remove the "edebug-" prefix from non-dynamically-scoped variables.
2410 Mark unused args with underscore.
2411 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2412 (edebug-form-data): Use defvar-local.
2413 (edebug-make-before-and-after-form, edebug-make-after-form):
2414 Use backquote.
2415 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2416 Not dynamically scoped any more.
2417 (edebug--enter-trace): Add arguments `function' and `args'.
2418 Rename from edebug-enter-trace.
2419 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
2420 (edebug--update-coverage): Add `after-index' and `value' args.
2421 Rename from edebug-update-coverage.
2422 (edebug-slow-after): Call it accordingly.
2423 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
2424 edebug-recursive-edit.
2425 (edebug--display): Call it accordingly. Add args `value',
2426 `offset-index', and `arg-mode'. Rename from edebug-display.
2427 (edebug-debugger, edebug): Call it accordingly.
2428 (edebug-eval-display-list): Use dolist.
2429
a9f9d9de
JL
24302012-09-12 Juri Linkov <juri@jurta.org>
2431
2432 * info.el (Info-search): Don't check for isearch-mode and
2433 isearch-regexp before let-binding search-spaces-regexp to
2434 Info-search-whitespace-regexp.
2435 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2436 search-whitespace-regexp if isearch-lax-whitespace or
2437 isearch-regexp-lax-whitespace is non-nil.
2438 (Info-mode): Don't set local variable search-whitespace-regexp.
2439 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2440
bfeae2cf
SM
24412012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2442
2443 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2444 (debugger-env-macro): Remove support for unread-command-char.
2445
2446 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2447 the temporary map re-appearing on emulation-mode-map-alists.
2448
2449 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2450 since 22.1.
2451
2452 * ehelp.el (with-electric-help): Accept functions in
2453 electric-help-form-to-execute.
2454 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2455 And replace unread-command-char -> unread-command-events.
2456
fbbcaf1b
MA
24572012-09-12 Michael Albinus <michael.albinus@gmx.de>
2458
2459 Sync with Tramp 2.2.6.
2460
2461 * net/tramp.el (tramp-accept-process-output): Don't use
2462 JUST-THIS-ONE in the XEmacs case.
2463
2464 * net/trampver.el: Update release number.
2465
4dece104
MR
24662012-09-12 Martin Rudalics <rudalics@gmx.at>
2467
bfeae2cf
SM
2468 * emacs-lisp/debug.el (debugger-previous-window-height):
2469 New variable.
4dece104
MR
2470 (debug): When debugger-jumping-flag is non-nil try to restore
2471 height of debugger window. (Bug#8789)
2472
45b82ad0
SM
24732012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2474
60c49c0f
SM
2475 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2476 overriding-local-map and pre/post-command-hook here.
2477 (edebug-recursive-edit): Do it here instead (bug#12345).
2478 (edebug-outside-unread-command-char): Remove all uses of
2479 unread-command-char.
2480
45b82ad0
SM
2481 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2482 inhibit-debugger is bound instead.
2483
baa26ea0
BG
24842012-09-11 Bastien Guerry <bzg@gnu.org>
2485
2486 * subr.el (set-temporary-overlay-map): Add a docstring.
fc0c31f8 2487 (Bug#12346)
baa26ea0 2488
04e8abfa
BG
24892012-09-11 Bastien Guerry <bzg@gnu.org>
2490
96d03571 2491 * minibuffer.el (completion-table-subvert): Fix docstring.
fc0c31f8 2492 (Bug#12347)
96d03571
BG
2493
24942012-09-11 Bastien Guerry <bzg@gnu.org>
2495
fc0c31f8 2496 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
04e8abfa 2497
04e082b0
MM
24982012-09-10 Michael R. Mauger <mmaug@yahoo.com>
2499
2500 * progmodes/sql.el: Version 3.1
2501 (sql-db2-escape-newlines): New variable.
2502 (sql-escape-newlines-filter): Use it.
2503
399a361b
JB
25042012-09-10 Juanma Barranquero <lekktu@gmail.com>
2505
2506 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2507
0780c517
DN
25082012-09-10 Dan Nicolaescu <dann@gnu.org>
2509
45b82ad0
SM
2510 * vc/diff-mode.el (diff-mode-menu):
2511 Bind diff-remove-trailing-whitespace.
0780c517 2512
9b851e25
SM
25132012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2514
2515 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
fc0c31f8
JB
2516 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2517 (emacs-lisp-byte-code-mode): New functions.
9b851e25
SM
2518 (eval-sexp-add-defvars): Don't skip defvars in column >0.
2519 (eval-defun-2): Remove bogus interactive spec.
2520 (lisp-indent-line): Remove redundant whole-exp code, now done in
2521 indent-according-to-mode.
2522 (save-match-data): Remove redundant indent data.
2523
2524 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2525 Use `declare'.
2526
3231d532
JL
25272012-09-09 Juri Linkov <juri@jurta.org>
2528
2529 * replace.el (replace-regexp-lax-whitespace): New defcustom.
2530 (replace-lax-whitespace, query-replace-regexp)
2531 (query-replace-regexp-eval, replace-regexp): Doc fix.
2532 (perform-replace, replace-highlight): Let-bind
2533 isearch-lax-whitespace to replace-lax-whitespace and
2534 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2535
2536 * isearch.el (isearch-query-replace): Let-bind
2537 replace-lax-whitespace to isearch-lax-whitespace and
2538 replace-regexp-lax-whitespace to
2539 isearch-regexp-lax-whitespace. (Bug#10885)
2540
70fe8236
SM
25412012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2544
8ed43f15
AM
25452012-09-09 Alan Mackenzie <acm@muc.de>
2546
70fe8236
SM
2547 * progmodes/cc-engine.el (c-state-cache-init):
2548 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2549 (c-record-parse-state-state):
2550 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8ed43f15 2551
bfabf70a
AS
25522012-09-09 Andreas Schwab <schwab@linux-m68k.org>
2553
2554 * register.el (register-separator): Rename from
2555 separator-register. All uses changed. Doc fix.
2556 (register): Fix version.
2557
011474aa
CY
25582012-09-09 Chong Yidong <cyd@gnu.org>
2559
2560 * replace.el (query-replace-map): Bind four new symbols for
2561 requesting window scrolling.
2562
2563 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2564 query-replace-map (Bug#8948).
2565
2566 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2567
2568 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2569 since they are now in query-replace-map.
2570
2571 * window.el (scroll-other-window-down): Make the arg optional.
2572
a8b7cd8d
CY
25732012-09-09 Chong Yidong <cyd@gnu.org>
2574
2575 * files.el (hack-local-variables-confirm): Use quit-window to kill
2576 the *Local Variables* buffer.
2577
c3268831
DG
25782012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2579
2580 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2581 not just expect to be at its beginning. Adjust callees.
2582 Succeed when do-end block has no space before the pipe character.
2583 (ruby-brace-to-do-end): When the original block is one-liner,
2584 convert to multiline. Reindent the result.
2585
0979429b
J
25862012-09-08 Jambunathan K <kjambunathan@gmail.com>
2587
2588 * register.el (register): New group.
27359e99 2589 (separator-register): New user option.
0979429b
J
2590 (increment-register): Route it to `append-to-register', if
2591 register contains text. Implication is that `C-x r +' can now be
2592 used for appending to a text register (bug#12217).
2593 (append-to-register, prepend-to-register): Add separator based on
5b9c45a6 2594 `separator-register'.
0979429b 2595
ace2989a
AM
25962012-09-08 Alan Mackenzie <acm@muc.de>
2597
2598 AWK Mode: make auto-newline work when there's "==" in the pattern.
2599 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2600 correctly.
0979429b
J
2601 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2602 Test more rigorously for "=" token.
ace2989a 2603
616c6c36
DG
26042012-09-08 Dmitry Gutov <dgutov@yandex.ru>
2605
0979429b
J
2606 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2607 Only fail when reached LIMIT.
616c6c36 2608
35d98877
CY
26092012-09-08 Chong Yidong <cyd@gnu.org>
2610
2611 * dired.el (dired-mode-map): Don't bind M-=.
2612
2613 * dired-aux.el (dired-diff): Use backup file as default.
2614
1715f2db
DA
26152012-09-08 Drew Adams <drew.adams@oracle.com>
2616
2617 * subr.el (add-to-history): Fix delete usage (Bug#12314).
2618
6dcef6ec
CY
26192012-09-08 Chong Yidong <cyd@gnu.org>
2620
2621 * subr.el (syntax-after, syntax-class): Doc fix.
2622
fa2bcf43
MR
26232012-09-08 Martin Rudalics <rudalics@gmx.at>
2624
2625 * window.el (display-buffer-in-previous-window): New buffer
2626 display action function.
2627
2628 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2629 (debugger-previous-window): New variable.
2630 (debug): Rewrite using display-buffer-in-previous-window,
2631 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
2632
daac280a
SM
26332012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
2636
9dd40b00
MM
26372012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
2638
daac280a
SM
2639 * progmodes/python.el (python-shell-send-string):
2640 When default-directory is remote, create temp file on remote
9dd40b00
MM
2641 filesystem.
2642 (python-shell-send-file): When file is remote, pass local view of
2643 file paths to remote Python interpreter. (Bug#12340)
2644
145823ec
CY
26452012-09-07 Chong Yidong <cyd@gnu.org>
2646
cee2e90d
CY
2647 * window.el (switch-to-buffer): Doc fix (Bug#12181).
2648
0d7eb2ea
CY
2649 * files.el (after-find-file): Don't fail on a read-only buffer if
2650 require-final-newline is `visit' or `visit-save' (Bug#11156).
2651
145823ec
CY
2652 * subr.el (read-char-choice): Allow quitting via ESC ESC.
2653
daac280a
SM
2654 * userlock.el (ask-user-about-supersession-threat):
2655 Use read-char-choice (Bug#12093).
145823ec 2656
74c582e6
CY
26572012-09-07 Chong Yidong <cyd@gnu.org>
2658
e5c2edf7
CY
2659 * subr.el (buffer-narrowed-p): New function.
2660
2661 * ses.el (ses-widen):
2662 * simple.el (count-words--buffer-message):
1f9f395d 2663 * net/browse-url.el (browse-url-of-buffer): Use it.
e5c2edf7
CY
2664
2665 * simple.el (count-words-region): Don't signal an error if there
2666 is a non-nil prefix arg and the mark is not set.
c640e87d 2667
74c582e6
CY
2668 * help.el (describe-key-briefly): Allow the message to be seen
2669 when invoked from the minibuffer (Bug#7014).
2670
d81ceaaf
DG
26712012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2672
2673 * progmodes/ruby-mode.el (ruby-end-of-defun)
2674 (ruby-beginning-of-defun): Simplify, allow indentation before
2675 block beginning and end keywords.
8f06acce
DG
2676 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2677 (ruby-end-of-defun): Expect that the point is at the beginning of
2678 the defun.
d81ceaaf 2679
d458ef98
SM
26802012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2681
2682 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2683 (bug#12367).
2684 (cl--make-usage-args): Strip _ from argument names.
2685
20367d28
RS
26862012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2687
2688 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2689 obsolete alias speedbar-key-map.
2690 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2691 (vhdl-index-menu-init): Don't use obsolete variable
2692 font-lock-maximum-size.
2693
3424a4f6
CY
26942012-09-06 Chong Yidong <cyd@gnu.org>
2695
2696 * frame.el (window-system-version): Mark as obsolete.
2697
fcbfbdea
CY
2698 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2699 of obsolete variable speedbar-key-map.
2700
826b3235
JL
27012012-09-06 Juri Linkov <juri@jurta.org>
2702
2703 * replace.el (replace-lax-whitespace): New defcustom.
2704 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2705 (replace-string, replace-regexp): Mention it in docstrings.
2706 (perform-replace, replace-highlight): Let-bind
2707 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2708 to the values of replace-lax-whitespace and regexp-flag.
2709 Don't let-bind search-whitespace-regexp. (Bug#10885)
2710
2711 * isearch.el (isearch-query-replace): Let-bind
2712 replace-lax-whitespace instead of let-binding
2713 replace-search-function and replace-re-search-function.
2714 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2715 and isearch-regexp-lax-whitespace to lazy-highlight variables.
2716 (isearch-toggle-symbol): Set isearch-regexp to nil
2717 in isearch-word mode (like in isearch-toggle-word).
2718
1ec5e41d
JL
27192012-09-06 Juri Linkov <juri@jurta.org>
2720
2721 * replace.el (replace-search-function)
2722 (replace-re-search-function): Set default values to nil.
2723 (perform-replace): Let-bind isearch-related variables based on
2724 replace-related values, call `isearch-search-fun' and let-bind
2725 the result to `search-function'. Remove code that sets
2726 `search-function' and `search-string' separately for
2727 `delimited-flag'.
2728 (replace-highlight): Add new argument `delimited-flag' and
2729 rename other arguments to the names used in `perform-replace'.
2730 Let-bind `isearch-word' to the argument `delimited-flag'.
2731 (Bug#10885, bug#10887)
2732
0ba2d4b6
DG
27332012-09-07 Dmitry Gutov <dgutov@yandex.ru>
2734
2735 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2736 ruby-beginning-of-indent, simplify, allow all keywords to have
2737 indentation before them.
2738 (ruby-beginning-of-indent): Adjust for above. Search until the
2739 found point is not inside a string or comment.
2740 (ruby-font-lock-keywords): Allow symbols to start with "@"
2741 character, give them higher priority than variables.
2742 (ruby-syntax-propertize-function)
2743 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2744 matchers. Expression expansions are not comments when inside a
2745 string, and there comment syntax status is irrelevant.
2746 (ruby-match-expression-expansion): New function. Check that
2747 expression expansion is inside a string, and it's not escaped.
2748 (ruby-font-lock-keywords): Use it.
2749
ef654460
MR
27502012-09-05 Martin Rudalics <rudalics@gmx.at>
2751
2752 * help.el (temp-buffer-max-height): New default value.
2753 (temp-buffer-resize-frames): New option.
2754 (resize-temp-buffer-window): Optionally resize frame.
2755
2756 * window.el (fit-frame-to-buffer-bottom-margin): New option.
2757 (fit-frame-to-buffer): New function.
2758
7e570fbf 27592012-09-05 Glenn Morris <rgm@gnu.org>
72308848
GM
2760
2761 * emulation/cua-rect.el (cua--init-rectangles):
2762 * textmodes/picture.el (picture-mode-map):
2763 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2764 like forward-char and backward-char. (Bug#12317)
2765
7e570fbf 27662012-09-05 Leo Liu <sdl.web@gmail.com>
3aca1291
LL
2767
2768 * progmodes/flymake.el (flymake-warning-re): New variable.
2769 (flymake-parse-line): Use it.
2770
7e570fbf 27712012-09-05 Glenn Morris <rgm@gnu.org>
b6683353
GM
2772
2773 * calendar/holidays.el (holiday-christian-holidays):
2774 Rename an entry. (Bug#12289)
2775
7e570fbf 27762012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
64f8c4bd
SM
2777
2778 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2779 (bug#12222).
2780
972debf2
SM
27812012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2782
2783 * loadup.el: Load macroexp. Remove hack.
2784 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2785 (macroexp--expand-all): Use it to get better warnings.
2786 (macroexp--backtrace, macroexp--trim-backtrace-frame)
2787 (internal-macroexpand-for-load): New functions.
2788 (macroexp--pending-eager-loads): New var.
2789 (emacs-startup-hook): New hack to replace one in loadup.el.
2790 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2791 (cl--compiler-macro-cXXr): Move to top, before they can be used.
2792 (cl-psetf): Simplify.
2793 (cl-defstruct): Add indent rule.
2794
8ce192e3
LI
27952012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
2796
2797 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2798 over `user-mail-address' for the SMTP MAIL FROM envelope.
2799 (smtpmail-via-smtp): Ditto.
2800
6578b4d8
DG
28012012-09-04 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/ruby-mode.el: Clean up keybindings.
2804 (ruby-mode-map): Don't bind ruby-electric-brace,
2805 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2806 backward-kill-word, reindent-then-newline-and-indent.
2807 (ruby-mark-defun): Remove.
2808 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
2809 (ruby-mode): Set local beginning-of-defun-function and
2810 end-of-defun-function values.
2811
c5e28e39
MR
28122012-09-03 Martin Rudalics <rudalics@gmx.at>
2813
2814 * window.el (temp-buffer-window-setup-hook)
2815 (temp-buffer-window-show-hook): New hooks.
2816 (temp-buffer-window-setup, temp-buffer-window-show)
2817 (with-temp-buffer-window): New functions.
972debf2
SM
2818 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2819 (special-display-popup-frame): Make sure the window used shows BUFFER.
c5e28e39
MR
2820
2821 * help.el (temp-buffer-resize-mode): Fix doc-string.
2822 (resize-temp-buffer-window): New optional argument WINDOW.
2823
2824 * files.el (recover-file, save-buffers-kill-emacs):
2825 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2826
73406194
MA
28272012-09-02 Michael Albinus <michael.albinus@gmx.de>
2828
2829 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2830 remote definition of `default-directory', ensure we can connect.
2831
63dd1c6f
JL
28322012-09-02 Juri Linkov <juri@jurta.org>
2833
2834 Toggle whitespace matching mode with M-s SPC.
2835 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2836
2837 * isearch.el (search-whitespace-regexp): Doc fix.
2838 Remove cons cell customization.
2839 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2840 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2841 New variables.
2842 (isearch-forward, isearch-forward-regexp): Doc fix.
2843 (isearch-toggle-lax-whitespace): New command.
2844 (search-forward-lax-whitespace, search-backward-lax-whitespace)
2845 (re-search-forward-lax-whitespace)
2846 (re-search-backward-lax-whitespace): New functions.
2847 (isearch-whitespace-regexp): Remove function.
2848 (isearch-query-replace): Let-bind replace-search-function and
2849 replace-re-search-function.
2850 (isearch-occur): Let-bind search-spaces-regexp according to the
2851 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2852 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2853 condition for C-q SPC.
2854 (isearch-search-fun-default): Use new functions mentioned above.
2855 (isearch-search-forward, isearch-search-backward): Remove functions.
2856 (isearch-search): Don't let-bind search-spaces-regexp.
2857 (isearch-lazy-highlight-space-regexp): Remove variable.
2858 (isearch-lazy-highlight-lax-whitespace)
2859 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2860 (isearch-lazy-highlight-new-loop): Use them.
2861 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2862
af7dda05
CY
28632012-09-02 Chong Yidong <cyd@gnu.org>
2864
2865 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2866
d67d3afd
GM
28672012-09-02 Glenn Morris <rgm@gnu.org>
2868
2869 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
2870
69678719
GM
28712012-09-01 Glenn Morris <rgm@gnu.org>
2872
2873 * term.el: Tidy up menu definitions.
2874 (term-mode-map): Use easymenu for In/Out, Complete menus.
2875 (term-pager-break-map): Initialize in the defvar.
2876 (term-terminal-menu, term-signals-menu): Define with easymenu.
2877 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
2878 (term-pager-menu): New, extracted from term-process-pager.
2879 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2880 (term-update-mode-line): Propertize line/char and page items.
2881 (term-process-pager): Move keymap initialization elsewhere.
2882
78dd6ab1
MR
28832012-09-01 Martin Rudalics <rudalics@gmx.at>
2884
2885 * window.el (switch-to-prev-buffer): Handle additional values of
2886 BURY-OR-KILL argument. Don't switch in minibuffer window.
2887 (switch-to-next-buffer): Don't switch in minibuffer window.
2888 (quit-restore-window): New function based on quit-window.
2889 Handle additional values of former KILL argument.
2890 (quit-window): Call quit-restore-window with appropriate
2891 interpretation of KILL argument.
2892 (display-buffer-below-selected): New buffer display action
2893 function.
2894
3d10e134
SM
28952012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
2896
2897 * minibuffer.el (completion-at-point-functions): Complete docstring
2898 (bug#12254).
2899
0e23ef9d
PE
29002012-09-01 Paul Eggert <eggert@cs.ucla.edu>
2901
2902 Better seed support for (random).
2903 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2904 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2905 * play/mpuz.el, play/tetris.el, play/zone.el:
2906 * calc/calc-comb.el (math-init-random-base):
2907 * play/blackbox.el (bb-init-board):
2908 * play/life.el (life):
2909 * server.el (server-use-tcp):
2910 * type-break.el (type-break):
2911 Remove unnecessary call to (random t).
2912 * net/sasl.el (sasl-unique-id-function):
2913 Change (random t) to (random), now that the latter is more random.
2914 * play/life.el (life-initialized): Remove no-longer-needed var.
2915
862382df
MR
29162012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
2917
2918 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2919 Consider frame's buffer predicate when choosing the buffer.
2920 (Bug#12081)
2921
262a66e1
RS
29222012-08-30 Richard Stallman <rms@gnu.org>
2923
2924 * simple.el (special-mode-map): Delete binding for `z'.
2925
f17e1d00
AS
29262012-08-30 Andreas Schwab <schwab@linux-m68k.org>
2927
2928 * progmodes/compile.el (compilation-always-kill): Doc fix.
2929
24777832
CY
29302012-08-30 Chong Yidong <cyd@gnu.org>
2931
2932 * window.el (display-buffer-reuse-frames): Make the obsolescence
2933 message more informative.
2934
69ba1f04
GM
29352012-08-30 Glenn Morris <rgm@gnu.org>
2936
2937 * paren.el (show-paren-delay):
2938 Add a :set function. Doc fix. (Bug#12297)
2939
f0019ede
MB
29402012-08-29 Martin Blais <blais@furius.ca> (tiny change)
2941
2942 * progmodes/compile.el (compilation-always-kill): New var.
2943 (compilation-start): Use it.
2944
35e62fc9
SM
29452012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2946
af070a1c
SM
2947 * simple.el (read-only-mode): Move from files.el for bootstrapping.
2948 * files.el (read-only-mode): Move to simple.el.
2949
35e62fc9
SM
2950 * files.el (read-only-mode): New minor mode.
2951 (toggle-read-only): Use it and mark obsolete.
2952 (find-file--read-only):
2953 * vc/vc.el (vc-next-action, vc-checkout):
2954 * vc/vc-cvs.el (vc-cvs-checkout):
2955 * obsolete/vc-mcvs.el (vc-mcvs-update):
2956 * ffap.el (ffap--toggle-read-only): Update callers.
2957
c2c43c23
MA
29582012-08-29 Michael Albinus <michael.albinus@gmx.de>
2959
2960 * eshell/esh-ext.el (eshell-external-command): Do not examine
972debf2
SM
2961 remote shell scripts.
2962 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
c2c43c23
MA
2963
2964 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2965 "/usr/local/sbin".
2966
9fba804b
SM
29672012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2968
2969 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2970
eada0861 29712012-08-28 Leo Liu <sdl.web@gmail.com>
22ab32ef 2972
806f0cc7
LL
2973 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2974 completion-at-point. (Bug#12220)
2975
3bb213b9
LL
2976 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2977
22ab32ef
LL
2978 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2979
eada0861 29802012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
db148c21 2981
19c17fc1
CY
2982 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2983 be buffer-local; add delete-trailing-whitespace (bug#12259).
db148c21 2984
eada0861 29852012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
ffe6eaf1
JM
2986
2987 * progmodes/hideif.el (hif-compress-define-list):
2988 Fix typo. (Bug#11951)
2989
eada0861 29902012-08-28 Dan Nicolaescu <dann@gnu.org>
d30aca1b
DN
2991
2992 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2993 buffer local setting.
2994
27d6c5a8
LL
2995 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2996 rcirc-encode-coding-system.
2997
eada0861 29982012-08-28 Leo Liu <sdl.web@gmail.com>
4432d2e2
LL
2999
3000 * net/rcirc.el (rcirc-split-message): New function.
3001 (rcirc-send-message): Use it. (Bug#12051)
3002
d44688e4
JL
30032012-08-28 Juri Linkov <juri@jurta.org>
3004
3005 * info.el (Info-fontify-node): Hide empty lines at the end of
3006 the node. (Bug#12272)
3007
34f10d41
MR
30082012-08-27 Drew Adams <drew.adams@oracle.com>
3009
3010 * dired.el (dired-pop-to-buffer): Make window start at beginning
3011 of buffer (Bug#12281).
3012
77f1f99c
CY
30132012-08-26 Chong Yidong <cyd@gnu.org>
3014
3015 * window.el (special-display-regexps, special-display-frame-alist)
3016 (special-display-buffer-names, special-display-function)
3017 (display-buffer-reuse-frames): Mark as obsolete.
3018
3019 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
3020
3021 * help.el (help-print-return-message): Don't treat
3022 display-buffer-reuse-frames specially.
3023
d97af5a0
CY
30242012-08-26 Chong Yidong <cyd@gnu.org>
3025
9fba804b
SM
3026 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
3027 New variable, replacing gdb-frame-parameters.
d97af5a0
CY
3028 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
3029 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
3030 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
3031 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
3032 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
3033 the functions directly with gdb-display-buffer-other-frame-action.
3034 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
3035 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
3036 (gdb-display-stack-buffer, gdb-display-locals-buffer)
3037 (gdb-display-registers-buffer): Define directly.
3038 (def-gdb-display-buffer): Macro deleted.
3039 (gdb-display-buffer): Remove second and third args, callers don't
3040 use them. Defer to the default display-buffer behavior, apart
3041 from making windows dedicated.
3042 (gdb-setup-windows): Don't call display-buffer unnecessarily.
3043
3044 * progmodes/gud.el (gud-display-line): Just use display-buffer.
3045
3046 * window.el (display-buffer-pop-up-frame): Handle a
3047 pop-up-frame-parameters alist entry.
3048 (display-buffer): Document it.
3049
dd7ffad6
CY
30502012-08-26 Chong Yidong <cyd@gnu.org>
3051
3052 * isearch.el (search-whitespace-regexp): Make string and nil
3053 values apply to both ordinary and regexp search. Allow a cons
3054 cell value to distinguish between the two.
3055 (isearch-whitespace-regexp, isearch-search-forward)
3056 (isearch-search-backward): New functions.
3057 (isearch-occur, isearch-search-fun-default, isearch-search)
3058 (isearch-lazy-highlight-new-loop): Use them.
3059 (isearch-forward, isearch-forward-regexp): Doc fix.
3060
4c47bd1e
CY
30612012-08-26 Chong Yidong <cyd@gnu.org>
3062
3063 * faces.el (help-argument-name): Always inherit from italic
3064 (Bug#12213).
3065
9aba119d
MR
30662012-08-25 Martin Rudalics <rudalics@gmx.at>
3067
3068 * window.el (window--even-window-heights): Even heights when
3069 WINDOW and the selected window form a vertical combination.
3070 (display-buffer-use-some-window): Provide that window used gets
3071 sized back by quit-window. (Bug#11880) and (Bug#12091)
3072
ca5256ad
PE
30732012-08-24 Paul Eggert <eggert@cs.ucla.edu>
3074
3075 Fix file time stamp problem with bzr and CVS (Bug#12001).
3076 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
3077 in the file's time stamp, since the version control system loses
3078 that information.
3079
d1c0d176
JL
30802012-08-22 Juri Linkov <juri@jurta.org>
3081
3082 * info.el (Info-fontify-node): Hide the suffix of the
3083 Info file name in the header line. (Bug#12187)
3084
141562ff
GM
30852012-08-22 Glenn Morris <rgm@gnu.org>
3086
3087 * calendar/cal-tex.el (cal-tex-weekly-common):
3088 Restore leading blank page.
3089
61a48e19 30902012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
add9ca2d
BG
3091
3092 * misc.el (forward-to-word, backward-to-word): Activate or extend
61a48e19
GM
3093 the region under `shift-select-mode'. (Bug#12231)
3094
30952012-08-22 Bastien Guerry <bzg@gnu.org>
0fcd3d9f
BG
3096
3097 * progmodes/executable.el (executable-prefix): Set to "#!" instead
3098 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
3099 gives details on why the space is never needed.
3100
ea95074e
MR
31012012-08-22 Martin Rudalics <rudalics@gmx.at>
3102
9fba804b
SM
3103 * window.el (walk-window-tree, window-with-parameter):
3104 New optional argument MINIBUF to control whether these functions
ea95074e
MR
3105 should run on the minibuffer window.
3106 (window-at-side-list): Don't operate on minibuffer window.
3107 (window-in-direction): Simplify and rewrite doc-string.
9fba804b
SM
3108 (window--size-ignore): Rename to window--size-ignore-p.
3109 Update callers.
caceae25
MR
3110 (display-buffer-in-atom-window, window--major-non-side-window)
3111 (window--major-side-window, display-buffer-in-major-side-window)
9fba804b
SM
3112 (delete-side-window, display-buffer-in-side-window):
3113 New functions.
caceae25
MR
3114 (window--side-check, window-deletable-p, delete-window)
3115 (delete-other-windows, split-window): Handle side windows and
3116 atomic windows appropriately.
3117 (window--display-buffer): Call display-buffer-record-window also
3118 when the window buffer did not change.
ea95074e 3119
80a51fa0
CS
31202012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
3121
3122 * help-fns.el (help-fns--key-bindings):
3123 Abbreviate non-symbol remap targets. (Bug#12174)
3124
fbb6300b
MR
31252012-08-22 Martin Rudalics <rudalics@gmx.at>
3126
3127 * dired.el (dired-mark-remembered): Don't clobber point.
3128 (Bug#11795)
3129
2b2c0794
GM
31302012-08-22 Glenn Morris <rgm@gnu.org>
3131
3132 * progmodes/bug-reference.el (bug-reference): New custom group.
3133 (bug-reference-bug-regexp): Make it a defcustom.
3134
37219830
DU
31352012-08-22 Daiki Ueno <ueno@unixuser.org>
3136
3137 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
3138 (js-paren-indent-offset, js-square-indent-offset)
3139 (js-curly-indent-offset): Add :safe (Bug#12257).
3140
94e0e559
EC
31412012-08-22 Edward O'Connor <hober0@gmail.com>
3142
3143 * json.el (json-key-format): Add error properties.
3144 (json-encode-key): New function.
3145 (json-encode-hash-table, json-encode-alist, json-encode-plist):
3146 Use json-encode-key.
3147
da485f5e
GM
31482012-08-22 Glenn Morris <rgm@gnu.org>
3149
3150 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
3151 (cal-tex-leftday, cal-tex-rightday): Remove functions.
3152 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
3153 Update for above change.
3154
c6cc78b8
AS
31552012-08-21 Andreas Schwab <schwab@linux-m68k.org>
3156
3157 * cus-face.el (custom-face-attributes): Fix customize type for the
3158 :underline attribute. (Bug#11805)
3159
5481664a
MR
31602012-08-21 Martin Rudalics <rudalics@gmx.at>
3161
3162 * window.el (window-point-1, set-window-point-1): Remove.
3163 (window-in-direction, record-window-buffer)
3164 (set-window-buffer-start-and-point, split-window-below)
9fba804b
SM
3165 (window--state-get-1, display-buffer-record-window):
3166 Replace calls to window-point-1 and set-window-point-1 by calls to
5481664a
MR
3167 window-point and set-window-point respectively.
3168
6d74698e
GM
31692012-08-21 Glenn Morris <rgm@gnu.org>
3170
b7fa2691
GM
3171 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
3172 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
3173 Use it.
3174
52f56d5a
GM
3175 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
3176 (cal-tex-shortday): New function.
3177 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
3178 (cal-tex-cursor-filofax-daily): Use the above.
3179
9f1ee09e
GM
3180 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
3181 New functions.
3182 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3183 (cal-tex-cursor-filofax-week): Use them.
3184
79858159
GM
3185 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
3186 New constants.
3187 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
3188 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
3189
d346b2b4
GM
3190 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
3191 (cal-tex-end-document): Don't rely on buffer name.
3192
b2403709
GM
3193 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
3194 Use cal-tex-vspace.
3195 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
3196 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2d225a3a
GM
3197 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
3198 Use cal-tex-arg.
b2403709 3199
1cebb5c0
GM
3200 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
3201 (cal-tex-cursor-week, cal-tex-cursor-week2)
3202 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
3203 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3204 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
3205 (cal-tex-insert-preamble, cal-tex-b-document)
3206 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
3207 Improve cal-tex-cmd usage.
3208
c68cd5d4
GM
3209 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
3210 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
3211 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
3212 (cal-tex-weekly-paper): New function.
3213 (cal-tex-cursor-week, cal-tex-cursor-week2)
3214 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
3215 (cal-tex-cursor-day): Use it.
3216
9dca4801
GM
3217 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
3218 (cal-tex-cursor-filofax-week): Remove leading blank page.
3219
1941e134
GM
3220 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3221 Add autoload cookie. For now at least, don't use color, since
3222 no other cal-tex function does.
3223
6d74698e
GM
3224 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
3225 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
3226 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
3227
64cde199
JL
32282012-08-21 Juri Linkov <juri@jurta.org>
3229
3230 * info.el (Info-file-attributes): New variable.
3231 (info-insert-file-contents): Add file attributes to
3232 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
3233 `Info-toc-nodes' when previous modtime of the Info file is less
3234 than new modtime.
3235 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
3236 of info.el. (Bug#12230)
3237
32757648
GM
32382012-08-20 Glenn Morris <rgm@gnu.org>
3239
3240 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
3241 * calendar/holidays.el (calendar-holiday-list):
3242 Report errors with display-warning rather than beep'n'sleep.
3243
a32fbbcf
MA
32442012-08-20 Michael Albinus <michael.albinus@gmx.de>
3245
3246 * net/tramp.el (tramp-accept-process-output): Accept only output
3247 from PROC. Otherwise, process filters and sentinels might be
3248 confused. (Bug#12145)
3249
a05731a0
CY
32502012-08-20 Chong Yidong <cyd@gnu.org>
3251
3252 * descr-text.el (describe-text-properties-1): Use overlays-in to
3253 report on empty overlays (Bug#3322).
3254
36e8d1eb
GM
32552012-08-20 Glenn Morris <rgm@gnu.org>
3256
3d300447
GM
3257 * mail/rmailout.el (rmail-output-read-file-name):
3258 Trap and report errors in rmail-output-file-alist elements.
3259
36e8d1eb
GM
3260 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3261 since most non-font-lock faces are not also variables).
3262
b96e5814
ER
32632012-08-20 Edward Reingold <reingold@iit.edu>
3264
3265 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3266 New function. (Bug12160)
3267
7cef3569
GM
32682012-08-19 Glenn Morris <rgm@gnu.org>
3269
3270 * mail/rmailout.el (rmail-output-read-file-name):
3271 Fix previous change (when the alist is nil or does not match).
3272
17975d7f
CY
32732012-08-19 Chong Yidong <cyd@gnu.org>
3274
3275 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3276 (Bug#12228).
3277
2170b1bd
CY
32782012-08-18 Chong Yidong <cyd@gnu.org>
3279
3280 * simple.el (yank-handled-properties): New defcustom.
3281 (yank-excluded-properties): Add font-lock-face and category.
3282 (yank): Doc fix.
3283
9fba804b
SM
3284 * subr.el (remove-yank-excluded-properties):
3285 Obey yank-handled-properties. The special handling of font-lock-face
2170b1bd
CY
3286 and category is now done this way, instead of being hard-coded.
3287 (insert-for-yank-1): Remove font-lock-face handling.
3288 (yank-handle-font-lock-face-property)
3289 (yank-handle-category-property): New function.
3290
ee218151
GM
32912012-08-17 Glenn Morris <rgm@gnu.org>
3292
3293 * mail/rmailout.el (rmail-output-read-file-name):
3294 Check rmail-output-file-alist against the full message body
3295 in the correct rmail buffer. (Bug#12214)
3296
4a6bc3fd
MA
32972012-08-17 Michael Albinus <michael.albinus@gmx.de>
3298
9fba804b
SM
3299 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3300 Eliminate superfluous prompt. (Bug#12203)
4a6bc3fd 3301
383dcbf9
CY
33022012-08-17 Chong Yidong <cyd@gnu.org>
3303
3304 * mouse.el (mouse-appearance-menu): If x-select-font returns a
3305 font spec, set the font directly (Bug#3228).
3306
998c4a6a
MR
33072012-08-17 Martin Rudalics <rudalics@gmx.at>
3308
3309 * window.el (delete-window): Fix last fix.
3310
52162052
MR
33112012-08-16 Martin Rudalics <rudalics@gmx.at>
3312
3313 * window.el (window-valid-p): Move to window.c.
85c2386b
MR
3314 (window-child, window-child-count, window-last-child)
3315 (window-normalize-window, window-combined-p)
3316 (window-combinations, window-atom-root, window-min-size)
3317 (window-sizable, window-sizable-p, window-size-fixed-p)
3318 (window-min-delta, window-max-delta, window--resizable)
3319 (window--resizable-p, window-resizable, window-total-size)
3320 (window-full-height-p, window-full-width-p, window-body-size)
3321 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3322 (minimize-window, window-deletable-p, delete-window)
3323 (delete-other-windows, set-window-buffer-start-and-point)
3324 (next-buffer, previous-buffer, split-window, balance-windows-2)
3325 (set-window-text-height, window-buffer-height)
3326 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9fba804b
SM
3327 (truncated-partial-width-window-p): Minor code adjustments.
3328 In doc-strings state whether the argument window has to denote a
85c2386b 3329 live, valid or any window.
52162052 3330
1c308380
PS
33312012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
3332
3333 * progmodes/subword.el (subword-forward-function)
3334 (subword-backward-function, subword-forward-regexp)
3335 (subword-backward-regexp): New variables.
3336 (subword-forward, subword-forward-internal, subword-backward-internal):
3337 Use new variables, eg so that different "word" definitions
3338 can be easily used. (Bug#11411)
3339
94c9ece1
SM
33402012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3341
3342 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3343 for composite selectors.
3344 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3345 operation just because we can't find a previous revision.
3346
f2045622
CY
33472012-08-15 Chong Yidong <cyd@gnu.org>
3348
3349 * frame.el (set-frame-font): Accept font objects.
3350
582db660
SM
33512012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3352
3353 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3354
2f29c200
WJ
33552012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
3356
456e62c2
WJ
3357 * man.el (Man-overstrike-face, Man-underline-face)
3358 (Man-reverse-face): Remove variables.
3359 (Man-overstrike, Man-underline, Man-reverse): New faces.
3360 (Man-fontify-manpage): Use them instead of the variables.
3361 (Man-cleanup-manpage): Comment change.
3362 (Man-ansi-color-map): New variable.
3363 (Man-fontify-manpage): Use it.
3364 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3365
2f29c200
WJ
3366 Implement ANSI SGR parameters 22-27 (bug#12146).
3367 * ansi-color.el (ansi-colors): Doc fix.
3368 (ansi-color-context, ansi-color-context-region): Doc fix.
3369 (ansi-color--find-face): New function.
3370 (ansi-color-apply, ansi-color-apply-on-region): Use it.
3371 Rename the local variable `face' to `codes' since it is now a list of
3372 ansi codes. Doc fix.
3373 (ansi-color-get-face): Remove.
3374 (ansi-color-parse-sequence): New function, derived from
3375 ansi-color-get-face.
3376 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
3377 codes 22-27.
3378
b4f5e9df
SM
33792012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
3380
3381 * subr.el (read-passwd): Allow use from a minibuffer.
3382
ba025fbd
EZ
33832012-08-14 Eli Zaretskii <eliz@gnu.org>
3384
3385 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3386 inside comments and strings as identifiers.
3387
3388 * progmodes/gud.el (gud-tooltip-print-command): Quote the
3389 expression to evaluate. This allows to evaluate expressions with
3390 embedded whitespace.
3391 (gud-tooltip-tips): Add a blank before the newline in the
3392 message-box text, for the benefit of message-box emulation on
3393 MS-Windows.
3394
3395 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3396 messages from GDB, pop them up in a tooltip to give feedback to
3397 user.
b4f5e9df
SM
3398 (gdb-tooltip-print-1): Quote the expression to evaluate.
3399 This allows to evaluate expressions with embedded whitespace.
ba025fbd
EZ
3400 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3401 if the TTY name is nil or empty (which happens when communicating
3402 with the inferior via pipes, e.g. on MS-Windows).
3403 (gdb-internals): If GDB sends a "&\n" empty debugging message,
3404 don't send that to the GUD buffer.
3405
c548f821
GM
34062012-08-14 Glenn Morris <rgm@gnu.org>
3407
3408 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3409 Optimize away setq-default with no args, as for setq. (Bug#12195)
3410
55802e4a
CY
34112012-08-14 Chong Yidong <cyd@gnu.org>
3412
4abcdac8
CY
3413 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3414
55802e4a
CY
3415 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3416 (Bug#12085).
3417
3c3cda1a
GM
34182012-08-14 Glenn Morris <rgm@gnu.org>
3419
3420 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3421
e1873bd0
MA
34222012-08-14 Michael Albinus <michael.albinus@gmx.de>
3423
3424 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3425 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3426 Use cached shell name.
3427
925411b4
FEG
34282012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3429
3430 * progmodes/python.el (python-shell-send-string):
3c3cda1a 3431 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 3432
e636fafe
DG
34332012-08-14 Dmitry Gutov <dgutov@yandex.ru>
3434
3435 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3436 (ruby-percent-literal-beg-re): New constant.
3437 (ruby-syntax-general-delimiters-goto-beg): Rename to
3438 `ruby-syntax-enclosing-percent-literal', improve literal type check.
3439 (ruby-syntax-propertize-general-delimiters): Rename to
3440 `ruby-syntax-propertize-percent-literal', it's a shorter and more
3441 popular term. Adjust comments everywhere.
3442 (ruby-syntax-propertize-percent-literal): Only propertize when not
3443 inside a simple string or comment. When the literal is unclosed,
3444 leave the text after it unpropertized.
f063063a
DG
3445 (ruby-syntax-methods-before-regexp): New constant.
3446 (ruby-syntax-propertize-function): Use it to recognize regexps.
3447 Don't look at the text after regexp, just use the whitelist.
e636fafe 3448
e5b19827
AS
34492012-08-14 Andreas Schwab <schwab@linux-m68k.org>
3450
3451 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3452 non-nil always load the compiled file if it exists. (Bug#12197)
3453
a9f6f311
CY
34542012-08-14 Chong Yidong <cyd@gnu.org>
3455
3456 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3457 (hi-lock-set-pattern): When deciding whether to use font lock or
3458 overlays, look at font-lock-mode instead of font-lock-fontified
3459 (Bug#12168).
3460 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3461 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3462
7d806b1e
DU
34632012-08-14 Daiki Ueno <ueno@unixuser.org>
3464
3465 * subr.el (internal--after-with-selected-window): Fix typo
3466 (Bug#12193).
3467
5beed586
FEG
34682012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
3469
3470 Use `completion-table-dynamic' for completion functions.
3471 * progmodes/python.el
3472 (python-shell-completion--do-completion-at-point)
e636fafe
DG
3473 (python-shell-completion--get-completions):
3474 Remove functions.
5beed586
FEG
3475 (python-shell-completion-complete-at-point): New function.
3476 (python-completion-complete-at-point): Use it.
3477
92cb3b04
J
34782012-08-13 Jambunathan K <kjambunathan@gmail.com>
3479
3480 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3481 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3482
89660017
SM
34832012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3484
3c98c962
SM
3485 * subr.el (function-get): Refine `autoload' arg so it can also
3486 autoload functions for gv.el (bug#12191).
3487 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3488 autoloads macros.
3489
aa7c6dbe
SM
3490 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3491 Prefer pcase-let over destructuring-bind.
3492 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3493 Also, remove whitespace as we go, rather than after accumulating the
3494 various places.
3495
89660017
SM
3496 * subr.el (internal--before-with-selected-window)
3497 (internal--after-with-selected-window): Fix typo seleted->selected.
3498 (with-selected-window): Adjust callers.
3499 Reported by Dmitry Gutov <dgutov@yandex.ru>.
3500
31cd32c9
BG
35012012-08-13 Bastien Guerry <bzg@gnu.org>
3502
0fcd3d9f 3503 * window.el (special-display-popup-frame): Minor docstring
31cd32c9
BG
3504 enhancement. (Bug#12172)
3505
1b15d8ad
AS
35062012-08-13 Andreas Schwab <schwab@linux-m68k.org>
3507
31e54db0
AS
3508 * tar-mode.el (tar-header-data-end): Only ignore size for files of
3509 type 1-6.
3510 (tar-header-block-summarize, tar-get-descriptor): Handle pax
3511 extended headers.
3512
1b15d8ad
AS
3513 * files.el (hack-local-variables-filter): Remove useless eval.
3514
35cb9c06
MR
35152012-08-13 Martin Rudalics <rudalics@gmx.at>
3516
3517 * subr.el (with-selected-window): Fix last change.
3518
1439443b
SM
35192012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * subr.el (internal--before-with-seleted-window)
3522 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
3523 (with-selected-window): Use them, to replace dependency on
3524 tty-top-frame.
1439443b 3525
0d9e2599
NN
35262012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
3527
3528 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3529 binding for `newline'.
3530 (ruby-move-to-block): When moving backward, stop at block opening,
3531 not indentation.
3532 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3533 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3534 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3535 `ruby-toggle-block'.
3536
ba10c48c
SM
35372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
3538
3539 * ibuffer.el (ibuffer-do-toggle-read-only):
3540 * dired.el (dired-toggle-read-only):
3541 * buff-menu.el (Buffer-menu-toggle-read-only):
3542 * bindings.el (mode-line-toggle-read-only):
3543 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3544
9229c658
AS
35452012-08-12 Andreas Schwab <schwab@linux-m68k.org>
3546
3547 * descr-text.el (describe-char): Put the overlays over the
3548 "displayed as" character.
3549
0fd09128
JB
35502012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
3551
3552 * calc/calc-units.el (math-default-units-table): Give an
3553 initial value.
3554 (math-put-default-units): Add options to put composite units and
3555 unit systems in the default units table.
3556 (calc-convert-units): Send composite units to
3557 `math-put-default-units' when appropriate.
3558
9ff9402d 35592012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 3560
fbb5e336
GM
3561 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3562
7aacaf15
GM
3563 * tutorial.el (help-with-tutorial):
3564 * emacs-lisp/copyright.el (copyright-update-directory):
3565 * emacs-lisp/autoload.el (autoload-find-generated-file)
3566 (autoload-find-file): Disable local eval: (for insurance).
3567
f40b9f10
GM
3568 * files.el (hack-local-variables-filter): If an eval: form is not
3569 known to be safe, and enable-local-variables is :safe, then ignore
3570 the form totally, as is done for non-eval forms. (Bug#12155)
6f97980a 3571 This is CVE-2012-3479.
f40b9f10 3572
daa9f1a6
SM
35732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3574
3575 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3576 (rx-form): Simplify.
3577
9cd80478
DG
35782012-08-09 Dmitry Gutov <dgutov@yandex.ru>
3579
0d9e2599
NN
3580 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3581 ?, _, and : are symbol constituents, ! is not (but kinda should be).
3582 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3583 (ruby-syntax-propertize-function): Adjust for changes in
3584 `ruby-syntax-propertize-heredoc'.
3585
35862012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
3587
9cd80478
DG
3588 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3589 binding (use `M-;' instead).
9cd80478 3590 (ruby-singleton-class-p): New function.
0d9e2599 3591 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 3592
d301b413
SM
35932012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3594
3595 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3596
1530c98e
CY
35972012-08-10 Chong Yidong <cyd@gnu.org>
3598
3599 * progmodes/python.el (python-shell-get-process-name): Don't mess
3600 with same-window-buffer-names.
3601
3602 * eshell/eshell.el (eshell-add-to-window-buffer-names)
3603 (eshell-remove-from-window-buffer-names): Make obsolete.
3604 (eshell-buffer-name, eshell-unload-hook): Don't use them.
3605 (eshell): Just use pop-to-buffer-same-window instead.
3606
e1293765
CY
36072012-08-10 Chong Yidong <cyd@gnu.org>
3608
3609 * bindings.el: Bind M-= back to count-words-region.
3610
3611 * simple.el (count-words-region): Accept a prefix arg for acting
3612 on the entire buffer.
3613 (count-words--buffer-message): New helper function.
3614
e1894109
SM
36152012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3618 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3619 (event-start, event-end): Use posn-at-point to return a more
3620 informative posn.
3621 (posnp): New function.
3622 * mouse.el (popup-menu-normalize-position): Use it.
3623
c69f56a2
MY
36242012-08-10 Masatake YAMATO <yamato@redhat.com>
3625
3626 * mouse.el (popup-menu-normalize-position): New function.
3627 (popup-menu): Use `popup-menu-normalize-position' to normalize
3628 the form for POSITION argument.
3629
3630 * term/x-win.el (x-menu-bar-open):
3631 Use the value returend from (posn-at-point) as position
3632 passed to `popup-menu'.
3633
31673780
JB
36342012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3635
3636 * calc/calccomp.el (math-compose-expr): Add extra argument
3637 indicating that parentheses should be put around products in
3638 denominators. Give multiplication precedence over division during
3639 composition.
3640
dab7711b
CY
36412012-08-09 Chong Yidong <cyd@gnu.org>
3642
dee4ef93
CY
3643 * man.el (Man-switches, Man-sed-command, Man-awk-command)
3644 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3645 (Man-untabify-command, manual-program): Convert to defcustom
3646 (Bug#10429).
3647
73e2bbc5
CY
3648 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3649
3e861c8a
CY
3650 * descr-text.el (describe-char): Don't insert extra newlines
3651 (Bug#10127).
3652
a9f5a649
CY
3653 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3654 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3655
dab7711b
CY
3656 * align.el (align-region): Delete temporary markers (Bug#10047).
3657 Plus some code cleanups.
3658
e0cc4efa
FEG
36592012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3660
3661 * progmodes/python.el (python-pdbtrack-tracked-buffer)
3662 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3663 (python-shell-internal-last-output): Use make-local-variable
3664 instead of make-variable-buffer-local.
3665
489af14f
FEG
36662012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
3667
3668 * progmodes/python.el: Enhancements to forward-sexp.
3669 (python-nav-forward-sexp): Rename from
3670 python-nav-forward-sexp-function.
c69f56a2
MY
3671 (python-nav--forward-sexp, python-nav--backward-sexp):
3672 New functions.
489af14f 3673
0fc50303
JB
36742012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
3675
3676 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3677 modes and simplification modes.
3678
5d65606a
SM
36792012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3680
3681 * delsel.el (delete-selection-pre-hook): Don't propagate the
3682 file-supersession signals (bug#12161).
3683
4250fdf5
SM
36842012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3685
3686 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3687 (cl-map-extents): Add compatibility aliases (bug#12135).
3688
d9f9b465
MA
36892012-08-08 Michael Albinus <michael.albinus@gmx.de>
3690
3691 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3692 tests by `ignore-error'.
3693 (tramp-find-shell): Open also a new shell, when cache is already
3694 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
3695
ce0fcefa
JL
36962012-08-08 Juri Linkov <juri@jurta.org>
3697
3698 * bookmark.el: Add `defaults' property to the bookmark record.
3699 (bookmark-current-buffer): Doc fix.
3700 (bookmark-make-record): Add `defaults' property with default values
3701 to the bookmark record.
3702 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3703 with `bookmark-insert-current-bookmark'.
3704 (bookmark-set): Get `defaults' property from the bookmark record
3705 and use it in `read-from-minibuffer'.
3706 (bookmark-insert-current-bookmark): Remove function.
3707
3708 * info.el (Info-bookmark-make-record): Add `defaults' property
3709 with values of canonical Info node name, the current Info file
3710 name and the current Info node name. (Bug#12107)
3711
53fa8652
JL
37122012-08-08 Juri Linkov <juri@jurta.org>
3713
3714 * files.el (basic-save-buffer): Use `buffer-name' as the default
3715 of `read-file-name' when buffer is not visiting a file (bug#12128).
3716
242c0a95
JL
37172012-08-08 Juri Linkov <juri@jurta.org>
3718
3719 * info.el (Info-isearch-search): Doc fix.
3720 (Info-search): Change search-failed message from "initial node" to
3721 "end of node" (bug#12078).
3722 (Info-isearch-search): Change `isearch-string-state' to
3723 `isearch--state-string'.
3724
32ac3a6b
GM
37252012-08-08 Glenn Morris <rgm@gnu.org>
3726
3727 * language/persian.el: Remove file.
f8c1afd5 3728 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
3729 * loadup.el: Remove language/persian.
3730
2c2d9c9c
OF
37312012-08-08 Óscar Fuentes <ofv@wanadoo.es>
3732
3733 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3734
2d79ec42
FEG
37352012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
3736
3737 * progmodes/python.el Fixed defsubst warning.
3738 (python-syntax-context) Rename from python-info-ppss-context.
3739 (python-syntax-context-type): Rename from
3740 python-info-ppss-context-type.
3741 (python-syntax-comment-or-string-p): Rename from
3742 python-info-ppss-comment-or-string-p.
3743
2bd255dd
JB
37442012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
3745
3746 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3747
c395097f
AS
37482012-08-07 Andreas Schwab <schwab@linux-m68k.org>
3749
6125983e
AS
3750 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3751 a defcustom that is quoted with backquote.
3752
4250fdf5
SM
3753 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3754 Fix handling of interactive spec when the body uses return.
651eaf36
AS
3755 (math-do-arg-check, math-define-function-body): Use backquote forms.
3756 * calc/calc-ext.el (math-defcache): Likewise.
3757 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3758 * allout.el (allout-new-exposure): Likewise.
3759 * calc/calcalg2.el (math-tracing-integral): Likewise.
3760 * info.el (Info-last-menu-item): Likewise.
3761 * emulation/vip.el (vip-loop): Likewise.
3762 * textmodes/artist.el (artist-funcall): Likewise.
3763 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3764 Construct menu-item directly.
3765
4250fdf5
SM
3766 * progmodes/autoconf.el (font-lock-syntactic-keywords):
3767 Don't declare.
c395097f 3768
5fb50dd3
CY
37692012-08-07 Chong Yidong <cyd@gnu.org>
3770
3771 * simple.el (deactivate-mark): Preserve text properties when
3772 saving the primary selection (Bug#8384).
3773
54eea618
KR
37742012-08-07 Kevin Ryde <user42@zip.com.au>
3775
3776 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3777 (woman-parse-numeric-value): On a bad .IP line, issue a warning
3778 and continue processing (Bug#12110).
3779
638eaeb9
SM
37802012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3781
3782 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3783 syntax-propertize-function (bug#10095).
3784
ea376861
SM
37852012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
3786
f91b35be
SM
3787 * help-fns.el (help-fns--key-bindings, help-fns--signature)
3788 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3789 describe-function-1.
3790 (describe-function-1): Use them. Move compiler macro after sig.
3791 (help-fns--compiler-macro): Use function-get. Assume we're already in
3792 standard-output. Adjust layout to new call order.
3793
ea376861
SM
3794 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3795 re-binding a symbol that has a symbol-macro (bug#12119).
3796
d5be7bd0
MB
37972012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
3798
3799 * language/persian.el: New file. (Bug#11812)
3800 * loadup.el: Add language/persian.el.
3801
90749b53
CY
38022012-08-06 Chong Yidong <cyd@gnu.org>
3803
3804 * window.el (window--maybe-raise-frame): New function.
3805 (window--display-buffer): Split off from here.
3806 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3807 (display-buffer-pop-up-window, display-buffer-use-some-window):
3808 Obey an inhibit-switch-frame action alist entry.
3809 (display-buffer): Update doc.
3810
3811 * replace.el (occur-after-change-function): Avoid losing focus by
3812 using the inhibit-switch-frame display parameter (Bug#12139).
3813
ba7b0154
FEG
38142012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
3815
3816 Make internal shell process buffer names start with space.
3817 * progmodes/python.el (python-shell-make-comint): Add optional
3818 argument INTERNAL.
3819 (run-python-internal): Use it.
3820 (python-shell-internal-get-or-create-process): Check for new
3821 internal buffer names.
3822
5eaeacb5
GM
38232012-08-06 Glenn Morris <rgm@gnu.org>
3824
e296d94b 3825 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
3826 Do less getting and setting of environment variables.
3827
b7ccbdc2
CY
38282012-08-05 Chong Yidong <cyd@gnu.org>
3829
777fe95e
CY
3830 * proced.el (proced): Add substitution string to docstring to
3831 trigger autoloading of the proced library on C-h f (Bug#1768).
3832
4250fdf5
SM
3833 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3834 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
3835
3836 * imenu.el (imenu-generic-expression): Move documentation here
3837 from imenu--generic-function.
3838 (imenu--generic-function): Refer to imenu-generic-expression.
3839
9e3b7800 38402012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
3841
3842 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3843 indentation declaration.
3844 (viper-loop): Add indentation declaration (Bug#7025).
3845
e5d9c0d1
CY
38462012-08-05 Chong Yidong <cyd@gnu.org>
3847
f0422feb
CY
3848 * help-fns.el (describe-variable): Add hyperlink for
3849 directory-local variables files. Improve buffer-local and
3850 permanent-local reporting; suggested by MON KEY (Bug#6644).
3851
3852 * help-mode.el (help-dir-local-var-def): New button type.
3853
e5d9c0d1
CY
3854 * files.el (kill-buffer-hook): Provide a defvar.
3855
a4f2deaa
GM
38562012-08-05 Glenn Morris <rgm@gnu.org>
3857
3858 * eshell/esh-ext.el (eshell/addpath):
3859 Also update eshell-path-env. (Bug#12013)
3860
a9dd5754
CY
38612012-08-05 Chong Yidong <cyd@gnu.org>
3862
a4f2deaa 3863 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 3864
d014c740
CY
3865 * fringe.el (fringe-styles): Add docstring.
3866 (fringe--check-mode): New function.
3867 (set-fringe-mode, set-fringe-style): Use it.
3868 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3869
a9dd5754
CY
3870 * files.el (set-auto-mode): Fix invalid setq call.
3871
7c2dc8bd
SM
38722012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * isearch.el: Misc simplification; use defstruct.
3875 (isearch-mode-map): Dense maps now work like sparse ones.
3876 (isearch--state): New defstruct.
3877 (isearch-string-state, isearch-message-state, isearch-point-state)
3878 (isearch-success-state, isearch-forward-state)
3879 (isearch-other-end-state, isearch-word-state, isearch-error-state)
3880 (isearch-wrapped-state, isearch-barrier-state)
3881 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3882 replaced by defstruct's accessors.
3883 (isearch--set-state): Rename from isearch-top-state and change
3884 calling convention.
3885 (isearch-push-state): Use new isearch--get-state.
3886 (isearch-toggle-word): Disable regexp when enabling word.
3887 (isearch-message-prefix): Remove unused arg _c-q-hack.
3888 (isearch-message-suffix): Remove unused arg _ellipsis.
3889
7fcc0070
AS
38902012-08-04 Andreas Schwab <schwab@linux-m68k.org>
3891
3892 * simple.el (list-processes--refresh): For a server use :host or
3893 :local as the address.
97ad0769 3894 (list-processes): Doc fix.
7fcc0070 3895
a11035b8 38962012-08-04 Michal Nazarewicz <mina86@mina86.com>
00340faf
MN
3897
3898 * lisp/mpc.el: Support password in host argument.
3899 (mpc--proc-connect): Parse and use new password element.
3900 Set mpc-proc variable instead of returning process.
3901 (mpc-proc): Adjust accordingly.
3902
6dad7178
EZ
39032012-08-03 Eli Zaretskii <eliz@gnu.org>
3904
18949c2f
EZ
3905 * whitespace.el (whitespace-display-mappings): Use Unicode
3906 codepoints, instead of emacs-mule codepoints. See
3907 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3908 for the details.
3909
6dad7178
EZ
3910 * files.el (file-truename): Don't skip symlink-chasing part on
3911 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
3912 Windows into the loop that recursively chases symlinks.
3913 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
3914 MS-DOS.
3915
385b0198
CY
39162012-08-03 Chong Yidong <cyd@gnu.org>
3917
6200f3c4
CY
3918 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3919
385b0198
CY
3920 * sort.el (sort-regexp-fields): Doc fix.
3921
b9e74744
TH
39222012-08-03 Tassilo Horn <tsdh@gnu.org>
3923
3924 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3925 labels regex position point at the expected place.
3926
41013cb4
MK
39272012-08-03 MON KEY <monkey@sandpframing.com>
3928
3929 * net/imap.el (imap-interactive-login, imap-authenticate)
3930 (imap-mailbox-lsub, imap-mailbox-list)
3931 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3932 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3933 (imap-parse-response): Doc fix.
3934
0ffee616
JT
39352012-08-03 João Távora <joaotavora@gmail.com>
3936
3937 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3938 if sexp scanning does not move point (Bug#5734).
3939
cfcc9cc8
TH
39402012-08-02 Tassilo Horn <tsdh@gnu.org>
3941
3942 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3943 Add listings, minted, and ctable packages.
3944 (reftex-label-alist-builtin): Move listings, minted, and ctable
3945 entries before LaTeX.
a01bbb84 3946 (reftex-label-alist): Docfix.
cfcc9cc8 3947
66ec2442
BG
39482012-08-02 Bastien Guerry <bzg@gnu.org>
3949
3950 * replace.el (occur): Fix docstring (bug#12122).
3951
837b365b
GM
39522012-08-02 Glenn Morris <rgm@gnu.org>
3953
3954 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3955
e098de97
PE
39562012-08-02 Paul Eggert <eggert@cs.ucla.edu>
3957
3958 Obsolete alias inactivate-current-input-method-function (Bug#10150).
3959 * international/mule-cmds.el: Create
3960 inactivate-current-input-method-function as an obsolete alias for
3961 deactivate-current-input-method-function. See Katsumi Yamaoka in
3962 <http://bugs.gnu.org/10150#46>.
3963
a0f95636
JB
39642012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
3965
3966 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3967 of nested `if's.
3968
0d26d7c4
GM
39692012-08-01 Glenn Morris <rgm@gnu.org>
3970
3971 * progmodes/autoconf.el (autoconf-definition-regexp):
3972 Add AH_TEMPLATE, adjust submatch numbering.
3973 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3974 (autoconf-current-defun-function): Update for above change.
3975 (autoconf-current-defun-function): First skip to end of current word.
3976
b686ba06
RS
39772012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
3978
3979 * calendar/cal-html.el (cal-html-insert-agenda-days):
3980 Fix typo. (Bug#12018)
3981
0d49da68
FEG
39822012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
3983
3984 Shell processes: enhancements to startup and CEDET compatibility.
3985 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3986 (python-shell-make-comint): accept-process-output at startup.
3987 (run-python-internal): Set inferior-python-mode-hook to nil.
3988 (python-shell-internal-get-or-create-process): call sit-for.
3989 (python-preoutput-result): Add obsolete alias.
3990 (python-shell-internal-send-string): Use it.
3991 (python-shell-send-setup-code): Remove call to
3992 accept-process-output.
3993
f1a71c6e
AS
39942012-07-31 Andreas Schwab <schwab@linux-m68k.org>
3995
3996 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3997 (Bug#12108)
3998
d2605269
JB
39992012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
4000
4001 * calc-mode.el (calc-basic-simplification-mode): Rename from
4002 `calc-limited-simplification-mode'.
4003 (calc-alg-simplification-mode): New function.
fc0c31f8 4004 (calc-set-simplify-mode): Adjust message.
f1a71c6e 4005
d2605269
JB
4006 * calc.el (calc-set-mode-line): Adjust mode line display for
4007 basic simplification mode.
4008
4009 * calc-help.el (calc-m-prefix-help): Update help message.
4010
4011 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
4012 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
4013
a3827a43
BG
40142012-07-31 Bastien Guerry <bzg@gnu.org>
4015
4016 * man.el (man): Fix comment. (bug#12101)
4017
502e3f89
MR
40182012-07-31 Martin Rudalics <rudalics@gmx.at>
4019
4020 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4021 Don't return a non-nil value when no suitable buffer was found.
4022
d7714961
FEG
40232012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
4024
4025 * progmodes/python.el (run-python-internal): Disable font lock for
4026 internal shells.
4027
1f45e27e
SM
40282012-07-30 Stefan Merten <smerten@oekonux.de>
4029
70efc5c9 4030 * textmodes/rst.el: Silence `checkdoc-ispell'.
1f45e27e
SM
4031 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4032 (rst-official-version, rst-official-cvs-rev)
4033 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
4034 (rst-mode-map): New key binding.
4035
0aee6912
PE
40362012-07-30 Paul Eggert <eggert@cs.ucla.edu>
4037
4038 Update .PHONY listings in makefiles.
4039 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
4040 autoloads, update-subdirs, updates, bzr-update, update-authors,
4041 compile-onefile, compile-calc, backup-compiled-files,
4042 compile-after-backup, compile-one-process, mh-autoloads,
4043 bootstrap-clean, distclean, maintainer-clean.
4044
9052f9f0
JB
40452012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
4046
1823ac5a
JB
4047 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
4048 (calc-set-mode-line): Don't display "AlgSimp ".
4049
4050 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
4051 (calc-lim-simplify-mode): New function.
4052 (calc-set-simplify-mode): Default to 'alg.
4053 (calc-default-simplify-mode): Make algebraic simplifications
4054 the default.
4055
4056 * calc/calc-ext.el (calc-init-extensions): Remove binding for
4057 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
4058
8d7c7eed 4059 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
4060 indicate new simplification modes.
4061
1823ac5a
JB
4062 * calc/README: Mention new default simplification mode.
4063
9052f9f0
JB
4064 * calc/calc.el (math-normalize-error): New variable.
4065 (math-normalize): Set `math-normalize-error' to t
4066 when there's an error.
4067
4068 * calc/calc-alg.el (math-simplify): Don't simplify when
4069 `math-normalize' returns an error.
4070
20ba0cb4
EZ
40712012-07-29 Eli Zaretskii <eliz@gnu.org>
4072
4073 * international/mule-cmds.el (set-locale-environment): Revert last
4074 change, since display-graphic-p returns nil when this function is
4075 called during startup. Instead...
4076
4077 * term/w32console.el (terminal-init-w32console): ...setup the
4078 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
4079
a5dcc929
JL
40802012-07-29 Juri Linkov <juri@jurta.org>
4081
4082 * simple.el (goto-line): Don't display default line number in the
4083 prompt because it should be displayed by `read-number' (bug#9952).
4084 Add the current line number to the defaults of `goto-line' to
4085 allow its easier modification by users with `M-n' (bug#9201).
4086
4087 * subr.el (read-number): Support multiple default values like in
4088 other minibuffer reading functions. Replace `read' with
4089 `string-to-number' for consistency with `number-to-string'.
4090
72b255c7
PE
40912012-07-29 Paul Eggert <eggert@cs.ucla.edu>
4092
4093 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
4094 * emulation/viper-init.el (viper-deactivate-input-method-action):
4095 Rename from viper-inactivate-input-method-action.
4096 (viper-deactivate-input-method):
4097 Rename from viper-inactivate-input-method.
4098 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
4099 * international/mule-cmds.el (deactivate-input-method):
4100 Rename from inactivate-input-method.
4101 Also run input-method-deactivate-hook.
4102 (deactivate-current-input-method-function):
4103 Rename from inactivate-current-input-method-function.
4104 (input-method-deactivate-hook): New hook.
4105 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
4106 (inactivate-input-method): Mark obsolete.
4107
72b255c7
PE
4108 * international/quail.el (quail-activate):
4109 Also run quail-deactivate-hook.
4110 (quail-deactivate): Rename from quail-inactivate.
4111 * international/robin.el (robin-activate):
4112 Also run robin-deactivate-hook.
4113 (robin-deactivate): Rename from robin-inactivate.
4114
2549c068
CY
41152012-07-29 Chong Yidong <cyd@gnu.org>
4116
4117 * simple.el (indicate-copied-region): New function.
4118 (kill-ring-save): Split off from here.
4119
4120 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
4121 (kill-rectangle): Set deactivate-mark to t on read-only error.
4122
4123 * register.el (copy-to-register, copy-rectangle-to-register):
4124 Deactivate the mark, and use indicate-copied-region (Bug#10056).
4c478e6b
JL
4125 (append-to-register, prepend-to-register): Call indicate-copied-region.
4126
41272012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
4128
4129 * simple.el (async-shell-command-buffer): New defcustom.
4130 (shell-command): Use it. (Bug#4719)
4131
01bd1b0d
EZ
41322012-07-28 Eli Zaretskii <eliz@gnu.org>
4133
4134 * international/mule-cmds.el (set-locale-environment): In a
4135 console session on MS-Windows, set up keyboard and terminal
4136 encoding from the OEM codepage, not the ANSI codepage.
4137 (Bug#12055)
4138
a55739d3
CY
41392012-07-28 Chong Yidong <cyd@gnu.org>
4140
4141 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
4142 gdb-get-location.
4143
0e1a094f 41442012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
4145
4146 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
4147 the alist (bug#12029).
4148
20329d73
EZ
41492012-07-28 Eli Zaretskii <eliz@gnu.org>
4150
4151 * makefile.w32-in (custom-deps, finder-data, updates, compile)
4152 (compile-always, compile-first)
4153 ($(lisp)/calendar/cal-loaddefs.el)
4154 ($(lisp)/calendar/diary-loaddefs.el)
4155 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4156 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
4157 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
4158 instead of on update-subdirs.
4159 (bootstrap-clean): Delete $(lisp)/subdirs.el.
4160
345a2258
CY
41612012-07-28 Chong Yidong <cyd@gnu.org>
4162
1eee6341
CY
4163 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
4164 directory if vc-deduce-backend returns nil (Bug#7350).
4165
345a2258
CY
4166 * simple.el (delete-trailing-lines): New option.
4167 (delete-trailing-whitespace): Obey it (Bug#11879).
4168
049a0936
DE
41692012-07-28 David Engster <deng@randomsample.de>
4170
4171 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
4172 Explanation of new 'symbol-qnames feature in doc-strings.
4173 (xml-maybe-do-ns): Return expanded names as plain symbols if
4174 'symbol-qnames was provided in XML-NS argument (Bug#11916).
4175 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
4176
aa81af71
FEG
41772012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4178
4179 Consistent completion in inferior python with emacs -nw.
4180 * progmodes/python.el (inferior-python-mode): replace "<tab>"
4181 binding in inferior-python-mode-map with "\t".
4182 (python-shell-completion-complete-at-point)
4183 (python-completion-complete-at-point): Remove interactive spec.
4184
e827b1eb
JB
41852012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4186
4187 * calc/calccomp.el (math-compose-expr): Undo previous change.
4188
a90dfb95
FEG
41892012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
4190
4250fdf5 4191 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
4192 run-python.
4193 (python-shell-make-comint): Fix pop-to-buffer call.
4194 (run-python): Autoload. New arg SHOW.
4195 (python-shell-get-or-create-process): Do not pop python process
4196 buffer.
4197
32770973 41982012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
4199
4200 * notifications.el (notifications-on-action-signal)
4201 (notifications-on-closed-signal): Use also the bus address for the map.
4202 (notifications-notify, notifications-close-notification)
fc0c31f8 4203 (notifications-get-capabilities): Add optional argument BUS.
1c6ef030 4204
86332df2
TH
42052012-07-27 Tassilo Horn <tsdh@gnu.org>
4206
4250fdf5
SM
4207 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4208 Add support for the lstlisting and minted environments, and for the
86332df2
TH
4209 ctable macro.
4210 * textmodes/reftex.el (reftex-compile-variables): Also recognize
4211 labels written in keyvals syntax.
4212
ca1302a4
JB
42132012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
4214
4215 * calc/calccomp.el (math-compose-expr): Use parentheses when
4216 there is a product in the denominator of a fraction.
4217
f8b91036
EZ
42182012-07-26 Eli Zaretskii <eliz@gnu.org>
4219
4220 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
4221 ($(lisp)/calendar/diary-loaddefs.el)
4222 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
4223 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
4224 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
4225 rewritten while the autoload files are built at the same time,
4226 which needs to load subdirs.el.
4227
c8e5a42c
MR
42282012-07-26 Martin Rudalics <rudalics@gmx.at>
4229
4230 * mouse.el (popup-menu): Fix doc-string and re-indent code.
4231 (mouse-drag-line): Don't exit tracking when a switch-frame or
4232 switch-window event occurs (Bug#12006).
4233
670d85ea
SM
42342012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4235
4236 * mouse.el (popup-menu): Fix last change.
4237
7abaf5cc
SM
42382012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4239
4240 Autoload from Lisp with more care. Follow aliases when looking for
4241 function properties.
4242 * subr.el (autoloadp): New function.
4243 (symbol-file): Use it.
4244 (function-get): New function.
4245 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
4246 autoload-do-load.
4247 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
4248 (lisp-indent-function):
4249 * emacs-lisp/gv.el (gv-get):
4250 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
4251 * emacs-lisp/byte-opt.el (byte-optimize-form):
4252 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
4253 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
4254 Use function-get.
4255 * emacs-lisp/cl.el: Don't propagate function properties any more.
4256
4257 * speedbar.el (speedbar-add-localized-speedbar-support):
4258 * emacs-lisp/disass.el (disassemble-internal):
4259 * desktop.el (desktop-load-file):
4260 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4261 (describe-function-1):
4262 * emacs-lisp/find-func.el (find-function-noselect):
4263 * emacs-lisp/elp.el (elp-instrument-function):
4264 * emacs-lisp/advice.el (ad-has-proper-definition):
4265 * apropos.el (apropos-safe-documentation, apropos-macrop):
4266 * emacs-lisp/debug.el (debug-on-entry):
4267 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4268 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4269 * calc/calc.el (name): Use autoloadp & autoload-do-load.
4270
b1364986
AA
42712012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
4272
4273 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4274 function, not an obsolete variable (Bug#12046).
4275
67ada220
AS
42762012-07-25 Andreas Schwab <schwab@linux-m68k.org>
4277
4278 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
4279
f08088e3
CS
42802012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
4281
4282 * emacs-lisp/pp.el (pp-display-expression): Select old selected
4283 window only if it is still live (Bug#12034).
4284
8137e7b3
MR
42852012-07-25 Martin Rudalics <rudalics@gmx.at>
4286
4287 * subr.el (redirect-frame-focus): Add advertised calling
4288 convention (Bug#12030).
4289
09ae5da1
PE
42902012-07-25 Paul Eggert <eggert@cs.ucla.edu>
4291
4292 Prefer typical American spelling for "acknowledgment".
4293 * vc/add-log.el (change-log-acknowledgment): Rename from
4294 change-log-acknowledgement, with an alias for the old name.
4295
3cc5a3a8
JB
42962012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
4297
4298 * calc-alg.el (math-simplify-divide): Don't cross multiply
4299 in an equation when the lhs is a variable.
4300
b7af7f62
JD
43012012-07-24 Julien Danjou <julien@danjou.info>
4302
4303 * net/netrc.el (netrc-find-service-number, netrc-store-data):
4304 Remove, unused.
4305
ec1b09b1
EZ
43062012-07-23 Eli Zaretskii <eliz@gnu.org>
4307
4308 * startup.el (command-line): Don't display an empty user name in
4309 the error message about non-existent home directory, when
4310 init-file-user was set to an empty string. See
4311 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4312 for the details and context.
4313
b525fd8a
VB
43142012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
4315
4316 * ses.el (ses-cell-formula-aset): New macro.
4317 (ses-cell-references-aset): New macro.
4318 (ses-cell-p): New function.
4319 (ses-rename-cell): Do no longer rely on complex operations like
4320 ses-cell-set-formula or ses-set-cell to change the cell and handle
4321 the undo at the same time, but rather use lower level new macros
4322 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
fc0c31f8 4323 the undo directly. Refresh the mode line.
b525fd8a 4324
2c73e345
LL
43252012-07-21 Leo Liu <sdl.web@gmail.com>
4326
670d85ea
SM
4327 * progmodes/cc-cmds.el (c-defun-name):
4328 Use match-string-no-properties instead for consistency.
2c73e345 4329
542dfbde
LL
43302012-07-20 Leo Liu <sdl.web@gmail.com>
4331
3646bcd6
LL
4332 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4333 (Bug#7879)
4334
542dfbde
LL
4335 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4336
25721031
CY
43372012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4340 * progmodes/bug-reference.el, misearch.el: Provide themselves
4341 (bug#11915).
4342
4343 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4344 of narrowed buffer (bug#11966).
4345
316e68a7
VB
43462012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
4347
4348 * ses.el (ses-rename-cell): Set new name also in reference list of
4349 cells of which the renamed cell depends.
4350
bbf0e7d9
MY
43512012-07-20 Masatake YAMATO <yamato@redhat.com>
4352
4353 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4354 to check whether menu-bar is shown or not. If not shown,
4355 show the menu-bar as a popup menu instead of using tmm.
4356 * mouse.el (popup-menu): Accept `point' as `position' argument.
4357
c28662a8
DG
43582012-07-20 Dmitry Gutov <dgutov@yandex.ru>
4359
4360 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4361 up inside string symbol literal (bug#11923).
4362
87ab808f
EZ
43632012-07-20 Eli Zaretskii <eliz@gnu.org>
4364
4365 * startup.el (fancy-startup-text): Read the whole tutorial, not
4366 just its first 256 bytes. Prevents gibberish in display of the
4367 tutorial title.
4368
89dea803
DA
43692012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
4370
4371 Drop idle buffer compaction due to an absence of the
4372 proved efficiency.
4373 * compact.el: Remove.
4374
8a4e6db8
SS
43752012-07-19 Sam Steingold <sds@gnu.org>
4376
4377 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4378 vc-bzr-pull & vc-bzr-merge-branch.
4379 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4380 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4381 for consistency with compilation-error-regexp-alist.
4382 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4383 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4384 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4385 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4386
5db81e33
SM
43872012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4388
4389 * emacs-lisp/chart.el: Use lexical-binding.
4390 (chart-emacs-storage): Don't hardcode the list of entries.
4391
5b835e1d
DA
43922012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4393
4394 Next round of tweaks caused by Fgarbage_collect changes.
4395 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4396
9cd47b72
DA
43972012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
4398
4399 Compact buffers when idle.
4400 * compact.el: New file.
4401
1d6fc0df
SM
44022012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * subr.el (eventp): Presume that if it looks vaguely like an event,
4405 it's an event (bug#10190).
4406
1d29cc7d
FEG
44072012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
4408
4409 Enhancements to ppss related code (thanks Stefan).
4410 * progmodes/python.el (python-indent-context)
4411 (python-indent-calculate-indentation, python-indent-dedent-line)
4412 (python-indent-electric-colon, python-nav-forward-block)
4413 (python-mode-abbrev-table)
1d6fc0df 4414 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
4415 for ppss context.
4416 (python-info-continuation-line-p): Cleanup.
4417 (python-info-ppss-context): Do not catch 'quote.
4418 (python-info-ppss-context-type)
4419 (python-info-ppss-comment-or-string-p): Simplify.
4420
d583cbe6
FEG
44212012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
4422
4423 * progmodes/python.el: Enhancements to eldoc support.
4424 (python-info-current-symbol): New function.
4425 (python-eldoc-at-point): Use python-info-current-symbol.
4426 (python-info-current-defun): Fix cornercase on first defun scan.
4427 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4428 and signal error when no inferior python process is available.
4429
eceb6feb
DG
44302012-07-18 Dmitry Gutov <dgutov@yandex.ru>
4431
4432 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4433 assume it's always t.
4434 (vc-git-registered): Remove caching, the function is only called
4435 once.
4436 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4437
4c8ff0fe
CY
44382012-07-18 Chong Yidong <cyd@gnu.org>
4439
19fb7186
CY
4440 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4441
9587c688
CY
4442 * simple.el (count-words): Report on narrowing (Bug#9959).
4443
0fe776a1
CY
4444 * bindings.el: Bind M-= to count-words.
4445
4c8ff0fe
CY
4446 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4447
7f5331cc
MY
44482012-07-18 Masatake YAMATO <yamato@redhat.com>
4449
4450 * progmodes/sh-script.el (sh-imenu-generic-expression):
4451 Capture a function with `function' keyword and without parentheses
4452 like "function FOO" (bug#11856).
4453
2dc2a609
TH
44542012-07-18 Tassilo Horn <tassilo@member.fsf.org>
4455
4456 * window.el (split-window-sensibly): Make WINDOW argument
4457 optional.
4458
439f7677
CY
44592012-07-18 Chong Yidong <cyd@gnu.org>
4460
9aeb25a6
CY
4461 * subr.el (keyboard-translate): Doc fix (Bug#7261).
4462
439f7677
CY
4463 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4464 and make C-x 8 RET exit isearch (Bug#11439).
4465
4466 * international/iso-transl.el: Move isearch-mode-map key
4467 definitions to isearch.el.
4468
12999ea8
SM
44692012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
4470
4471 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4472 (eieio-defclass): Use gv-define-setter when possible.
4473
3ab6e069
DA
44742012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
4475
4476 Reflect recent changes in Fgarbage_collect.
4477 * emacs-lisp/chart.el (chart-emacs-storage): Change to
4478 reflect new format of data returned by Fgarbage_collect.
4479
0a60bc10
FEG
44802012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4481
4482 New utility functions + python-info-ppss-context fix (Bug#11910).
4483 * progmodes/python.el (python-info-beginning-of-block-statement-p)
4484 (python-info-ppss-comment-or-string-p): New functions.
4485 (python-info-ppss-context): Small fix for string check.
4486
6dafa0d5
JL
44872012-07-17 Juri Linkov <juri@jurta.org>
4488
4489 * dired-aux.el (dired-do-async-shell-command): Doc fix.
4490 (dired-do-async-shell-command): Don't add `*' at the end of the
4491 command (Bug#11815).
4492 (dired-do-shell-command): Doc fix.
4493 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4494 Join the individual commands using either "&" or ";" as the
4495 separator depending on the values of these trailing characters.
4496 At the end re-add the trailing "&". (Bug#10598)
4497
4498 * simple.el (async-shell-command): Sync the interactive spec with
4499 `shell-command'. Doc fix.
4500 (shell-command): Doc fix.
4501
b19dd9d1
JL
45022012-07-17 Juri Linkov <juri@jurta.org>
4503
4504 * descr-text.el (describe-char): Fix format args. (Bug#10129)
4505
bcdc27d7 45062012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 4507
bcdc27d7 4508 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
4509 * progmodes/python.el (python-nav-beginning-of-statement):
4510 Rename from python-nav-statement-start.
bcdc27d7
FEG
4511 (python-nav-end-of-statement): Rename from
4512 python-nav-statement-end.
4513 (python-nav-beginning-of-block): Rename from
4514 python-nav-block-start.
4515 (python-nav-end-of-block): Rename from python-nav-block-end.
4516
191da00e
FEG
45172012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
4518
7f5331cc
MY
4519 * progmodes/python.el (python-shell-send-string-no-output):
4520 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
4521 future interactions (Bug#11868).
4522
4dc7c8d5 45232012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 4524
88ecaf8f
SM
4525 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4526
ef501ef0
SM
4527 * emacs-lisp/elint.el (elint-find-args-in-code):
4528 Use help-function-arglist, so as to handle lexical byte-code.
4529
aa7aaf8f
SM
4530 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4531 change (bug#11826).
4532
45fd731c
SM
45332012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
4534
2143fa32
SM
4535 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4536 Avoid spuriously marking the buffer as modified because of c-is-sws.
4537
efc26dbe
SM
4538 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4539 as not-a-comment (bug#11946).
4540
f5695c9a
SM
4541 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4542 for uninterned vars.
4543
4544 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4545 Use read-event since we don't really want to read chars but bytes.
4546
45fd731c
SM
4547 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4548 $$..$$ but also $..$ using regexps (bug#11953).
4549 Use tex-verbatim for \url and \path.
4550 (tex-font-lock-keywords): Define as defconst like the others.
4551 (tex-common-initialization): Don't use font-lock-syntax-table any more.
4552
ddfc8813
RK
45532012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
4554
4555 * international/mule-cmds.el (ucs-insert): Make it an obsolete
4556 alias for insert-char.
4557
758e556a
FEG
45582012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4559
4560 * progmodes/python.el: Simplified imenu implementation.
4561 (python-nav-jump-to-defun): Remove command.
4562 (python-mode-map): Use `imenu' instead.
4563 (python-nav-list-defun-positions-cache)
4564 (python-imenu-include-defun-type, python-imenu-make-tree)
4565 (python-imenu-subtree-root-label, python-imenu-index-alist):
4566 Remove vars.
4567 (python-nav-list-defun-positions, python-nav-read-defun)
4568 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
4569 (python-imenu-make-tree, python-imenu-create-index):
4570 Remove functions.
758e556a
FEG
4571 (python-mode): Update to interact with imenu by setting
4572 `imenu-extract-index-name-function' only.
4573
032d23ab
FEG
45742012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
4575
4576 * progmodes/python.el: Enhancements to navigation commands.
4577 (python-nav-backward-sentence)
4578 (python-nav-forward-sentence): Remove.
4579 (python-nav-backward-statement, python-nav-forward-statement)
4580 (python-nav-statement-start, python-nav-statement-end)
4581 (python-nav-backward-block, python-nav-forward-block)
4582 (python-nav-block-start, python-nav-block-end)
4583 (python-nav-forward-sexp-function)
4584 (python-info-current-line-comment-p)
4585 (python-info-current-line-empty-p): New functions.
4586 (python-indent-context): Use `python-nav-statement-start'.
4587
01795a1b
MA
45882012-07-16 Michael Albinus <michael.albinus@gmx.de>
4589
9328d9aa
MA
4590 * eshell/em-ls.el (eshell/ls): Use `apply'.
4591
4592 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4593 multi-hops, instead of Tramp internals.
4594
01795a1b
MA
4595 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4596
4597 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4598 when F1 and F2 are located on different hosts.
4599
63408057
CY
46002012-07-14 Chong Yidong <cyd@gnu.org>
4601
4602 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4603 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4604 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4605 (xterm-mouse--read-event-sequence-1000)
4606 (xterm-mouse--read-event-sequence-1006): New functions. For old
4607 mouse protocol, handle M-mouse-X events correctly.
4608 (xterm-mouse-event): New arg specifying mouse protocol.
4609 (turn-on-xterm-mouse-tracking-on-terminal)
4610 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
4611 sequence to toggle extended coordinates on newer XTerms.
4612 This appears to be harmless on terminals which do not support this.
63408057 4613
cd276f6e
LL
46142012-07-14 Leo Liu <sdl.web@gmail.com>
4615
28ca98ac
LL
4616 Add fringe bitmap indicators for flymake. (Bug#11253)
4617 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4618 (flymake-make-overlay): New arg BITMAP.
4619 (flymake-error-bitmap, flymake-warning-bitmap)
4620 (flymake-fringe-indicator-position): New user variables.
4621
cd276f6e
LL
4622 * fringe.el: New bitmap exclamation-mark.
4623
04408072
JD
46242012-07-14 Jan Djärv <jan.h.d@swipnet.se>
4625
4626 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4627 also (Bug#7879).
4628
b5cf7fc4
CY
46292012-07-14 Chong Yidong <cyd@gnu.org>
4630
4631 * electric.el (electric-pair-post-self-insert-function): Fix pair
4632 insertion in empty-region case (Bug#11520).
4633
be755c79
RT
46342012-07-14 Chong Yidong <cyd@gnu.org>
4635
45fd731c
SM
4636 * bindings.el: Consolidate ctl-x-r-map bindings.
4637 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
4638
4639 * rect.el, register.el: Move bindings to bindings.el.
4640
46412012-07-14 Reuben Thomas <rrt@sc3d.org>
4642
4643 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4644
7f5b3198
AS
46452012-07-13 Andreas Schwab <schwab@linux-m68k.org>
4646
4647 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
4648
97662200
JB
46492012-07-13 Juanma Barranquero <lekktu@gmail.com>
4650
80185fed
JB
4651 * bindings.el (top): Use `mapc' instead of `mapcar'.
4652
97662200
JB
4653 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4654
2bb1ae55
MA
46552012-07-13 Michael Albinus <michael.albinus@gmx.de>
4656
4657 * progmodes/sql.el (sql-comint): Suppress the check for program on
4658 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
4659 (Bug#11908)
4660
dea31bd3
CY
46612012-07-13 Chong Yidong <cyd@gnu.org>
4662
4663 * bindings.el: Assign a non-nil permanent-local property to
4664 per-buffer variables which lack a default value (Bug#11930).
4665
4666 * help-fns.el (describe-variable): In the "automatically becomes
4667 local" notice, take note of permanent-local variables.
4668
b68b3337
CY
46692012-07-13 Chong Yidong <cyd@gnu.org>
4670
4671 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
4672 to allow printing the message when called from Lisp.
4673
4674 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4675 Remove toggle-read-only.
4676
4677 * bs.el (bs-toggle-readonly):
45fd731c
SM
4678 * buff-menu.el (Buffer-menu-toggle-read-only):
4679 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
4680
4681 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4682 Remove with-no-warnings around toggle-read-only.
4683 (ffap-read-only, ffap-read-only-other-window)
4684 (ffap-read-only-other-frame): Callers changed.
4685
4686 * help-mode.el: Don't require view package.
4687 (help-mode-finish): Set buffer-read-only instead of calling
4688 toggle-read-only.
4689
4690 * bindings.el (mode-line-toggle-read-only):
4691 * dired.el (dired-toggle-read-only):
4692 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4693 with non-nil second arg.
4694
4695 * emacs-lisp/eieio-custom.el (eieio-customize-object):
4696 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4697 directly.
4698
56bc1586
EZ
46992012-07-12 Eli Zaretskii <eliz@gnu.org>
4700
4701 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4702 not incf.
4703
a464a6c7
SM
47042012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 More CL cleanups and reduction of use of cl.el.
4707 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4708 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4709 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4710 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4711 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4712 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4713 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4714 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4715 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4716 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4717 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4718 * eshell/em-cmpl.el, eshell/em-banner.el:
4719 * calendar/parse-time.el: Use cl-lib.
4720 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4721 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4722 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4723 * term/ns-win.el, term.el, shell.el, ps-samp.el:
4724 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4725 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4726 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4727 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4728 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4729 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4730 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4731 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4732 `lambda' rather than with `quote'.
4733 (eshell-do-opt): Adjust accordingly.
4734 (eshell-process-option): Simplify.
4735 * eshell/esh-var.el:
4736 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4737 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4738 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4739 to `pcase--dontcare'.
4740 * emacs-lisp/cl.el (labels): Mark obsolete.
4741 (cl--letf, letf): Move to cl-lib.
4742 (cl--letf*, letf*): Remove.
4743 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4744 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4745 (cl-progv): Rewrite.
4746 (cl--letf, cl-letf): Move from cl.el.
4747 (cl-letf*): New macro.
4748 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4749
7ad4afe1
MA
47502012-07-11 Michael Albinus <michael.albinus@gmx.de>
4751
4752 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4753
9af57756
CY
47542012-07-11 Chong Yidong <cyd@gnu.org>
4755
4756 * vc/log-edit.el (log-edit-vc-backend): New variable.
4757 (log-edit): Doc fix.
4758
4759 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
4760 argument of log-edit to set up all local variables.
4761 (vc-start-logentry): New optional arg specifying VC backend.
4762
4763 * vc/vc.el (vc-checkin): Use it.
4764 (vc-deduce-fileset): Handle Log Edit buffers.
4765 (vc-diff): Make first argument optional too.
4766
4767 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4768
8477cc7a
MA
47692012-07-10 Michael Albinus <michael.albinus@gmx.de>
4770
4771 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4772 command, just in case. The function is not needed anymore.
4773 (eshell-external-command): Do not call `eshell-remote-command'.
4774
19faa8e8
SM
47752012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
4776
f58e0fd5
SM
4777 Reduce use of (require 'cl).
4778 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4779 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4780 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4781 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4782 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4783 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4784 * battery.el, avoid.el, abbrev.el: Use cl-lib.
4785 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4786 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4787 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4788 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4789 * calculator.el, autorevert.el, apropos.el: Don't require CL.
4790 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4791 (byte-compile-unfold-bcf, byte-compile-check-variable):
4792 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4793 (byte-compile-nilconstp):
4794 * emacs-lisp/autoload.el (make-autoload): Use pcase.
4795 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4796
2519d43a
SM
4797 * emacs-lisp/gv.el (cond): Make it a valid place.
4798 (if): Simplify slightly.
4799
19faa8e8
SM
4800 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4801 (pcase--self-quoting-p): New function.
4802 (pcase--u1): Use it.
4803
c4907a5e
GM
48042012-07-10 Glenn Morris <rgm@gnu.org>
4805
4806 * emacs-lisp/authors.el (authors-fixed-entries):
4807 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4808
c4444d16
PE
48092012-07-09 Paul Eggert <eggert@cs.ucla.edu>
4810
4811 Rename configure.in to configure.ac (Bug#11603).
4812 * emacs-lisp/authors.el (authors-canonical-file-name):
4813 * progmodes/autoconf.el (autoconf-mode):
4814 Prefer configure.ac to configure.in.
4815
d75be97d
CY
48162012-07-08 Chong Yidong <cyd@gnu.org>
4817
01ac65bd
CY
4818 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4819 Implement the mouse-1-click-follows-link handling properly.
4820
4821 * info.el (Info-link-keymap): Use follow-link mechanism for
4822 header-line links (Bug#374).
4823
d75be97d
CY
4824 * simple.el (deactivate-mark): Do not set the primary selection
4825 if another program has acquired it (Bug#11772).
4826
87a92845 48272012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
4828
4829 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4830 (woman-decode-region): Replace escaped-escapes without destroying
4831 bold or underline (Bug#11552).
87a92845 4832 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 4833
621b9d6c
CY
48342012-07-07 Chong Yidong <cyd@gnu.org>
4835
4836 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
4837 (interprogram-cut-function, interprogram-paste-function):
4838 Mention that we typically mean the clipboard.
621b9d6c 4839
133a11fc
GM
48402012-07-06 Glenn Morris <rgm@gnu.org>
4841
0d27a45e
GM
4842 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
4843
133a11fc
GM
4844 * files.el (toggle-read-only): Restrict message to interactive use.
4845
07b151f1
MA
48462012-07-06 Michael Albinus <michael.albinus@gmx.de>
4847
4848 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4849
4850 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4851
211b896b
GM
48522012-07-06 Glenn Morris <rgm@gnu.org>
4853
50394322
GM
4854 * Makefile.in (compile-one-process): Rename from "recompile".
4855
211b896b
GM
4856 * Makefile.in (bzr-update): "compile" is the same as "recompile
4857 autoloads", but parallelizable, so use that instead.
4858
4737eec9
DG
48592012-07-06 Dmitry Gutov <dgutov@yandex.ru>
4860
4861 * window.el (quit-window): Always restore window height when
8137e7b3 4862 it's saved in quit-restore parameter (Bug#11810).
4737eec9 4863
226c3633 48642012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
4865
4866 * simple.el (kill-whole-line): Doc tweak.
4867
226c3633 48682012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
4869
4870 * files.el (file-relative-name): Compare file names
4871 case-insensitively if on MS-Windows or MS-DOS, or if
4872 read-file-name-completion-ignore-case is non-nil. Don't use
4873 case-fold-search for this purpose. (Bug#11827)
4874
4dc7c8d5
SM
48752012-07-17 Andreas Schwab <schwab@linux-m68k.org>
4876
4877 * calendar/cal-dst.el (calendar-current-time-zone):
4878 Return calendar-current-time-zone-cache if non-nil.
4879
48802012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 48812012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 4882
19faa8e8
SM
4883 * calendar/cal-dst.el (calendar-current-time-zone):
4884 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 4885
60198fc9
GM
48862012-07-06 Glenn Morris <rgm@gnu.org>
4887
4888 * Makefile.in (cvs-update): Remove old alias.
4889
957b3189
MA
48902012-07-05 Michael Albinus <michael.albinus@gmx.de>
4891
4892 Sync with Tramp 2.2.6-pre.
4893
4894 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4895 compatible declaration.
4896
19faa8e8
SM
4897 * net/tramp-cmds.el (tramp-append-tramp-buffers):
4898 Protect `list-load-path-shadows' call.
957b3189
MA
4899
4900 * net/tramp-compat.el (top): Require packages, which aren't
4901 autoloaded anymore for XEmacs. Protect call of
4902 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4903 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
4904 it hurts at least for SXEmacs.
4905 (tramp-compat-temporary-file-directory): In XEmacs, there is no
4906 standard-value for `temporary-file-directory'.
4907
4908 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4909 Redirect stderr to /dev/null.
4910 (tramp-sh-handle-write-region): uid and gid can be floats.
4911 Reported by Russell Sim <russell.sim@gmail.com>.
4912 (tramp-sh-handle-vc-registered): Hide errors.
4913 (tramp-vc-file-name-handler): Use dummy results for `process-file'
4914 and `start-file-process'.
4915 (tramp-maybe-open-connection): Check also whether `non-essential'
4916 is bound.
4917
566df3fc
CY
49182012-07-04 Chong Yidong <cyd@gnu.org>
4919
4920 * xml.el (xml--parse-buffer): Use xml-syntax-table.
4921 (xml-parse-tag): Likewise, and avoid changing entity tables.
4922 (xml-syntax-table): Define from scratch, making sure not to give
4923 x2000 and other Unicode spaces whitespace syntax, since those are
4924 not spaces in XML.
4925 (xml-parse-fragment): Delete unused function.
4926 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4927 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4928 (xml-entity-ref, xml-pe-reference-re)
4929 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4930 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4931 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4932 (xml-entity-value-re): Use syntax references in regexps where
4933 possible; no need to define inside a let-binding.
4934 (xml-parse-dtd): Use xml-pe-reference-re.
4935 (xml-entity-or-char-ref-re): New defconst.
4936 (xml-parse-string, xml-substitute-special): Use it.
4937
30eabd7a
SM
49382012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
4939
0781098a
SM
4940 * files.el (locate-dominating-file): Allow `name' to be a predicate.
4941 (find-file--read-only): New function.
4942 (find-file-read-only, find-file-read-only-other-window)
4943 (find-file-read-only-other-frame): Use it.
4944 (insert-file-contents-literally): Don't `fset'.
4945 (get-free-disk-space): Use locate-dominating-file.
4946
b5771c0d
SM
4947 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4948 function is already compiled.
4949
30eabd7a
SM
4950 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
4951
b4886f6e
MA
49522012-07-03 Michael Albinus <michael.albinus@gmx.de>
4953
4954 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4955 files on the same host.
4956
b9d82339
AS
49572012-07-03 Andreas Schwab <schwab@linux-m68k.org>
4958
4959 * help-fns.el (describe-function-1): Only call
4960 help-fns--autoloaded-p when we have a file name. (Bug#11848)
4961
a76e6535
CY
49622012-07-03 Chong Yidong <cyd@gnu.org>
4963
4964 * xml.el: Protect parser against XML bombs.
4965 (xml-entity-expansion-limit): New variable.
4966 (xml-parse-string, xml-substitute-special): Use it.
4967 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4968
b544fef2
GM
49692012-07-03 Glenn Morris <rgm@gnu.org>
4970
4971 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4972 Allow linking to specific messages in debbugs reports (eg 123#5).
4973
a7aef6f5
CY
49742012-07-02 Chong Yidong <cyd@gnu.org>
4975
4976 * xml.el: Fix entity and character reference expansion, allowing
4977 them to expand into markup as per XML spec.
4978 (xml-default-ns): New variable.
4979 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
4980 (xml-parse-region): Make first two arguments optional.
4981 Discard text properties.
4982 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4983 All callers changed.
a7aef6f5
CY
4984 (xml-parse-tag): Call xml-parse-tag-1. For backward
4985 compatibility, this function should not modify buffer contents.
4986 (xml-parse-tag-1): Fix opening-tag regexp.
4987 (xml-parse-string): Rewrite, handling entity and character
4988 references properly.
4989 (xml--entity-replacement-text): Signal an error if a parameter
4990 entity is undefined.
4991
3df31c9f
SM
49922012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
4993
2b5208f1
SM
4994 * comint.el (comint-output-filter): Filter out repeated prompts.
4995
3df31c9f
SM
4996 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4997 and file-name-absolute-p.
4998 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4999 internal calls.
5000
e3ac1281
PE
50012012-07-02 Paul Eggert <eggert@cs.ucla.edu>
5002
5003 Spelling fixes.
5004 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
5005 Rename from byte-compile--refiy-function. All uses changed.
5006
fbf2e7ad
CY
50072012-07-01 Chong Yidong <cyd@gnu.org>
5008
5009 * xml.el (xml--parse-buffer): New function. Move most of
5010 xml-parse-region here.
5011 (xml-parse-region): Copy region into a temporary buffer, since
5012 parameter entity substitution requires changing buffer contents.
5013 Use xml--parse-buffer.
5014 (xml-parse-file): Use xml--parse-buffer.
5015 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 5016 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 5017
9bf0aa15
GM
50182012-06-30 Glenn Morris <rgm@gnu.org>
5019
bbce2853
GM
5020 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
5021
9bf0aa15
GM
5022 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
5023 Remove outdated and unnecessary dbus declarations.
5024
0d23c240
EZ
50252012-06-30 Eli Zaretskii <eliz@gnu.org>
5026
5027 * emacs-lisp/timer.el (timer-until): Subtract results of
5028 float-time, instead of taking float-time of the result of
5029 time-subtract, since float-time signals an error for negative time
5030 arguments.
5031
b3218de1
CY
50322012-06-30 Chong Yidong <cyd@gnu.org>
5033
5034 * xml.el (xml-*-re): Convert defvars into defconsts, and
5035 eval-and-compile them so eval-and-compile works on derivatives.
5036 (xml--entity-replacement-text): Use eval-and-comple.
5037
a40c87a0
MA
50382012-06-30 Michael Albinus <michael.albinus@gmx.de>
5039
5040 * vc/vc-git.el (vc-git-registered): Use cache property
5041 `git-registered'.
5042 (vc-git-mode-line-string): Call `vc-working-revision' instead of
5043 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 5044 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 5045
ac87de97
DG
50462012-06-30 Dmitry Gutov <dgutov@yandex.ru>
5047
5048 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 5049 removed (likely outside Emacs). (Bug#11757)
ac87de97 5050
ac10fe06
SM
50512012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5052
3df31c9f 5053 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 5054
7f3fbd5d
CY
50552012-06-30 Chong Yidong <cyd@gnu.org>
5056
5057 * xml.el: Implement XML parameter entities.
5058 (xml-parameter-entity-alist): New variable.
5059 (xml-parse-region, xml-parse-fragment): Preserve previous values
5060 of xml-entity-alist and xml-parameter-entity-alist, so that
5061 repeated calls on different documents do not change them.
5062 (xml-parse-tag): Fix doctype regexp.
5063 (xml--entity-replacement-text): New function.
5064 (xml-parse-dtd): Use it. Don't handle system entities; doing that
5065 properly requires url retrieval which is unimplemented.
5066 (xml-escape-string): Doc fix.
5067
3cfbebba
SM
50682012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
5071
2af3565e
DA
50722012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
5073
5074 * fringe.el (fringe-mode): Doc fix.
5075
929df0e7
MA
50762012-06-29 Michael Albinus <michael.albinus@gmx.de>
5077
5078 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
5079 is non-nil.
5080 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
5081 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
5082
c8d3a25c 50832012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 5084
c8d3a25c
GM
5085 * calendar/cal-dst.el (calendar-current-time-zone):
5086 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 5087
c8d3a25c 50882012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
5089
5090 * progmodes/which-func.el (which-func-format):
5091 Add mouse-face. (Bug#11698)
5092
c8d3a25c
GM
50932012-06-29 Leo Liu <sdl.web@gmail.com>
5094
5095 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
5096
50972012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5098
5099 * minibuffer.el (minibuffer-confirm-exit-commands):
5100 Add completion-at-point (bug#11725).
5101
51022012-06-29 Glenn Morris <rgm@gnu.org>
5103
5104 * progmodes/f90.el (f90-font-lock-keywords-2):
5105 Add some preprocessor elements. (Bug#10499)
5106
51072012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
5108
5109 * progmodes/cperl-mode.el (cperl-update-syntaxification):
5110 Use syntax-propertize (bug#11739).
5111
2badeec4
JB
51122012-06-28 Juanma Barranquero <lekktu@gmail.com>
5113
5114 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
5115
ae4969c2
JD
51162012-06-28 Julien Danjou <julien@danjou.info>
5117
5118 * term.el (term-handle-colors-array): Use a set of new faces to
5119 color the terminal. Also uses :inverse-video property.
5120 (term-default-fg-color): Set to nil by default, deprecate in favor
5121 of `term-face'.
5122 (term-default-bg-color): Set to nil by default, deprecate in favor
5123 of `term-face'.
5124 (term-current-face): Use `term-face' by default.
5125 (term-bold-attribute): Variable deleted.
5126
1c9bd870
GM
51272012-06-28 Glenn Morris <rgm@gnu.org>
5128
5129 * simple.el (completion-list-mode-finish):
5130 Don't use toggle-read-only. (Since completion-list-mode has
5131 a special mode-class, it wasn't doing anything extra anyway.)
5132
c207708c
SM
51332012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
5134
5135 Make inlining of other-mode interpreted functions work (bug#11799).
5136 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
5137 (byte-compile): Use it to fix compilation of lexical-binding closures.
5138 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
5139 function, if needed.
5140
3fd56834
SM
51412012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
5142
04901786
SM
5143 * help-mode.el (help-make-xrefs): Don't just withstand
5144 cyclic-variable-indirection but any error in documentation-property.
5145
1ec4b7b2
SM
5146 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
5147 memory use.
5148 * bindings.el (bindings--define-key): New function.
5149 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
5150 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
5151 * bindings.el: Use it to purecopy define-key bindings.
5152
e309e2a5
SM
5153 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
5154
d5c6faf9
SM
5155 * emacs-lisp/cl.el (flet): Mark obsolete.
5156 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
5157 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
5158 * progmodes/js.el (js-c-fill-paragraph):
5159 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
5160 (ebrowse-switch-member-buffer-to-derived-class):
5161 * play/5x5.el (5x5-solver): Use cl-flet.
5162
6e9590e2
SM
5163 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
5164 (cl--symbol-function): New macro.
5165 (cl--letf, cl--letf*): Use it.
5166
3fd56834
SM
5167 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
5168 Strip "toggle-" if any.
5169
35ff222c
GM
51702012-06-27 Glenn Morris <rgm@gnu.org>
5171
1ba6038a
GM
5172 * info.el (Info-default-directory-list): Move here from paths.el.
5173 * paths.el: Remove file, which is now empty.
5174 * loadup.el: No longer load "paths".
5175
0ea0e51b
GM
5176 * custom.el (custom-initialize-delay): Doc fix.
5177
35ff222c
GM
5178 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
5179 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
5180 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
5181 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
5182 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
5183 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
5184 * eshell/eshell.el (eshell-defgroup): Remove alias.
5185
c89926a5
CY
51862012-06-27 Chong Yidong <cyd@gnu.org>
5187
5188 * help.el (help-enable-auto-load): New variable.
5189
5190 * help-fns.el (help-fns--autoloaded-p): New function.
5191 (describe-function-1): Refer to a function as "autoloaded" if it
5192 was autoloaded at any time in the past. Perform autoloading if
5193 help-enable-auto-load is non-nil.
5194
cc06e7e7
EZ
51952012-06-26 Eli Zaretskii <eliz@gnu.org>
5196
5197 * makefile.w32-in (compile, compile-always): Depend on
5198 update-subdirs, not on subdirs.el. Otherwise, several different
5199 sub-targets of 'bootstrap' running in parallel could
5200 simultaneously write to subdirs.el, producing a garbled file.
5201
d2c32364
SS
52022012-06-26 Sam Steingold <sds@gnu.org>
5203
5204 * files.el (file-name-base): New convenience function.
0d14cc21
GM
5205 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
5206 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
5207 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
5208 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
5209 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
5210 * textmodes/tex-mode.el: Use it.
5211 Did not touch cedet and org because they are maintained elsewhere.
5212
5cf983b2
MR
52132012-06-26 Martin Rudalics <rudalics@gmx.at>
5214
5215 * calendar/calendar.el (calendar-exit): Don't try to delete or
5216 iconify last frame. See:
5217 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
5218
8c4f2952
JD
52192012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
5220
5221 * server.el (server-process-filter): Remember dir in the
5222 process's `server-client-directory' properties.
5223
772b2e2c
CY
52242012-06-24 Chong Yidong <cyd@gnu.org>
5225
5226 * xml.el (xml-parse-tag): Correctly handle comment embedded in
5227 non-tag text.
5228
711b11e1
JB
52292012-06-23 Juanma Barranquero <lekktu@gmail.com>
5230
5231 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
5232
dc5d230c
SM
52332012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5234
5235 * help-fns.el (describe-variable): Don't croak when doc is not found.
5236 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
5237 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
5238 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
5239 * emacs-lisp/smie.el (smie-next-sexp): CSE.
5240 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
5241 ((lambda ..) ..).
5242 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
5243
136e1c1d
CY
52442012-06-23 Chong Yidong <cyd@gnu.org>
5245
e8c1cabf
CY
5246 * info.el (Info-mouse-follow-link): Accept symbol values of
5247 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
5248 (Info-fontify-node): Use Info-link-keymap for all navigation
5249 buttons, with link-args property to perform the desired action.
5250 (Info-link-keymap): Doc fix.
5251 (Info-next-link-keymap, Info-prev-link-keymap)
5252 (Info-up-link-keymap): Delete now-unused keymaps.
5253
0e9e6c6a
CY
52542012-06-23 Chong Yidong <cyd@gnu.org>
5255
05e89fea
CY
5256 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5257
0e9e6c6a
CY
5258 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5259 system abbrevs.
5260
5261 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5262
e33c6771
SM
52632012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
5264
b68581e2
SM
5265 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5266 (bug#11719).
5267
e33c6771
SM
5268 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5269 the requote function doesn't work properly (bug#11714).
5270
7117e105
GM
52712012-06-23 Glenn Morris <rgm@gnu.org>
5272
5273 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5274
36cec983
SM
52752012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5276
5277 Further GV/CL cleanups.
5278 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5279 gv-expander.
5280 (gv--defun-declaration): New function.
5281 (defun-declarations-alist): Use it.
5282 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5283 (gv-place): Autoload.
5284 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5285 original definition of dotimes and dolist.
5286 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5287 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5288 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5289 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5290 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5291 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5292 to the function's definition.
5293 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5294 * window.el:
5295 * files.el:
5296 * faces.el:
5297 * env.el: Don't use CL.
5298
d35af63c
PE
52992012-06-22 Paul Eggert <eggert@cs.ucla.edu>
5300
5301 Support higher-resolution time stamps (Bug#9000).
5302
5303 * calendar/time-date.el (with-decoded-time-value): New arg
5304 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
5305 (encode-time-value): New optional arg PICO. New type 3.
5306 (time-to-seconds) [!float-time]: Support the new picoseconds
5307 component if it's used.
5308 (seconds-to-time, time-subtract, time-add):
5309 Support ps-resolution time stamps as well.
5310
5311 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
5312 (timerp): Timer vectors now have length 9, not 8.
5313 (timer--time): Support new-style (4-part) time stamps.
5314 (timer-next-integral-multiple-of-time): Time stamps now have
5315 picosecond resolution, so take a bit more care about rounding.
5316 (timer-relative-time, timer-inc-time): New optional arg psecs.
5317 (timer-set-time-with-usecs): Set psecs to 0.
5318 (timer--activate): Check psecs component, too.
5319
5320 * proced.el (proced-time-lessp): Support ps-resolution stamps.
5321
ac77b21a
SM
53222012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5323
f143bfe3
SM
5324 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5325 Move the non-essential binding to the post/pre-command-hook where it is
5326 more obviously correct.
5327
ac77b21a
SM
5328 * subr.el (read-passwd): Don't use a history at all.
5329 * savehist.el (savehist-save): Remove password saved accidentally
5330 because of the above bug.
5331
76386c5a
BG
53322012-06-22 Bastien Guerry <bzg@gnu.org>
5333
5334 * files.el (toggle-read-only): Display a message telling whether
5335 the buffer is read-only or not (bug#11726).
5336
2ee3d7f0
SM
53372012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * emacs-lisp/gv.el: New file.
5340 * subr.el (push, pop): Extend to generalized variables.
5341 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5342 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5343 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
5344 gv-define-simple-setter, and gv-define-expander.
5345 Remove setf-methods defined in gv. Rename cl-setf -> setf.
5346 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5347 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5348 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5349 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5350 gv-letplace.
5351 (cl-defstruct): Don't define setf-method any more.
5352 * emacs-lisp/cl.el (flet): Don't autoload.
5353 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5354 (define-setf-expander, defsetf, define-modify-macro)
5355 (cl-struct-setf-expander): Move from cl-lib.el.
5356 * emacs-lisp/syntax.el:
5357 * emacs-lisp/ewoc.el:
5358 * emacs-lisp/smie.el:
5359 * emacs-lisp/cconv.el:
5360 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5361 (timer--time): Use gv-define-simple-setter.
5362 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5363 to avoid coding-system problems in subr.el. Adjust all users.
5364 (macroexp--maxsize, macroexp-small-p): New functions.
5365 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5366 * scroll-bar.el (scroll-bar-mode):
5367 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5368 (normal-erase-is-backspace-mode): Don't use the `eq' place.
5369 * winner.el (winner-configuration, winner-make-point-alist)
5370 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5371 * files.el (locate-file-completion-table): Avoid list*.
5372
c5695d1d
CY
53732012-06-22 Chong Yidong <cyd@gnu.org>
5374
5375 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5376 (dired-create-files): Doc fix (Bug#11329).
5377 (dired-do-copy): Doc fix (Bug#11334).
5378 (dired-mark-read-string): Doc fix (Bug#11553).
5379
2ee3d7f0
SM
5380 * dired.el (dired-recursive-copies, dired-recursive-deletes):
5381 Doc fix (Bug#11326).
c5695d1d
CY
5382 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
5383 (dired-dwim-target): Doc fix.
5384
5385 * wdired.el (wdired-mode): Doc fix.
5386
89b5595a
GM
53872012-06-22 Glenn Morris <rgm@gnu.org>
5388
575db3f1
GM
5389 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5390 (pcmpl-rpm-cache-stamp-file): New constant.
5391 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5392 (pcmpl-rpm-packages): Optionally cache list of packages.
5393
a4c8dd51
GM
5394 * pcmpl-rpm.el (pcmpl-rpm): New group.
5395 (pcmpl-rpm-query-options): New option.
5396 (pcmpl-rpm-packages): No need to inline it.
5397 Use pcmpl-rpm-query-options.
5398
89b5595a
GM
5399 * calendar/calendar.el (calendar-in-read-only-buffer):
5400 Avoid some needless mode changes.
5401
e76f0800
CY
54022012-06-21 Chong Yidong <cyd@gnu.org>
5403
5404 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5405 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 5406 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 5407
297a8f1d
CY
54082012-06-20 Chong Yidong <cyd@gnu.org>
5409
5410 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5411
d34c18b1
DR
54122012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
5413
5414 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5415 (bug#11201).
5416
32f7f28e
CY
54172012-06-20 Chong Yidong <cyd@gnu.org>
5418
5419 * term.el (term-window-width): Handle the case of a missing right
5420 fringe (Bug#8837).
5421 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
5422 (term-mode): Use define-derived-mode. Minor cleanups.
5423 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
5424 (term-move-columns, term-insert-char, term-emulate-terminal)
5425 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 5426
493c6688
MA
54272012-06-20 Michael Albinus <michael.albinus@gmx.de>
5428
d34c18b1
DR
5429 * net/ange-ftp.el (ange-ftp-get-passwd):
5430 Bind `enable-recursive-minibuffers'.
493c6688
MA
5431 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5432
3f06ecf4
DR
54332012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
5434
5435 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5436
68f12411
GM
54372012-06-19 Glenn Morris <rgm@gnu.org>
5438
5439 * progmodes/python.el (python-mode): Derive from prog-mode.
5440
b3820318
KG
54412012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
5442
5443 * emulation/edt.el (edt-default-menu-bar-update-buffers)
5444 (edt-user-menu-bar-update-buffers): New functions.
5445 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5446
c6bf3022
CY
54472012-06-19 Chong Yidong <cyd@gnu.org>
5448
5449 * subr.el (with-selected-window): Preserve the selected window's
5450 terminal's top-frame (Bug#4702).
5451
5452 * window.el (save-selected-window): Likewise.
5453
25f09295
SM
54542012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * progmodes/python.el (python-rx-constituents): Move backquote.
5457 (python-skeleton-define, python-define-auxiliary-skeleton):
5458 Use `declare'.
5459
6b11952a
MA
54602012-06-18 Michael Albinus <michael.albinus@gmx.de>
5461
5462 * minibuffer.el (read-file-name-default): Revert the patch from
5463 2012-06-17.
5464
ee4b1330
SM
54652012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5466
5467 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5468 (pcase--u1, pcase--q1): Don't use apply-partially.
5469
35647f79
GM
54702012-06-18 Glenn Morris <rgm@gnu.org>
5471
5472 * progmodes/python.el (python-proc, python-buffer)
5473 (python-send-receive, python-send-string): Fix obsolete versions.
5474
24b0cff0
MR
54752012-06-18 Martin Rudalics <rudalics@gmx.at>
5476
5477 * window.el (special-display-p): Completely remove stringp
5478 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5479
29855149
MA
54802012-06-17 Michael Albinus <michael.albinus@gmx.de>
5481
5482 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5483
5484 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5485
5486 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5487 * net/tramp-sh.el (tramp-maybe-open-connection):
5488 Throw if `non-essential' is non-nil.
5489
07463363
MR
54902012-06-17 Martin Rudalics <rudalics@gmx.at>
5491
5492 * window.el (special-display-p): Signal an error if BUFFER-NAME
5493 is not a string (Bug#11713).
5494
48d1354e
PE
54952012-06-17 Paul Eggert <eggert@cs.ucla.edu>
5496
5497 * progmodes/python.el (python-info-beginning-of-backslash):
5498 Rename from python-info-beginning-of-backlash, as a spelling fix.
5499
eb4a8a9a
CY
55002012-06-17 Chong Yidong <cyd@gnu.org>
5501
5502 * term.el (term-emulate-terminal): If term-check-size is called,
5503 move point to the process mark without resetting point (Bug#4635).
5504
ddfbf826 55052012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
5506
5507 * international/mule-cmds.el (mule-menu-keymap)
5508 (set-language-environment, set-locale-environment): Doc tweaks.
5509
9b0e3eba
AA
55102012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
5511
5512 * cus-face.el (custom-face-attributes): Add wave-style underline
5513 attribute.
5514 * faces.el (set-face-attribute): Update docstring to describe
5515 wave-style underline attribute.
5516
771e3eae
CY
55172012-06-16 Chong Yidong <cyd@gnu.org>
5518
5519 * term/xterm.el (terminal-init-xterm): Discard input before
5520 querying background mode (Bug#10959).
5521
7ae2ea10
SM
55222012-06-16 Stefan Merten <smerten@oekonux.de>
5523
5524 * textmodes/rst.el: Added and corrected some comments.
5525 (rst-re-alist-def): Improve symbol syntax.
5526 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
5527 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5528 (rst-official-version, rst-official-cvs-rev): Update version
5529 information.
7ae2ea10 5530
b6974efa
JB
55312012-06-15 Juanma Barranquero <lekktu@gmail.com>
5532
5533 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5534 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5535
8826d473
GM
55362012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
5537
5538 * progmodes/python.el: New python.el merge.
5539 (python-guess-indent): Obsolete var.
5540 (python-indent-guess-indent-offset): New defcustom.
5541 (python-indent): Obsolete var.
5542 (python-indent-offset): New defcustom.
5543 (python-python-command, python-jython-command): Delete var.
5544 (python-shell-interpreter): New defcustom.
5545 (python-pdbtrack-do-tracking-p): Delete var.
5546 (python-pdbtrack-activate): New defcustom.
5547 (python-use-skeletons): Obsolete var.
5548 (python-skeleton-autoinsert): New defcustom.
5549 (inferior-python-filter-regexp, python-continuation-offset)
5550 (python-honour-comment-indentation, python-indent-string-contents)
5551 (python-jython-packages, python-mode-hook)
5552 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5553 (python-shell-prompt-alist)
5554 (python-source-modes): Delete defcustoms.
5555 (python-check-buffer-name, python-eldoc-setup-code)
5556 (python-eldoc-string-code, python-ffap-setup-code)
5557 (python-ffap-string-code, python-fill-comment-function)
5558 (python-fill-decorator-function, python-fill-paren-function)
5559 (python-fill-string-function, python-imenu-include-defun-type)
5560 (python-imenu-make-tree, python-imenu-subtree-root-label)
5561 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5562 (python-shell-compilation-regexp-alist)
5563 (python-shell-completion-module-string-code)
5564 (python-shell-completion-pdb-string-code)
5565 (python-shell-completion-setup-code)
5566 (python-shell-completion-string-code)
5567 (python-shell-enable-font-lock, python-shell-exec-path)
5568 (python-shell-extra-pythonpaths)
5569 (python-shell-internal-buffer-name, python-shell-interpreter-args)
5570 (python-shell-process-environment)
5571 (python-shell-prompt-block-regexp)
5572 (python-shell-prompt-output-regexp)
5573 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5574 (python-shell-send-setup-max-wait, python-shell-setup-codes)
5575 (python-shell-virtualenv-path): New defcustoms.
5576 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5577 (inferior-python-mode-syntax-table, python--prompt-regexp)
5578 (python-buffer, python-command python-python-command)
5579 (python-default-template, python-imports, python-indent-index)
5580 (python-indent-list, python-indent-list-length)
5581 (python-mode-running, python-pdbtrack-is-tracking-p)
5582 (python-preoutput-continuation, python-preoutput-leftover)
5583 (python-preoutput-result, python-preoutput-skip-next-prompt)
5584 (python-prev-dir/file, python-recursing)
5585 (python-saved-check-command, python-version-checked)
5586 (python-which-func-length-limit)
5587 (view-return-to-alist): Delete vars.
5588 (python-check-custom-command, python-dotty-syntax-table)
5589 (python-imenu-index-alist, python-indent-current-level)
5590 (python-indent-dedenters, python-indent-levels)
5591 (python-nav-beginning-of-defun-regexp)
5592 (python-nav-list-defun-positions-cache)
5593 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5594 (python-shell-internal-buffer)
5595 (python-skeleton-available): New vars.
5596 (def-python-skeleton): Delete macro.
5597 (python-skeleton-define): New macro.
5598 (python-define-auxiliary-skeleton, python-rx): New macros.
5599 (python-insert-class): Delete command.
5600 (python-skeleton-class): New command.
5601 (python-insert-def): Delete command.
5602 (python-skeleton-def): New command.
5603 (python-insert-for): Delete command.
5604 (python-skeleton-for): New command.
5605 (python-insert-if): Delete command.
5606 (python-skeleton-if): New command.
5607 (python-insert-try/except, python-insert-try/finally): Delete commands.
5608 (python-skeleton-try): New command.
5609 (python-insert-while): Delete command.
5610 (python-skeleton-while): New command.
5611 (python-backspace): Delete command.
5612 (python-indent-dedent-line-backspace): New command.
5613 (python-electric-colon): Delete command.
5614 (python-indent-electric-colon): New command.
5615 (python-guess-indent): Delete command.
5616 (python-indent-guess-indent-offset): New command.
5617 (python-shift-left): Delete command.
5618 (python-indent-shift-left): New command.
5619 (python-shift-right): Delete command.
5620 (python-indent-shift-right): New command.
5621 (python-find-function): Delete command.
5622 (python-nav-jump-to-defun): New command.
5623 (python-next-statement): Delete command.
5624 (python-nav-forward-sentence): New command.
5625 (python-previous-statement): Delete command.
5626 (python-nav-backward-sentence): New command.
5627 (python-fill-paragraph): Delete command.
5628 (python-fill-paragraph-function): New command.
5629 (python-send-buffer): Delete command.
5630 (python-shell-send-buffer): New command.
5631 (python-send-defun): Delete command.
5632 (python-shell-send-defun): New command.
5633 (python-send-region, python-send-region-and-go): Delete commands.
5634 (python-shell-send-region)
5635 (python-shell-switch-to-shell): New commands.
5636 (python-send-string): Delete command.
5637 (python-shell-send-string): New command.
5638 (python-switch-to-python): Delete command.
5639 (python-shell-switch-to-shell): New command.
5640 (python-describe-symbol): Delete command.
5641 (python-eldoc-at-point): New command.
5642 (python--set-prompt-regexp, python-args-to-list)
5643 (python-after-info-look, python-check-version)
5644 (python-check-comint-prompt, python-find-imports)
5645 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5646 (python-unload-function, python-expand-template)
5647 (python-maybe-jython, python-preoutput-filter)
5648 (python-pdbtrack-get-source-buffer)
5649 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5650 (python-pdbtrack-toggle-stack-tracking)
5651 (python-pdbtrack-track-stack-file, python-initial-text)
5652 (python-first-word, python-comment-line-p, python-send-command)
5653 (python-setup-brm, python-sentinel, python-set-proc)
5654 (python-skip-out, python-input-filter, python-outdent-p)
5655 (python-outline-level, python-backslash-continuation-line-p)
5656 (python-end-of-block, python-end-of-statement, python-mark-block)
5657 (python-beginning-of-block, python-beginning-of-statement)
5658 (python-blank-line-p, python-beginning-of-string)
5659 (python-open-block-statement-p): Delete functions.
5660 (python-indent-line, python-indent-line-1): Delete functions.
5661 (python-indent-line): New function.
5662 (python-indentation-levels): Delete function.
5663 (python-indent-calculate-levels): New function.
5664 (python-proc): Delete function.
5665 (python-shell-get-process): New function.
5666 (python-send-receive): Delete function.
5667 (python-shell-send-string-no-output): New function.
5668 (python-module-path): Delete function.
5669 (python-ffap-module-path): New function.
5670 (python-completion-at-point)
5671 (python-symbol-completions): Delete functions.
5672 (python-completion-complete-at-point): New function.
5673 (python-load-file): Delete function.
5674 (python-shell-send-file): New function.
5675 (python-calculate-indentation): Delete function.
5676 (python-indent-calculate-indentation): New function.
5677 (python-skip-comments/blanks): Delete function.
5678 (python-util-forward-comment): New function.
5679 (python-continuation-line-p): Delete function.
5680 (python-info-continuation-line-p): New function.
5681 (python-which-func, python-current-defun): Delete function.
5682 (python-info-current-defun): New function.
5683 (python-beginning-of-defun): Delete function.
5684 (python-nav-beginning-of-defun): New function.
5685 (python-close-block-statement-p)
5686 (python-block-end-p): Delete function.
5687 (python-info-closing-block): New function.
5688 (python-comint-output-filter-function)
5689 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5690 (python-fill-comment, python-fill-decorator, python-fill-paren)
5691 (python-fill-string, python-imenu-make-element-tree)
5692 (python-imenu-make-tree, python-imenu-tree-assoc)
5693 (python-indent-context, python-indent-dedent-line)
5694 (python-indent-line-function)
5695 (python-indent-post-self-insert-function)
5696 (python-indent-toggle-levels)
5697 (python-info-assignment-continuation-line-p)
5698 (python-info-beginning-of-backlash)
5699 (python-info-block-continuation-line-p)
5700 (python-info-closing-block-message)
5701 (python-info-line-ends-backslash-p)
5702 (python-info-looking-at-beginning-of-defun)
5703 (python-info-ppss-context, python-info-ppss-context-type)
5704 (python-nav-list-defun-positions, python-nav-read-defun)
5705 (python-nav-sentence-end, python-nav-sentence-start)
5706 (python-pdbtrack-comint-output-filter-function)
5707 (python-pdbtrack-set-tracked-buffer)
5708 (python-shell-calculate-exec-path)
5709 (python-shell-calculate-process-environment)
5710 (python-shell-completion--do-completion-at-point)
5711 (python-shell-completion--get-completions)
5712 (python-shell-completion-complete-at-point)
5713 (python-shell-completion-complete-or-indent)
5714 (python-shell-get-or-create-process)
5715 (python-shell-get-process-name)
5716 (python-shell-internal-get-or-create-process)
5717 (python-shell-internal-get-process-name)
5718 (python-shell-internal-send-string, python-shell-make-comint)
5719 (python-shell-parse-command, python-shell-send-setup-code)
5720 (python-skeleton-add-menu-items)
5721 (python-util-clone-local-variables, python-util-position)
5722 (run-python-internal, python-indentation-levels)
5723 (python-nav-beginning-of-defun)
5724 (python-completion-complete-at-point): New functions.
5725 (run-python): Change arguments. New API requirements.
5726
4302f5ba
SM
57272012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5728
f38ea36d
SM
5729 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5730 (bug#11649).
5731
5732 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5733 (macroexp--expand-all): Use it.
5734
4302f5ba
SM
5735 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5736 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5737 Use `cl-function' instead.
5738
33377562
JB
57392012-06-14 Juanma Barranquero <lekktu@gmail.com>
5740
5741 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5742 Suggested by Stefan Monnier while discussing bug#11657.
5743
54c5ba1a
SS
57442012-06-14 Sam Steingold <sds@gnu.org>
5745
5746 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5747
f9f1b1fe
AS
57482012-06-14 Andreas Schwab <schwab@linux-m68k.org>
5749
5750 * play/doctor.el (doctor-doc): Remove parameter and use
5751 doctor-sent instead of sent.
5752 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
5753
a81068ba
SM
57542012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5a315f9c
SM
5756 * files.el: Require cl-lib.
5757 (file-name-non-special): Replace case -> cl-case.
5758
5759 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5760
a81068ba
SM
5761 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5762 mapping from #' to function*.
5763
8cca9703
CY
57642012-06-13 Chong Yidong <cyd@gnu.org>
5765
5766 * mouse.el (mouse-drag-track): Do not set the mark if the user
5767 releases the mouse without selecting anything (Bug#11588).
5768
a12ac9d7
SM
57692012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5770
ccf1dc18
SM
5771 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5772 as well (bug#11646).
5773
ef62b23d
SM
5774 * loadup.el: Count byte-code functions as well.
5775
c4c8444a
SM
5776 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5777 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5778
a12ac9d7
SM
5779 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5780 (bug#11649). Add cl-defun and cl-defmacro.
5781
87e6e64f
DA
57822012-06-13 Drew Adams <drew.adams@oracle.com>
5783
5784 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5785 Fix last change.
5786
682cefaf
MA
57872012-06-13 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5790 Otherwise, it blocks in batch mode.
5791
773e1f08
JB
57922012-06-13 Juanma Barranquero <lekktu@gmail.com>
5793
5794 * help-mode.el (bookmark-make-record-default): Declare.
5795
60057926
CY
57962012-06-13 Chong Yidong <cyd@gnu.org>
5797
5798 * emacs-lisp/package.el (list-packages): Compute a list of
5799 packages that are newly-available since the last list-packages
5800 invocation.
5801 (package-menu--new-package-list): New var.
5802 (package-menu--generate, package-menu--print-info)
5803 (package-menu--status-predicate, package-menu-mark-install):
5804 Handle new status label "new".
5805
ad4d226c
SM
58062012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5807
5808 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5809 conversion to backquotes.
5810
f1a4e679
CY
58112012-06-12 Chong Yidong <cyd@gnu.org>
5812
5813 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5814 Rename from gud-inhibit-global-bindings.
5815
5816 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5817
5818 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5819 hook from nxml-glyph-set-hook.
5820
5821 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5822 declaration.
5823
5824 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5825
5826 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5827 Convert to defcustom.
5828
0c9e42b5
DA
58292012-06-12 Drew Adams <drew.adams@oracle.com>
5830
5831 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5832 New functions.
5833 (help-mode): Use them.
5834
09e06855
GM
58352012-06-11 Glenn Morris <rgm@gnu.org>
5836
5837 * progmodes/fortran.el (fortran-font-lock-keywords-3):
5838 Use preprocessor face for directives.
5839 (fortran-directive-re): Doc fix.
5840
71adb94b
SM
58412012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5842
2eb87922
SM
5843 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5844 conversion to backquotes (bug#11652).
5845
71adb94b
SM
5846 Fix compiler-expansion of CL's cXXr functions (bug#11673).
5847 * emacs-lisp/cl-lib.el (cl--defalias): New function.
5848 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5849 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5850 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5851 (cl-ninth, cl-tenth): Mark them as inlinable.
5852 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5853 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5854 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5855 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5856 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5857 (cl-list*, cl-adjoin): Don't put an autoload manually.
5858 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5859 (cl--compiler-macro-list*): Add autoload cookie.
5860 (cl--compiler-macro-cXXr): New function.
2eb87922 5861
71adb94b
SM
5862 * help-fns.el (help-fns--compiler-macro): New function extracted from
5863 describe-function-1; follow aliases and use `compiler-macro' property.
5864 (describe-function-1): Use it.
5865
a6674402
CY
58662012-06-11 Chong Yidong <cyd@gnu.org>
5867
5868 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5869 is uninstalled, if imagemagick is installed.
5870
bb3faf5b
SM
58712012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * emacs-lisp/cl-lib.el: Use lexical-binding.
5874 (cl-map-extents, cl-maclisp-member): Remove.
5875 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5876 (cl--set-substring, cl--block-wrapper, cl--block-throw)
5877 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5878 * emacs-lisp/cl-extra.el: Use lexical-binding.
5879 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5880 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5881 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5882 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5883 * emacs-lisp/cl-seq.el: Use lexical-binding.
5884 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5885 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5886 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5887 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5888 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5889 CL's internals.
5890
2fe4b125
MA
58912012-06-11 Michael Albinus <michael.albinus@gmx.de>
5892
5893 Sync with Tramp 2.2.6-pre.
5894
5895 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5896 `print-length' and `print-level' to nil, in order to avoid
5897 truncation. Reported by Christopher Schmidt
5898 <christopher@ristopher.com>.
5899
5900 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5901
5902 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5903 New defmacro.
5904 (tramp-compat-copy-directory): Add optional argument
5905 COPY-CONTENTS. It is not handled yet.
5906
5907 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5908 (tramp-ftp-file-name-p): Simplify.
5909
5910 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5911 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5912 connection vector.
5913
5914 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5915 (tramp-methods): Do not use `tramp-password-end-of-line'.
5916 (tramp-completion-function-alist-putty): Handle UNIX case.
5917 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5918 (tramp-do-file-attributes-with-stat)
5919 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5920 gid as real numbers. They could run out of integer range on cygwin.
5921 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5922 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
5923 (tramp-open-connection-setup-interactive-shell):
5924 Use `tramp-cleanup'. Move check for busyboxes ...
5925 (tramp-find-shell): ... here. Simplify implementation.
5926 Set "remote-shell" property also for alternative shells.
5927 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5928 If failing, a regular file would be written otherwise.
5929 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
5930 (tramp-find-inline-encoding): Cache the coding commands in the
5931 process cache. Apply test command on the remote side, if defined.
5932 (tramp-find-inline-compress): Cache the compress commands in the
5933 process cache.
5934 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5935 when requested. Handle hops.
5936 (tramp-current-connection): New defvar.
87e6e64f
DA
5937 (tramp-maybe-open-connection): Use `tramp-cleanup'.
5938 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 5939 Handle user interrupt. (Bug#10187)
87e6e64f
DA
5940 (tramp-get-inline-compress, tramp-get-inline-coding):
5941 Read connection properties from the process cache.
2fe4b125
MA
5942
5943 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
5944 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5945 New defconsts.
2fe4b125
MA
5946 (tramp-smb-prompt): Extend for powershell prompt.
5947 (tramp-smb-file-name-handler-alist): Add handlers for
5948 `process-file', `shell-command' and `start-file-process'.
5949 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5950 (tramp-smb-winexe-shell-command-switch): New defcustoms.
5951 (tramp-smb-file-name-p): Simplify.
5952 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5953 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5954 (tramp-smb-shell-quote-argument): New defuns.
5955 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5956 Implement using "tar". By this, time-stamps are preserved.
5957 (tramp-smb-handle-copy-file): Handle also the case of directories.
5958 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
5959 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5960 Use `tramp-get-connection-buffer').
2fe4b125
MA
5961 (tramp-smb-handle-rename-file): Use "rename", when source and
5962 target are on the same share.
87e6e64f
DA
5963 (tramp-smb-maybe-open-connection): Handle wrong passwords.
5964 Use `tramp-smb-server-version'.
2fe4b125
MA
5965 (tramp-smb-wait-for-output): Remove prompt.
5966
5967 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
5968 (tramp-methods, tramp-rsh-end-of-line):
5969 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
5970 (tramp-save-ad-hoc-proxies): New defcustom.
5971 (tramp-completion-function-alist): Adapt docstring.
5972 (tramp-default-password-end-of-line): Remove defcustom.
5973 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
5974 (tramp-user-regexp, tramp-file-name-regexp-unified)
5975 (tramp-file-name-regexp-url): Extend regexp by hop separator.
5976 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5977 (tramp-remote-file-name-spec-regexp): New defconst.
5978 (tramp-file-name-structure): Extend structure for hops.
5979 (tramp-get-method-parameter): Move up.
5980 (tramp-file-name-p, tramp-dissect-file-name)
5981 (with-parsed-tramp-file-name): Handle hops.
5982 (tramp-file-name-hop): New defun.
5983 (tramp-make-tramp-file-name): New optional arg HOP.
5984 (tramp-message-show-progress-reporter-message): New defvar.
5985 (tramp-with-progress-reporter): Use it. We cannot use
5986 `tramp-message-show-message' here, because this suppresses also
5987 error buffers.
5988 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
5989 `tramp-message-show-message' is nil.
5990 Use `tramp-get-connection-buffer'.
2fe4b125
MA
5991 (tramp-cleanup): New defun.
5992 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5993 (tramp-file-name-handler): If `debug-on-error' is set, propagate
5994 an error unchanged.
5995 (tramp-completion-handle-file-name-all-completions): Handle hops.
5996 Fix an error when called from ido.
5997 (tramp-completion-dissect-file-name): Use better local variable
5998 name. Add hop to the vector.
5999 (tramp-handle-insert-file-contents): Use progress-reporter for the
6000 whole scenario.
6001 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
6002 to `t'.
6003 (tramp-check-for-regexp): Simplify search.
6004 (tramp-enter-password): Remove it. Move implementation ...
6005 (tramp-action-password): ... here.
6006 (tramp-mode-string-to-int, tramp-local-host-p)
6007 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
6008 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
6009 Set tramp-autoload cookie.
2fe4b125
MA
6010
6011 * net/trampver.el: Update release number.
6012
60132012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6014 Michael Albinus <michael.albinus@gmx.de>
6015
6016 * net/tramp.el (tramp-set-completion-function): Fix docstring.
6017 (tramp-parse-group, tramp-parse-file)
6018 (tramp-parse-shostkeys-sknownhosts): New defuns.
6019 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
6020 (tramp-parse-shosts-group, tramp-parse-sconfig)
6021 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
6022 (tramp-parse-sknownhosts, tramp-parse-hosts)
6023 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
6024 Use them.
6025 (tramp-parse-passwd-group, tramp-parse-netrc-group)
6026 (tramp-parse-putty-group): Don't narrow.
6027 (tramp-parse-putty): Make a loop.
6028 (tramp-file-name-handler): Catch the `suppress' signal.
6029
72834e10
CY
60302012-06-11 Chong Yidong <cyd@gnu.org>
6031
6032 * image.el (imagemagick-register-types): Put the ImageMagick entry
6033 at the end of image-type-file-name-regexps.
6034
a4712e11
JB
60352012-06-11 Johan Bockgård <bojohan@gnu.org>
6036
6037 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
6038 (pcase, pcase-let*, pcase-dolist): Use them.
6039
82ad98e3
SM
60402012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * emacs-lisp/pcase.el (pcase--let*): New function.
6043 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
6044 (pcase--expand): Use macroexp-let².
6045
f80efb86
SM
60462012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
6047
6048 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
6049 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
6050 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
6051 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
6052 * emacs-lisp/derived.el: Use pcase instead of `cl'.
6053 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
6054
31ca4639 60552012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 6056
31ca4639
CY
6057 * mail/rmail.el (rmail-yank-current-message): Leave point at
6058 correct position. (Bug#11660)
94f0aa34 6059
31ca4639 60602012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 6061
31ca4639 6062 * allout-widgets.el: Fix code header.
9e1b8ec4 6063
31ca4639 60642012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 6065
f80efb86
SM
6066 * cus-edit.el (customize-changed-options-previous-release):
6067 Bump to 24.1.
31ca4639 6068
642b6d30
AS
60692012-06-09 Andreas Schwab <schwab@linux-m68k.org>
6070
6071 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
6072
4f5d2ba1
CY
60732012-06-09 Chong Yidong <cyd@gnu.org>
6074
6075 * ebuff-menu.el (electric-buffer-list): Preserve header line.
6076
e75852fd
MR
60772012-06-09 Martin Rudalics <rudalics@gmx.at>
6078
6079 * window.el (special-display-popup-frame): Don't use
6080 window--display-buffer (Bug#11651).
6081
1e48e282
EZ
60822012-06-09 Eli Zaretskii <eliz@gnu.org>
6083
8a26b487
EZ
6084 Fix parallel builds: make sure loaddefs.el is not being written
6085 while Lisp files are compiled.
6086 (compile): Don't depend on 'mh-autoloads'.
6087 (compile-CMD, compile-SH): Depend on 'autoloads'.
6088 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
6089
1e48e282
EZ
6090 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
6091
6175e34b
CY
60922012-06-09 Chong Yidong <cyd@gnu.org>
6093
6094 * face-remap.el (face-remap-add-relative, face-remap-set-base)
6095 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
6096 Doc fixes (Bug#11225).
6097
d9857e53
SM
60982012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
6099
6100 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
6101 a function if there's a clear indication that it has a compiler-macro.
6102 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
6103 (macro-declarations-alist): Add arglist to declaration functions.
6104 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
6105 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
6106 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
6107 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
6108 Also add autoload to find the compiler macro.
6109 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
6110 (cl--compiler-macro-member, cl--compiler-macro-assoc)
6111 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
6112 (cl--compiler-macro-get): New functions, replacing calls to
6113 cl-define-compiler-macro.
6114 (cl-typep) [compiler-macro]: Use macroexp-let².
6115
f81298f8 61162012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
6117
6118 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
6119 string properly, fixes Bug#11473.
6120
4b56d0fe
CY
61212012-06-08 Chong Yidong <cyd@gnu.org>
6122
6123 * faces.el (set-face-attribute): Doc fix.
6124 (modify-face): Don't use :bold and :italic.
6125 (error, warning, success): Tweak definitions.
6126
6127 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
6128 (custom-modified, custom-set, custom-changed, custom-themed)
6129 (custom-saved, custom-button, custom-button-mouse)
6130 (custom-button-pressed, custom-state, custom-comment-tag)
6131 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
6132 (custom-group-subtitle): Use new-style face specs.
6133 (custom-invalid-face, custom-rogue-face, custom-modified-face)
6134 (custom-set-face, custom-changed-face, custom-saved-face)
6135 (custom-button-face, custom-button-pressed-face)
6136 (custom-documentation-face, custom-state-face)
6137 (custom-comment-face, custom-comment-tag-face)
6138 (custom-variable-tag-face, custom-variable-button-face)
6139 (custom-face-tag-face, custom-group-tag-face-1)
6140 (custom-group-tag-face): Remove obsolete face alias.
6141
6142 * epa.el (epa-validity-high, epa-validity-medium)
6143 (epa-validity-low, epa-mark, epa-field-name, epa-string)
6144 (epa-field-name, epa-field-body):
6145 * font-lock.el (font-lock-comment-face, font-lock-string-face)
6146 (font-lock-keyword-face, font-lock-builtin-face)
6147 (font-lock-function-name-face, font-lock-variable-name-face)
6148 (font-lock-type-face, font-lock-constant-face):
6149 * ido.el (ido-first-match, ido-only-match, ido-subdir)
6150 (ido-virtual, ido-indicator, ido-incomplete-regexp):
6151 * speedbar.el (speedbar-button-face, speedbar-file-face)
6152 (speedbar-directory-face, speedbar-tag-face)
6153 (speedbar-selected-face, speedbar-highlight-face)
6154 (speedbar-separator-face):
6155 * whitespace.el (whitespace-newline, whitespace-space)
6156 (whitespace-hspace, whitespace-tab, whitespace-trailing)
6157 (whitespace-line, whitespace-space-before-tab)
6158 (whitespace-space-after-tab, whitespace-indentation)
6159 (whitespace-empty):
6160 * emulation/cua-base.el (cua-global-mark):
6161 * eshell/em-prompt.el (eshell-prompt):
6162 * net/newst-plainview.el (newsticker-new-item-face)
6163 (newsticker-old-item-face, newsticker-immortal-item-face)
6164 (newsticker-obsolete-item-face, newsticker-date-face)
6165 (newsticker-statistics-face, newsticker-default-face):
6166 * net/newst-reader.el (newsticker-feed-face)
6167 (newsticker-extra-face, newsticker-enclosure-face):
6168 * net/newst-treeview.el (newsticker-treeview-face)
6169 (newsticker-treeview-new-face, newsticker-treeview-old-face)
6170 (newsticker-treeview-immortal-face)
6171 (newsticker-treeview-obsolete-face)
6172 (newsticker-treeview-selection-face):
6173 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
6174 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
6175 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
6176 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
6177 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
6178 (nxml-outline-active-indicator, nxml-outline-ellipsis):
6179 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
6180 (mpuz-text):
6181 * progmodes/vera-mode.el (vera-font-lock-number)
6182 (vera-font-lock-function, vera-font-lock-interface):
6183 * textmodes/table.el (table-cell): Use new-style face specs, and
6184 don't use the old :bold and :italic attributes.
6185
6186 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
6187 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
6188 (ebrowse-member-class, ebrowse-progress): Likewise.
6189 (ebrowse-tree-mark-face, ebrowse-root-class-face)
6190 (ebrowse-file-name-face, ebrowse-default-face)
6191 (ebrowse-member-attribute-face, ebrowse-member-class-face)
6192 (ebrowse-progress-face): Remove obsolete faces.
6193
6194 * progmodes/flymake.el (flymake-errline, flymake-warnline):
6195 Inherit from error and warning faces respectively.
6196
6197 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
6198 Likewise.
f80efb86
SM
6199 (flyspell-incorrect-face, flyspell-duplicate-face):
6200 Remove obsolete aliases.
4b56d0fe 6201
03310646
MA
62022012-06-08 Michael Albinus <michael.albinus@gmx.de>
6203
6204 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6205 Avoid infloop.
6206
513749ee
SM
62072012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6208
6209 * startup.el (argv, argi): Make lexically scoped.
6210 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
6211 * emacs-lisp/cl-macs.el: Use lexical-binding.
6212 Rename cl-bind-* to cl--bind-*.
6213 * files.el: Don't require `cl' since it doesn't use it.
6214 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
6215
595ef4ad
JB
62162012-06-08 Juanma Barranquero <lekktu@gmail.com>
6217
6218 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
6219 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
6220 instead of calling external sort utility.
6221 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
6222
e9f66fcb
EZ
62232012-06-08 Eli Zaretskii <eliz@gnu.org>
6224
6225 * descr-text.el (describe-char): Mention how to insert the
6226 character, if the current input method doesn't support it.
6227 See the discussion in this thread for the details:
6228 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
6229
3d10db47
SS
62302012-06-08 Sam Steingold <sds@gnu.org>
6231
6232 * bindings.el (global-map): Bind XF86Forward to next-buffer and
6233 XF86Back to previous-buffer.
6234 (minibuffer-local-map): Bind them to next-history-element and
6235 previous-history-element respectively.
6236 * help-mode.el (help-mode-map): Bind them to help-go-forward and
6237 help-go-back respectively.
6238 * info.el (Info-mode-map): Bind them to Info-history-forward and
6239 Info-history-back respectively.
6240 These are the keys next to Up on the ThinkPad keyboard.
6241
de7e2b36
SM
62422012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
6245 * emacs-lisp/cl-macs.el: Provide itself.
6246 (cl--labels-convert-cache): New var.
6247 (cl--labels-convert): New function.
6248 (cl-flet, cl-labels): New implementation with new semantics, relying on
6249 lexical-binding.
6250 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
6251 (cl-closure-vars, cl--function-convert-cache)
6252 (cl--function-convert): Move from cl-macs.el.
6253 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
6254 rename by removing the "cl-" prefix.
6255 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6256
6fa6c4ae
SM
62572012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6258
6259 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6260 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6261 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6262 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6263 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6264 (cl-hash-table-count): Add old compatibility aliases.
6265
6266 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6267 Use macroexpand-all-environment instead.
6268 (cl--old-macroexpand): New var.
6269 (cl--sm-macroexpand): New function.
6270 (cl-symbol-macrolet): Use it during macro expansion.
6271 (cl--function-convert-cache): New var.
6272 (cl--function-convert): New function, extracted from
6273 cl-macroexpand-all.
6274 (cl-lexical-let): Use it.
6275
6276 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6277 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6278 (cl-member): Remove old alias.
6279
6280 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6281 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6282 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6283 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6284 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6285 (cl-macroexpand-cmacs): Remove var.
6286 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6287 Use macroexpand-all instead.
6288
4dd1c416
SM
62892012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6290
6291 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6292 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6293 (macroexp-copyable-p): New functions and macros.
6294 * emacs-lisp/edebug.el (edebug-unwrap):
6295 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6296 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6297 (pcase--let*): Remove.
6298 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6299 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
6300 macroexp-const-p instead.
6301 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6302
6303 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6304 instead of "cl-" for internal definitions. Use macroexp-const-p.
6305 (cl-old-bc-file-form): Remove var.
6306 (cl-const-exprs-p): Remove fun.
6307 (cl-labels, cl-macrolet): Use backquote.
6308 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
6309 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6310 (cl-define-setf-expander): Rename from cl-define-setf-method.
6311 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6312
6313 * international/mule-cmds.el: Don't require CL.
6314 (view-hello-file): Don't use `letf'.
6315
ed8bd4d7
SM
63162012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6317
7287f2f3
SM
6318 * tmm.el (tmm-prompt): Use string-prefix-p.
6319 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6320 (tmm-add-prompt): Use minibuffer-completion-help.
6321 (tmm-delete-map): Remove.
6322
ed8bd4d7
SM
6323 * subr.el (kbd): Make it its own function.
6324
7b4cdbf4
SM
63252012-06-07 Stefan Merten <smerten@oekonux.de>
6326
6327 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6328 Silence compiler warnings. Fix versions.
ed8bd4d7 6329 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 6330 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 6331 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
6332 (rst-package-emacs-version-alist): Correct Emacs version to
6333 represent major merge with upstream.
ed8bd4d7 6334 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 6335
2b48d721
GM
63362012-06-06 Glenn Morris <rgm@gnu.org>
6337
6338 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6339 Only print environment variables if set.
6340
fa779ab0
SM
63412012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6344 (macroexp--cons): Rename from maybe-cons.
6345 (macroexp--accumulate): Rename from macroexp-accumulate.
6346 (macroexp--all-forms): Rename from macroexpand-all-forms.
6347 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6348 (macroexp--expand-all): Rename from macroexpand-all-1.
6349
628299e0
SS
63502012-06-06 Sam Steingold <sds@gnu.org>
6351
6352 * calendar/calendar.el (calendar-in-read-only-buffer):
6353 Call `special-mode' to enable the standard read-only keybindings.
6354
b7bb5838
SM
63552012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
6356
6357 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6358 with "loading" messages (bug#11635).
6359
dfb308ba
MA
63602012-06-06 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * files.el (enable-remote-dir-locals): New option.
6363 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
6364
0372ee92
MA
6365 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6366 Ensure, that the temp directory is local.
6367
6368 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6369 `temporary-file-directory'.
6370
eed0bb91
MA
6371 * progmodes/python.el (python-send-region): Ensure, that the
6372 temporary file is created also in the remote case.
6373
7a58f64d
GM
63742012-06-06 Glenn Morris <rgm@gnu.org>
6375
f7dd4e98
GM
6376 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6377 (vc-rcs-update-changelog): Use it.
6378
090bd7cb 6379 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 6380
7a58f64d
GM
6381 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6382 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6383 (vc-sccs-diff): Replace use of the external vcdiff script.
6384
daed4003
GM
63852012-06-05 Glenn Morris <rgm@gnu.org>
6386
6387 * ledit.el: Move to obsolete/.
6388
48c455c7
SS
63892012-06-05 Sam Steingold <sds@gnu.org>
6390
ed9265fc 6391 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
6392 patch (Bug#11140).
6393
57a7d507
SM
63942012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6395
090bd7cb 6396 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 6397
53aacf21
SM
6398 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6399 compiler-macro expansion.
6400
57a7d507
SM
6401 Add native compiler-macro support.
6402 * emacs-lisp/macroexp.el (macroexpand-all-1):
6403 Support compiler-macros directly. Properly follow aliases and apply
6404 the compiler macros more thoroughly.
6405 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6406 macroexpand now properly follows aliases.
6407 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6408 (cl-compiler-macroexpand): Use new prop.
6409 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6410
6411 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6412
51a5f9d8
MR
64132012-06-05 Martin Rudalics <rudalics@gmx.at>
6414
6415 * window.el (get-lru-window, get-mru-window, get-largest-window):
6416 New argument NOT-SELECTED to avoid picking the selected window.
6417 (window--display-buffer-1, window--display-buffer-2): Replace by
6418 new function window--display-buffer
6419 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
6420 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6421 Use window--display-buffer.
51a5f9d8
MR
6422 (display-buffer-use-some-window): Remove temporary dedication
6423 hack by calling get-lru-window and get-largest-window with
6424 NOT-SELECTED argument non-nil. Call window--display-buffer.
6425
08f9f738
GM
64262012-06-05 Glenn Morris <rgm@gnu.org>
6427
6428 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6429 Replace external vcdiff script.
6430
e364a2b7
SM
64312012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6432
6433 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6434
041df390
CY
64352012-06-04 Chong Yidong <cyd@gnu.org>
6436
e364a2b7
SM
6437 * image.el (imagemagick-types-inhibit): Revert last change.
6438 Add INFO and M.
47b36b94 6439 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 6440
7c1898a7
SM
64412012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
6442
6443 * emacs-lisp/cl-lib.el: Rename from cl.el.
6444 * emacs-lisp/cl.el: New compatibility file.
6445 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6446 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6447 to obey the "cl-" prefix.
6448 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6449
0c3461de
GM
64502012-06-03 Glenn Morris <rgm@gnu.org>
6451
1e266c88
GM
6452 * emacs-lisp/authors.el (authors-aliases): Addition.
6453
0c3461de
GM
6454 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6455 Fix :version.
6456
d8a52e15
SM
64572012-06-03 Stefan Merten <smerten@oekonux.de>
6458
6459 * textmodes/rst.el: Add comments.
6460 (rst-transition, rst-adornment): New faces.
6461 (rst-adornment-faces-alist): Make default safe to reevaluate.
6462 Fixes
6463 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6464 Improve customization tags.
6465 (rst-define-level-faces): Clarify meaning.
6466
5205d6f6
CY
64672012-06-03 Chong Yidong <cyd@gnu.org>
6468
6469 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
6470 (compilation-mode-line-run, compilation-mode-line-exit):
6471 New faces.
5205d6f6
CY
6472 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6473
757ee657
JD
64742012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
6475
7c1898a7
SM
6476 * progmodes/which-func.el (which-func-update-ediff-windows):
6477 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 6478
5f2c76c6
CY
64792012-06-03 Chong Yidong <cyd@gnu.org>
6480
6481 * bindings.el: Remove explicit help text from format-mode-line.
6482 It is now supplied by mode-line-default-help-echo.
6483 (mode-line-front-space, mode-line-end-spaces)
6484 (mode-line-misc-info): New variables.
6485 (mode-line-modes, mode-line-position): Move the default value to
6486 the variable definition.
6487 (mode-line-default-help-echo): New defcustom.
383f7350
CY
6488 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6489 (mode-line-modified-help-echo): New functions.
6490 (mode-line-mule-info, mode-line-modified): Use them.
6491 (mode-line-eol-desc, propertized-buffer-identification):
6492 Consistency fixes for help text.
cbe46e5f
CY
6493 (mode-line-coding-system-map): Allow using mouse-3 to invoke
6494 set-buffer-file-coding-system (Bug#289).
6495 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 6496
f2d6a3df
SM
64972012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
6498
6499 * simple.el (execute-extended-command): Set real-this-command
6500 (bug#11506).
6501
37269466
CY
65022012-06-02 Chong Yidong <cyd@gnu.org>
6503
6504 Remove incorrect uses of "modeline" in comments, docstrings, and
6505 function/variable names (Bug#10329).
6506
6507 * cus-edit.el (mode-line):
6508 * dframe.el (dframe-mouse-hscroll):
6509 * emacs-lisp/re-builder.el:
6510 * emacs-lisp/easy-mmode.el (define-minor-mode):
6511 * frame.el (set-frame-name):
6512 * help.el (lookup-minor-mode-from-indicator):
6513 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6514 * progmodes/cc-cmds.el (c-toggle-auto-newline)
6515 (c-toggle-hungry-state):
6516 * progmodes/antlr-mode.el (antlr-language-alist):
6517 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6518 * progmodes/vhdl-mode.el (vhdl-mode):
6519 * progmodes/which-func.el (which-func, which-func-cleanup-function):
6520 * term/ns-win.el (ns-face-at-pos):
6521 * term/sup-mouse.el (sup-mouse-report):
6522 * textmodes/flyspell.el (flyspell-mode-line-string):
6523 * textmodes/ispell.el (ispell-highlight-face):
6524 * textmodes/reftex-global.el:
6525 * vc/vc-arch.el (vc-arch-mode-line-string):
6526 * vc/vc-cvs.el (vc-cvs-mode-line-string):
6527 * vc/vc-git.el (vc-git-mode-line-string):
6528 * vc/vc-hooks.el (vc-display-status)
6529 (vc-default-mode-line-string):
6530 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6531
6532 * ansi-color.el (ansi-color-faces-vector): Change default faces.
6533
6534 * dired.el (dired-sort-set-mode-line): Rename from
6535 dired-sort-set-modeline. All callers changed.
6536
6537 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6538 eshell-status-in-modeline.
6539
6540 * foldout.el (foldout-mode-line-string): Rename from
6541 foldout-modeline-string. All callers changed.
6542 (foldout-update-mode-line): Rename from foldout-update-modeline.
6543
6544 * subr.el (redraw-modeline): Make into obsolete alias.
6545
6546 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6547 timeclock-modeline-display. Make old name an alias.
6548 (timeclock-update-mode-line): Likewise. All callers changed.
6549 (timeclock-mode-line-display): No need to check before using
6550 add-hook.
6551 (timeclock-relative, timeclock-day-over-hook)
6552 (timeclock-use-elapsed, timeclock-mode-string)
6553 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6554
6555 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6556 crisp-mode-modeline-string.
6557
6558 * play/solitaire.el (solitaire-build-mode-line): Rename from
6559 solitaire-build-modeline. All callers changed.
6560
6561 * play/zone.el (zone-hiding-mode-line): Rename from
6562 zone-hiding-modeline. All callers changed.
6563 (zone): Remove unusued `modeline-hidden-level' property.
6564
6565 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6566 xscheme-modeline-initialize. All callers changed.
6567
6568 * strokes.el (strokes-lighter): Rename from
6569 strokes-modeline-string.
6570
6571 * textmodes/sgml-mode.el (html-face-tag-alist)
6572 (html-tag-face-alist): Use mode-line face instead of obsolete
6573 alias modeline.
6574
42152ee4
SM
65752012-06-02 Stefan Merten <smerten@oekonux.de>
6576
6577 * textmodes/rst.el: Always require `cl'.
4cf9b38d 6578 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 6579
95f520b5
CY
65802012-06-02 Chong Yidong <cyd@gnu.org>
6581
6582 * image.el (imagemagick-enabled-types): Rename from
6583 imagemagick-types-enable. Add many more types.
6584 (imagemagick-types-inhibit): Change default to nil.
6585 (imagemagick-filter-types): Caller changed.
6586
4a5f187a
SM
65872012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
6588
03fef3e6
SM
6589 * emacs-lisp/cl-macs.el: Use backquotes.
6590 (cl-transform-function-property): Use eval-and-compile rather than
6591 abusing `require'.
6592 (defstruct): Use declare-function instead of with-no-warnings.
6593
4a5f187a
SM
6594 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6595 (byte-compile-output-docform): Re-add the print-circle bindings.
6596 (byte-compile-fix-header): Use #$ just because it's shorter.
6597 (byte-compile-output-file-form): Remove defun/defmacro.
6598
bd56924f
MR
65992012-06-01 Martin Rudalics <rudalics@gmx.at>
6600
6601 * simple.el (choose-completion): Remove now obsolete binding for
6602 owindow.
6603
046e38ce
MA
66042012-06-01 Michael Albinus <michael.albinus@gmx.de>
6605
6606 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6607 in order to avoid "Stack overflow in regexp matcher".
6608
32d72c2f
GM
66092012-05-31 Glenn Morris <rgm@gnu.org>
6610
6611 * image.el: For clarity, call imagemagick-register-types at
6612 top-level, rather than relying on a custom :initialize.
6613 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
6614 (imagemagick-filter-types): New function. (Bug#7406)
6615 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
6616 If disabling support, remove elements altogether rather
6617 than using an impossible regexp.
6618 (imagemagick-types-inhibit): Give it the default init function.
6619
dd41169b
SM
66202012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6621
4a5f187a
SM
6622 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6623 Handle arbitrary file name lengths (Bug#11585).
dd41169b 6624
efc00ab1 66252012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
6626
6627 * desktop.el (desktop-read): Clear previous and next buffers for
6628 all windows and bury *Messages* buffer (bug#11556).
6629
500fcedc
SM
66302012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 Add `declare' for `defun'. Align `defmacro's with it.
6633 * emacs-lisp/easy-mmode.el (define-minor-mode)
6634 (define-globalized-minor-mode): Don't autoload the var definitions.
6635 * emacs-lisp/byte-run.el: Use lexical-binding.
6636 (defun-declarations-alist, macro-declarations-alist): New vars.
6637 (defmacro, defun): Use them.
6638 (make-obsolete, define-obsolete-function-alias)
6639 (make-obsolete-variable, define-obsolete-variable-alias):
6640 Use `declare'.
6641 (macro-declaration-function): Mark obsolete.
6642 * emacs-lisp/autoload.el: Use lexical-binding.
6643 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
6644
6e8a1786
AM
66452012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6646
6647 * textmodes/ispell.el (ispell-with-no-warnings):
6648 Define as a macro.
500fcedc
SM
6649 (ispell-kill-ispell, ispell-change-dictionary):
6650 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
6651 `interactive-p'.
6652
61b108cc
SM
66532012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6656 (macro-declaration-function): Move var from C code.
6657 (macro-declaration-function): Define function with defalias.
6658 * emacs-lisp/macroexp.el (macroexpand-all-1):
6659 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6660 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6661 defun/defmacro any more.
6662 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6663 Provide fallback for unknown arglist.
6664 (byte-compile-arglist-warn): Change calling convention.
6665 (byte-compile-output-file-form): Move print-vars binding.
6666 (byte-compile-output-docform): Simplify accordingly.
6667 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6668 (byte-compile-defmacro-declaration): Remove.
6669 (byte-compile-file-form-defmumble): Generalize to defalias.
6670 (byte-compile-output-as-comment): Return byte-positions.
6671 Simplify callers accordingly.
6672 (byte-compile-lambda): Use `assert'.
6673 (byte-compile-defun, byte-compile-defmacro): Remove.
6674 (byte-compile-file-form-defalias):
6675 Use byte-compile-file-form-defmumble.
6676 (byte-compile-defalias-warn): Remove.
6677
6d3f7c2f
SM
66782012-05-29 Stefan Merten <smerten@oekonux.de>
6679
6680 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 6681 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
6682
6683 (rst-mode-abbrev-table): Merge definition.
6684 (rst-mode): Make sure `font-lock-defaults' is buffer local.
6685 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6686
6dbaa1c7
UJ
66872012-05-29 Ulf Jasper <ulf.jasper@web.de>
6688
6689 * calendar/icalendar.el
6690 (icalendar-export-region): Export UID properly.
6691
d209e2fb 66922012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
6693 * calendar/icalendar.el (icalendar-import-format):
6694 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
6695 (icalendar-import-format-uid): New.
6696 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6697 Export UID.
6698
6876a58d
SM
66992012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6700
6701 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6702 different alternative patterns.
6703 (pcase-codegen): Be more careful to preserve identity.
6704 (pcase--u1): Don't forget to mark vars as used.
6705
6706 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6707 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6708 (byte-compile-from-buffer): ...rather than here.
6709
6710 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6711 functions from byte-compile-function-environment.
6712
46b7967e
TN
67132012-05-29 Troels Nielsen <bn.troels@gmail.com>
6714
6715 * window.el (window-deletable-p): Avoid deleting the root window
6716 of a frame with an active minibuffer.
6717
69d565e2
MR
67182012-05-29 Martin Rudalics <rudalics@gmx.at>
6719
6720 * simple.el (choose-completion): Use quit-window (Bug#11567).
6721
a149fa51
CY
67222012-05-29 Chong Yidong <cyd@gnu.org>
6723
6724 * whitespace.el (whitespace-cleanup): Fix usage of
6725 whitespace-empty-at-bob-regexp (Bug#11492).
6726
2b311310
AH
67272012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6728
6729 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6730 revert (Bug#11488).
6731
b9cb2387
JL
67322012-05-29 Juri Linkov <juri@jurta.org>
6733
6734 * isearch.el (isearch-mode-map): Bind `M-s _' to
6735 `isearch-toggle-symbol'. Bind `M-s c' to
6736 `isearch-toggle-case-fold'.
6737 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6738 (isearch-forward): Add `M-s _' to the docstring.
6739 (isearch-forward-symbol, isearch-toggle-case-fold)
6740 (isearch-symbol-regexp): New functions. (Bug#11381)
6741
d5e61c1c
JL
67422012-05-29 Juri Linkov <juri@jurta.org>
6743
6744 * isearch.el (isearch-word): Add docstring. (Bug#11381)
6745 (isearch-occur, isearch-search-and-update): If `isearch-word' is
6746 a function, call it to get the regexp.
6747 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6748 property `isearch-message-prefix' instead of the string "word ".
6749 (isearch-search-fun-default): For the case of `isearch-word',
6750 return a lambda that calls re-search-forward/re-search-backward
6751 with a regexp returned by `word-search-regexp' or by the function
6752 in `isearch-word'.
6753
8cbd80f7
JL
67542012-05-29 Juri Linkov <juri@jurta.org>
6755
6756 * isearch.el (isearch-search-fun-default): New function.
6757 (isearch-search-fun): Move default part to the new function
6758 `isearch-search-fun-default'.
6759 (isearch-search-fun-function): Set the default value to
6760 `isearch-search-fun-default'. (Bug#11381)
6761
6762 * comint.el (comint-history-isearch-end):
6763 Use `isearch-search-fun-default'.
6764 (comint-history-isearch-search): Use `isearch-search-fun-default'
6765 and remove spacial case for `isearch-word'.
6766 (comint-history-isearch-wrap): Remove spacial case for
6767 `isearch-word'.
6768
6769 * hexl.el (hexl-isearch-search-function):
6770 Use `isearch-search-fun-default'.
6771
6772 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6773 Use `word-search-regexp' for `isearch-word'.
6774
6775 * misearch.el (multi-isearch-search-fun):
6776 Use `isearch-search-fun-default'.
6777
6778 * simple.el (minibuffer-history-isearch-search):
6779 Use `isearch-search-fun-default' and remove spacial case for
6780 `isearch-word'.
6781 (minibuffer-history-isearch-wrap): Remove spacial case for
6782 `isearch-word'.
6783
6784 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6785 Remove spacial case for `isearch-word'.
6786 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6787
85c8c5b6
AM
67882012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6789
6790 Decrease XEmacs incompatibilities.
6791 * textmodes/flyspell.el (flyspell-check-pre-word-p):
6792 Use `string-match'.
6793 (flyspell-delete-region-overlays): Use alternative definition for
6794 XEmacs.
6795 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6796 (flyspell-word): Use `process-kill-without-query' if XEmacs.
6797 (flyspell-mode-on): Use `interactive-p' if XEmacs.
6798 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6799 `define-obsolete-face-alias' under XEmacs, but old method.
6800
6801 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6802 `with-no-warnings' definition or Emacs alias.
6803 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6804 (ispell-word): Do not use `region-p' if XEmacs.
6805
8cab9efc
AM
68062012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6807
6808 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6809 Check for `ispell-dictionary-base-alist' instead of full
6810 `ispell-dictionary-alist'.
6811 (ispell-init-process): Show spellchecker when starting new Ispell
6812 process.
6813
fda91268
RZ
68142012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
6815
6816 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6817 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6818
694ea8e3
JB
68192012-05-27 Juanma Barranquero <lekktu@gmail.com>
6820
6821 * version.el (motif-version-string, gtk-version-string)
6822 (ns-version-string): Declare.
6823
e4d4f539
JL
68242012-05-27 Juri Linkov <juri@jurta.org>
6825
6826 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6827 after the `eval-defun-1' specialcaseing
6828 like in `edebug-eval-defun' (bug#10181).
6829
6830 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6831 like in `eval-defun-1'.
6832
33017faf 68332012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 6834
fda91268
RZ
6835 * mail/sendmail.el (mail-yank-region):
6836 Recognize rmail-yank-current-message in addition to insert-buffer.
6837 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
6838 a *mail* buffer created through rmail-start-mail with sendmail as
6839 mail-user-agent.
6840
33017faf
GM
68412012-05-27 Chong Yidong <cyd@gnu.org>
6842
6843 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6844 Default to 256 (Bug#11267).
6845
6846 * help.el (describe-mode): Doc fix.
6847
04188bb9
GM
68482012-05-26 Glenn Morris <rgm@gnu.org>
6849
38264cc9
GM
6850 * w32-fns.el (w32-init-info): Remove.
6851 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6852
eb7afdad
GM
6853 * info.el (info-initialize): For self-contained NS builds, put the
6854 included info/ directory at the front. (Bug#2791)
6855
04188bb9
GM
6856 * paths.el (Info-default-directory-list): Make it a defcustom,
6857 mainly so that we can use custom-initialize-delay.
6858
a179e3f7
SM
68592012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
6860
43416392
SM
6861 * subr.el (buffer-has-markers-at): Mark obsolete.
6862
a179e3f7 6863 * subr.el (lambda): Use declare.
43416392 6864
a179e3f7
SM
6865 * emacs-lisp/lisp-mode.el (lambda):
6866 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6867
34a008d9
AH
68682012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
6869
6870 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
6871
0a3b289f
GM
68722012-05-26 Glenn Morris <rgm@gnu.org>
6873
6874 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6875
758c81e8
GM
68762012-05-25 Glenn Morris <rgm@gnu.org>
6877
f9f334f0
GM
6878 * paths.el: Remove no-byte-compile.
6879 * loadup.el: No need to load paths.el uncompiled.
6880
87eb79c2
GM
6881 * image.el (imagemagick-types-inhibit): Doc fix.
6882
758c81e8
GM
6883 * version.el: Remove no-byte-compile and associated formatting.
6884 * loadup.el: No need to load version.el uncompiled. AFAICS, this
6885 is ancient code from when there was an "inc-vers.el".
6886
e7e85dc0
SM
68872012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6888
6889 * progmodes/gdb-mi.el: Minor style changes.
6890 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6891 Turn into minor modes.
6892 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6893 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6894 (gdb-shell): Remove unneeded let-binding.
6895 (gdb-get-many-fields): Eliminate O(n²) behavior.
6896
f31237a4
EZ
68972012-05-25 Eli Zaretskii <eliz@gnu.org>
6898
6899 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6900 platforms that don't link in fontset.c.
6901
bc1b21bb
JL
69022012-05-25 Juri Linkov <juri@jurta.org>
6903
6904 Use the same diff color scheme as in modern VCSes (bug#10181).
6905
6906 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6907 to avoid confusion with `diff-added' that now uses green colors.
6908 (diff-removed): Use shades of red.
6909 (diff-added): Use shades of green.
6910 (diff-changed): Leave just the yellow color.
6911 (diff-use-changed-face): New variable.
6912 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6913 how to highlight context diff changes.
6914 (diff-refine-change): Use shades of yellow.
6915 (diff-refine-removed): New face that uses shades of red.
6916 (diff-refine-added): New face that uses shades of green.
6917 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6918 `diff-refine-removed' in the call to `smerge-refine-subst'
6919 depending on the value of `diff-use-changed-face'.
6920
6921 * vc/smerge-mode.el (smerge-mine): Use shades of red.
6922 (smerge-other): Use shades of green.
6923 (smerge-base): Use shades of yellow.
6924 (smerge-refined-change): Empty face.
6925 (smerge-refined-removed): New face that uses shades of red.
6926 (smerge-refined-added): New face that uses shades of green.
6927 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
6928 args `props-r' and `props-a', and use them. Doc fix.
6929 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6930 on its value use different faces `smerge-refined-change',
6931 `smerge-refined-removed', `smerge-refined-added' in the call to
6932 `smerge-refine-subst'.
6933
6934 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6935 Add face condition `min-colors 88' with shades of red.
6936 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6937 `min-colors 88' with shades of green.
6938 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6939 `min-colors 88' with shades of yellow.
6940
6df9112c
GM
69412012-05-24 Glenn Morris <rgm@gnu.org>
6942
ead5edc0
GM
6943 * paths.el (prune-directory-list, remote-shell-program): Move to...
6944 * files.el (prune-directory-list, remote-shell-program): ...here.
6945 For the latter, delay initialization, prefer ssh, just search PATH.
6946
f18b81e6
GM
6947 * paths.el (term-file-prefix): Move to faces.el (the only user).
6948 * faces.el (term-file-prefix): Move here, make it a defcustom.
6949
ee2f89a6
GM
6950 * paths.el (news-directory, news-path, news-inews-program):
6951 Move to gnus/nnspool.el.
61a583ca 6952
f8815e4c
GM
6953 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6954
c8f3b42c
GM
6955 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6956 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6957 Make the latter a defcustom, with a delayed initialization.
6958
6df9112c
GM
6959 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6960 These were deleted from Gnus itself late 2010.
6961
5dadff36
JB
69622012-05-22 Juanma Barranquero <lekktu@gmail.com>
6963
9e1701c6
JB
6964 * progmodes/which-func.el (which-func-ff-hook):
6965 Check against user-error, not error.
6966
bd7239f5 6967 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
6968 cl-specs.el, which no longer exists.
6969
3290526d
GM
69702012-05-22 Glenn Morris <rgm@gnu.org>
6971
6972 * info.el (info-emacs-bug): New command.
6973 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6974 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6975
ff0c3cfb
GM
69762012-05-21 Glenn Morris <rgm@gnu.org>
6977
6978 * makefile.w32-in (update-subdirs-SH):
6979 * Makefile.in (update-subdirs): Update for moved update-subdirs.
6980
5814f126
SM
69812012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
6982
a52c0aa0
SM
6983 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6984
5814f126
SM
6985 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6986 Simplify Maven regexp, and make sure the file can't start with a space
6987 (bug#11517).
6988
b847032c
GM
69892012-05-21 Glenn Morris <rgm@gnu.org>
6990
6991 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6992 Scrap superfluous subshells.
6993
3858bfe7
SM
69942012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
6995
6996 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6997 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6998
d14b0029
JB
69992012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
7000
7001 * calc/calc.el (calc-ensure-consistent-units): New variable.
7002
a52c0aa0
SM
7003 * calc/calc-units.el (math-consistent-units-p)
7004 (math-check-unit-consistency): New functions.
7005 (calc-quick-units, calc-convert-units):
7006 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
7007 is non-nil.
d14b0029
JB
7008 (calc-extract-units): Fix typo.
7009
60c4db3a
SM
70102012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7011
77f3b62e
SM
7012 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
7013
60c4db3a
SM
7014 * textmodes/flyspell.el: Commenting style, plus code simplifications.
7015 (flyspell-default-deplacement-commands): Don't spell check after
7016 repeated window/frame switches (e.g. triggered by mouse-movement).
7017 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
7018 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
7019 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
7020 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
7021 Remove unused vars.
7022 (flyspell-get-casechars, flyspell-get-not-casechars):
7023 Simplify; Don't bother removing a ] just to add it back.
7024 * textmodes/ispell.el (ispell-program-name): Use executable-find.
7025
d209e2fb 70262012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
7027
7028 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
7029 New functions.
bd7239f5 7030 (math-function-table): Add support for more C functions.
b1a10716 7031
3f1b25b5
AM
70322012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7033
090bd7cb
JB
7034 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7035 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7036 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 7037
b581bb5c
SM
70382012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
7041 their respective macro declarations.
7042 * skeleton.el (define-skeleton):
7043 * progmodes/compile.el (define-compilation-mode):
7044 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
7045 (define-ibuffer-filter):
7046 * emacs-lisp/generic.el (define-generic-mode):
7047 * emacs-lisp/easy-mmode.el (define-minor-mode)
7048 (define-globalized-minor-mode):
7049 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
7050 * emacs-lisp/byte-run.el (defsubst):
7051 * custom.el (deftheme): Add doc-string metadata.
7052
70b8ef8f
SM
70532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7054
7055 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
7056
b1198e17
SM
70572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7058
9abdc45d
SM
7059 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
7060
b1198e17
SM
7061 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
7062 * emacs-lisp/cl-macs.el: Idem.
7063 * emacs-lisp/cl-specs.el: Remove.
7064
4735906a
SM
70652012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7066
7067 Minor renaming of internal CL functions and variables.
7068 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
7069 (cl--position): Rename from cl-position.
7070 (cl--delete-duplicates): Rename from cl-delete-duplicates.
7071 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
7072 (cl--random-state): Rename from *random-state*.
7073
ac348012
SM
70742012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7075
7076 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
7077 parens around the arg list (bug#11499).
7078
a0a79cde
JL
70792012-05-17 Juri Linkov <juri@jurta.org>
7080
7081 * isearch.el (word-search-regexp, word-search-backward)
7082 (word-search-forward, word-search-backward-lax)
7083 (word-search-forward-lax): Move functions from search.c
7084 (bug#10145, bug#11381).
7085
65034a51
AM
70862012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7087
090bd7cb
JB
7088 * textmodes/flyspell.el (flyspell-check-pre-word-p)
7089 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
7090 Delay for otherchars as for normal word components.
65034a51 7091
1a72a195
SM
70922012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * minibuffer.el (completion--sifn-requote): Fix last change.
7095 (minibuffer-local-must-match-filename-map):
7096 Move define-obsolete-variable-alias before its var.
7097
fdb058c2
SM
70982012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7099
c41045e6
SM
7100 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
7101
036dfb8b
SM
7102 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
7103 behavior.
7104 (completion--string-equal-p): New function.
7105 (completion--twq-all): Use it to get better assertion failure data.
7106
2473256d
SM
7107 Only handle ".." and '..' quoting in shell-mode (bug#11466).
7108 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
7109 (shell--requote-argument): New functions.
7110 (shell-completion-vars): Use them.
7111 (shell--parse-pcomplete-arguments): Rename from
7112 shell-parse-pcomplete-arguments.
7113 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
7114 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
7115 Obey comint-file-name-quote-list.
7116
fdb058c2
SM
7117 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
7118 (smie-indent-keyword): Use it.
7119
51fa99f1
SM
71202012-05-14 Stefan Merten <smerten@oekonux.de>
7121
7122 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
7123
e18afed7 71242012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
7125
7126 * net/rlogin.el (rlogin-mode-map): Fix last change.
7127
e18afed7 71282012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
7129
7130 * mail/smtpmail.el (smtpmail-send-command): Send the command and
7131 the following \r\n using a single `process-send-string', since the
7132 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 7133 with two `process-send-string's (Bug#11444).
8633b1f4 7134
e18afed7 71352012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 7136
fdb058c2
SM
7137 * shell.el (shell-parse-pcomplete-arguments):
7138 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 7139
2d21d7f6
WJ
71402012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7141
e18afed7 7142 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
7143 (image-transform-scale, image-transform-right-angle-fudge): New vars.
7144 (image-transform-width, image-transform-fit-width): New functions.
7145 (image-transform-properties): Use them.
7146 (image-transform-check-size): New function.
7147 (image-toggle-display-image): Use it (for testing).
7148 (image-transform-set-rotation): Reduce angle mod 360.
7149 Delete obsolete comment.
7150
7102e6d0
WJ
71512012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
7152
7153 * image-mode.el: Fix scaling (bug#11399).
7154 (image-transform-resize): Doc fix.
7155 (image-transform-properties): Default scale is 1 and height should
7156 be an integer.
7157
06bc5e6e
SM
71582012-05-13 Johan Bockgård <bojohan@gnu.org>
7159
7160 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
7161 than hard-coding `car', to fix misbehavior when moving forward.
7162
0ae03b6a
CY
71632012-05-13 Chong Yidong <cyd@gnu.org>
7164
7165 * emacs-lisp/tabulated-list.el (tabulated-list-format)
7166 (tabulated-list-entries, tabulated-list-padding)
7167 (tabulated-list-sort-key): Make permanent-local.
7168
7169 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
7170 (electric-buffer-list): Put electric buffer menu
7171 command descriptions in this docstring, instead of the docstring
7172 of electric-buffer-menu-mode. Code cleanups.
7173 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
7174 Electric-buffer-menu-mode.
7175 (electric-buffer-update-highlight): Minor code cleanup.
7176
205a7391
MA
71772012-05-13 Michael Albinus <michael.albinus@gmx.de>
7178
7179 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
7180 (Bug#11447)
7181
e5bd0a28
SM
71822012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
7183
7184 Move define-obsolete-variable-alias before the var's definition.
7185 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
7186 * tooltip.el (tooltip-hook):
7187 * textmodes/reftex-toc.el (reftex-toc-map):
7188 * textmodes/reftex-sel.el (reftex-select-label-map)
7189 (reftex-select-bib-map):
7190 * textmodes/reftex-index.el (reftex-index-map)
7191 (reftex-index-phrases-map):
7192 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
7193 * progmodes/meta-mode.el (meta-mode-map):
7194 * novice.el (disabled-command-hook):
7195 * loadhist.el (unload-hook-features-list):
7196 * frame.el (blink-cursor):
7197 * files.el (find-file-not-found-hooks, write-file-hooks)
7198 (write-contents-hooks):
7199 * emulation/tpu-edt.el (GOLD-map):
7200 * emacs-lock.el (emacs-lock-from-exiting):
7201 * emacs-lisp/generic.el (generic-font-lock-defaults):
7202 * emacs-lisp/chart.el (chart-map):
7203 * dos-fns.el (register-name-alist):
7204 * dired-x.el (dired-omit-files-p):
7205 * desktop.el (desktop-enable):
7206 * cus-edit.el (custom-mode-hook):
7207 * buff-menu.el (buffer-menu-mode-hook):
7208 * bookmark.el (bookmark-read-annotation-text-func)
7209 (bookmark-exit-hooks):
7210 * allout.el (allout-mode-deactivate-hook)
7211 (allout-exposure-change-hook, allout-structure-added-hook)
7212 (allout-structure-deleted-hook, allout-structure-shifted-hook):
7213 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
7214 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
7215 comes before the corresponding variable's definition.
7216
ac59c2f6
CY
72172012-05-12 Chong Yidong <cyd@gnu.org>
7218
7219 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
7220 (Buffer-menu-mouse-select): Restore function (Bug#11459).
7221 (Buffer-menu-mode-map): Bind it.
7222 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 7223
dee6c9a3
SM
72242012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
7225
2171cea5
SM
7226 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
7227 (prolog-upper-case-string, prolog-lower-case-string)
7228 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
7229 (prolog-use-smie, prolog-smie-grammar): New vars.
7230 (prolog-smie-forward-token, prolog-smie-backward-token)
7231 (prolog-smie-rules): New funs.
7232 (prolog-comment-indent): Remove.
7233 (prolog-mode-variables): Use default comment indentation instead.
7234 Setup SMIE.
7235 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
7236 (prolog-mode): Don't call them any more.
7237 (prolog-electric-colon, prolog-electric-dash)
7238 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
7239
aa0382bd
SM
7240 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
7241
dbacb4bd
SM
7242 * minibuffer.el (completion--twq-all): Again, allow case differences.
7243
13bdd94c
SM
7244 * term.el: Move keymap initialization code to be more idiomatic.
7245 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
7246 (term-terminal-menu): Move initialization into declaration.
7247 (term-escape-char): Let the user set it in her .emacs.
7248
ff46c759
SM
7249 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
7250 Provide SMIE-based indentation (not enabled by default yet).
7251 (sh-mode-map): Don't bind electric keys.
7252 Use electric-pair-mode instead of skeleton-pair.
7253 (sh-assignment-regexp): Fit within 80 columns.
7254 (sh-indent-supported): Specify actual shell name instead of boolean.
7255 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7256 (sh-maybe-here-document): Use it. Make obsolete.
7257 (sh-electric-here-document-mode) New minor mode.
7258 (sh-mode): Use it. Don't set sh-indent-supported-here here.
7259 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7260 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7261 (sh-smie-rc-grammar, sh-use-smie): New vars.
7262 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7263 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7264 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7265 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7266 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7267 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7268 (sh-set-shell): Use smie-setup if requested.
7269
dee6c9a3
SM
7270 * term.el (term-set-escape-char): Properly set term-escape-char.
7271 See http://stackoverflow.com/questions/10524656.
7272
9f9aa044
CY
72732012-05-10 Chong Yidong <cyd@gnu.org>
7274
7275 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7276 Use url-generic-parse-url, and handle host names and Windows
7277 filenames properly.
7278 (ffap-url-unwrap-remote): Use url-generic-parse-url.
7279 (ffap-url-unwrap-remote): Accept list values, specifying a list of
7280 URL schemes to work on.
7281 (ffap--toggle-read-only): New function.
7282 (ffap-read-only, ffap-read-only-other-window)
7283 (ffap-read-only-other-frame): Use it.
7284 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7285 necessary for ffap-url-unwrap-remote.
7286
836d29b3
DA
72872012-05-10 Dave Abrahams <dave@boostpro.com>
7288
7289 * cus-start.el (create-lockfiles): Add it.
7290
00fd78ed
CY
72912012-05-09 Chong Yidong <cyd@gnu.org>
7292
7293 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7294 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7295
666b903b 72962012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
7297
7298 * shell.el (shell-completion-vars): Fix last change (bug#11348).
7299
666b903b 73002012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
7301
7302 * ansi-color.el (ansi-color-process-output): Check for validity of
7303 comint-last-output-start before using it. This avoids a bad
7304 interaction with gdb-mi's input/output buffer.
7305
666b903b 73062012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
7307
7308 * files.el (dir-locals-read-from-file):
7309 Mention dir-locals in any error message.
7310
666b903b 73112012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
7312
7313 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7314 package (Bug#11410).
7315
f677562b
CY
7316 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7317 variables into description.
7318
666b903b 73192012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
7320
7321 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7322 shell-delimiter-argument-list (bug#11348).
7323 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7324
b499d8d0
JB
73252012-05-09 Juanma Barranquero <lekktu@gmail.com>
7326
8f6b6da8
JB
7327 * textmodes/rst.el: Silence byte-compiler warnings.
7328 (rst-re-alist, rst-reset-section-caches): Move around.
7329 (rst-re): Use `characterp', not `char-valid-p'.
7330 (font-lock-beg, font-lock-end): Declare.
7331
4824146a
JB
7332 * progmodes/idlw-shell.el (specs): Remove reference to deleted
7333 variable `idlwave-shell-activate-alt-keybindings' and simplify.
7334
b499d8d0
JB
7335 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7336
ad89bb83
GM
73372012-05-08 Glenn Morris <rgm@gnu.org>
7338
7339 * files.el (auto-mode-alist): Treat ".make" like ".mk".
7340
8bba5a75
SM
73412012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7342
49ed9c8e
SM
7343 * vc/log-edit.el: Add GNU coding standards highlighting.
7344 (log-edit-font-lock-gnu-style)
7345 (log-edit-font-lock-gnu-keywords): New vars.
7346 (log-edit-font-lock-keywords): New fun.
7347 (log-edit-mode): Don't fold case in font-lock.
7348 (log-edit-font-lock-keywords): Do not assume case-folding.
7349
07d00b56
SM
7350 * imenu.el: Misc cleanup. Make docstrings out of comments.
7351 Use lexical-binding.
7352 (imenu--index-alist, imenu--last-menubar-index-alist)
7353 (imenu-menubar-modified-tick): Use defvar-local.
7354 (imenu--split-menu): Remove unused var.
7355 (imenu--cleanup-seen): Declare as global.
7356 (imenu--cleanup): Use dolist.
7357
8bba5a75
SM
7358 * subr.el (defvar-local): Add debug spec and doc-string position.
7359
5075bdb5
GM
73602012-05-08 Glenn Morris <rgm@gnu.org>
7361
090bd7cb 7362 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
7363 * language/english.el, language/georgian.el, language/greek.el:
7364 * language/japanese.el, language/khmer.el, language/korean.el:
7365 * language/lao.el, language/misc-lang.el, language/romanian.el:
7366 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7367 * language/thai.el, language/utf-8-lang.el:
7368 Remove no-byte-compile setting.
7369
5075bdb5
GM
7370 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
7371
06f679a7
AH
73722012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7373
7374 * progmodes/make-mode.el (makefile-browse):
7375 Remove unnecessary interactive. (Bug#11324)
7376
03794570
GM
73772012-05-07 Glenn Morris <rgm@gnu.org>
7378
af8630f4
GM
7379 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7380
03794570
GM
7381 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7382
f0809a9d
SM
73832012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7384
28be5ce7
SM
7385 * loadup.el: Preload newcomment.el.
7386 * newcomment.el: Move autoload-only code to toplevel.
7387
f0809a9d
SM
7388 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7389 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7390 Handle new :right-align column property.
7391 (tabulated-list-print-col): Idem, plus use `display' text-property to
7392 try and preserve alignment for variable pitch fonts.
7393
1241b724
CY
73942012-05-07 Chong Yidong <cyd@gnu.org>
7395
7396 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7397 (tabulated-list-use-header-line): New var.
7398 (tabulated-list-init-header): Use it.
7399 (tabulated-list-print-fake-header): New function.
7400 (tabulated-list-print): Use it.
7401 (tabulated-list-sort-button-map): Add non-header-line commands.
7402 (tabulated-list-init-header): Add column name property to basic
7403 labels as well.
7404 (tabulated-list-col-sort): Handle non-header-line button case.
7405 (tabulated-list--sort-by-column-name): Fix a corner case.
7406
f0809a9d
SM
7407 * buff-menu.el (list-buffers--refresh):
7408 Handle Buffer-menu-use-header-line.
1241b724 7409
e5f9458f
CY
74102012-05-06 Chong Yidong <cyd@gnu.org>
7411
7412 * buff-menu.el: Convert to Tabulated List mode.
7413 (Buffer-menu-buffer+size-width): Make obsolete.
7414 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7415 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7416 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
7417 documentation into docstring of buffer-menu.
7418 (Buffer-menu-toggle-files-only): Add an informative message.
7419 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7420 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7421 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7422 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7423 (Buffer-menu-execute, Buffer-menu-select)
7424 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7425 (Buffer-menu-bury): Use Tabulated List machinery.
7426 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7427 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 7428 Delete.
e5f9458f
CY
7429 (list-buffers--refresh): New function.
7430 (list-buffers-noselect): Use it.
7431 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7432 (Buffer-menu--pretty-file-name): New helper functions.
7433
7434 * loadup.el: Preload tabulated-list.
7435
7436 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7437 tabulated-list-sort-column.
7438 (tabulated-list-init-header): Add the initial aligning space even
7439 if tabulated-list-padding is zero.
7440
e129292c
CS
74412012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
7442
7443 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7444 whose cdr is not a cons cell correctly (bug#11038).
7445
6632d361
CY
74462012-05-06 Chong Yidong <cyd@gnu.org>
7447
e129292c
CS
7448 * emacs-lisp/tabulated-list.el (tabulated-list-format):
7449 Accept additional plist in column descriptors.
6632d361
CY
7450 (tabulated-list-init-header): Obey it.
7451 (tabulated-list-get-entry): New function.
7452 (tabulated-list-put-tag): Use it. Use string-width instead of
7453 length.
7454 (tabulated-list--column-number): New function.
7455 (tabulated-list-print): Use it.
e129292c
CS
7456 (tabulated-list-print-col): New function.
7457 Set `tabulated-list-column-name' property on each column's text.
6632d361 7458 (tabulated-list-print-entry): Use it.
e129292c
CS
7459 (tabulated-list-delete-entry, tabulated-list-set-col):
7460 New functions.
6632d361
CY
7461 (tabulated-list-sort-column): New command (Bug#11337).
7462
3cc99f68
CY
7463 * buff-menu.el (list-buffers): Move C-x C-b binding from
7464 buff-menu.el to bindings.el.
7465
7466 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7467 :advertised-binding feature.
7468
52b61776
TN
74692012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
7470
7471 * progmodes/compile.el (compilation-internal-error-properties):
7472 Calculate start position correctly when end-col is set but
7473 end-line is not (Bug#11382).
7474
ebfe2597
WJ
74752012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
7476
7477 * man.el (Man-unindent): Use text-property-default-nonsticky to
7478 prevent untabify from inheriting face properties (Bug#11408).
7479
6d3f7c2f
SM
74802012-05-05 Stefan Merten <smerten@oekonux.de>
7481
7482 * textmodes/rst.el: Major merge with upstream development up to
7483 Docutils SVN r7399 / rst.el V1.2.1.
7484
7485 Clarify maintainership and authors.
7486
7487 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7488 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7489 (rst-official-version, rst-official-cvs-rev, rst-version)
7490 (rst-package-emacs-version-alist): New functions and variables
7491 for version information.
7492
7493 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7494 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7495 (rst-mode-syntax-table, rst-mode): New and corrected functions
7496 and variables representing reStructuredText features.
7497
7498 (rst-re): New function for reStructuredText regexes. Use in
7499 many places.
7500
7501 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7502 (rst-mode-map): Rebind keys.
7503
7504 (rst-mode-lazy, rst-font-lock-keywords)
7505 (rst-font-lock-extend-region)
7506 (rst-font-lock-extend-region-internal)
7507 (rst-font-lock-extend-region-extend)
7508 (rst-font-lock-find-unindented-line-limit)
7509 (rst-font-lock-find-unindented-line-match)
7510 (rst-adornment-level, rst-font-lock-adornment-level)
7511 (rst-font-lock-adornment-match)
7512 (rst-font-lock-handle-adornment-pre-match-form)
7513 (rst-font-lock-handle-adornment-matcher): Major revision of
7514 font-locking. Integrate with other code. Use `jit-lock-mode'.
7515
7516 (rst-preferred-adornments, rst-adjust-hook)
7517 (rst-new-adornment-down, rst-preferred-bullets)
7518 (rst-preferred-bullets, rst-indent, rst-indent-width)
7519 (rst-indent-field, rst-indent-literal-normal)
7520 (rst-indent-literal-minimized, rst-indent-comment): Change,
7521 extend and improve customization.
7522
7523 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7524 (rst-normalize-cursor-position, rst-get-decoration)
7525 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7526 (rst-rstrip, rst-toc-insert-find-delete-contents)
7527 (rst-shift-fill-region, rst-compute-bullet-tabs)
7528 (rst-debug-print-tabs, rst-debug-mark-found)
7529 (rst-shift-region-guts, rst-shift-region-right)
7530 (rst-shift-region-left, rst-use-char-classes)
7531 (rst-font-lock-keywords-function)
7532 (rst-font-lock-indentation-point)
7533 (rst-font-lock-find-unindented-line-begin)
7534 (rst-font-lock-find-unindented-line-end)
7535 (rst-font-lock-find-unindented-line)
7536 (rst-font-lock-adornment-point, rst-font-lock-level)
7537 (rst-adornment-level-alist): Remove functions and variables.
7538
7539 (rst-compare-adornments, rst-get-adornment-match)
7540 (rst-suggest-new-adornment, rst-get-adornments-around)
7541 (rst-adornment-complete-p, rst-get-next-adornment)
7542 (rst-adjust-adornment, rst-display-adornments-hierarchy)
7543 (rst-straighten-adornments): Standardize function names to
7544 use "adornment" instead of "decoration". Correct callers.
7545 Similar standardizing in many places.
7546
7547 (rst-update-section, rst-adjust, rst-promote-region)
7548 (rst-enumerate-region, rst-bullet-list-region)
7549 (rst-repeat-last-character): Correct use of `interactive'.
7550
7551 (rst-classify-adornment, rst-find-all-adornments)
7552 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7553 (rst-find-leftmost-column, rst-repeat-last-character):
7554 Refactor functions.
7555
7556 (rst-find-title-line, rst-reset-section-caches)
7557 (rst-get-adornments-around, rst-adjust-adornment-work)
7558 (rst-arabic-to-roman, rst-roman-to-arabic)
7559 (rst-insert-list-pos, rst-insert-list-new-item)
7560 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7561 New functions.
7562
7563 (rst-all-sections, rst-section-hierarchy)
7564 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7565 New variables.
7566
7567 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7568 configuration instead of only buffer. Change where necessary.
7569
7570 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7571 (rst-shift-region, rst-adaptive-fill): New functions for
7572 indentation and filling.
7573
7574 (rst-comment-line-break, rst-comment-indent)
7575 (rst-comment-insert-comment, rst-comment-region)
7576 (rst-uncomment-region): New functions for handling comments.
7577
7578 (rst-compile): Quote shell arguments.
7579
7580 (rst-compile-pdf-preview, rst-compile-slides-preview):
7581 Delete temporary files after use.
7582
a43f98b3
GM
75832012-05-05 Glenn Morris <rgm@gnu.org>
7584
48176e8b
GM
7585 * calendar/cal-html.el: Optionally include holidays in the output.
7586 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7587 (cal-html-holidays): New option.
7588 (cal-html-css-default): Add holiday entry.
7589 (holiday-in-range): Autoload it.
7590 (cal-html-htmlify-entry): Add optional class argument.
7591 (cal-html-htmlify-list): Add optional holidays argument.
7592 (cal-html-insert-agenda-days): Include holidays in the output.
7593 (cal-html-one-month): Maybe include holidays.
7594
a43f98b3
GM
7595 * calendar/holidays.el (holiday-in-range):
7596 Move here from cal-tex-list-holidays.
7597 * calendar/cal-tex.el (cal-tex-list-holidays):
7598 Make it an obsolete alias for holiday-in-range. Update all callers.
7599
fef9d149 76002012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
7601
7602 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7603 Nextstep.
7604
248da2f4
RW
76052012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
7606
7607 * files.el (file-auto-mode-skip): New var.
7608 (set-auto-mode-1): Use it.
7609
f95e9344
SM
76102012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7611
df96ab1e
SM
7612 * repeat.el: Use lexical-binding.
7613 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7614 (repeat-undo-count): Remove.
7615 (repeat):
7616 * progmodes/octave-mod.el (octave-abbrev-start):
7617 * progmodes/f90.el (f90-abbrev-start):
7618 * face-remap.el (text-scale-adjust):
7619 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7620
5342bb06
SM
7621 * emacs-lisp/pcase.el (pcase--let*): New function.
7622 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7623 a bit more.
7624 (pcase--split-pred): Be more clever about ruling out overlap between
7625 a predicate and some constant pattern.
7626 (pcase--q1): Use `null' instead of (eq foo nil).
7627
f95e9344
SM
7628 * subr.el (setq-local, defvar-local): New macros.
7629 (kbd): Redefine as an alias.
7630 (with-selected-window): Leave unrelated frames alone.
7631 (set-temporary-overlay-map): New function.
7632
71873e2b
SM
76332012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7634
7635 * subr.el (user-error): New function.
7636 * window.el (switch-to-buffer):
7637 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7638 (smerge-match-conflict):
7639 * simple.el (previous-matching-history-element)
7640 (next-matching-history-element, goto-history-element, undo-more)
7641 (undo-start):
7642 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7643 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7644 (next-file, tags-loop-scan, list-tags, complete-tag):
7645 * progmodes/compile.el (compilation-loop):
7646 * mouse.el (mouse-minibuffer-check):
7647 * man.el (Man-bgproc-sentinel, Man-goto-page):
7648 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7649 (Info-history-forward, Info-follow-reference, Info-menu)
7650 (Info-extract-menu-item, Info-extract-menu-counting)
7651 (Info-forward-node, Info-backward-node, Info-next-menu-item)
7652 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7653 (Info-next-reference, Info-prev-reference, Info-index)
7654 (Info-index-next, Info-follow-nearest-node)
7655 (Info-copy-current-node-name):
7656 * imenu.el (imenu--make-index-alist)
7657 (imenu-default-create-index-function, imenu-add-to-menubar):
7658 * files.el (basic-save-buffer, recover-file):
7659 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7660 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7661 (checkdoc-message-text, checkdoc-defun):
7662 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7663 * cus-edit.el (customize-changed-options, customize-rogue)
7664 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7665 (custom-variable-mark-to-reset-standard)
7666 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7667 (custom-file):
7668 * completion.el (check-completion-length):
7669 * comint.el (comint-search-arg)
7670 (comint-previous-matching-input-string-position)
7671 (comint-previous-matching-input)
7672 (comint-replace-by-expanded-history-before-point, comint-send-input)
7673 (comint-copy-old-input, comint-backward-matching-input)
7674 (comint-goto-process-mark, comint-set-process-mark):
7675 * calendar/calendar.el (calendar-cursor-to-date): Use it.
7676 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7677
8a61ee22
SM
76782012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7679
66408d1e
SM
7680 * dabbrev.el (dabbrev--ignore-case-p): New function.
7681 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7682 Use it.
7683
8a61ee22
SM
7684 * files.el (automount-dir-prefix): Mark as obsolete.
7685
3c74813a
GM
76862012-05-04 Glenn Morris <rgm@gnu.org>
7687
7688 * patcomp.el, play/bruce.el: Move to obsolete/.
7689
0bfcf5c5
PE
76902012-05-04 Paul Eggert <eggert@cs.ucla.edu>
7691
7692 Fix minor Y10k bugs.
7693 * arc-mode.el (archive-unixdate):
7694 * autoinsert.el (auto-insert-alist):
7695 * calc/calc-forms.el (math-this-year):
7696 * emacs-lisp/copyright.el (copyright-current-year)
7697 (copyright-update-year, copyright):
7698 * tar-mode.el (tar-clip-time-string):
7699 * time.el (display-time-update):
7700 Don't assume years have 4 digits.
7701
78f3273a
CY
77022012-05-04 Chong Yidong <cyd@gnu.org>
7703
7704 * dos-w32.el (file-name-buffer-file-type-alist)
7705 (direct-print-region-use-command-dot-com):
7706 * ffap.el (ffap-menu-regexp):
7707 * find-file.el (ff-special-constructs):
7708 * follow.el (follow-debug):
7709 * forms.el (forms--debug):
7710 * iswitchb.el (iswitchb-all-frames):
7711 * ido.el (ido-all-frames):
7712 * emacs-lisp/timer.el (timer-max-repeats):
7713 * mail/feedmail.el (feedmail-mail-send-hook)
7714 (feedmail-mail-send-hook-queued):
7715 * mail/footnote.el (footnote-signature-separator):
7716 * mail/mailabbrev.el (mail-alias-separator-string)
7717 (mail-abbrev-mode-regexp):
7718 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7719 * progmodes/idlwave.el (idlwave-libinfo-file)
7720 (idlwave-default-completion-case-is-down)
7721 (idlwave-library-routines): Convert defvars to defcustoms.
7722
7723 * mail/rmail.el (rmail-decode-mime-charset):
7724 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7725 (idlwave-shell-fix-inserted-breaks)
7726 (idlwave-shell-activate-alt-keybindings)
7727 (idlwave-shell-use-breakpoint-glyph):
7728 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7729
f7ae6719
SM
77302012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7731
7732 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7733
47086495
WS
77342012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
7735
7736 * progmodes/verilog-mode.el (font-lock-keywords):
7737 Fix mis-highligting auto. Reported by Craig Barner.
7738 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
fc0c31f8 7739 defines from global name space. Reported by Dan Dever.
47086495
WS
7740 (verilog-auto-reset, verilog-auto-reset-widths)
7741 (verilog-auto-tieoff): Support using unbased numbers for
7742 AUTORESET and AUTOTIEOFF.
7743 (verilog-submit-bug-report): Update variable list.
7744 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
fc0c31f8 7745 parenthesis from not matching. Reported by Michael Rytting.
47086495
WS
7746 (verilog-auto-template-lint): Fix hash error when linting modules
7747 with no used templates.
7748 (verilog-warn, verilog-warn-error)
7749 (verilog-warn-fatal): When non-interactive report multiple
7750 warnings before exiting. Suggested by Brad Dobbie.
7751 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7752 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7753 to report unused template errors. Reported by Brad Dobbie.
7754 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
fc0c31f8 7755 nets, bug438. Reported by Vns Blore.
47086495
WS
7756 (verilog-auto-inout-module, verilog-auto-reg)
7757 (verilog-read-decls, verilog-read-sub-decls-sig)
7758 (verilog-signals-edit-wire-reg, verilog-signals-with):
7759 Fix passing of Verilog data types in ANSI input/output ports
fc0c31f8 7760 such as "output logic" into the AUTOs. Special case "wire" and
47086495
WS
7761 "reg" for backwards compatibility presuming Verilog 2001.
7762 (verilog-auto-ascii-enum): Add "auto enum" as alias.
7763 (verilog-preprocess): Fix replication of preprocess output.
7764 Reported by Brad Dobbie.
7765 (verilog-auto-inst-interfaced-ports):
7766 Create verilog-auto-inst-interfaced-ports, bug429.
7767 Reported by Julian Gorfajn.
7768 (verilog-after-save-font-hook)
7769 (verilog-before-save-font-hook): New variable.
7770 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7771 (verilog-save-font-mods): Wrap disabling fontification, reported
7772 by David Rogoff.
7773 (verilog-do-indent, verilog-pretty-declarations-auto)
7774 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7775 Reported by Pierre-David Pfister.
7776 (verilog-set-auto-endcomments): Fix endtask auto comments outside
7777 of class declarations, bug292. Reported by Kevin Heilman.
7778 (verilog-read-decls): Fix 'parameter type' not appearing in
7779 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
7780 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
fc0c31f8 7781 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
47086495
WS
7782 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7783 Reported by David Kravitz.
7784
77852012-05-03 Michael McNamara <mac@mail.brushroad.com>
7786
7787 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7788 assignment with tests in ifs and for loops.
7789 (verilog-extended-complete-re, verilog-complete-reg): Change so
7790 that DPI inport functions don't look like fuction declarations.
7791 (verilog-pretty-expr): Don't line up assignment
7792 operations to the test and increment in if and for loops
7793 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 7794 that DPI inport functions don't look like fuction declarations.
47086495 7795
2e51d4b5
KH
77962012-05-03 Kenichi Handa <handa@m17n.org>
7797
7798 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 7799 decoding, and show a warning message without signaling an error
2e51d4b5
KH
7800 (Bug#11282).
7801
2bd785a2
SM
78022012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
7803
7804 * emacs-lisp/bytecomp.el
7805 (byte-compile-file-form-custom-declare-variable): Compile all elements,
7806 since cconv.el might have introduced :fun-body, internal-make-closure,
7807 and friends for bytecomp to handle (bug#11391).
7808 * custom.el (defcustom): Avoid ((λ ..) ..).
7809
99d27583
SM
78102012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
7811
7812 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7813
55a71479
JB
78142012-05-02 Juanma Barranquero <lekktu@gmail.com>
7815
7816 * notifications.el (dbus-debug):
7817 * term/linux.el (gpm-mouse-enable):
7818 * term/screen.el (xterm-register-default-colors): Declare.
7819
7b97c764
CY
78202012-05-02 Chong Yidong <cyd@gnu.org>
7821
2bc356d7
CY
7822 * cus-start.el (gc-cons-percentage, exec-suffixes)
7823 (dos-display-scancodes, dos-hyper-key, dos-super-key)
7824 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7825 (make-cursor-line-fully-visible, void-text-area-pointer)
7826 (font-list-limit): Add customization data.
7827
7b97c764
CY
7828 * allout.el (allout-exposure-change-functions)
7829 (allout-structure-added-functions)
7830 (allout-structure-deleted-functions)
7831 (allout-structure-shifted-functions): Rename abnormal hooks from
7832 *-hook, and convert to defcustoms.
5d3385a0
JB
7833 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7834 Convert to defcustoms.
7b97c764
CY
7835 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7836
7837 * allout-widgets.el: Hook callers changed.
7838
90207a15 78392012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
7840
7841 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7842 the yanked message in preference to the default value of
7843 buffer-file-coding-system.
7844
90207a15 78452012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 7846
5d3385a0
JB
7847 * window.el (display-buffer--action-function-custom-type):
7848 Fix entry.
d9558cad 7849
90207a15 78502012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
7851
7852 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7853
d80ac57b
GM
78542012-05-01 Glenn Morris <rgm@gnu.org>
7855
976f7668
GM
7856 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7857
beb83b5a
GM
7858 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
7859
d80ac57b
GM
7860 * cus-edit.el (custom-variable-documentation): Simplify with format.
7861
b593d6a9 78622012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 7863 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
7864
7865 * simple.el (suggest-key-bindings, execute-extended-command):
7866 Move from keyboard.c.
7867
782fbf2a
CY
78682012-05-01 Chong Yidong <cyd@gnu.org>
7869
7870 * follow.el: Eliminate advice.
7871 (set-process-filter, process-filter, sit-for): Advice deleted.
7872 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
7873 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7874 Vars deleted.
782fbf2a
CY
7875 (follow-auto): Use a :set function.
7876 (follow-mode): Rewritten. Don't advise process filters.
7877 (follow-switch-to-current-buffer-all, follow-scroll-up)
7878 (follow-scroll-down): Assume follow-mode is bound.
7879 (follow-comint-scroll-to-bottom)
7880 (follow-align-compilation-windows): New functions.
7881 (follow--window-sorter): New function.
7882 (follow-all-followers): Use it to explicitly sort windows by their
7883 positions; don't make assumptions about next-window order.
7884 (follow-windows-start-end, follow-delete-other-windows-and-split)
7885 (follow-calc-win-start): Doc fix.
7886 (follow-windows-aligned-p, follow-select-if-visible): Don't call
7887 vertical-motion unnecessarily.
7888 (follow-adjust-window): New function.
7889 (follow-post-command-hook): Use it.
7890 (follow-call-set-process-filter, follow-call-process-filter)
7891 (follow-intercept-process-output, follow-tidy-process-filter-alist)
7892 (follow-stop-intercept-process-output, follow-generic-filter):
7893 Functions deleted.
7894 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
7895 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7896 New functions, replacing advice on scroll-bar-* commands.
87233a14 7897 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
7898
7899 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
7900 (comint-postoutput-scroll-to-bottom): Use it.
7901 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 7902
290af740
GM
79032012-05-01 Glenn Morris <rgm@gnu.org>
7904
7905 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7906 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7907 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7908 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7909 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7910 Remove no-byte-compile setting.
7911
6eac8dc9
SM
79122012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
7913
7914 * minibuffer.el (completion-table-with-quoting): Fix compatibility
7915 all-completions code to not return a number in the last cdr.
7916
9cc7819c
LL
79172012-04-30 Leo Liu <sdl.web@gmail.com>
7918
7919 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7920 read-only error.
7921
c93b886f
CY
79222012-04-29 Chong Yidong <cyd@gnu.org>
7923
7924 * follow.el (follow-calc-win-end): Rewrite to handle partial
7925 screen lines correctly (Bug#8390).
7926 (follow-avoid-tail-recenter): Minor cleanup.
7927
8b6c19f4
SM
79282012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 Avoid the obsolete `assoc' package.
7931 * speedbar.el (speedbar-refresh): Avoid adelete.
7932 (speedbar-file-lists): Simplify and avoid aput.
7933 * man.el (Man--sections, Man--refpages): New vars, replacing
7934 Man-sections-alist and Man-refpages-alist.
7935 (Man-build-section-alist, Man-build-references-alist):
7936 Use them; avoid aput.
7937 (Man--last-section, Man--last-refpage): New vars.
7938 (Man-follow-manual-reference): Use them.
7939 Use the `default' arg of completing-read.
7940 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
7941
c5bb7569
CY
79422012-04-27 Chong Yidong <cyd@gnu.org>
7943
d1d2e2e8
CY
7944 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7945
15cd8efd
CY
7946 * startup.el (x-apply-session-resources): New function.
7947
7948 * term/ns-win.el (ns-initialize-window-system):
7949 * term/w32-win.el (w32-initialize-window-system):
7950 * term/x-win.el (x-initialize-window-system): Use it to properly
7951 set menu-bar-mode and other vars from X resources, even if the
7952 initial frame is not a window-system frame (Bug#2299).
7953
c5bb7569
CY
7954 * subr.el (read-key): Avoid running filter function when setting
7955 up temporary tool bar entries (Bug#9922).
7956
a8e7d6d7 79572012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
7958
7959 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7960 (Bug#11344)
7961
a8e7d6d7 79622012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
7963
7964 * select.el (xselect--encode-string): New function, split from
7965 xselect-convert-to-string.
7966 (xselect-convert-to-string): Use it.
7967 (xselect-convert-to-filename, xselect-convert-to-os)
7968 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7969 returned strings are properly encoded (Bug#11315).
7970
a8e7d6d7 79712012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
7972
7973 * simple.el (delete-active-region): Move to killing custom group.
7974
a8e7d6d7 79752012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
7976
7977 * progmodes/which-func.el (which-func-current): Quote %
7978 characters for mode-line processing.
7979
578c1d4b 79802012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
7981
7982 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7983 reaching eob (Bug#11286).
7984
a8e7d6d7 79852012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
7986
7987 * progmodes/gdb-mi.el (gdb-control-level): New variable.
7988 (gdb): Make it buffer-local and init to zero.
7989 (gdb-control-commands-regexp): New variable.
7990 (gdb-send): Don't wrap in "-interpreter-exec console" if
7991 gdb-control-level is positive. Increment gdb-control-level
7992 whenever the command matches gdb-control-commands-regexp, and
7993 decrement it each time the command is "end". (Bug#11279)
7994
a8e7d6d7 79952012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
7996
7997 * window.el (adjust-window-trailing-edge, enlarge-window)
7998 (shrink-window, window-resize):
7999 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
8000 windows (Bug#11276).
8001
b3608390
CY
80022012-04-27 Chong Yidong <cyd@gnu.org>
8003
8004 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 8005 fix "missing prefix" warning. All callers changed.
b3608390 8006
797e6e88
SM
80072012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8008
8009 * emacs-lisp/assoc.el: Move to obsolete/.
8010
e95a67dc
SM
80112012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8012
657c21e4 8013 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
8014
8015 * term/ns-win.el (ns-define-service):
8016 * progmodes/pascal.el (pascal-goto-defun):
8017 * progmodes/js.el (js--read-tab):
8018 * progmodes/etags.el (tags-lazy-completion-table):
8019 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
8020 * emacs-lisp/ewoc.el (ewoc--wrap):
8021 * emacs-lisp/assoc.el (aput, adelete, amake):
8022 * doc-view.el (doc-view-convert-current-doc):
8023 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
8024
cb3e7ae0
CY
80252012-04-26 Chong Yidong <cyd@gnu.org>
8026
dce04f7f
CY
8027 * image.el (image-type-from-buffer): Only return supported image
8028 type (Bug#9045).
8029
cb3e7ae0
CY
8030 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
8031 value, for symmetry with diff-end-of-hunk.
8032 (diff-split-hunk, diff-find-source-location)
8033 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
8034 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
8035 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
8036 compute the relevant hunk or file properly (Bug#6005).
8037 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
8038
0d42eb3e
SM
80392012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8040
8041 * vc/vc-mtn.el:
8042 * vc/vc-hg.el:
8043 * vc/vc-git.el:
8044 * vc/vc-dir.el:
8045 * vc/vc-cvs.el:
8046 * vc/vc-bzr.el:
8047 * vc/vc-arch.el:
8048 * vc/vc.el: Replace lexical-let by lexical-binding.
8049 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
8050 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
8051 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
8052
f08ae1c9
CY
80532012-04-26 Chong Yidong <cyd@gnu.org>
8054
8b71081d
CY
8055 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
8056 (diff-mode-shared-map): Bind it to / and [remap undo].
8057
f08ae1c9
CY
8058 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
8059 (ediff-window-setup-function): Use it as the default, to set up
8060 windows based on whether the current frame is graphical (Bug#2138).
8061 (ediff-choose-window-setup-function-automatically): Make obsolete.
8062
8063 * vc/ediff-init.el: Always define ediff-pixel-width/height.
8064
ef24141c
SM
80652012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8066
cc356a5d
SM
8067 * ffap.el: Remove old code for obsolete package.
8068 (ffap-complete-as-file-p): Remove.
8069
b4ff4f1f
SM
8070 Use completion-table-with-quoting for comint and pcomplete.
8071 * comint.el (comint--unquote&requote-argument)
8072 (comint--unquote-argument, comint--requote-argument): New functions.
8073 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
8074 (comint-quote-filename): Use regexp-opt-charset.
8075 (comint--common-suffix, comint--common-quoted-suffix)
8076 (comint--table-subvert): Remove.
8077 (comint-unquote-function, comint-requote-function): New vars.
8078 (comint--complete-file-name-data): Use them with
8079 completion-table-with-quoting.
8080 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
8081 * pcomplete.el (pcomplete-arg-quote-list)
8082 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
8083 (pcomplete-unquote-argument-function): Default to non-nil.
8084 (pcomplete-unquote-argument): Simplify.
8085 (pcomplete--common-quoted-suffix): Remove.
8086 (pcomplete-requote-argument-function): New var.
8087 (pcomplete--common-suffix): New function.
8088 (pcomplete-completions-at-point): Use completion-table-with-quoting
8089 and completion-table-subvert.
8090
79c4eeb4
SM
8091 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
8092 (minibuffer--double-dollars): Preserve properties.
8093 (completion--sifn-requote): New function.
8094 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
8095
ef24141c
SM
8096 * minibuffer.el: Add support for completion of quoted/escaped data.
8097 (completion-table-with-quoting, completion-table-subvert): New funs.
8098 (completion--twq-try, completion--twq-all): New functions.
8099 (completion--nth-completion): New function.
8100 (completion-try-completion, completion-all-completions): Use it.
8101
784e7d6e
LL
81022012-04-25 Leo Liu <sdl.web@gmail.com>
8103
dd2ac746
SM
8104 * progmodes/python.el (python-pdbtrack-get-source-buffer):
8105 Use compilation-message if available to find real filename.
784e7d6e 8106
07875ee7
CY
81072012-04-25 Chong Yidong <cyd@gnu.org>
8108
8109 * vc/diff-mode.el (diff-setup-whitespace): New function.
8110 (diff-mode): Use it.
8111
8112 * vc/diff.el (diff-sentinel):
8113 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
8114 Whitespace mode variables based on diff style (Bug#8612).
8115
5055880d
LL
81162012-04-25 Leo Liu <sdl.web@gmail.com>
8117
daf75653
LL
8118 * progmodes/python.el (python-send-region): Add suffix .py to the
8119 temp file.
8120
5055880d
LL
8121 * files.el (auto-mode-alist): Use javascript-mode instead.
8122
db9b177b
AH
81232012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
8124
ef24141c 8125 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 8126
090bd7cb 8127 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 8128 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 8129 references, see Bug#9.
ef24141c 8130 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 8131 when receiving a fault reply.
ef24141c 8132 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 8133
090bd7cb 8134 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 8135 (soap-inspect-simple-type): New function.
db9b177b 8136
090bd7cb 8137 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 8138 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
8139 (soap-decode-basic-type, soap-encode-basic-type):
8140 support unsignedInt and double basic types.
db9b177b 8141 (soap-resolve-references-for-simple-type)
ef24141c
SM
8142 (soap-parse-simple-type, soap-encode-simple-type): New function.
8143 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 8144
090bd7cb 8145 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
8146 (soap-default-soapenc-types): Add integer, byte and anyURI types.
8147 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
8148 the local name of "soapenc:Array".
8149 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
8150 decoding integer, byte and anyURI xsd types.
8151
1fc6097b
CY
81522012-04-25 Chong Yidong <cyd@gnu.org>
8153
8154 * cus-edit.el (custom-buffer-create-internal): Update header text.
8155
afc6df87
EZ
81562012-04-25 Eli Zaretskii <eliz@gnu.org>
8157
8158 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
8159 settings on 'system-type', not on 'window-system'. On MS-Windows,
8160 set interactive-mode on in GDB.
8161
dfbd787f
SM
81622012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
8165 (ruby-syntax-propertize-regexp): Remove.
8166 (ruby-syntax-propertize-function): Split regexp into chunks.
8167 Match following code directly.
8168
85222d44
DG
81692012-04-24 Dmitry Gutov <dgutov@yandex.ru>
8170
51a8ea2a
DG
8171 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
8172 (ruby-syntax-propertize-regexp): New function.
8173 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
8174 by a special keyword.
8175
85222d44
DG
8176 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
8177 (ruby-syntax-general-delimiters-goto-beg)
8178 (ruby-syntax-propertize-general-delimiters): New functions.
8179 (ruby-syntax-propertize-function): Use them to handle GDL.
8180 (ruby-font-lock-keywords): Move old handling of GDL...
8181 (ruby-font-lock-syntactic-keywords): .. to here.
8182 (ruby-calculate-indent): Adjust indentation for GDL.
8183
b613912b
MA
81842012-04-24 Michael Albinus <michael.albinus@gmx.de>
8185
b5380639
MA
8186 * notifications.el (top): Remove unneeded declarations.
8187 (notifications-specification-version): Change to "1.2".
e43042fe 8188 (notifications-interface, notifications-notify-method)
b613912b
MA
8189 (notifications-close-notification-method): Fix docstring.
8190 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
8191 (notifications-notify): Add :action-items, :resident and
8192 :transient hints. Change "image_data" to "image-data" and
8193 "image_path" to "image-path".
b613912b
MA
8194 (notifications-get-capabilities): New defun.
8195
257440aa
LL
81962012-04-24 Leo Liu <sdl.web@gmail.com>
8197
8198 * progmodes/python.el: Move hideshow setup to the end.
8199
b1bac16e
MR
82002012-04-24 Martin Rudalics <rudalics@gmx.at>
8201
8202 * window.el (handle-select-window): Clear echo area since this is
8203 no more done by read_char (Bug#11304).
8204
d81bd059
SM
82052012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8206
8207 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
8208 and `/ M' to filter-derived-mode.
8209 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
8210 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
8211 (ibuffer-mark-by-mode): Use default rather than initial-input.
8212 (ibuffer-filter-by-derived-mode): Autoload and require-match.
8213
c4cf6d91
IA
82142012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
8215
8216 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
8217 (ibuffer-filter-by-derived-mode): New filter.
8218 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
8219
7511ded8
CY
82202012-04-23 Andreas Politz <politza@fh-trier.de>
8221
8222 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
8223
775c916b
CY
82242012-04-23 Chong Yidong <cyd@gnu.org>
8225
8226 * cus-edit.el (customize-apropos, customize-apropos-options):
8227 Disable matching of non-option variables (Bug#11176).
8228 (customize-option, customize-option-other-window)
8229 (customize-changed-options): Doc fix.
8230 (customize-apropos-options, customize-apropos-faces)
8231 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
8232
8233 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 8234 Fix word list splitting (Bug#11132).
46c71e23
CY
8235 (apropos-symbol, apropos-keybinding, apropos-label)
8236 (apropos-property, apropos-function-button)
8237 (apropos-variable-button, apropos-misc-button): New faces.
8238 (apropos-symbol-face, apropos-keybinding-face)
8239 (apropos-label-face, apropos-property-face, apropos-match-face):
8240 Variables removed (Bug#8396).
8241 (apropos-library-button, apropos-format-plist, apropos-print)
8242 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 8243
2df41f9c
MA
82442012-04-23 Michael Albinus <michael.albinus@gmx.de>
8245
8246 * net/xesam.el (xesam-mode-map): Use let-bound map in
8247 initialization. (Bug#11292)
8248
da00640a
AM
82492012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8250
8251 Preserve ispell session localwords when switching back to
8252 original buffer.
8253
090bd7cb
JB
8254 * textmodes/ispell.el (ispell-buffer-session-localwords):
8255 New buffer-local variable to hold buffer session localwords.
ed9265fc 8256 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
8257 localwords.
8258 (ispell-command-loop, ispell-change-dictionary)
8259 (ispell-buffer-local-words): Preserve session localwords when
8260 needed.
8261
090bd7cb
JB
8262 * textmodes/flyspell.el (flyspell-process-localwords)
8263 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 8264
f621ccf5
AM
82652012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8266
090bd7cb
JB
8267 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8268 using obsolete `translation-table-for-input'.
ef24141c
SM
8269 (ispell-word, ispell-process-line, ispell-complete-word):
8270 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 8271
c2d1019e
CY
82722012-04-22 Chong Yidong <cyd@gnu.org>
8273
8274 * cus-edit.el (custom-variable-menu)
8275 (custom-variable-reset-saved, custom-face-menu)
8276 (custom-face-reset-saved): If there is no saved value, make the
8277 "reset-saved" operation bring back the default (Bug#9509).
8278 (custom-face-state): Properly detect themed faces.
8279
eeddc531
CY
8280 * faces.el (face-spec-set): Stop supporting deprecated form of
8281 third arg.
8282
dcbf5805
MA
82832012-04-22 Michael Albinus <michael.albinus@gmx.de>
8284
8285 Move functions from C to Lisp. Make non-blocking method calls
8286 the default. Implement further D-Bus standard interfaces.
8287
ef24141c
SM
8288 * net/dbus.el (dbus-message-internal): Declare function.
8289 Remove unneeded function declarations.
dcbf5805
MA
8290 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8291 (dbus-message-type-method-return, dbus-message-type-error)
8292 (dbus-message-type-signal): Declare variables. Remove local
8293 definitions.
8294 (dbus-interface-dbus, dbus-interface-peer)
8295 (dbus-interface-introspectable, dbus-interface-properties)
8296 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8297 Adapt docstring.
8298 (dbus-interface-objectmanager): New defconst.
8299 (dbus-call-method, dbus-call-method-asynchronously)
8300 (dbus-send-signal, dbus-method-return-internal)
8301 (dbus-method-error-internal, dbus-register-service)
8302 (dbus-register-signal, dbus-register-method): New defuns, moved
8303 from dbusbind.c
8304 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
8305 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8306 New defuns.
dcbf5805
MA
8307 (dbus-call-method-non-blocking): Make it an obsolete function.
8308 (dbus-unregister-object, dbus-unregister-service)
8309 (dbus-handle-event, dbus-register-property)
8310 (dbus-property-handler): Obey the new structure of
8311 `bus-registered-objects'.
8312 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
8313 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8314 Use `dbus-call-method'.
8315
cf20dee0
CY
83162012-04-22 Chong Yidong <cyd@gnu.org>
8317
8318 * cus-edit.el (custom-commands, custom-reset-menu)
8319 (Custom-reset-standard): Tweak labels.
8320 (custom-reset-button-menu): Change default to t.
8321 (custom-buffer-create-internal): For the custom-reset-button-menu
8322 case, put the revert button first.
8323 (custom-group-subtitle): New face.
8324 (custom-group-value-create): Align docstring to a specific column.
8325
8326 * wid-edit.el (widget-documentation-link-add): Don't handle
8327 indentation in this function.
8328 (widget-documentation-string-indent-to): New function.
8329 (widget-documentation-string-value-create): Use it.
8330
8331 * autorevert.el (auto-revert):
8332 * epg-config.el (epg):
8333 * ibuffer.el (ibuffer):
8334 * mpc.el (mpc):
8335 * ses.el (ses):
8336 * eshell/eshell.el (eshell):
8337 * net/ange-ftp.el (ange-ftp):
8338 * progmodes/ebnf2ps.el (postscript):
8339 * progmodes/flymake.el (flymake):
8340 * progmodes/prolog.el (prolog):
8341 * progmodes/verilog-mode.el (verilog-mode):
8342 * progmodes/which-func.el (which-func):
8343 * term/xterm.el (xterm):
8344 * textmodes/picture.el (picture):
8345 * textmodes/tildify.el (tildify):
8346 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8347 customization buffers.
8348
583e23bd
AM
83492012-04-22 Alan Mackenzie <acm@muc.de>
8350
8351 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8352 Adding a ) can hide the resulting (..) from searches. Fix it.
8353 Bound the backward search to the position of the existing (.
8354
7dd51bf1
JB
83552012-04-21 Juanma Barranquero <lekktu@gmail.com>
8356
8357 * progmodes/verilog-mode.el (verilog-mode): Check whether
8358 which-func-modes is t before adding verilog-mode.
8359 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8360
d64a438f
LL
83612012-04-21 Leo Liu <sdl.web@gmail.com>
8362
7dd51bf1 8363 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 8364
081e8d65
MV
83652012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
8366
8367 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8368 filling of the last column of a table (Bug#5635).
8369 (woman-find-next-control-line): New arg, specifying an additional
8370 regexp component for the control line.
8371 (woman2-roff-buffer): Use it.
8372 (woman-break-table): New function.
8373 (woman2-TS): Use it.
8374
83752012-04-21 Chong Yidong <cyd@gnu.org>
8376
8377 * woman.el (woman-set-buffer-display-table, woman-decode-region)
8378 (woman-horizontal-escapes, woman-negative-vertical-space)
8379 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8380 (WoMan-warn-ignored): Use ?\s instead of ?\ .
8381
ed571ccb
SM
83822012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8383
8384 * minibuffer.el (completion-file-name-table): Complete user names.
8385
39773899
LL
83862012-04-20 Leo Liu <sdl.web@gmail.com>
8387
8388 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8389 and pcase-let*.
8390
de6ff46d
CY
83912012-04-20 Chong Yidong <cyd@gnu.org>
8392
8393 * server.el (server-execute): Respect initial-buffer-choice if it
8394 is a string and there are no files to open (Bug#2825).
8395 (server-create-window-system-frame, server-create-tty-frame):
8396 Don't switch buffers here.
2d0e8e61
CY
8397 (server-process-filter): Only try to open a window system frame if
8398 compiled with graphical support (Bug#8314).
de6ff46d 8399
54071013
DN
84002012-04-20 Dan Nicolaescu <dann@gnu.org>
8401
8402 * battery.el (battery-echo-area-format): Display remaining time
8403 for sysfs backend too (Bug#11269).
8404 (battery-linux-sysfs): Fix conditional for the charge.
8405
f30d612a
CY
84062012-04-20 Chong Yidong <cyd@gnu.org>
8407
c07a4c0b 8408 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
8409 (gdb-inferior-io--init-proc): New function.
8410 (gdb-init-1): Use it.
8411 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8412 responsible for allocating a new pty and hooking it to gdb when
8413 the old pty gets an EIO due to process exit.
8414 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
8415 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8416 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8417
2116e93c
EZ
84182012-04-20 Eli Zaretskii <eliz@gnu.org>
8419
8420 * window.el (window-min-size, window-sizable, window-min-delta)
8421 (window-max-delta, window--resizable, window-resizable)
8422 (window-total-size, window-full-height-p, window-full-width-p)
8423 (window-in-direction, window--resize-mini-window, window-resize)
8424 (window--resize-child-windows-normal)
8425 (window--resize-child-windows, window--resize-siblings)
8426 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 8427 (enlarge-window, shrink-window): Doc fixes.
2116e93c 8428
c07a4c0b 84292012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 8430
ef24141c
SM
8431 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8432 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
8433 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8434 pty process (Bug#11273).
8435 (gdb-update): New arg to suppress talking to the gdb process.
8436 (gdb-done-or-error): Use it.
8437 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8438 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8439 sentinel not being called.
8440
8441 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8442
d02766ab
CY
8443 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8444
c07a4c0b 84452012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
8446
8447 * net/network-stream.el (open-network-stream): Doc fix.
8448
c07a4c0b 84492012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
8450
8451 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8452
c07a4c0b 84532012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
8454
8455 Ensure searching for keywords is case sensitive.
8456
8457 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8458 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8459 (c-defun-name, c-mark-function, c-cpp-define-name)
8460 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 8461 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 8462
ef24141c
SM
8463 * progmodes/cc-mode.el (c-font-lock-fontify-region):
8464 Bind case-fold-search to nil.
f0f6bc35 8465
c07a4c0b 84662012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
8467
8468 * mail/sendmail.el (mail-bury): Call return action with the right
8469 Rmail buffer (Bug#11242).
8470
9a864fa2
CY
8471 * server.el (server-process-filter): Handle corner case where both
8472 tty and nowait options are present (Bug#11102).
8473
539aa513
EZ
84742012-04-20 Eli Zaretskii <eliz@gnu.org>
8475
8476 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
8477 (top level): Put into the executable the ident-style '$Id:' tag on
8478 windows-nt as well.
539aa513 8479
cfc7d5da
SM
84802012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * electric.el (electric-indent-post-self-insert-function): Check that
8483 electric-indent-mode is enabled in current buffer.
8484
5b01685c
JB
84852012-04-19 Juanma Barranquero <lekktu@gmail.com>
8486
8487 * imenu.el (imenu-progress-message): Restore; it is "used" in
8488 erc/erc-imenu.el and net/snmp-mode.el.
8489
4d6769e1
JB
84902012-04-19 Juanma Barranquero <lekktu@gmail.com>
8491
8492 * avoid.el (mouse-avoidance-mode): Mark unused arg.
8493 (mouse-avoidance-nudge-mouse): Remove unused binding.
8494
8495 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8496
8497 * descr-text.el (describe-char):
8498 * progmodes/python.el (python-describe-symbol):
8499 Don't call `toggle-read-only', set `buffer-read-only'.
8500
8501 * imenu.el (imenu-default-goto-function): Mark unused args.
8502 (imenu-progress-message): Remove obsolete macro; all callers changed.
8503
8504 * subr.el (keymap-canonicalize): Remove unused binding.
8505 (read-passwd): Mark unused arg.
8506
8507 * tutorial.el (tutorial--display-changes): Remove unused binding.
8508 (tutorial--save-tutorial-to): Remove unused variable.
8509
8510 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8511 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8512 (package-generate-autoloads, package-menu--generate)
8513 (package-menu--find-upgrades): Remove unused bindings.
8514
8515 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8516 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
8517 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8518 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8519 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8520 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8521 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8522 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8523 (cua-delete-char-rectangle): Mark unused args.
8524 (cua-align-rectangle): Remove unused binding.
8525
8526 * mail/rmail.el (compilation--message->loc)
8527 (epa--find-coding-system-for-mime-charset): Declare.
8528
8529 * net/dbus.el (dbus-register-service): Declare.
8530 (dbus-name-owner-changed-handler): Remove unused binding.
8531
8532 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8533 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8534 (nxml-scan-backward-within): Mark unused arg.
8535 (nxml-dynamic-markup-word): Remove unused binding.
8536
8537 * mouse.el (mouse-menu-major-mode-map):
8538 * emacs-lisp/authors.el (authors-scan-change-log)
8539 (authors-add-to-author-list):
8540 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8541 * emacs-lisp/smie.el (smie-auto-fill):
8542 * mail/sendmail.el (mail-bury):
8543 * mail/unrmail.el (unrmail):
8544 * net/tls.el (open-tls-stream):
8545 * textmodes/picture.el (picture-mouse-set-point):
8546 Remove unused bindings.
8547
8c8fc5df
MA
85482012-04-19 Michael Albinus <michael.albinus@gmx.de>
8549
8550 * net/tramp.el (tramp-action-password): Let-bind
8551 `enable-recursive-minibuffers' to t.
8552
a77b0ac9
SS
85532012-04-18 Sam Steingold <sds@gnu.org>
8554
8555 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8556 instead of 'string to accommodate values like [f11].
8557 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8558 * progmodes/gdb-mi.el: Likewise.
8559
12a106a9
LL
85602012-04-18 Leo Liu <sdl.web@gmail.com>
8561
8562 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8563 current buffer.
8564 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8565 LOCAL is nil.
8566
bc6494ef
CY
85672012-04-18 Chong Yidong <cyd@gnu.org>
8568
8569 * simple.el (line-move): Use forward-line if in batch mode
8570 (Bug#11053).
8571
c09c46b2
CS
85722012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
8573
8574 * files.el (after-find-file): Do not try to add a final newline if
8575 the buffer is read-only (Bug#11156).
8576
5f6530ea
RS
85772012-04-17 Richard Stallman <rms@gnu.org>
8578
8579 * mail/rmail.el (rmail-start-mail):
8580 Pass (rmail-mail-return...) for the return-action.
8581 Pass (rmail-yank-current-message...) for the yank-action.
8582 (rmail-yank-current-message): New function.
8583 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8584 (rmail-reply): Likewise.
8585 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8586
8587 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 8588 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
8589 buffer, not newbuf.
8590
197b6f3c
JB
85912012-04-17 Juanma Barranquero <lekktu@gmail.com>
8592
8593 * server.el (server-ensure-safe-dir): Simplify.
8594
2311d8e5 85952012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 8596
2311d8e5
GM
8597 * emacs-lisp/smie.el: Provide smarter auto-filling.
8598 (smie-auto-fill): New function.
8599 (smie-setup): Use it.
98fb480e 8600
2311d8e5
GM
8601 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8602
86032012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
8604
8605 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8606 (comment-indent): Use it.
8607
2311d8e5 86082012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
8609
8610 * ses.el: The overall change is to add cell renaming, that is
8611 setting fancy names for cell symbols other than name matching
8612 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 8613 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 8614 (ses-create-cell-variable): New defun.
2311d8e5 8615 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
8616 (ses-relocate-formula): Relocate formulas only for cells the
8617 symbols of which are not renamed, i.e. symbols whose names do not
8618 match regexp "\\`[A-Z]+[0-9]+\\'".
8619 (ses-relocate-all): Relocate values only for cells the symbols of
8620 which are not renamed.
8621 (ses-load): Create cells variables as the (ses-cell ...) are read,
8622 in order to check row col consistency with cell symbol name only
8623 for cells that are not renamed.
8624 (ses-replace-name-in-formula): New defun.
8625 (ses-rename-cell): New defun.
4bdf2ad2 8626
fc72b15c
PO
86272012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
8628
8629 * progmodes/perl-mode.el (perl-indent-parens-as-block):
8630 New option (bug#11118).
8631 (perl-calculate-indent): Respect it.
8632
12e10e61
GM
86332012-04-17 Glenn Morris <rgm@gnu.org>
8634
8635 * dired-aux.el (dired-mark-read-string): Doc fix.
8636
30009afd
DA
86372012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
8638
8639 * dired-aux.el (dired-mark-read-string): Offer optional completion.
8640 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
8641
41f03f4d
GM
86422012-04-17 Glenn Morris <rgm@gnu.org>
8643
8644 * mouse.el (mouse-drag-track):
8645 * speedbar.el (speedbar-frame-mode):
8646 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8647
f45f90f3
LL
86482012-04-16 Leo Liu <sdl.web@gmail.com>
8649
8650 * progmodes/python.el: Trivial cleanup.
8651
94ee8db5
GM
86522012-04-16 Glenn Morris <rgm@gnu.org>
8653
121b8917
GM
8654 * vc/vc.el (vc-string-prefix-p):
8655 * vc/pcvs-util.el (cvs-string-prefix-p):
8656 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8657 * mpc.el (mpc-string-prefix-p):
8658 Make all of these into obsolete aliases for string-prefix-p.
8659 Update callers.
8660 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8661
1197ecfa
GM
8662 * textmodes/two-column.el: Move custom options to the start.
8663 (frame-width): Remove compat definition.
8664 (2C-associate-buffer, 2C-dissociate):
8665 Use with-current-buffer rather than save-excursion.
8666 (2C-dissociate): Force a mode-line update.
8667 (2C-autoscroll): Use ignore-errors.
8668
099e7202
GM
8669 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8670 Autoload trivia.
8671
bf350d6a
GM
8672 * emacs-lisp/cl-extra.el (*random-state*):
8673 Remove unnecessary declaration.
8674
0e829eab
GM
8675 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8676
e3ad7552
GM
8677 * play/cookie1.el (cookie-snarf):
8678 Give an explicit error if input file cannot be read.
8679
68892d27
GM
8680 * play/yow.el (yow-file): Use expand-file-name rather than concat.
8681
20f0c46d
GM
8682 * progmodes/perl-mode.el (c-macro-expand):
8683 Remove unnecessary autoload (it is in loaddefs.el).
8684
5a0978ce
GM
8685 * textmodes/picture.el (picture-desired-column)
8686 (picture-update-desired-column): Convert comments to doc-strings.
8687 (picture-substitute): Remove function.
8688 (picture-mode-map): Initialize in the defvar.
8689
6b955486
GM
8690 * woman.el: Remove eval-after-load for tar-mode.
8691 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8692 (woman-tar-extract-file): Autoload it.
8693
94ee8db5
GM
8694 * frame.el (automatic-hscrolling): Make this alias obsolete.
8695
177eca34
AM
86962012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8697
090bd7cb 8698 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 8699 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
8700 (ispell-dictionary-base-alist): Revert to original XEmacs
8701 friendly version for default. [:alpha:] will be added in
090bd7cb 8702 `ispell-set-spellchecker-params' if needed.
177eca34 8703
c505aaeb
CY
87042012-04-16 Chong Yidong <cyd@gnu.org>
8705
b19dd9d1 8706 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
8707 (imagemagick-register-types): Use it.
8708 (imagemagick-types-inhibit): Add :set function. Allow new value
8709 of t to inhibit all types.
8710
8711 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8712 so we can preload it.
8713
8714 * loadup.el (fboundp): Preload regexp-opt, needed by
8715 imagemagick-register-types.
8716
60efac0f
CY
87172012-04-15 Chong Yidong <cyd@gnu.org>
8718
8719 * frame.el (scrolling): Remove nearly unused customization group.
8720
8721 * scroll-all.el (scroll-all-mode): Move to windows group.
8722
5dd1713e
CY
87232012-04-15 Chong Yidong <cyd@gnu.org>
8724
8725 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8726
e6fd457e
CY
87272012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8728
8729 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 8730 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 8731
e153c136
GM
87322012-04-15 Glenn Morris <rgm@gnu.org>
8733
8734 * simple.el (process-file-side-effects): Doc fix.
8735
e6fd457e 87362012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
8737
8738 * international/mule-cmds.el (set-language-environment): Doc fix.
8739
3603c3b1
JB
87402012-04-14 Juanma Barranquero <lekktu@gmail.com>
8741
8742 * server.el (server-auth-key, server-generate-key): Doc fixes.
8743 (server-get-auth-key): Doc fix. Use `string-match-p'.
8744 (server-start): Reflow docstring.
8745
e6de100c
LI
87462012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
8747
8748 * server.el (server-generate-key): `called-interactively-p'
8749 requires a parameter.
8750
29734c21
MN
87512012-04-14 Michal Nazarewicz <mina86@mina86.com>
8752
8753 * server.el (server-auth-key): New variable.
75f1671a 8754 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
8755 (server-start): Use the new variable and functions to allow
8756 setting a permanent server key (bug#9423).
8757
d65c9521
LL
87582012-04-14 Leo Liu <sdl.web@gmail.com>
8759
8760 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8761
5ae255c7
PE
87622012-04-14 Paul Eggert <eggert@cs.ucla.edu>
8763
8764 Spelling fixes.
8765 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8766 Emacs uses American spelling.
8767
d5e6342e
JB
87682012-04-14 Juanma Barranquero <lekktu@gmail.com>
8769
8770 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8771 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
8772 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8773 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
8774
ab036cd7
SM
87752012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8776
8777 * progmodes/which-func.el (which-func-modes): Change default.
8778
35dc09a1 87792012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
8780
8781 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8782 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8783
35dc09a1 87842012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
8785
8786 * custom.el (custom-theme-set-variables): Doc fix.
8787
35dc09a1 87882012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
8789
8790 * international/mule.el (set-auto-coding-for-load): Doc fix.
8791
35dc09a1 87922012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 8793
35dc09a1
GM
8794 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8795 imenu work again for Objective C Mode. Correct the *-index values,
8796 these having been disturbed by a previous change in 2011-08.
57f845ee 8797
0de3da9f
AM
8798 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8799 Correct two search limits.
8800
35dc09a1 88012012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
8802
8803 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8804
35dc09a1 88052012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
8806
8807 * international/characters.el: Fix sorting.
8808
35dc09a1 88092012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
8810
8811 * international/characters.el: Add more missing Latin case pairs.
8812
35dc09a1 88132012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
8814
8815 * files.el (dir-locals-set-class-variables): Doc fix.
8816
35dc09a1 88172012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 8818
3f1b5bf8
EZ
8819 * international/characters.el: Add set-case-syntax-pair call for
8820 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8821 counterpart. (Bug#11209)
8822
9f847f41
EZ
8823 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
8824
35dc09a1 88252012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
8826
8827 * calendar/holidays.el (calendar-check-holidays): Doc fix.
8828
35dc09a1 88292012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 8830
35dc09a1
GM
8831 * textmodes/ispell.el (ispell-dictionary-base-alist):
8832 Add data for Hebrew.
e2627d21 8833
35dc09a1 88342012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 8835
35dc09a1
GM
8836 * net/rcirc.el (rcirc-cmd-quit):
8837 Revert 2012-03-18 change (Bug#11192).
5c14e333 8838
35dc09a1 88392012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
8840
8841 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8842
35dc09a1 88432012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 8844
4517fe3a
SM
8845 * minibuffer.el (completion-in-region-mode-map):
8846 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 8847
b472a594
VD
88482012-04-13 Vivek Dasmohapatra <vivek@etla.org>
8849
8850 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8851
09b95ce3
MY
88522012-04-13 Masatake YAMATO <yamato@redhat.com>
8853
8854 * minibuffer.el (minibuffer-local-filename-syntax): New variable
8855 to allow `C-M-f' and `C-M-b' to move to the nearest path
8856 separator (bug#9511).
8857
4b63a9ca
LI
88582012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
8859
8860 * avoid.el: Require cl when compiling. And also move the
8861 `provide' to the end.
8862
7b55b8bf
TV
88632012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8864
8865 * avoid.el (mouse-avoidance-banish-position): New variable.
8866 (mouse-avoidance-banish-destination): Use it (bug#10165).
8867
adedaa1f
LL
88682012-04-13 Leo Liu <sdl.web@gmail.com>
8869
8870 * progmodes/which-func.el (which-func-modes): Add objc-mode.
8871
70e74021
KB
88722012-04-13 Ken Brown <kbrown@cornell.edu>
8873
8874 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 8875 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
8876 (browse-url-filename-alist): For the same reason, don't modify
8877 file:// URLs on Cygwin.
8878
e75e89ba
SM
88792012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
8880
8881 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8882 the region on shift if the binding is already shifted (bug#11221).
8883
82f289a4
GM
88842012-04-12 Glenn Morris <rgm@gnu.org>
8885
8886 * mail/mailpost.el: Move to obsolete/.
8887
d333dc4c
DA
88882012-04-12 Drew Adams <drew.adams@oracle.com>
8889
8890 * imenu.el (imenu--generic-function): Ignore invisible definitions
8891 (bug#10123).
8892
0d15b5ba
VD
88932012-04-12 Vivek Dasmohapatra <vivek@etla.org>
8894
8895 * hexl.el (hexl-bits): New variable.
8896 (hexl-options): Mention the variable in the doc string.
75f1671a 8897 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 8898 (hexl-mode): Mention the new variable.
75f1671a
JB
8899 (hexl-mode, hexl-current-address, hexl-current-address):
8900 Use the displen.
0d15b5ba
VD
8901 (hexl-ascii-start-column): New function.
8902 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8903 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8904
64a440db
AM
89052012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8906
8907 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8908 '("-i" ENCODING), in 2 separate command-line arguments, to specify
8909 the encoding, as expected by hunspell.
8910
6decb6c2
SM
89112012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
8912
8913 * battery.el (battery--linux-sysfs-regexp): New const.
8914 (battery-status-function): Use it. Remove yeeloong special case.
8915 (battery-yeeloong-sysfs): Remove.
8916 (battery-echo-area-format): Remove yeeloong special case.
8917
088be6fb
SM
89182012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8919
6622e416
SM
8920 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8921 Reported by Noah Friedman.
8922
088be6fb
SM
8923 * subr.el (read-passwd): Use read-string.
8924
b49f886e
LMI
89252012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8926
8927 * vcursor.el (vcursor-move): Increase the priority of the overlay
8928 (bug#9663).
8929
a63067fc
DD
89302012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
8931
8932 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8933 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8934
ac3cf14a
WS
89352012-04-11 William Stevenson <yhvh2000@gmail.com>
8936
8937 * textmodes/artist.el (artist-mode): Convert artist-mode to use
8938 define-minor-mode (bug#10760).
8939
c4fc691b 89402012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 8941
4d6769e1 8942 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
8943 that directories matching `grep-find-ignored-files' won't be
8944 pruned (bug#10351).
8945
af23e2e5
CY
89462012-04-11 Chong Yidong <cyd@gnu.org>
8947
8948 * startup.el (command-line): Remove support for long-obsolete
8949 variable font-lock-face-attributes.
8950
ab7ce8c1
GM
89512012-04-11 Glenn Morris <rgm@gnu.org>
8952
8953 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8954
de8c03dc
SM
89552012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * window.el (window--state-get-1): Obey window-point-insertion-type.
8958
050cc68b
LB
89592012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
8960
8961 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8962 to previous function when point is on the first character of a
75f1671a 8963 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 8964
a38c310c
GM
89652012-04-11 Glenn Morris <rgm@gnu.org>
8966
effed0c2
GM
8967 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8968 not just file-errors.
8969
a38c310c
GM
8970 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8971 (vc-bzr-sha1): Use internal sha1.
8972
0221e323
SM
89732012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8976
43956923
SG
89772012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
8978
8979 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8980 that start in the middle of the line (bug#10496).
8981
6a8c9eaf
DN
89822012-04-10 Dan Nicolaescu <dann@gnu.org>
8983
8984 * battery.el (battery-linux-proc-acpi): Only one battery is
8985 discharged at a time, but that seems to confuse battery.el when
8986 computing `rate-type' for the battery not being discharged
8987 (bug#10332).
8988
1930bf5d
SM
89892012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8990
2a718f6f
SM
8991 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8992
599430d0
SM
8993 * international/quail.el: Use dolist and simplify.
8994 (quail-define-package, quail-update-keyboard-layout)
8995 (quail-define-rules): Use dolist.
8996 (quail-insert-kbd-layout, quail-get-translation): CSE.
8997
a2754b6c
SM
8998 * tmm.el: Use dolist, remove left over hook.
8999 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
9000 Use dolist.
9001 (calendar-load-hook): Don't mess with it.
9002
1930bf5d
SM
9003 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
9004 Use derived-mode-p. Run the diff asynchronously.
9005
9f67961c
LMI
90062012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9007
9008 * obsolete/mouse-sel.el: Add an Obsolete-since header.
9009
2a8ce227
JB
90102012-04-10 Juanma Barranquero <lekktu@gmail.com>
9011
9012 * misc.el: Display absolute path of loaded DLLs (bug#10424).
9013 (list-dynamic-libraries--loaded): New function.
9014 (list-dynamic-libraries--refresh): Use it.
9015
8f33b5f8
NW
90162012-04-10 Nathan Weizenbaum <nweiz@google.com>
9017
1930bf5d
SM
9018 * progmodes/python.el (python-fill-paragraph):
9019 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
9020 disabled (bug#7018).
9021
b12f0439
L
90222012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
9023
1930bf5d 9024 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
9025 DOS/MS Windows for the Baltic languages. There are still plenty
9026 of texts written in this encoding/codepage (bug#6519).
b12f0439 9027
57c3bd01
GM
90282012-04-10 Glenn Morris <rgm@gnu.org>
9029
9030 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
9031 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
9032
6c3eab30
FA
90332012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
9034
1930bf5d 9035 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
9036 next-line "n" and previous-line "p" in order to make recentf more
9037 consistent with ibuffer, dired or org-mode (bug#9387).
9038
24d78a88
LMI
90392012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9040
bc72b5d9
LMI
9041 * image.el (put-image): Return the overlay created instead of the
9042 optional input string (bug#7834). Note that this may break code
9043 that is (for some reason or other) depending on `put-image'
9044 returning the string.
9045
bd2dba5a
LMI
9046 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
9047
74beb59f
LMI
9048 * simple.el (zap-to-char): Allow zapping using input methods
9049 (bug#1580).
9050
24d78a88
LMI
9051 * textmodes/fill.el (fill-region): Leave point and mark where they
9052 were before filling (bug#5399).
9053
263f20cd
GM
90542012-04-09 Glenn Morris <rgm@gnu.org>
9055
9056 * version.el (emacs-bzr-get-version):
9057 Handle lightweight checkouts of local branches.
9058
58d1f797
AS
90592012-04-09 Andreas Schwab <schwab@linux-m68k.org>
9060
263f20cd 9061 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 9062
b4d3bc10
CY
90632012-04-09 Chong Yidong <cyd@gnu.org>
9064
9065 * custom.el (custom-variable-p): Return nil for non-symbol
9066 arguments instead of signaling an error.
9067 (user-variable-p): Obsolete alias for custom-variable-p.
9068
9069 * apropos.el (apropos-variable):
9070 * files-x.el (read-file-local-variable):
9071 * simple.el (set-variable):
9072 * woman.el (woman-mini-help):
9073 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
9074
fd06db5d
GM
90752012-04-09 Glenn Morris <rgm@gnu.org>
9076
e5fcdb5e
GM
9077 * startup.el (normal-top-level): Don't look for leim-list.el
9078 in places where it will not be found. (Bug#910)
9079
fd06db5d
GM
9080 * international/mule-cmds.el (set-default-coding-systems):
9081 * files.el (normal-mode):
9082 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
9083 This function was removed with ucs-tables.el in 2008.
9084
b39bb7e1
EZ
90852012-04-08 Eli Zaretskii <eliz@gnu.org>
9086
9087 * textmodes/ispell.el (ispell-check-version): For hunspell, set
9088 ispell-encoding8-command to "-i", without a trailing space.
9089 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
9090 separate command-line arguments, to specify the encoding, since
9091 that's how hunspell expects it.
9092
5c5b8e23
GM
90932012-04-08 Glenn Morris <rgm@gnu.org>
9094
9095 * loadup.el: Load bindings before cus-start.
9096 This reduces somewhat the number of "rogue" settings in emacs -Q.
9097
a1ed8b05
GM
90982012-04-07 Glenn Morris <rgm@gnu.org>
9099
9100 * version.el (emacs-bzr-get-version): New function.
dfae128a 9101 (emacs-bzr-version): New variable.
a1ed8b05
GM
9102 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
9103 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
9104
b142f158
EZ
91052012-04-07 Eli Zaretskii <eliz@gnu.org>
9106
dfae128a
GM
9107 * international/uni-bidi.el, international/uni-category.el:
9108 * international/uni-combining.el, international/uni-decimal.el:
9109 * international/uni-decomposition.el, international/uni-digit.el:
9110 * international/uni-lowercase.el, international/uni-mirrored.el:
9111 * international/uni-name.el, international/uni-numeric.el:
9112 * international/uni-titlecase.el, international/uni-uppercase.el:
9113 Update for Unicode 6.1.
b142f158 9114
9078ead6
EZ
91152012-04-07 Eli Zaretskii <eliz@gnu.org>
9116
9117 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
9118
f23d2c7d
LMI
91192012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
9120
9121 * window.el (shrink-window): Mention the `window-min-height'
9122 variable in the doc string.
9123
0a0a3573
BG
91242012-04-05 Bastien Guerry <bzg@altern.org>
9125
9126 * color.el (color-lighten-name): Fix typo.
9127
e5248ac9
SM
91282012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9129
9130 * server.el (server--on-display-p): New function.
9131 (server--on-display-p): Use it.
9132
b4243e22
GV
91332012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
9134
9135 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
9136 (bug#11145).
9137
305d9f44
SM
91382012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9139
9140 * comint.el (comint--common-quoted-suffix): Check string boundary
9141 before comparing (bug#11158).
9142 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
9143
3d439cd1
CY
91442012-04-04 Chong Yidong <cyd@gnu.org>
9145
321cc491
CY
9146 * minibuffer.el (completion-extra-properties): Doc fix.
9147
3d439cd1
CY
9148 * subr.el (delayed-warnings-hook): Doc fix.
9149
2d562c0f
DU
91502012-04-04 Daiki Ueno <ueno@unixuser.org>
9151
9152 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
9153 selection (Bug#11159).
9154 (epa-insert-keys): Inform that the default public key will be
9155 exported if no key is selected.
9156
4443f204
RS
91572012-04-04 Richard Stallman <rms@gnu.org>
9158
9159 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
9160
529c06b6
CY
91612012-04-03 Chong Yidong <cyd@gnu.org>
9162
9163 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
9164 mail-insert-file, not its obsolete alias mail-attach-file.
9165
66b907dc
MA
91662012-04-03 Michael Albinus <michael.albinus@gmx.de>
9167
9168 * notifications.el (notifications-notify): Fix docstring.
9169
c0ea195d
GM
91702012-04-02 Glenn Morris <rgm@gnu.org>
9171
9172 * emacs-lisp/authors.el (authors-aliases): Another addition.
9173
5ca64e00
MA
91742012-04-02 Michael Albinus <michael.albinus@gmx.de>
9175
9176 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
9177 `tramp-compat-call-process' instead of `tramp-local-call-process'.
9178 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
9179
42ee526b
CY
91802012-04-01 Chong Yidong <cyd@gnu.org>
9181
9182 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
9183 Handle root directory properly.
9184 (copy-directory): Caller changed.
9185
9186 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9187 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
9188
0b021094
GM
91892012-03-31 Glenn Morris <rgm@gnu.org>
9190
40f86458
GM
9191 * term/xterm.el (xterm-extra-capabilities): Doc fix.
9192
7019c177
GM
9193 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
9194
a1daddd6
GM
9195 * calendar/calendar.el (calendar-window-list)
9196 (calendar-hide-window): Restore. (Bug#11140)
9197 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
9198
0b021094
GM
9199 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
9200
40311efc
TV
92012012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9202
9203 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
9204 Check if file is a symlink (Bug#10489).
9205
9206 * files.el (copy-directory): Likewise.
9207
5319014e
CY
92082012-03-30 Chong Yidong <cyd@gnu.org>
9209
9210 * image.el (imagemagick-types-inhibit)
9211 (imagemagick-register-types): Doc fix.
9212
935d1290
AM
92132012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9214
090bd7cb 9215 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 9216 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 9217 and treats ~word as ordinary words in pipe mode.
935d1290 9218
61c6e8fd
GM
92192012-03-30 Glenn Morris <rgm@gnu.org>
9220
9221 * tutorial.el (help-with-tutorial): Ensure local variables don't
9222 happen to make the buffer read-only. (Bug#11127)
9223
81fdff00
SM
92242012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
9225
9226 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
9227 (perl-calculate-indent): Return `noindent' in strings.
9228
6e7a6ec0
SS
92292012-03-28 Sam Steingold <sds@gnu.org>
9230
9231 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
9232 instead of the broken adhockery which does not prevent calendar
9233 buffers from being displayed at random after exit.
9234 (calendar-window-list, calendar-hide-window): Remove the broken
9235 adhockery.
9236
fee88ca0
GM
92372012-03-28 Glenn Morris <rgm@gnu.org>
9238
9239 * replace.el (query-replace-map): Doc fix.
9240
38de3354
AS
92412012-03-28 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
9244 contents. (Bug#11109)
9245
b973155e
SM
92462012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9247
9248 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
9249 (bug#11077).
9250 (avl-tree--check, avl-tree--check-node): New funs.
9251
dcb6e7b3
MR
92522012-03-27 Martin Rudalics <rudalics@gmx.at>
9253
9254 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
9255 (switch-to-prev-buffer, switch-to-next-buffer):
9256 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
9257 showing a buffer already is done on the same frame.
9258
b4fa35fa
GM
92592012-03-27 Glenn Morris <rgm@gnu.org>
9260
9261 * startup.el (mail-host-address): Doc fix.
9262
f9210e18
SM
92632012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9264
9265 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9266 than 197 variables.
9267
c0bf7753
AF
92682012-03-26 Ami Fischman <ami@fischman.org>
9269
9270 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9271
33da7b16
GM
92722012-03-26 Glenn Morris <rgm@gnu.org>
9273
02243d9d
GM
9274 * files.el (save-buffers-kill-emacs): Doc fix.
9275
33da7b16
GM
9276 * startup.el (normal-top-level, command-line, command-line-1):
9277 Give them doc strings.
9278
e5a69fd0
EZ
92792012-03-25 Eli Zaretskii <eliz@gnu.org>
9280
9281 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 9282 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 9283
9a69676a
CY
92842012-03-25 Chong Yidong <cyd@gnu.org>
9285
4125cb8b
CY
9286 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9287 theme if it was previously enabled before (Bug#11031).
9288
dd470960
CY
9289 * cus-theme.el (custom-theme-write-faces): Retrieve current face
9290 spec with custom-face-get-current-spec if its :shown-value is not
9291 determined yet (Bug#9337).
4125cb8b 9292 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 9293
9a69676a
CY
9294 * button.el (button-at): Minor addition to docstring.
9295
6e7e90fa
SL
92962012-03-24 Simon Leinen <simon.leinen@gmail.com>
9297
9298 * vc/vc.el (vc-merge): Fix a prompt.
9299
f06e2758
CY
93002012-03-24 Chong Yidong <cyd@gnu.org>
9301
9302 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9303 point (Bug#9623).
9304
6e7e90fa
SL
9305 * button.el (button-at): Minor addition to docstring.
9306
b9d0879b
SM
93072012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
9308
9309 * newcomment.el (comment-choose-indent): No space after BOL.
9310
e71cebb3
SS
93112012-03-22 Sam Steingold <sds@gnu.org>
9312
9313 * window.el (switch-to-prev-buffer): Revert last patch because the
9314 bug turned out to be an advertised feature (Elisp manual 28.14).
9315
335aff35
GM
93162012-03-22 Glenn Morris <rgm@gnu.org>
9317
9318 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
9319 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9320
c676576a
LMI
93212012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
9322
9323 * net/network-stream.el (network-stream-open-starttls): Make error
9324 message under Windows be less misleading.
9325
126f3d39
LW
93262012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
9327
9328 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9329 understands (bug#9942).
9330
64fee311
CY
93312012-03-22 Chong Yidong <cyd@gnu.org>
9332
9333 * simple.el (end-of-visible-line): Handle return value of
9334 next-single-property-change properly (Bug#9371).
9335
a640d29a
KH
93362012-03-22 Kenichi Handa <handa@m17n.org>
9337
9338 * international/quail.el (quail-insert-kbd-layout): Fix previous
9339 change. To avoid unwanted bidi reordering, use
9340 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9341
39675016
DG
93422012-03-21 Dmitry Gutov <dgutov@yandex.ru>
9343
9344 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9345 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9346 (ruby-beginning-of-indent): Be more careful with the difference
9347 between word-boundary and symbol boundary.
9348 (ruby-mode-syntax-table): Make : a symbol constituent.
9349
0a6934fc 93502012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 9351
3d008e4f
SM
9352 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9353
0a6934fc
SM
93542012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9355
af67c9d7
SM
9356 * progmodes/etags.el (tags-completion-at-point-function):
9357 Improve last fix.
9358
1acad97c
SM
9359 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9360
e298b5da
SS
93612012-03-21 Sam Steingold <sds@gnu.org>
9362
9363 * progmodes/etags.el (tags-completion-at-point-function):
9364 Avoid the error when point is inside the pattern.
9365
91d82a70
JY
93662012-03-21 John Yates <john@yates-sheets.org> (tiny change)
9367
9368 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9369 line (Bug#10855).
9370
69188b79
CY
93712012-03-21 Drew Adams <drew.adams@oracle.com>
9372
9373 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9374
99fc91fe
AK
93752012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
9376
9377 * ido.el (ido-set-current-directory, ido-read-internal)
9378 (ido-choose-completion-string, ido-completion-help): Handle nil
9379 value of ido-completion-buffer (Bug#11008).
9380
087bbb4c
SS
93812012-03-21 Sam Steingold <sds@gnu.org>
9382
9383 * window.el (switch-to-prev-buffer): Do not switch to a visible
9384 window previous buffer, just like with the frame previous buffers.
9385
fb5b8aca
CY
93862012-03-21 Chong Yidong <cyd@gnu.org>
9387
9388 * faces.el (make-face, make-empty-face, copy-face):
9389 * face-remap.el (face-remap-add-relative, face-remap-set-base):
9390 Doc fixes.
9391
dc9924b8
SM
93922012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * wid-edit.el (widget-complete-field): Remove (bug#11051).
9395 (widget-complete): Remove broken use of it.
9396
f0bcceb9
CY
93972012-03-20 Chong Yidong <cyd@gnu.org>
9398
dc9924b8
SM
9399 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9400 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
9401 characters.
9402
ee52ebf3
TH
94032012-03-20 Tassilo Horn <tassilo@member.fsf.org>
9404
9405 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9406 to draw rectangles, not squares. (Regression introduced by revno
9407 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9408
4c5779ab
CY
94092012-03-18 Chong Yidong <cyd@gnu.org>
9410
9411 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9412 it is not yet defined (for temacs).
9413
15360934
LL
94142012-03-18 Leo Liu <sdl.web@gmail.com>
9415
735135f9
PE
9416 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9417 prefix.
15360934 9418
d9a8eb66
EZ
94192012-03-17 Eli Zaretskii <eliz@gnu.org>
9420
9421 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9422 (ispell-choices-win-default-height, ispell-silently-savep)
9423 (ispell-dictionary-alist, ispell-encoding8-command)
9424 (ispell-check-version, ispell-aspell-find-dictionary)
9425 (ispell-valid-dictionary-list, ispell-words-keyword)
9426 (ispell-get-word, ispell-internal-change-dictionary)
9427 (ispell-region, ispell-skip-region-list)
9428 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9429 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9430 (ispell-message-text-end, ispell-message)
9431 (ispell-buffer-local-parsing): Doc fix.
9432
f02ff80d
J
94332012-03-13 Jambunathan K <kjambunathan@gmail.com>
9434
9435 * htmlfontify.el: Add support for code block fontification for ODT
9436 export (Bug #9914).
9437 (hfy-optimisations): Define new option
9438 `body-text-only'
9439 (hfy-fontify-buffer): Honor above setting.
9440 (hfy-begin-span, hfy-end-span): New routines factored out form
9441 `hfy-fontify-buffer'.
9442 (hfy-begin-span-handler, hfy-end-span-handler): New variables
9443 that permit insertion of custom tags.
9444 (hfy-fontify-buffer): Use above handlers.
9445 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9446 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 9447 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 9448 over multiple runs. This is made possible by having the caller let
f02ff80d
J
9449 bind a special variable `hfy-user-sheet-assoc'.
9450 (htmlfontify-string): New defun.
9451 (hfy-compile-face-map): Make sure that the last char in the
9452 buffer is correctly fontified.
9453 (hfy-face-resolve-face): Whitespace only change.
9454
9ac7a13f
EZ
94552012-03-17 Eli Zaretskii <eliz@gnu.org>
9456
9457 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9458 message more clear.
9459
e2b5bdd7
LL
94602012-03-16 Leo Liu <sdl.web@gmail.com>
9461
9462 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9463
2e492df3
AM
94642012-03-16 Alan Mackenzie <acm@muc.de>
9465
9466 Further optimise the handling of large macros.
9467
9468 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9469 limit to a call of `c-literal-limits'.
9470 (c-determine-+ve-limit): New function.
dc9924b8
SM
9471 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9472 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
9473 In CASE 5B, restrict a search limit to 500.
9474 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9475
9476 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9477 Restrict macro bounds to +-500 from after-change's BEG END.
9478
50e94f0c
LL
94792012-03-16 Leo Liu <sdl.web@gmail.com>
9480
9481 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9482
6f09f6ed
AH
94832012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
9484
9485 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 9486 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 9487
c7e73d51
GM
94882012-03-16 Glenn Morris <rgm@gnu.org>
9489
da986230
GM
9490 * view.el (view-buffer, view-buffer-other-window)
9491 (view-buffer-other-frame): Doc fixes re special mode-class.
9492
0835f01e
GM
9493 * subr.el (eval-after-load): If named feature is provided not from
9494 a file, run after-load forms. (Bug#10946)
9495
c7e73d51
GM
9496 * calendar/calendar.el (calendar-insert-at-column):
9497 Handle non-unit-width characters a bit better. (Bug#10978)
9498
3f2eafd1
CY
94992012-03-15 Chong Yidong <cyd@gnu.org>
9500
9501 * emacs-lisp/ring.el (ring-extend): New function.
9502 (ring-insert+extend): Extend the ring correctly (Bug#11019).
9503
9504 * comint.el (comint-read-input-ring)
9505 (comint-add-to-input-history): Grow comint-input-ring lazily.
9506
103af3fe
SM
95072012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
9508
663b1677
SM
9509 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9510 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9511
103af3fe
SM
9512 * imenu.el: Fix multiple inheritance breakage (bug#9199).
9513 (imenu-add-to-menubar): Don't add a redundant index.
9514 (imenu-update-menubar): Handle a dynamically composed keymap.
9515
899cb7cb
KY
95162012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
9517
9518 * mail/sendmail.el (mail-encode-header):
9519 Bind rfc2047-encode-encoded-words to nil.
9520
3809f91d
GM
95212012-03-13 Glenn Morris <rgm@gnu.org>
9522
9523 * calendar/calendar.el (calendar-string-spread):
9524 Handle non-unit-width characters a bit better. (Bug#10978)
9525
9e345a01
LL
95262012-03-13 Leo Liu <sdl.web@gmail.com>
9527
9528 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9529 directory and file as argument (Bug#10822).
9530
4a07df36
KS
95312012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9532
9533 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9534 For dynamically generated code, follow $PC.
9535 (gdb-disassembly-handler-custom): Handle no function name case.
9536
4aaa9356
TL
95372012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
9538
9539 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9540 * emulation/ws-mode.el (ws-query-replace):
9541 * sort.el (sort-regexp-fields):
9542 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
9543
225979da
SM
95442012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9545
9546 * dabbrev.el: Fix cycle completion order (bug#10963).
9547 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9548 (dabbrev-completion): Don't use an obarray; provide
9549 a cycle-sort-function.
9550
e2f1fdab
LL
95512012-03-12 Leo Liu <sdl.web@gmail.com>
9552
dc9924b8 9553 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
9554 (kill-do-not-save-duplicates): Doc fix.
9555
b19490ed
SM
95562012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9557
9558 * dabbrev.el: Fix cycle completion (bug#10963).
9559 Use lexical binding and wrap to 80 columns.
9560 (dabbrev-completion): Delay computing the list of completions.
9561
4b05d722
KH
95622012-03-12 Kenichi Handa <handa@m17n.org>
9563
9564 * international/quail.el (quail-insert-kbd-layout): Surround each
9565 row by LRO and PDF instead of inserting many LRMs. Pad the left
9566 and right of each non-spacing marks. Insert invisible space
9567 between lower and upper characters to prevent composition.
9568
dbbc2e69
SM
95692012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * minibuffer.el (minibuffer-complete): Don't get confused when the
9572 function is run twice via different commands (bug#10958).
9573 (complete-with-action): Fix docstring.
9574
292112ed
CY
95752012-03-12 Chong Yidong <cyd@gnu.org>
9576
5d1ac394
CY
9577 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9578 (nxml-completion-at-point-function): New function.
9579 (nxml-mode): Use it.
9580 (nxml-bind-meta-tab-to-complete-flag): Default to t.
9581
292112ed
CY
9582 * emacs-lisp/package.el (package-unpack, package-unpack-single):
9583 Load generated autoloads file before byte compiling (Bug#10970).
9584 (package--make-autoloads-and-compile): New helper fun.
9585
4098f8f7
CS
95862012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
9587
9588 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9589
8f754691
MA
95902012-03-11 Michael Albinus <michael.albinus@gmx.de>
9591
9592 * autorevert.el (auto-revert-handler): Ensure, that
9593 file-readable-p is applied only for local files or in
9594 auto-revert-tail-mode.
9595
e29ab36b
AS
95962012-03-11 Andreas Schwab <schwab@linux-m68k.org>
9597
dbbc2e69
SM
9598 * server.el (server-eval-at): Handle non-tcp connections.
9599 Decode result string.
ad0bf5b6 9600
e29ab36b
AS
9601 * server.el (server-msg-size): New constant.
9602 (server-reply-print): New function.
9603 (server-eval-and-print): Use it.
9604 (server-eval-at): Use server-quote-arg and server-unquote-arg.
9605 Handle -print-nonl.
9606
de5939ba
CS
96072012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
9608
9609 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9610 (Bug#10987).
9611
0c93eabf
CY
96122012-03-11 Chong Yidong <cyd@gnu.org>
9613
397a688f
CY
9614 * simple.el (goto-line): Doc fix (Bug#9938).
9615
2cc775f9
CY
9616 * subr.el (save-window-excursion): Doc fix (Bug#9979).
9617
0c93eabf
CY
9618 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9619 when finished (Bug#10963).
9620
c491fa41
MR
96212012-03-11 Martin Rudalics <rudalics@gmx.at>
9622
9623 * window.el (split-window-below): Fix bug in case where
9624 split-window-keep-point is nil (Bug#10971).
9625
300e8fa5
JL
96262012-03-11 Juri Linkov <juri@jurta.org>
9627
9628 * replace.el (replace-highlight): Set isearch-word to nil
9629 unconditionally. (Bug#10887)
9630
dbf6c5a1
EZ
96312012-03-10 Eli Zaretskii <eliz@gnu.org>
9632
9633 * net/mairix.el (mairix-replace-invalid-chars): Rename from
9634 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 9635 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
9636 (mairix-widget-create-query): Add usage information about mairix
9637 search forms: negating words, searching for substrings, etc.
9638
b9e501de
JP
96392012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
9640
9641 * international/fontset.el (font-encoding-alist): Add an entry for
9642 ksx1001 (Bug#5667).
9643
92795c91
RS
96442012-03-10 Richard Stallman <rms@gnu.org>
9645
1694e6c1
RS
9646 * mail/sendmail.el (mail-encode-header):
9647 Set rfc2047-encode-encoded-words.
9648
607e8555
RS
9649 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9650
de3bc99a
RS
9651 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9652 view buffer means not swapped.
9653 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9654 (rmail-write-region-annotate): Error if real text has disappeared.
9655
92795c91
RS
9656 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9657
699bd04e
CY
96582012-03-10 Chong Yidong <cyd@gnu.org>
9659
9660 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
9661 * emulation/cua-base.el (cua--init-keymaps):
9662 Add delete-forward-char to remappings (Bug#9666).
699bd04e 9663
570a1714
MR
96642012-03-10 Martin Rudalics <rudalics@gmx.at>
9665
dbbc2e69
SM
9666 * speedbar.el (speedbar-unhighlight-one-tag-line):
9667 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 9668
82dcf4e4
CY
96692012-03-10 Chong Yidong <cyd@gnu.org>
9670
7a2c7ca7
CY
9671 * minibuffer.el (completion-in-region, completion-help-at-point):
9672 Give the completion field overlay a high priority (Bug#6830).
9673
82dcf4e4
CY
9674 * dired.el (dired-goto-file): Recognize absolute file name
9675 listings (Bug#7126).
9676 (dired-goto-file-1): New helper function.
9677 (dired-toggle-read-only): Inhibit warnings.
9678
052e28ac
MA
96792012-03-09 Michael Albinus <michael.albinus@gmx.de>
9680
75f1671a 9681 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
9682 there are no properties.
9683
95d5e396
LL
96842012-03-09 Leo Liu <sdl.web@gmail.com>
9685
9686 * savehist.el (savehist-printable): Stricter check for string
9687 value (Bug#10937).
9688
3f018d6d
EZ
96892012-03-09 Eli Zaretskii <eliz@gnu.org>
9690
dbbc2e69
SM
9691 * mail/smtpmail.el (smtpmail-send-it):
9692 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
9693 valid mbox format.
9694
f7fd3d79
GM
96952012-03-09 Glenn Morris <rgm@gnu.org>
9696
9697 * files.el (dir-locals-find-file):
9698 Don't check result is regular, readable.
9699 (dir-locals-read-from-file): Demote errors.
9700
6ff6e72f
EZ
97012012-03-08 Eli Zaretskii <eliz@gnu.org>
9702
dbbc2e69
SM
9703 * international/quail.el (quail-insert-kbd-layout):
9704 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
9705 layout cell, to prevent their reordering by bidi display engine.
9706 For details, see the discussion in
9707 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9708
9cec7834
AM
97092012-03-08 Alan Mackenzie <acm@muc.de>
9710
9711 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9712 the starting position; make it extend the marked region when
9713 invoked repeatedly - all under appropriate circumstances.
9714 Fixes bugs #5525, #10906.
9715
9a40b8d4
GM
97162012-03-08 Glenn Morris <rgm@gnu.org>
9717
9718 * files.el (locate-dominating-file, dir-locals-find-file):
9719 Undo 2012-03-06 change.
9720
7a08ed35
EZ
97212012-03-07 Eli Zaretskii <eliz@gnu.org>
9722
dbbc2e69
SM
9723 * international/quail.el (quail-help):
9724 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
9725 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9726 for the reason.
9727
5aca4f71 97282012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
9729
9730 Avoid superfluous registering of signals. (Bug#10807)
9731
9732 * notifications.el (notifications-on-action-object)
9733 (notifications-on-close-object): New defvars.
9734 (notifications-on-action-signal, notifications-on-closed-signal):
9735 Unregister the signal if not needed any longer.
9736 (notifications-notify): Register `notifications-action-signal' or
9737 `notifications-closed-signal', if :on-action or :on-close has been
9738 passed as argument.
9739
78e8b10a
CY
97402012-03-07 Chong Yidong <cyd@gnu.org>
9741
9742 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9743 non-X platforms.
9744
69481eb8
GM
97452012-03-06 Glenn Morris <rgm@gnu.org>
9746
9747 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9748 (x-disown-selection-internal, x-get-selection-internal):
9749 Doc fix (add arglist signatures). (Bug#10783)
9750
133b8e11
KS
97512012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
9752
9753 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9754 Handle breakpoints with no "type".
9755
99a83064
GM
97562012-03-06 Glenn Morris <rgm@gnu.org>
9757
9758 * files.el (locate-dominating-file): Add optional predicate argument.
9759 (dir-locals-find-file): Make use of above change.
9760
17798e78
TTN
97612012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
9762
9763 * info.el (Info-insert-dir): Also try "dir.gz".
9764
eb182446
GM
97652012-03-06 Glenn Morris <rgm@gnu.org>
9766
8f2114ee
GM
9767 * files.el (dir-locals-find-file):
9768 Ignore non-readable or non-regular files. (Bug#10928)
9769
eb182446
GM
9770 * files.el (locate-dominating-file): Doc fix.
9771
24679323
AS
97722012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
9773
9774 * calendar/calendar.el (calendar-set-mode-line):
9775 `getenv' returns a string. (Bug#10951)
9776
01d972a9
LL
97772012-03-05 Leo Liu <sdl.web@gmail.com>
9778
109aa8a9
LL
9779 * simple.el (backward-delete-char-untabify): Constrain point to
9780 field (Bug#10939).
9781
01d972a9
LL
9782 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9783
10607bea
CY
97842012-03-05 Chong Yidong <cyd@gnu.org>
9785
9786 * simple.el (count-words): If called from Lisp, return the word
9787 count, for symmetry with `count-lines'. Arglist changed.
9788 (count-words--message): Args changed. Consolidate counting code
9789 from count-words and count-words-region.
9790 (count-words-region): Caller changed.
9791 (count-lines-region): Make it an obsolete alias.
9792
5dd11cfe
TH
97932012-03-04 Tassilo Horn <tassilo@member.fsf.org>
9794
9795 * saveplace.el (save-place-to-alist)
9796 (save-place-ignore-files-regexp): Allow value nil to disable this
9797 feature.
9798
c349f4e6
CY
97992012-03-04 Chong Yidong <cyd@gnu.org>
9800
9801 * faces.el (face-spec-reset-face): For the default face, reset the
9802 attributes to default values (Bug#10748).
9803
e627be4c
LMI
98042012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9805
9806 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9807 previous patch: Check `message-send-mail-function', and not the
9808 default function (bug#10897).
9809
ebeabff4
MA
98102012-03-04 Michael Albinus <michael.albinus@gmx.de>
9811
a41a6cf4
MA
9812 * notifications.el (notifications-on-action-signal)
9813 (notifications-on-closed-signal): Check for unique service name of
9814 incoming event. Fix error in removing entry.
ebeabff4 9815 (top): Register for signals with wildcard service name.
a41a6cf4 9816 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 9817
c1ca42b4
CY
98182012-03-04 Chong Yidong <cyd@gnu.org>
9819
dc9924b8 9820 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 9821
ea16568d
GM
98222012-03-04 Glenn Morris <rgm@gnu.org>
9823
9824 * abbrev.el (copy-abbrev-table, abbrev-table-p)
9825 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9826 (expand-abbrev, define-abbrev-table): Doc fixes.
9827
fbae4637
LMI
98282012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9829
9830 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9831 `message-default-send-mail-function' and not `send-mail-function'
9832 when doing the prompting for `sendmail-query-once' before sending
9833 in Message buffers (bug#10897).
9834
a1e7225c
LMI
9835 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9836 This is inconsistent with all the other stream functions, which leave
9837 the setting up to the higher levels (if so wanted) (bug#10931).
9838
56d093a9
AM
98392012-03-02 Alan Mackenzie <acm@muc.de>
9840
9841 Depessimize the handling of very large macros.
9842
9843 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9844 (c-macro-cache-syntactic): New variables to implement a one
9845 element macro cache.
9846 (c-invalidate-macro-cache): New function.
9847 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9848 Adapt to use the new cache.
9849 (c-state-safe-place): Use better the cache of safe positions.
9850 (c-state-semi-nonlit-pos-cache)
9851 (c-state-semi-nonlit-pos-cache-limit):
9852 New variables for...
9853 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
9854 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
9855 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9856 Use c-state-semi-safe-place.
56d093a9 9857
dbbc2e69
SM
9858 * progmodes/cc-langs.el (c-get-state-before-change-functions):
9859 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 9860
817e5c3d
MA
98612012-03-02 Michael Albinus <michael.albinus@gmx.de>
9862
dbbc2e69
SM
9863 * jka-compr.el (jka-compr-call-process):
9864 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
9865 not remote.
9866
a032a702
MA
98672012-03-01 Michael Albinus <michael.albinus@gmx.de>
9868
9869 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
9870 access of FILE2, if FILE1 does not exist.
9871
99a54f21
MA
9872 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9873 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9874
9875 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9876 Add "PAGER=" to `process-environment'.
9877
f6561e1f
MM
98782012-03-01 Michael R. Mauger <mmaug@yahoo.com>
9879
9880 * progmodes/sql.el: Bug fix
9881 (sql-get-login-ext): Save login values in globals.
9882 (sql-get-login): Use new version of `sql-get-login-ext'.
9883 (sql-interactive-mode): Set global `sql-connection' to nil.
9884 (sql-connect): Set global values for connection.
9885 (sql-product-interactive): Save global values as buffer local.
9886
2d44d9cc
LL
98872012-02-29 Leo Liu <sdl.web@gmail.com>
9888
9889 * abbrev.el (define-abbrevs): Reset sys to nil.
9890
96b49301 98912012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9892
bf7f9bc5
JB
9893 * files.el (file-equal-p): Rename from `files-equal-p'.
9894 Return nil when one or both files don't exist.
96b49301 9895 (file-subdir-of-p): Now only top directory must exists,
9896 return nil if it doesn't.
bf7f9bc5
JB
9897 (copy-directory): No need to test with `file-subdir-of-p' after
9898 creating dir.
9899 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9900 to `file-equal-p'.
96b49301 9901
44e97401
GM
99022012-02-28 Glenn Morris <rgm@gnu.org>
9903
9904 * shell.el (shell-mode):
9905 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9906 * play/landmark.el (landmark-font-lock-face-O):
9907 * play/handwrite.el (handwrite):
9908 * play/gomoku.el (gomoku-O):
9909 * net/browse-url.el (browse-url-browser-display):
9910 * international/mule.el (define-charset):
9911 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9912 * filesets.el (filesets-find-file-delay):
9913 * eshell/em-xtra.el (eshell-xtra):
9914 * eshell/em-unix.el (eshell-grep):
9915 * emulation/viper.el (viper-mode):
9916 * emacs-lisp/regexp-opt.el (regexp-opt-group):
9917 * emacs-lisp/easymenu.el (easy-menu-define):
9918 * calendar/timeclock.el (timeclock-use-display-time):
9919 * bs.el (bs-mode):
9920 * bookmark.el (bookmark-save-flag):
9921 Doc fix (standardize possessive apostrophe usage).
9922
c98c6276
CY
99232012-02-27 Chong Yidong <cyd@gnu.org>
9924
bf7f9bc5
JB
9925 * emulation/viper-cmd.el (viper-intercept-ESC-key):
9926 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 9927
c98c6276
CY
9928 * font-lock.el (font-lock-specified-p): Rename from
9929 font-lock-spec-present. Callers changed.
9930
9c62cd04 99312012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 9932
bf7f9bc5
JB
9933 * emacs-lisp/package.el (package-compute-transaction):
9934 Handle holding a package version to t in package-load-list.
8ac9e529 9935
530739c9
MA
99362012-02-26 Michael Albinus <michael.albinus@gmx.de>
9937
9938 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9939 (tramp-get-inode, tramp-get-device): Use cached values.
9940
487915d7
AM
99412012-02-26 Alan Mackenzie <acm@muc.de>
9942
9943 Check there is a font-lock specification before doing initial
9944 fontification.
9945
9946 * font-core.el (font-lock-mode): Move the conditional from
9947 :after-hook to font-lock-initial-fontify.
9948 (font-lock-default-function): Move the check for a specification
9949 to font-lock-spec-present.
9950
dc9924b8 9951 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
9952 (font-lock-spec-present): New function.
9953
4fd96557
JB
99542012-02-26 Jim Blandy <jimb@red-bean.com>
9955
9956 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9957 (gdb-send): Apply it to the operand of the '-interpreter-exec
9958 console' command, so that we can pass arguments with (say) quotes
9959 in them. Store exact string sent in gdb-debug-log (Bug#10765).
9960
9a4888c0
CY
99612012-02-26 Chong Yidong <cyd@gnu.org>
9962
07498861
CY
9963 * help-fns.el (describe-function-1): Clarify description of
9964 remapping (Bug#10844).
9965
9a4888c0
CY
9966 * files.el (files-equal-p): Doc fix.
9967 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
9968 and quit the loop once a mismatch is found.
9969
ea8fb88d
JB
99702012-02-25 Juanma Barranquero <lekktu@gmail.com>
9971
9972 * bs.el (bs--show-with-configuration): Don't throw an error
9973 if the window cannot be split; otherwise, subsequent calls to
9974 bs-show fail, restoring a stale window config. (Bug#10882)
9975
525795c1
JD
99762012-02-25 Jan Djärv <jan.h.d@swipnet.se>
9977
9978 * term/ns-win.el (global-map): Bind ns-drag-file to
9979 ns-find-file (Bug#5855, Bug#10050).
9980
f008086f
AS
99812012-02-25 Andreas Schwab <schwab@linux-m68k.org>
9982
9983 * calendar/parse-time.el (parse-time-string): Allow extractor to
9984 return nil.
9985
a3fcfa99
MA
99862012-02-25 Michael Albinus <michael.albinus@gmx.de>
9987
91027d08
JB
9988 * net/tramp.el (tramp-file-name-for-operation):
9989 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
9990
9991 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
9992 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9993 Add COPY-CONTENTS argument.
a3fcfa99 9994
67b0de11
CY
99952012-02-25 Chong Yidong <cyd@gnu.org>
9996
9997 Add custom groups for VC backends, for consistency with vc-bzr.
9998
9999 * vc/vc-arch.el (vc-arch):
10000 * vc/vc-cvs.el (vc-cvs):
10001 * vc/vc-git.el (vc-git):
10002 * vc/vc-hg.el (vc-hg):
10003 * vc/vc-mtn.el (vc-mtn):
10004 * vc/vc-rcs.el (vc-rcs):
10005 * vc/vc-sccs.el (vc-sccs):
10006 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
10007 All relevant defcustoms reassigned.
10008
3c9dfce6
CY
100092012-02-25 Chong Yidong <cyd@gnu.org>
10010
1339bf43
CY
10011 * newcomment.el (comment-styles): Add autoload (Bug#10868).
10012
3c9dfce6
CY
10013 * term/x-win.el (x-initialize-window-system): Reduce default for
10014 x-selection-timeout to 5 seconds (Bug#8869).
10015
25b2e303 100162012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10017
ec70a47d
GM
10018 * files.el (files-equal-p, file-subdir-of-p): New functions.
10019 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 10020 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
10021 * dired-aux.el (dired-copy-file-recursive): Same.
10022 (dired-create-files): Modify destination when source is equal to
10023 dest when copying files.
53a46cd0 10024 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 10025
914260cd
MA
100262012-02-24 Michael Albinus <michael.albinus@gmx.de>
10027
10028 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
10029 (Bug#10874)
10030
2cb228f7
AM
100312012-02-23 Alan Mackenzie <acm@muc.de>
10032
10033 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
10034 parameter "after-hook:" to allow the expansion to run code after
10035 the execution of the mode hooks.
10036
10037 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 10038 from font-lock-mode-internal.
2cb228f7 10039
91027d08 10040 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
10041 :after-hook.
10042
8f0fde21
SM
100432012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10044
3e88618b
SM
10045 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
10046 (completion--cache-all-sorted-completions): New function.
10047 (completion-all-sorted-completions): Use it.
10048 (completion--do-completion, minibuffer-force-complete):
10049 Use it to re-instate the flush hook.
10050
8f0fde21
SM
10051 * icomplete.el (icomplete-completions): Replace last fix with a better
10052 one (bug#10850).
10053
8e911f6f
DG
100542012-02-23 Dmitry Gutov <dgutov@yandex.ru>
10055
10056 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
10057 when it might call us back infinitely (bug#10797).
10058
49fe4321
GM
100592012-02-23 Glenn Morris <rgm@gnu.org>
10060
10061 * minibuffer.el (completion-category-overrides): Doc fix.
10062
b291b572
SM
100632012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
10064
10065 * minibuffer.el (completion-table-with-context): Fix inf-loop.
10066 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
10067
31a9ef2e
GM
100682012-02-23 Glenn Morris <rgm@gnu.org>
10069
5e6e6794 10070 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
10071 (authors-obsolete-files-regexps, authors-ignored-files)
10072 (authors-ambiguous-files, authors-renamed-files-alist):
10073 Add more entries.
10074
0bd1e074
JL
100752012-02-23 Juri Linkov <juri@jurta.org>
10076
10077 * isearch.el (isearch-occur): Sync interactive spec with occur's
10078 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
10079
b617673c
JL
10080 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
10081
19e9789e
JL
100822012-02-22 Juri Linkov <juri@jurta.org>
10083
10084 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
10085 (ucs-insert): Doc fix. Check for hex digits in the string.
10086 Don't display `nil' in the error message. (Bug#10857)
10087
f41ce09d
AM
100882012-02-22 Alan Mackenzie <acm@muc.de>
10089
7a71b18d 10090 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 10091
ac2eceee
GM
100922012-02-22 Glenn Morris <rgm@gnu.org>
10093
10094 * ffap.el (ffap-c-path):
10095 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
10096
abd1f678
CY
100972012-02-22 Chong Yidong <cyd@gnu.org>
10098
10099 * custom.el (load-theme): Doc fix.
10100
f25aef2e
GM
101012012-02-22 Glenn Morris <rgm@gnu.org>
10102
10103 * dired-x.el (dired-guess-shell-alist-default):
10104 Remove escape sequences from nroff output. (Bug#172)
10105
5f8dc2ca
GM
101062012-02-21 Glenn Morris <rgm@gnu.org>
10107
6ff86ec4
GM
10108 * vc/emerge.el (emerge-defvar-local):
10109 Set `permanent-local' property rather than unused `preserved'.
10110
be3223a3 10111 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
10112 (picture-mode-map): Use it. (Bug#10860)
10113 (picture-mode): Doc fix.
10114
3fe58f4f
JB
101152012-02-21 Juanma Barranquero <lekktu@gmail.com>
10116
10117 * newcomment.el (uncomment-region-default): Remove unused binding.
10118
f9a998c3
GM
101192012-02-21 Glenn Morris <rgm@gnu.org>
10120
10121 * textmodes/picture.el (picture-motion, picture-motion-reverse)
10122 (picture-self-insert, picture-tab-chars): Doc fix.
10123 (picture-mode-map): Fix C-a, C-e.
10124
c6029348
GM
101252012-02-20 Glenn Morris <rgm@gnu.org>
10126
10127 * emacs-lisp/authors.el (authors-aliases): Add another entry.
10128
ab1ce9d7
LL
101292012-02-20 Leo Liu <sdl.web@gmail.com>
10130
10131 * icomplete.el (icomplete-completions): Check FROM arg before
10132 passing to substring (Bug#10850).
10133
0fd40f89
CY
101342012-02-19 Chong Yidong <cyd@gnu.org>
10135
10136 * comint.el: Require ansi-color.
10137 (comint-output-filter-functions): Add ansi-color-process-output.
10138
10139 * ansi-color.el: Don't set comint-output-filter-functions; it is
10140 now in the initial value defined in comint.el.
10141 (ansi-color-apply-face-function): New variable.
10142 (ansi-color-apply-on-region): Use it.
10143 (ansi-color-apply-overlay-face): New function.
10144
10145 * shell.el (shell): No need to require ansi-color.
10146 (shell-mode): Use ansi-color-apply-face-function to highlight
10147 color escapes using font-lock-face property (Bug#10835).
10148
20af2394
CY
101492012-02-19 Chong Yidong <cyd@gnu.org>
10150
10151 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
10152 mode-line formats (Bug#10839).
10153
e23a3fbe
GM
101542012-02-18 Glenn Morris <rgm@gnu.org>
10155
b474519e
GM
10156 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
10157
10158 * mail/undigest.el (unforward-rmail-message): Doc fix.
10159
e23a3fbe
GM
10160 * saveplace.el (save-place-ignore-files-regexp): Add :version.
10161
57939ff4
EZ
101622012-02-18 Eli Zaretskii <eliz@gnu.org>
10163
10164 * international/characters.el (script-list): Sync with the latest
10165 Unicode Character Database.
10166
0c23686e
AS
101672012-02-18 Andreas Schwab <schwab@linux-m68k.org>
10168
10169 * international/titdic-cnv.el: Remove duplicate coding tag.
10170 * language/cham.el: Likewise.
10171 * language/tai-viet.el: Likewise.
10172
6818b449
GM
101732012-02-18 Glenn Morris <rgm@gnu.org>
10174
10175 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
10176 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
10177 (calendar-bahai-all-holidays-flag, calendar-other-dates):
10178 * calendar/diary-lib.el (diary-abbreviated-year-flag):
10179 * calendar/holidays.el (holiday-bahai-holidays)
10180 (calendar-holidays, list-holidays):
10181 Use utf-8 Bahá'í in doc-strings, menus, etc.
10182
0311a3fc
TH
101832012-02-17 Tassilo Horn <tassilo@member.fsf.org>
10184
10185 * saveplace.el (save-place-ignore-files-regexp): New variable
10186 allowing for excluding files from saving their location of point.
10187 The default value matches the temporary commit message editing
10188 files from Git, SVN, Bazaar, and Mercurial.
10189 (save-place-to-alist): Use it.
10190
d209e2fb 101912012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 10192 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
10193
10194 * newcomment.el (uncomment-region-default): Don't leave extra space
10195 when an arg is provided (bug#8150).
10196
ee0ce425
TZ
101972012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
10198
eb864a71 10199 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 10200
95ddf442
GM
102012012-02-17 Glenn Morris <rgm@gnu.org>
10202
10203 * net/socks.el: Require network-stream. (Bug#10599)
10204
48dd1e39 102052012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
10206
10207 * international/charprop.el:
10208 * international/uni-name.el:
10209 * international/uni-old-name.el:
10210 * international/uni-comment.el: Regenerate.
10211
d68cd087
GM
102122012-02-16 Glenn Morris <rgm@gnu.org>
10213
10214 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
10215 Interactively in calendar buffer, give an error if not on a date.
10216
13932042
GM
102172012-02-15 Glenn Morris <rgm@gnu.org>
10218
10219 * shell.el (shell-delimiter-argument-list):
10220 Revert 2011-02-17 change. (Bug#8027)
10221
c3a70e2b
CY
102222012-02-15 Chong Yidong <cyd@gnu.org>
10223
60236b0d
CY
10224 * minibuffer.el (completion-at-point-functions): Doc fix.
10225
c3a70e2b
CY
10226 * custom.el (defcustom): Doc fix; note use of defvar.
10227
9f26dc24
GM
102282012-02-15 Glenn Morris <rgm@gnu.org>
10229
10230 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
10231 Doc fixes.
10232
6546b134
GM
102332012-02-14 Glenn Morris <rgm@gnu.org>
10234
10235 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
10236
d29b2b4c
LI
102372012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
10238
10239 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
10240 way the ports list is computed.
835bdcba
LI
10241 (smtpmail-query-smtp-server): Prompt the user for a port number if
10242 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 10243
08dcdbc9
TZ
102442012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
10245
10246 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
10247
2605051a
GM
102482012-02-13 Glenn Morris <rgm@gnu.org>
10249
10250 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
10251
7ee99f32
TZ
102522012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
10253
10254 * net/gnutls.el (gnutls-trustfiles): New variable.
10255 (gnutls-negotiate): Use it.
10256
5f0af64f
LI
102572012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
10258
10259 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10260 does its stuff if Gnus is running.
10261
c14fcc95
AM
102622012-02-13 Alan Mackenzie <acm@muc.de>
10263
10264 Fix a loop in c-set-fl-decl-start.
10265
7a71b18d 10266 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
10267 c-backward-syntactic-ws actually moves backwards.
10268
142b4d90
LL
102692012-02-13 Leo Liu <sdl.web@gmail.com>
10270
10271 * net/rcirc.el (rcirc-markup-attributes): Move point to the
10272 beginning so that all \C-o chars are removed.
10273
fa9958a6
TZ
102742012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
10275
dc9924b8 10276 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 10277
0bc5886a
AM
102782012-02-12 Alan Mackenzie <acm@muc.de>
10279
10280 Fix infinite loop with long macros.
4d6769e1 10281 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 10282
d4bd55e7
CY
102832012-02-12 Chong Yidong <cyd@gnu.org>
10284
10285 * window.el (display-buffer): Doc fix (Bug#10785).
10286
66f3fe22
GM
102872012-02-12 Glenn Morris <rgm@gnu.org>
10288
bd7da63e
GM
10289 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10290 (x-disown-selection-internal, x-get-selection-internal):
10291 Sync docs with the xselect.c versions.
10292
66f3fe22
GM
10293 * allout-widgets.el: Add missing license notice.
10294
3e0d2fa7
GM
102952012-02-11 Glenn Morris <rgm@gnu.org>
10296
cfecdf09
GM
10297 * select.el (x-get-selection-internal, x-own-selection-internal)
10298 (x-disown-selection-internal):
10299 * x-dnd.el (x-get-selection-internal): Update declarations.
10300
6d216d7f
GM
10301 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10302
2bed3f04
GM
10303 * window.el (window-sides-slots):
10304 * tool-bar.el (tool-bar-position):
10305 * term/xterm.el (xterm-extra-capabilities):
10306 * ses.el (ses-self-reference-early-detection):
10307 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10308 (verilog-auto-wire-type)
10309 (verilog-auto-delete-trailing-whitespace)
10310 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10311 (verilog-auto-tieoff-declaration):
10312 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10313 (sql-oracle-statement-starters, sql-oracle-scan-on):
10314 * progmodes/prolog.el (prolog-align-comments-flag)
10315 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10316 (prolog-left-indent-regexp, prolog-paren-indent-p)
10317 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10318 (prolog-types, prolog-mode-specificators)
10319 (prolog-determinism-specificators, prolog-directives)
10320 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10321 (prolog-electric-dot-flag)
10322 (prolog-electric-dot-full-predicate-template)
10323 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10324 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10325 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10326 (prolog-program-switches, prolog-prompt-regexp)
10327 (prolog-debug-on-string, prolog-debug-off-string)
10328 (prolog-trace-on-string, prolog-trace-off-string)
10329 (prolog-zip-on-string, prolog-zip-off-string)
10330 (prolog-use-standard-consult-compile-method-flag)
10331 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10332 (prolog-imenu-max-lines, prolog-info-predicate-index)
10333 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10334 (prolog-char-quote-workaround):
10335 * progmodes/cc-vars.el (c-defun-tactic):
10336 * net/tramp.el (tramp-encoding-command-interactive)
10337 (tramp-local-end-of-line):
10338 * net/soap-client.el (soap-client):
10339 * net/netrc.el (netrc-file):
10340 * net/gnutls.el (gnutls):
10341 * minibuffer.el (completion-category-overrides)
10342 (completion-cycle-threshold)
10343 (completion-pcm-complete-word-inserts-delimiters):
10344 * man.el (Man-name-local-regexp):
10345 * mail/feedmail.el (feedmail-display-full-frame):
10346 * international/characters.el (glyphless-char-display-control):
10347 * eshell/em-ls.el (eshell-ls-date-format):
10348 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10349 (lisp-lambda-list-keyword-parameter-indentation)
10350 (lisp-lambda-list-keyword-parameter-alignment):
10351 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10352 * dired-x.el (dired-omit-verbose):
10353 * cus-theme.el (custom-theme-allow-multiple-selections):
10354 * calc/calc.el (calc-highlight-selections-with-faces)
10355 (calc-lu-field-reference, calc-lu-power-reference)
10356 (calc-note-threshold):
10357 * battery.el (battery-mode-line-limit):
10358 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10359 (archive-7z-update):
10360 * allout.el (allout-prefixed-keybindings)
10361 (allout-unprefixed-keybindings)
10362 (allout-inhibit-auto-fill-on-headline)
10363 (allout-flattened-numbering-abbreviation):
10364 * allout-widgets.el (allout-widgets-auto-activation)
10365 (allout-widgets-icons-dark-subdir)
10366 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10367 (allout-widgets-theme-dark-background)
10368 (allout-widgets-theme-light-background)
10369 (allout-widgets-item-image-properties-emacs)
10370 (allout-widgets-item-image-properties-xemacs)
10371 (allout-widgets-run-unit-tests-on-load)
10372 (allout-widgets-time-decoration-activity)
10373 (allout-widgets-hook-error-post-time)
10374 (allout-widgets-track-decoration):
10375 Add missing :version tags to new defcustoms and defgroups.
10376
5fec1b8e
GM
10377 * progmodes/sql.el (sql-ansi-statement-starters)
10378 (sql-oracle-statement-starters): Add custom type.
10379
3e0d2fa7
GM
10380 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10381 (prolog-system-version): Give it a type.
10382
90b671e2
EZ
103832012-02-11 Eli Zaretskii <eliz@gnu.org>
10384
10385 * term/pc-win.el (x-select-text, x-selection-owner-p)
10386 (x-own-selection-internal, x-disown-selection-internal)
10387 (x-get-selection-internal): Sync doc strings and argument lists
10388 with xselect.c, common-win.el and x-win.el. (Bug#10783)
10389
5eac0c02
LL
103902012-02-11 Leo Liu <sdl.web@gmail.com>
10391
10392 * progmodes/python.el (python-end-of-statement): Fix infinite
10393 loop. (Bug#10788)
10394
f82cb659
GM
103952012-02-10 Glenn Morris <rgm@gnu.org>
10396
10397 * international/mule-cmds.el (unify-8859-on-encoding-mode)
10398 (unify-8859-on-decoding-mode): Properly mark as obsolete.
10399
cc26d239
LI
104002012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
10401
10402 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10403 about SMTP before checking the From header.
10404
91027d08 10405 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
10406 into own function for reuse by emacsbug.el.
10407
1be3ca5a
LL
104082012-02-10 Leo Liu <sdl.web@gmail.com>
10409
10410 * subr.el (condition-case-unless-debug): Rename from
10411 condition-case-no-debug. All callers changed.
10412 (with-demoted-errors): Fix caller.
10413
10414 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10415 * nxml/rng-valid.el (rng-do-some-validation):
10416 * emacs-lisp/package.el (package-refresh-contents)
10417 (package-menu-execute):
10418 * desktop.el (desktop-create-buffer):
91027d08 10419 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 10420
b011fbfe
GM
104212012-02-10 Glenn Morris <rgm@gnu.org>
10422
b2096d72
GM
10423 * textmodes/bibtex.el:
10424 Add missing :version tags for new/changed defcustoms.
10425
b011fbfe
GM
10426 * files.el (remote-file-name-inhibit-cache): Doc fixes.
10427
4c7e65bf
LI
104282012-02-09 Lars Ingebrigtsen <larsi@rusty>
10429
10430 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10431 (smtpmail-via-smtp): Use it, or fall back on the From address.
10432 (smtpmail-send-it): Ditto.
10433
f3934f6f
SM
104342012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
10435
10436 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10437 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
10438 (byte-compile-tmp-var): New const.
10439 (byte-compile-defvar): Use it to minimize .elc size.
10440 Just use `defvar' rather than simulate it (bug#10761).
10441
a075a2c5
GM
104422012-02-09 Glenn Morris <rgm@gnu.org>
10443
cf3aa21b
GM
10444 * files.el (rename-uniquely): Doc fix. (Bug#3806)
10445
354998cd
GM
10446 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10447 Add :version tags.
10448
dc9924b8
SM
10449 * progmodes/compile.el (compilation-error-screen-columns)
10450 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 10451
dab3703d
GM
10452 * vc/log-view.el (log-view-toggle-entry-display):
10453 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10454
3f88cd72
GM
10455 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10456 (report-emacs-bug-can-use-xdg-email):
10457 (report-emacs-bug-insert-to-mailer): Doc fixes.
10458 (report-emacs-bug): Message fix.
10459
d95b247d
GM
10460 * net/browse-url.el (browse-url-can-use-xdg-open)
10461 (browse-url-xdg-open): Doc fixes.
10462
a075a2c5
GM
10463 * electric.el (electric-indent-mode, electric-pair-mode)
10464 (electric-layout-rules, electric-layout-mode): Doc fixes.
10465 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10466
ffb6157e
MR
104672012-02-08 Martin Rudalics <rudalics@gmx.at>
10468
10469 * server.el (server-unselect-display): Don't inadvertently kill
10470 the current buffer. (Bug#10729)
10471
e1ac4066
GM
104722012-02-08 Glenn Morris <rgm@gnu.org>
10473
34e8a2da
GM
10474 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10475 (sql-list-table): Doc fixes.
10476
b4ac6e8c
GM
10477 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10478 Comment out (does nothing).
10479
e1ac4066
GM
10480 * completion.el (dynamic-completion-mode):
10481 * dirtrack.el (dirtrack-debug-mode):
10482 * electric.el (electric-layout-mode):
10483 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10484 * face-remap.el (text-scale-mode, buffer-face-mode):
10485 * iimage.el (iimage-mode):
10486 * image-mode.el (image-transform-mode):
10487 * minibuffer.el (completion-in-region-mode):
10488 * scroll-lock.el (scroll-lock-mode):
10489 * simple.el (next-error-follow-minor-mode):
10490 * tar-mode.el (tar-subfile-mode):
10491 * tooltip.el (tooltip-mode):
10492 * vcursor.el (vcursor-use-vcursor-map):
10493 * wid-browse.el (widget-minor-mode):
10494 * emulation/tpu-edt.el (tpu-edt-mode):
10495 * emulation/tpu-extras.el (tpu-cursor-free-mode):
10496 * international/iso-ascii.el (iso-ascii-mode):
10497 * language/thai-util.el (thai-word-mode):
10498 * mail/supercite.el (sc-minor-mode):
10499 * net/goto-addr.el (goto-address-mode):
10500 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10501 * progmodes/cwarn.el (cwarn-mode):
10502 * progmodes/flymake.el (flymake-mode):
10503 * progmodes/glasses.el (glasses-mode):
10504 * progmodes/hideshow.el (hs-minor-mode):
10505 * progmodes/pascal.el (pascal-outline-mode):
10506 * textmodes/enriched.el (enriched-mode):
10507 * vc/smerge-mode.el (smerge-mode):
10508 Doc fixes (minor mode argument).
10509
5e0d957f
EZ
105102012-02-07 Eli Zaretskii <eliz@gnu.org>
10511
10512 * ls-lisp.el (ls-lisp-sanitize): New function.
10513 (ls-lisp-insert-directory): Use it to fix or remove any elements
10514 in file-alist with missing attributes. (Bug#4673)
10515
98d7371e
AM
105162012-02-07 Alan Mackenzie <acm@muc.de>
10517
10518 Fix spurious recognition of c-in-knr-argdecl.
10519
10520 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10521 putative K&R region.
10522
667ced3a
AM
105232012-02-07 Alan Mackenzie <acm@muc.de>
10524
eb864a71
LM
10525 * progmodes/cc-engine.el (c-forward-objc-directive):
10526 Prevent looping in "#pragma mark @implementation".
667ced3a 10527
5b77774d
MA
105282012-02-07 Michael Albinus <michael.albinus@gmx.de>
10529
10530 * notifications.el (notifications-on-closed-signal): Make `reason'
10531 optional. (Bug#10744)
10532
af008560
GM
105332012-02-07 Glenn Morris <rgm@gnu.org>
10534
60d47423
GM
10535 * emacs-lisp/easy-mmode.el (define-minor-mode):
10536 Doc fixes for the macro and the mode it defines.
10537
dd605cc4
GM
10538 * image.el (imagemagick-types-inhibit): Doc fix.
10539
af008560
GM
10540 * cus-start.el (imagemagick-render-type): Add it.
10541
5cc59a37
LI
105422012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
10543
4d6769e1
JB
10544 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10545 Set the default at load time, too, so that `font-lock-fontify-buffer'
10546 can be called without setting up the entire mode first. This fixes
10547 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 10548
9a6dd747
CY
105492012-02-06 Chong Yidong <cyd@gnu.org>
10550
2d16b285
CY
10551 * simple.el (list-processes--refresh): Delete exited processes
10552 (Bug#8094).
10553
171e9b6e
CY
10554 * comint.el (comint-next-prompt): next-single-char-property-change
10555 and prev-single-char-property-change never return nil (Bug#8657).
10556
9a6dd747
CY
10557 * custom.el (defcustom): Doc fix (Bug#9711).
10558
aa4589a7
CY
105592012-02-05 Chong Yidong <cyd@gnu.org>
10560
5c2a252f
CY
10561 * cus-edit.el (custom-variable-reset-backup): Quote the value
10562 before storing it in the customized-value property (Bug#6712).
4aab9006 10563 (custom-display): Add a customization type tag.
983b9602 10564 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 10565
aa4589a7
CY
10566 * wid-edit.el (widget-field-value-get): New optional arg to
10567 suppress trailing whitespace truncation.
10568 (character): Use it (Bug#2689).
10569
1ff980ae
AS
105702012-02-05 Andreas Schwab <schwab@linux-m68k.org>
10571
10572 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10573 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10574
03988c98
CY
105752012-02-05 Chong Yidong <cyd@gnu.org>
10576
eeb6cc88
CY
10577 * cus-edit.el (custom-variable-value-create): For mismatched
10578 types, show the current value (Bug#7600).
10579
03988c98
CY
10580 * custom.el (defcustom): Doc fix.
10581
f8cdeef0
GM
105822012-02-05 Glenn Morris <rgm@gnu.org>
10583
10584 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10585
0696d255
JB
105862012-02-05 Juanma Barranquero <lekktu@gmail.com>
10587
10588 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10589 (pp-buffer): Use `ignore-errors', `looking-at-p'.
10590 (pp-last-sexp): Use `looking-at-p'.
10591
34c99998
GM
105922012-02-04 Glenn Morris <rgm@gnu.org>
10593
8f05da42
GM
10594 * files.el (revert-buffer):
10595 Doc fix (mention revert-buffer-in-progress-p).
10596
f160676e
GM
10597 * emacs-lisp/ert-x.el (ert-simulate-command):
10598 Check deferred-action-list (which is obsolete) is bound.
10599
c7291ad9
GM
10600 * subr.el (with-wrapper-hook): Doc fixes.
10601
34c99998
GM
10602 * simple.el (filter-buffer-substring-functions)
10603 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10604
6283a7d3
LL
106052012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
10606
10607 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10608 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
10609
e96e3013
LL
106102012-02-04 Leo Liu <sdl.web@gmail.com>
10611
10612 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10613
8ded50f2
GM
106142012-02-04 Glenn Morris <rgm@gnu.org>
10615
82ff1d13
GM
10616 * image.el (image-extension-data): Add obsolete alias.
10617
987a0a16
GM
10618 * isearch.el (isearch-update): Doc fix.
10619
ea32ef46
GM
10620 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10621
8ded50f2
GM
10622 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10623
eea14f31
GM
106242012-02-03 Glenn Morris <rgm@gnu.org>
10625
10626 * image.el (image-animated-p): Doc fix. Use image-animated-types.
10627 (image-animate-timeout): Doc fix.
10628
10629 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10630
12f381b7
GM
106312012-02-02 Glenn Morris <rgm@gnu.org>
10632
953cebf5
GM
10633 * server.el (server-auth-dir): Doc fix.
10634 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
10635
12f381b7
GM
10636 * subr.el (run-mode-hooks): Doc fix.
10637
953a8c3b
JL
106382012-02-02 Juri Linkov <juri@jurta.org>
10639
10640 * image-mode.el (image-toggle-display-image): Remove tautological
10641 `major-mode' from the `derived-mode-p' test.
10642
c5d3843c
KH
106432012-02-02 Kenichi Handa <handa@m17n.org>
10644
9f6e692e 10645 * composite.el (compose-region): Cancel previous change.
c5d3843c 10646
159462d4 106472012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
10648
10649 * composite.el (compose-region, compose-string): Signal error for
10650 a null string component (Bug#6988).
10651
9f562668
CY
106522012-02-01 Chong Yidong <cyd@gnu.org>
10653
e2cef717
CY
10654 * view.el (view-buffer-other-window, view-buffer-other-frame):
10655 Handle special modes like view-buffer (Bug#10650).
10656 (view-buffer): Simplify.
10657
9f562668
CY
10658 * frame.el (set-frame-font): Tweak meaning of third argument.
10659
9f6e692e
JB
10660 * dynamic-setting.el (font-setting-change-default-font):
10661 Use set-frame-font (Bug#9982).
9f562668 10662
781acb9f
GM
106632012-02-01 Glenn Morris <rgm@gnu.org>
10664
6035be52
GM
10665 * progmodes/compile.el (compilation-internal-error-properties):
10666 Respect compilation-first-column in the "*compilation*" buffer.
10667
781acb9f
GM
10668 * emacs-lisp/easy-mmode.el (define-minor-mode):
10669 Relax :variable's test for a named function.
10670
abbceb00
AM
106712012-01-31 Alan Mackenzie <acm@muc.de>
10672
10673 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10674 off by one error.
10675
fce3fdeb
CY
106762012-01-31 Chong Yidong <cyd@gnu.org>
10677
10678 * frame.el (set-frame-font): New arg ALL-FRAMES.
10679
10680 * menu-bar.el (menu-set-font): Use set-frame-font.
10681
10682 * faces.el (face-spec-reset-face): Don't apply unspecified
10683 attribute values to the default face.
10684
47893581
JB
106852012-01-31 Juanma Barranquero <lekktu@gmail.com>
10686
10687 * progmodes/cwarn.el (cwarn): Remove dead link.
10688 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10689 Remove * from defcustom docstrings.
10690 (turn-on-cwarn-mode): Make obsolete.
10691 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10692 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10693
e58e988a
GM
106942012-01-31 Glenn Morris <rgm@gnu.org>
10695
60dc2671 10696 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 10697 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 10698 Allow named functions to be used as the cdr of :variable.
e58e988a 10699
7a3f511d
GM
107002012-01-30 Glenn Morris <rgm@gnu.org>
10701
10702 * emacs-lisp/authors.el (authors-fixed-entries):
10703 Remove reference to deleted file rnewspost.el.
10704
cb882333
JB
107052012-01-29 Juanma Barranquero <lekktu@gmail.com>
10706
10707 * window.el (window-with-parameter): Remove unused variable `windows'.
10708 (window--side-check): Remove unused variable `code'.
10709 (window--resize-siblings): Remove unused variable `first'.
10710 (adjust-window-trailing-edge): Remove unused variable `failed'.
10711 (window-deletable-p, window--delete): Remove unused variable `buffer'.
10712 Use `let', not `let*'.
10713 (balance-windows-2): Remove unused variable `found'.
10714 (window--state-put-2): Remove unused variable `splits'.
10715 (window-state-put): Remove unused variable `selected'.
10716 (same-window-p): Use `string-match-p'.
10717 (display-buffer-assq-regexp): Remove unused variable `value'.
10718 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10719 Mark argument ALIST as ignored.
10720 (pop-to-buffer): Remove unused variable `old-window'.
10721
907201af
EZ
107222012-01-29 Eli Zaretskii <eliz@gnu.org>
10723
10724 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10725 and .lzma compressed files.
10726
ea162670
CY
107272012-01-29 Chong Yidong <cyd@gnu.org>
10728
5b95ee8a
CY
10729 * frame.el (window-system-default-frame-alist): Doc fix.
10730
ea162670
CY
10731 * dynamic-setting.el (font-setting-change-default-font): Don't
10732 change the default face if SET-FONT argument is non-nil (Bug#9982).
10733
d6e6f4b1
SB
107342012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
10735
10736 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10737
0f29fa41 107382012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
10739
10740 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10741 breakpoints in files outside current directory (Bug#6098).
10742
db174434
CY
107432012-01-29 Chong Yidong <cyd@gnu.org>
10744
6b25e4e2
SE
10745 * progmodes/python.el: Require ansi-color at top-level.
10746
6df6ae42
JB
10747 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10748 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
10749 (lisp-mode-abbrev-table): Add doc.
10750 (lisp-mode-variables): Don't set local-abbrev-table.
10751 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10752
e70ee681
RW
107532012-01-28 Roland Winkler <winkler@gnu.org>
10754
10755 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10756
ace88aa2
RW
107572012-01-28 Roland Winkler <winkler@gnu.org>
10758
10759 * textmodes/bibtex.el (bibtex-entry-alist): New function.
10760 (bibtex-set-dialect): Use it. Either set global values of
10761 dialect-dependent variables or bind these variables buffer-locally
10762 (Bug#10254).
10763 (bibtex-mode): Call bibtex-set-dialect via
10764 hack-local-variables-hook.
eb864a71
LM
10765 (bibtex-dialect): Update docstring.
10766 Add safe-local-variable predicate.
ace88aa2
RW
10767 (bibtex-entry-alist, bibtex-field-alist): Initialize via
10768 bibtex-set-dialect.
10769 (bibtex-mode-map): Define menu for each dialect.
10770 (bibtex-entry): Fix docstring.
10771
93376c5b
CY
107722012-01-28 Chong Yidong <cyd@gnu.org>
10773
10774 * eshell/esh-arg.el (eshell-quote-argument): New function.
10775
10776 * eshell/esh-ext.el (eshell-invoke-batch-file):
10777 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10778 first arg to eshell-parse-command (Bug#10523).
10779
4372494f
DA
107802012-01-28 Drew Adams <drew.adams@oracle.com>
10781
10782 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10783 `default-directory' is non-nil.
10784
4d4ec1f8
EZ
107852012-01-28 Eli Zaretskii <eliz@gnu.org>
10786
10787 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10788 line that displays system-configuration-options. (Bug#9924)
10789
7c188927
DA
107902012-01-28 Drew Adams <drew.adams@oracle.com>
10791
10792 * descr-text.el (describe-char): Show information about POS, in
10793 addition to information about the character at POS. Improve and
10794 update the doc string. Change "code point" to "code point in
10795 charset", to avoid confusion with the character's Unicode code
10796 point shown above that. (Bug#10129)
10797
e0da685a
EZ
107982012-01-28 Eli Zaretskii <eliz@gnu.org>
10799
10800 * descr-text.el (describe-char): Show the raw character, not only
10801 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
10802 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10803 for the reasons.
10804
70550acf
PH
108052012-01-28 Phil Hagelberg <phil@hagelb.org>
10806
eb864a71
LM
10807 * emacs-lisp/package.el (package-install):
10808 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 10809
0ce8e868
CY
108102012-01-28 Chong Yidong <cyd@gnu.org>
10811
cb882333
JB
10812 * emacs-lisp/package.el (package-maybe-load-descriptor):
10813 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
10814 (package-maybe-load-descriptor): Use it.
10815 (package-download-transaction): Fully load required packages
10816 inside the loop, so that `require' calls work (Bug#10593).
10817 (package-install): No need to call package-initialize now.
10818
2e7f3bea
CY
108192012-01-28 Chong Yidong <cyd@gnu.org>
10820
6e9bad14
CY
10821 * simple.el (deactivate-mark): Doc fix (Bug#8614).
10822
f823b8ca
CY
10823 * tooltip.el (tooltip-mode): Doc fix.
10824 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10825
2680c309
CY
10826 * frame.el (set-cursor-color): Doc fix (Bug#352).
10827
d7a9e63b
CY
10828 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10829 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10830
2e7f3bea
CY
10831 * cus-edit.el (custom-buffer-create-internal): Fix search button
10832 action (Bug#10542).
2ae01800 10833 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 10834
fc4f7a23
EW
108352012-01-27 Eduard Wiebe <usenet@pusto.de>
10836
10837 * dired.el (dired-mark-files-regexp):
10838 Include any subdirectory components. (Bug#10445)
10839
7dd37071
ML
108402012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
10841
10842 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10843 Handle [host]:port syntax. (Bug#10533)
10844
a268160b
AH
108452012-01-27 Alex Harsanyi <harsanyi@mac.com>
10846
10847 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10848
e43273ef
GM
108492012-01-26 Glenn Morris <rgm@gnu.org>
10850
10851 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10852 * term.el (term-raw-escape-map): Use Control-X-prefix.
10853 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
10854
1edf595d
MR
108552012-01-25 Martin Rudalics <rudalics@gmx.at>
10856
10857 * window.el (window-state-get, window--state-get-1): Don't deal
10858 with fixed-sizeness of windows. Simplify code.
10859
fa8eafef
JC
108602012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
10861
6df6ae42
JB
10862 * window.el (window--state-get-1, window--state-put-2):
10863 Don't save and restore the mark.
fa8eafef 10864
0b21c100
CY
108652012-01-25 Chong Yidong <cyd@gnu.org>
10866
10867 * custom.el (custom-variable-p): Doc fix.
10868
5ae1a6c8
GM
108692012-01-25 Glenn Morris <rgm@gnu.org>
10870
40047858
GM
10871 * dired.el (dired-goto-file): Handle some of the more common
10872 characters that `ls -b' escapes. (Bug#10596)
10873
5ddce96c
GM
10874 * progmodes/compile.el (compilation-next-error-function):
10875 Respect compilation-first-column in the "*compilation*" buffer.
10876 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
10877
5ae1a6c8
GM
10878 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
10879
b559f1a9
GM
108802012-01-24 Glenn Morris <rgm@gnu.org>
10881
10882 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
10883
6725d21a
JD
108842012-01-24 Julien Danjou <julien@danjou.info>
10885
10886 * color.el (color-rgb-to-hsl): Fix value computing.
10887 (color-hue-to-rgb): New function.
10888 (color-hsl-to-rgb): New function.
10889 (color-clamp, color-saturate-hsl, color-saturate-name)
10890 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10891 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10892
70df4bbe
GM
108932012-01-24 Glenn Morris <rgm@gnu.org>
10894
10895 * vc/vc-rcs.el (vc-rcs-create-tag):
10896 * vc/vc-sccs.el (vc-sccs-create-tag):
10897 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
10898
802a2ae2
ML
108992012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
10900
10901 * eshell/esh-util.el (eshell-read-hosts-file):
10902 Skip comment lines. (Bug#10549)
10903
d7128bb1
ML
10904 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
10905
d1a5c3b4
JB
109062012-01-23 Juanma Barranquero <lekktu@gmail.com>
10907
2724d9c7
JB
10908 * subr.el (display-delayed-warnings): Doc fix.
10909 (collapse-delayed-warnings): New function to collapse identical
10910 adjacent warnings.
10911 (delayed-warnings-hook): Add it.
d1a5c3b4 10912
a5509865
MA
109132012-01-22 Michael Albinus <michael.albinus@gmx.de>
10914
10915 * net/tramp.el (tramp-action-login): Set connection property "login-as".
10916
a5509865
MA
10917 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10918 (tramp-default-user-alist): Don't add "pscp".
10919 (tramp-do-copy-or-rename-file-out-of-band): Use connection
10920 property "login-as", if set. (Bug#10530)
10921
cc6d5805
MA
109222012-01-21 Michael Albinus <michael.albinus@gmx.de>
10923
10924 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10925 "plink1" and "psftp". (Bug#10530)
10926
109272012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
10928
10929 * international/mule-cmds.el (prefer-coding-system): Show a
10930 warning message if the default value of file-name-coding-system
10931 was not changed.
10932
f0960428
JC
109332012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
10934
cb882333
JB
10935 * windmove.el (windmove-reference-loc):
10936 Fix windmove-reference-loc miscalculation.
f0960428 10937
dd6f2a63
JB
109382012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
10939
10940 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10941 default unit.
10942
7b447e9b
GM
109432012-01-21 Glenn Morris <rgm@gnu.org>
10944
117a9ea1
GM
10945 * international/mule.el (auto-coding-alist): Add .tbz.
10946
7b447e9b
GM
10947 * files.el (local-enable-local-variables): Doc fix.
10948 (inhibit-local-variables-regexps): Rename from
10949 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
10950 Doc fix. Add some extensions from auto-coding-alist.
10951 (inhibit-local-variables-suffixes):
10952 Rename from inhibit-first-line-modes-suffixes. Doc fix.
10953 (inhibit-local-variables-p):
10954 New function, extracted from set-auto-mode-1.
10955 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
10956 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
10957 (hack-local-variables): Doc fix. Make the mode-only case
10958 respect enable-local-variables and friends.
10959 Respect inhibit-local-variables-regexps for file-locals, but
10960 not for directory-locals.
10961 (set-visited-file-name):
10962 Take account of inhibit-local-variables-regexps.
10963 Whether it applies may change as the file name is changed.
10964 * jka-cmpr-hook.el (jka-compr-install):
10965 * jka-compr.el (jka-compr-uninstall):
10966 Update for inhibit-first-line-modes-suffixes name change.
10967
dd6e3cdd
MR
109682012-01-20 Martin Rudalics <rudalics@gmx.at>
10969
10970 * help-macro.el (make-help-screen): Temporarily restore original
10971 binding for minor-mode-map-alist (Bug#10454).
10972
0d0deb38
JD
109732012-01-19 Julien Danjou <julien@danjou.info>
10974
10975 * color.el (color-name-to-rgb): Use the white color to find the max
10976 color component value and return correctly computed values.
10977 (color-name-to-rgb): Add missing float conversion for max value.
10978
34a02f46
MR
109792012-01-19 Martin Rudalics <rudalics@gmx.at>
10980
10981 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
10982 special state value for window-persistent-parameters.
10983 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
10984 (window--state-put-2): Reset all window parameters to nil before
10985 assigning values of persistent parameters.
10986
606c44c4
AM
109872012-01-18 Alan Mackenzie <acm@muc.de>
10988
10989 Eliminate sluggishness and hangs in fontification of "semicolon
10990 deserts".
10991
cb882333
JB
10992 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10993 Change value 10000 -> 3000.
606c44c4
AM
10994 (c-state-safe-place): Reformulate so it doesn't stack up an
10995 infinite number of wrong entries in c-state-nonlit-pos-cache.
10996 (c-determine-limit-get-base, c-determine-limit): New functions to
10997 determine backward search limits disregarding literals.
10998 (c-find-decl-spots): Amend commenting.
10999 (c-cheap-inside-bracelist-p): New function which detects "={".
11000
11001 * progmodes/cc-fonts.el
11002 (c-make-font-lock-BO-decl-search-function): Give a limit to a
11003 backward search.
11004 (c-font-lock-declarations): Fix an occurrence of point being
11005 undefined. Check additionally for point being in a bracelist or
11006 near a macro invocation without a semicolon so as to avoid a
11007 fruitless time consuming search for a declarator. Give a more
11008 precise search limit for declarators using the new
11009 c-determine-limit.
11010
f3860cea
GM
110112012-01-18 Glenn Morris <rgm@gnu.org>
11012
11013 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
11014 (set-auto-mode): Doc fixes.
11015
1db03b16
GM
110162012-01-17 Glenn Morris <rgm@gnu.org>
11017
0e6038be
GM
11018 * isearch.el (search-nonincremental-instead): Fix doc typo.
11019
1db03b16
GM
11020 * dired.el (dired-insert-directory): Handle newlines in directory name.
11021 (dired-build-subdir-alist): Unescape newlines in directory name.
11022
4cb0aa75
MA
110232012-01-17 Michael Albinus <michael.albinus@gmx.de>
11024
11025 * net/tramp.el (tramp-local-end-of-line): New defcustom.
11026 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
11027 (tramp-action-terminal): Use it. (Bug#10530)
11028
1d00653d
SM
110292012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * minibuffer.el (completion--replace): Strip properties (bug#10062).
11032
6a6ee00d
MR
110332012-01-16 Martin Rudalics <rudalics@gmx.at>
11034
11035 * window.el (window-state-ignored-parameters): Remove variable.
11036 (window--state-get-1): Rename argument MARKERS to IGNORE.
11037 Handle persistent window parameters. Make copy of clone-of
11038 parameter only if requested. (Bug#10348)
11039 (window--state-put-2): Install a window parameter only if it has
11040 a non-nil value or an existing parameter shall be overwritten.
11041
97912def
MA
110422012-01-15 Michael Albinus <michael.albinus@gmx.de>
11043
11044 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
11045
688070a5
EZ
110462012-01-14 Eli Zaretskii <eliz@gnu.org>
11047
11048 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
11049 don't pass the (nil) value of `upnode' to string-match.
11050
301afadc
CY
110512012-01-14 Chong Yidong <cyd@gnu.org>
11052
11053 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 11054 Fix values recognized by the cursorBlink resource.
301afadc 11055
9e5788aa
PE
110562012-01-14 Paul Eggert <eggert@cs.ucla.edu>
11057
11058 * epg.el (epg--make-temp-file): Avoid permission race condition
11059 when running on old Emacs versions (bug#10403).
11060
3cdb7f5a
GM
110612012-01-14 Glenn Morris <rgm@gnu.org>
11062
11063 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
11064
8c82b1b4
AM
110652012-01-13 Alan Mackenzie <acm@muc.de>
11066
11067 Fix filling for when filladapt mode is enabled.
11068
11069 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
11070 c-mask-paragraph, pass in `fill-paragraph' rather than
11071 `fill-region-as-paragraph'. (This is a reversion of a previous
11072 change.)
eb864a71
LM
11073 * progmodes/cc-mode.el (c-basic-common-init):
11074 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 11075
e517eda4
GM
110762012-01-13 Glenn Morris <rgm@gnu.org>
11077
1498536e
GM
11078 * dired.el (dired-switches-escape-p): New function.
11079 (dired-insert-directory): Use dired-switches-escape-p.
11080 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
11081
e517eda4
GM
11082 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
11083
328f984d
GM
110842012-01-12 Glenn Morris <rgm@gnu.org>
11085
11086 * mail/sendmail.el (mail-mode): Update paragraph-separate for
11087 changes in adaptive-fill-regexp. (Bug#10276)
11088
2cc769a8
AM
110892012-01-11 Alan Mackenzie <acm@muc.de>
11090
11091 Fix Emacs bug #10463 - put `widen's around the critical spots.
11092
1d00653d 11093 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
11094 widen around each invocation of c-state-pp-to-literal. Remove an
11095 unused let variable.
11096
e52c37fa
GM
110972012-01-11 Glenn Morris <rgm@gnu.org>
11098
11099 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 11100 Doc fix.
e52c37fa 11101
96f8741e
CY
111022012-01-10 Chong Yidong <cyd@gnu.org>
11103
1d00653d
SM
11104 * net/network-stream.el (network-stream-open-starttls):
11105 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
11106 response to the capability command.
11107
b09a806e
GM
111082012-01-10 Glenn Morris <rgm@gnu.org>
11109
11110 * mail/unrmail.el (unrmail): Tweak previous change.
11111
7655cb66
CY
111122012-01-09 Chong Yidong <cyd@gnu.org>
11113
11114 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
11115
9d5a8f0b
AM
111162012-01-08 Alan Mackenzie <acm@muc.de>
11117
11118 Optimise font locking in long enum definitions.
11119
11120 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
11121 arm to a cond form to handle enums.
11122 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
11123 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
11124
9a0115ab 111252012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
11126
11127 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 11128 (Bug#10401)
6bb72cbd 11129
f186bb95
LMI
111302012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
11131
29232a68
LMI
11132 * faces.el (set-face-attribute): Clarify the meaning of the nil
11133 frame (bug#10294).
11134
4e5d086d
LMI
11135 * subr.el (with-selected-frame): Mention that the selected frame
11136 is restored (bug#9980).
11137
8e66aebe
LMI
11138 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
11139 (bug#9759).
11140
cd394be1 11141 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
11142 (password-read): Don't autoload unused function.
11143
adf4e762
JB
111442012-01-07 Juanma Barranquero <lekktu@gmail.com>
11145
11146 * progmodes/which-func.el (which-func-mode): Turn into a
11147 non-interactive function and mark as obsolete (bug#10428).
11148
89bd9ccd
CY
111492012-01-06 Chong Yidong <cyd@gnu.org>
11150
11151 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
11152 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
11153 functions, along with 1 and -1.
11154
4afee9d5
EZ
111552012-01-06 Eli Zaretskii <eliz@gnu.org>
11156
11157 * time.el (display-time-load-average)
11158 (display-time-default-load-average): Doc fixes. See the thread
11159 starting at
11160 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
11161 for the details.
11162
536aea70
GM
111632012-01-06 Glenn Morris <rgm@gnu.org>
11164
665ae865
GM
11165 * mail/unrmail.el (unrmail): Give an explicit error if the input file
11166 has no messages. (Bug#10377)
11167
c869783d
GM
11168 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
11169 than Info-edit. (Bug#10385)
11170
2bb4227e
GM
11171 * time.el (display-time-load-average, display-time-next-load-average):
11172 Doc fixes.
11173
7d5944b9
GM
11174 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
11175 local setting of buffer-read-only to the input buffer. (Bug#10419)
11176
536aea70
GM
11177 * calendar/calendar.el (calendar-mode):
11178 Locally set scroll-margin to 0. (Bug#10379)
11179
7dccca16
UM
111802012-01-06 Ulrich Mueller <ulm@gentoo.org>
11181
11182 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
11183
afbb7930
GM
111842012-01-05 Glenn Morris <rgm@gnu.org>
11185
11186 * eshell/em-unix.el (diff-no-select): Autoload it.
11187 (eshell/diff): Use diff-no-select. (Bug#10420)
11188
04482335
CY
111892012-01-05 Chong Yidong <cyd@gnu.org>
11190
7baca3bc
CY
11191 * shell.el (shell-dynamic-complete-functions): Revert last change.
11192 (shell-command-completion-function): New function.
11193 (shell-completion-vars): Use it to implement
11194 shell-completion-execonly (Bug#10417).
11195
04482335
CY
11196 * custom.el (enable-theme): Don't set custom-safe-themes.
11197
1d00653d
SM
11198 * cus-theme.el (custom-theme-merge-theme):
11199 Ignore custom-enabled-themes and custom-safe-themes.
04482335 11200
bb5aa5d6
MM
112012012-01-05 Michael R. Mauger <mmaug@yahoo.com>
11202
11203 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
11204 first prompt in `sql-interacive-mode'.
11205 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 11206 keywords.
6df6ae42 11207 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
11208 (sql-product-interactive): Bug fix: Set `sql-buffer' in
11209 context of original buffer. Invoke `sql-login-hook'.
11210
a7183d7c
EZ
112112012-01-04 Eli Zaretskii <eliz@gnu.org>
11212
11213 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
11214 letters in cite-prefix.
11215
a1eacd1e
LMI
112162012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11217
11218 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
11219
787cdb34
CY
112202012-01-03 Chong Yidong <cyd@gnu.org>
11221
1d00653d
SM
11222 * shell.el (shell-dynamic-complete-functions):
11223 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
11224 comint-filename-completion first (Bug#10417).
11225
30710442
RS
112262012-01-02 Richard Stallman <rms@gnu.org>
11227
11228 * battery.el (battery-status-function):
11229 Detect when to use battery-yeeloong-sysfs.
11230 (battery-echo-area-format): Add string for Yeeloong.
11231 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
11232 (battery-yeeloong-sysfs): New function.
11233
f75bfc33
CY
112342012-01-02 Chong Yidong <cyd@gnu.org>
11235
11236 * dirtrack.el (dirtrack-list): Eliminate unused third element.
11237 (dirtrack): Merge code for handling relative filenames in prompt
11238 from shell-dir-cookie-watcher.
11239 (dirtrack-debug-message): New arg to avoid excess format calls.
11240
11241 * shell.el (shell-dir-cookie-re): Variable deleted.
11242 (shell-dir-cookie-watcher): Function deleted.
11243 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
11244 with dirtrack-mode.
11245
651e947e
EZ
112462012-01-01 Eli Zaretskii <eliz@gnu.org>
11247
1d00653d
SM
11248 * term/w32-win.el (dynamic-library-alist) <gnutls>:
11249 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
11250 libgnutls-26.dll.
11251
94d4c7dc
AS
112522011-12-31 Andreas Schwab <schwab@linux-m68k.org>
11253
11254 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11255
8d43f3cd
EZ
112562011-12-31 Eli Zaretskii <eliz@gnu.org>
11257
11258 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11259 headers of non-MIME messages, when rmail-enable-mime is non-nil.
11260
98c8795a
MA
112612011-12-29 Michael Albinus <michael.albinus@gmx.de>
11262
11263 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11264 also for alternative shells.
11265 (tramp-open-connection-setup-interactive-shell): Check, whether
11266 the shell is a busybox.
11267 (tramp-send-command): Don't suppress multiple prompts for
11268 busyboxes, it hurts.
11269
51281b32
CY
112702011-12-28 Chong Yidong <cyd@gnu.org>
11271
11272 * progmodes/gdb-mi.el (gdb-get-source-file-list)
11273 (gdb-get-source-file): Move mode line update to
11274 gdb-get-source-file (Bug#10087).
11275
2170cb53
CY
112762011-12-25 Chong Yidong <cyd@gnu.org>
11277
11278 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11279 gud-gdb-marker-filter without taking it as an argument.
11280 (gud-gdb-run-command-fetch-lines): Caller changed.
11281 (gud-gdb-completion-function): New variable.
11282 (gud-gdb-completion-at-point): Use it.
11283 (gud-gdb-completions-1): Split from gud-gdb-completions.
11284
11285 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11286 function as separate arguments.
11287 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11288 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11289 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11290 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11291 (gdb-stopped, def-gdb-auto-update-trigger)
11292 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
11293 (gdb-get-changed-registers, gdb-get-main-selected-frame):
11294 Callers changed.
2170cb53
CY
11295 (gud-gdbmi-completions): New function.
11296 (gdb): Use it for generating the completion table.
11297
be8b11bb
AM
112982011-12-24 Alan Mackenzie <acm@muc.de>
11299
11300 Introduce a mechanism to widen the region used in context font
1d00653d 11301 locking. Use this to protect declarations from losing their contexts.
be8b11bb 11302
1d00653d
SM
11303 * progmodes/cc-langs.el (c-before-font-lock-functions):
11304 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 11305 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
11306 functions to be run just before context (etc.) font locking.
11307
11308 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 11309 New, functionality extracted from
be8b11bb 11310 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 11311 (c-in-after-change-fontification): New variable.
be8b11bb
AM
11312 (c-after-change): Set c-in-after-change-fontification.
11313 (c-set-fl-decl-start): Rejig its interface, so it can be called
11314 from both after-change and context fontifying.
b81d40f0
JB
11315 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11316 New functions.
11317 (c-standard-font-lock-fontify-region-function): New variable.
11318 (c-font-lock-fontify-region): New function.
be8b11bb 11319
341cf6ac
JL
113202011-12-24 Juri Linkov <juri@jurta.org>
11321
11322 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11323 (Bug#10348)
11324
bffcee0a
MA
113252011-12-23 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11328 existence of source file. (Bug#10325)
11329
cb5e207c
AM
113302011-12-23 Alan Mackenzie <acm@muc.de>
11331
11332 Fix unstable fontification inside templates.
11333
b81d40f0
JB
11334 * progmodes/cc-langs.el (c-before-font-lock-functions):
11335 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
11336 additionally has c-set-fl-decl-start. The other languages (apart
11337 from AWK) have that as a single entry.
11338
b81d40f0
JB
11339 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11340 The functionality for "local" declarations has been extracted to
cb5e207c
AM
11341 c-set-fl-decl-start.
11342
b81d40f0
JB
11343 * progmodes/cc-mode.el (c-common-init, c-after-change):
11344 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
11345 (c-set-fl-decl-start): New function, extracted from
11346 c-font-lock-enclosing-decls and enhanced.
11347
60ff536c
JB
113482011-12-23 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11351
1c4757d6
JL
113522011-12-22 Juri Linkov <juri@jurta.org>
11353
11354 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
11355
d031f2c7
CY
113562011-12-22 Chong Yidong <cyd@gnu.org>
11357
11358 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11359
bace743a
DA
113602011-12-21 Drew Adams <drew.adams@oracle.com>
11361
11362 * files.el (file-remote-p): Fix docstring. (Bug#10319)
11363
728a1f2b
JC
113642011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
11365
11366 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11367
0d373f73
TZ
113682011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
11369
fec0aaa4
TZ
11370 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
11371 highlighting and support. Fix up comments for capitalization.
11372 (cfengine-mode-debug): New var.
11373 (cfengine3-mode): Change the modeline indicator to "CFE3".
11374 (cfengine3-font-lock-keywords): Improve defun highlighting.
11375 (cfengine2-actions): Rename from `cfengine-actions'.
11376 (cfengine2-font-lock-keywords): Rename from
11377 `cfengine-font-lock-keywords'.
11378 (cfengine2-imenu-expression): Rename from
11379 `cfengine-imenu-expression'.
11380 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11381 (cfengine2-beginning-of-defun): Rename from
11382 `cfengine-beginning-of-defun'.
11383 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11384 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11385 (cfengine2-mode): Rename from `cfengine-mode'. Change the
11386 modeline indicator to "CFE2".
11387 (cfengine-mode): Defalias to `cfengine-auto-mode'.
11388 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 11389
bc86f573
CY
113902011-12-21 Chong Yidong <cyd@gnu.org>
11391
11392 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11393 filename argument.
11394
d45ba96b
MR
113952011-12-20 Martin Rudalics <rudalics@gmx.at>
11396
11397 * window.el (window-normalize-buffer-to-display): Remove.
11398 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11399
a6198c90
CY
114002011-12-19 Chong Yidong <cyd@gnu.org>
11401
11402 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11403 Don't signal an error in a predicate function; return non-nil.
11404 (vc-dir-mark-file): Move the error here.
11405 (vc-dir-mark-unmark): If acting on the region, keep going if one
11406 of the entries cannot be marked/unmarked.
11407 (vc-dir-mark-all-files): If current entry is a directory, mark
11408 only child files, as documented.
11409
34c5fb55
VB
114102011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
11411
11412 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11413 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11414 addition.
11415
c803b2b7
JD
114162011-12-18 Jan Djärv <jan.h.d@swipnet.se>
11417
11418 * term/ns-win.el (ns-get-selection-internal)
11419 (ns-store-selection-internal): Declare.
1154d12e
JB
11420 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11421 Declare as obsolete.
11422 (ns-get-pasteboard, ns-paste-secondary):
11423 Use ns-get-selection-internal.
41e9b956 11424 (ns-set-pasteboard, ns-copy-including-secondary):
1154d12e 11425 Use ns-store-selection-internal.
c803b2b7 11426
9cff91f8 114272011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
11428
11429 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 11430 (vc-deduce-fileset): Doc fix.
99a289d9 11431
f16c898a
AS
114322011-12-16 Andreas Schwab <schwab@linux-m68k.org>
11433
11434 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11435
763237c4
SS
114362011-12-13 Sam Steingold <sds@gnu.org>
11437
11438 * man.el (Man-getpage-in-background): When running under a
11439 window-system, ignore $MANWIDTH and $COLUMNS.
11440
5fc1c122
KH
114412011-12-15 Kenichi Handa <handa@m17n.org>
11442
11443 * language/ethio-util.el: Change coding tag to utf-8-emacs.
11444 (setup-ethiopic-environment-internal): Comment out key-binding for
11445 ethio-toggle-punctuation.
11446
13d49cbb
AM
114472011-12-13 Alan Mackenzie <acm@muc.de>
11448
898169a2
AM
11449 Add the switch statement to AWK Mode.
11450
7a71b18d 11451 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
11452 "default" to the keywords regexp.
11453
7a71b18d 11454 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 11455 expression as the rest.
1d00653d
SM
11456 (c-nonlabel-token-key): Allow string literals for AWK.
11457 Refactor for the other modes.
898169a2 11458
13d49cbb 11459 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 11460 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
11461 routines. Limit backward searching in c-font-lock-enclosing.decl.
11462
11463 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11464 pp-state and literal type in addition to the limits.
1d00653d 11465 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 11466 (c-state-literal-at): Use the above new defun.
1d00653d
SM
11467 (c-slow-in-literal, c-fast-in-literal): Remove.
11468 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
11469
11470 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11471 being in a literal. Add a limit for backward searching.
11472
11473 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11474 c-slow-in-literal.
11475
15e0efc7
SM
114762011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
11477
11478 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11479
454592a6
MR
114802011-12-13 Martin Rudalics <rudalics@gmx.at>
11481
11482 * window.el (delete-other-windows): Use correct frame in call to
11483 window-with-parameter.
11484
87393f26
DP
114852011-12-12 Daniel Pfeiffer <occitan@t-online.de>
11486
11487 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11488 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11489 (makefile-gmake-statements, makefile-makepp-statements):
11490 Use it and add new makepp keywords.
11491 (makefile-makepp-font-lock-keywords): Add new patterns.
11492 (makefile-match-function-end): Match new [...] and [[...]].
11493
11636b22
JB
114942011-12-11 Juanma Barranquero <lekktu@gmail.com>
11495
11496 * ses.el (ses-call-printer-return, ses-cell-property-get)
11497 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11498 (ses-create-cell-variable, ses-reset-header-string)
11499 (ses-cell-set-formula, ses-repair-cell-reference-all)
11500 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11501 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11502 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11503 (ses-aset-with-undo, ses-load, ses-truncate-cell)
11504 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11505 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11506 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11507 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11508 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11509 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11510 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11511 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11512
cf018193
VB
115132011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
11514
11515 * ses.el: The overall change is to add cell renaming, that is
11516 setting fancy names for cell symbols other than name matching
11517 "\\`[A-Z]+[0-9]+\\'" regexp .
11518 (ses-create-cell-variable): New defun.
11519 (ses-relocate-formula): Relocate formulas only for cells the
11520 symbols of which are not renamed, i.e. symbols whose names do not
11521 match regexp "\\`[A-Z]+[0-9]+\\'".
11522 (ses-relocate-all): Relocate values only for cells the symbols of
11523 which are not renamed.
11524 (ses-load): Create cells variables as the (ses-cell ...) are read,
11525 in order to check row col consistency with cell symbol name only
11526 for cells that are not renamed.
11527 (ses-replace-name-in-formula): New defun.
11528 (ses-rename-cell): New defun.
11529
ee957461
CY
115302011-12-11 Chong Yidong <cyd@gnu.org>
11531
11532 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11533 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11534
9a9e9ef0
MR
115352011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
11536
11537 * window.el (other-window): Fix docstring.
11538
92a8eba5
EZ
115392011-12-10 Eli Zaretskii <eliz@gnu.org>
11540
11541 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
11542 `from' or `to' address before taking its substring.
11543 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
11544 encoded name is chopped in the middle of the encoded string, and
11545 thus displayed encoded.
11546
e152e577
JB
115472011-12-10 Juanma Barranquero <lekktu@gmail.com>
11548
11549 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11550
e5d84bfe
EZ
115512011-12-10 Eli Zaretskii <eliz@gnu.org>
11552
11553 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
11554 to use texinfo-update-node and commands that call it if the
11555 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 11556 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
11557 (texinfo-all-menus-update, texinfo-master-menu)
11558 (texinfo-update-node, texinfo-every-node-update)
11559 (texinfo-multiple-files-update): Doc fix. Warn against updating
11560 all the @node lines.
11561 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
11562 argument is numeric. Explain better in the doc string what the
11563 function really does.
11564 (texinfo-insert-master-menu-list): Improve the error message
11565 displayed if there's no menu in the Top node.
11566 (Bug#2975) See also this thread:
e5d84bfe
EZ
11567 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11568
1d84e9bb
MG
115692011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
11570
11571 * speedbar.el (speedbar-supported-extension-expressions):
11572 Add .adb and .ads, commonly used for Ada source code (bug#10256).
11573
382c953b
JB
115742011-12-09 Juanma Barranquero <lekktu@gmail.com>
11575
11576 * printing.el (pr-mode-alist):
11577 * simple.el (filter-buffer-substring-functions)
11578 (completion-list-insert-choice-function):
11579 * window.el (window-with-parameter, window-atom-root)
11580 (window-sides-slots, window-size-fixed, window-min-delta)
11581 (window-max-delta, window--resize-mini-window)
11582 (window--resize-child-windows-normal, window-tree)
11583 (delete-other-windows, quit-window, split-window)
11584 (display-buffer-record-window, special-display-buffer-names)
11585 (special-display-regexps, special-display-popup-frame)
11586 (same-window-p, split-window-sensibly)
11587 (display-buffer-overriding-action, display-buffer-alist)
11588 (display-buffer-base-action, display-buffer, switch-to-buffer)
11589 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11590 (fit-window-to-buffer, recenter-positions)
11591 (mouse-autoselect-window-state, mouse-autoselect-window-select):
11592 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11593 and remove unneeded backslashes in docstrings.
11594
39c9faef
SM
115952011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
11596
98449af8
SM
11597 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11598
39c9faef
SM
11599 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11600 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11601 end in ".mk".
11602 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11603 when reading the makefile (bug#10116).
11604
86ed9fdc
SM
116052011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
11606
11607 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11608 (bug#10116).
11609
5580f89d
GM
116102011-12-06 Glenn Morris <rgm@gnu.org>
11611
11612 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11613
28d3917c
CY
116142011-12-06 Chong Yidong <cyd@gnu.org>
11615
11616 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11617
a98edce9
JB
116182011-12-06 Juanma Barranquero <lekktu@gmail.com>
11619
11620 * textmodes/table.el (table-shorten-cell): Fix typo.
11621
e65adfac
CG
116222011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
11623
11624 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11625
71cc0b74
EZ
116262011-12-05 Eli Zaretskii <eliz@gnu.org>
11627
11628 * descr-text.el (describe-char): Fix display of strong
11629 right-to-left characters and directional embeddings and overrides.
11630
11631 * simple.el (what-cursor-position): Fix display of codepoints of
11632 strong right-to-left characters.
11633
315bc30d
CY
116342011-12-05 Chong Yidong <cyd@gnu.org>
11635
11636 * faces.el (read-color): Doc fix.
11637
58a70b94
GM
116382011-12-05 Glenn Morris <rgm@gnu.org>
11639
11640 * align.el (align--set-marker): Add doc-string.
11641 Don't try to move something that is not a marker. (Bug#10216)
11642
5158face
GM
116432011-12-04 Glenn Morris <rgm@gnu.org>
11644
11645 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11646 overly zealous deletion of trailing whitespace.
11647
520fca41
JB
116482011-12-04 Juanma Barranquero <lekktu@gmail.com>
11649
11650 * server.el (server-delete-client): On Windows, do not try to delete
11651 the only terminal.
11652 (server-process-filter): On Windows, treat requests for a tty frame as
11653 if they were for a GUI frame if the running server is in GUI mode.
11654
5e605a2e
GM
116552011-12-03 Glenn Morris <rgm@gnu.org>
11656
11657 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
11658
5c3fe83f
SM
116592011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
11660
6f5e57e7
SM
11661 * electric.el: Streamline electric-indent's hook.
11662 (electric-indent-chars): Revert to simple list.
11663 (electric-indent-functions): New var.
11664 (electric-indent-post-self-insert-function): Use it.
11665
5c3fe83f
SM
11666 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11667 there's no inferior buffer (bug#10196).
11668 (prolog-consult-compile): Don't use toggle-read-only.
11669
6bdac736
MA
116702011-12-02 Michael Albinus <michael.albinus@gmx.de>
11671
11672 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11673 interrupt. (Bug#10187)
11674
6131ba7f
SM
116752011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
11676
99c79fee
SM
11677 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11678 (bug#9160).
11679
6131ba7f
SM
11680 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11681 (bug#10191).
11682
cb0a02ea
JL
116832011-12-02 Juri Linkov <juri@jurta.org>
11684
11685 * info.el (Info-search): Display "end of manual" when Isearch
11686 reaches the end of single-file Info manual. (Bug#9918)
11687
66e0570c
EZ
116882011-12-02 Eli Zaretskii <eliz@gnu.org>
11689
11690 * isearch.el (isearch-message-prefix): Run the input method part
11691 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
11692
02b16839
JL
116932011-12-02 Juri Linkov <juri@jurta.org>
11694
11695 * isearch.el (isearch-occur): Use `word-search-regexp' for
11696 `isearch-word'.
11697 (isearch-search-and-update): Add condition for `isearch-word' and
11698 call `word-search-regexp'. (Bug#10145)
11699
0b950688
GM
117002011-12-01 Glenn Morris <rgm@gnu.org>
11701
11702 * eshell/em-hist.el (eshell-hist-initialize):
11703 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 11704 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 11705
9505c3c7
SM
117062011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
11707
11708 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11709
1bbe96b2 117102011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 11711
a1beca85
SM
11712 * progmodes/verilog-mode.el (verilog-pretty-expr):
11713 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
11714 verilog, such as += *= and the like.
11715 (verilog-assignment-operator-re): Regular expression to find the
11716 assigment operator in a verilog assignment.
11717 (verilog-assignment-operation-re): Regular expression to find an
11718 assignment statement for pretty-expr.
11719 (verilog-in-attribute-p): Query returns true if point is in an
11720 attribute context; used to skip these for expression line up from
11721 pretty-expr.
11722 (verilog-in-parameter-p): Query returns true if point is in an
11723 parameter definition context; used to skip these for expression
11724 line up from pretty-expr.
11725 (verilog-in-parenthesis-p): Query returns true if point is in a
11726 parenthetical expression, specifically ( ) but not [ ] or { };
11727 used by pretty-expr.
11728 (verilog-just-one-space): If there is no space, don't add one.
11729 (verilog-get-lineup-indent-2): Specifically skip just attribute
11730 contexts for expression lineup, rather than skipping all
11731 parenthetical expressions.
11732 (verilog-calculate-indent): Fix comment, and fix indent.
11733 (verilog-do-indent): Indent declarations in lists (suggested by
11734 Joachim Lechner).
11735 (verilog-mode-abbrev-table): Populate abbrev mode with the various
11736 skeleton items.
11737 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11738 by Alain Mellan).
11739
1bbe96b2 117402011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
11741
11742 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11743 parameters with embedded comments. Reported by Ray Stevens.
11744 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11745 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11746 Reported by Tim Holt.
11747 (verilog-auto): Fix AUTOing a upper module then AUTOing module
11748 instantiated by upper module causing wrong expansion until AUTOed a
11749 second time. Reported by K C Buckenmaier.
11750 (verilog-diff-auto): Fix showing .* as a difference when
11751 `verilog-auto-star-save' off. Reported by Dan Dever.
11752 (verilog-auto-reset, verilog-read-always-signals)
11753 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11754 temporary signals in reset list if
11755 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
11756 style to each signal's assignment type, bug381.
11757 Reported by Thomas Esposito.
6288f0ca
WS
11758 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11759 (verilog-uvm-statement-re): Support UVM indentation and
11760 highlighting, with old OVM keywords only.
a1beca85 11761 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
11762 Support AUTOTIEOFF creating non-wire data types.
11763 Suggested by Jonathan Greenlaw.
6288f0ca
WS
11764 (verilog-auto-insert-lisp, verilog-delete-to-paren)
11765 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11766 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
11767 (verilog-read-sub-decls, verilog-read-sub-decls-line):
11768 Fix mismatching parenthesis inside commented out code when deleting
382c953b 11769 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
11770 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11771 non-numeric vector width. Reported by Alex Reed.
11772 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 11773 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
11774 (verilog-auto-delete-trailing-whitespace):
11775 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
11776 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
11777 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11778 Fix verilog-scan-cache corruption when running user AUTO expansion
11779 hooks that call indentation routines.
11780 (verilog-simplify-range-expression): Fix typo ignoring lower case
11781 identifiers.
11782 (verilog-delete-auto): Fix delete-autos to also remove user created
11783 automatics, as long as they start with AUTO.
11784 (verilog-batch-diff-auto, verilog-diff-auto)
11785 (verilog-diff-function): Add `verilog-diff-auto' and bind to
11786 "C-c?" to report differences in AUTO expansion, ignoring spaces.
11787 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11788 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
11789 (verilog-re-search-forward-quick, verilog-syntax-ppss):
11790 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
11791 is disabled and its cache will get corrupt, causing AUTOS not to
11792 expand. Instead use only -quick functions.
11793 (verilog-scan-region): Fix scanning over escaped quotes.
11794 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11795 (verilog-re-search-backward-quick)
11796 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11797 related functions now ignore strings, to fix misparsing of strings
11798 with magic comments embedded in them.
a1beca85
SM
11799 (verilog-read-auto-template):
11800 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11801 Reported by Brad Dobbie.
11802 (verilog-read-auto-template):
11803 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 11804 Reported by Brad Dobbie.
6288f0ca
WS
11805 (verilog-auto-inst, verilog-auto-inst-param)
11806 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11807 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
11808 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
11809 debugging templates without merge conflicts, bug357.
11810 Reported by Brad Dobbie.
11811 (verilog-read-auto-template):
11812 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
11813 Reported by Brad Dobbie.
11814 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11815 abbrevs so user won't be asked to save.
11816 (verilog-read-auto-lisp-present): Fix to start at beginning of
11817 buffer in case called outside of verilog-auto.
11818 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11819 to "X-2". Reported by Matthew Myers.
11820 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11821 all inputs from module templates. Reported by Leith Johnson.
11822 (verilog-module-inside-filename-p): Fix locating programs as with
11823 modules.
11824 (verilog-auto-inst-port): Fix vl-width expressions when using
11825 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
11826 (verilog-decls-get-regs, verilog-decls-get-signals,
11827 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11828 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11829 verilog-read-decls): Combine reg and wire structures into one var
11830 structure to represent SystemVerilog concepts.
11831 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11832 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
11833 (verilog-auto-wire-type, verilog-insert-definition):
11834 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
11835 SystemVerilog "logic" keyword instead of "wire"/"reg".
11836 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11837 to declares outputs that also have assignments (presumably in an
a1beca85
SM
11838 ifdef or generate if so there's not a driver conflict).
11839 Reported by Matthew Myers.
11840 (verilog-auto-declare-nettype, verilog-insert-definition):
11841 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
11842 `default_nettype none. Reported by Julian Gorfajn.
11843 (verilog-read-always-signals-recurse, verilog-read-decls)
11844 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11845 malformed end statement, bug325. Reported by Joshua Wise and
11846 Andrew Drake.
11847 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11848 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
11849 when expanding .* in interfaces, bug320.
11850 Reported by Pierre-David Pfister.
6288f0ca 11851 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
11852 name and open parenthesis, bug317.
11853 Reported by Pierre-David Pfister.
6288f0ca
WS
11854 (verilog-simplify-range-expression): Fix simplification of
11855 multiplications inside AUTOWIRE connections, bug303.
11856 (verilog-auto-inst-port): Support parameter expansion in
11857 multidimensional arrays.
11858 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11859 after "assert property". Reported by Julian Gorfajn.
11860 (verilog-simplify-range-expression): Fix "couldn't merge" errors
11861 with multiplication, bug303.
11862 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11863 Reported by Jan Frode Lonnum.
11864
1bbe96b2
GM
118652011-11-30 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11868 (hfy-shell-file-name, hfy-shell):
11869 * international/fontset.el (x-decompose-font-name): Fix typos.
11870
118712011-11-29 Ken Brown <kbrown@cornell.edu>
11872
11873 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11874 (gdb-version): Remove defvar.
11875 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11876 (gdb-gud-context-command, gdb-non-stop-handler)
11877 (gdb-current-context-command, gdb-stopped): Use it.
11878 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
11879 (gdb-non-stop-handler): Don't enable pretty-printing here.
11880 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
11881 non-stop mode. Use the following.
11882 (gdb-check-target-async): New defun.
11883 (gud-watch, gdb-stopped): Fix whitespace.
11884 (gdb-get-source-file): Don't try to display the source file if
11885 `gdb-main-file' is nil.
11886
118872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11888
11889 * align.el: Try to generate fewer markers (bug#10047).
11890 (align--set-marker): New macro.
11891 (align-region): Use it.
11892
c935221f
SM
118932011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11896
e70b5064
CY
118972011-11-29 Chong Yidong <cyd@gnu.org>
11898
11899 * indent.el (indent-for-tab-command, indent-according-to-mode):
11900 Doc fix.
11901 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
11902
f3af92b7
MA
119032011-11-29 Michael Albinus <michael.albinus@gmx.de>
11904
11905 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11906 aware of remote file names. (Bug#10124)
11907
ed472be9
CY
119082011-11-29 Chong Yidong <cyd@gnu.org>
11909
11910 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11911
24510c22
SM
119122011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
11913
11914 * files.el (find-file): Don't use force-same-window (bug#10144).
11915 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11916 use pop-to-buffer if the selected window can't be used.
11917 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11918
c60c3703
EZ
119192011-11-28 Eli Zaretskii <eliz@gnu.org>
11920
11921 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11922 special-mode-map.
11923
e95def75
CY
119242011-11-28 Chong Yidong <cyd@gnu.org>
11925
11926 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11927
c3f1c606
NR
119282011-11-27 Nick Roberts <nickrob@snap.net.nz>
11929
11930 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11931 gdb-get-source-file-list on gdb-create-source-file-list.
11932
00db469c
EZ
119332011-11-26 Eli Zaretskii <eliz@gnu.org>
11934
11935 * whitespace.el (whitespace-newline): Use a different foreground
11936 color for 16-color light-background displays.
11937
4ad3bc2a
CY
119382011-11-24 Chong Yidong <cyd@gnu.org>
11939
11940 * window.el (display-buffer--special-action): Doc fix.
11941
e9fce1ac
JB
119422011-11-25 Juanma Barranquero <lekktu@gmail.com>
11943
11944 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11945 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11946 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11947 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11948 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11949 (avl-tree-stack-first):
11950 * emacs-lisp/cconv.el (cconv--analyse-use):
11951 * net/gnutls.el (gnutls-negotiate): Fix typos.
11952
cb825e5d
GM
119532011-11-24 Glenn Morris <rgm@gnu.org>
11954
3adbe224
GM
11955 * lpr.el (lpr-windows-system, lpr-lp-system):
11956 * mail/binhex.el (binhex-begin-line):
11957 * progmodes/grep.el (grep-history, grep-find-history):
11958 * textmodes/flyspell.el:
11959 * vc/pcvs-defs.el (cvs-global-menu):
11960 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11961 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11962 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11963
321decc8
GM
11964 * net/tls.el: Fix case of "GnuTLS".
11965
420b63ad
GM
11966 * paths.el (rmail-file-name): Format doc-string for make-docfile.
11967
cb825e5d
GM
11968 * version.el (emacs-build-system): Give it a doc-string.
11969
a0649f08
JL
119702011-11-24 Juri Linkov <juri@jurta.org>
11971
11972 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11973
c0bc0fd4
GM
119742011-11-24 Glenn Morris <rgm@gnu.org>
11975
11976 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11977 if called on a non-mime message just toggle the headers. (Bug#8006)
11978
20db1522
JB
119792011-11-24 Juanma Barranquero <lekktu@gmail.com>
11980
11981 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11982 (allout-lead-with-comment-string, allout-structure-deleted-hook)
11983 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11984 (allout-rebullet-heading, allout-open-sibtopic)
11985 (allout-toggle-current-subtree-encryption)
11986 (allout-toggle-subtree-encryption, allout-encrypt-string)
11987 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11988 (allout-distinctive-bullets-string, allout-auto-activation):
11989 * window.el (window-normalize-buffer-to-display):
11990 * progmodes/verilog-mode.el (verilog-batch-indent):
11991 * textmodes/bibtex.el (bibtex-field-braces-opt)
11992 (bibtex-field-strings-opt):
11993 * vc/cvs-status.el (cvs-tree-merge):
11994 Fix typos.
11995
7262a87c
MA
119962011-11-23 Michael Albinus <michael.albinus@gmx.de>
11997
11998 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11999 `non-essential' to t, in order to avoid remote connections.
12000
283430a1
EZ
120012011-11-23 Eli Zaretskii <eliz@gnu.org>
12002
a1beca85
SM
12003 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12004 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
12005 case-insensitively.
12006
d2992a38
ML
120072011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12008
12009 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
12010
50419064
GM
120112011-11-23 Glenn Morris <rgm@gnu.org>
12012
da94eca1
GM
12013 * paths.el (rmail-file-name): Reformat the doc-string so that it
12014 is picked up.
12015
9aac4de2
GM
12016 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
12017 (rmail-auto-file): Ignore case in the "special" field names,
12018 as mail-fetch-field does for all others.
12019
8038d2d2
GM
12020 * mail/rmail.el (rmail-forward):
12021 * mail/rmailkwd.el (rmail-set-label):
12022 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
12023 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
12024
f3fe222a
GM
12025 * mail/rmail.el (rmail-current-message): Doc fix.
12026
50419064
GM
12027 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
12028
28109f49
SM
120292011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
12030
12031 * server.el (server-eval-and-print): Allow C-g (bug#6585).
12032
394c65f1
GM
120332011-11-22 Glenn Morris <rgm@gnu.org>
12034
12035 * mail/rmailmm.el (test-rmail-mime-handler)
12036 (test-rmail-mime-bulk-handler)
12037 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
12038
f2a0aa3a
JL
120392011-11-21 Juri Linkov <juri@jurta.org>
12040
1154d12e
JB
12041 * calc/calc.el (calc-read-key-sequence):
12042 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 12043
9c34a344
LMI
120442011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12045
12046 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
12047 Tell the caller that the next line needs recomputation, even
12048 though it doesn't start a sexp (bug#10094).
12049
f04a3be9
SM
120502011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
12051
12052 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
12053
7978747f
SM
120542011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12055
f04a3be9
SM
12056 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12057 Use force-same-window.
7978747f 12058
fe7a3057
JB
120592011-11-20 Juanma Barranquero <lekktu@gmail.com>
12060
12061 * descr-text.el (describe-char-unicode-data):
12062 * json.el (json-string-escape):
12063 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
12064 (Footnote-unicode, Footnote-style-p):
12065 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
12066
24901d61
CY
120672011-11-20 Chong Yidong <cyd@gnu.org>
12068
12069 * window.el (replace-buffer-in-windows): Restore interactive spec.
12070
bac7ff22
SM
120712011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
12072
24f3d7b9
SM
12073 * electric.el (electric-indent-mode): Fix last change (too optimistic).
12074
bac7ff22
SM
12075 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
12076 (byte-compile-global-not-obsolete-vars): New var.
12077 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
12078 Use it.
12079 (byte-compile-warn-obsolete): Align text with the one in *Help*.
12080
cd1181db
JB
120812011-11-20 Juanma Barranquero <lekktu@gmail.com>
12082
12083 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
12084 * progmodes/pascal.el (electric-pascal-equal):
12085 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
12086 * xml.el (xml-substitute-special): Fix typos.
12087
7fb18e9e
GM
120882011-11-20 Glenn Morris <rgm@gnu.org>
12089
12090 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
12091 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
12092 Doc fixes.
12093 (rmail-decode-mime-charset): Mark as obsolete.
12094
12095 * mail/rmailsum.el (rmail-message-regexp-p-1):
12096 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
12097 Before using mime functions, check they are set. (Bug#10077)
12098
d5a6b3ba
JL
120992011-11-19 Juri Linkov <juri@jurta.org>
12100
12101 * info.el (Info-finder-find-node): Use `package--builtins' instead
12102 of `package-alist'. Use node names formed by the pattern "Keyword "
12103 and the keyword name.
12104
e981b61f
AS
121052011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12106
1d00653d 12107 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 12108
3ffbc301
JL
121092011-11-19 Juri Linkov <juri@jurta.org>
12110
12111 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
12112 that calls `revert-buffer' on all Info buffers. (Bug#9915)
12113 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
12114 `old-history', `old-history-forward'. Add let-binding
12115 `window-selected'. Remove calls to `kill-buffer',
12116 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
12117 before calling `Info-find-node', so `Info-find-node-2' will reread
12118 the Info file. Restore window positions only when `window-selected'
12119 is non-nil.
12120
30c62133
JL
121212011-11-19 Juri Linkov <juri@jurta.org>
12122
12123 * isearch.el (isearch-lazy-highlight-new-loop):
12124 Remove condition `(not isearch-error)'. (Bug#9918)
12125
12126 * misearch.el (multi-isearch-search-fun): Add condition
12127 `(not bound)' to ignore lazy-highlighting search.
12128 Add the search-failed message "end of multi" when the end of
12129 multi-sequence is reached. Uncapitalize the search-failed
12130 message "Repeat for next buffer".
12131
12132 * info.el (Info-search): Add the search-failed message
12133 "end of the manual" when the end of the manual is reached
12134 in Isearch mode.
12135
645ca9cf
JL
121362011-11-19 Juri Linkov <juri@jurta.org>
12137
12138 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
12139 Use non-destructive `remove' instead of `delete' because
12140 `Info-history-list' stored to `Info-isearch-initial-history-list' in
12141 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
12142
df754f66
JL
121432011-11-19 Juri Linkov <juri@jurta.org>
12144
12145 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
12146 to nil instead of binding `search-ring' and `regexp-search-ring'.
12147 (Bug#9185)
12148
0e23d96a
EZ
121492011-11-19 Eli Zaretskii <eliz@gnu.org>
12150
12151 * simple.el (line-move): Force movement by logical lines for any
12152 hscrolled window, not only when auto-hscroll-mode is on.
12153 (line-move-visual): Update doc string to that effect. (Bug#10076)
12154
8a6ccb66
AS
121552011-11-19 Andreas Schwab <schwab@linux-m68k.org>
12156
12157 * language/european.el (macintosh): Define as alias for mac-roman.
12158
49ae5b39
EZ
121592011-11-19 Eli Zaretskii <eliz@gnu.org>
12160
12161 * mail/rmailmm.el (rmail-mime-display-header)
12162 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
12163 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
12164 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
12165 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
12166 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
12167 of a raw aref.
12168 (rmail-mime-entity-segment): To get past the tagline, move forward
12169 2 more lines, to account for the 2 empty lines that precede and
12170 follow the line with the buttons.
12171 (rmail-mime-update-tagline): Move one more line, to get past the
12172 empty line that follows the buttons in the tagline. (Bug#9520)
12173
c56cad4a
MR
121742011-11-19 Martin Rudalics <rudalics@gmx.at>
12175
12176 * window.el (window-max-delta-1, window-min-delta-1)
12177 (window-min-size-1, window-state-get-1, window-state-put-1)
12178 (window-state-put-2): Use "window--" prefix.
12179
cbe71af3
SM
121802011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
12181
2ad52c60
SM
12182 * emacs-lisp/smie.el: Improve warnings and conflict detection.
12183 (smie-warning-count): New var.
12184 (smie-set-prec2tab): Use it.
12185 (smie-bnf->prec2): Improve warnings. Add docstring.
12186 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
12187 (smie-bnf--set-class): New function.
12188 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
12189 corner case.
12190
6944dbc1
SM
12191 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
12192 (compilation-error-properties, compilation-move-to-column):
12193 Handle compilation-first-column while in the target buffer.
12194
c400c4d7
SM
12195 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
12196 Don't hardcode point-min==1.
12197
6dbe3e96
SM
12198 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
12199 (eshell-rewrite-for-command): Remove workaround.
12200 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
12201 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
12202 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
12203
cbe71af3
SM
12204 * files-x.el (modify-file-local-variable): Obey commenting conventions.
12205
a8e1496d
GM
122062011-11-17 Glenn Morris <rgm@gnu.org>
12207
12208 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
12209 Ignore buffer-local generated-autoload-file if it is the same
12210 as the global value. (Bug#10049)
12211
df85d315
JB
122122011-11-17 Juanma Barranquero <lekktu@gmail.com>
12213
12214 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
12215 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
12216 (reftex-toc-previous-heading, reftex-toc-max-level)
12217 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
12218 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
12219 (reftex-toc-do-promote, reftex-toc-promote-prepare)
12220 (reftex-toc-promote-action, reftex-toc-extract-section-number)
12221 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
12222 (reftex-toc-rename-label, reftex-toc-visit-location)
12223 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
12224 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
12225 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
12226 leaving "*toc*" only for references to the buffer.
12227
a0c2d0ae
MR
122282011-11-17 Martin Rudalics <rudalics@gmx.at>
12229
12230 * window.el (window-resize, delete-window, split-window):
12231 Replace window-splits by window-combination-resize.
1d00653d 12232 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 12233
35c0bac8
GM
122342011-11-17 Glenn Morris <rgm@gnu.org>
12235
12236 * progmodes/sh-script.el (sh-font-lock-keywords-var):
12237 Make bash entry derive from sh entry, not shell entry.
12238
d0c8fc8a
MA
122392011-11-16 Michael Albinus <michael.albinus@gmx.de>
12240
7262a87c
MA
12241 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
12242 local file name.
12243
7877f373
JB
122442011-11-16 Juanma Barranquero <lekktu@gmail.com>
12245
12246 * menu-bar.el (menu-bar-file-menu):
12247 * printing.el (pr-ps-utility):
12248 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
12249 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
12250 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
12251 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
12252 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
12253 (icalendar--convert-cyclic-to-ical)
12254 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12255 (icalendar--convert-ical-to-diary)
12256 (icalendar--convert-recurring-to-diary)
12257 (icalendar--convert-non-recurring-all-day-to-diary)
12258 (icalendar-import-format-sample):
12259 * progmodes/idlw-shell.el (idlwave-shell-mode):
12260 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12261 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12262 (vhdl-ps-print-init): Fix typos.
12263
10649b82
KM
122642011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
12265
9d0cfcd6
GM
12266 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12267 FSF and collapse date sequence, obscure author/maintainer email address
12268 better, remove extra version line, track relocation of author's webpage.
10649b82 12269
9d0cfcd6
GM
12270 * progmodes/python.el (python-pdbtrack-input-prompt)
12271 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12272 regular python pdb prompts. Adjustments shamelessly taken exactly as
12273 suggested in EmacsWiki page (tiny change):
12274 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 12275
58179cce
JB
122762011-11-16 Juanma Barranquero <lekktu@gmail.com>
12277
12278 * expand.el (expand-pos, expand-index, expand-point):
12279 Remove redundant info from docstring.
12280 (expand-add-abbrevs): Doc fix.
12281 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12282 (expand-sample-perl-mode-expand-list): Fix typos.
12283
12284 * net/dbus.el (dbus-event-member-name):
12285 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12286 * term/pc-win.el (msdos-create-frame-with-faces):
12287 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12288
b6f67890
MR
122892011-11-16 Martin Rudalics <rudalics@gmx.at>
12290
12291 * window.el (split-window, window-state-get-1)
12292 (window-state-put-1, window-state-put-2): Rename occurrences of
12293 window-nest to window-combination-limit.
1d00653d 12294 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 12295
ce7ddba0
CY
122962011-11-16 Chong Yidong <cyd@gnu.org>
12297
12298 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12299 regexp (Bug#10033).
12300
3ae704f4
SM
123012011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
12302
12303 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12304 `completing-read' will remove *Completions* and will preserve
12305 current-buffer for us.
12306 (tmm-add-prompt): Users of *Completions* will always (re)set its
12307 major mode.
12308 (tmm-old-comp-map): Remove.
12309
6ad1cdde
GM
123102011-11-16 Glenn Morris <rgm@gnu.org>
12311
12312 * mail/rmailedit.el: Require rmailmm when compiling.
12313 (rmail-old-mime-state): New declaration.
12314 (rmail-edit-current-message): If editing a mime message,
12315 edit the "raw" message from the mbox buffer.
12316 (rmail-cease-edit): Handle mime messages. (Bug#9840)
12317
d20faa20
GM
123182011-11-15 Glenn Morris <rgm@gnu.org>
12319
12320 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12321 which wasn't being used. Add optional arg to force given state.
12322 (rmail-mime): Add optional arg to force given state.
12323
c7015153
JB
123242011-11-15 Juanma Barranquero <lekktu@gmail.com>
12325
12326 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12327 * frame.el (display-mm-dimensions-alist):
12328 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12329 (outline-move-subtree-down):
12330 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12331 (newsticker--treeview-do-get-node):
12332 * net/quickurl.el (quickurl-list-buffer-name):
12333 * progmodes/dcl-mode.el (dcl-mode):
12334 * progmodes/gdb-mi.el (gdb-mapcar*):
12335 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12336
45261b50
GM
123372011-11-15 Glenn Morris <rgm@gnu.org>
12338
12339 * mail/rmail.el (rmail-file-coding-system): It's only ever used
12340 in a boolean sense, so just make it a boolean, and fix the doc.
12341 (rmail-show-mime-function, rmail-mime-feature)
12342 (rmail-require-mime-maybe): Doc fixes.
12343 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12344
12345 * mail/rmailmm.el (rmail-show-mime): Doc fix.
12346
0d26e0b6
JB
123472011-11-15 Juanma Barranquero <lekktu@gmail.com>
12348
12349 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12350 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12351 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12352 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12353
447f30f6
GM
123542011-11-15 Glenn Morris <rgm@gnu.org>
12355
672b871d
GM
12356 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12357 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12358 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12359 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12360 (rmail-mime, rmail-show-mime): Doc fixes.
12361
f6aa5bb1
GM
12362 * term/ns-win.el (mode-line-frame-identification):
12363 Leave it alone. (Bug#10051)
12364
947cd66b
GM
12365 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
12366
447f30f6
GM
12367 * mail/rmailout.el (rmail-output-to-rmail-buffer):
12368 Handle empty buffers. (Bug#9978)
12369
0b381c7e
JB
123702011-11-14 Juanma Barranquero <lekktu@gmail.com>
12371
12372 * international/mule.el (define-charset):
12373 * mail/rmailmm.el (rmail-mime-find-header-encoding):
12374 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12375 * progmodes/verilog-mode.el (verilog-backward-token):
12376 * textmodes/ispell.el (lookup-words):
12377 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12378
71e027ac
GM
123792011-11-14 Glenn Morris <rgm@gnu.org>
12380
56632ce4
GM
12381 * progmodes/executable.el
12382 (executable-make-buffer-file-executable-if-script-p):
12383 Handle file-modes returning nil.
12384
40500957
GM
12385 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12386 message - not necessary, and causes problems. (Bug#9831)
12387
071c2340
GM
12388 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12389
d3cfca60
GM
12390 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12391
71e027ac
GM
12392 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12393 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
12394 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12395
89d61221
MR
123962011-11-12 Martin Rudalics <rudalics@gmx.at>
12397
12398 * window.el (window-resize, delete-window): Use window-splits
12399 variable instead of function.
12400 (window-state-get-1, window-state-put-2, window-state-put):
12401 Don't deal with windows' splits status.
12402
98282f6f
GM
124032011-11-12 Glenn Morris <rgm@gnu.org>
12404
12405 * apropos.el (apropos-do-all, apropos-library, apropos-value)
12406 (apropos-documentation): Doc fixes.
12407
40a8bdf6
JB
124082011-11-11 Juanma Barranquero <lekktu@gmail.com>
12409
12410 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12411 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12412
65bd19ff
SM
124132011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
12414
12415 * electric.el (electric-indent-post-self-insert-function): Make it
12416 possible for a char to only indent in some circumstances.
12417 (electric-indent-mode): Simplify.
12418
54f9154c
MR
124192011-11-11 Martin Rudalics <rudalics@gmx.at>
12420
12421 * window.el (windows-with-parameter): Remove unused function.
12422 (windows-at-side): Rename to window-at-side-list.
12423 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
12424 (window-side-check, window-size-ignore, window-size-fixed-1)
12425 (window-in-direction-2): Prefix with "window--".
12426 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 12427
68cbc58b
GM
124282011-11-11 Glenn Morris <rgm@gnu.org>
12429
12430 * subr.el (eval-after-load): If FILE is already loaded,
12431 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
12432
b2621720
GM
124332011-11-10 Glenn Morris <rgm@gnu.org>
12434
9a4de110
GM
12435 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12436 Call svn via vc-svn-command rather than vc-do-command.
12437 (vc-svn-command): Add --non-interactive. (Bug#9993)
12438 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12439
b2621720
GM
12440 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12441 Add toggle-read-only. (Bug#7292)
12442 * files.el (toggle-read-only): Mention that it should only
12443 be used interactively. (Bug#10006)
12444
1dce7193
SM
124452011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
12446
d9ac1a1e
SM
12447 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12448 Adjust regexp for OCaml warnings.
12449
0c325082
SM
12450 * electric.el (electric-pair-post-self-insert-function): Let user
12451 turn it off buffer-locally (bug#9932).
12452
90132c14
SM
12453 * progmodes/python.el (python-beginning-of-statement):
12454 Rewrite (bug#2703).
12455
1dce7193
SM
12456 * progmodes/compile.el: Better handle TABs (bug#9749).
12457 (compilation-internal-error-properties)
12458 (compilation-next-error-function): Obey the target buffer's
12459 compilation-error-screen-columns.
12460
c4e7c63a
JB
124612011-11-09 Juanma Barranquero <lekktu@gmail.com>
12462
12463 * progmodes/meta-mode.el: Remove obsolete comments.
12464 (meta-right-comment-regexp, meta-ignore-comment-regexp):
12465 Fix typos in docstrings.
12466
2cffd681
MR
124672011-11-09 Martin Rudalics <rudalics@gmx.at>
12468
12469 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 12470 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
12471 (window--resizable): New function. Make all callers of
12472 window-resizable call window--resizable instead.
12473 (window-resizable): Rewrite in terms of window--resizable.
12474
0edcba87
GM
124752011-11-08 Glenn Morris <rgm@gnu.org>
12476
12477 * progmodes/delphi.el (delphi-mode-syntax-table):
12478 Let define-derived-mode define a proper syntax table. (Bug#9994)
12479
4b0d61e3
SM
124802011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12481
12482 * window.el: Stay away from defsubst.
12483 (window-list-no-nils): Remove.
12484 (window-state-get-1, window-state-get): Use backquote instead.
12485
cd394be1 124862011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 12487
4b0d61e3 12488 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 12489 Fix incorrect use of default argument in `completing-read'.
12490
e1c2c6f2
MR
124912011-11-08 Martin Rudalics <rudalics@gmx.at>
12492
12493 * window.el (display-buffer-function, special-display-function):
12494 Mention display-buffer-record-window but do not mention
12495 help-setup parameter in doc-strings.
b3f4a882 12496 (window-min-delta): Fix doc-string typo.
e1c2c6f2 12497
105216ed
CY
124982011-11-08 Chong Yidong <cyd@gnu.org>
12499
12500 * window.el (window-total-height, window-total-width): Doc fix.
12501 (window-body-size): Move from C.
12502 (window-body-height, window-body-width): Move to C.
12503
0a9f9ab5
SM
125042011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * window.el: Make special-display like display-buffer-alist (bug#9532).
12507 (display-buffer--special-action): New function, morphed
12508 from display-buffer--special.
12509 (display-buffer): Use it to handle special-display-buffers at higher
12510 priority (just after display-buffer-alist).
12511 (display-buffer-fallback-action, display-buffer--other-frame-action)
12512 (pop-to-buffer-same-window): Remove display-buffer--special.
12513
a769dd15
GM
125142011-11-07 Glenn Morris <rgm@gnu.org>
12515
12516 * calendar/cal-menu.el (cal-menu-set-date-title):
12517 Do nothing if not in a calendar. (Bug#9976)
12518
05a61ee3
SM
125192011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * files.el (find-file): Always use selected-window.
12522
be7f5545
MR
125232011-11-07 Martin Rudalics <rudalics@gmx.at>
12524
12525 * window.el (window-combinations): Make WINDOW argument
12526 mandatory. Rewrite doc-string.
12527 (walk-window-subtree, window-atom-check, window-min-delta)
12528 (window-max-delta, window--resize-this-window)
12529 (window--resize-root-window-vertically, window-tree)
12530 (balance-windows, window-state-put): Rewrite doc-strings as to
12531 not mention the term "subwindow".
12532 (window--resize-subwindows-skip-p): Rename to
12533 window--resize-child-windows-skip-p.
12534 (window--resize-subwindows-normal): Rename to
12535 window--resize-child-windows-normal.
12536 (window--resize-subwindows): Rename to
12537 window--resize-child-windows.
12538 (window-or-subwindow-p): Rename to window--in-subtree-p.
12539
3c6702ef
ML
125402011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12541
12542 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12543 Ensure that mbox format messages end in two newlines (Bug#9974).
12544
49745b39
CY
125452011-11-06 Chong Yidong <cyd@gnu.org>
12546
12547 * window.el (window-combination-p): Function deleted; its
12548 side-effect is not used in any existing code.
12549 (window-combinations, window-combined-p): Call window-*-child
12550 directly.
12551
24300f5f
CY
125522011-11-05 Chong Yidong <cyd@gnu.org>
12553
12554 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
12555 (window-size-ignore, window-state-get): Callers changed.
12556 (window-normalize-window): Rename from window-normalize-any-window.
12557 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 12558 (window-normalize-live-window): Delete.
447f16b8
CY
12559 (window-combination-p, window-combined-p, window-combinations)
12560 (walk-window-subtree, window-atom-root, window-min-size)
12561 (window-sizable, window-sizable-p, window-size-fixed-p)
12562 (window-min-delta, window-max-delta, window-resizable)
12563 (window-resizable-p, window-full-height-p, window-full-width-p)
12564 (window-current-scroll-bars, window-point-1, set-window-point-1)
12565 (window-at-side-p, window-in-direction, window-resize)
12566 (adjust-window-trailing-edge, maximize-window, minimize-window)
12567 (window-deletable-p, delete-window, delete-other-windows)
12568 (record-window-buffer, unrecord-window-buffer)
12569 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12570 (quit-window, split-window, window-state-put)
12571 (set-window-text-height, fit-window-to-buffer)
12572 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 12573
89bd5ee1
EZ
125742011-11-04 Eli Zaretskii <eliz@gnu.org>
12575
53479029
EZ
12576 * mail/rmail.el (rmail-simplified-subject): Decode subject with
12577 rfc2047-decode-string.
12578 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12579 warnings.
12580
89bd5ee1
EZ
12581 * window.el (window-body-height, window-body-width): Mention in
12582 the doc string that the return values are in frame's canonical
12583 units. (Bug#9949)
12584
bd17fdee
AM
125852011-11-03 Alan Mackenzie <acm@muc.de>
12586
12587 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12588 change in cc-engine.el.
12589
acc825c5
SM
125902011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * window.el (switch-to-buffer): Use `force-same-window' interactively.
12593
1885e5b8
MR
125942011-11-02 Martin Rudalics <rudalics@gmx.at>
12595
12596 * window.el (quit-window): Call unrecord-window-buffer after
12597 showing another buffer in the window. (Bug#9937)
acc825c5 12598 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 12599
ebe06da9
JB
126002011-11-02 Juanma Barranquero <lekktu@gmail.com>
12601
12602 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12603 Accept status with more than 9 shelves. (Bug#9935)
12604 Reported by Colin D Bennett <colin@gibibit.com>.
12605
4ee88440
MR
126062011-11-01 Martin Rudalics <rudalics@gmx.at>
12607
12608 * help.el (with-help-window): Don't reference
12609 temp-buffer-show-specifiers in doc-string.
12610
08e1d82c
AS
126112011-10-31 Andreas Schwab <schwab@linux-m68k.org>
12612
12613 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12614 menu-item.
12615
84bd6e9e
VJL
126162011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12617
12618 * whitespace.el: New version 13.2.2.
12619 (whitespace-newline-mode): Disable properly. Reported by Sarah
12620 <EmacsWiki>.
12621
dba0634a
UJ
126222011-10-30 Ulf Jasper <ulf.jasper@web.de>
12623
12624 * net/newst-treeview.el: Remove "Time-stamp".
12625 (newsticker--group-manage-orphan-feeds): Do not call
12626 newsticker--treeview-tree-update.
db22a3c2
JB
12627 (newsticker-treeview-update, newsticker-treeview):
12628 Call newsticker--treeview-tree-update if necessary.
dba0634a 12629
3d8daefe
MR
126302011-10-30 Martin Rudalics <rudalics@gmx.at>
12631
12632 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
12633 (window-iso-combinations): Remove "iso-" infix.
12634 Suggested by Chong Yidong.
3d8daefe
MR
12635 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12636 (window-max-delta-1, window-resize, window--resize-siblings)
12637 (window--resize-this-window, adjust-window-trailing-edge)
12638 (split-window, balance-windows-1)
12639 (shrink-window-if-larger-than-buffer):
12640 * calendar/calendar.el (calendar-generate-window):
db22a3c2 12641 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 12642
1bc4c3ae
SM
126432011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12646 in place (bug#9907).
12647 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12648 (eshell-rewrite-if-command, eshell-rewrite-for-command)
12649 (eshell-structure-basic-command, eshell-rewrite-while-command)
12650 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12651 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12652 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12653 (eshell-do-pipelines-synchronously, eshell-eval-command):
12654 Use backquotes and prefer setq to set.
12655 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12656 (eshell-macrop): Use functionp.
c1e2f5fa 12657 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 12658
30b65d9c
CY
126592011-10-30 Chong Yidong <cyd@gnu.org>
12660
12661 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12662 instead of set-mark (Bug#9810).
12663
2d197ffb
CY
126642011-10-30 Chong Yidong <cyd@gnu.org>
12665
12666 * window.el (split-window-below, split-window-right): Rename from
12667 split-window-above-each-other and split-window-side-by-side
12668 respectively. All callers changed.
12669 (split-window-sensibly, split-window-sensibly): Use them.
12670 (split-window-keep-point): Doc fix.
12671
12672 * isearch.el: Add isearch-scroll property to split-window-below
12673 and split-window-right.
12674
12675 * follow.el (follow-mode):
12676 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12677 * progmodes/ada-xref.el (ada-gdb-application):
12678 * emulation/vip.el (vip-buffer-in-two-windows):
12679 * image-dired.el (image-dired-dired-with-window-configuration):
12680 * dired-x.el (dired-do-find-marked-files):
12681 * dired.el (dired-pop-to-buffer):
12682 * bs.el (bs--show-with-configuration):
12683 * vc/emerge.el (emerge-setup-windows):
12684 * textmodes/two-column.el (2C-two-columns):
12685 * textmodes/reftex-toc.el (reftex-toc):
12686 * progmodes/gdb-mi.el (gdb-setup-windows):
12687 * progmodes/fortran.el (fortran-window-create):
12688 * net/newst-treeview.el (newsticker--treeview-window-init):
12689 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12690 * emulation/tpu-edt.el (tpu-gold-map):
12691 * emulation/crisp.el (crisp-mode-map):
12692 * calendar/calendar.el (calendar-basic-setup): Callers changed.
12693
38bb2ca8
CY
126942011-10-29 Chong Yidong <cyd@gnu.org>
12695
aa4de341
CY
12696 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12697
e1eb5385
CY
12698 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12699
5d2ece3c
CY
12700 * textmodes/flyspell.el (flyspell-word): Fix char offset for
12701 forged Ispell output (Bug#7904).
12702
38bb2ca8
CY
12703 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12704
d0af9f77
SM
127052011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12706
12707 * doc-view.el: Avoid ugly errors about not finding nil.
12708 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12709 (doc-view-dvipdf-program, doc-view-unoconv-program)
12710 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12711 Avoid nil or absolute file name as default value.
12712 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12713
52bedd34
AM
127142011-10-28 Alan Mackenzie <acm@muc.de>
12715
db22a3c2 12716 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 12717
7e43cfa5
AM
127182011-10-28 Alan Mackenzie <acm@muc.de>
12719
12720 Amend the handling of c-beginning/end-of-defun in nested declaration
12721 scopes.
12722
52bedd34
AM
12723 * progmodes/cc-vars.el (c-defun-tactic): Move here from
12724 cc-langs.el. Change it to a defcustom.
7e43cfa5 12725
52bedd34
AM
12726 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12727 cc-vars.el.
7e43cfa5 12728
d0af9f77
SM
12729 * progmodes/cc-engine.el (c-beginning-of-statement-1):
12730 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 12731
52bedd34 12732 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 12733 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
12734 (c-widen-to-enclosing-decl-scope): New function.
12735 (c-while-widening-to-decl-block): New macro.
12736 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12737 outward for defun boundaries, and correspondingly change symbol
12738 `respect-enclosure' to `go-outward'.
12739 (c-declaration-limits): Change algorithm to report only the "innermost"
12740 defun's boundaries.
12741
1a2ce9ee
DD
127422011-10-28 Deniz Dogan <deniz@dogan.se>
12743
12744 * net/rcirc.el (rcirc-mode): Use hard newlines.
12745
bc97a826
AM
127462011-10-28 Alan Mackenzie <acm@muc.de>
12747
12748 Amend to indent and fontify macros "which include their own semicolon"
12749 correctly, using the "virtual semicolon" mechanism.
12750
52bedd34 12751 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 12752
d0af9f77 12753 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 12754 Recode to scan one line at a time rather than having \n and \r
58179cce 12755 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 12756 (c-forward-label): Amend for virtual semicolons.
58179cce 12757 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 12758
52bedd34
AM
12759 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12760 of the new C macros.
bc97a826 12761
52bedd34 12762 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
12763 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12764 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
12765 (c-opt-cpp-macro-define): Make into a full language variable.
12766 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12767 AWK Mode (including \n, \r) removed, no longer needed.
12768
d0af9f77
SM
12769 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12770 Invoke c-make-macro-with-semi-re.
bc97a826 12771
52bedd34
AM
12772 * progmodes/cc-vars.el (c-macro-with-semi-re):
12773 (c-macro-names-with-semicolon): New variables.
58179cce 12774 (c-make-macro-with-semi-re): New function.
bc97a826 12775
7a6c0941
SM
127762011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12777
12778 * vc/log-edit.el: Fill empty field rather than adding new one.
12779 (log-edit-add-field): New function.
12780 (log-edit-insert-changelog): Use it.
12781
b0c4cdcf
ML
127822011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
12783
12784 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12785
ee1f1da9
SM
127862011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
12787
12788 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12789 (gdb--check-interpreter): New function.
12790 (gdb): Use it.
12791
51bc5f8b
GM
127922011-10-27 Glenn Morris <rgm@gnu.org>
12793
416a2c45
GM
12794 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12795 (least-positive-float, least-negative-float)
12796 (least-positive-normalized-float, least-negative-normalized-float)
12797 (float-epsilon, float-negative-epsilon):
12798 Remove unnecessary declarations.
12799
12800 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12801 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12802 (least-positive-float, least-negative-float)
12803 (least-positive-normalized-float, least-negative-normalized-float)
12804 (float-epsilon, float-negative-epsilon): Add doc-strings,
12805 based on those in cl.texi.
12806
51bc5f8b
GM
12807 * files.el (set-visited-file-name): If the major-mode changed,
12808 reload the local variables. (Bug#9796)
12809
15de15c6
CY
128102011-10-27 Chong Yidong <cyd@gnu.org>
12811
12812 * subr.el (change-major-mode-after-body-hook): New hook.
12813 (run-mode-hooks): Run it.
12814
ee1f1da9
SM
12815 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12816 Use change-major-mode-before-body-hook.
15de15c6
CY
12817
12818 * simple.el (fundamental-mode):
12819 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12820 change introducing fundamental-mode-hook.
12821
5430d399
JB
128222011-10-26 Juanma Barranquero <lekktu@gmail.com>
12823
acc825c5 12824 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 12825
ad74a69e
MA
128262011-10-26 Michael Albinus <michael.albinus@gmx.de>
12827
12828 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 12829 tramp.el explicitly. (Bug#7583)
ad74a69e 12830
71d4c2a5
SM
128312011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * progmodes/octave-mod.el:
12834 * progmodes/octave-inf.el: Update maintainer.
12835
b1f6fa26
CY
128362011-10-26 Chong Yidong <cyd@gnu.org>
12837
12838 * subr.el (with-wrapper-hook): Rewrite doc.
12839
3f04efd6
MA
128402011-10-25 Michael Albinus <michael.albinus@gmx.de>
12841
12842 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 12843 filenames "/method:foo:". (Bug#9793)
3f04efd6 12844
410488d3
SM
128452011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12848 (bug#9865).
12849
c1ebb47e
GM
128502011-10-24 Glenn Morris <rgm@gnu.org>
12851
12852 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
12853
7f5c46c7
MA
128542011-10-24 Michael Albinus <michael.albinus@gmx.de>
12855
12856 * notifications.el: Add the requirement of a running D-Bus session
12857 bus to the Commentary.
12858
db2440b6
JL
128592011-10-24 Juri Linkov <juri@jurta.org>
12860
12861 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12862 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12863 (Bug#9364)
12864
feecf435
JL
128652011-10-24 Juri Linkov <juri@jurta.org>
12866
12867 * info.el (Info-following-node-name-re): Add newline to the list
12868 of allowed characters for leading space. (Bug#9824)
12869
a3839de2
SM
128702011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
12871
acc825c5
SM
12872 * progmodes/octave-inf.el (inferior-octave-mode-map):
12873 Fix C-c C-h binding.
a3839de2
SM
12874 * progmodes/octave-mod.el (octave-help): Remove.
12875
09388e76
MA
128762011-10-23 Michael Albinus <michael.albinus@gmx.de>
12877
12878 Sync with Tramp 2.2.3.
12879
12880 * net/tramp-cache.el (top): Pacify byte-compiler using
12881 `init-file-user' and `site-run-file'.
12882
12883 * net/trampver.el: Update release number.
12884
86c60681
CY
128852011-10-23 Chong Yidong <cyd@gnu.org>
12886
12887 * files.el (toggle-read-only): Remove obsolete comment about
12888 version control.
12889
12890 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12891 for toggle-read-only. Note that this hasn't called vc-next-action
12892 since 2008-05-02, though it wasn't documented at the time.
12893
a3839de2
SM
12894 * vc/ediff-init.el (ediff-toggle-read-only-function):
12895 Use toggle-read-only.
86c60681 12896
cd5495ff
AM
128972011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
12898
12899 Fix bug #9560, sporadic wrong indentation; improve instrumentation
12900 of c-parse-state.
12901
00b77525 12902 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 12903 correct faulty logical expression.
cd5495ff
AM
12904 (c-parse-state-state, c-record-parse-state-state):
12905 (c-replay-parse-state-state): New defvar/defuns.
12906 (c-debug-parse-state): Use new functions.
12907
42ee24ed
MR
129082011-10-22 Martin Rudalics <rudalics@gmx.at>
12909
12910 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 12911 last fix. Use window-in-direction correctly.
42ee24ed 12912
a7dee7e7
CY
129132011-10-21 Chong Yidong <cyd@gnu.org>
12914
12915 * progmodes/idlwave.el (idlwave-mode):
12916 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
12917 require-final-newline; that's done in prog-mode.
12918 Suggested by Stefan Monnier.
a7dee7e7 12919
e07b9a6d
MR
129202011-10-21 Martin Rudalics <rudalics@gmx.at>
12921
12922 * mouse.el (mouse-drag-window-above)
12923 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12924 (mouse-drag-mode-line-1, mouse-drag-header-line)
12925 (mouse-drag-vertical-line-rightward-window): Remove.
12926 (mouse-drag-line): New function.
12927 (mouse-drag-mode-line, mouse-drag-header-line)
12928 (mouse-drag-vertical-line): Call mouse-drag-line.
12929 * window.el (window-at-side-p, windows-at-side): New functions.
12930
7e1361d9
UM
129312011-10-21 Ulrich Mueller <ulm@gentoo.org>
12932
12933 * tar-mode.el (tar-grind-file-mode):
12934 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
12935
30fcaf3a
CY
129362011-10-21 Chong Yidong <cyd@gnu.org>
12937
12938 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
12939 * progmodes/vera-mode.el (vera-mode):
12940 Use mode-require-final-newline.
30fcaf3a 12941
516eddb0
GM
129422011-10-20 Glenn Morris <rgm@gnu.org>
12943
db22a3c2 12944 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 12945
10d5f513
CS
129462011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
12947
12948 * emulation/cua-base.el (cua-set-mark): Fix case of string.
12949
ac6c8639
CY
129502011-10-20 Chong Yidong <cyd@gnu.org>
12951
12952 * emulation/cua-base.el (cua-mode):
12953 * mail/footnote.el (footnote-mode):
12954 * mail/mailabbrev.el (mail-abbrevs-mode):
12955 * net/xesam.el (xesam-minor-mode):
12956 * progmodes/bug-reference.el (bug-reference-mode):
12957 * progmodes/cap-words.el (capitalized-words-mode):
12958 * progmodes/compile.el (compilation-minor-mode)
12959 (compilation-shell-minor-mode):
12960 * progmodes/gud.el (gud-tooltip-mode):
12961 * progmodes/hideif.el (hide-ifdef-mode):
12962 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12963 * progmodes/subword.el (subword-mode):
12964 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12965 * progmodes/which-func.el (which-function-mode):
12966 * term/tvi970.el (tvi970-set-keypad-mode):
12967 * term/vt100.el (vt100-wide-mode):
12968 * textmodes/flyspell.el (flyspell-mode):
12969 * textmodes/ispell.el (ispell-minor-mode):
12970 * textmodes/nroff-mode.el (nroff-electric-mode):
12971 * textmodes/paragraphs.el (use-hard-newlines):
12972 * textmodes/refill.el (refill-mode):
12973 * textmodes/reftex.el (reftex-mode):
12974 * textmodes/rst.el (rst-minor-mode):
12975 * textmodes/sgml-mode.el (html-autoview-mode)
12976 (sgml-electric-tag-pair-mode):
12977 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12978 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12979 * emulation/crisp.el (crisp-mode):
12980 * emacs-lisp/eldoc.el (eldoc-mode):
12981 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12982 minor mode behavior.
12983
aa42ab43
JL
129842011-10-19 Juri Linkov <juri@jurta.org>
12985
12986 * descr-text.el (describe-char): Add #x2010 and #x2011 to
12987 the list of hard-coded chars with escape-glyph face.
12988
89400f1d
SM
129892011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12992
305c07f6
MA
129932011-10-19 Michael Albinus <michael.albinus@gmx.de>
12994
12995 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12996 running process.
12997
13754b54
GM
129982011-10-19 Glenn Morris <rgm@gnu.org>
12999
13000 * vc/vc-bzr.el (vc-bzr-after-dir-status):
13001 Ignore ignored files. (Bug#9726)
13002
06e21633
CY
130032011-10-19 Chong Yidong <cyd@gnu.org>
13004
13005 Doc fix for minor modes, stating that an omitted argument enables
13006 the mode unconditionally when called from Lisp.
13007
13008 * abbrev.el (abbrev-mode):
13009 * allout.el (allout-mode):
13010 * autoinsert.el (auto-insert-mode):
13011 * autoarg.el (autoarg-mode, autoarg-kp-mode):
13012 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13013 (global-auto-revert-mode):
13014 * battery.el (display-battery-mode):
13015 * composite.el (global-auto-composition-mode)
13016 (auto-composition-mode):
13017 * delsel.el (delete-selection-mode):
13018 * desktop.el (desktop-save-mode):
13019 * dired-x.el (dired-omit-mode):
13020 * dirtrack.el (dirtrack-mode):
13021 * doc-view.el (doc-view-minor-mode):
13022 * double.el (double-mode):
13023 * electric.el (electric-indent-mode, electric-pair-mode):
13024 * emacs-lock.el (emacs-lock-mode):
13025 * epa-hook.el (auto-encryption-mode):
13026 * follow.el (follow-mode):
13027 * font-core.el (font-lock-mode):
13028 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
13029 * help.el (temp-buffer-resize-mode):
13030 * hilit-chg.el (highlight-changes-mode)
13031 (highlight-changes-visible-mode):
13032 * hi-lock.el (hi-lock-mode):
13033 * hl-line.el (hl-line-mode, global-hl-line-mode):
13034 * icomplete.el (icomplete-mode):
13035 * ido.el (ido-everywhere):
13036 * image-file.el (auto-image-file-mode):
13037 * image-mode.el (image-minor-mode):
13038 * iswitchb.el (iswitchb-mode):
13039 * jka-cmpr-hook.el (auto-compression-mode):
13040 * linum.el (linum-mode):
13041 * longlines.el (longlines-mode):
13042 * master.el (master-mode):
13043 * mb-depth.el (minibuffer-depth-indicate-mode):
13044 * menu-bar.el (menu-bar-mode):
13045 * minibuf-eldef.el (minibuffer-electric-default-mode):
13046 * mouse-sel.el (mouse-sel-mode):
13047 * msb.el (msb-mode):
13048 * mwheel.el (mouse-wheel-mode):
13049 * outline.el (outline-minor-mode):
13050 * paren.el (show-paren-mode):
13051 * recentf.el (recentf-mode):
13052 * reveal.el (reveal-mode, global-reveal-mode):
13053 * rfn-eshadow.el (file-name-shadow-mode):
13054 * ruler-mode.el (ruler-mode):
13055 * savehist.el (savehist-mode):
13056 * scroll-all.el (scroll-all-mode):
13057 * scroll-bar.el (scroll-bar-mode):
13058 * server.el (server-mode):
13059 * shell.el (shell-dirtrack-mode):
13060 * simple.el (auto-fill-mode, transient-mark-mode)
13061 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
13062 (line-number-mode, column-number-mode, size-indication-mode)
13063 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
13064 * strokes.el (strokes-mode):
13065 * time.el (display-time-mode):
13066 * t-mouse.el (gpm-mouse-mode):
13067 * tool-bar.el (tool-bar-mode):
13068 * tooltip.el (tooltip-mode):
13069 * type-break.el (type-break-mode-line-message-mode)
13070 (type-break-query-mode):
13071 * view.el (view-mode):
13072 * whitespace.el (whitespace-mode, whitespace-newline-mode)
13073 (global-whitespace-mode, global-whitespace-newline-mode):
13074 * xt-mouse.el (xterm-mouse-mode): Doc fix.
13075
a3839de2
SM
13076 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13077 Fix autogenerated docstring.
06e21633 13078
5214e501
JL
130792011-10-19 Juri Linkov <juri@jurta.org>
13080
13081 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
13082 by checking environment variables "DESKTOP_SESSION" and
13083 "XDG_CURRENT_DESKTOP". (Bug#9779)
13084
195f8db9
JL
130852011-10-19 Juri Linkov <juri@jurta.org>
13086
13087 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
13088 (browse-url-chromium-program, browse-url-chromium-arguments):
13089 New defcustoms.
13090 (browse-url-default-browser): Check for `browse-url-chromium' and
13091 call `browse-url-chromium-program'.
13092 (browse-url-chromium): New command. (Bug#9779)
13093
343a34ff
JB
130942011-10-18 Juanma Barranquero <lekktu@gmail.com>
13095
13096 * facemenu.el (list-colors-duplicates): On Windows, detect more
13097 duplicates by assuming that only colors matching "^System" are
13098 special "system colors". (Bug#9722)
13099
6978a151
SM
131002011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
13103 to distinguish the author from the committer.
13104
6a80b297
MA
131052011-10-18 Michael Albinus <michael.albinus@gmx.de>
13106
13107 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
13108
b31a5677
JK
131092011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
13110
13111 * international/mule.el (sgml-html-meta-auto-coding-function):
13112 Add support for detecting encoding in HTML5 specified only as
13113 <meta charset="UTF-8">. Implementation just makes http-equiv and
13114 content-type parts from HTML4 encoding string optional. (Bug#9716)
13115
80c6d77f
GM
131162011-10-18 Glenn Morris <rgm@gnu.org>
13117
13118 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
13119
08b0fee8
CY
131202011-10-18 Chong Yidong <cyd@gnu.org>
13121
13122 * faces.el (cursor): Doc fix.
13123
67e729a5
CY
131242011-10-17 Chong Yidong <cyd@gnu.org>
13125
13126 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
13127
343a34ff 131282011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
13129
13130 * dirtrack.el (dirtrack): Support shell buffers with path
13131 prefixes, e.g. tramp-based remote shells. (Bug#9647)
13132
0bc06380
TZ
131332011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
13134
13135 * json.el: Bump version to 1.3 and note change in History.
13136 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
13137
8b79f3e0
SM
131382011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
13139
5a7c536b
SM
13140 * comint.el (comint-insert-input, comint-send-input)
13141 (comint-get-old-input-default, comint-backward-matching-input)
13142 (comint-next-prompt): Use nil instead of `input' for field property of
13143 past user input (bug#114).
13144
96a8a0df
SM
13145 * minibuffer.el (completion--replace): Inherit surrounding properties
13146 (bug#114).
13147 (minibuffer-complete-and-exit): Use it.
13148
8b79f3e0
SM
13149 * comint.el (comint--table-subvert): Quote the all-completions output
13150 (bug#9160).
13151
b8f7ff0d
MR
131522011-10-17 Martin Rudalics <rudalics@gmx.at>
13153
8b79f3e0 13154 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 13155
b8f7ff0d 13156 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 13157 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
13158 entries and separate them from frame entries.
13159
c235b555
GM
131602011-10-15 Glenn Morris <rgm@gnu.org>
13161
13162 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
13163 Doc fixes.
13164
6bbfa6e1
CY
131652011-10-15 Chong Yidong <cyd@stupidchicken.com>
13166
8b79f3e0
SM
13167 * net/network-stream.el (network-stream-open-starttls):
13168 Improve detection of failure due to lack of TLS support.
ec5c990d 13169
6bbfa6e1
CY
13170 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
13171 putting the input text in front and in bold.
13172
98488977
SM
131732011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
13174
3d1337be
SM
13175 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
13176
ee0b45e4
SM
13177 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
13178 empty buffer.
13179
98488977
SM
13180 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
13181 unread-command-events rather than pushing yet-another event.
13182
186f4720
EZ
131832011-10-14 Eli Zaretskii <eliz@gnu.org>
13184
13185 * mail/sendmail.el (sendmail-query-once): Improve the wording of
13186 the explanation of the possible choices. Make the options passed
13187 to completing-read shorter.
13188
8b7a997c
AM
131892011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13190
13191 * textmodes/flyspell.el (flyspell-large-region): Make sure
13192 extended character mode is used if defined (Bug#1339).
13193
12587bbb
EZ
131942011-10-13 Eli Zaretskii <eliz@gnu.org>
13195
13196 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
13197 character info for LRE, LRO, RLE, and RLO characters by appending
13198 an invisible PDF.
12587bbb 13199
bad41229
SM
132002011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
13201
13202 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
13203 even in case of error; add debug spec; simplify data flow.
13204 (with-timeout-handler): Remove.
13205
28dbc92f
MA
132062011-10-12 Michael Albinus <michael.albinus@gmx.de>
13207
13208 Fix Bug#6019, Bug#9315.
13209
13210 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
13211 complete `buffer-file-name', the local file name part could look
13212 remotely (for example on VMS).
13213
13214 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
13215 `tramp-run-real-handler'.
13216 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
13217 already quoted by '"'.
13218
13219 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
13220 Let `file-name-handler-alist' be nil, the local file name part
13221 could look remotely (for example on VMS).
13222
e1b0b23a
SM
132232011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
13224
13225 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
13226 from here...
13227 (flyspell-post-command-hook): ...to here.
13228
a120bde9
SM
132292011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13230
13231 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
13232 if not needed.
13233 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
13234 using completion. Protect against "slow" callers.
13235 Remove the "message hack".
13236
7ce7717b
JL
132372011-10-11 Juri Linkov <juri@jurta.org>
13238
13239 * isearch.el (isearch-lazy-highlight-word): New variable.
13240 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
13241 Use it. (Bug#9727)
13242
c02ee9d6
GM
132432011-10-11 Glenn Morris <rgm@gnu.org>
13244
13245 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
13246 like f90-previous-statement does.
13247
93e616fd 132482011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13249
1f190e73 13250 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
13251 only in interactive use, to avoid error.
13252
af7b6078
SM
132532011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
13254
13255 * minibuffer.el (completion-file-name-table): Fix last change,
13256 i.e. ignore normal errors but not the other ones.
13257
0563dae9
MR
132582011-10-10 Martin Rudalics <rudalics@gmx.at>
13259
13260 * window.el (special-display-buffer-names)
13261 (special-display-regexps): Remove some remnants of earlier
13262 changes from doc-strings.
366ca7f3
MR
13263 (quit-windows-on): New function.
13264
13265 * vc/vc.el (vc-revert, vc-rollback):
13266 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13267 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 13268 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 13269
49677495
MR
132702011-10-09 Martin Rudalics <rudalics@gmx.at>
13271
13272 * window.el (frame-auto-hide-function): Add version tag.
13273 (Bug#9699)
13274
56f2d1e1
MA
132752011-10-09 Michael Albinus <michael.albinus@gmx.de>
13276
13277 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13278 condition.
13279
112a6592
LL
132802011-10-09 Leo Liu <sdl.web@gmail.com>
13281
13282 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13283 (Bug#9701)
13284
0812589b
GM
132852011-10-08 Glenn Morris <rgm@gnu.org>
13286
13287 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13288 before the first code statement zero indent. (Bug#9690)
13289
b2b0776e
CY
132902011-10-08 Chong Yidong <cyd@stupidchicken.com>
13291
13292 * simple.el (count-words-region): Always count in the region.
13293 Report the number of lines and characters too.
13294 (count-words): New command, which counts in the buffer if the
13295 region is inactive, as count-words-region used to.
13296 (count-words--message): New function. Handle plurals.
13297 (count-lines-region): Make it an alias for count-words-region.
13298
13299 * bindings.el (esc-map): Replace count-lines-region with
13300 count-words-region.
13301
c557cd6b
MR
133022011-10-08 Martin Rudalics <rudalics@gmx.at>
13303
13304 * window.el (window--delete): Delete dedicated frame
13305 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 13306 (switch-to-buffer): Fix doc-string typo.
c557cd6b 13307
61a57ef4 133082011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13309
3a7d293b 13310 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 13311
c3833279
CY
133122011-10-07 Chong Yidong <cyd@stupidchicken.com>
13313
13314 * bindings.el ([M-left],[M-right]): Bind to left-word and
13315 right-word respectively.
13316
21ce8245
GM
133172011-10-07 Glenn Morris <rgm@gnu.org>
13318
13319 * cus-start.el (debug-on-quit): Fix custom type.
13320
6d823bb2
LMI
133212011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13322
0181e193
LMI
13323 * subr.el (define-key-after): Clarify that the function is not
13324 useful for non-menu keymaps.
13325
6d823bb2
LMI
13326 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13327
8e3459ce 133282011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13329
21ce8245 13330 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 13331 in current minibuffer (Fix bug with recursive minibuffers).
13332
a1c2d21e
CY
133332011-10-06 Chong Yidong <cyd@stupidchicken.com>
13334
13335 * progmodes/gdb-mi.el (gdb): Doc fix.
13336
5a4cf282
MR
133372011-10-05 Martin Rudalics <rudalics@gmx.at>
13338
13339 * window.el (frame-auto-hide-function): New option replacing
13340 frame-auto-delete. Suggested by Stefan Monnier.
13341 (window--delete): Call frame-auto-hide-function instead of
13342 investigating frame-auto-delete.
c96111ea
MR
13343 (window-point-1, set-window-point-1): New functions.
13344 (window-in-direction, record-window-buffer, window-state-get-1)
13345 (display-buffer-record-window): Use window-point-1 instead of
13346 window-point.
13347 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 13348
9854542e
SM
133492011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13350
13351 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13352
8943cfb0
GM
133532011-10-05 Glenn Morris <rgm@gnu.org>
13354
13355 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13356 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
13357
647ab967
LL
133582011-10-05 Leo Liu <sdl.web@gmail.com>
13359
13360 * subr.el (read-char-choice): Fix argument to buffer-live-p which
13361 works with buffer object.
13362
3ddfbced
SM
133632011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
13364
13365 * mpc.el (mpc-tool-bar-map): Add labels.
13366
bdfa5dd2
GM
133672011-10-04 Glenn Morris <rgm@gnu.org>
13368
13369 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13370
0e2070b5
MR
133712011-10-04 Martin Rudalics <rudalics@gmx.at>
13372
13373 * window.el (window--delete): New function.
13374 (frame-auto-delete): Resuscitate option.
13375 (bury-buffer, replace-buffer-in-windows)
13376 (quit-window): Rewrite using window--delete.
13377 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13378 Pass display-buffer-mark-dedicated to window--display-buffer-2
13379 (Bug#9639).
13380
3dc61a09
SM
133812011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13382
915a9b64
SM
13383 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13384 returns a list (bug#9554). Add remote file name completion.
13385 * comint.el (comint--table-subvert): Curry and get quote&unquote
13386 functions as arguments.
13387 (comint--complete-file-name-data): Adjust call accordingly.
13388 * pcomplete.el (pcomplete--table-subvert): Remove.
13389 (pcomplete-completions-at-point): Use comint--table-subvert instead.
13390
3dc61a09
SM
13391 * minibuffer.el (completion-table-case-fold): Use currying.
13392 (completion--styles-type, completion--cycling-threshold-type):
13393 New constants.
13394 (completion-styles, completion-category-overrides)
13395 (completion-cycle-threshold): Use them.
13396 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13397 completion-table-case-fold.
13398
8ea0a993
SB
133992011-10-03 Stephen Berman <stephen.berman@gmx.net>
13400
13401 * minibuffer.el (completion-category-overrides): Fix type of styles
13402 and add more user friendly tags (bug#9660).
13403
8c24b7f6
SM
134042011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13407 (mule-input-method-string): New widget.
13408 (default-input-method, language-info-custom-alist): Use it.
13409
428fe61a
SM
134102011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
13411
32c1fffd
SM
13412 * pcomplete.el: Require comint.
13413 (pcomplete--common-suffix): Remove.
13414 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13415 (pcomplete--table-subvert): Sync with comint--table-subvert.
13416 (pcomplete--entries): Use comint-completion-file-name-table.
13417 * comint.el (comint-unquote-filename): Simplify.
13418 (comint-completion-file-name-table): New function (bug#9616).
13419 (comint--complete-file-name-data): Use it.
13420
428fe61a
SM
13421 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13422 (pcmpl-gnu-tar-buffer): Remove.
13423 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
13424 around. Make sure pcomplete-suffix-list is only changed temporarily.
13425 Don't look inside the tar's file if it's too large.
428fe61a 13426
04c52e2f
CY
134272011-10-01 Chong Yidong <cyd@stupidchicken.com>
13428
ce3cefcc
CY
13429 * cus-edit.el (custom-mode-map):
13430 * epa.el (epa-key-list-mode-map):
13431 * man.el (Man-mode-map):
13432 * startup.el (splash-screen-keymap):
13433 * simple.el (special-mode-map): Use scroll-up-command and
13434 scroll-down-command.
13435
13436 * progmodes/idlw-help.el (idlwave-help-mode-map):
13437 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13438 * net/newst-plainview.el (newsticker-mode-map):
13439 * emulation/ws-mode.el (wordstar-mode-map):
13440 * emulation/vi.el (vi-com-map):
13441 * calc/calc-graph.el (calc-graph-show-dumb):
13442 * term/sun.el (terminal-init-sun):
13443 * term/ns-win.el (global-map):
13444 * progmodes/grep.el (grep-mode-map):
13445 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13446 * mail/rmail.el (rmail-mode-map):
13447 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13448
04c52e2f
CY
13449 * custom.el (custom-safe-themes, load-theme): Treat value of t for
13450 custom-safe-themes as special.
13451
79adf8c8
JD
134522011-10-01 Julien Danjou <julien@danjou.info>
13453
13454 * notifications.el (notifications-notify): Fix docstring.
13455
63bd50d3
PS
134562011-10-01 Per Starbäck <per@starback.se>
13457
13458 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
13459
199e4c7e
MR
134602011-09-30 Martin Rudalics <rudalics@gmx.at>
13461
13462 * startup.el (command-line-1): Fix last fix by inserting
13463 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 13464 (Bug#9605) and (Bug#9636)
199e4c7e 13465
fe5f08dd
EZ
134662011-09-29 Eli Zaretskii <eliz@gnu.org>
13467
13468 * simple.el (line-move): If auto-hscroll-mode is disabled and the
13469 window is hscrolled, move by logical lines. (Bug#9607)
13470 (line-move-visual): Update the doc string to the above effect.
13471
b5516bbd
MR
134722011-09-29 Martin Rudalics <rudalics@gmx.at>
13473
ccee00c0
MR
13474 * window.el (display-buffer-record-window): When WINDOW is the
13475 selected window use `point' instead of `window-point'. (Bug#9626)
13476
b5516bbd
MR
13477 * startup.el (command-line-1): Use insert-before-markers when
13478 inserting initial-scratch-message. (Bug#9605)
ccee00c0 13479
b5516bbd
MR
13480 * help.el (help-window): Remove variable.
13481
52aa0014
GM
134822011-09-29 Glenn Morris <rgm@gnu.org>
13483
13484 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13485
df9a7357
JB
134862011-09-29 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * descr-text.el (describe-char-categories): Accept category
13489 descriptions more than one line long.
13490
a8406c20
SM
134912011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
13492
88d9610c
SM
13493 * simple.el (delete-trailing-whitespace): Fix last change.
13494
a5daf810
SM
13495 * progmodes/perl-mode.el (perl-syntax-propertize-function):
13496 Don't confuse "y => 3" as the beginning of a `y' operation.
13497
a8406c20
SM
13498 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13499 object has more than 4 slots (bug#9613).
13500
a239d4e9
JB
135012011-09-28 Juanma Barranquero <lekktu@gmail.com>
13502
13503 * subr.el (with-output-to-temp-buffer):
13504 * net/quickurl.el (quickurl, quickurl-browse-url):
13505 Fix typos in docstrings.
13506
693fbdb6
EZ
135072011-09-27 Eli Zaretskii <eliz@gnu.org>
13508
13509 * minibuffer.el (completion-styles)
13510 (completion-category-overrides): Cross reference each other in doc
13511 strings.
13512
8b457e28
GM
135132011-09-27 Glenn Morris <rgm@gnu.org>
13514
13515 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13516 to split-string. (Bug#9606)
13517
85a16208
LMI
135182011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13519
13520 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13521 (bug#9615).
13522
502f9ebd
CY
135232011-09-27 Chong Yidong <cyd@stupidchicken.com>
13524
13525 * emacs-lisp/package.el (list-packages): Fix echo area message.
13526
7690bdea
LL
135272011-09-27 Leo Liu <sdl.web@gmail.com>
13528
13529 * ido.el (ido-read-internal): Accept cons cell HIST arg.
13530
e2ee6f30
MA
135312011-09-25 Michael Albinus <michael.albinus@gmx.de>
13532
13533 * net/dbus.el (dbus-unregister-object): Don't release services for
13534 registered signals. (Bug#9581)
13535
f3f98342
TZ
135362011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
13537
13538 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13539 function that picks between cfengine 2 and 3 support
13540 automatically. Update docs accordingly.
13541
dd7aa8dd
KH
135422011-09-22 Kenichi Handa <handa@m17n.org>
13543
13544 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13545 ZERO.
13546 (indian-itrans-v5-table-for-tamil): New variable.
13547 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13548
3f2b07f8
KM
135492011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
13550
13551 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13552 that's true if the current command involved collapsing of text.
13553 It's reset to false at the beginning of the next command.
13554 (allout-post-command-business): Move the cursor to the beginning
13555 of entry if the cursor is hidden and collapsing activity just
13556 happened.
13557
371d6a61
CY
135582011-09-24 Chong Yidong <cyd@stupidchicken.com>
13559
13560 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13561 tracking (Bug#9541).
13562
2ac2721a
UJ
135632011-09-24 Ulf Jasper <ulf.jasper@web.de>
13564
13565 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
13566 (newsticker-show-news): Automatically load html rendering package
13567 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
13568 because w3m-fill-column is let-bound" and the error "Symbol's value
13569 as variable is void: w3m-fill-column".
2ac2721a 13570
fac7ae53
MA
135712011-09-24 Michael Albinus <michael.albinus@gmx.de>
13572
13573 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13574 Release services only if they are defined. (Bug#9581)
13575
e08b633b
RS
135762011-09-23 Richard Stallman <rms@gnu.org>
13577
e488d29c
RS
13578 * textmodes/paragraphs.el (forward-sentence): For backwards case,
13579 distinguish start of paragraph from start of its text.
13580
19c38752
RS
13581 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13582
e08b633b
RS
13583 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13584 (rmail-generate-viewer-buffer): Put that hook on view buffer.
13585 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13586
0a39f27e
AS
135872011-09-23 Andreas Schwab <schwab@linux-m68k.org>
13588
13589 * international/mule-diag.el (mule-diag): Insert a newline after
13590 each fontset description.
13591
db4e950d
SM
135922011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13593
13594 * simple.el (delete-trailing-whitespace):
13595 Document last change; simplify.
13596
eca3f3ea
PW
135972011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
13598
d68e189a
PW
13599 * simple.el (delete-trailing-whitespace): Also delete
13600 extra newlines at the end of the buffer.
13601
eca3f3ea
PW
13602 * textmodes/picture.el: Make motion commands obey shift-select-mode.
13603 (picture-newline): Use forward-line so as to ignore fields.
13604
01c157cc
SM
136052011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
13606
13607 * subr.el (with-wrapper-hook): Fix edebug spec.
13608
022de23e
LMI
136092011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13610
13611 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13612 (bug#4538).
13613
91683089
MA
136142011-09-23 Michael Albinus <michael.albinus@gmx.de>
13615
eca3f3ea
PW
13616 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13617 Fix nasty bug using wrong cached values.
91683089 13618
5bdd6fa4
AM
136192011-09-23 Alan Mackenzie <acm@muc.de>
13620
13621 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13622
97adfb97
CY
136232011-09-23 Chong Yidong <cyd@stupidchicken.com>
13624
13625 * window.el (pop-to-buffer): Ensure right window is selected if we
13626 chose another frame.
13627
d4ef2b50
EZ
136282011-09-22 Eli Zaretskii <eliz@gnu.org>
13629
13630 * simple.el (what-cursor-position): Use get-char-property-change
13631 and next-single-char-property-change, to be able to show display
13632 properties that come from overlays as well as text properties.
13633
72258fe5
CY
136342011-09-22 Chong Yidong <cyd@stupidchicken.com>
13635
13636 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13637
13638 * cmuscheme.el (run-scheme, switch-to-scheme):
13639 * cus-edit.el (customize-group, custom-buffer-create)
13640 (customize-browse):
13641 * info.el (info):
13642 * shell.el (shell):
13643 * mail/sendmail.el (mail):
13644 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13645
8f098516
RS
136462011-09-22 Richard Stallman <rms@gnu.org>
13647
13648 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13649 move back only to line beg, don't move back over blank lines.
13650
e74f1bb6
MA
136512011-09-22 Michael Albinus <michael.albinus@gmx.de>
13652
13653 * files.el (copy-directory): Set directory attributes only in case
13654 they could be retrieved from the source directory. (Bug#9565)
13655
bfeef8b6
DK
136562011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
13657
13658 * progmodes/hideshow.el (hs-looking-at-block-start-p)
13659 (hs-find-block-beginning, hs-hide-level-recursive):
13660 Ignore strings as well as comments. (Bug#9502)
13661
7e423bb8
AS
136622011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
13663
13664 * progmodes/sql.el (sql-comint-postgres):
13665 Convert port number to a string. (Bug#9566)
13666
b4d72fcf
MR
136672011-09-22 Martin Rudalics <rudalics@gmx.at>
13668
13669 * window.el (quit-window): Undedicate window when switching to
13670 previous buffer. Reported by Thierry Volpiatto
13671 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
13672 (special-display-popup-frame): When popping up a new frame reset
13673 its previous buffers to nil. Simplify code.
b4d72fcf 13674
a7b88dc6
MA
136752011-09-21 Michael Albinus <michael.albinus@gmx.de>
13676
13677 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13678 and process filter, as done also in `shell-command'.
13679
cf4eacfd
MR
136802011-09-21 Martin Rudalics <rudalics@gmx.at>
13681
eca3f3ea 13682 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
13683 Call set-window-start with NOFORCE argument t.
13684 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
13685 (quit-window): Reword doc-string. Handle new format of
13686 quit-restore parameter. Don't delete window if it has a
13687 previous buffer we can show instead of the present one.
13688 (display-buffer-record-window): Rewrite using a new format for
13689 the quit-restore window parameter
13690 (special-display-popup-frame, display-buffer-same-window)
13691 (display-buffer-reuse-window, display-buffer-pop-up-frame)
13692 (display-buffer-pop-up-window, display-buffer-use-some-window):
13693 Adapt symbol passed to display-buffer-record-window.
13694 * help.el (help-window-setup): Handle new format of quit-restore
13695 parameter.
13696
8d28cb95
SM
136972011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
13698
94ab793f
SM
13699 * faces.el (face-list): Fix docstring (bug#9564).
13700
8d28cb95
SM
13701 * window.el (display-buffer--action-function-custom-type):
13702 Don't include internal functions in the Custom interface.
13703
3820edeb
JL
137042011-09-20 Juri Linkov <juri@jurta.org>
13705
13706 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13707 (Info-forward-node, Info-backward-node, Info-next-preorder)
13708 (Info-last-preorder): Use it. (Bug#9528)
13709
5147931d
JL
137102011-09-20 Juri Linkov <juri@jurta.org>
13711
13712 * info.el (Info-last-preorder): Visit last menu item only when
13713 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13714
cf499a1a
JD
137152011-09-20 Julien Danjou <julien@danjou.info>
13716
13717 * password-cache.el (password-cache-remove): Remove entries even if the
13718 value is nil, so that password with a nil value (negative caching) is
13719 possible to invalidate.
13720
f84e2fe2
LM
137212011-09-20 Lawrence Mitchell <wence@gmx.li>
13722
13723 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13724 all whitespace around breakpoint. (Bug#9553)
13725 (f90-find-breakpoint): Only break at whitespace inside a comment.
13726
78054a46
SM
137272011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
13728
13729 * minibuffer.el (completion-file-name-table): Keep track of errors.
13730 (completion-table-with-predicate): Handle the case where pred1 is nil.
13731 * pcomplete.el (pcomplete-completions-at-point): Simplify.
13732
345083b2
SM
137332011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13734
e24e27be
SM
13735 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13736 (debugger-return-value): Signal an error if the debugging context does
13737 not await any return value.
13738
345083b2
SM
13739 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13740 * image-mode.el (image-toggle-display-text)
13741 (image-toggle-display-image): Stay away from evil `intangible'.
13742
08d355e3
LL
137432011-09-19 Leo Liu <sdl.web@gmail.com>
13744
13745 * replace.el (occur-revert-arguments): Make it permanent-local.
13746 (occur-mode): Don't call font-lock-defontify.
13747
f01da43f
CY
137482011-09-19 Chong Yidong <cyd@stupidchicken.com>
13749
13750 * net/ldap.el (ldap-search-internal): Don't push empty search
13751 result (Bug#9508).
13752
b6072fa6
SM
137532011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
13754
13755 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13756
443d6696
MA
137572011-09-19 Michael Albinus <michael.albinus@gmx.de>
13758
13759 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13760 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13761
7cc6e154
JL
137622011-09-18 Juri Linkov <juri@jurta.org>
13763
13764 * buff-menu.el (Buffer-menu-mode-map):
13765 * dired.el (dired-mode-map):
13766 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13767 (lisp-interaction-mode-map):
13768 * emacs-lisp/package.el (package-menu-mode-map):
13769 * epa.el (epa-key-list-mode-map):
13770 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13771 (menu-bar-options-menu):
13772 * outline.el (outline-mode-menu-bar-map):
13773 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13774 * vc/vc-dir.el (vc-dir-menu-map):
13775 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13776 Capitalize non-function content words in menu item strings.
13777
13778 * dired.el (dired-mode-map): Add menu item for
13779 `image-dired-dired-toggle-marked-thumbs'.
13780
80302a81
JL
137812011-09-18 Juri Linkov <juri@jurta.org>
13782
13783 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13784 to `isearch-case-fold-search' and restore its original value
13785 after the `isearch-mode' call.
13786
46c5cf66
JL
137872011-09-18 Juri Linkov <juri@jurta.org>
13788
13789 * progmodes/grep.el (grep-process-setup): Don't check code for 1
13790 because `zgrep' returns 1 for successful matches (bug#9226).
13791
d18b513b
JL
137922011-09-18 Juri Linkov <juri@jurta.org>
13793
13794 * info.el (Info-extract-menu-node-name): Check the second match
13795 for empty string (second test-case of bug#9528).
13796 (Info-last-preorder): Let-bind `Info-history' to nil to not add
13797 intermediate nodes to the history (first test-case of bug#9528).
13798
72753f87
JL
137992011-09-18 Juri Linkov <juri@jurta.org>
13800
13801 * info.el (Info-mode-syntax-table): New variable.
1154d12e 13802 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 13803
c9384295
JL
138042011-09-18 Juri Linkov <juri@jurta.org>
13805
1154d12e
JB
13806 * info.el (Info-file-supports-index-cookies):
13807 Increment line-beginning-position's arg from 3 to 4 because makeinfo
13808 outputs one more line for long file names (bug#4142).
c9384295 13809
d473dce8
CY
138102011-09-18 Chong Yidong <cyd@stupidchicken.com>
13811
13812 * newcomment.el (comment-normalize-vars): If prompting for
13813 comment-start, set comment-start-skip too (Bug#8424).
13814
2176854d
JB
138152011-09-18 Johan Bockgård <bojohan@gnu.org>
13816
13817 * icomplete.el: Fix previous fix of Bug#5849.
13818 (icomplete-mode): Don't set completion-show-inline-help.
13819 (icomplete-minibuffer-setup): Set completion-show-inline-help
13820 locally during icompletion.
13821
3aace4e4
CY
138222011-09-18 Chong Yidong <cyd@stupidchicken.com>
13823
c940224f
CY
13824 * woman.el (woman2-process-escapes): Don't delete unrecognized
13825 escapes (Bug#7843).
13826
3aace4e4
CY
13827 * files.el (inhibit-first-line-modes-regexps): Add image files.
13828 (hack-local-variables-prop-line): Return nil for malformed
13829 prop-lines (Bug#9044).
13830
710dec63
MA
138312011-09-18 Michael Albinus <michael.albinus@gmx.de>
13832
13833 * net/tramp.el (top): Don't require 'shell.
13834 (tramp-methods): Fix docstring.
13835 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
13836 Return complete remote file name. Handle "smb" case.
13837 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
13838 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13839
13840 * net/tramp-compat.el (top): Require 'shell.
13841
13842 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13843 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13844 `tramp-current-host'.
13845 (tramp-get-remote-tmpdir): Remove.
13846
13847 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13848 `tramp-tmpdir' entries.
13849 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13850 (tramp-smb-handle-file-attributes): Ignore errors.
13851 (tramp-smb-wait-for-output): Check also for process end.
13852
5d5ac8ec
LMI
138532011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13854
13855 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13856 when sending QUIT (bug#9312).
13857
8c0f49f0
CY
138582011-09-17 Chong Yidong <cyd@stupidchicken.com>
13859
13860 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13861 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13862 occur-mode-display-occurrence.
13863 (occur-edit-mode): Add usage message.
13864 (occur-cease-edit): New command.
13865 (occur-after-change-function): Use text properties to find the
13866 position of the prefix text.
13867 (occur-engine): Set stickiness of prefix text properties.
13868
8f1383f7
GM
138692011-09-17 Glenn Morris <rgm@gnu.org>
13870
13871 * progmodes/etags.el (complete-tag):
13872 Fix call to completion-in-region. (Bug#9526)
13873
744ba0e3
JL
138742011-09-17 Juri Linkov <juri@jurta.org>
13875
13876 * textmodes/ispell.el (ispell-word): Add to the error message
13877 the word, ispell program name and current dictionary (bug#9121).
13878 (ispell-tex-arg-end): Capitalize "error" in the error message.
13879
d9bbf400
AS
138802011-09-17 Andreas Schwab <schwab@linux-m68k.org>
13881
13882 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13883 check. (Bug#4251)
13884
8da11505
JL
138852011-09-17 Juri Linkov <juri@jurta.org>
13886
13887 * window.el (window-safe-min-height, window-safe-min-width):
13888 Fix typos (followup to bug#9522).
13889
a91adc7e
SJ
138902011-09-17 Sven Joachim <svenjoac@gmx.de>
13891
13892 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13893
064f328a
EZ
138942011-09-16 Eli Zaretskii <eliz@gnu.org>
13895
13896 * simple.el (line-move): If goal-column is set, move by logical
13897 lines, not by display lines. (Bug#971)
13898 (next-line, previous-line, goal-column, line-move-visual): Doc fix
13899 to reflect the above change.
13900
e69df516
SM
139012011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * image.el (imagemagick-register-types): Use regexp-opt.
13904
cbb0f9ab
CY
139052011-09-15 Chong Yidong <cyd@stupidchicken.com>
13906
13907 * window.el (display-buffer-base-action): Rename from
13908 display-buffer-default-action. Make default value empty.
13909 (display-buffer-overriding-action): Convert to defvar.
13910 (display-buffer-fallback-action): New var.
13911
25322144
CY
139122011-09-15 Chong Yidong <cyd@stupidchicken.com>
13913
13914 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13915 declaration.
13916 (package--add-to-archive-contents): If there is a duplicate entry
13917 with an older version, remove it.
13918 (package-menu-mark-delete, package-menu-mark-install)
13919 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
13920 (package-menu-mark-obsolete-for-deletion):
13921 Use package-menu-get-status instead of a regexp search.
25322144
CY
13922 (package-menu-get-status): Use tabulated-list-entry.
13923 (package-menu-mark-upgrades): New command.
d770725a 13924 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
13925 (package-menu-execute): Do installation before deletion.
13926 (package-menu-refresh, package-menu-execute): Use derived-mode-p
13927 instead of checking major-mode.
13928 (package-menu--find-upgrades): New function.
13929
7520339c
LMI
139302011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13931
13932 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13933 passwords in the log buffer.
65a046c4
LMI
13934 (smtpmail-process-filter): Update the process marker so that the
13935 "broken by peer" status message is inserted in the right place.
7520339c 13936
d3c30954
SM
139372011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
13938
3fe48822
SM
13939 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13940 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13941 bibtex-completion-at-point-function.
13942 (bibtex-completion-at-point-function): Use them.
13943
1b8b3954
SM
13944 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13945
d3c30954
SM
13946 * mpc.el (mpc-constraints-tag-lookup): New function.
13947 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13948 also to browser "album|playlist".
13949
72779976
JL
139502011-09-14 Juri Linkov <juri@jurta.org>
13951
13952 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
13953 (isearch-edit-string): Use length of `isearch-string' when
13954 `isearch-fail-pos' returns nil.
13955 (isearch-message): Remove duplicate code and call
13956 `isearch-fail-pos' with arg `t'.
13957
a0bf2bcd
CY
139582011-09-14 Chong Yidong <cyd@stupidchicken.com>
13959
17bb0a2d
CY
13960 * replace.el (occur-mode-goto-occurrence): Don't force using other
13961 window (Bug#9499).
13962
a0bf2bcd
CY
13963 * dired-aux.el (dired-do-chmod): Don't provide initial input.
13964
f678e0b6
MR
139652011-09-14 Martin Rudalics <rudalics@gmx.at>
13966
13967 * window.el (display-buffer-window): Remove.
13968 (display-buffer-record-window): Use help-setup window parameter
13969 instead of variable display-buffer-window.
13970 (display-buffer-function, special-display-buffer-names)
13971 (special-display-function): Mention help-setup parameter instead
13972 of display-buffer-window in doc-string.
d3c30954
SM
13973 * help.el (help-window-setup): New argument help-window.
13974 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
13975 Reword some messages.
13976 (with-help-window): Pass window used for displaying the buffer
13977 to help-window-setup. Don't set display-buffer-window.
13978
8e39b2e8
GM
139792011-09-13 Glenn Morris <rgm@gnu.org>
13980
13981 * emacs-lisp/debug.el (debugger-make-xrefs):
13982 Preserve point. (Bug#9462)
13983
85e9c04b
CY
139842011-09-13 Chong Yidong <cyd@stupidchicken.com>
13985
13986 * window.el (window-deletable-p): Use next-frame.
13987
1b36ed6a
MR
139882011-09-13 Martin Rudalics <rudalics@gmx.at>
13989
13990 * window.el (window-auto-delete): Remove.
13991 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 13992 dedication and previous buffers.
1b36ed6a
MR
13993 (switch-to-prev-buffer): Don't delete window.
13994 (delete-windows-on): Delete a window's frame if and only if the
13995 window is dedicated.
13996 (replace-buffer-in-windows): Delete buffer's window or frame if
13997 and only if window is dedicated.
13998 (quit-window): Handle quit-restore as before last change.
4d61f28d 13999 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 14000
ef8ef9fb
CY
140012011-09-13 Chong Yidong <cyd@stupidchicken.com>
14002
14003 * window.el (window-deletable-p): Never delete the last frame on a
14004 given terminal.
14005
b2cba41e
GM
140062011-09-13 Glenn Morris <rgm@gnu.org>
14007
14008 * help.el (describe-key-briefly): Copy previous standard-output change.
14009
51553db6 140102011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
14011
14012 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
14013
b7556719
GM
140142011-09-13 Glenn Morris <rgm@gnu.org>
14015
14016 * emacs-lisp/lisp-mode.el (lisp-indent-function):
14017 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
14018
64b51947
CY
140192011-09-12 Chong Yidong <cyd@stupidchicken.com>
14020
14021 * dired-aux.el (dired-mark-read-string): Don't return default
14022 value on empty input (Bug#9361).
14023 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
14024 Omit initial minibuffer contents.
14025 (dired-do-chmod): Signal an error on empty input.
14026 (dired-mark-read-string): Don't return default on empty input.
14027
14028 * files.el (file-modes-symbolic-to-number): Doc fix.
14029
393a301e
SM
140302011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
14031
14032 * international/mule-cmds.el (ucs-completions): Remove.
14033 (read-char-by-name): Use complete-with-action instead; add metadata.
14034
fa5660f9
CY
140352011-09-11 Chong Yidong <cyd@stupidchicken.com>
14036
14037 * window.el (display-buffer--action-function-custom-type)
14038 (display-buffer--action-custom-type): New vars.
14039 (display-buffer-alist, display-buffer-default-action)
14040 (display-buffer-overriding-action): Add defcustom types.
14041
4a592f66
CY
14042 * frame.el (delete-other-frames): Doc fix (Bug#276).
14043
73d56dbd
LMI
140442011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14045
14046 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
14047
37ac18a3
CY
140482011-09-11 Chong Yidong <cyd@stupidchicken.com>
14049
14050 Change modes that used same-window-* vars to use switch-to-buffer.
14051
14052 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
14053 Use switch-to-buffer.
14054
14055 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
14056 (customize-browse, custom-buffer-create-other-window):
14057 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
14058
14059 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
14060 (Info-prev, Info-up, Info-speedbar-goto-node)
14061 (info-display-manual): Use switch-to-buffer.
14062 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
14063
14064 * mail/sendmail.el (mail): Use switch-to-buffer.
14065 (mail-recover): Use switch-to-buffer-other-window.
14066
14067 * cmuscheme.el (run-scheme, switch-to-scheme):
14068 * ielm.el (ielm):
14069 * shell.el (shell):
14070 * net/rlogin.el (rlogin):
14071 * net/telnet.el (telnet, rsh):
14072 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
14073
10195bd6
AS
140742011-09-11 Andreas Schwab <schwab@linux-m68k.org>
14075
14076 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
14077
b322f63a
LMI
140782011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14079
39d7fed6
LMI
14080 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
14081 so don't mention it (bug#9301).
ba5a81f1 14082 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 14083
ee0e9f11
LMI
14084 * faces.el (face-spec-set-match-display): Make `(type graphic)'
14085 match `x', `w32' and `ns', like the manual says (bug#9029).
14086
0b1c89c1 14087 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
14088 (process-kill-buffer-query-function): Mention the buffer name in
14089 the query.
0b1c89c1 14090
77549ea8
LMI
14091 * image-mode.el (image-next-line): The line parameter is mandatory
14092 (bug#9258).
14093
803ef892
LMI
14094 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
14095 which can be useful (bug#9301).
14096
12980837
LMI
14097 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
14098
91054f8f
LMI
14099 * subr.el (match-string): Mention that the current buffer should
14100 be the same as the search was done in (bug#9282).
14101
b322f63a
LMI
14102 * facemenu.el: Disable the remove-* commands if the mark isn't
14103 active (bug#9162).
14104
3199b96f
CY
141052011-09-10 Chong Yidong <cyd@stupidchicken.com>
14106
14107 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
14108 of display-buffer.
14109 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
14110
14111 * replace.el (occur-mode-goto-occurrence)
14112 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
14113 and display-buffer.
14114
14115 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
14116 display-buffer.
14117
14118 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
14119 special-display and same-window variables.
14120 (mail-other-window): Use switch-to-buffer-other-window.
14121 (mail-other-frame): USe switch-to-buffer-other-frame.
14122
393a301e
SM
14123 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
14124 Use display-buffer-other-frame.
3199b96f
CY
14125 (gdb-display-gdb-buffer): Use pop-to-buffer.
14126
14127 * progmodes/gud.el (gud-goto-info): Use info-other-window.
14128
14129 * progmodes/python.el: Don't set same-window-buffer-names.
14130
14131 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
14132
14133 * window.el (display-buffer-alist): Add *Python*.
14134
8319e0bf
CY
141352011-09-10 Chong Yidong <cyd@stupidchicken.com>
14136
14137 * window.el (display-buffer-alist): Add entry for buffers
14138 previously handled same-window-*.
14139 (display-buffer-alist, display-buffer-default-action)
14140 (display-buffer-overriding-action): Mark as risky.
14141 (display-buffer-alist): Document action function changes.
14142 (display-buffer--same-window-action)
14143 (display-buffer--other-frame-action): New variables.
14144 (switch-to-buffer, display-buffer-other-frame): Use them.
14145 (display-buffer): Rename reuse-frame entry to reusable-frames.
14146 (display-buffer-reuse-selected-window): Function deleted.
14147 (display-buffer-reuse-window): Handle reusable-frames alist entry.
14148 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
14149 (display-buffer-special): New function.
14150 (display-buffer--maybe-pop-up-frame-or-window): Rename from
14151 display-buffer-reuse-or-pop-window. Split off special-display
14152 part into display-buffer-special.
14153 (display-buffer-use-some-window): Don't perform any special
14154 pop-up-frames handling.
14155 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 14156 (display-buffer--maybe-same-window): Rename from
0d3ff375 14157 display-buffer-maybe-same-window.
8319e0bf 14158
919a69aa
CY
14159 * info.el: Don't set same-window-regexps.
14160 (info-setup): New function.
14161 (info-other-window, info): Call it.
14162
14163 * cus-edit.el: Don't set same-window-regexps.
14164 (customize-group): New argument.
14165 (customize-group-other-window): Use it.
14166 (customize-face, customize-face-other-window): Likewise.
14167 (custom-buffer-create-other-window): Use pop-to-buffer directly.
14168
8319e0bf
CY
14169 * net/rlogin.el:
14170 * net/telnet.el:
14171 * progmodes/gud.el: Don't set same-window-regexps.
14172
14173 * cmuscheme.el:
14174 * ielm.el:
14175 * shell.el:
14176 * mail/sendmail.el:
14177 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
14178
25173000
JL
141792011-09-10 Juri Linkov <juri@jurta.org>
14180
14181 * isearch.el (isearch-edit-string): Remove obsolete mention of
14182 `C-w' (`isearch-yank-word-or-char') from docstring.
14183 (isearch-query-replace): Fix typo in docstring (bug#9466).
14184
056e44ef
JL
141852011-09-10 Juri Linkov <juri@jurta.org>
14186
14187 * paren.el (show-paren-function): Don't show escaped parens.
14188 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
14189
c3760c17
EZ
141902011-09-10 Eli Zaretskii <eliz@gnu.org>
14191
14192 * mail/sendmail.el (mml-to-mime, mml-attach-file)
14193 (mm-default-file-encoding): Remove autoload forms, they are
14194 replaced with autoload cookies in mml.el and mm-encode.el.
14195 (mail-add-attachment): New command.
14196 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
14197 (mail-mode): Mention mail-insert-file and mail-add-attachment in
14198 the doc string.
14199 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
14200
fece895e
RT
142012011-09-10 Reuben Thomas <rrt@sc3d.org>
14202
e69df516
SM
14203 * simple.el (count-words-region): Use buffer if there's no region
14204 (bug#9429).
fece895e 14205
5e68ce4a
JL
142062011-09-09 Juri Linkov <juri@jurta.org>
14207
14208 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
14209 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
14210 (wdired-isearch-filter-read-only): New function. (Bug#6362)
14211
0a6b9622
AM
142122011-09-09 Alan Mackenzie <acm@muc.de>
14213
14214 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
14215 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
14216
14a29deb
EZ
142172011-09-09 Eli Zaretskii <eliz@gnu.org>
14218
14219 Fix for Savannah bug#9392.
14220 * simple.el (mail-encode-mml): New defvar.
14221
14222 * mail/rmail.el (mail-encode-mml): Add a defvar.
14223 (rmail-enable-mime-composing): Default to t.
14224 (rmail-forward): Use MIME method of forwarding only if both
14225 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
14226 Set mail-encode-mml non-nil if the MIME method was used.
14227
14228 * mail/sendmail.el (mml-to-mime): Add autoload form.
14229 (mail-encode-mml): Add a defvar.
14230 (mail-mode): Make mail-encode-mml buffer-local and initialize it
14231 to nil.
14232 (mail-send): If mail-encode-mml is non-nil, run the outgoing
14233 message through mml-to-mime, and reset mail-encode-mml to nil.
14234
28c45130
GM
142352011-09-09 Glenn Morris <rgm@gnu.org>
14236
14237 * woman.el (woman-if-body): When processing an .el block,
14238 do not delete the next .el block as well. (Bug#9447)
69f4b618 14239 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 14240
9b1c252e
MR
142412011-09-08 Martin Rudalics <rudalics@gmx.at>
14242
14243 * window.el (window-deletable-p): Make sure window is live before
14244 invoking window-prev-buffers.
14245
567457e3
LL
142462011-09-08 Leo Liu <sdl.web@gmail.com>
14247
14248 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
14249
97f05794
JL
142502011-09-08 Juri Linkov <juri@jurta.org>
14251
14252 * progmodes/compile.el (compilation-environment): Make it
14253 a defcustom (bug#8340).
14254
8b0874b5
MR
142552011-09-08 Martin Rudalics <rudalics@gmx.at>
14256
14257 * window.el (frame-auto-delete): Rename to window-auto-delete.
14258 Make it control auto-deletion of windows and/or frames.
14259 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 14260 for deleting window/frame. (Bug#9419)
8b0874b5
MR
14261 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14262 Rewrite handling of case when window/frame can be deleted.
14263 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 14264 argument t. (Bug#9456)
8b0874b5 14265
4feb6e73
CY
142662011-09-07 Chong Yidong <cyd@stupidchicken.com>
14267
14268 * help-mode.el (help-mode): Restore autoload.
14269
91ab9c13
JL
142702011-09-07 Juri Linkov <juri@jurta.org>
14271
14272 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14273 `compilation-environment'. Set buffer-local
14274 `compilation-environment' to `thisenv' later after (funcall mode).
14275 (Bug#8340)
14276
14277 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
14278 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14279 instead of replacing its value. (Bug#8340)
14280
0527e251
JL
142812011-09-07 Juri Linkov <juri@jurta.org>
14282
14283 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14284 based on text properties put by `grep-filter' instead of matching
14285 escape sequences.
14286 (grep-mode): Set buffer-local `compilation-error-screen-columns'
14287 to the value of `grep-error-screen-columns' (bug#9438).
14288
249f792c
JL
142892011-09-07 Juri Linkov <juri@jurta.org>
14290
14291 * simple.el (next-error-highlight, next-error-highlight-no-select):
14292 Doc fix (bug#9432).
14293
ff7271b9
OT
142942011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
14295
14296 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14297 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
14298
183fc730
LL
142992011-09-07 Leo Liu <sdl.web@gmail.com>
14300
14301 * net/rcirc.el (rcirc-mode): Conditionally initialize
14302 rcirc-input-ring.
14303
77694924
SM
143042011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
14305
14306 * emacs-lisp/find-func.el (find-function-C-source): Only set
14307 find-function-C-source-directory after checking that we found a source
14308 file there (bug#9440).
14309
d809b8eb
AM
143102011-09-06 Alan Mackenzie <acm@muc.de>
14311
14312 * isearch.el (isearch-other-meta-char): Wherever a key list is
14313 unread, "unread" the prefix arg, too. This fixes bug #8901.
14314
453de99f
OG
143152011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
14316
14317 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14318
90439906
JL
143192011-09-05 Juri Linkov <juri@jurta.org>
14320
14321 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14322
f62bd846
JL
143232011-09-05 Juri Linkov <juri@jurta.org>
14324
14325 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14326 keeping point where processing of grep matches begins, and
14327 continue to delete remaining escape sequences from the same point.
14328 (grep-filter): Make leading zero optional in "0?1;31m" because
14329 git-grep emits "\033[1;31m" escape sequences unlike expected
14330 "\033[01;31m" as GNU Grep does (bug#9408).
14331 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14332
045820ec
JL
143332011-09-05 Juri Linkov <juri@jurta.org>
14334
14335 * subr.el (y-or-n-p): Capitalize "yes".
14336
f5e29b9b
MA
143372011-09-04 Michael Albinus <michael.albinus@gmx.de>
14338
14339 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
14340 `tramp-cache-unload-hook' where appropriate.
14341 (tramp-methods): Rename `tramp-remote-sh' to
14342 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
14343 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14344
14345 * net/tramp-sh.el (top): Don't require 'shell.
14346 (tramp-methods): Add `tramp-remote-shell' and
14347 `tramp-remote-shell-args' entries.
14348 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14349 (tramp-sh-handle-shell-command): Remove.
14350 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14351 Use `tramp-remote-shell'.
14352
2784c434
CY
143532011-09-03 Chong Yidong <cyd@stupidchicken.com>
14354
393a301e 14355 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
14356 (sendmail-query-once): Save directly to send-mail-function.
14357 Update message-send-mail-function too.
14358
14359 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14360
464cdf56
CS
143612011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14362
14363 * progmodes/python.el (python-mode-map): Use correct function to
14364 start python interpreter from menu-bar (as reported by Geert
14365 Kloosterman).
14366 (inferior-python-mode-map): Fix typo.
393a301e 14367 (python-shell-map): Remove.
464cdf56 14368
d37e5c87
DD
143692011-09-03 Deniz Dogan <deniz@dogan.se>
14370
14371 * net/rcirc.el (rcirc-print): Simplify code for
14372 rcirc-scroll-show-maximum-output. There is no need to walk
14373 through all windows to find the right one.
14374
f3ada0ee
CS
143752011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
14376
14377 * help.el (help-return-method): Doc fix.
14378
1f3c99ca
MR
143792011-09-03 Martin Rudalics <rudalics@gmx.at>
14380
14381 * window.el (window-deletable-p): Don't return a non-nil value
14382 when there's a buffer that was shown in the window before.
14383 (Bug#9419)
393a301e
SM
14384 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14385 Set window's previous buffers to nil.
1f3c99ca 14386
a3cf097f
EZ
143872011-09-03 Eli Zaretskii <eliz@gnu.org>
14388
14389 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14390 newline before and after the tag line, so it doesn't interfere
14391 with determining the paragraph direction of bidirectional text.
14392
3d03de90
LL
143932011-09-03 Leo Liu <sdl.web@gmail.com>
14394
14395 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
14396
c3313451
CY
143972011-09-02 Chong Yidong <cyd@stupidchicken.com>
14398
393a301e 14399 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
14400 (pop-to-buffer): Change interactive spec. Pass second argument
14401 directly to display-buffer.
14402 (display-buffer): Fix interactive spec. Use functionp to
14403 distinguish between a function and a list of functions.
14404
14405 * abbrev.el (edit-abbrevs):
14406 * arc-mode.el (archive-extract):
14407 * autoinsert.el (auto-insert):
14408 * bookmark.el (bookmark-bmenu-list):
14409 * files.el (find-file):
14410 * view.el (view-buffer):
14411 * progmodes/compile.el (compilation-goto-locus):
14412 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14413
89894cd8
CY
144142011-09-02 Chong Yidong <cyd@stupidchicken.com>
14415
14416 * window.el (display-buffer-alist): Doc fix.
14417 (display-buffer): Add docstring. Don't treat
14418 display-buffer-default specially.
14419 (display-buffer-reuse-selected-window)
14420 (display-buffer-same-window, display-buffer-maybe-same-window)
14421 (display-buffer-reuse-window, display-buffer-pop-up-frame)
14422 (display-buffer-pop-up-window)
14423 (display-buffer-reuse-or-pop-window)
14424 (display-buffer-use-some-window): New functions.
14425 (display-buffer-default-action): Use them.
393a301e 14426 (display-buffer-default): Delete.
89894cd8
CY
14427 (pop-to-buffer-1): Fix choice of actions.
14428
ae0bc9fb
SM
144292011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
14430
14431 * minibuffer.el (completion--insert-strings): Don't get confused by
14432 completion entries that end with an LF char.
14433
e9d90883
EZ
144342011-09-01 Eli Zaretskii <eliz@gnu.org>
14435
14436 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14437
437014c8
CY
144382011-09-01 Chong Yidong <cyd@stupidchicken.com>
14439
14440 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
14441 (display-buffer-same-window, display-buffer-other-window):
14442 New functions.
437014c8
CY
14443 (pop-to-buffer-1): New function. Use the above.
14444 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 14445 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
14446
14447 * view.el (view-buffer-other-window, view-buffer-other-frame):
14448 Just use pop-to-buffer.
14449
a5e063d5
TV
144502011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14451
14452 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
14453
793d32bb
WH
144542011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
14455
14456 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
14457
d65e4c15
RS
144582011-08-31 Richard Stallman <rms@gnu.org>
14459
14460 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14461 of the separation of rmail-view-buffer from rmail-buffer.
14462 If you say no to "replace original", the decrypt is in the
14463 view buffer. If you say yes, the decrypt goes into the
14464 rmail buffer also.
14465
f818cd2a
MR
144662011-08-31 Martin Rudalics <rudalics@gmx.at>
14467
14468 * window.el (display-buffer-window): Rewrite doc-string.
14469 (display-buffer-record-window): New function.
14470 (display-buffer-macro-specifiers)
14471 (display-buffer-even-window-sizes, display-buffer-set-height)
14472 (display-buffer-set-width, display-buffer-in-window)
14473 (display-buffer-reuse-window, display-buffer-split-specifiers)
14474 (display-buffer-side-specifiers, display-buffer-split-window-1)
14475 (display-buffer-split-window, display-buffer-split-atom-window)
14476 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14477 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14478 (display-buffer-other-window-means-other-frame)
14479 (display-buffer-normalize-special)
14480 (display-buffer-normalize-default)
14481 (display-buffer-normalize-argument)
14482 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14483 (display-buffer-normalize-specifiers, display-buffer-frame)
14484 (display-buffer-same-window, display-buffer-same-frame)
14485 (display-buffer-other-window)
14486 (display-buffer-same-frame-other-window)
14487 (display-buffer-other-frame, pop-to-buffer-same-window)
14488 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14489 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14490 (switch-to-buffer-same-frame)
14491 (switch-to-buffer-other-window-same-frame)
14492 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14493 (display-buffer-alist-set-1, display-buffer-alist-set-2)
14494 (display-buffer-alist-set): Remove.
14495 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
14496 (special-display-regexps, special-display-function):
14497 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
14498 parameter.
14499 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14500 (special-display-frame-alist, special-display-popup-frame)
14501 (same-window-buffer-names, same-window-regexps, same-window-p)
14502 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14503 (split-window-preferred-function, split-height-threshold)
14504 (split-width-threshold, window-splittable-p)
14505 (split-window-sensibly, window--try-to-split-window)
14506 (window--frame-usable-p, even-window-heights)
14507 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
14508 (window--display-buffer-2, display-buffer-other-frame):
14509 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
14510 (display-buffer-default, display-buffer-assq-regexp): New functions.
14511 (display-buffer-alist): Rewrite doc-string.
14512 (display-buffer-default-action)
14513 (display-buffer-overriding-action): New variables.
14514 (display-buffer, switch-to-buffer): Rewrite.
14515 (pop-to-buffer): Restore Emacs 23 behavior but use
14516 window-normalize-buffer-to-display.
14517 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14518 Restore Emacs 23 behavior but use
14519 window-normalize-buffer-to-switch-to.
14520 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
14521 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14522 Rewrite using Emacs 23 options.
f818cd2a 14523
5bc3b51d
MA
145242011-08-31 Michael Albinus <michael.albinus@gmx.de>
14525
14526 * net/tramp.el (tramp-root-regexp): Remove.
14527 (tramp-completion-file-name-regexp-unified)
14528 (tramp-completion-file-name-regexp-separate)
14529 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 14530 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
14531 (tramp-drop-volume-letter): Simplify definition.
14532 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 14533
b1a4f8e1
SM
145342011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14537 (bug#9356).
14538
5664fa7b
RT
145392011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
14540
b1a4f8e1 14541 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 14542
9a45d6c3
JL
145432011-08-29 Juri Linkov <juri@jurta.org>
14544
14545 * isearch.el (isearch-done): Don't display message "Mark saved"
14546 when arg `edit' is non-nil to prevent its flicker in the echo area.
14547
fb87e0fb
CY
145482011-08-28 Chong Yidong <cyd@stupidchicken.com>
14549
14550 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14551 obsolete packages for deletion.
14552
09ac1c2a
CS
145532011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
14554
14555 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 14556 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
14557 view-mode from help-mode.
14558 (help-xref-override-view-map): Remove.
14559 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14560 view-mode is not used anymore.
14561
7a1ff57f
CY
145622011-08-28 Chong Yidong <cyd@stupidchicken.com>
14563
14564 * server.el (server-port): Doc fix.
14565
b9696605
CY
14566 * cus-theme.el (custom-theme-choose-mode): Inherit from
14567 special-mode (Bug#9124).
14568 (custom-theme-choose-mode-map): Add special-mode to parent.
14569
ef8cdf8c
AM
145702011-08-28 Alan Mackenzie <acm@muc.de>
14571
14572 * progmodes/cc-fonts.el
14573 (c-make-font-lock-BO-decl-search-function): New function.
14574 (c-basic-matchers-after - "Fontify the clauses after various
14575 keywords"): Extract the three keyword lists for the 3 erroneous
14576 constructs from the list of four, and use the new function above
14577 in place of an old one.
14578
27de4e20
DD
145792011-08-28 Deniz Dogan <deniz@dogan.se>
14580
14581 * net/rcirc.el (rcirc-insert-prev-input)
14582 (rcirc-insert-next-input): Remove unused argument.
14583
356a3681
SM
145842011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
14585
14586 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14587
3fc9b218
AM
145882011-08-27 Alan Mackenzie <acm@muc.de>
14589
14590 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14591 handle function pointer parameters properly.
14592
538a061c
MR
145932011-08-27 Martin Rudalics <rudalics@gmx.at>
14594
14595 * window.el (display-buffer-reuse-window): Fix case where
14596 selected window was reused with non-nil OTHER-WINDOW argument.
14597 (Bug#9381)
14598
35b1c40c
DD
145992011-08-27 Deniz Dogan <deniz@dogan.se>
14600
14601 * net/rcirc.el (rcirc-check-auth-status): Adding support for
14602 oftc's NickServ messages.
14603
2f6a3e79
GM
146042011-08-27 Glenn Morris <rgm@gnu.org>
14605
14606 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
14607
7254299e
CY
146082011-08-26 Chong Yidong <cyd@stupidchicken.com>
14609
14610 * emacs-lisp/package.el (package-install): Call package-initialize
14611 if called interactively.
14612
f8ccf167
LL
146132011-08-26 Leo Liu <sdl.web@gmail.com>
14614
14615 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
14616
3e8cd5ce
JL
146172011-08-25 Juri Linkov <juri@jurta.org>
14618
14619 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14620 `search-whitespace-regexp' (bug#9364).
14621
93eb7113
JL
146222011-08-25 Juri Linkov <juri@jurta.org>
14623
14624 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14625 `regexp-search-ring' to their global values to protect from
14626 updating by `read-from-minibuffer' (bug#9185).
14627
f65d1611
JL
146282011-08-25 Juri Linkov <juri@jurta.org>
14629
14630 * textmodes/ispell.el (ispell-command-loop): Add newline
14631 at the end of the "Use option `i'..." line.
14632
f1cf7a31
JL
146332011-08-25 Juri Linkov <juri@jurta.org>
14634
14635 * battery.el (display-battery-mode): If `battery-status-function'
14636 or `battery-mode-line-format' is nil, display the message and set
14637 `display-battery-mode' to nil (bug#9363).
14638
0c95fcf7
EZ
146392011-08-25 Eli Zaretskii <eliz@gnu.org>
14640
14641 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14642 bidi-string-mark-left-to-right; they are unnecessary now.
14643
a2ebe600
DD
146442011-08-25 Deniz Dogan <deniz@dogan.se>
14645
14646 * net/quickurl.el: Documentation typo fixes.
14647
e4ed06f1
CY
146482011-08-25 Chong Yidong <cyd@stupidchicken.com>
14649
14650 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14651
e5f1c99e
GM
146522011-08-25 Glenn Morris <rgm@gnu.org>
14653
b2948976
GM
14654 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14655
e5f1c99e
GM
14656 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14657 (smtpmail-via-smtp): Handle nil response from smtp.
14658
f22f4808
JL
146592011-08-24 Juri Linkov <juri@jurta.org>
14660
14661 * proced.el (proced-marked): Inherit from `error' instead of
14662 `font-lock-warning-face'.
14663
14664 * ibuffer.el (ibuffer-marked-face): Change default face from
14665 `font-lock-warning-face' to `warning'.
14666 (ibuffer-deletion-face): Change default face from
14667 `font-lock-type-face' to `error'.
14668
14669 * battery.el (battery-update): Use the face `error' instead of
14670 `font-lock-warning-face' (bug#6117).
14671
6a93965e
JL
146722011-08-24 Juri Linkov <juri@jurta.org>
14673
14674 * faces.el (success): Change face color from "Green3" to
14675 "ForestGreen" on light background (bug#9353).
14676
1ed43b09
CY
146772011-08-24 Chong Yidong <cyd@stupidchicken.com>
14678
5664fa7b
RT
14679 * window.el (quit-window): Rename from quit-restore-window.
14680 Use same arglist as old quit-window.
1ed43b09
CY
14681 (frame-auto-delete): Doc fix.
14682
14683 * view.el (view-mode-exit): Use quit-window.
14684
11dcdbb2
JL
146852011-08-24 Juri Linkov <juri@jurta.org>
14686
14687 * isearch.el (isearch-ring-adjust1): Start visiting previous
14688 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14689 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14690 for empty search string (when the last search string is reused
14691 automatically) to adjust the isearch ring to the last element and
14692 prepare the correct index for further M-p commands (bug#9185).
14693
de62b4df
KH
146942011-08-24 Kenichi Handa <handa@m17n.org>
14695
14696 * international/ucs-normalize.el: If decomposition property of
14697 CHAR is the default one (i.e. a list of CHAR itself), treat it as
14698 nil.
14699 (nfd, nfkd): Likewise.
14700
963b492b
SM
147012011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
14702
14703 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14704 from process filters aren't reliably transmitted to the surrounding
14705 accept-process-output.
14706 (mpc-proc-check): New function.
14707 (mpc-proc-sync): Use it (bug#8293)
14708
93b6b5e1
SM
147092011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14710
14711 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14712 Add compatibility functions (bug#9313).
14713
bca633fb
EZ
147142011-08-23 Eli Zaretskii <eliz@gnu.org>
14715
b177498a
EZ
14716 * cus-start.el (all): Add entry for bidi-paragraph-direction.
14717
6df6ae42 14718 * international/uni-bidi.el: Regenerate.
bca633fb 14719
0902a04e
KH
147202011-08-23 Kenichi Handa <handa@m17n.org>
14721
14722 * international/charprop.el:
14723 * international/uni-bidi.el:
14724 * international/uni-category.el:
14725 * international/uni-combining.el:
14726 * international/uni-comment.el:
14727 * international/uni-decimal.el:
14728 * international/uni-decomposition.el:
14729 * international/uni-digit.el:
14730 * international/uni-lowercase.el:
14731 * international/uni-mirrored.el:
14732 * international/uni-name.el:
14733 * international/uni-numeric.el:
14734 * international/uni-old-name.el:
14735 * international/uni-titlecase.el:
14736 * international/uni-uppercase.el: Regenerate.
14737
3bbf23bc
MR
147382011-08-23 Martin Rudalics <rudalics@gmx.at>
14739
14740 * help.el (help-window-setup): Fix message displayed when other
14741 window is reused. (Bug#9341)
14742
b3fd59bd
SM
147432011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
14744
1802e444
SM
14745 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14746 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14747
b3fd59bd
SM
14748 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14749 Mark obsolete.
14750 * shell.el (shell-parse-pcomplete-arguments): New function.
14751 (shell-completion-vars): Use it instead (bug#9160).
14752
4eb61348
SM
147532011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
14754
867cab74
SM
14755 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14756 strings and comments (bug#9333).
14757
4eb61348
SM
14758 * emacs-lisp/debug.el (debug-arglist): New function.
14759 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
14760 (debug-on-entry-1): Handle interpreted closures (bug#9120).
14761
262a1439
JL
147622011-08-22 Juri Linkov <juri@jurta.org>
14763
56ee679c
JL
14764 * progmodes/compile.el (compilation-mode-font-lock-keywords):
14765 Revert regexp that highlights output switches to its old
14766 pre-2010-10-28 value and remove one `?' from it (bug#9319).
14767
262a1439
JL
14768 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14769 to check for empty output (bug#9226).
14770
f13f86fb
CY
147712011-08-22 Chong Yidong <cyd@stupidchicken.com>
14772
14773 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14774 symbol-constituent as the default, as that stops font-lock from
14775 working properly (Bug#8843).
14776
c65c9622
LMI
147772011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14778
14779 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14780 `coding-system-for-*' around the process open call to avoid
14781 auth-source side effects.
e7f2c178 14782 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
14783 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14784 probe hangs.
c65c9622 14785
23a8a5ab
CY
147862011-08-21 Chong Yidong <cyd@stupidchicken.com>
14787
ff98b2dd
CY
14788 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14789
23a8a5ab
CY
14790 * emacs-lisp/find-func.el (find-function-noselect): New arg
14791 lisp-only.
14792
14793 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14794 signal an error for built-in functions (Bug#6664).
14795
f5e3c598
LMI
147962011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14797
14798 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14799 (smtpmail-try-auth-methods): Use it.
14800
a3f2468a
CY
148012011-08-21 Chong Yidong <cyd@stupidchicken.com>
14802
2c34e8da
CY
14803 * font-lock.el (font-lock-fontify-region)
14804 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14805 (font-lock-default-unfontify-buffer)
14806 (font-lock-default-fontify-region)
14807 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14808
b3fd59bd
SM
14809 * progmodes/compile.el (compilation-error-properties):
14810 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
14811 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14812 `ant' regexp.
ee31aabc 14813
a3f2468a
CY
14814 * net/browse-url.el (browse-url-firefox): Don't call
14815 browse-url-firefox-sentinel unless using -remote (Bug#9328).
14816
8e999f70
GM
148172011-08-20 Glenn Morris <rgm@gnu.org>
14818
c21a496a
GM
14819 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14820
59ee0542
GM
14821 * tutorial.el (tutorial--default-keys): Update some default bindings.
14822
8e999f70
GM
14823 * files.el (hack-local-variables): Fully ignore case for "mode:".
14824
e3715033
AM
148252011-08-20 Alan Mackenzie <acm@muc.de>
14826
14827 Resolve invalid use of a regexp in regexp-opt.
14828
4d61f28d
JB
14829 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14830 detection for a java annotation.
e3715033 14831
4d61f28d 14832 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
14833 detection for a java annotation.
14834
4d61f28d
JB
14835 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14836 handling for java.
e3715033
AM
14837 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14838
04ed2e9c
CY
148392011-08-20 Chong Yidong <cyd@stupidchicken.com>
14840
14841 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14842 (Bug#9274).
14843
826cee64
AM
148442011-08-20 Alan Mackenzie <acm@muc.de>
14845
58179cce 14846 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
14847 such a construct. Mainly for when jit-lock etc. starts a chunk
14848 here.
14849
58179cce 14850 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 14851 variable.
58179cce 14852 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
14853 c-make-font-lock-search-function.
14854 (c-make-font-lock-search-function): Use the above function.
14855 (c-make-font-lock-context-search-function): New function.
14856 (c-cpp-matchers): Enhance the preprocessor expression case with
14857 the above function
14858 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14859 which takes an expression.
14860
14861 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14862
13009bd8
MR
148632011-08-20 Martin Rudalics <rudalics@gmx.at>
14864
14865 * window.el (display-buffer-reuse-window)
14866 (display-buffer-pop-up-window): Don't reuse or split a side
14867 window.
14868
9234ff7f
GM
148692011-08-19 Glenn Morris <rgm@gnu.org>
14870
14871 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 14872 Downcase "Mode:". (Bug#9331)
9234ff7f 14873
f635daa1
CY
148742011-08-18 Chong Yidong <cyd@stupidchicken.com>
14875
14876 * international/characters.el: Add L and R categories.
14877
14878 * subr.el (bidi-string-mark-left-to-right): Rename from
14879 string-mark-left-to-right. Use category search.
14880
14881 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14882
bc987f8b
JL
148832011-08-18 Juri Linkov <juri@jurta.org>
14884
14885 * faces.el (error, warning, success): New faces with definitions
14886 copied from old default values of `font-lock-warning-face',
14887 `compilation-warning', `compilation-info' (bug#6117).
14888
14889 * font-lock.el (font-lock-warning-face): Inherit from `error'.
14890
14891 * progmodes/compile.el (compilation-error): Inherit from `error'.
14892 (compilation-warning): Inherit from `warning'.
14893 (compilation-info): Inherit from `success'.
14894
14895 * dired.el (dired-marked): Inherit from `warning'.
14896 (dired-flagged): Inherit from `error'.
14897
57173b96
LMI
148982011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14899
3e79eb87
LMI
14900 * mail/smtpmail.el (auth-source): Require to avoid problems with
14901 binding variables (bug#9298). Also clean up some unused
14902 autoloads.
14903
b3fd59bd
SM
14904 * net/network-stream.el (network-stream-open-starttls):
14905 Support using starttls.el without using gnutls-cli.
57173b96 14906
02b404de
JL
149072011-08-17 Juri Linkov <juri@jurta.org>
14908
14909 * progmodes/grep.el (rgrep): Handle the case when
14910 `grep-find-command' is a cons cell (bug#9278).
14911
8c9177f2
MR
149122011-08-17 Martin Rudalics <rudalics@gmx.at>
14913
14914 * window.el (display-buffer-pop-up-frame): Run frame creation
14915 function with BUFFER current (as special-display-popup-frame
14916 does). Reported by Drew Adams.
14917
3644a0ab
DU
149182011-08-17 Daiki Ueno <ueno@unixuser.org>
14919
14920 * epa-mail.el: Simplify GnuPG group expansion using
14921 epg-expand-group.
14922 (epa-mail-group-alist, epa-mail-group-modtime)
14923 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14924 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14925 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14926 Remove.
14927
5e617bc2 149282011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
14929
14930 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14931
9c4aeabf
AM
149322011-08-16 Alan Mackenzie <acm@muc.de>
14933
14934 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14935 Correct, to avoid the inside of macros.
14936
3a99bf64
RS
149372011-08-16 Richard Stallman <rms@gnu.org>
14938
04963aa8
RS
14939 * epa-mail.el: Handle GnuPG group definitions.
14940 (epa-mail-group-alist, epa-mail-group-modtime)
14941 (epa-mail-gnupg-conf-file): New variables.
14942 (epa-mail-parse-groups, epa-mail-sync-groups)
14943 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14944 (epa-mail-expand-recipients): New functions.
14945 (epa-mail-encrypt): Call epa-mail-expand-recipients.
14946
177549d0
RS
14947 * mail/rmail.el (rmail-epa-decrypt): New command.
14948
fe38beef
RS
14949 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14950 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
14951 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14952 (epa-decrypt-armor-in-region): Make error message clearer.
14953
934eacb9
SM
149542011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14957 and "a2b" to "ab" for `prefix'.
14958
d024fb4e
CY
149592011-08-14 Chong Yidong <cyd@stupidchicken.com>
14960
14961 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14962 filter groups.
de148fee
CY
14963 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
14964 Fourquet (Bug#8804).
d024fb4e 14965
62f1ca49
JB
149662011-08-12 Juanma Barranquero <lekktu@gmail.com>
14967
14968 * startup.el (argi): Declare as global variable (bug#9275).
14969
9ccaaa4b
CY
149702011-08-12 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * subr.el (string-mark-left-to-right): Search the entire string
14973 for RTL script, not just the terminating character. Doc fix.
14974
a3dae87a
SM
149752011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
14976
6cd18349
SM
14977 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14978 New function.
14979 (js--regexp-literal, js-syntax-propertize-function): Remove.
14980 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14981 (js-mode-map): Don't rebind electric keys.
14982 (js-insert-and-indent): Remove.
14983 (js-mode): Setup electric-layout and electric-indent instead.
14984
a3dae87a
SM
14985 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14986
9d5cb631
DU
149872011-08-12 Daiki Ueno <ueno@unixuser.org>
14988
14989 * epa.el (epa-progress-callback-function): Fix the logic of
14990 displaying progress.
14991 * epa-file.el (epa-file-insert-file-contents): Make progress
14992 display more user-friendly.
14993 (epa-file-write-region): Ditto.
14994
3e26a4a2
CY
149952011-08-10 Chong Yidong <cyd@stupidchicken.com>
14996
14997 * subr.el (string-mark-left-to-right): New function.
14998
14999 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
15000 Use string-mark-left-to-right.
15001 (list-buffers-noselect): Caller changed.
15002
a3dae87a
SM
15003 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15004 Use string-mark-left-to-right.
3e26a4a2
CY
15005 (tabulated-list-print): Recenter after moving point.
15006
ac8cf6e6
JL
150072011-08-10 Juri Linkov <juri@jurta.org>
15008
15009 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
15010 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
15011 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
15012
8d96c9a4
CY
150132011-08-09 Chong Yidong <cyd@stupidchicken.com>
15014
15015 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
15016 (Bug#7554).
15017
7be1c708 150182011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
15019
15020 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
15021 character. (Bug#6594)
15022
37e11a63
CY
150232011-08-08 Chong Yidong <cyd@stupidchicken.com>
15024
839dde57
CY
15025 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
15026 (image-dired--with-db-file): New macro.
15027 (image-dired-write-tags, image-dired-remove-tag)
15028 (image-dired-create-gallery-lists, image-dired-write-comments)
15029 (image-dired-get-comment, image-dired-mark-tagged-files)
15030 (image-dired-list-tags, image-dired-gallery-generate): Use it.
15031 (image-dired-gallery-generate): Use insert-file-contents.
15032
37e11a63
CY
15033 * time.el (display-time-world-list, display-time-world-display):
15034 * time-stamp.el (time-stamp-string):
15035 * vc/add-log.el (add-change-log-entry): Use setenv instead of
15036 set-time-zone-rule (Bug#7337).
15037
0b4946c4
DU
150382011-08-08 Daiki Ueno <ueno@unixuser.org>
15039
15040 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
15041 (epg-error-to-string, epg-errors-to-string): New function.
15042 (epg-wait-for-completion): Reverse errors list.
15043 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
15044 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
15045 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
15046 (epg-sign-keys, epg-generate-key-from-file)
15047 (epg-generate-key-from-string): Format errors by using
15048 epg-errors-to-string (bug#9255).
15049 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
15050
75bfc667
JL
150512011-08-07 Juri Linkov <juri@jurta.org>
15052
15053 * faces.el (list-faces-display): Remove extra angle bracket
15054 from `help-mode-map'.
15055
15056 * info.el (Info-history-toc-nodes): Doc fix.
15057
15058 * longlines.el (longlines-mode): Doc fix.
15059
673e08bb
SM
150602011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
15061
4640dd88
SM
15062 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
15063 of statements and in a few more cases (bug#9183).
15064
673e08bb
SM
15065 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
15066 New functions.
15067 (cl-transform-lambda): Use them (bug#9239).
15068
89b3f019
MR
150692011-08-05 Martin Rudalics <rudalics@gmx.at>
15070
15071 * window.el (display-buffer-same-window)
15072 (display-buffer-same-frame, display-buffer-other-window)
15073 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15074 (pop-to-buffer-other-window)
15075 (pop-to-buffer-same-frame-other-window)
15076 (pop-to-buffer-other-frame): Make them defuns.
15077 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
15078
640c8776
SM
150792011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15080
15081 * subr.el (make-composed-keymap): Move from C. Change calling
15082 convention, and improve docstring to bring attention to a subtle point.
15083 * minibuffer.el (completing-read-default): Adjust accordingly.
15084
63648a95
MA
150852011-08-03 Michael Albinus <michael.albinus@gmx.de>
15086
15087 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
15088 (tramp-open-shell): Use `tramp-shell-quote-argument'.
15089
15090 * net/trampver.el: Update release number.
15091
b796c9b7
SM
150922011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
15095 "in" (bug#9190).
15096
2239d7d5
LMI
150972011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15098
e07dd7c3
LMI
15099 * mail/sendmail.el (sendmail-query-once): Restore the current
15100 buffer after querying (bug#9074).
15101
0e6a2bd7
LMI
15102 * dired.el (dired-flagged): Use different faces for marked and
15103 flagged files (bug#6117).
15104
ce887515
LMI
15105 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
15106 (bug#4433).
15107
92f2affc
LMI
15108 * ido.el (ido-mode): Switch off the message if called
15109 non-interactively.
15110
57d5aff0
LMI
15111 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
15112 before 587, since it appears that that's more likely to work for
15113 more people.
15114
98cd6c18 15115 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 15116 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
15117 exist.
15118
b96dec83
LMI
15119 * info.el: Remove the `Info-beginning-of-buffer' function
15120 (bug#8325).
15121
b796c9b7
SM
15122 * net/network-stream.el (network-stream-open-starttls):
15123 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 15124
d90e2ea0
MR
151252011-08-01 Martin Rudalics <rudalics@gmx.at>
15126
15127 * window.el (display-buffer-in-window): Don't set dedicated status
15128 of window here (Bug#9215).
15129 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15130 (display-buffer-pop-up-side-window)
b796c9b7 15131 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 15132
cca09170
SM
151332011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
15134
15135 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
15136 before binding generated-autoload-file.
15137
027b979c
DD
151382011-08-01 Deniz Dogan <deniz@dogan.se>
15139
15140 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
15141
3c7ee4f3
MA
151422011-07-30 Michael Albinus <michael.albinus@gmx.de>
15143
15144 Sync with Tramp 2.2.2.
15145
15146 * net/trampver.el: Update release number.
15147
2cc8e51a
JL
151482011-07-30 Juri Linkov <juri@jurta.org>
15149
15150 * dired-aux.el (dired-touch-initial): Remove function.
15151 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
15152 current time, and `default' to the last modification time of the
15153 current marked file (bug#6887).
15154
a514d856
JM
151552011-07-28 Jose E. Marchesi <jemarch@gnu.org>
15156
15157 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 15158 numeric argument to read-number (bug#9163).
a514d856 15159
8a7eddd7
MA
151602011-07-27 Michael Albinus <michael.albinus@gmx.de>
15161
15162 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
15163 connection process, it could be nil.
15164
1ddd96f5
LL
151652011-07-27 Leo Liu <sdl.web@gmail.com>
15166
15167 Simplify url handling in rcirc-mode.
15168
15169 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
15170 (rcirc-browse-url-at-mouse): Remove.
15171 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
15172
b248a85d
AM
151732011-07-26 Alan Mackenzie <acm@muc.de>
15174
15175 Fontify bitfield declarations properly.
15176
15177 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
15178 (c-symbol-chars): Now exported as a lang variable.
15179 (c-not-primitive-type-keywords): New lang variable.
15180
15181 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
15182 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 15183 parsed as a bitfield declaration.
b248a85d 15184
b796c9b7
SM
15185 * progmodes/cc-engine.el (c-beginning-of-statement-1):
15186 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
15187 (c-punctuation-in): New function.
15188 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
15189 declarations properly.
15190
68575ab0
UJ
151912011-07-26 Ulf Jasper <ulf.jasper@web.de>
15192
15193 * calendar/icalendar.el (icalendar--all-events): Take care of
15194 multiple vcalendars in a single file.
b796c9b7 15195 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 15196
0f0a88b9
DD
151972011-07-25 Deniz Dogan <deniz@dogan.se>
15198
15199 * image.el (insert-image): Clarifying docstring.
15200
0b3f36df
MA
152012011-07-24 Michael Albinus <michael.albinus@gmx.de>
15202
15203 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
15204 `tramp-send-command-and-check' if there is no error.
15205 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
15206
a9901f61
AM
152072011-07-22 Alan Mackenzie <acm@muc.de>
15208
15209 Prevent cc-langs.elc being loaded at run time.
15210
15211 * progmodes/cc-mode.el: Remove two autoload forms which loaded
15212 cc-langs.
15213
4d61f28d 15214 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
15215 "(require 'cc-langs)". Quote a form so it will evaluate at
15216 (cc-mode's) compilation time.
15217
11d074b2
MA
152182011-07-22 Michael Albinus <michael.albinus@gmx.de>
15219
15220 * net/tramp.el (tramp-file-name-handler): Avoid recursive
15221 loading. (Bug#9114)
15222
938b94c8
MR
152232011-07-21 Martin Rudalics <rudalics@gmx.at>
15224
15225 * window.el (display-buffer-pop-up-window)
15226 (display-buffer-pop-up-side-window)
15227 (display-buffer-in-side-window): Call display-buffer-set-height
15228 and display-buffer-set-width after setting the new window's
b796c9b7 15229 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 15230
bfa4f190
SS
152312011-07-20 Sam Steingold <sds@gnu.org>
15232
15233 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
15234 (etags-tags-included-tables): Call `convert-standard-filename' on
15235 the file names contained in TAGS so that windows Emacs can handle
15236 TAGS files created by cygwin ctags.
15237
8ca42262
LMI
152382011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
15239
15240 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
15241 which apparently didn't work.
15242
5db2afd2 152432011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 15244
5db2afd2
RW
15245 * proced.el (proced-send-signal): For *Marked Processes* buffer
15246 put point at beginning of buffer.
15247
92e15d10
SB
152482011-07-19 Stephen Berman <stephen.berman@gmx.net>
15249
15250 * proced.el (proced-format): Make header lines align with the text
15251 (bug#1779).
15252
1bfd59e5
LMI
152532011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
15254
15255 * view.el (view-buffer): Allow running in `special' modes if we're
15256 visiting a file (bug#8615).
15257
f5aae37c
MR
152582011-07-19 Martin Rudalics <rudalics@gmx.at>
15259
15260 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
15261 (display-buffer-alist-set-1, display-buffer-alist-set-2):
15262 New functions.
f5aae37c
MR
15263 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15264 more accurately.
15265
bf2c1571
AM
152662011-07-18 Alan Mackenzie <acm@muc.de>
15267
15268 Fontify declarators properly when, e.g., a jit-lock chunk begins
15269 inside a declaration.
15270
15271 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15272
b796c9b7
SM
15273 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15274 New function.
bf2c1571
AM
15275 (c-complex-decl-matchers): Insert reference to
15276 c-font-lock-enclosing-decls.
15277
15278 * progmodes/cc-engine.el (c-backward-single-comment):
15279 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15280 to nil around calls to (forward-comment -1).
15281
4e190b80
LMI
152822011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15283
12dc863d
LMI
15284 * image.el (put-image): Doc typo fix.
15285
a762e966
LMI
15286 * progmodes/etags.el (tags-search): Doc typo fix.
15287
4e190b80
LMI
15288 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15289 password if we get errors 550 to 554.
15290
f019fb21
LMI
152912011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
15292
b796c9b7 15293 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 15294
81746738
LMI
15295 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15296 indentation character (bug#6380).
15297
3ee3a1b5
LMI
15298 * files.el (buffer-offer-save): Made permanently local (bug#6241).
15299
c82f64de
LMI
15300 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15301 to clarify what the problem is (bug#4291).
15302
f019fb21
LMI
15303 * simple.el (current-kill): Clarify what
15304 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
15305 (auto-fill-mode): Document `auto-fill-function' in relation to
15306 `auto-fill-mode' (bug#2470).
f019fb21 15307
0794775d
LM
153082011-07-16 Lawrence Mitchell <wence@gmx.li>
15309
15310 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15311 method if slot is read-only (bug#9035).
15312
be39b8cc
MR
153132011-07-16 Martin Rudalics <rudalics@gmx.at>
15314
b796c9b7 15315 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 15316 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
15317 selected before, see discussion of (Bug#8615), (Bug#6954).
15318 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 15319
6ccf7859
GM
153202011-07-15 Glenn Morris <rgm@gnu.org>
15321
15322 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 15323 Respect help-form.
6ccf7859 15324
87e86684
LM
153252011-07-09 Lawrence Mitchell <wence@gmx.li>
15326
15327 * net/gnutls.el (gnutls-min-prime-bits): New variable.
15328 (gnutls-negotiate): Use it.
15329
d6066239
LMI
153302011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15331
b796c9b7
SM
15332 * net/gnutls.el (gnutls-negotiate):
15333 Upcase `gnutls-algorithm-priority'.
d6066239 15334
bd23ebc0
GM
153352011-07-15 Glenn Morris <rgm@gnu.org>
15336
c65bca65
GM
15337 * jka-compr.el (jka-compr-verbose): Move from here...
15338 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
15339 Add missing :version tag.
15340 * info.el: No need to require jka-compr when compiling.
bd23ebc0 15341
478615cc
LMI
153422011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15343
7b41decb
LMI
15344 * net/gnutls.el (gnutls-algorithm-priority): New variable.
15345 (gnutls-negotiate): Use it.
15346
dbc44fcd
LMI
15347 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15348
06789f97
LMI
15349 * info.el (Info-beginning-of-buffer): New command.
15350 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15351 announcing `b' as the key (bug#8325).
ab896c37 15352 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 15353
c39da690
LMI
15354 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15355
3aa5f34b
LMI
15356 * international/mule-cmds.el
15357 (describe-specified-language-support): Make the error message
15358 clearer (bug#8905).
15359
4bf0979f
LMI
15360 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15361
478615cc
LMI
15362 * isearch.el (isearch-barrier): Add a doc string, since it's
15363 mentioned in a function doc string (bug#8678).
15364
75c68aa1
MR
153652011-07-15 Martin Rudalics <rudalics@gmx.at>
15366
15367 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15368 buffer argument (Bug#9083) and self-identifying label argument.
15369
a7c33da2
GM
153702011-07-15 Glenn Morris <rgm@gnu.org>
15371
15372 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
15373
2f5c6024
LMI
153742011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15375
15376 * man.el (Man-fontify-manpage): Fix message when formatting the
15377 man page (bug#7929).
15378
0bb23927 153792011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
15380
15381 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15382 argument LRM; if non-nil, append an invisible LRM character to the
15383 buffer name.
15384 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15385 last argument non-nil, when formatting buffer names.
0bb23927
EZ
15386 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15387 paragraph direction.
cce4b0a7 15388
621ef9ab
LMI
153892011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15390
d1583c48
LMI
15391 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15392 the man page name (bug#7929).
15393
6a57fb5f
LMI
15394 * image.el (put-image): Mention the `put-image' overlay property
15395 (bug#7834).
15396
d7956b14
LMI
15397 * scroll-bar.el (set-scroll-bar-mode): Mention that
15398 `scroll-bar-mode' lists the values (bug#7772).
15399
5b2d4a66
LMI
15400 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15401 command (bug#7729).
15402
7509a874
LMI
15403 * rect.el (apply-on-rectangle): Return the point after the last
15404 operation.
15405 (string-rectangle): Go to the point after the last operation
15406 (bug#7522).
15407
4fe74b19
LMI
15408 * printing.el (pr-toggle-region): Clarify the documentation
15409 slightly (bug#7493).
15410
b796c9b7
SM
15411 * time.el (display-time-update):
15412 Allow `display-time-mail-function' to return nil (bug#7158).
15413 Fix suggested by Detlev Zundel.
ab283561 15414
fc233c9d
LMI
15415 * vc/diff.el (diff): Clarify the order the file names are read
15416 (bug#7111).
15417
43f5740b
LMI
15418 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15419 the doc string (bug#7015).
15420
f2182a76
LMI
15421 * font-lock.el (font-lock-maximum-decoration): Mention what
15422 numeric levels mean (bug#6935).
15423
621ef9ab
LMI
15424 * startup.el (initial-buffer-choice): Don't mention the `none'
15425 selection, which is against policy.
15426
adc47434
MR
154272011-07-14 Martin Rudalics <rudalics@gmx.at>
15428
b796c9b7
SM
15429 * window.el (display-buffer-normalize-special):
15430 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 15431
7e5bfb8f
EZ
154322011-07-14 Eli Zaretskii <eliz@gnu.org>
15433
15434 * subr.el (version<, version<=, version=): Mention "-CVS" and
15435 "-12345" alpha version numbers.
15436
27fa387a
CY
154372011-07-14 Chong Yidong <cyd@stupidchicken.com>
15438
15439 * bindings.el: Add advertised binding for set-mark-command
15440 (Bug#5772).
15441
8bdfa064
CY
154422011-07-14 Chong Yidong <cyd@stupidchicken.com>
15443
15444 * bindings.el (mode-line-other-buffer):
15445 * bookmark.el (bookmark-bmenu-2-window):
15446 * bs.el (bs-cycle-next, bs-cycle-previous):
15447 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15448 switch-to-buffer.
15449
15450 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 15451 Delete.
8bdfa064 15452
5eba16a3
JB
154532011-07-14 Juanma Barranquero <lekktu@gmail.com>
15454
15455 * follow.el (follow-debug-message, follow-redisplay):
15456 * jka-cmpr-hook.el (with-auto-compression-mode):
15457 Fix typos in docstrings.
15458
15853710
LMI
154592011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15460
a28e4607
LMI
15461 * subr.el (with-silent-modifications): Clarify somewhat what the
15462 macro inhibits (bug#6525).
15463
15853710
LMI
15464 * simple.el (eval-expression): Note what it does if called
15465 interactively (bug#6495).
15466
bee0fcef
CY
154672011-07-13 Chong Yidong <cyd@stupidchicken.com>
15468
b796c9b7
SM
15469 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15470 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
15471
15472 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15473 Remove switch-to-buffer.
15474
58274504
LMI
154752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15476
bd2fcc8d
LMI
15477 * files.el (make-directory): Clarify that an error will be raised
15478 if there's an error (bug#6397).
15479
0f04b32c
LMI
15480 * startup.el (initial-buffer-choice): Add `none' as a choice
15481 (bug#6234).
15482
465c5fc8
LMI
15483 * subr.el (add-hook): Clarify section about buffer-local hooks
15484 (bug#6218).
15485
58274504
LMI
15486 * dired.el (dired-flagged): Clarify doc string (bug#6117).
15487
bead9a43
JB
154882011-07-13 Juanma Barranquero <lekktu@gmail.com>
15489
15490 * tabify.el (untabify): Preserve the current column so that point
15491 doesn't move (bug#6032).
15492
3af98a7b
LMI
154932011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15494
b796c9b7
SM
15495 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15496 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 15497
6240145a
GM
154982011-07-13 Glenn Morris <rgm@gnu.org>
15499
15500 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
15501 (dired-insert-directory): Give a message the first time
15502 if ls is found not to support --dired.
15503
1d8c2ccc
LMI
155042011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15505
15506 * simple.el (toggle-truncate-lines): Clarify what is toggled
15507 (bug#5580). Text by Drew Adams.
15508
5fc4038e
CY
155092011-07-13 Chong Yidong <cyd@stupidchicken.com>
15510
15511 * simple.el (blink-matching-open): Make the error message from the
15512 last change less verbose.
15513
bf6012e5
DN
155142011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
15515
15516 * font-lock.el (font-lock-comment-face): Use the high contrast
15517 "yellow" color for font-lock-comment-face on low color terminals
15518 using a dark background color (bug#4221).
15519
343c3b5a
LMI
155202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15521
7e9505c5
LMI
15522 * dired.el (dired-insert-set-properties): Make the doc string
15523 reflect what it does now (bug#5325).
15524
c26fdcf5
LMI
15525 * simple.el (blink-matching-open): Say that we were unable to find
15526 the match within the limit, if we're limited (bug#5122).
15527
bb388cc5
LMI
15528 * international/mule-cmds.el (prefer-coding-system): Add an
15529 example (bug#4869).
15530
343c3b5a
LMI
15531 * progmodes/etags.el (tags-search): Document `file-list-form'
15532 (bug#4731).
15533
2a517d45
LM
155342011-07-13 Lawrence Mitchell <wence@gmx.li>
15535
15536 * net/browse-url.el (browse-url-default-browser)
15537 (browse-url-browser-function): Make the default browser choice a
15538 bit more logical (bug#4300). Also clean up the doc string.
15539
b6c78ef2
JB
155402011-07-13 Juanma Barranquero <lekktu@gmail.com>
15541
15542 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15543 binary endings (bug#4440).
15544
1c4dd947
LMI
155452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
15546
a2014063
LMI
15547 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15548 which can be pretty annoying (bug#8971).
15549
9c9c2d88
LMI
15550 * jka-compr.el (jka-compr-verbose): New variable, and use
15551 throughout (bug#8971).
15552
1c4dd947
LMI
15553 * info.el (Info-find-file): Fall back on the installation
15554 directory if we can't find the info node anywhere else.
15555
a1c9f41b
SO
155562011-07-13 Sergei Organov <osv@javad.com> (tiny change)
15557
15558 * vc/vc.el (vc-revert-file):
15559 Don't set file time-stamp in the past. (Bug#5181)
15560
536f3d36
LMI
155612011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15562
7152b011
LMI
15563 * files.el (after-find-file): Give a better error message when
15564 trying to find a symlink that points to a file that doesn't exist
15565 (bug#4398).
15566
536f3d36
LMI
15567 * progmodes/cc-vars.el: Remove (probably) misleading comment
15568 (bug#4396).
15569
460c0fba
JB
155702011-07-12 Johan Bockgård <bojohan@gnu.org>
15571
15572 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15573
7a6bda45
CY
155742011-07-12 Chong Yidong <cyd@stupidchicken.com>
15575
15576 * mouse-sel.el: Hack restoring functionality, while keeping
15577 compatibility with 2010-07-03 changes to mouse selection.
15578 (mouse-sel-primary-overlay): New var.
15579 (mouse-sel-selection-alist): Use it.
15580 (mouse-sel-mode): Doc fix; remove points that are default features
15581 of mouse.el.
15582
c79598ef
JB
155832011-07-12 Johan Bockgård <bojohan@gnu.org>
15584
15585 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15586 Fix previous fix (bug#2490).
15587
ff8be6ef
RW
155882011-07-12 Roland Winkler <winkler@gnu.org>
15589
b796c9b7
SM
15590 * textmodes/bibtex.el (bibtex-initialize):
15591 Use pop-to-buffer-same-window.
ff8be6ef
RW
15592 (bibtex-search-entries): Fix interactive call.
15593
296ba3ee
LMI
155942011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
15595
f5242a02 15596 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
15597 Fontise bytecomp Error lines more correctly (bug#2490).
15598 Fix suggested by Johan Bockgård.
f5242a02 15599
296ba3ee
LMI
15600 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15601
15602 * dired-x.el (dired-guess-default): Use `delete-dups'.
15603
f69fd0d2
CY
156042011-07-12 Chong Yidong <cyd@stupidchicken.com>
15605
15606 * dired.el (dired-mark-prompt):
15607 * dired-aux.el (dired-read-shell-command): Doc fix.
15608
eab5dc07
LMI
156092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15610
b796c9b7
SM
15611 * mail/sendmail.el (sendmail-query-once):
15612 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
15613 emacs -Q.
15614
15615 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15616
eab5dc07
LMI
15617 * cus-edit.el (custom-file): Take an optional no-error variable.
15618 (customize-save-variable): Set the variable, and give a warning if
15619 running under "emacs -q".
15620
a1e65d42
JB
156212011-07-11 Juanma Barranquero <lekktu@gmail.com>
15622
15623 * loadhist.el (unload-feature-special-hooks):
15624 Add `auto-coding-functions', `fill-nobreak-predicate' and
15625 `find-directory-functions' (bug#5327).
15626
1d52da10
LMI
156272011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15628
be958f1d
LMI
15629 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15630
5bedb26c
LMI
15631 * cus-edit.el (custom-guess-name-alist): -alist variables should
15632 use the `alist' type (bug#3120). Suggested by Drew Adams.
15633
1d52da10
LMI
15634 * printing.el: Add documentation to all the `pr-toggle-' commands.
15635
cd394be1 156362011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
15637
15638 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15639 backends where it makes sense (bug#2623).
15640
dcc88d8a
LMI
156412011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15642
c3de9feb
LMI
15643 * dired-x.el (dired-guess-default): Remove duplicate shell command
15644 entries (bug#2028).
8a93078b 15645 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 15646 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 15647
dcc88d8a
LMI
15648 * subr.el (remove-duplicates): New conveniency function.
15649
505e3645
LMI
156502011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
15651
15652 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15653 (bug#1526).
15654
156552011-07-10 Martin Rudalics <rudalics@gmx.at>
15656
15657 * window.el (display-buffer-normalize-default): Don't invert
15658 meaning of even-window-heights. Reported by Eli Zaretskii
15659 <eliz@gnu.org>.
15660
455e4fa1
BR
156612011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
15662
15663 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15664
8e0bc3e9
CY
156652011-07-10 Chong Yidong <cyd@stupidchicken.com>
15666
15667 * window.el (display-buffer): Fix arguments to
15668 display-buffer-reuse-window in last change.
15669
fa7c3228
CY
15670 * faces.el (link): Use a less saturated blue on light backgrounds.
15671
15672 * startup.el (fancy-startup-text, fancy-about-text)
15673 (fancy-startup-tail): Use font-lock faces, for background safety.
15674
c0a7f300
BN
156752011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
15676
b796c9b7
SM
15677 * emulation/viper-cmd.el (viper-change-state-to-vi):
15678 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 15679
4dc2a129
MR
156802011-07-09 Martin Rudalics <rudalics@gmx.at>
15681
15682 * window.el (display-buffer-default-specifiers): Remove.
15683 (display-buffer-macro-specifiers): Remove default specifiers.
15684 (display-buffer-alist): Default to nil.
b796c9b7 15685 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
15686 (display-buffer-pop-up-window): Allow splitting internal
15687 windows. Check whether a live window was created.
15688 (display-buffer-other-window-means-other-frame)
15689 (display-buffer-normalize-arguments): Rename to
15690 display-buffer-normalize-argument and rewrite. Set the
15691 other-window specifier.
15692 (display-buffer-normalize-special): New function.
15693 (display-buffer-normalize-options): Rename to
15694 display-buffer-normalize-default and rewrite.
15695 (display-buffer-normalize-options-inhibit): Remove.
15696 (display-buffer-normalize-specifiers): Rewrite.
15697 (display-buffer): Process other-window specifier and call
15698 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
15699 more faithfully.
b796c9b7 15700 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 15701 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
15702 (display-buffer-in-window, display-buffer-alist-set):
15703 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
15704 <tassilo@member.fsf.org>.
15705
2d43b8c9
LL
157062011-07-09 Leo Liu <sdl.web@gmail.com>
15707
15708 * register.el (insert-register): Restore accidental change on
15709 2011-06-26. (Bug#9028)
15710
7f9b7c53
GM
157112011-07-09 Glenn Morris <rgm@gnu.org>
15712
15713 * subr.el (remq): Handle the empty list. (Bug#9024)
15714
f042cfd8
AS
157152011-07-08 Andreas Schwab <schwab@linux-m68k.org>
15716
15717 * mail/sendmail.el (send-mail-function): No longer delay custom
15718 initialization.
15719 * custom.el (custom-initialize-delay): Doc fix.
15720
856b2f11
SM
157212011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15722
15723 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15724
afae1d68
MA
157252011-07-08 Michael Albinus <michael.albinus@gmx.de>
15726
15727 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15728 human-friendly prompt.
15729
0757af94
SM
157302011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
15731
15732 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15733 provided by a particular plugin.
15734
d760b731
LMI
157352011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
15736
15737 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15738 save customizations (with "emacs -Q"), just set the variable
15739 instead of erroring out.
15740
15741 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15742
cd79ce90
JL
157432011-07-08 Juri Linkov <juri@jurta.org>
15744
15745 * arc-mode.el (archive-zip-expunge, archive-zip-update)
15746 (archive-zip-update-case): Use 7z if found by `executable-find'.
15747 The order of searching the available programs is the same as in
15748 `archive-zip-extract' (bug#8968).
15749
14cc04aa
CY
157502011-07-07 Chong Yidong <cyd@stupidchicken.com>
15751
15752 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15753 (menu-bar-options-menu): Tweak descriptions.
15754
0a1848ec
LMI
157552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15756
15757 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15758 menu items into verb phrases (bug#1421). Also refill to fit under
15759 80 columns.
15760
f5bd0689
CY
157612011-07-07 Chong Yidong <cyd@stupidchicken.com>
15762
538e85c6
CY
15763 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15764 (Info-read-node-name): Doc fix (Bug#1084).
15765
f5bd0689
CY
15766 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15767 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15768 (end-of-sexp, beginning-of-sexp)
15769 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15770 (forward-symbol, forward-same-syntax, word-at-point)
15771 (sentence-at-point): Doc fix (Bug#1144).
15772
56ec5115
LMI
157732011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
15774
f3f8e37f
LMI
15775 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15776 should cover it (bug#1281).
15777
0757af94 15778 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 15779
e9fce1ac 15780 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
15781 negotiation fails, then possibly try again with a non-encrypted
15782 connection (bug#9017).
15783
56ec5115
LMI
15784 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15785 be used.
15786
c2f9aec8
RS
157872011-07-07 Richard Stallman <rms@gnu.org>
15788
15789 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15790 property, and handle its changed format.
15791 Look for the correct line number.
15792 Use file's line contents (but not past first =) to find
15793 correct line in message.
15794
ef7b981d 157952011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
15796
15797 * international/characters.el (build-unicode-category-table):
15798 Delete it.
0757af94 15799 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 15800
0757af94 15801 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
15802 to src/chartab.c.
15803 (get-char-code-property): Call unicode-property-table-internal to
15804 load a file. Call get-unicode-property-internal where necessary.
15805 (put-char-code-property): Call unicode-property-table-internal to
15806 load a file. Call put-unicode-property-internal where necessary.
15807 put-unicode-property-internal where necessary.
0757af94
SM
15808 (char-code-property-description):
15809 Call unicode-property-table-internal to load a file.
c805dec0
KH
15810
15811 * international/charprop.el:
15812 * international/uni-bidi.el:
15813 * international/uni-category.el:
15814 * international/uni-combining.el:
15815 * international/uni-comment.el:
15816 * international/uni-decimal.el:
15817 * international/uni-decomposition.el:
15818 * international/uni-digit.el:
15819 * international/uni-lowercase.el:
15820 * international/uni-mirrored.el:
15821 * international/uni-name.el:
15822 * international/uni-numeric.el:
15823 * international/uni-old-name.el:
15824 * international/uni-titlecase.el:
15825 * international/uni-uppercase.el: Regenerate.
15826
15827 * loadup.el: Load international/charprop.el before
15828 international/characters.
15829
e14b388a
CY
158302011-07-07 Chong Yidong <cyd@stupidchicken.com>
15831
15832 * window.el (next-buffer, previous-buffer): Signal an error if
15833 called from a minibuffer window.
15834
15835 * bindings.el: Revert 2011-07-04 change.
15836
354cf0ba
RS
158372011-07-06 Richard Stallman <rms@gnu.org>
15838
15839 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15840 (rmail-mime-insert-bulk, rmail-mime-insert-text):
15841 Treat markers like ints.
15842 (rmail-mime-entity): Doc fix.
15843
a48868a7
LMI
158442011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15845
4906cd3d
LMI
15846 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15847 defcustom again for backwards compatibility.
15848
e0457abe
LMI
15849 * simple.el (shell-command-on-region): Fill.
15850
d67f7e1f
LMI
15851 * dired-aux.el (dired-kill-line): Add a doc string.
15852
fe204702
LMI
15853 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15854 to "\\sw\\|\\s_" (bug#358).
15855
a48868a7
LMI
15856 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15857 (dired-unmark-backward): Ditto.
15858 (dired-flag-backup-files): Ditto.
15859
15860 * dired-x.el (dired-mark-sexp): Ditto.
15861
aa8a705c
RS
158622011-07-06 Richard Stallman <rms@gnu.org>
15863
15864 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15865 (rmail-mime-entity): New arg TRUNCATED.
15866 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15867 New functions.
15868 (rmail-mime-save): Warn if entity is truncated.
15869 (rmail-mime-toggle-hidden): Likewise, for showing.
15870 (rmail-mime-process-multipart): Record when an entity is truncated.
15871
a9a936b9
RS
15872 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15873 if ENTITY is a string.
15874
1f2b92cb
LMI
158752011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15876
f4f73198 15877 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
15878 of faces when `M-C-x'-ing their definitions (bug#8378).
15879 Also clean up the code slightly.
f4f73198 15880
12b16734 15881 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 15882 because that makes the colors go away.
12b16734 15883
f0691d22
LMI
15884 * mail/sendmail.el (send-mail-function): Change the default to
15885 `sendmail-query-once'.
9e87df06 15886 (sendmail-query-once): Add an autoload cookie.
f0691d22 15887
1f2b92cb
LMI
15888 * net/network-stream.el (network-stream-open-starttls): Try using
15889 a plain connection even if the server offered STARTTLS, and we
15890 kinda wanted to use it, if Emacs doesn't have any STARTTLS
15891 capability. This should make smtpmail.el work in slightly more
15892 configurations.
15893
1cdd2a1b
MA
158942011-07-06 Michael Albinus <michael.albinus@gmx.de>
15895
15896 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15897 New defun.
15898 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15899
fbcc67e2
MM
159002011-07-06 Michael R. Mauger <mmaug@yahoo.com>
15901
15902 * progmodes/sql.el: Version 3.0
0757af94 15903 (sql-product-alist): Add product :completion-object,
fbcc67e2 15904 :completion-column, and :statement attributes.
0757af94 15905 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 15906 (sql-mode-syntax-table): Mark all punctuation.
0757af94 15907 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
15908 ansi keywords.
15909 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 15910 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
15911 (sql-oracle-show-reserved-words): New function for development.
15912 (sql-product-font-lock): Simplify for source code buffers.
15913 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15914 New functions.
15915 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
15916 (sql-mode-map): Add statement movement functions.
15917 (sql-ansi-statement-starters, sql-oracle-statement-starters):
15918 New variable.
fbcc67e2
MM
15919 (sql-statement-regexp, sql-beginning-of-statement)
15920 (sql-end-of-statement, sql-signum): New functions.
0757af94 15921 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
15922 (sql-show-sqli-buffer): Bug fix.
15923 (sql-interactive-mode): Store connection data as buffer local.
0757af94 15924 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
15925 with sql-interactive-mode.
15926 (sql-save-connection): Save buffer local settings.
0757af94 15927 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
15928 (sql-product-interactive): Bug fix.
15929 (sql-preoutput-hold): New variable.
15930 (sql-interactive-remove-continuation-prompt): Bug fixes.
15931 (sql-debug-redirect): New variable.
15932 (sql-str-literal): New function.
15933 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 15934 Redesign.
fbcc67e2
MM
15935 (sql-oracle-save-settings, sql-oracle-restore-settings)
15936 (sql-oracle-list-all, sql-oracle-list-table): New functions.
15937 (sql-completion-object, sql-completion-column)
15938 (sql-completion-sqlbuf): New variables.
15939 (sql-build-completions-1, sql-build-completions)
15940 (sql-try-completion): New functions.
15941 (sql-read-table-name): Use them.
15942 (sql-contains-names): New buffer local variable.
15943 (sql-list-all, sql-list-table): Use it.
15944 (sql-oracle-completion-types): New variable.
15945 (sql-oracle-completion-object, sql-sqlite-completion-object)
15946 (sql-postgres-completion-object): New functions.
15947
d4eaeab1
GM
159482011-07-06 Glenn Morris <rgm@gnu.org>
15949
15950 * window.el (pop-to-buffer): Doc fix.
15951
322b7dab 159522011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
15953
15954 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15955
322b7dab 159562011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 15957
322b7dab 15958 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 15959
322b7dab 15960 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 15961
605dd5bf
CY
159622011-07-05 Chong Yidong <cyd@stupidchicken.com>
15963
15964 * button.el (button): Inherit from link face. Suggested by Dan
15965 Nicolaescu.
15966
7dbfa719
SM
159672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15968
3db614b0
SM
15969 * progmodes/gdb-mi.el: Fit in 80 columns.
15970 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15971 switch-to-buffer.
15972
7dbfa719
SM
15973 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15974 if imenu is simply not configured (bug#8941).
15975
919d884a
KM
159762011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
15977
15978 * allout.el (allout-post-undo-hook): New allout outline-change
15979 event hook to signal undo activity.
15980 (allout-post-command-business): Run allout-post-undo-hook if an
15981 undo just occurred.
7dbfa719
SM
15982 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15983 * allout-widgets.el (allout-widgets-after-undo-function):
15984 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
15985 in the vicinity of an undo.
15986 (allout-widgets-mode): Include allout-widgets-after-undo-function
15987 on the new allout-post-undo-hook.
15988
450a0f09
SM
159892011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
15990
15991 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15992 Let define-derived-mode define it.
15993 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15994 cycles of abbrev-table inheritance (bug#8998).
15995
2de69e00
RW
159962011-07-05 Roland Winkler <winkler@gnu.org>
15997
15998 * textmodes/bibtex.el: Add support for biblatex.
15999 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
16000 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
16001 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
16002 (bibtex-entry-alist, bibtex-field-alist): New variables.
16003 (bibtex-entry-field-alist): Obsolete alias for
16004 bibtex-BibTeX-entry-alist.
16005 (bibtex-entry-alist, bibtex-field-alist): New widgets.
16006 (bibtex-set-dialect): New command.
16007 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
16008 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
16009 Bind via bibtex-set-dialect.
2de69e00
RW
16010 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
16011 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
16012 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
16013 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
16014 Define via bibtex-set-dialect.
450a0f09
SM
16015 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
16016 Obey bibtex-no-opt-remove-re.
2de69e00
RW
16017 (bibtex-vec-push, bibtex-vec-incr): New functions.
16018 (bibtex-format-entry, bibtex-field-list)
16019 (bibtex-print-help-message, bibtex-validate)
16020 (bibtex-search-entries): Use new format of bibtex-entry-alist.
16021
2dcdbdd9
SM
160222011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
16023
16024 * progmodes/compile.el (compilation-goto-locus):
16025 * net/tramp-cmds.el (tramp-append-tramp-buffers):
16026 * bs.el (bs-cycle-next, bs-cycle-previous):
16027 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
16028 * bindings.el (mode-line-other-buffer):
16029 * autoinsert.el (auto-insert):
16030 * arc-mode.el (archive-extract):
16031 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
16032
b27640fe
JB
160332011-07-05 Juanma Barranquero <lekktu@gmail.com>
16034
16035 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
16036 Fix check of `emacs-lock-unlockable-modes'.
16037 Coerce true values of `emacs-lock--try-unlocking' to t.
16038
53bbe3ad
JB
160392011-07-05 Juanma Barranquero <lekktu@gmail.com>
16040
16041 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
16042 * emacs-lock.el: New file.
16043
1d3cdbc7
JD
160442011-07-05 Julien Danjou <julien@danjou.info>
16045
16046 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
16047 than `boundp' to check if face is set.
16048
9173deec
JB
160492011-07-05 Juanma Barranquero <lekktu@gmail.com>
16050
16051 * register.el (registerv-make):
16052 * window.el (window-min-height): Fix typos in docstrings.
16053
869795d6
JD
160542011-07-05 Jan Djärv <jan.h.d@swipnet.se>
16055
9173deec 16056 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
16057 Update doc string.
16058
b768cdcd
JB
160592011-07-04 Juanma Barranquero <lekktu@gmail.com>
16060
16061 * server.el (server-execute): Catch quit and call
16062 `server-return-error' to pass the error back to emacsclient and
16063 close the connection (bug#8942).
16064
13aa217b
KM
160652011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
16066
16067 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
16068 insecure exception for current topic. Also note that auto-saves
16069 are handled differently.
16070
5d3385a0 16071 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
16072 State variables for tracking auto-save inhibition situation.
16073
16074 (allout-write-contents-hook-handler): Rename from
16075 'allout-write-file-hook-handler', and describe how it depends on
16076 write-contents-functions sensitivity to non-nil value to prevent
16077 file write.
16078
16079 (allout-auto-save-hook-handler): Remove. auto-save does not check
16080 this in individual buffers, only in the starting buffer, so this
16081 is not the right way for us to inhibit auto-save in a buffer
16082 according to its condition.
16083
16084 (allout-mode): Use new allout-write-contents-hook-handler, and
16085 only with write-contents-functions. Remove auto-save provisions -
16086 they're implemented elsewhere.
16087
16088 (allout-before-change-handler): If undo is in progress, note that
16089 for attention of allout-post-command-business.
16090
16091 (allout-post-command-business): If the command we're following was
16092 an undo, check for change in the status of encrypted items and
16093 adjust auto-save inhibitions accordingly.
16094
16095 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
16096 according to whether there are or aren't any plain-text topics
16097 pending encryption.
16098
2dcdbdd9 16099 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
16100 Adjust buffer-saved-size and some allout state to inhibit auto-saves
16101 if there are plain-text topics pending encryption.
13aa217b
KM
16102
16103 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
16104 buffer-saved-size and some allout state to not inhibit auto-saves
16105 if there are no longer any plain-text topics pending encryption.
16106
0757af94
SM
16107 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
16108 No longer provide for exemption of the current topic.
13aa217b 16109
ac89b32c
JL
161102011-07-04 Juri Linkov <juri@jurta.org>
16111
16112 Add 7z operations to delete and save changed members (bug#8968).
16113 * arc-mode.el (archive-7z-expunge, archive-7z-update):
16114 New defcustoms.
16115 (archive-7z-write-file-member): New function.
16116 (archive-7z-summarize): Fix the number of dashes in the
16117 listing output.
16118
8fa39615
SM
161192011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16120
16121 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
16122 (bug#8958).
16123
2f11b3f1
CY
161242011-07-04 Chong Yidong <cyd@stupidchicken.com>
16125
d66fef2b
CY
16126 * bindings.el: Ignore next-buffer and previous-buffer in
16127 minibuffer-local-map.
16128
2f11b3f1
CY
16129 * font-lock.el (font-lock-builtin-face): Change light background
16130 color to dark slate blue (Bug#6693).
16131
f932a347
WD
161322011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
16133
16134 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
16135
c8af70e1
SM
161362011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
16137
16138 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
16139 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16140 Add switch-to-buffer.
16141
f158badc
LMI
161422011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16143
16144 * isearch.el (isearch-search-fun-function): Clarify further the
16145 meaning of the function returned.
16146
6d95bd46
MA
161472011-07-04 Michael Albinus <michael.albinus@gmx.de>
16148
16149 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
16150
16151 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
16152 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
16153 Use it.
16154 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
16155 `tramp-default-remote-path' does not exist.
16156 (tramp-send-command-and-read): New optional argument NOERROR.
16157 (tramp-open-connection-setup-interactive-shell)
16158 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
16159 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
16160 (tramp-process-sentinel): Flush also process' connection property.
16161 (tramp-sh-handle-start-file-process): Do not set process
16162 sentinel. It is done now ...
16163 (tramp-maybe-open-connection): ... here. (Bug#8929)
16164
909e6b67
MK
161652011-07-04 MON KEY <monkey@sandpframing.com>
16166
16167 * play/animate.el (animate-string): Doc fixes and allow changing
16168 the buffer name (bug#5417).
16169
161702011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
16171
c8af70e1 16172 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 16173
f34755dc
PE
161742011-07-04 Paul Eggert <eggert@cs.ucla.edu>
16175
396cec72
PE
16176 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
16177 This is simpler and helps future-proof the code.
16178 (timer-until): Use time-subtract and float-time.
08235028 16179 (timer--time-less-p): Use time-less-p.
f34755dc 16180
56e6cc31
JB
161812011-07-04 Juanma Barranquero <lekktu@gmail.com>
16182
3abb79e5
JB
16183 * type-break.el (timep): Use the value of `float-time' to avoid a
16184 byte-compiler warning.
16185
56e6cc31
JB
16186 * server.el (server-eval-and-print): Return any result, even nil.
16187
7b9430b4
PE
161882011-07-03 Paul Eggert <eggert@cs.ucla.edu>
16189
16190 * type-break.el: Accept time formats that the builtins accept.
16191 (timep, type-break-time-difference): Accept any format that
16192 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
16193 This is simpler and helps future-proof the code.
16194 (type-break-time-difference): Round rather than ignoring
16195 subseconds components.
16196
3034e9e7
LMI
161972011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16198
16199 * info.el (Info-apropos-matches): Make non-interactive, since it
16200 doesn't seem to do anything useful as a command (bug#8829).
16201
1485f4c0
CY
162022011-07-03 Chong Yidong <cyd@stupidchicken.com>
16203
16204 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 16205 Move from faces.el.
1485f4c0
CY
16206 (frame-default-terminal-background): New function.
16207
16208 * custom.el (custom-push-theme): Don't record faces in `changed'
16209 theme; this doesn't work correctly for per-frame face settings.
16210 (disable-theme): Use face-set-after-frame-default to reset faces.
16211 (custom--frame-color-default): New function.
16212
9fa3dd45
LMI
162132011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16214
c8af70e1 16215 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
16216 (bug#8769).
16217
6cbbc20c
KR
162182011-03-29 Kevin Ryde <user42@zip.com.au>
16219
16220 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16221 `perl-Test2' extend to match possible "fail #N" rep count
16222 (bug#8377).
16223
c7f98048
LMI
162242011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16225
65676592
LMI
16226 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
16227 `smtpmail-via-smtp' now returns the error instead of nil.
16228
c7f98048
LMI
16229 * isearch.el (isearch-search-fun-function): Clarify the doc string
16230 (bug#8101).
16231
56e6cc31 162322011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
16233
16234 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
16235 unnecessary spaces (bug#8987).
16236
2b216704
LMI
162372011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16238
16239 * net/network-stream.el (open-network-stream): Use the
16240 :end-of-capability command thoughout.
16241
162422011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
16243
16244 * net/network-stream.el (open-network-stream): Add the
16245 :end-of-capability command parameter, used by pop3.el.
16246
36adf6ce
LMI
162472011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16248
1ca0da0e
LMI
16249 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
16250
fc00f69c
LMI
16251 * fringe.el (fringe-query-style): Remove redundant text " (type ?
16252 for list)" (bug#6475).
16253
28fd8759 16254 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 16255 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
16256 an error (bug#6297).
16257
0dd8b6da
LMI
16258 * man.el (Man-reference-regexp): Allow matching possible
16259 word-wrapped references (bug#6289).
16260
ce1438d6
LMI
16261 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16262 for consistency with the other vc buffers (bug#6197).
16263 (vc-checkin): Ditto.
16264
16265 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16266
36adf6ce
LMI
16267 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16268
e83cc1f7
LMI
162692011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16270
8a20ca4c
LMI
16271 * custom.el (defcustom): Clarify that :set is only used in the
16272 Customize user interface (bug#6089).
16273
83319045
LMI
16274 * progmodes/flymake.el (flymake-mode): If the buffer isn't
16275 associated with a file, refuse to run instead of erroring out
16276 (bug#6084).
16277
a8392169
LMI
16278 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16279 the doc string, since it appears that using `fill-column' always
16280 controls the width (bug#7845).
16281
e83cc1f7
LMI
16282 * simple.el (shell-command-on-region): Say where the error output
16283 went if `shell-command-default-error-buffer' is set (bug#6857).
16284
e47ca23b
KM
162852011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
16286
16287 * allout.el (allout-yank-processing): Adjust cursor position for
16288 backwards-deleted space.
16289
16290 (allout-rebullet-heading): Register changes with
16291 allout-exposure-changed-hook, so the modified topic is properly
16292 decorated.
16293
5cf56143
LMI
162942011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16295
08549772
LMI
16296 * minibuffer.el (completion-in-region): Document PREDICATE
16297 (bug#7136).
16298
48e96771
LMI
16299 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16300 of keyword/argument pairs (bug#6904).
16301
c8af70e1
SM
16302 * replace.el (multi-occur):
16303 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 16304
e17d05e2
LMI
163052011-07-02 Drew Adams <drew.adams@oracle.com>
16306
16307 * dired.el (dired-mark-if): Make the message about whether it's
16308 marking or unmarking clearer (bug#8523).
16309
063b0e45
LMI
163102011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16311
16312 * disp-table.el (display-table-print-array): New function.
16313 (describe-display-table): Use it to print the vectors more pretty
16314 (Bug#8859).
16315
28545e04
MR
163162011-07-02 Martin Rudalics <rudalics@gmx.at>
16317
16318 * window.el (window-state-get-1): Don't assign clone numbers.
16319 Add clone-of item to list of window parameters.
16320 (window-state-put-2): Don't process clone numbers.
16321 (display-buffer-alist): Fix doc-string.
16322
3349e122
SM
163232011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
16324
16325 * subr.el (remq): Don't allocate if it's not needed.
16326 (keymap--menu-item-binding, keymap--menu-item-with-binding)
16327 (keymap--merge-bindings): New functions.
16328 (keymap-canonicalize): Use them to refine the canonicalization.
16329 * minibuffer.el (minibuffer-local-completion-map)
16330 (minibuffer-local-must-match-map): Move initialization from C.
16331 (minibuffer-local-filename-completion-map): Move initialization from C;
16332 don't inherit from anything here.
16333 (minibuffer-local-filename-must-match-map): Make obsolete.
16334 (completing-read-default): Use make-composed-keymap to combine
16335 minibuffer-local-filename-completion-map with either
16336 minibuffer-local-must-match-map or
16337 minibuffer-local-filename-completion-map.
16338
d224ac83
GM
163392011-07-01 Glenn Morris <rgm@gnu.org>
16340
3de63bf8
GM
16341 * type-break.el (type-break-time-sum): Use dolist.
16342
d224ac83
GM
16343 * textmodes/flyspell.el (flyspell-word-search-backward):
16344 Replace CL function.
16345
1a1e3f32
SM
163462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16347
fe3f64d5
SM
16348 * mouse.el (mouse--strip-first-event): New function.
16349 (function-key-map): Use it to map fringe clicks to normal clicks
16350 by default.
16351
eb604e34
SM
16352 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16353 (vc-bzr-revision-completion-table): Add support for annotate and date.
16354
1a1e3f32
SM
16355 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16356 inherit from parent.
16357
5bd35902
LMI
163582011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16359
ace6c69c 16360 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 16361 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 16362
191e2bed
LMI
16363 * dired.el (dired-mode): Fix up the doc string as suggested by
16364 Drew Adams (bug#8817).
16365
5bd35902
LMI
16366 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16367 cookie, since the manual says that it should be possible to add
16368 this function to `find-file-hook' (bug#8709).
16369
eee8207a
TZ
163702011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16371
16372 * progmodes/cfengine.el: Moved all cfengine3.el functionality
16373 here. Noted Ted Zlatanov as the maintainer.
16374 (cfengine-common-settings, cfengine-common-syntax): New functions
16375 to set up common things between `cfengine-mode' and
16376 `cfengine3-mode'.
16377 (cfengine3-mode): New mode.
16378 (cfengine3-defuns cfengine3-defuns-regex
16379 (cfengine3-class-selector-regex cfengine3-category-regex)
16380 (cfengine3-vartypes cfengine3-font-lock-keywords)
16381 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 16382 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 16383
36b148cf
MA
163842011-07-01 Michael Albinus <michael.albinus@gmx.de>
16385
16386 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16387
16388 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16389
0bf4ba9a
MR
163902011-07-01 Martin Rudalics <rudalics@gmx.at>
16391
16392 * window.el (same-window-buffer-names, same-window-regexps)
16393 (same-window-p, special-display-frame-alist)
16394 (special-display-popup-frame, special-display-function)
16395 (special-display-buffer-names, special-display-regexps)
16396 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16397 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16398 (split-window-preferred-function, split-height-threshold)
16399 (split-width-threshold, even-window-heights)
16400 (display-buffer-mark-dedicated, window-splittable-p)
16401 (split-window-sensibly, window-safely-shrinkable-p):
16402 Un-obsolete.
16403 (display-buffer): Don't spread args with function specifier
16404 because special-display-popup-frame won't like it.
16405
35837f51
PE
164062011-07-01 Paul Eggert <eggert@cs.ucla.edu>
16407
d0672f86
PE
16408 Time-stamp simplifications and fixes.
16409 These improve accuracy slightly, and future-proof the code
16410 against some potential changes to current-time format.
16411
b9444d97
PE
16412 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16413 by using time-since and float-time.
16414
0ef923dc
PE
16415 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16416 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
16417 + NNN microseconds".
16418
2f81380d
PE
16419 * type-break.el (type-break-time-sum): Rewrite using time-add.
16420
845b5c3e
PE
16421 * play/hanoi.el (hanoi-current-time-float): Remove.
16422 All uses replaced by float-time.
16423
ee6f1be0
PE
16424 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16425 This yields a more-accurate answer.
16426 (rng-time-to-float): Remove; no longer needed.
16427
fe955043
PE
16428 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16429
5777162a
PE
16430 * calendar/timeclock.el (timeclock-seconds-to-time):
16431 Defalias to seconds-to-time, since they're the same thing.
16432
3103f8b6 16433 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 16434 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
16435 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16436
0e61a35f
SM
164372011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16438
16439 * window.el (bury-buffer): Don't iconify the only frame.
16440 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16441 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
16442
ddd63a1e
CY
164432011-07-01 Chong Yidong <cyd@stupidchicken.com>
16444
0e61a35f
SM
16445 * eshell/em-smart.el (eshell-smart-display-navigate-list):
16446 Add mouse-yank-primary.
ddd63a1e 16447
055f4923
TZ
164482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
16449
16450 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16451
6a2fb145
SM
164522011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
16453
16454 * emacs-lisp/find-func.el (find-library--load-name): New fun.
16455 (find-library-name): Use it to find relative load names when provided
16456 absolute file name (bug#8803).
16457
fd4983f2
LMI
164582011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16459
887d14ad
LMI
16460 * textmodes/flyspell.el (flyspell-word): Consider words that
16461 differ only in case as potential doublons (bug#5687).
16462
c53dc7fc
LMI
16463 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16464 Remove two rather uninteresting debugging-like messages to make
16465 debbugs.el more silent.
16466
fd4983f2
LMI
16467 * comint.el (comint-password-prompt-regexp): Accept "Response" as
16468 a password-like phrase.
16469
7a71b18d 164702011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
16471
16472 * progmodes/cc-guess.el: New file.
16473
6a2fb145 16474 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
16475
16476 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16477 derived from `c-basic-common-init'.
16478
16479 * progmodes/cc-mode.el (top-level): Require cc-guess.
16480 (c-basic-common-init): Use `cc-choose-style-for-mode'.
16481
1fa280a3
LM
164822011-06-30 Lawrence Mitchell <wence@gmx.li>
16483
16484 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16485
e6597158
AM
164862011-06-30 Alan Mackenzie <acm@muc.de>
16487
1fa280a3
LM
16488 * progmodes/cc-engine.el (c-guess-continued-construct):
16489 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
16490 lock is disabled. Name this case as "CASE G".
16491
68ba37fb
KM
164922011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
16493
16494 * allout.el (allout-yank-processing): Fix injection of extra space
16495 between bullet and non-whitespace character in first topic when
16496 pasting, ensuring that the actual spacing in the pasted topic
16497 following the bullet char is preserved. This extra space was
16498 causing pasted encrypted topics to get a decrypted status even
16499 when the content was actually still encrypted. Now the decryption
16500 status from before the paste is preserved.
16501
16502 (allout-flag-region): Set all allout overlays so they evaporate
16503 when reduced to zero length (evanescent), to prevent overlay
16504 leakage.
16505
887a0b34
GM
165062011-06-30 Glenn Morris <rgm@gnu.org>
16507
94b9acce
GM
16508 * w32-fns.el (w32-charset-info-alist): Declare.
16509
1d9b46d4
GM
16510 * find-dired.el (find-grep-options): Simplify.
16511
cc232200
GM
16512 * term/ns-win.el (ns-set-resource): Declare.
16513
28e77c46
GM
16514 * ses.el (row, col): Declare dynamic variables honestly.
16515
887a0b34
GM
16516 * textmodes/reftex-parse.el (index-tags): Declare.
16517
658d8eb8
CY
165182011-06-30 Chong Yidong <cyd@stupidchicken.com>
16519
16520 * cus-edit.el (customize-push-and-save): New function.
16521
16522 * files.el (hack-local-variables-confirm): Use it.
16523
1fa280a3
LM
16524 * custom.el (load-theme): New arg NO-CONFIRM.
16525 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
16526 (custom-enabled-themes): Doc fix.
16527
16528 * cus-theme.el (customize-create-theme)
16529 (custom-theme-merge-theme): Callers to load-theme changed.
16530
bb617717
LMI
165312011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
16532
d61bdd5d
LMI
16533 * thingatpt.el (thing-at-point-short-url-regexp): Require that
16534 short URLs have at least one dot in them (bug #7614).
16535
bb617717
LMI
16536 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16537 nil, because using a pty is apparently too slow (bug #895).
16538
2f31f37a
LMI
165392011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
16540
16541 * mail/sendmail.el (sendmail-query-once): New function.
16542 (sendmail-query-once-function): New variable.
16543
3076b24e
GM
165442011-06-29 Glenn Morris <rgm@gnu.org>
16545
faf2a174
GM
16546 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16547
3076b24e
GM
16548 * ses.el (top-level): Require cl when compiling.
16549 (ses-set-localvars): Fix error statement.
16550 Call it at compile time to silence a storm of warnings.
16551
5386012d
MR
165522011-06-29 Martin Rudalics <rudalics@gmx.at>
16553
16554 * window.el (normalize-live-buffer): Rename to
16555 window-normalize-buffer.
16556 (normalize-live-frame): Rename to window-normalize-frame.
16557 (normalize-any-window): Rename to window-normalize-any-window.
16558 (normalize-live-window): Rename to window-normalize-live-window.
16559 (make-window-atom): Rename to window-make-atom.
16560 (window-resize-reset): Rename to window--resize-reset.
16561 (window-resize-reset-1): Rename to window--resize-reset-1.
16562 (resize-mini-window): Rename to window--resize-mini-window.
16563 (resize-subwindows-skip-p): Rename to
16564 window--resize-subwindows-skip-p.
16565 (resize-subwindows-normal): Rename to
16566 window--resize-subwindows-normal.
16567 (resize-subwindows): Rename to window--resize-subwindows.
16568 (resize-other-windows): Rename to window--resize-siblings.
16569 (resize-this-window): Rename to window--resize-this-window.
16570 (resize-root-window): Rename to window--resize-root-window.
16571 (resize-root-window-vertically): Rename to
16572 window--resize-root-window-vertically.
16573 (normalize-buffer-to-display): Rename to
16574 window-normalize-buffer-to-display.
16575 (normalize-buffer-to-switch-to): Rename to
16576 window-normalize-buffer-to-switch-to.
16577 Correspondingly update all callers of the functions listed
16578 above.
16579 (display-buffer-alist, display-buffer-normalize-arguments)
16580 (display-buffer-normalize-options, display-buffer)
16581 (display-buffer-alist-set): Use "function" instead of
16582 "fun-with-args".
16583
1176868d
CY
165842011-06-28 Chong Yidong <cyd@stupidchicken.com>
16585
16586 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16587 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
16588 debbugs.gnu.org. Mention acknowledgment email.
16589
20a7a65f
LMI
165902011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
16591
16592 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16593 buffer multibyteness, since it shouldn't matter.
16594
5f45cca5
MR
165952011-06-28 Martin Rudalics <rudalics@gmx.at>
16596
16597 * window.el (display-buffer-in-side-window): Handle dedicated
16598 windows as in display-buffer-reuse-window.
16599 (display-buffer-normalize-alist): Use value of override
16600 specifier.
16601 (display-buffer-normalize-specifiers): Use value of
16602 other-window-means-other-frame specifier.
16603 (display-buffer-alist): Rewrite some texts in widgets.
16604 (display-buffer): Spread arguments when calling function
16605 specified by fun-with-args.
16606
ad85fe1f
DD
166072011-06-28 Deniz Dogan <deniz@dogan.se>
16608
1fa280a3
LM
16609 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16610 Unnest `let'.
da68c4c8 16611
ad85fe1f
DD
16612 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16613 selectors (Bug#5732).
ec49bd31 16614 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 16615
a08cc025
JA
166162011-06-27 Jari Aalto <jari.aalto@cante.net>
16617
16618 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16619 (eshell-ls-date-format): New defcustom.
16620 (eshell-ls-file): Use it.
16621
e2b551c5
SM
166222011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16623
16624 * help-fns.el (describe-variable): Fix message for terminal-local vars.
16625
8982b231
KY
166262011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
16627
16628 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16629 (ange-ftp-make-tmp-name): New arg.
16630 (ange-ftp-file-local-copy): Use it.
16631
36c9fa27
J
166322011-06-27 Jambunathan K <kjambunathan@gmail.com>
16633
16634 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16635 no-conversion (Bug#8870).
16636
d68443dc
MR
166372011-06-27 Martin Rudalics <rudalics@gmx.at>
16638
16639 * window.el (window-right, window-left, window-child)
16640 (window-child-count, window-last-child)
16641 (window-iso-combination-p, walk-window-tree-1)
16642 (window-atom-check-1, window-tree-1, delete-window)
16643 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16644 new naming conventions - window-vchild, window-hchild,
16645 window-next and window-prev are now called window-top-child,
16646 window-left-child, window-next-sibling and window-prev-sibling
16647 respectively.
d615d6d2
MR
16648 (resize-window-reset): Rename to window-resize-reset.
16649 (resize-window-reset-1): Rename to window-resize-reset-1.
16650 (resize-window): Rename to window-resize.
16651 (window-min-height, window-min-width)
16652 (resize-mini-window, resize-this-window, resize-root-window)
16653 (resize-root-window-vertically, adjust-window-trailing-edge)
16654 (enlarge-window, shrink-window, maximize-window)
16655 (minimize-window, delete-window, quit-restore-window)
16656 (split-window, balance-windows, balance-windows-area-adjust)
16657 (balance-windows-area, window-state-put-2)
16658 (display-buffer-even-window-sizes, display-buffer-set-height)
16659 (display-buffer-set-width, set-window-text-height)
16660 (fit-window-to-buffer): Rename all "resize-window" prefixed
16661 calls to use the "window-resize" prefix convention.
16662 (display-buffer-alist): Fix symbol for label specifier.
16663 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16664 corresponding specifier.
16665 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 16666
b6458526
VB
166672011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16668
16669 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16670 convention.
16671 (ses-call-printer): Does not pass an empty string to formatter when the
16672 cell is empty to keep from barking printer Calc math-format-value.
16673
d31fd9ac
RS
166742011-06-27 Richard Stallman <rms@gnu.org>
16675
43d5bf84
RS
16676 * battery.el (battery-mode-line-limit): New variable.
16677 (battery-update): Handle it.
16678
d31fd9ac
RS
16679 * mail/rmailmm.el (rmail-mime-process-multipart):
16680 Handle truncated messages.
16681
819a6054
GM
166822011-06-27 Glenn Morris <rgm@gnu.org>
16683
16684 * progmodes/flymake.el (flymake-err-line-patterns):
16685 Allow for column numbers in the ant/javac pattern. (Bug#8866)
16686
cedc73f2
VB
166872011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
16688
819a6054 16689 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
16690 (ses--clean-!, ses--clean-_): New functions.
16691 (ses-range): Add configurability of readout order, and conversion
16692 to Calc vector.
16693
5e5d49b6
VB
16694 * ses.el (ses-repair-cell-reference-all): New function.
16695 (ses-cell-symbol): Set macro as safe, so that it can be used in
16696 formulas.
16697
56e6cc31 16698 * ses.el: Update cycle detection algorithm.
90ca8b49 16699 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 16700 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
16701 (ses-set-localvars): New function.
16702 (ses-make-cell): Add property-list as a cell element.
16703 (ses-cell-property-get-fun, ses-cell-property-get)
16704 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
16705 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16706 New functions.
90ca8b49
VB
16707 (ses-cell-property-set, ses-cell-property-pop)
16708 (ses-cell-property-get-handle): New macro.
16709 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16710 New aliases, used for code readability.
16711 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16712 cycle detection.
16713 (ses-self-reference-early-detection): New defcustom.
fac916bf 16714 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
16715 (ses-mode): Use ses-set-localvars.
16716 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16717 before lauching the update processing.
16718 (ses-initialize-Dijkstra-attempt): New function.
16719 (ses-recalculate-cell): Update for cycle detection based on
16720 Dijkstra algorithm.
16721
2bb63e81
VB
16722 * ses.el: Fix commenting and indenting convention.
16723
c9d29fb8
SM
167242011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
16725
16726 * bs.el (bs-cycle-next): Complete last change.
16727
d8e4b68b
JB
167282011-06-27 Drew Adams <drew.adams@oracle.com>
16729
16730 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16731
40098786
LMI
167322011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
16733
c9d29fb8
SM
16734 * net/network-stream.el (network-stream-open-starttls):
16735 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
16736 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16737
40098786
LMI
16738 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16739 to binary to possibly avoid line encoding issues on Windows (among
16740 other things).
16741
468d09d4
LMI
167422011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16743
16744 * net/network-stream.el (open-network-stream): Return an :error
16745 saying what the problem was, if possible.
16746
16747 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16748 server.
16749
16750 * net/network-stream.el (network-stream-open-starttls): If we
16751 wanted to use STARTTLS, and the server offered it, but we weren't
16752 able to because we had no STARTTLS support, then close the connection.
16753 (open-network-stream): Return an :error element, if present.
16754
16f07dd7
CY
167552011-06-26 Chong Yidong <cyd@stupidchicken.com>
16756
88821ca0
CY
16757 * hl-line.el (hl-line-sticky-flag): Doc fix.
16758 (global-hl-line-sticky-flag): New option (Bug#8323).
16759 (global-hl-line-highlight): Obey it.
16760
16f07dd7
CY
16761 * vc/vc.el (vc-revert-show-diff): Default to t.
16762
6b5ccddf
KM
167632011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
16764
c9d29fb8
SM
16765 * allout-widgets.el (allout-widgets-post-command-business):
16766 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
16767 undecorated when an isearch is continued past, and isearch
16768 automatically collapses them. This leads to "widget leaks", where
16769 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
16770 hidden widgets can slow down cursor travel, substantially.
16771 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
16772 so we're doing without this nicety.
16773
16774 (allout-widgets-tally-string): Don't try to do a hash-table-count
16775 of allout-widgets-tally when it's nil. This eliminates spurious "Error
16776 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16777 *Messages* when allout-widgets-maintain-tally is t.
16778
355f2e07
MR
167792011-06-26 Martin Rudalics <rudalics@gmx.at>
16780
16781 * window.el (display-buffer-normalize-argument): Rename to
16782 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
16783 LABEL argument. Respect special-display-function when popping up
16784 a new frame. Fix code searching for a window showing the buffer
16785 on another frame.
c9d29fb8
SM
16786 (display-buffer-normalize-specifiers):
16787 Call display-buffer-normalize-arguments.
355f2e07
MR
16788 (display-buffer-in-window): Don't undedicate the window if its
16789 buffer remains the same.
16790 Reported by Drew Adams <drew.adams@oracle.com>.
16791 (display-buffer-alist): Add choice for same-window macro
16792 specfier.
16793 (display-buffer): Mention special meaning of LABEL argument in
16794 doc-string. Fix quoting. Don't pop up a new frame even as
16795 fallback.
16796
7ca8fc42
JB
167972011-06-26 Juanma Barranquero <lekktu@gmail.com>
16798
16799 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16800 avoid deleting the current window in some cases (bug#8911).
16801
bc312254
AS
168022011-06-26 Andreas Schwab <schwab@linux-m68k.org>
16803
16804 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16805 (Bug#8934)
16806
2db18f3f
LMI
168072011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
16808
c9d29fb8
SM
16809 * net/network-stream.el (network-stream-open-starttls):
16810 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
16811 (network-stream-open-tls): Ditto.
16812
6302e0d3
LL
168132011-06-26 Leo Liu <sdl.web@gmail.com>
16814
16815 * register.el (registerv): New struct.
16816 (registerv-make): New function.
c9d29fb8
SM
16817 (jump-to-register, describe-register-1, insert-register):
16818 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
16819 struct. (Bug#8415)
16820
5fdd4046
CY
168212011-06-26 Chong Yidong <cyd@stupidchicken.com>
16822
2afef60a
CY
16823 * vc/vc.el (vc-revert-show-diff): New defcustom.
16824 (vc-diff-internal): New arg specifying diff buffer.
16825 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
16826 reuse an existing *vc-diff* buffer (Bug#8927).
16827
5fdd4046
CY
16828 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16829
e93db24a
GM
168302011-06-26 Glenn Morris <rgm@gnu.org>
16831
16832 * progmodes/f90.el (f90-critical-indent): New option.
16833 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16834 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16835 (f90-mode): Doc fix.
16836 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16837 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16838 (f90-beginning-of-block, f90-next-block, f90-indent-region)
16839 (f90-match-end): Handle block, critical.
16840
eefff499
GM
168412011-06-25 Glenn Morris <rgm@gnu.org>
16842
f6ba4cc9
GM
16843 * calendar/diary-lib.el (diary-included-files): Doc fix.
16844 (diary-include-files): New function, extracted from
16845 diary-include-other-diary-files and diary-mark-included-diary-files.
16846 (diary-include-other-diary-files, diary-mark-included-diary-files):
16847 Just call diary-include-files.
16848 (diary-mark-entries): Reset diary-included-files on first call.
16849
16712304
GM
16850 * calendar/diary-lib.el (diary-mark-entries)
16851 (diary-mark-included-diary-files):
16852 Visit included diary-files in temp buffers.
16853
5d8e0d43
GM
16854 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16855 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16856 (f90-start-block-re, f90-imenu-generic-expression)
16857 (f90-looking-at-program-block-start, f90-no-block-limit):
16858 Add support for submodules.
16859
ccf7a5d5
GM
16860 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16861 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 16862
11fdef7d 168632011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
16864
16865 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16866 buffer-file-type before setting its value, to avoid disastrous
eefff499 16867 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 16868
74f53697
JB
168692011-06-25 Juanma Barranquero <lekktu@gmail.com>
16870
16871 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16872
16873 * ses.el (ses-unload-function):
16874 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16875
16876 * proced.el (proced-unload-function):
16877 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16878
18a4ce5e
AR
168792011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
16880
16881 * server.el (server-create-window-system-frame): Add parameters arg.
16882 (server-process-filter): Doc fix. Handle frame-parameters.
16883
519d22cc
JB
168842011-06-25 Juanma Barranquero <lekktu@gmail.com>
16885
16886 Fix bug#8730, bug#8781.
16887
16888 * loadhist.el (unload--set-major-mode): New function.
16889 (unload-feature): Use it.
16890
16891 * progmodes/python.el (python-after-info-look): Add autoload cookie.
16892 (python-unload-function): New function.
16893
c206f5b0
SM
168942011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
16895
16896 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16897
f9ad64f3
GS
168982011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
16899
16900 * net/browse-url.el (browse-url-firefox-program): Add icecat to
16901 the candidates list.
16902
7d0da90e
JB
169032011-06-24 Juanma Barranquero <lekktu@gmail.com>
16904
16905 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16906
14b4e83d
RS
169072011-06-23 Richard Stallman <rms@gnu.org>
16908
16909 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16910 (rmail-variables): Set next-error-move-function.
16911 (rmail-what-message): Take argument POS.
16912 (rmail-next-error-move): New function.
16913
273d2baf
SM
169142011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
16915
16916 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16917 messages for adjacent non-terminals.
16918
56c2cc9a
RS
169192011-06-23 Richard Stallman <rms@gnu.org>
16920
16921 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 16922 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
16923 (rmail-start-mail): Don't specify use of rmail-mail-return;
16924 that's done by mail-bury now.
16925 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 16926
d59eb518
MA
169272011-06-23 Michael Albinus <michael.albinus@gmx.de>
16928
16929 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16930 SIZE is a number.
16931
02cfc6d6
MR
169322011-06-23 Martin Rudalics <rudalics@gmx.at>
16933
16934 * window.el (get-lru-window, get-mru-window)
16935 (get-largest-window): Never return a minibuffer window.
16936 (display-buffer-pop-up-window): Fix a bug that could lead to
16937 reusing the minibuffer window.
16938 (display-buffer): Pass original specifier argument to
16939 display-buffer-function instead of the normalized one.
16940 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16941
4e323265
LL
169422011-06-22 Leo Liu <sdl.web@gmail.com>
16943
16944 * minibuffer.el (completing-read-function)
1f9f395d 16945 (completing-read-default): Move from minibuf.c.
4e323265 16946
7a70468f
RS
169472011-06-22 Richard Stallman <rms@gnu.org>
16948
50718fc2
RS
16949 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16950 to Rmail even if not started by a special Rmail command.
16951
7a70468f
RS
16952 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16953 Copy the buffer currently showing just one message.
16954
297dde5a
RW
169552011-06-22 Roland Winkler <winkler@gnu.org>
16956
16957 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16958 (bibtex-clean-entry): First delete the old key so that a
16959 customized algorithm for generating the new key does not get
16960 confused by the old key.
16961 (bibtex-url): Obey regexp of first step.
16962 (bibtex-search-entries): Do not use add-to-list with local
16963 list-var.
16964
97bb1093
LMI
169652011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16966
16967 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16968 stored a user name, then query for the password first, instead of
16969 waiting for SMTP to give an error message and the trying again.
16970
1c0f1a19
JD
169712011-06-22 Lawrence Mitchell <wence@gmx.li>
16972
16973 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16974 BUFFER in call-process.
16975
396f7c9d
LMI
169762011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
16977
16978 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16979 QUIT twice.
ddb7ffee
LMI
16980 (smtpmail-try-auth-methods): Require user name and password from
16981 auth-source.
396f7c9d 16982
8998d1b3
MR
169832011-06-22 Martin Rudalics <rudalics@gmx.at>
16984
16985 * window.el (display-buffer-default-specifiers)
16986 (display-buffer-alist): Remove entries for pop-up-frame-alist.
16987 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 16988 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
16989
16990 * frame.el (pop-up-frame-alist, pop-up-frame-function)
16991 (special-display-frame-alist, special-display-popup-frame):
16992 Remove duplicate declarations. These are now in window.el.
16993
4ea31e07
LMI
169942011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16995
c9d29fb8
SM
16996 * mail/smtpmail.el (smtpmail-via-smtp):
16997 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
16998 server supports it. SMTP servers that support STARTTLS commonly
16999 require it.
17000
17001 * net/network-stream.el (network-stream-open-starttls): Support
17002 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 17003 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 17004
95f41d9a
LMI
17005 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
17006 upgrades with `open-network-stream', and rely solely on
17007 auth-source for all credentials. Big changes throughout the file,
17008 but in particular:
c9d29fb8
SM
17009 (smtpmail-auth-credentials): Remove.
17010 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
17011 (smtpmail-via-smtp): Check for servers saying they want AUTH after
17012 MAIL FROM, too.
95f41d9a 17013
c9d29fb8
SM
17014 * net/network-stream.el (network-stream-open-starttls):
17015 Provide support for client certificates both for external and built-in
4ea31e07
LMI
17016 STARTTLS.
17017 (auth-source): Require.
17018 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
17019 (network-stream-certificate): Change cert-cert to cert and
17020 cert-key to key.
4ea31e07 17021
065ec2c7
MA
170222011-06-21 Michael Albinus <michael.albinus@gmx.de>
17023
17024 * net/tramp-cache.el (top): Don't load the persistency file when
17025 "emacs -Q" has been called.
17026
cd93b359
DR
170272011-06-21 Tim Harper <timcharper@gmail.com>
17028
d8e4b68b
JB
17029 * term/ns-win.el (ns-initialize-window-system):
17030 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
17031 resource to NO as it is not yet supported by the NS port.
17032
ae9c0411
JB
170332011-06-21 Juanma Barranquero <lekktu@gmail.com>
17034
17035 * misc.el (list-dynamic-libraries--refresh): Compute header here...
17036 (list-dynamic-libraries): ...not here.
17037
7f3f739f
LL
170382011-06-21 Leo Liu <sdl.web@gmail.com>
17039
17040 * subr.el (sha1): Implement sha1 using secure-hash.
17041
327c8fb1
MR
170422011-06-21 Martin Rudalics <rudalics@gmx.at>
17043
17044 * window.el (display-buffer-alist): In default value do not
17045 enforce searching a window on any but the selected frame.
17046 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
17047 (display-buffer-select-window): Remove function.
17048 (display-buffer-in-window): When a window on another frame gets
17049 reused, do not select it any more but just raise its frame if
17050 necessary (Bug#8851) and (Bug#8856).
17051 (display-buffer-normalize-options): Handle pop-up-frames related
17052 options more faithfully.
17053 (pop-to-buffer): Don't rely on `display-buffer' selecting the
17054 window if it is on another frame.
c9d29fb8
SM
17055 (display-buffer-alist, display-buffer-default-specifiers):
17056 Don't make new frame unsplittable by default.
9e9de014
MR
17057 (display-buffer-normalize-argument): Fix doc-string typo and use
17058 'same-frame-other-window instead of 'other-window when associating
17059 with display-buffer-macro-specifiers.
327c8fb1 17060
7cf3f556
VB
170612011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
17062
17063 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
17064 New functions.
17065 (5x5-mode-map, 5x5-mode-menu): Bind them.
17066 (5x5-draw-grid): Tweak the solver's rendering.
17067
60a406cf
SM
170682011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17069
17070 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
17071 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
17072
d8e4b68b 170732011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
17074
17075 * menu-bar.el: Use function variable instead of switch-to-buffer.
17076 (menu-bar-select-buffer-function): New variable.
60a406cf 17077 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 17078
478d6f95
SM
170792011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
17082 variable's status.
17083
ca530739
JD
170842011-06-20 Jan Djärv <jan.h.d@swipnet.se>
17085
17086 * x-dnd.el (x-dnd-version-from-flags)
17087 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
17088 and long as number (Bug#8899).
17089 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
17090
bcd70d97
SM
170912011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
17092
60a406cf 17093 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
17094 (completion-try-completion, completion-all-completions): Compute the
17095 metadata argument if it's missing; make it optional (bug#8795).
17096
60a406cf 17097 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
17098 (widget-complete): Use new :completion-function property.
17099 (widget-completions-at-point): New function.
17100 (default): Use :completion-function instead of :complete.
60a406cf
SM
17101 (widget-default-completions): Rename from widget-default-complete;
17102 Rewrite.
bcd70d97
SM
17103 (widget-string-complete, widget-file-complete, widget-color-complete):
17104 Remove functions.
17105 (file, symbol, function, variable, coding-system, color):
17106 * international/mule-cmds.el (default-input-method, charset)
17107 (language-info-custom-alist):
17108 * cus-edit.el (face): Use new property :completions.
17109
17110 * progmodes/pascal.el (pascal-completions-at-point): New function.
17111 (pascal-mode): Use it.
17112 (pascal-mode-map): Use completion-at-point.
17113 (pascal-toggle-completions): Make obsolete.
17114 (pascal-complete-word, pascal-show-completions):
17115 * progmodes/octave-mod.el (octave-complete-symbol):
17116 Redefine as obsolete alias.
17117 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
17118 Signal absence of completion info for old Octave,
17119 (inferior-octave-complete): Redefine as obsolete alias.
17120 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
17121 (meta-completions-at-point): Rename from meta-complete-symbol and
17122 adapt it for use on completion-at-point-functions.
17123 (meta-common-mode): Use it.
17124 (meta-looking-at-backward, meta-match-buffer): Remove.
17125 (meta-complete-symbol): Redefine as obsolete alias.
17126 (meta-common-mode-map): Use completion-at-point.
17127 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
17128 (makefile-mode-map): Use completion-at-point.
17129 (makefile-completions-at-point): Rename from makefile-complete and
17130 adapt it for use on completion-at-point-functions.
17131 (makefile-mode): Use it.
17132 (makefile-complete): Redefine as obsolete alias.
17133
aebf69c8
DD
171342011-06-20 Deniz Dogan <deniz@dogan.se>
17135
17136 * net/rcirc.el: Delete trailing whitespaces once and for all.
17137
bfbbb27d
DC
171382011-06-20 Daniel Colascione <dan.colascione@gmail.com>
17139
17140 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
17141
d264a46b
CY
171422011-06-19 Chong Yidong <cyd@stupidchicken.com>
17143
4ca009e5
CY
17144 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
17145
d264a46b
CY
17146 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
17147
fbf5b3ce
MR
171482011-06-19 Martin Rudalics <rudalics@gmx.at>
17149
17150 * window.el (display-buffer-other-window-means-other-frame):
17151 Call display-buffer-normalize-alist.
17152 (display-buffer-normalize-specifiers-1): Rename to
17153 display-buffer-normalize-argument. New argument other-frame.
17154 Rewrite.
17155 (display-buffer-normalize-specifiers-2): Rename to
17156 display-buffer-normalize-options.
17157 (display-buffer-normalize-alist-1): New function.
17158 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
17159 display-buffer-normalize-alist.
17160 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
17161 (display-buffer-normalize-options-inhibit): New variable.
17162 (display-buffer-normalize-specifiers): Rewrite calling
17163 display-buffer-normalize-alist,
17164 display-buffer-normalize-argument, and
17165 display-buffer-normalize-options. Don't call the latter if
17166 display-buffer-normalize-options-inhibit is non-nil.
17167 (frame-auto-delete): New option.
17168 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
17169 (window-list-no-nils, window-state-ignored-parameters)
17170 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
17171 (window-state-put-1, window-state-put-2, window-state-put):
17172 New functions.
9a028c23
MR
17173 (display-buffer-normalize-options): Move special-display-p group
17174 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 17175
6d10d800
CY
171762011-06-18 Chong Yidong <cyd@stupidchicken.com>
17177
6420d28b
CY
17178 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
17179 groups (Bug#8776).
17180 (rx-submatch-n): New function.
17181 (rx): Document it.
17182
ddb8b596
CY
17183 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
17184 (Bug#8768).
17185
17186 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
17187
77080289
CY
17188 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
17189
61dfb316
CY
17190 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
17191 anytime existing face settings are present (Bug#8889).
17192
6d10d800
CY
17193 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
17194 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
17195 Remove unused argument.
17196
be3fb2b8
MR
171972011-06-18 Martin Rudalics <rudalics@gmx.at>
17198
bcd70d97
SM
17199 * window.el (display-buffer-default-specifiers):
17200 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
17201 pop-up-window-min-width, and another reuse-window specifier
17202 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
17203 (display-buffer-normalize-specifiers-2):
17204 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
17205 pop-up-windows is unset. Add a reuse-window specifier for the
17206 case popping up a new window fails.
17207 (special-display-popup-frame): Remove double quoting.
28dec25a 17208 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 17209
1c6d8c76
SM
172102011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
17211
17212 * shell.el (shell-completion-vars): Set pcomplete-termination-string
17213 according to comint-completion-addsuffix.
17214
17215 * pcomplete.el: Convert to lexical binding and fix bug#8819.
17216 (pcomplete-suffix-list): Mark as obsolete.
17217 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
17218 pcomplete-seen in the closure.
17219 (pcomplete-comint-setup): Setup completion-at-point as well.
17220 (pcomplete--entries): New function.
17221 (pcomplete--env-regexp): New var.
17222 (pcomplete-entries): Rewrite to work with partial-completion and
17223 without relying on pcomplete-suffix-list.
17224 (pcomplete-pare-list): Remove, unused.
17225
25aef8b8
MR
172262011-06-17 Martin Rudalics <rudalics@gmx.at>
17227
17228 * window.el (display-buffer-alist): Set pop-up-window-min-height
17229 and pop-up-window-min-width in default value. Reported by
17230 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
17231 other-window-means-other-frame.
17232 (display-buffer-macro-specifiers): Comment out entry for
17233 other-window specifier.
17234 (display-buffer-other-window-means-other-frame): New function.
17235 (display-buffer-normalize-specifiers-1): New arguments
17236 buffer-name and label. Treat other-window case specially.
17237 (display-buffer-normalize-specifiers-2): Treat other-window case
17238 specially.
17239 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
17240 (display-buffer-normalize-specifiers):
17241 Call display-buffer-normalize-specifiers-3.
25aef8b8 17242
dbad4f69
MR
172432011-06-17 Martin Rudalics <rudalics@gmx.at>
17244
17245 * window.el (same-window-p): Fix two typos introduced when
17246 adding with-no-warnings.
d1067961
MR
17247 (display-buffer-normalize-specifiers-1): Don't check
17248 pop-up-frames for 'unset initialization.
17249 (display-buffer-normalize-specifiers-2): Major rewrite using
17250 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
17251 (pop-up-frames, display-buffer-reuse-frames)
17252 (display-buffer-mark-dedicated): Don't initialize to 'unset.
17253 Suggested by David Engster <deng@randomsample.de>.
17254 (even-window-heights): Initialize to 'unset.
17255 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
17256 (display-buffer-macro-specifiers): Don't pop up a new frame in the
17257 other window case.
dbad4f69 17258
9b9c9e3a
MR
172592011-06-16 Martin Rudalics <rudalics@gmx.at>
17260
bcd70d97
SM
17261 * window.el (display-buffer-normalize-specifiers-1):
17262 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 17263 second argument of display-buffer (Bug#8865).
981d5c09
MR
17264 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17265 (switch-to-buffer-other-window-same-frame)
17266 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
17267 Adams (Bug#8875).
9c2755e9
MR
17268 (display-buffer): Don't check noninteractive when calling
17269 display-buffer-pop-up-frame.
17270 (display-buffer-pop-up-frame): Never pop up a frame in
17271 noninteractive mode (Bug#8857).
67222e1d
MR
17272 (enlarge-window, shrink-window): Don't report an error when the
17273 window can't be resized as requested (Bug#8862).
9b9c9e3a 17274
2b75be67
SM
172752011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17276
9ffdd3ba
SM
17277 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17278
cb581a67
SM
17279 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17280
2b75be67
SM
17281 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17282
8c0e3589
AM
172832011-06-15 Alan Mackenzie <acm@muc.de>
17284
cb581a67
SM
17285 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17286 for declarators, disable knr checking to speed up for normal files.
17287 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 17288
b96e6cde
LMI
172892011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17290
4bba86e6
LMI
17291 * net/network-stream.el (open-network-stream): Add the keyword
17292 :always-query-capabilities for the case where you want to force a
17293 `plain' network connection, but the protocol still requires the
17294 capabilitiy command (i.e., SMTP and EHLO).
17295
2b75be67 17296 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
17297 consistency with other `-live-p' functions.
17298
efdcdbf8
SM
172992011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
17300
17301 * window.el (same-window-buffer-names, same-window-regexps)
17302 (special-display-frame-alist, special-display-popup-frame)
17303 (special-display-function, special-display-buffer-names)
17304 (special-display-regexps, pop-up-frame-alist)
17305 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17306 (pop-up-windows, split-window-preferred-function)
17307 (split-height-threshold, split-width-threshold, even-window-heights)
17308 (display-buffer-mark-dedicated): Don't encourage the use of
17309 display-buffer-alist from Elisp code.
17310
c5cde042
DN
173112011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
17312
17313 * progmodes/python.el (python-mode): Derive from prog-mode.
17314 * progmodes/ps-mode.el (ps-mode):
17315 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 17316 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
17317 * progmodes/ld-script.el (ld-script-mode): Likewise.
17318
baa1c9ab
MR
173192011-06-15 Martin Rudalics <rudalics@gmx.at>
17320
17321 * window.el (display-buffer-alist): Trim default value to avoid
17322 popping up a new frame (Bug#8857) or reusing an arbitrary window
17323 on another frame.
17324 (display-buffer): Do not fall back on popping up a new frame in
17325 batch mode (Bug#8857).
17326
c5dd5a51
CY
173272011-06-14 Chong Yidong <cyd@stupidchicken.com>
17328
17329 * cus-theme.el (describe-theme-1): Use custom-theme-p.
17330 (custom-theme-summary): New function.
17331 (customize-themes): Use it.
17332
d647b7c4
GM
173332011-06-13 Glenn Morris <rgm@gnu.org>
17334
17335 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17336
9481c002
MR
173372011-06-13 Martin Rudalics <rudalics@gmx.at>
17338
357f93d2
MR
17339 * help.el (help-window): Remove variable.
17340 (help-window-point-marker, temp-buffer-max-height)
17341 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17342 (help-print-return-message): Don't set help-window.
17343 (resize-temp-buffer-window): Rewrite cod eand doc-string.
17344 (help-window-setup-finish): Remove.
17345 (help-window-display-message, help-window-setup)
17346 (with-help-window): Major rewrite based on new
17347 display-buffer-window variable.
17348
17349 * help-mode.el (help-mode-finish): Remove help-window related
17350 code.
17351
17352 * view.el (view-exits-all-viewing-windows): Remove reference to
17353 view-return-to-alist in doc-string.
17354 (view-return-to-alist): Make obsolete.
17355 (view-buffer): Call pop-to-buffer-same-window and remove
17356 undo-window code.
17357 (view-buffer-other-window): Call pop-to-buffer-other-window and
17358 simplify code. Ignore second argument.
17359 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17360 simplify code. Ignore second argument.
17361 (view-return-to-alist-update): Make obsolete.
17362 (view-mode-enter): Rename second argument to QUIT-RESTORE.
17363 Rewrite using quit-restore window parameters.
2b75be67
SM
17364 (view-mode-exit): Rename second argument to EXIT-ONLY.
17365 Rewrite using quit-restore-window.
357f93d2
MR
17366 (View-exit, View-exit-and-edit, View-leave, View-quit)
17367 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17368 appropriate arguments.
17369 (view-end-message): Use quit-restore window parameter.
17370
9481c002
MR
17371 * window.el (display-buffer-function): Rewrite doc-string.
17372 (display-buffer-window, display-buffer-alist): New variables.
17373 (display-buffer-split-specifiers)
17374 (display-buffer-side-specifiers)
17375 (display-buffer-macro-specifiers): New constants.
17376 (display-buffer-even-window-sizes, display-buffer-set-height)
17377 (display-buffer-set-width, display-buffer-select-window)
17378 (display-buffer-in-window, display-buffer-reuse-window)
17379 (display-buffer-split-window-1, display-buffer-split-window)
17380 (display-buffer-split-atom-window, display-buffer-pop-up-window)
17381 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17382 (display-buffer-in-side-window, normalize-buffer-to-display)
17383 (display-buffer-normalize-specifiers-1)
17384 (display-buffer-normalize-specifiers-2)
2b75be67
SM
17385 (display-buffer-normalize-specifiers, display-buffer-frame):
17386 New functions.
9481c002
MR
17387 (display-buffer): Major rewrite.
17388 (display-buffer-other-window, display-buffer-other-frame)
17389 (pop-to-buffer, switch-to-buffer-other-window)
17390 (switch-to-buffer-other-frame): Rewrite.
17391 (display-buffer-same-window, display-buffer-same-frame)
17392 (display-buffer-same-frame-other-window)
17393 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17394 (pop-to-buffer-other-window)
17395 (pop-to-buffer-same-frame-other-window)
17396 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17397 (switch-to-buffer-other-window-same-frame): New functions.
17398 (same-window-p, special-display-p): Rewrite disabling warnings.
17399 Make obsolete.
17400 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17401 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17402 Make obsolete
17403 (same-window-buffer-names, same-window-regexps)
17404 (special-display-frame-alist, special-display-popup-frame)
17405 (special-display-function, special-display-buffer-names)
17406 (special-display-regexps, pop-up-frame-alist)
17407 (pop-up-frame-function, split-window-preferred-function)
17408 (split-height-threshold, split-width-threshold)
17409 (even-window-heights): Make obsolete.
17410
9db51aca
GM
174112011-06-12 Glenn Morris <rgm@gnu.org>
17412
17413 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 17414 Misc simplifications.
9db51aca 17415
39cffb44
MR
174162011-06-12 Martin Rudalics <rudalics@gmx.at>
17417
17418 * window.el (window-safely-shrinkable-p): Restore function which
17419 was inadvertently removed in change from 2011-06-11. Declare as
17420 obsolete.
17421
2b75be67
SM
17422 * calendar/calendar.el (calendar-generate-window):
17423 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
17424 window-safely-shrinkable-p.
17425
a8955be7
GM
174262011-06-12 Glenn Morris <rgm@gnu.org>
17427
17428 * progmodes/fortran.el (fortran-mode-syntax-table):
17429 * progmodes/f90.el (f90-mode-syntax-table):
17430 Set % to punctuation. (Bug#8820)
17431 (f90-find-tag-default): Remove, no longer needed.
17432
f0d4059d
DC
174332011-06-12 Daniel Colascione <dan.colascione@gmail.com>
17434
17435 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17436
1100a63c
CY
174372011-06-11 Chong Yidong <cyd@stupidchicken.com>
17438
17439 * image.el (image-animated-p): Return animation delay in seconds.
17440 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17441 (image-animate-timeout): Remove DELAY argument. Don't assume
17442 every subimage has the same delay; get it from image-animated-p.
17443 (image-animate): Caller changed.
17444
def722bf
MA
174452011-06-11 Michael Albinus <michael.albinus@gmx.de>
17446
17447 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17448 to ignored backtrace functions.
17449
0a2bb1a9
GM
174502011-06-11 Glenn Morris <rgm@gnu.org>
17451
17452 * calendar/appt.el (appt-disp-window-function): Doc fix.
17453 (appt-check): Handle overlapping appointments. (Bug#8337)
17454
6198ccd0
MR
174552011-06-11 Martin Rudalics <rudalics@gmx.at>
17456
17457 * window.el (window-tree-1, window-tree): New functions, moving
17458 the latter to window.el.
17459 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17460 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17461 (bw-refresh-edges): Remove.
17462 (balance-windows-1, balance-windows-2): New functions.
17463 (balance-windows): Rewrite in terms of window tree functions,
17464 balance-windows-1 and balance-windows-2.
17465 (bw-adjust-window): Remove.
17466 (balance-windows-area-adjust): New function with functionality of
17467 bw-adjust-window but using resize-window.
2b75be67
SM
17468 (set-window-text-height): Rewrite doc-string.
17469 Use normalize-live-window and resize-window.
17470 (enlarge-window-horizontally, shrink-window-horizontally):
17471 Rename argument to DELTA.
6198ccd0
MR
17472 (window-buffer-height): New function.
17473 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17474 Rewrite using new window resize routines.
2b75be67
SM
17475 (kill-buffer-and-window, mouse-autoselect-window-select):
17476 Use ignore-errors instead of condition-case.
6198ccd0
MR
17477 (quit-window): Call delete-frame instead of delete-windows-on
17478 for the only buffer on frame.
17479
9397e56f
MR
174802011-06-10 Martin Rudalics <rudalics@gmx.at>
17481
17482 * loadup.el (top-level): Load window before files for the sake
17483 of replace-buffer-in-windows.
17484
17485 * files.el (read-buffer-to-switch)
17486 (switch-to-buffer-other-window)
2b75be67
SM
17487 (switch-to-buffer-other-frame, display-buffer-other-frame):
17488 Move to window.el.
9397e56f
MR
17489
17490 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17491 (previous-buffer): Move to window.el.
17492
17493 * bindings.el (unbury-buffer): Move to window.el.
17494
17495 * window.el (delete-other-windows-vertically): Move after
17496 definition of delete-other-windows.
17497 (other-window, delete-windows-on, replace-buffer-in-windows):
17498 Move here from window.c.
17499 (record-window-buffer, unrecord-window-buffer)
17500 (set-window-buffer-start-and-point, switch-to-prev-buffer)
17501 (switch-to-next-buffer): New functions.
17502 (get-next-valid-buffer, last-buffer, next-buffer): Move here
17503 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
17504 (previous-buffer): Move here from simple.el.
17505 Call switch-to-prev-buffer.
9397e56f
MR
17506 (bury-buffer): Move here from buffer.c. Switch to previous
17507 buffer when window cannot be deleted.
17508 (unbury-buffer): Move here from bindings.el.
17509 (ctl-x-map): Move binding for other-window from window.c to
17510 here.
17511 (read-buffer-to-switch, switch-to-buffer-other-window)
17512 (switch-to-buffer-other-frame): Move here from files.el.
17513 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
17514 (switch-to-buffer): Move here from buffer.c.
17515 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 17516
562dd5e9
MR
175172011-06-10 Martin Rudalics <rudalics@gmx.at>
17518
17519 * window.el (window-min-height, window-min-width): Move here
17520 from window.c. Add defcustoms and rewrite doc-strings.
17521 (resize-mini-window, resize-window): New functions.
17522 (adjust-window-trailing-edge, enlarge-window, shrink-window):
17523 Move here from window.c.
17524 (maximize-window, minimize-window): New functions.
17525 (delete-window, delete-other-windows, split-window): Move here
17526 from window.c.
17527 (window-split-min-size): New function.
17528 (split-window-keep-point): Mention split-window-above-each-other
17529 instead of split-window-vertically.
2b75be67 17530 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
17531 Rename split-window-vertically to split-window-above-each-other
17532 and provide defalias for old definition.
17533 (split-window-side-by-side, split-window-horizontally):
17534 Rename split-window-horizontally to split-window-side-by-side
17535 and provide defalias for the old definition.
562dd5e9
MR
17536 (ctl-x-map): Move bindings for delete-window,
17537 delete-other-windows and enlarge-window here from window.c.
17538 Replace bindings for split-window-vertically and
17539 split-window-horizontally by bindings for
17540 split-window-above-each-other and split-window-side-by-side.
17541
17542 * cus-start.el (all): Remove entries for window-min-height and
17543 window-min-width. Add entries for window-splits and
17544 window-nest.
17545
f0da764a
GM
175462011-06-09 Glenn Morris <rgm@gnu.org>
17547
80675c21
GM
17548 * calendar/appt.el (appt-mode-line): New function.
17549 (appt-check, appt-disp-window): Use it.
17550
f0da764a
GM
17551 * files.el (hack-one-local-variable-eval-safep):
17552 Allow minor-modes with explicit +/-1 arguments.
17553
59f623b7
TZ
175542011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
17555
17556 * term/xterm.el (xterm): Add defgroup.
17557 (xterm-extra-capabilities): Add defcustom to supply known xterm
17558 capabilities, skip querying them, or query them (default).
17559 (terminal-init-xterm): Use it.
17560 (terminal-init-xterm-modify-other-keys): New function to set up
17561 modifyOtherKeys support to simplify `terminal-init-xterm'.
17562
9aab8e0d
MR
175632011-06-09 Martin Rudalics <rudalics@gmx.at>
17564
17565 * window.el (resize-window-reset, resize-window-reset-1)
17566 (resize-subwindows-skip-p, resize-subwindows-normal)
17567 (resize-subwindows, resize-other-windows, resize-this-window)
17568 (resize-root-window, resize-root-window-vertically)
17569 (window-deletable-p, window-or-subwindow-p)
17570 (frame-root-window-p): New functions.
17571
e8b08aee
GM
175722011-06-09 Glenn Morris <rgm@gnu.org>
17573
17574 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17575 (ange-ftp-get-files): Use it.
17576
254c37a5
AK
175772011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
17578
17579 * mail/sendmail.el (mail-recover-1, mail-recover):
17580 * files.el (recover-file, recover-session):
17581 Handle dired-listing-switches not being just a single short option.
17582
35d7dbd3
GM
175832011-06-09 Glenn Morris <rgm@gnu.org>
17584
17585 * calendar/appt.el (appt-display-message, appt-disp-window):
17586 Handle lists of appointments.
17587
387522b2
MR
175882011-06-08 Martin Rudalics <rudalics@gmx.at>
17589
2b75be67
SM
17590 * window.el (one-window-p): Move down in code.
17591 Rewrite doc-string.
17592 (window-current-scroll-bars): Rewrite doc-string.
17593 Normalize live window argument.
387522b2
MR
17594 (walk-windows, get-window-with-predicate, count-windows):
17595 Rewrite doc-string. Use window-list-1.
17596 (window-in-direction-2, window-in-direction, get-mru-window):
17597 New functions.
17598
d8e4b68b 175992011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
17600
17601 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17602 Doc fix (Bug#8713).
17603
176042011-06-08 Chong Yidong <cyd@stupidchicken.com>
17605
17606 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17607
176082011-06-08 Juanma Barranquero <lekktu@gmail.com>
17609
17610 * loadhist.el (unload-feature-special-hooks):
17611 Add `comint-output-filter-functions'.
17612
0de12c52
IK
176132011-06-08 Ivan Kanis <gnu@kanis.fr>
17614
17615 * calendar/appt.el (appt-check): Move some initializations into the let.
17616
f3d1777e
MR
176172011-06-08 Martin Rudalics <rudalics@gmx.at>
17618
17619 * window.el (window-height): Defalias to window-total-height.
17620 (window-width): Defalias to window-body-width.
17621
18af70d0
CY
176222011-06-07 Chong Yidong <cyd@stupidchicken.com>
17623
17624 * image-mode.el (image-toggle-animation): New command.
17625 (image-mode-map): Bind it to RET.
17626 (image-mode): Update message.
17627 (image-toggle-display-image): Avoid a spurious cache flush.
17628 (image-transform-rotation): Doc fix.
17629 (image-transform-properties): Return quickly in the normal case.
17630 (image-animate-loop): Rename from image-animate-max-time.
17631
2b75be67 17632 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
17633 (create-animated-image): Remove unnecessary function.
17634 (image-animate): Rename from image-animate-start. New arg.
2b75be67 17635 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
17636 (image-animate-timer): Use car-safe.
17637 (image-animate-timeout): Rename argument.
17638
190b47e6
MR
176392011-06-07 Martin Rudalics <rudalics@gmx.at>
17640
17641 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
17642 window.c. Rename first argument to ALL-FRAMES.
17643 Rephrase doc-strings.
17644 (get-buffer-window-list): Rewrite using window-list-1.
17645 Rephrase doc-string.
a1511caf
MR
17646 (window-safe-min-height, window-safe-min-width): New constants.
17647 (window-size-ignore, window-min-size, window-min-size-1)
17648 (window-sizable, window-sizable-p, window-size-fixed-1)
17649 (window-size-fixed-p, window-min-delta-1, window-min-delta)
17650 (window-max-delta-1, window-max-delta, window-resizable)
17651 (window-resizable-p, window-total-height, window-total-width)
17652 (window-body-width): New functions.
17653 (window-full-height-p, window-full-width-p): Rewrite using
17654 window-total-size.
17655 (window-body-height): Rewrite using window-body-size.
190b47e6 17656
85cc1f11
MR
176572011-06-06 Martin Rudalics <rudalics@gmx.at>
17658
17659 * window.el (window-right, window-left, window-child)
17660 (window-child-count, window-last-child, window-any-p)
17661 (normalize-live-buffer, normalize-live-frame)
17662 (normalize-any-window, normalize-live-window)
17663 (window-iso-combination-p, window-iso-combined-p)
17664 (window-iso-combinations)
17665 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17666 (windows-with-parameter, window-with-parameter)
17667 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
17668 (window-atom-check, window-side-check, window-check):
17669 New functions.
85cc1f11
MR
17670 (ignore-window-parameters, window-sides, window-sides-vertical)
17671 (window-sides-slots): New variables.
17672 (window-size-fixed): Move down in code. Minor doc-string fix.
17673
e7156492
AS
176742011-06-05 Andreas Schwab <schwab@linux-m68k.org>
17675
17676 * comint.el (comint-dynamic-complete-as-filename)
17677 (comint-dynamic-complete-filename): Correctly call
17678 completion-in-region.
17679
7e821d0d
DD
176802011-06-05 Deniz Dogan <deniz@dogan.se>
17681
17682 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17683 in last change.
17684
ac09b8a1
DD
176852011-06-05 Deniz Dogan <deniz@dogan.se>
17686
17687 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17688 (rcirc): Use it to prompt for encryption.
17689
34699b85
RW
176902011-06-05 Roland Winkler <winkler@gnu.org>
17691
17692 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17693 (bibtex-search-entries): New command bound to C-c C-a.
17694 (bibtex-display-entries): New function.
17695
004dedd3
RW
176962011-06-05 Roland Winkler <winkler@gnu.org>
17697
17698 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17699 (bibtex-insert-kill): After yanking insert newline if necessary.
17700 (bibtex-initialize): Call bibtex-string-files-init only once.
17701 (bibtex-mode): Do not call easy-menu-add.
17702 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17703 (bibtex-yank): Set arg properly if nil.
17704
022fe7ce
RW
177052011-06-05 Roland Winkler <winkler@gnu.org>
17706
2b75be67
SM
17707 * textmodes/bibtex.el (bibtex-search-entry-globally):
17708 New variable.
022fe7ce
RW
17709 (bibtex-search-entry): Use it.
17710
b7c3692a
RW
177112011-06-05 Roland Winkler <winkler@gnu.org>
17712
17713 * textmodes/bibtex.el (bibtex-entry-format): New option
17714 sort-fields.
17715 (bibtex-format-entry, bibtex-reformat): Honor this option.
17716 (bibtex-parse-entry): Return fields in proper order.
17717
8eda563d
JB
177182011-06-05 Juanma Barranquero <lekktu@gmail.com>
17719
17720 * doc-view.el (doc-view-remove-if): Move computation of result out
17721 of `dolist' to silence misleading lexical-binding warning.
17722
7dbe3dbc
CY
177232011-06-04 Chong Yidong <cyd@stupidchicken.com>
17724
17725 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17726 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17727
0c33dd17
MA
177282011-06-04 Michael Albinus <michael.albinus@gmx.de>
17729
17730 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17731 "SunOS 5.10".
17732
f8f91c2b
MA
177332011-06-04 Michael Albinus <michael.albinus@gmx.de>
17734
17735 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17736 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17737 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17738 (tramp-parse-putty):
17739 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17740 (tramp-completion-function-alist-ssh)
17741 (tramp-completion-function-alist-telnet)
17742 (tramp-completion-function-alist-su)
17743 (tramp-completion-function-alist-putty): Set `tramp-autoload'
17744 cookie.
17745
17746 * net/tramp-ftp.el:
17747 * net/tramp-sh.el:
17748 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17749 load "tramp.el" `tramp-set-completion-function'.
17750
e17d9003
SM
177512011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
17752
17753 * shell.el: Require and use pcomplete.
17754 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17755 (shell-completion-vars): Set pcomplete-default-completion-function.
17756
6c4cab03
DD
177572011-06-04 Deniz Dogan <deniz@dogan.se>
17758
17759 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17760 `memq' (Bug#8799).
17761
ea9fafe0
SM
177622011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17763
17764 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17765
b3e945d3
JB
177662011-06-02 Juanma Barranquero <lekktu@gmail.com>
17767
17768 * bs.el (bs--mark-unmark, bs--nth-wrapper):
17769 * mpc.el (mpc-select-extend, mpc-songpointer-context):
17770 * vc/log-view.el (log-view-beginning-of-defun):
17771 * vc/smerge-mode.el (smerge-apply-resolution-patch)
17772 (smerge-refine-forward, smerge-refine-chopup-region):
17773 Silence warning for unused `dotimes' counter variables.
17774
7d520089
SM
177752011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
17776
17777 * net/tramp.el (tramp-with-progress-reporter): Rename from
17778 with-progress-reporter. Use `declare'.
17779 * net/tramp-smb.el:
17780 * net/tramp-sh.el:
17781 * net/tramp-gvfs.el: Update all uses.
17782
a1c2400f
JB
177832011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
17784
17785 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17786 buffer isn't killed before making it current.
17787
2403c841
SM
177882011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 Silence various byte-compiler warnings.
17791 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17792 `access-type' and new obsolescence format.
17793 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17794 new format.
17795 (byte-compile-check-variable): New `access-type' argument.
17796 Only warn if the access-type is obsolete.
17797 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17798 (byte-compile-variable-set): Adjust callers.
17799 * help-fns.el (describe-variable): Adjust to new obsolescence format.
17800 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17801 setting it as obsolete.
17802 * simple.el (minibuffer-completing-symbol):
17803 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17804 access as obsolete.
17805 * minibuffer.el (minibuffer-completing-file-name): Don't make it
17806 obsolete yet.
17807 * international/quail.el (quail-mouse-choose-completion): Remove unused
17808 code referring to obsolete var.
17809 (quail-choose-completion-string): Remove.
17810 * server.el (server-clients-with, server-kill-buffer-query-function)
17811 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17812 * proced.el (proced-send-signal):
17813 * emacs-lisp/lisp.el (lisp-complete-symbol):
17814 Replace completion-annotate-function with completion-extra-properties.
17815
2462470b
SM
178162011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
17817
fb5b2591
SM
17818 * simple.el (goto-line): Use read-number.
17819 (overriding-map-is-bound): Remove.
17820 (saved-overriding-map): Change default.
17821 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17822 Take the map as argument.
17823 (universal-argument, negative-argument, digit-argument): Use it.
17824 (restore-overriding-map): Adjust.
17825 (do-auto-fill): Use fill-forward-paragraph.
17826 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17827
fd6fa53f
SM
17828 * minibuffer.el (minibuffer-inactive-mode-map): New var.
17829 (minibuffer-inactive-mode): New major mode.
17830 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17831 the *Messages* buffer" hack.
17832 (mouse-popup-menubar): Don't burp if the event is a normal key.
17833
2462470b
SM
17834 Miscellaneous tweaks.
17835 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17836 lexical scoping as in subr.el's dolist and dotimes.
17837 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17838 Silence compiler warning.
17839 * thingatpt.el (forward-whitespace): Trivial coding style fix.
17840 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17841 * international/ccl.el (ccl-compile): Trivial simplification.
17842 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17843 * emacs-lisp/testcover.el (testcover-end): Remove spurious
17844 `printflag' argument.
17845 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17846 Purecopy the whole obsolescence data.
17847
108bf785
LL
178482011-06-01 Leo Liu <sdl.web@gmail.com>
17849
17850 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17851 improve doc-string as suggested by Marco Pessotto
17852 <melmothx@gmail.com>.
17853 (rcirc-print): Fix last change.
17854
30a23501
SM
178552011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17856
17857 * minibuffer.el (complete-with-action): Return nil for the metadata and
17858 boundaries of non-functional tables.
17859 (completion-table-dynamic): Return nil for the metadata.
17860 (completion-table-with-terminator): Add default case, using
17861 complete-with-action.
17862 (completion--metadata): New function.
17863 (completion-all-sorted-completions, minibuffer-completion-help): Use it
17864 to try and avoid pathological performance problems.
17865 (completion--embedded-envvar-table): Return `category' metadata.
17866
bcd54f83
LMI
178672011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
17868
17869 * subr.el (process-alive-p): New tiny convenience function.
17870
e227544d
SM
178712011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17872
17873 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17874 content but also its previous major mode.
17875
e8296fdc
HE
178762011-05-31 Helmut Eller <eller.helmut@gmail.com>
17877
4d61f28d 17878 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
17879 *Backtrace* buffer when we exit with C-M-c.
17880
620c53a6
SM
178812011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
17882
17883 * minibuffer.el: Add metadata method to completion tables.
17884 (completion-category-overrides): New defcustom.
17885 (completion-metadata, completion--field-metadata)
17886 (completion-metadata-get, completion--styles)
17887 (completion--cycle-threshold): New functions.
17888 (completion-try-completion, completion-all-completions):
17889 Add `metadata' argument to choose completion-styles.
17890 (completion--do-completion): Use metadata to choose cycling.
17891 (completion-all-sorted-completions): Use metadata for sorting.
17892 Remove :completion-cycle-penalty which is not needed any more.
17893 (completion--try-word-completion): Add `metadata' argument.
17894 (minibuffer-completion-help): Check metadata for annotation function
17895 and sorting.
17896 (completion-file-name-table): Return `category' metadata.
17897 (minibuffer-completing-file-name): Make obsolete.
17898 * simple.el (minibuffer-completing-symbol): Make obsolete.
17899 * icomplete.el (icomplete-completions): Pass new `metadata' param to
17900 completion-try-completion.
17901
1257e755
SM
179022011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
17903
17904 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17905
3767e706
LL
179062011-05-30 Leo Liu <sdl.web@gmail.com>
17907
17908 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
17909 (rcirc-print): Decode all incoming messages (bug#8744).
17910 (rcirc-decode-coding-system): Allow value nil for automatic coding
17911 system detection.
3767e706 17912
d1a5d56a
GM
179132011-06-01 Glenn Morris <rgm@gnu.org>
17914
17915 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17916
e8cbec34
CY
179172011-05-29 Chong Yidong <cyd@stupidchicken.com>
17918
17919 * image.el (image-animate-max-time): Allow nil and t values.
17920 Default to nil.
17921 (create-animated-image): Doc fix.
17922 (image-animate-start): Remove second arg; just use
17923 image-animate-max-time.
17924 (image-animate-timeout): Doc fix. Args changed.
17925
17926 * image-mode.el (image-toggle-display-image): Ensure that the
17927 image spec passed to the animate timer is the same object as in
58179cce 17928 the buffer's display property (Bug#6981).
e8cbec34
CY
17929 (image-transform-properties): Doc fix.
17930
17931 * image.el (image-animate-max-time): Default to nil.
17932
159daf87
MR
179332011-05-29 Martin Rudalics <rudalics@gmx.at>
17934
17935 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17936 entire buffer list (Bug#8184).
17937
d66c4c7c
CY
179382011-05-29 Chong Yidong <cyd@stupidchicken.com>
17939
17940 * image.el (imagemagick-types-inhibit)
17941 (imagemagick-register-types): Doc fix.
17942
80aec780
DD
179432011-05-29 Deniz Dogan <deniz@dogan.se>
17944
17945 * net/rcirc.el (rcirc): Use the user's stored encryption method by
17946 default.
17947
1dd3c2d9
CY
179482011-05-29 Chong Yidong <cyd@stupidchicken.com>
17949
17950 * select.el: Don't perform clipboard-manager saving in hooks;
17951 leave the hooks empty.
17952
60e56523
LL
179532011-05-28 Leo Liu <sdl.web@gmail.com>
17954
17955 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17956 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
17957 (occur-edit-mode): New major mode (Bug#8463).
17958 (occur-after-change-function): New function.
17959 (occur-engine): Give Occur tags a read-only property.
17960
2b1e1a22
KR
179612011-05-28 Kevin Ryde <user42@zip.com.au>
17962
17963 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17964
5d344e88
CY
179652011-05-28 Chong Yidong <cyd@stupidchicken.com>
17966
8e6ca83d
CY
17967 * bindings.el (help-echo): Make the initial non-indicator dash
17968 empty on graphical terminals (Bug#7295).
17969
5d344e88
CY
17970 * files.el (auto-mode-alist): Move config rule after the
17971 in-stripping one (Bug#8547).
17972
bfbbace7
CY
17973 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17974
fbeba6e2
CY
17975 * startup.el (normal-splash-screen): Remove gratuitous mode-line
17976 setting (Bug#8740).
17977
60ed8c72
AA
179782011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
17979
4ac619f0
AA
17980 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17981 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17982 (Bug#8539).
60ed8c72 17983
23db196e
CY
179842011-05-28 Chong Yidong <cyd@stupidchicken.com>
17985
17986 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17987
5012f24c
DK
179882011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
17989
17990 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17991 (hs-hide-block-at-point, hs-find-block-beginning)
17992 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17993 (Bug#8279).
17994
6a639b16
GM
179952011-05-28 Glenn Morris <rgm@gnu.org>
17996
17997 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
17998
d43eaf2c
CY
179992011-05-28 Chong Yidong <cyd@stupidchicken.com>
18000
5199bde1
CY
18001 * help-fns.el (describe-function-1): If the function is a derived
18002 major mode, print the parent mode.
18003
d43eaf2c
CY
18004 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
18005 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
18006
423428a8
SM
180072011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
18008
0ff8e1ba 18009 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 18010 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
18011 * progmodes/etags.el (tags-completion-at-point-function):
18012 * info-look.el (info-lookup-completions-at-point): Mark as
18013 non-exclusive.
18014 (info-complete): Adjust accordingly.
18015
423428a8
SM
18016 * info-look.el: Convert to lexical-binding and completion-at-point.
18017 (info-lookup-completions-at-point): New function.
18018 (info-complete): Use it and completion-in-region.
18019
b74aa22b
DA
180202011-05-28 Drew Adams <drew.adams@oracle.com>
18021
18022 * isearch.el: Let M-e start with point at the first mismatched char.
18023 (isearch-fail-pos): New function.
18024 (isearch-edit-string): Use it.
18025
66e2e71d
DK
180262011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18027
18028 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18029
b1890b0f 180302011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
18031
18032 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
18033 traversal functions for avl-trees.
18034 (avl-tree--stack): New struct.
18035 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
18036 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
18037 (avl-tree--do-enter): Add optional `updatefun' arg.
18038 Change return value.
eb95d01d 18039 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
18040 (avl-tree--do-delete): Add `test' and `nilflag' args.
18041 Change return value.
eb95d01d
TC
18042 (avl-tree-member): Add optional `nilflag'
18043 (avl-tree-member-p): New function.
18044 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
18045 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
18046 (avl-tree-stack-empty-p): New functions.
18047
3769ddcf
TC
18048 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
18049 avl-tree--del-balance1 and make it work both ways.
18050 (avl-tree--del-balance2): Remove.
18051 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
18052 make it work both ways.
18053 (avl-tree--enter-balance2): Remove.
18054 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
18055 New macros.
18056 (avl-tree--mapc, avl-tree-map): Add direction argument.
18057
eb95d01d 180582011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
18059
18060 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
18061
a9f737ee
CY
180622011-05-27 Chong Yidong <cyd@stupidchicken.com>
18063
18064 * select.el: Support clipboard managers with built-in function
18065 x-clipboard-manager-save, via delete-frame-functions and
18066 kill-emacs-hook.
18067 (xselect-convert-to-targets): Add MULTIPLE target to list.
18068 (xselect-convert-to-save-targets): New function.
18069
c92a1e54
KH
180702011-05-27 Kenichi Handa <handa@m17n.org>
18071
18072 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
18073 let-binding rfc2047-encode-encoded-words to nil.
18074
e145f188
GM
180752011-05-27 Glenn Morris <rgm@gnu.org>
18076
5ec8a862
GM
18077 * mail/emacsbug.el: Don't require url-util.
18078
4b29d9fb
GM
18079 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
18080
e145f188
GM
18081 * files.el (set-auto-mode):
18082 Also respect mode: entries at the end of the file. (Bug#8586)
18083
7d15102b
GM
180842011-05-26 Glenn Morris <rgm@gnu.org>
18085
98f593b8
GM
18086 * files.el (hack-local-variables-prop-line, hack-local-variables):
18087 Downcase mode names, as seems to be traditional.
27b48e63 18088 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 18089
7d15102b
GM
18090 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
18091 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
18092
51d5b4ec
JD
180932011-05-25 Julien Danjou <julien@danjou.info>
18094
18095 * textmodes/rst.el (rst-define-level-faces): Do not define face
18096 symbol if it is already defined.
18097
91513f63
VB
180982011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
18099
18100 * play/5x5.el (5x5-new-game, 5x5-randomize):
18101 Reset 5x5-solver-output to nil when a new grid is cast.
18102 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
18103 these debugging traces, as defmacro breaks the compiled code.
18104
4d90d6d0
DK
181052011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
18106
18107 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
18108
e1b90ef6
LL
181092011-05-24 Leo Liu <sdl.web@gmail.com>
18110
18111 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
18112 (vc-bzr-sha1): Adapt.
18113
d8e4b68b 18114 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
18115
18116 * bindings.el: Provide sha1 feature.
18117
db0406bb 181182011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
18119
18120 * mail/sendmail.el: Require `rfc2047'.
18121 (mail-insert-from-field): Do not perform RFC2047 encoding.
18122 (mail-encode-header): New function.
18123 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
18124 buffer to the return value of select-message-coding-system.
18125 Call mail-encode-header.
b8d747b9
KH
18126
18127 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
18128
db0406bb 181292011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 18130
4d90d6d0
DK
18131 * mail/supercite.el (sc-default-cite-frame):
18132 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 18133
eb8a5e9b
GM
181342011-05-24 Glenn Morris <rgm@gnu.org>
18135
f8630703
GM
18136 * progmodes/python.el (brm-menu): Declare.
18137
8831bbed
GM
18138 * emulation/viper.el (viper-set-hooks): Declare.
18139
eb8a5e9b
GM
18140 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
18141 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
18142 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
18143 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
18144 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
18145 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
18146
a2a25d24
SM
181472011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
18148
18149 Add an :exit-function for completion-at-point.
18150
18151 * minibuffer.el (completion--done): New fun.
18152 (completion--do-completion): Use it. New arg `expect-exact'.
18153 (minibuffer-complete, minibuffer-complete-word): Don't output message,
18154 since completion--do-completion does it for us now.
18155 (minibuffer-force-complete): Use completion--done and
18156 completion--replace. Handle sole-completion case with more care.
18157 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
18158 (completion-extra-properties): New var.
18159 (completion-annotate-function): Make obsolete.
18160 (minibuffer-completion-help): Adjust accordingly.
18161 Use completion-list-insert-choice-function.
18162 (completion-at-point, completion-help-at-point):
18163 Bind completion-extra-properties.
18164 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
18165 * simple.el (completion-list-insert-choice-function): New var.
18166 (completion-setup-function): Preserve it.
18167 (choose-completion): Pay attention to it, shuffle the code a bit.
18168 (choose-completion-string): New arg `insert-function'.
18169
18170 * textmodes/bibtex.el: Convert to lexical binding.
18171 (bibtex-mode-map): Use completion-at-point.
18172 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
18173 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
18174 (bibtex-complete): Define as obsolete alias.
18175 (bibtex-complete-internal): Remove.
18176 (bibtex-format-entry): Remove unused sub-group in regexp.
18177 * shell.el (shell--command-completion-data)
18178 (shell-environment-variable-completion):
18179 * pcomplete.el (pcomplete-completions-at-point):
18180 * comint.el (comint--complete-file-name-data): Use :exit-function
18181 instead of completion-table-with-terminator so it also works for
18182 choose-completion.
18183
e44e373d
SM
181842011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18185
4f91a816
SM
18186 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
18187
782fc819
SM
18188 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
18189 (bug#8710).
18190
e44e373d
SM
18191 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
18192
381987c3
KM
181932011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
18194
18195 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
18196 customization variable and implement: If non-nil, auto-fill will
18197 be inhibited while on topic's header line.
18198
b776bc70
VB
181992011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
18200
18201 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 18202 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
18203 always have a solution in grid size = 5 cases.
18204 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
18205 (5x5-solver-output, 5x5-log-buffer): New vars.
18206 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
18207 Make these variables buffer local to achieve 5x5 multi-session-ness.
18208 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
18209 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
18210 (5x5-solve-suggest): New funs.
18211 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
18212 randomize a grid so that we ensure that there is always a solution.
18213 (5x5-make-random-grid): Allow other movement than flipping.
18214
7de88b6e
KR
182152011-05-23 Kevin Ryde <user42@zip.com.au>
18216
18217 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 18218 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
18219 advice and passes PREDICATE.
18220
b1ef1257
SM
182212011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
18222
bbca48fe
SM
18223 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
18224 byte-compile-lambda if it's actually a lambda.
18225
b1ef1257
SM
18226 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
18227 Fix function quoting. Use backquote better.
18228
92a9cc65
YS
182292011-05-22 Yuanle Song <sylecn@gmail.com>
18230
18231 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
18232 matching (Bug#8516).
18233
f0fb8059
JA
182342011-01-22 Jari Aalto <jari.aalto@cante.net>
18235
18236 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
18237 different face (Bug#8178).
18238
d5b44c93
CY
182392011-05-22 Chong Yidong <cyd@stupidchicken.com>
18240
18241 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
18242 defface (Bug#8144).
18243
79106a44
SM
182442011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
18245
9c848d8a
SM
18246 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
18247 funcall as well (bug#8712). Warn when performing those conversions.
18248 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
18249
79106a44
SM
18250 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
18251
88dfa756
GM
182522011-05-22 Glenn Morris <rgm@gnu.org>
18253
18254 * files.el (hack-local-variables-prop-line): Small simplifications.
18255 (hack-local-variables, hack-local-variables-prop-line):
18256 If MODE-ONLY, return the mode, rather than just `t'.
18257
b7cf2c79
SM
182582011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
18259
18260 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18261
3f1a8558
GM
182622011-05-21 Glenn Morris <rgm@gnu.org>
18263
7e4ccca3
GM
18264 * files.el (hack-local-variables-prop-line, hack-local-variables):
18265 If only interested in the mode, don't bother doing the other stuff.
18266
637d46ca
GM
18267 * image-mode.el (image-after-revert-hook):
18268 Redraw all frames on which the image is visible. (Bug#8567)
18269
973d955b
GM
18270 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
18271
3f1a8558
GM
18272 * wid-edit.el (widget-checklist-match-inline):
18273 Fix 2011-04-19 change. (Bug#8649)
18274
96479927
SM
182752011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
18276
1dcf791f
SM
18277 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18278 Also allow singlespace after single-letter capitals followed by a dot.
18279
96479927
SM
18280 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18281 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18282
35fd0881
N
182832011-05-20 Nix <nix@esperi.org.uk>
18284
18285 * files.el (basic-save-buffer-2):
18286 Fix handling of break-hardlink-on-save with non-existent files.
18287
82745640
DD
182882011-05-19 Deniz Dogan <deniz@dogan.se>
18289
18290 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 18291 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 18292
4a720484
GM
182932011-05-19 Glenn Morris <rgm@gnu.org>
18294
d1f21341
GM
18295 * progmodes/f90.el (f90-type-def-re):
18296 Handle "type, bind(c)". (Bug#8691)
18297
4a720484
GM
18298 * emacs-lisp/autoload.el (batch-update-autoloads):
18299 Set autoload-excludes by parsing loadup.el rather than Makefiles.
18300
2fb0a219
MA
183012011-05-18 Michael Albinus <michael.albinus@gmx.de>
18302
18303 * net/tramp.el (tramp-process-actions): Set "first-password-request"
18304 property for the correct connection in case of multihops.
18305
e565dd37
GM
183062011-05-18 Glenn Morris <rgm@gnu.org>
18307
c2571358 18308 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
18309 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18310
e565dd37
GM
18311 Rationalize calendar handling of day and month abbrev-arrays.
18312 * calendar/calendar.el (calendar-customized-p): New function.
18313 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18314 (calendar-day-name-array, calendar-month-name-array): Doc fix.
18315 Add :set function.
18316 (calendar-abbrev-length, calendar-day-abbrev-array)
18317 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18318 (calendar-day-abbrev-array, calendar-month-abbrev-array):
18319 Elements may no longer be nil.
18320 (calendar-day-name, calendar-month-name):
18321 Update for changed nature of abbrev arrays.
18322 * calendar/diary-lib.el (diary-name-pattern):
18323 Update for changed nature of abbrev arrays.
18324 (diary-mark-entries-1): Update calendar-make-alist calls.
18325 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18326 * calendar/cal-html.el (cal-html-day-abbrev-array):
18327 Simply inherit from calendar-day-abbrev-array.
18328
1d99a745
SM
183292011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
18330
18331 * progmodes/grep.el (grep-mode): Disable default
18332 compilation-directory-matcher setting (bug#8684).
18333
7c1d9aa0
MA
183342011-05-17 Michael Albinus <michael.albinus@gmx.de>
18335
18336 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18337 instead of "head" and "tail". There were problems with SunOS 5.9,
18338 and it performs better.
18339
3952e9d8
GM
183402011-05-17 Glenn Morris <rgm@gnu.org>
18341
2dd12e7f
GM
18342 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18343
e4157b9c
GM
18344 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18345 Replace obsolete function.
18346
8e249bbd
GM
18347 * shell.el (pcomplete-parse-arguments-function): Declare.
18348
3952e9d8
GM
18349 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18350 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18351 (appt-check): Doc fixes.
18352 (appt-disp-window-function, appt-delete-window-function):
18353 Remove needless special case in custom :type.
18354 (appt-display-count): Default to 0, not nil.
18355 (appt-check): Reset appt-display-count to 0, not nil.
18356
c71a0d48 183572011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 18358
c71a0d48
GM
18359 * progmodes/python.el (python-font-lock-keywords):
18360 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 18361
31d55be9
SM
183622011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
18363
18364 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18365
3bfacb2f
KR
183662011-05-16 Kevin Ryde <user42@zip.com.au>
18367
18368 * info-look.el (makefile-automake-mode): New setups, looking in
18369 automake manual, then makefile-mode.
18370 (makefile-mode): Remove automake manual, have it just in
18371 makefile-automake-mode since there's various things different or
18372 not relevant to plain make.
18373 (makefile-mode): Remove "other-modes" non-existent automake-mode,
18374 believe a hypothetical automake-mode would go to makefile-mode,
18375 not the other way around.
18376
c8e83751
CY
183772011-05-15 Chong Yidong <cyd@stupidchicken.com>
18378
5e9e35cd
CY
18379 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18380 hunk-end tags (Bug#8672).
18381
c8e83751
CY
18382 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18383 vc-annotate-show-diff-revision-at-line (Bug#8671).
18384
50b23e5a
GM
183852011-05-14 Glenn Morris <rgm@gnu.org>
18386
7210a739
GM
18387 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18388 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
18389 (change-log-font-lock-keywords): Also handle multiple author lines
18390 with leading tabs. (Bug#8644)
7210a739 18391
4691905a
GM
18392 * calendar/appt.el (appt-check): Rename some local variables.
18393 Some simplification/reordering.
18394
50b23e5a
GM
18395 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18396 (feedmail-sendmail-f-doesnt-sell-me-out)
18397 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18398 (feedmail-debug-sit-for, feedmail-queue-express-hook)
18399 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
18400 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18401 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
18402 (feedmail-binmail-gnulinuxish-template):
18403 Rename from feedmail-binmail-linuxish-template.
18404 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18405 Use insert-buffer-substring.
18406
215cda7c
BC
184072011-05-14 Bill Carpenter <bill@carpenter.org>
18408
18409 * mail/feedmail.el (feedmail-patch-level): Increase.
18410 (feedmail-debug): New custom group.
18411 (feedmail-confirm-outgoing-timeout)
18412 (feedmail-sendmail-f-doesnt-sell-me-out)
18413 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18414 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18415 (feedmail-sender-line, feedmail-from-line)
18416 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 18417 (feedmail-spray-this-address)
215cda7c
BC
18418 (feedmail-spray-address-fiddle-plex-list)
18419 (feedmail-queue-use-send-time-for-date)
18420 (feedmail-queue-use-send-time-for-message-id)
18421 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18422 (feedmail-buffer-eating-function):
18423 Doc fixes.
18424 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18425 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18426 (feedmail-message-action-scroll-down): New functions.
18427 (feedmail-queue-directory, feedmail-queue-draft-directory):
18428 Use expand-file-name.
18429 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18430 Remove C-v help entry.
18431 (feedmail-queue-buffer-file-name): New variable.
18432 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18433 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18434 (feedmail-message-action-send-strong, feedmail-message-action-edit)
18435 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18436 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18437 (feedmail-message-action-toggle-spray)
18438 (feedmail-run-the-queue-no-prompts)
18439 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18440 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18441 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18442 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18443 (feedmail-envelope-deducer, feedmail-fiddle-from)
18444 (feedmail-fiddle-sender, feedmail-default-date-generator)
18445 (feedmail-fiddle-date, feedmail-fiddle-message-id)
18446 (feedmail-fiddle-spray-address)
18447 (feedmail-fiddle-list-of-spray-fiddle-plexes)
18448 (feedmail-fiddle-list-of-fiddle-plexes)
18449 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18450 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18451 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18452 Change default. Doc fix.
18453 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18454 (feedmail-binmail-linuxish-template): New constant.
18455 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
18456 Respect feedmail-sendmail-f-doesnt-sell-me-out.
18457 (feedmail-send-it): Add debug call.
18458 Use feedmail-queue-buffer-file-name, and
18459 feedmail-send-it-immediately-wrapper.
18460 (feedmail-message-action-send): Add debug call.
18461 Use feedmail-send-it-immediately-wrapper.
18462 (feedmail-queue-express-to-queue): Add debug call.
18463 Run feedmail-queue-express-hook.
18464 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
18465 (feedmail-message-action-help-blat):
18466 Rename from feedmail-queue-send-edit-prompt-help-first.
18467 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
18468 Check line-endings. Handle errors better.
18469 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18470 Doc fix. Add debug call.
18471 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
18472 Use feedmail-queue-send-edit-prompt-inner.
18473 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18474 (feedmail-queue-send-edit-prompt-inner): New function, extracted
18475 from feedmail-queue-send-edit-prompt.
18476 (feedmail-queue-send-edit-prompt-help)
18477 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18478 (feedmail-tidy-up-slug): Add debug call.
18479 Respect feedmail-queue-slug-suspect-regexp.
18480 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18481 (feedmail-dump-message-to-queue): Add debug call.
18482 Expand queue-directory.
18483 (feedmail-dump-message-to-queue): Change message slightly.
18484 Use feedmail-say-chatter.
18485 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
18486 (feedmail-send-it-immediately-wrapper): New function.
18487 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
18488 Insert empty string rather than newline. Handle full-frame case.
18489 Use catch/throw. Use feedmail-say-chatter.
18490 (feedmail-fiddle-from): Try mail-host-address.
18491 (feedmail-default-message-id-generator): Doc fix.
18492 Bind system-time-locale. Handle missing end.
18493 (feedmail-fiddle-x-mailer): Add debug call.
18494 Handle feedmail-x-mailer-line being nil.
18495 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18496 Add debug call. Use buffer-substring-no-properties.
18497 (feedmail-say-debug, feedmail-say-chatter): New functions.
18498 (feedmail-find-eoh): Give an explicit error.
18499
42c7e61e
UJ
185002011-05-13 Ulf Jasper <ulf.jasper@web.de>
18501
c2571358 18502 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 18503 family from helvetica to sans.
c2571358 18504 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18505 etc/images/newsticker.
18506
c2571358 18507 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
18508 family from helvetica to sans.
18509
18510 * net/newst-plainview.el (newsticker-new-item-face)
18511 (newsticker-old-item-face, newsticker-immortal-item-face)
18512 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 18513 (newsticker-statistics-face): Change default family from
42c7e61e 18514 helvetica to sans.
c2571358 18515 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
18516 etc/images/newsticker.
18517
5d3385a0
JB
18518 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18519 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
18520 auto-marking.
18521
8497a297
DV
185222011-05-13 Didier Verna <didier@xemacs.org>
18523
18524 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
18525 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18526 TODO entries.
8497a297
DV
18527 (lisp-lambda-list-keyword-parameter-indentation)
18528 (lisp-lambda-list-keyword-parameter-alignment)
18529 (lisp-lambda-list-keyword-alignment): New customizable user options.
18530 (lisp-indent-defun-method): Improve docstring.
18531 (extended-loop-p): Fix comment.
18532 (lisp-indent-lambda-list-keywords-regexp): New variable.
18533 (lisp-indent-lambda-list): New function.
18534 (lisp-indent-259): Use it.
18535 (lisp-indent-defmethod): Support for more than one
18536 method qualifier and properly indent methods lambda-lists.
18537 (defgeneric): Provide a missing common-lisp-indent-function property.
18538
f278f87f
SM
185392011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
18540
18541 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18542 bounds for the empty string (bug#8667).
18543
5233edd7
GM
185442011-05-13 Glenn Morris <rgm@gnu.org>
18545
5237a44f
GM
18546 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18547
8340026c 18548 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 18549 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 18550
5233edd7 18551 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 18552 (appt-time-msg-list): Doc fix.
a5464014 18553 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 18554
92d10796
AS
185552011-05-12 Andreas Schwab <schwab@linux-m68k.org>
18556
18557 * progmodes/ld-script.el (ld-script-keywords)
18558 (ld-script-builtins): Update keywords list.
18559
914a0ae1
SM
185602011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18561
c89be45f
SM
18562 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18563
914a0ae1
SM
18564 * shell.el (shell-completion-vars): New function.
18565 (shell-mode):
18566 * simple.el (read-shell-command): Use it.
18567 (blink-matching-open): No need for " [...]" in minibuffer-message.
18568
98dc3df3
GM
185692011-05-12 Glenn Morris <rgm@gnu.org>
18570
18571 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18572 (appt-check): Simplify.
18573
d2fc7e3d 185742011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 18575
4d61f28d 18576 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
18577 literal "/dev/null".
18578
d2fc7e3d 185792011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
18580
18581 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18582 Fix typo.
18583
d2fc7e3d 185842011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 18585
3f254caa
SM
18586 * progmodes/which-func.el (which-function):
18587 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
18588 which might not be defined (Bug#8260).
18589
d45885f7
GM
185902011-05-12 Glenn Morris <rgm@gnu.org>
18591
18592 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18593 Let byte-compile-initial-macro-environment always take precedence.
18594
488086f4
SM
185952011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
18596
18597 * net/rcirc.el: Add support for SSL/TLS connections.
18598 (rcirc-server-alist): New field `encryption'.
18599 (rcirc): Check `encryption' settings.
18600 (rcirc-connect): New arg `encryption'. Use open-network-stream.
18601 Merge make-local-variable into `set'.
18602 (rcirc--connection-open-p): New function.
18603 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18604 the process is not a network process (e.g. running gnutls-cli).
18605 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18606 Make rcirc-(en|de)code-coding-system local here.
18607 (rcirc-mode): Merge make-local-variable into `set'.
18608 (rcirc-parent-buffer): Make permanent buffer-local.
18609 (rcirc-multiline-minor-mode): Don't do it here.
18610 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18611 there's no server buffer.
18612
7d3b9d44
GM
186132011-05-11 Glenn Morris <rgm@gnu.org>
18614
f64049c6
GM
18615 * newcomment.el (comment-kill): Prefix "unused" local.
18616
93c9df73
GM
18617 * term/w32console.el (get-screen-color): Declare.
18618
7d3b9d44
GM
18619 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18620 Handle symbol elements of byte-compile-initial-macro-environment.
18621
9e2dd53f
LL
186222011-05-10 Leo Liu <sdl.web@gmail.com>
18623
488086f4
SM
18624 * bookmark.el (bookmark-bmenu-mode-map):
18625 Bind bookmark-bmenu-search to `/'.
8b340240 18626
9e2dd53f 18627 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
18628 (footnote-unicode-string, footnote-unicode-regexp): New variable.
18629 (Footnote-unicode): New function.
18630 (footnote-style-alist): Add unicode style to the list.
18631 (footnote-style): Doc fix.
9e2dd53f 18632
79b70037
GM
186332011-05-10 Jim Meyering <meyering@redhat.com>
18634
18635 Fix doubled-word typos.
18636 * international/quail.el (quail-insert-kbd-layout): and and -> and
18637 * kermit.el: and and -> and
18638 * net/ldap.el (ldap-search-internal): to to -> to
18639 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18640 * progmodes/js.el (js-mode): and and -> and
18641 * textmodes/artist.el (artist-move-to-xy): at at -> at
18642 (artist-draw-region-trim-line-endings): if if -> if
18643 And Safetyc -> Safety.
18644 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18645
b8f82dc1 186462011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 18647 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
18648
18649 * files.el (hack-one-local-variable-eval-safep):
18650 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
18651
4f99f44b
GM
186522011-05-10 Glenn Morris <rgm@gnu.org>
18653
18654 * calendar/diary-lib.el (diary-list-entries-hook)
18655 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18656 (diary-nongregorian-marking-hook, diary-list-entries)
18657 (diary-include-other-diary-files, diary-mark-entries)
18658 (diary-mark-included-diary-files): Doc fixes.
18659
84f29e6b
JB
186602011-05-09 Juanma Barranquero <lekktu@gmail.com>
18661
18662 * misc.el: Require tabulated-list.el during compilation.
18663
9bedd73a
CY
186642011-05-09 Chong Yidong <cyd@stupidchicken.com>
18665
488086f4
SM
18666 * progmodes/compile.el (compilation-start):
18667 Run compilation-filter-hook for the async case too.
9bedd73a
CY
18668 (compilation-filter-hook): Doc fix.
18669
797c735c
DD
186702011-05-09 Deniz Dogan <deniz@dogan.se>
18671
18672 * wdired.el: Remove outdated installation comment. Fix usage
18673 comment.
18674
5f4b1dfe
JB
186752011-05-09 Juanma Barranquero <lekktu@gmail.com>
18676
18677 * misc.el: Implement new command `list-dynamic-libraries'.
18678 (list-dynamic-libraries--loaded-only-p): New variable.
18679 (list-dynamic-libraries--refresh): New function.
18680 (list-dynamic-libraries): New command.
18681
4c44026c
CY
186822011-05-09 Chong Yidong <cyd@stupidchicken.com>
18683
488086f4
SM
18684 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18685 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
18686 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
18687 higher priority to avoid clobbering by gnu.
18688
027f966d
CY
186892011-05-08 Chong Yidong <cyd@stupidchicken.com>
18690
18691 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18692 if the face has existing theme settings (Bug#8454).
18693
085f5d7d
CY
186942011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
18695
488086f4
SM
18696 * progmodes/perl-mode.el (perl-imenu-generic-expression):
18697 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 18698
2a86a00c
RS
18699 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18700 special file names `.' and `..' (Bug#8259).
18701
d9c54a06
CY
187022011-05-08 Chong Yidong <cyd@stupidchicken.com>
18703
488086f4
SM
18704 * progmodes/grep.el (grep-mode-font-lock-keywords):
18705 Remove buffer-changing entries.
d9c54a06
CY
18706 (grep-filter): New function.
18707 (grep-mode): Add it to compilation-filter-hook.
18708
18709 * progmodes/compile.el (compilation-filter-hook)
18710 (compilation-filter-start): New defvars.
18711 (compilation-filter): Call compilation-filter-hook prior to
18712 updating the process mark.
18713
c4662635
SM
187142011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
18715
18716 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18717
b0512a1d
EZ
187182011-05-07 Eli Zaretskii <eliz@gnu.org>
18719
605c9376
EZ
18720 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18721 mailclient-send-it even if window-system is nil. (Bug#8595)
18722
c4662635
SM
18723 * term/w32console.el (terminal-init-w32console):
18724 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
18725 background-mode. (Bug#8597)
18726
d1dc2cc2
SM
187272011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
18728
18729 Make bytecomp.el understand that defmethod defines funs (bug#8631).
18730 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18731 New functions.
18732 (defgeneric, eieio--defmethod): Use them.
18733 (eieio-defgeneric): Remove.
18734 (defmethod): Call defgeneric in a way visible to the byte-compiler.
18735
915d1300
GM
187362011-05-07 Glenn Morris <rgm@gnu.org>
18737
a3961c3e
GM
18738 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18739 Use let rather than let*.
18740 (timeclock-find-discrep): Remove unused local.
18741
314347b9
GM
18742 * calendar/diary-lib.el (diary-comment-start): Doc fix.
18743
915d1300
GM
18744 * calendar/appt.el (appt-time-msg-list): Doc fix.
18745
275b59b0
NF
187462011-05-06 Noah Friedman <friedman@splode.com>
18747
18748 * apropos.el (apropos-print-doc): Only use
18749 emacs-lisp-docstring-fill-column when it is bound to an integer,
18750 per that variable's documentation.
18751
6c19f744
SM
187522011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
18753
18754 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 18755 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 18756
60f884b2
GM
187572011-05-06 Glenn Morris <rgm@gnu.org>
18758
5006e634
GM
18759 * calendar/appt.el (appt-message-warning-time): Doc fix.
18760 (appt-warning-time-regexp): New option.
18761 (appt-make-list): Respect appt-message-warning-time.
18762
548d0a63
GM
18763 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18764 New options.
18765 (diary-add-to-list): Strip comments from the displayed string.
18766 (diary-mode): Set comment-start and comment-end.
18767
60f884b2
GM
18768 * vc/diff-mode.el (smerge-refine-subst): Declare.
18769 (diff-refine-hunk): Don't require smerge-mode when compiling.
18770
989681bb
JB
187712011-05-06 Juanma Barranquero <lekktu@gmail.com>
18772
18773 * simple.el (list-processes): Return nil as the docstring says.
18774
a6bc05e1
MA
187752011-05-05 Michael Albinus <michael.albinus@gmx.de>
18776
18777 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18778 to "".
18779 (ange-ftp-write-region, ange-ftp-insert-file-contents)
18780 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18781 determining of binary transfer. (Bug#7383)
18782
23c22e9a
MA
187832011-05-05 Michael Albinus <michael.albinus@gmx.de>
18784
c4662635
SM
18785 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18786 Fix port computation bug. (Bug#8618)
23c22e9a 18787
0bff894f
GM
187882011-05-05 Glenn Morris <rgm@gnu.org>
18789
b8296902
GM
18790 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18791
1f522ce8
GM
18792 * simple.el (shell-dynamic-complete-functions)
18793 (comint-dynamic-complete-functions): Declare.
18794
cf5bee67
GM
18795 * net/network-stream.el (gnutls-negotiate):
18796 * simple.el (tabulated-list-print): Fix declarations.
18797
18798 * progmodes/gud.el (syntax-symbol, syntax-point):
18799 Remove unnecessary and incorrect declarations.
18800
0bff894f 18801 * emacs-lisp/check-declare.el (check-declare-scan):
1f9f395d 18802 Handle byte-compile-initial-macro-environment in bytecomp.el.
0bff894f 18803
9869b3ae
SM
188042011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
18805
18806 Fix earlier half-done eieio-defmethod change (bug#8338).
18807 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18808 Streamline and change calling convention.
18809 (defmethod): Adjust accordingly and simplify.
18810 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18811 new eieio--defmethod.
18812 (slot-boundp): Minor CSE simplification.
18813
9c1d5ac5
MZ
188142011-05-05 Milan Zamazal <pdm@zamazal.org>
18815
18816 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18817 (glasses-make-readable): Use glasses-separate-capital-groups.
18818
455c834e
JB
188192011-05-05 Juanma Barranquero <lekktu@gmail.com>
18820
18821 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18822 (warning-series): Doc fix.
18823 (display-warning): Don't try to create the buffer if we just found it.
18824
9ed7c8cb
CY
188252011-05-04 Chong Yidong <cyd@stupidchicken.com>
18826
18827 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18828 (autoload-find-generated-file): New function.
18829 (generate-file-autoloads): Bind generated-autoload-file to
18830 buffer-file-name.
9869b3ae
SM
18831 (update-file-autoloads, update-directory-autoloads):
18832 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
18833 output file (Bug#7989).
18834 (batch-update-autoloads): Doc fix.
18835
0898ca10
JB
188362011-05-04 Juanma Barranquero <lekktu@gmail.com>
18837
18838 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18839
31dfb76c
GM
188402011-05-04 Glenn Morris <rgm@gnu.org>
18841
f330b642
GM
18842 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18843 function, so it follows changes in calendar-date-style.
18844 (diary-fancy-date-matcher): New function.
18845 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18846 (diary-fancy-font-lock-fontify-region-function):
18847 Use diary-fancy-date-pattern as a function.
18848
31dfb76c
GM
18849 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18850 non-numbers for `year' etc pseudo-variables. (Bug#8583)
18851
48e79d6a
TZ
188522011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
18853
18854 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18855 instead of positional arguments. Allow :keylist and :crlfiles
18856 arguments.
18857 (open-gnutls-stream): Call it.
18858
18859 * net/network-stream.el (network-stream-open-starttls): Adjust to
18860 call `gnutls-negotiate' with :process and :hostname arguments.
18861
dd5a5ee0
SM
188622011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
18863
ef80fc09
SM
18864 * minibuffer.el (completion--message): New function.
18865 (completion--do-completion, minibuffer-complete)
18866 (minibuffer-force-complete, minibuffer-complete-word): Use it.
18867 (completion--do-completion): Don't ignore completion-auto-help when in
18868 icomplete-mode.
18869
dd5a5ee0
SM
18870 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18871 internal encoding (e.g. tibetan zero is not whitespace).
18872 (global-whitespace-mode): Prefer save-current-buffer.
18873 (whitespace-trailing-regexp): Remove useless save-match-data.
18874 (whitespace-empty-at-bob-regexp): Minor simplification.
18875
b7d22a83
CY
188762011-05-03 Chong Yidong <cyd@stupidchicken.com>
18877
18878 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18879
5192af46
AM
188802011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18881
18882 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 18883 Use `concat' to create string for insertion.
5192af46 18884
5767d190
SM
188852011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18886
18887 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18888 Avoid open-line which runs post-self-insert-hook.
18889 (bibtex-fill-entry): Remove unused `end' var.
18890
bf242939
AM
188912011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
18892
5767d190
SM
18893 * textmodes/ispell.el (ispell-add-per-file-word-list):
18894 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 18895
25666126
LL
188962011-05-03 Leo Liu <sdl.web@gmail.com>
18897
18898 * isearch.el (isearch-yank-pop): New command.
5767d190 18899 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
18900 (isearch-forward): Mention it.
18901
52d3c2d0
SM
189022011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
18903
1bcace58
SM
18904 * simple.el (minibuffer-complete-shell-command): Remove.
18905 (minibuffer-local-shell-command-map): Use completion-at-point.
18906 (read-shell-command): Setup completion vars here instead.
18907 (read-expression-map): Bind TAB to symbol completion.
18908
52d3c2d0
SM
18909 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18910 error directly rather via storing it into `results'.
18911
35813471
LL
189122011-05-02 Leo Liu <sdl.web@gmail.com>
18913
18914 * vc/diff.el: Fix description.
18915
e793a940
LMI
189162011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18917
18918 * server.el (server-eval-at): New function.
18919
8de66e05
LMI
189202011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18921
18922 * net/network-stream.el (open-network-stream): Take a :nowait
18923 parameter and pass it on to `make-network-process'.
18924 (network-stream-open-plain): Ditto.
18925
dcb79f20
AS
189262011-04-30 Andreas Schwab <schwab@linux-m68k.org>
18927
18928 * faces.el (face-spec-set-match-display): Don't match toolkit
18929 options on terminal frames.
18930
14a7fbd8
SM
189312011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
18932
7eabc1be
SM
18933 * progmodes/pascal.el: Use lexical binding.
18934 (pascal-mode-map): Remove author preferences.
18935
14a7fbd8
SM
18936 * pcomplete.el (pcomplete-std-complete): Don't abuse
18937 completion-at-point.
18938
50f84510
JB
189392011-04-28 Juanma Barranquero <lekktu@gmail.com>
18940
6e087a44
JB
18941 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18942 removing code that has been dead since 1991 or so.
18943
50f84510
JB
18944 * startup.el (command-line): When warning about "_emacs", use a
18945 delayed warning to allow the user to filter it out.
18946
0ba690bd
DD
189472011-04-28 Deniz Dogan <deniz@dogan.se>
18948
18949 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18950 user has not joined.
18951
08abfaad
SM
189522011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18953
18954 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18955 aren't any completions at point.
18956
638f053a
JB
189572011-04-28 Juanma Barranquero <lekktu@gmail.com>
18958
18959 * subr.el (display-delayed-warnings): New function.
18960 (delayed-warnings-hook): New variable.
18961
8fff8daa
SM
189622011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
18963
08abfaad
SM
18964 * minibuffer.el (completion-at-point, completion-help-at-point):
18965 Don't presume that a given completion-at-point-function will always
18966 use the same calling convention.
18967
8fff8daa
SM
18968 * pcomplete.el (pcomplete-completions-at-point):
18969 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
18970 pcomplete-seen is non-nil.
18971 (pcomplete-comint-setup): Also recognize the new comint/shell
18972 completion functions.
18973 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18974 pcomplete-seen is non-nil.
18975
841a1577 189762011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 18977
841a1577 18978 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 18979 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 18980 the first character in the entry. This allows for code to add its
211ec907
UJ
18981 own uid to the entry.
18982 (icalendar--convert-float-to-ical): Add export of
18983 `diary-float'-entries save for those with the optional DAY
18984 argument.
18985
2a782793
DC
189862011-04-27 Daniel Colascione <dan.colascione@gmail.com>
18987
18988 * subr.el (shell-quote-argument): Use alternate escaping strategy
18989 when we spot a variable reference in a string.
18990
0438ce91
DC
189912011-04-26 Daniel Colascione <dan.colascione@gmail.com>
18992
18993 * cus-start.el (all): Define customization for debug-on-event.
18994
841a1577 189952011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
18996
18997 * subr.el (shell-quote-argument): Escape correctly under Windows.
18998
d090ed6c
SM
189992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19000
19001 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
19002
bfd31217
MA
190032011-04-25 Michael Albinus <michael.albinus@gmx.de>
19004
d090ed6c
SM
19005 * net/tramp.el (tramp-process-actions): Add POS argument.
19006 Delete region between POS and (pos).
bfd31217 19007
d090ed6c
SM
19008 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19009 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
19010 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
19011
19012 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
19013 position in `tramp-process-actions' call.
19014
19015 * net/trampver.el: Update release number.
19016
e92f3bd3
SM
190172011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
19018
850256b5
SM
19019 * custom.el (defcustom): Obey lexical-binding.
19020
e92f3bd3
SM
19021 Fix octave-inf completion problems reported by Alexander Klimov.
19022 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
19023 Inherit from octave-mode-syntax-table.
19024 (inferior-octave-mode): Set info-lookup-mode.
19025 (inferior-octave-completion-at-point): New function.
19026 (inferior-octave-complete): Use it and completion-in-region.
19027 (inferior-octave-dynamic-complete-functions): Use it as well, and use
19028 comint-filename-completion.
19029 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
19030 symbol elements which shouldn't be word elements.
19031 (octave-font-lock-keywords, octave-beginning-of-defun)
19032 (octave-function-header-regexp): Adjust regexps accordingly.
19033 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
19034
cd22b309
JB
190352011-04-25 Juanma Barranquero <lekktu@gmail.com>
19036
19037 * net/gnutls.el (gnutls-errorp): Declare before first use.
19038
8b492194
TZ
190392011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
19040
19041 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
19042 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 19043 default trustfile exists before going to use it. Add missing
5a5fa834 19044 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
19045 Reported by Claudio Bley <claudio.bley@gmail.com>.
19046 (open-gnutls-stream): Add usage example.
19047
19048 * net/network-stream.el (network-stream-open-starttls): Give host
19049 parameter to `gnutls-negotiate'.
19050 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 19051 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 19052
841a1577 190532011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 19054
cd22b309
JB
19055 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
19056 Use correct match group (bug#8438).
05842630 19057
3ba7869c
CY
190582011-04-24 Chong Yidong <cyd@stupidchicken.com>
19059
512e3ae1
CY
19060 * emacs-lisp/package.el (package-built-in-p): Fix typo.
19061 (package-menu--generate): New arg specifying packages to show.
19062 (package-menu-refresh, package-menu-execute, list-packages):
19063 Callers changed.
19064 (package-show-package-list): New function, replacing deleted
19065 package--list-packages (renamed because it is non-internal).
19066
19067 * finder.el (finder-list-matches): Use package-show-package-list
19068 instead of deleted package--list-packages.
19069
e92f3bd3
SM
19070 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
19071 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
19072 (vc-annotate-mode-map): Bind it to RET.
19073
7031be6d
UR
190742011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
19075
19076 * progmodes/etags.el (next-file): Don't use set-buffer to change
19077 buffers (Bug#8478).
19078
4ef177aa
CY
190792011-04-24 Chong Yidong <cyd@stupidchicken.com>
19080
c8d173eb
CY
19081 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
19082
4ef177aa
CY
19083 * apropos.el (apropos-label-face): Avoid variable-pitch face.
19084 (apropos-accumulator): Doc fix.
19085 (apropos-function, apropos-macro, apropos-command)
19086 (apropos-variable, apropos-face, apropos-group, apropos-widget)
19087 (apropos-plist): Add face property.
19088 (apropos-symbols-internal): Fix indentation.
19089 (apropos-print): Simplify help, and recognize apropos-multi-type.
19090 (apropos-print-doc): Use button-type-get to extract the button's
19091 face property. Fill docstring (Bug#8352).
19092
4ffd0d6b 190932011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
19094
19095 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
19096
c6c32125 19097 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 19098 (mpuz-mode-map): Use mapc.
c6c32125
JB
19099 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
19100 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
19101 Fix typos in docstrings.
19102
58d468b4
JB
19103 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
19104 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
19105
6470c3c6
JB
19106 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
19107
4ffd0d6b 191082011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
19109
19110 * minibuffer.el (completion--do-completion): Avoid the "Next char
19111 not unique" prompt if icomplete-mode is enabled (Bug#5849).
19112
3ad8bad0
CY
19113 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
19114 mouse-2 into unread-command-events, it is interpreted correctly.
19115
71d73c9c 19116 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 19117 (image-toggle-display): Doc fix.
71d73c9c 19118
841a1577 191192011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 19120
4ffd0d6b
GM
19121 * textmodes/page.el (what-page): Use line-number-at-pos to
19122 calculate line number (Bug#6825).
6e1dbaa9 19123
c2fb1b60
JB
191242011-04-22 Juanma Barranquero <lekktu@gmail.com>
19125
19126 * eshell/esh-mode.el (find-tag-interactive): Declare function.
19127 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
19128 Pass argument NO-DEFAULT to `find-tag-interactive'.
19129
e02f48d7
JB
191302011-04-22 Juanma Barranquero <lekktu@gmail.com>
19131
19132 Lexical-binding cleanup.
19133
19134 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
19135 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
19136 * progmodes/ada-prj.el (ada-prj-initialize-values)
19137 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
19138 (ada-prj-show-value):
19139 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
19140 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
19141 (antlr-invalidate-context-cache, antlr-options-menu-filter)
19142 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
19143 * progmodes/bug-reference.el (bug-reference-push-button):
19144 * progmodes/fortran.el (fortran-line-length):
19145 * progmodes/glasses.el (glasses-change):
19146 * progmodes/octave-mod.el (octave-fill-paragraph):
19147 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
19148 (python-pdbtrack-grub-for-buffer, python-sentinel):
19149 * progmodes/sql.el (sql-save-connection):
19150 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
19151 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
19152 Mark unused parameters.
19153
19154 * progmodes/compile.el (compilation--flush-directory-cache)
19155 (compilation--flush-parse, compile-internal): Mark unused parameters.
19156 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
19157 (compilation-next-error-function): Remove unused variable `timestamp'.
19158
19159 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
19160 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
19161
19162 * progmodes/dcl-mode.el (dcl-end-of-command):
19163 Remove unused variable `start'.
19164 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
19165 (dcl-option-value-basic, dcl-option-value-offset)
19166 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
19167 Mark unused parameters.
19168 (dcl-save-local-variable): Remove unused variable `val'.
19169 (mode): Declare.
19170
19171 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
19172 Mark unused parameters.
19173 (delphi-ignore-changes): Move before first use.
19174 (delphi-charset-token-at): Remove unused variable `start'.
19175 (delphi-else-start): Remove unused variable `if-count'.
19176 (delphi-comment-block-start, delphi-comment-block-end):
19177 Remove unused variable `kind'.
19178 (delphi-indent-line): Remove unused variable `new-point'.
19179
19180 * progmodes/ebrowse.el (ebrowse-files-list)
19181 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
19182 Mark unused parameters. Don't quote `lambda'.
19183 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
19184 Don't quote `lambda'.
19185 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
19186 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
19187 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
19188 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
19189 Use `ignore-errors'.
19190 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
19191 (ebrowse-view/find-file-and-search-pattern)
19192 (ebrowse-view/find-member-declaration/definition):
19193 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
19194 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
19195 Rename parameter PREFIX-ARG to PREFIX.
19196 (ebrowse-tags-read-name): Remove unused variables `start' and
19197 `member-info'.
19198 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
19199 to `tags-file'.
19200
19201 * progmodes/etags.el (local-find-tag-hook): Declare.
19202 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
19203 Mark unused parameters.
19204
19205 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
19206 (executable-interpret): Mark unused parameter.
19207
19208 * progmodes/flymake.el (flymake-process-sentinel)
19209 (flymake-after-change-function)
19210 (flymake-create-temp-with-folder-structure)
19211 (flymake-get-include-dirs-dot): Mark unused parameters.
19212 (flymake-safe-delete-directory): Remove unused variable `err'.
19213
19214 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
19215 (speedbar-timer-fn, speedbar-line-text)
19216 (speedbar-change-expand-button-char, speedbar-delete-subblock)
19217 (speedbar-center-buffer-smartly): Declare functions.
19218 (gdb-find-watch-expression): Remove unused variable `array'.
19219 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
19220 (gdb-starting): Mark unused parameters.
19221 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
19222 (gdb-table-string): Remove unused variable `res'.
19223 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
19224 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
19225 (gdb-display-buffer): Remove unused variable `cur-size'.
19226
19227 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
19228 allow lexical-binding compilation.
19229 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
19230 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
19231 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
19232 Mark unused parameters.
19233 (gud-gdb-marker-filter): Remove unused variable `match'.
19234 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
19235 lambda expressions and funcall them, instead of using `fset'.
19236
19237 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
19238 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
19239
19240 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
19241 variable `header-beg'; use `let'.
19242
19243 * progmodes/icon.el (indent-icon-exp): Remove unused variables
19244 `restart', `last-sexp' and `at-do'.
19245
19246 * progmodes/js.el (js--debug): Mark unused parameter.
19247 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
19248 (js--splice-into-items): Remove unused variable `item'.
19249 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
19250
19251 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
19252 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
19253 (makefile-complete): Remove unused variable `try'.
19254 (makefile-fill-paragraph, makefile-match-function-end):
19255 Mark unused parameters.
19256
19257 * progmodes/octave-inf.el (inferior-octave-complete):
19258 Remove unused variable `proc'.
19259 (inferior-octave-output-digest): Mark unused parameter.
19260
19261 * progmodes/perl-mode.el (perl-calculate-indent):
19262 Remove unused variable `err'.
19263
19264 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19265 (prolog-indent-line): Mark unused parameters.
19266 (prolog-indent-line): Remove unused variable `beg'.
19267
19268 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19269 (reporter-dont-compact-list): Declare.
19270
19271 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19272 Remove unused variable `char'.
19273 (sh-debug): Mark unused parameter.
19274 (sh-get-indent-info): Remove unused variable `start'.
19275 (sh-calculate-indent): Remove unused variable `var'.
19276
19277 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19278 (simula-electric-keyword): Remove unused variable `null'.
19279 (simula-search-backward, simula-search-forward): Remove unused
19280 variables `begin' and `end'.
19281
19282 * progmodes/vera-mode.el (vera-guess-basic-syntax):
19283 Remove unused variable `pos'.
19284 (vera-electric-tab, vera-comment-uncomment-region):
19285 Mark unused parameters.
19286 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19287
7ede3b65
CY
192882011-04-22 Chong Yidong <cyd@stupidchicken.com>
19289
19290 * emacs-lisp/package.el (package--builtins, package-alist)
19291 (package-load-descriptor, package-built-in-p, package-activate)
19292 (define-package, package-installed-p)
19293 (package-compute-transaction, package-buffer-info)
19294 (package--push): Doc fix. Distinguish more clearly between
19295 version strings and version lists.
19296
121656e9
JB
192972011-04-21 Juanma Barranquero <lekktu@gmail.com>
19298
19299 Lexical-binding cleanup.
19300
19301 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19302 (5x5-make-mutate-best):
19303 * play/fortune.el (fortune-in-buffer):
19304 * play/gomoku.el (gomoku-init-display):
19305 * play/solitaire.el (solitaire, solitaire-do-check):
19306 * play/tetris.el (tetris-default-update-speed-function):
19307 Mark unused parameters.
19308
19309 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19310 (bubbles--shift): Remove unused variable `char-org'.
19311 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
19312 (bubbles--show-images): Remove unused variable `char'.
19313
19314 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19315 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19316 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19317 (decipher-analyze-buffer): Use ?\s.
19318 (decipher-make-checkpoint): Remove unused variable `mapping'.
19319
19320 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19321
19322 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19323 Remove unused variable `result'; use `let'.
19324
19325 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19326 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19327 (gametree-children-shown-p, gametree-compute-reduced-score):
19328 Use `ignore-errors'.
19329
19330 * play/handwrite.el (ps-lpr-switches): Declare.
19331 (handwrite): Remove unused variables `pmin' and `lastp'.
19332
19333 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19334
19335 * play/landmark.el (landmark-init-display)
19336 (landmark-update-naught-weights): Mark unused parameters.
19337 (landmark-y): Remove unused variable `noise'. Simplify.
19338 (landmark-human-plays): Remove unused variable `score'.
19339
19340 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19341 (mpuz-try-proposal): Remove unused variable `game'.
19342
19343 * play/zone.el (life-patterns): Declare.
19344
80f499c7
JB
193452011-04-20 Juanma Barranquero <lekktu@gmail.com>
19346
19347 * vc/vc.el (ediff-vc-internal): Declare function.
19348
024ff170
SM
193492011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19350
c0a193ea
SM
19351 * shell.el: Use lexical-binding and std completion UI.
19352 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19353 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19354 comint-preoutput-filter-functions rather than on
19355 comint-output-filter-functions.
19356 (shell-command-completion, shell--command-completion-data)
19357 (shell-filename-completion, shell-environment-variable-completion)
19358 (shell-c-a-p-replace-by-expanded-directory): New functions.
19359 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19360 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19361 (shell-dynamic-complete-environment-variable): Use them.
19362 (shell-dynamic-complete-as-environment-variable)
19363 (shell-dynamic-complete-as-command): Remove.
19364 (shell-match-partial-variable): Match past point.
19365 * comint.el: Clean up use of completion-at-point-functions.
19366 (comint-completion-at-point): New function.
19367 (comint-mode): Use it completion-at-point-functions.
19368 (comint-dynamic-complete): Make it obsolete.
19369 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19370 (comint-c-a-p-replace-by-expanded-history): New function.
19371 (comint-dynamic-complete-functions)
19372 (comint-replace-by-expanded-history): Use it.
19373 * minibuffer.el (completion-table-with-terminator): Allow dynamic
19374 termination strings. Try harder to avoid second try-completion.
19375 (completion-in-region-mode-map): Disable bindings that don't work yet.
19376
2dbaa080
SM
19377 * comint.el: Use lexical-binding. Require CL.
19378 (comint-dynamic-complete-functions): Use comint-filename-completion.
19379 (comint-completion-addsuffix): Tweak custom type.
19380 (comint-filename-completion, comint--common-suffix)
19381 (comint--common-quoted-suffix, comint--table-subvert)
19382 (comint--complete-file-name-data): New functions.
19383 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19384 (comint-dynamic-list-filename-completions): Use them.
19385 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 19386
2dbaa080
SM
19387 * minibuffer.el (completion-in-region-mode):
19388 Keep completion-in-region-mode--predicate global.
19389 (completion-in-region--postch):
19390 Assume completion-in-region-mode--predicate is not null.
19391
c79a6f38
SM
19392 * progmodes/flymake.el (flymake-start-syntax-check-process):
19393 Obey `dir'. Simplify.
19394
024ff170
SM
19395 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19396 we're in VC after all.
19397
1c6c854e
CS
193982011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
19399
19400 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 19401 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
19402 (vc-version-diff): Use vc-diff-build-argument-list-internal.
19403
bed7f140
SM
194042011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
19405
332e62ab
SM
19406 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19407 add sanity check.
19408
bed7f140
SM
19409 * obsolete/erc-hecomplete.el: Make obsolete.
19410 * obsolete/: Standardize obsolescence info in the header.
19411
f195c582
GM
194122011-04-20 Glenn Morris <rgm@gnu.org>
19413
19414 * calendar/solar.el (solar-horizontal-coordinates):
19415 Use the longitude argument rather than `calendar-longitude'.
19416 (solar-date-next-longitude): Remove unused locals.
19417
cb79b8c0
VJL
194182011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
19419
19420 * whitespace.el: New version 13.2.1.
19421
194222011-04-20 felix <EmacsWiki> (tiny change)
19423
d8e4b68b 19424 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
19425 switching between major modes on a file.
19426
602ea69d
SM
194272011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
19428
19429 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19430 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19431 multi-line comments as well.
19432
06b60517
JB
194332011-04-19 Juanma Barranquero <lekktu@gmail.com>
19434
19435 Lexical-binding cleanup.
19436
19437 * arc-mode.el (archive-mode-revert):
19438 * cmuscheme.el (scheme-interactively-start-process):
19439 * custom.el (custom-initialize-delay):
19440 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19441 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19442 * emacs-lock.el (emacs-lock-clear-sentinel):
19443 * ezimage.el (defezimage):
19444 * follow.el (follow-avoid-tail-recenter):
19445 * fringe.el (set-fringe-mode-1):
19446 * generic-x.el (bat-generic-mode-compile):
19447 * help-mode.el (help-info-variable, help-do-xref)
19448 (help-mode-revert-buffer):
19449 * help.el (view-emacs-todo):
19450 * iswitchb.el (iswitchb-completion-help):
19451 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19452 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19453 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19454 * locate.el (locate-update):
19455 * longlines.el (longlines-encode-region)
19456 (longlines-after-change-function):
19457 * outline.el (outline-isearch-open-invisible):
19458 * ps-def.el (declare-function, charset-dimension, char-width)
19459 (encode-char):
19460 * ps-mule.el (ps-mule-plot-string):
19461 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19462 (recentf-edit-list-select, recentf-edit-list-validate)
19463 (recentf-open-files-action):
19464 * rect.el (delete-whitespace-rectangle-line)
19465 (rectangle-number-line-callback):
19466 * register.el (window-configuration-to-register)
19467 (frame-configuration-to-register):
19468 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19469 * select.el (xselect-convert-to-string, xselect-convert-to-length)
19470 (xselect-convert-to-targets, xselect-convert-to-delete)
19471 (xselect-convert-to-filename, xselect-convert-to-charpos)
19472 (xselect-convert-to-lineno, xselect-convert-to-colno)
19473 (xselect-convert-to-os, xselect-convert-to-host)
19474 (xselect-convert-to-user, xselect-convert-to-class)
19475 (xselect-convert-to-name, xselect-convert-to-integer)
19476 (xselect-convert-to-atom, xselect-convert-to-identity):
19477 * subr.el (declare, ignore, process-kill-without-query)
19478 (text-clone-maintain):
19479 * terminal.el (te-get-char, te-tic-sentinel):
19480 * tool-bar.el (tool-bar-make-keymap):
19481 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19482 * type-break.el (type-break-mode, type-break-noninteractive-query):
19483 * view.el (View-back-to-mark):
19484 * wid-browse.el (widget-browse-action, widget-browse-widget)
19485 (widget-browse-widgets, widget-browse-sexp):
19486 * widget.el (define-widget-keywords):
19487 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19488 Mark unused parameters.
19489
19490 * align.el (align-adjust-col-for-rule): Mark unused parameter.
19491 (align-areas): Remove unused variable `look'.
19492 (align-region): Remove unused variables `real-end' and `pos-list'.
19493
19494 * apropos.el (apropos-score-doc): Remove unused variable `i'.
19495
19496 * bindings.el (mode-line-modified, mode-line-remote):
19497 Mark unused parameters.
19498 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19499
19500 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19501 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19502
19503 * comint.el (comint-history-isearch-pop-state)
19504 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19505 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19506 (comint-substitute-in-file-name): Doc fix.
19507
19508 * completion.el (cmpl-statistics-block): Mark unused parameter.
19509 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19510 (save-completions-to-file, load-completions-from-file):
19511 Remove unused local variable `e'.
19512
19513 * composite.el (compose-chars): Remove unused variable `len'.
19514 (lgstring-insert-glyph): Remove unused variable `g'.
19515 (compose-glyph-string): Remove unused variables `ascent',
19516 `descent', `lbearing' and `rbearing'.
19517 (compose-glyph-string-relative): Remove unused variables
19518 `lbearing', `rbearing' and `wadjust'.
19519 (compose-gstring-for-graphic): Remove unused variables `header',
19520 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
19521 (compose-gstring-for-terminal): Remove unused variables `header'
19522 and `nchars'. Use `let', not `let*'.
19523
19524 * cus-edit.el (Custom-set, Custom-save, custom-reset)
19525 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19526 (Custom-buffer-done, custom-buffer-create-internal)
19527 (custom-browse-visibility-action, custom-browse-group-tag-action)
19528 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19529 (widget-magic-mouse-down-action, custom-toggle-parent)
19530 (custom-add-parent-links, custom-toggle-hide-variable)
19531 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19532 (custom-toggle-hide-face, face, hook, custom-group-link-action)
19533 (custom-face-menu-create, custom-variable-menu-create, get)
19534 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19535 (custom-reset-standard-save-and-update): Remove unused variable `value'.
19536 (customize-apropos): Remove unused variable `tests'.
19537 (custom-group-value-create): Remove unused variable `hidden-p'.
19538 (sort-fold-case): Declare.
19539
19540 * cus-theme.el (custom-reset-standard-faces-list)
19541 (custom-reset-standard-variables-list): Declare.
19542 (customize-create-theme, custom-theme-revert, custom-theme-write)
19543 (custom-theme-choose-mode, customize-themes, custom-theme-save):
19544 Mark unused parameters.
19545
19546 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19547
19548 * delim-col.el (delimit-columns-max): Move defvar before first use.
19549
19550 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 19551 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
19552
19553 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19554 (auto-insert): Declare.
19555 (desktop-restore-file-buffer): Rename desktop-* parameters;
19556 mark unused ones.
19557 (desktop-create-buffer): Rename desktop-* parameters and bind them.
19558 (desktop-buffer): Rename desktop-* parameters.
19559
19560 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19561 (dframe-reposition-frame-xemacs, dframe-help-echo)
19562 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19563 Mark unused parameters.
19564
19565 * dired-aux.el (backup-extract-version-start, overwrite-query)
19566 (overwrite-backup-query, rename-regexp-query)
19567 (rename-non-directory-query): Declare.
19568 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19569 (dired-add-entry): Remove unused variable `orig-file-name'.
19570 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19571 Use parameter PRESERVE-TIME instead of accessing dynamic variable
19572 `dired-copy-preserve-time' directly.
19573 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19574 (dired-insert-subdir-newpos): Rename unused variable `pos'.
19575
19576 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19577 (dired-virtual-revert, dired-make-relative-symlink):
19578 Mark unused parameters.
19579 (manual-program): Declare.
19580 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19581 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19582 wrapped in `with-no-warnings' to avoid replacing one warning by another.
19583
19584 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19585
19586 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19587
19588 * echistory.el (electric-history-in-progress, Helper-return-blurb):
19589 Declare.
19590
19591 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19592
19593 * electric.el (Electric-command-loop): Rename parameter
19594 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19595
19596 * expand.el (expand-in-literal): Remove unused variable `here'.
19597
19598 * facemenu.el (facemenu-add-new-color):
19599 Remove unused variable `docstring'.
19600
19601 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19602 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19603 (face-attr-construct): Mark unused parameter. Doc fix.
19604 (read-color): Remove unused variable `hex-string'.
19605
19606 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19607 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19608 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19609 (display-buffer-other-frame): Remove unused variable `old-window'.
19610 (kill-buffer-hook): Declare.
19611 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19612 Mark unused parameters.
19613 (after-find-file): Pass 1 to `auto-save-mode', not t.
19614
19615 * files-x.el (auto-insert): Declare.
19616 (modify-file-local-variable-prop-line): Remove unused variable `val'.
19617
19618 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 19619 variable `buf'. Mark unused parameter.
06b60517
JB
19620 (find-lisp-insert-directory): Mark unused parameter.
19621
19622 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19623 (format-encode-region): Remove unused variables `cur-buf' and `result'.
19624 (format-common-tail): Remove, unused.
19625 (format-deannotate-region): Remove unused variable `loc'.
19626 (format-annotate-region): Remove unused variable `p'.
19627 (format-annotate-single-property-change): Remove unused variables
19628 `default' and `tail'.
19629
19630 * forms.el (read-file-filter): Declare.
19631 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19632
19633 * frame.el (frame-creation-function-alist): Mark unused parameter.
19634 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19635
19636 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19637 Remove unused parameters.
19638 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19639 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19640
19641 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19642 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19643 (hfy-prepare-tag-map): Mark unused parameters.
19644 (htmlfontify-buffer): Use `called-interactively-p'.
19645
19646 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19647 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19648 (ibuffer-do-occur): Mark unused parameters.
19649 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19650 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19651
19652 * ibuffer.el: Don't quote `lambda'.
19653 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19654 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19655 Mark unused parameters.
19656
19657 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19658 (ido-completing-read): Mark unused parameters.
19659 (ido-copy-current-word): Mark unused parameters;
19660 remove unused variable `name'.
19661 (ido-sort-merged-list): Remove unused parameter `dirs'.
19662
19663 * ielm.el (ielm-input-sender): Mark unused parameter.
19664 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19665 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19666 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19667 `ielm-string' as a dynamic variable accessible from the IELM prompt.
19668 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
19669
19670 * image-dired.el (image-dired-display-thumbs): Remove unused
19671 variables `curr-file' and `count'.
19672 (image-dired-remove-tag): Remove unused variable `start'.
19673 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19674 variable `curr-file'
19675 (image-dired-rotate-original): Remove unused variable `temp-file'.
19676 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19677 Remove unused variable `file'.
19678 (image-dired-gallery-generate): Remove unused variable `curr'.
19679 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19680
19681 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19682
19683 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19684
19685 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19686
19687 * isearch.el (minibuffer-history-symbol): Declare.
19688 (isearch-edit-string): Remove unused variable `err'.
19689 (isearch-message-prefix, isearch-message-suffix):
19690 Mark unused parameters.
19691
19692 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19693
19694 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19695
19696 * makesum.el (double-column): Remove unused variable `cnt'.
19697
19698 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19699 (ido-ignore-item-temp-list): Declare.
19700
19701 * mouse-drag.el (mouse-drag-throw): Remove unused variables
19702 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19703 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19704 (mouse-drag-drag): Remove unused variables `mouse-delta' and
19705 `mouse-col-delta'.
19706
19707 * mouse-sel.el (mouse-extend-internal):
19708 Remove unused variable `orig-window-frame'.
19709
19710 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19711 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19712 Move declarations before first use.
19713 (pcomplete-opt): Mark unused parameters; doc fix.
19714
19715 * proced.el (proced-revert): Mark unused parameter.
19716 (proced-send-signal): Remove unused variable `err'.
19717
19718 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19719 Rename parameter PREFIX-ARG to ARG.
19720 (ps-basic-plot-string, ps-basic-plot-whitespace):
19721 Mark unused parameters.
19722
19723 * replace.el (replace-count): Define.
19724 (occur-revert-function): Mark unused parameters.
19725 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19726 (isearch-case-fold-search, isearch-string): Declare.
19727 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19728 bind `case-fold-search'. Remove unused variables `beg' and `end',
19729 and simplify.
19730 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19731 COUNT and bind `replace-count'.
19732 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19733 to COUNT.
19734
19735 * savehist.el (print-readably, print-string-length): Declare.
19736
19737 * shadowfile.el (shadow-expand-cluster-in-file-name):
19738 Remove unused variable `cluster'.
19739 (shadow-copy-file): Remove unused variable `i'.
19740 (shadow-noquery, shadow-clusters, shadow-site-cluster)
19741 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19742 (shadow-define-literal-group, shadow-define-regexp-group)
19743 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19744
19745 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19746 (shell): Use `called-interactively-p'.
19747 (shell-directory-tracker): Remove unused variable `chdir-failure'.
19748
19749 * simple.el (compilation-context-lines, comint-file-name-quote-list)
19750 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19751 (delete-backward-char): Remove unused variable `ocol'.
19752 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19753 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19754 (event-apply-hyper-modifier, event-apply-shift-modifier)
19755 (event-apply-control-modifier, event-apply-meta-modifier):
19756 Mark unused parameters.
19757 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19758 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19759
19760 * speedbar.el (speedbar-ignored-directory-expressions)
19761 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19762 (speedbar-find-file, speedbar-dir-follow)
19763 (speedbar-directory-buttons-follow, speedbar-tag-find)
19764 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19765 (speedbar-buffers-line-directory, speedbar-buffer-click):
19766 Mark unused parameters.
19767 (speedbar-tag-file): Remove unused variable `mode'.
19768 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19769
19770 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19771
19772 * talk.el (talk): Remove unused variable `display'.
19773
19774 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19775 (tar-write-region-annotate): Mark unused parameter.
19776
19777 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19778 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19779 Declare them, wrapped in `with-no-warnings' to avoid replacing one
19780 warning by another.
19781
19782 * time-stamp.el (time-stamp-string-preprocess):
19783 Remove unused variable `require-padding'.
19784
19785 * tree-widget.el (widget-glyph-enable): Declare.
19786 (tree-widget-action): Mark unused parameter.
19787
19788 * w32-fns.el (x-get-selection): Mark unused parameter.
19789 (autoload-make-program, generated-autoload-file): Declare.
19790
19791 * wdired.el (wdired-revert): Mark unused parameters.
19792 (wdired-xcase-word): Remove unused variable `err'.
19793
19794 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19795 (whitespace-help-scroll): Remove unused variable `data-help'.
19796
19797 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19798 (widget-image-insert, widget-after-change, default)
19799 (widget-default-format-handler, widget-default-notify)
19800 (widget-default-prompt-value, widget-info-link-action)
19801 (widget-url-link-action, widget-function-link-action)
19802 (widget-variable-link-action, widget-file-link-action)
19803 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19804 (widget-field-prompt-internal, widget-field-action, widget-field-match)
19805 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19806 (widget-insert-button-action, widget-delete-button-action, visibility)
19807 (widget-documentation-link-action, widget-documentation-string-action)
19808 (widget-const-prompt-value, widget-regexp-match, symbol)
19809 (widget-coding-system-prompt-value)
19810 (widget-key-sequence-value-to-external, sexp)
19811 (widget-sexp-value-to-internal, character, vector, cons)
19812 (widget-choice-prompt-value, widget-boolean-prompt-value)
19813 (widget-color--choose-action): Mark unused parameters.
19814 (widget-item-match-inline, widget-choice-match-inline)
19815 (widget-checklist-match, widget-checklist-match-inline)
19816 (widget-group-match): Rename parameter VALUES to VALS.
19817 (widget-field-value-set): Remove unused variable `size'.
19818 (widget-color-action): Remove unused variables `value' and `start'.
19819
19820 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 19821 variable `dir'. Doc fix.
06b60517
JB
19822 (windmove-find-other-window): Don't pass it.
19823
19824 * window.el (count-windows): Mark unused parameter.
19825 (bw-adjust-window): Remove unused variable `err'.
19826
19827 * woman.el (woman-file-name): Remove unused variable `default'.
19828 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19829 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19830 (global-font-lock-mode): Declare.
19831 (woman-decode-region): Mark unused parameter.
19832 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19833
19834 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19835 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19836 (x-dnd-handle-moz-url): Remove unused variable `title'.
19837 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19838
19839 * xml.el (xml-parse-tag, xml-parse-attlist):
19840 Remove unused variable `pos'.
19841
bc4f7f3d
GM
198422011-04-19 Glenn Morris <rgm@gnu.org>
19843
19844 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19845 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19846 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19847 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19848 * calendar/cal-html.el (cal-html-insert-minical):
19849 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19850 (calendar-mark-date-pattern):
19851 Prefix "unused" locals.
19852
19853 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19854 optional argument `style'.
19855
19856 * calendar/appt.el (appt-make-list):
19857 * calendar/cal-china.el (calendar-chinese-date-string):
19858 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19859 (diary-hebrew-yahrzeit):
19860 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19861 * calendar/calendar.el (calendar-generate-window):
19862 * calendar/time-date.el (time-to-days):
19863 Remove unused local variables.
19864
16a43933
CY
198652011-04-18 Chong Yidong <cyd@stupidchicken.com>
19866
19867 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19868 glyphless-char-display table.
19869 (tabulated-list-glyphless-char-display): New var.
19870
7eed1860
SS
198712011-04-18 Sam Steingold <sds@gnu.org>
19872
19873 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19874 to acknowledgments.
19875
4d2d1ccd
GM
198762011-04-17 Glenn Morris <rgm@gnu.org>
19877
19878 * calendar/diary-lib.el (diary-sexp-entry):
19879 * calendar/holidays.el (holiday-sexp):
19880 Set debug-on-error rather than the removed stack-trace-on-error.
19881
239da61d
GM
198822011-04-16 Glenn Morris <rgm@gnu.org>
19883
19884 * progmodes/f90.el: Use lexical-binding.
19885 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19886
8b05752a
SM
198872011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19888
daca8ba5
SM
19889 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19890 (mail-mode): Setup mailalias completion here instead.
19891 * mail/mailalias.el: Use lexical-binding.
19892 (pattern, mailalias-done): Declare dynamic.
19893 (mail-completion-at-point-function): New function, from mail-complete.
19894 (mail-complete): Use it.
19895 (mail-completion-expand): New function.
19896 (mail-get-names): Use it.
19897 (mail-directory, mail-directory-process, mail-directory-stream):
19898 Don't use `pattern' for lexically bound arg.
19899
6f542485
SM
19900 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19901
037e7c3f
SM
19902 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19903 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19904 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19905
8b05752a
SM
19906 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19907 (byte-save-window-excursion, byte-temp-output-buffer-setup)
19908 (byte-interactive-p): Define them again, for use when inlining
19909 old code.
19910
49093f60
JB
199112011-04-15 Juanma Barranquero <lekktu@gmail.com>
19912
19913 * loadup.el: Use `string-to-number', not `string-to-int'.
19914
b5b8e7de
SM
199152011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19918 gud-gdb-complete-command.
19919 (gud-gdb-completions): New function, from gud-gdb-complete-command.
19920 (gud-gdb-completion-at-point): New function.
19921 (gud-gdb-completions): Remove.
19922
f42efeb5
MA
199232011-04-14 Michael Albinus <michael.albinus@gmx.de>
19924
49093f60
JB
19925 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19926 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
19927 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19928 whether `executable-find' is bound.
f42efeb5
MA
19929
19930 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19931
e240cc21
SM
199322011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
19933
19934 * minibuffer.el (completion-in-region-mode-predicate)
19935 (completion-in-region-mode--predicate): New vars.
19936 (completion-in-region, completion-in-region--postch)
19937 (completion-in-region-mode): Use them.
19938 (completion--capf-wrapper): Also return the hook function.
19939 (completion-at-point, completion-help-at-point):
19940 Adjust and provide a predicate.
c2bd2ab0
SM
19941
19942 Preserve arg names for advice of subr and lexical functions (bug#8457).
19943 * help-fns.el (help-function-arglist): Consolidate the subr and
19944 new-byte-code cases. Add argument `preserve-names' to extract names
19945 from the docstring when needed.
19946 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19947 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19948 (ad-arglist): Use help-function-arglist's new arg.
19949 (ad-definition-type): Use cond.
19950
c183f693
JB
199512011-04-13 Juanma Barranquero <lekktu@gmail.com>
19952
06641a47
JB
19953 * autorevert.el (auto-revert-handler):
19954 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19955 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19956 Don't quote lambda.
19957
c183f693
JB
19958 * image-mode.el (image-transform-set-scale):
19959 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19960
1e3b6001
G
199612011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19962
19963 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 19964 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
19965 Upgrades via gnutls-cli are too slow to be done opportunistically.
19966
2d6af8dd
JB
199672011-04-12 Juanma Barranquero <lekktu@gmail.com>
19968
19969 * dframe.el (dframe-current-frame): Remove spurious quote.
19970
c0749a51
GM
199712011-04-12 Glenn Morris <rgm@gnu.org>
19972
088d0d61
GM
19973 * calendar/cal-tex.el (cal-tex-end-document):
19974 Try to automatically use latin1 input if needed.
19975
c0749a51
GM
19976 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19977 Don't try to cons a mark onto an empty element.
19978
5c90fde0
LL
199792011-04-11 Leo Liu <sdl.web@gmail.com>
19980
19981 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19982 buffers.
19983 (ido-kill-buffer-at-head): Support killing virtual buffers.
19984
369e974d
CY
199852011-04-10 Chong Yidong <cyd@stupidchicken.com>
19986
19987 * minibuffer.el (completion-show-inline-help): New var.
19988 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
19989 (minibuffer-force-complete, minibuffer-complete-word):
19990 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
19991
19992 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19993 to avoid interference from inline help (Bug#5849).
19994
37f1c930
LL
199952011-04-10 Leo Liu <sdl.web@gmail.com>
19996
099c39a4
JB
19997 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19998 Fix typo.
37f1c930 19999
a32d4040
CY
200002011-04-09 Chong Yidong <cyd@stupidchicken.com>
20001
20002 * image-mode.el (image-toggle-display-image): Signal an error if
20003 not in Image mode.
20004 (image-transform-mode, image-transform-resize)
20005 (image-transform-set-rotation): Doc fix.
daca8ba5 20006 (image-transform-set-resize): Delete.
a32d4040
CY
20007 (image-transform-set-scale, image-transform-fit-to-height)
20008 (image-transform-fit-to-width): Handle image-toggle-display-image
20009 and image-transform-resize directly.
20010
099c39a4 200112011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
20012
20013 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
20014 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
20015 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
20016 (doc-view-mode-map): Add bindings for the new functions.
20017
099c39a4 200182011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 20019
4d61f28d 20020 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
20021 Fix typo in docstring.
20022
3726838a
EZ
200232011-04-08 Eli Zaretskii <eliz@gnu.org>
20024
04f33f1e
EZ
20025 * files.el (file-size-human-readable): Produce one digit after
20026 decimal, like "ls -lh" does.
20027
20028 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
20029 the file size representation.
20030
3726838a
EZ
20031 * simple.el (list-processes): If async subprocesses are not
20032 available, error out with a clear error message.
20033
cbb59342
CY
200342011-04-08 Chong Yidong <cyd@stupidchicken.com>
20035
20036 * help.el (help-form-show): New function, to be called from C.
20037 Put help-form output in a buffer named differently than *Help*.
20038
e3971c44
EZ
200392011-04-08 Eli Zaretskii <eliz@gnu.org>
20040
20041 * files.el (file-size-human-readable): New function.
20042
20043 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
20044 computing the representation inline. Don't require `cl'.
20045
12544bbe
GM
200462011-04-08 Glenn Morris <rgm@gnu.org>
20047
a1de6c6a
GM
20048 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
20049
3c4671f4
GM
20050 * net/browse-url.el (browse-url-firefox):
20051 Test system-type, not system-configuration.
20052
b605679c
GM
20053 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
20054 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
20055 Use log-edit-empty-buffer-p. (Bug#7598)
20056
56442f0c
GM
20057 * net/rlogin.el (rlogin-process-connection-type): Simplify.
20058 (rlogin-mode-map): Initialize in the defvar.
20059 (rlogin): Use ignore-errors.
20060
12544bbe
GM
20061 * replace.el (occur-mode-map): Some fixes for menu items.
20062
eb237b0f
AH
200632011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
20064
20065 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
20066
7d668f2c
CY
200672011-04-06 Chong Yidong <cyd@stupidchicken.com>
20068
e67a13ab
CY
20069 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
20070 issuing unused warnings.
20071
20072 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
20073 macro directly.
20074
7d668f2c
CY
20075 * simple.el: Lisp reimplement of list-processes. Based on an
20076 earlier reimplementation by Leo Liu, but using tabulated-list.el.
20077 (process-menu-mode): New major mode.
20078 (list-processes--refresh, list-processes):
20079 (process-menu-visit-buffer): New functions.
20080
20081 * files.el (save-buffers-kill-emacs): Don't assume any return
20082 value of list-processes, which is undocumented anyway.
20083
a83ec3c9
CY
200842011-04-06 Chong Yidong <cyd@stupidchicken.com>
20085
20086 * emacs-lisp/tabulated-list.el: New file.
20087
e91a96fe
CY
20088 * emacs-lisp/package.el: Use Tabulated List mode.
20089 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
20090 (package-menu-mode): Derive from tabulated-list-mode. Set up the
20091 table format using Tabulated List mode variables.
20092 (package--push): New macro, replacing package-list-maybe-add.
20093 (package-menu--generate): Use package--push. Renamed from
20094 package--generate-package-list.
20095 (package-menu-refresh, list-packages): Use it.
daca8ba5 20096 (package-menu--print-info): Rename from package-print-package.
e91a96fe 20097 Return insertion data instead of inserting it directly.
099c39a4
JB
20098 (package-menu-describe-package, package-menu-execute):
20099 Use tabulated-list-get-id.
e91a96fe
CY
20100 (package-menu-mark-delete, package-menu-mark-install)
20101 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
20102 (package-menu-mark-obsolete-for-deletion):
20103 Use tabulated-list-put-tag.
e91a96fe
CY
20104 (package--list-packages, package-menu-revert)
20105 (package-menu-get-package, package-menu-get-version)
20106 (package-menu-sort-by-column): Functions deleted.
20107 (package-menu-package-list, package-menu-sort-key): Vars deleted.
20108 (package-menu--status-predicate, package-menu--version-predicate)
20109 (package-menu--name-predicate)
20110 (package-menu--description-predicate): Handle arguments in the
20111 Tabulated List format.
20112 (package-list-packages-no-fetch): Call list-packages.
20113
3e214b50
JB
201142011-04-06 Juanma Barranquero <lekktu@gmail.com>
20115
20116 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 20117 (after-find-file): Don't bind it.
3e214b50
JB
20118 (revert-buffer-in-progress-p): New variable.
20119 (revert-buffer): Bind it.
20120 Pass nil for `after-find-file-from-revert-buffer'.
20121
20122 * saveplace.el (save-place-find-file-hook): Use new variable
20123 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
20124
3f0f1700
GM
201252011-04-06 Glenn Morris <rgm@gnu.org>
20126
c0274801
GM
20127 * Makefile.in (AUTOGEN_VCS): New variable.
20128 (autoloads): Use $AUTOGEN_VCS.
20129
3f0f1700
GM
20130 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
20131 * calendar/calendar.el (calendar-mode-map):
20132 Check for toolkit scroll bars. (Bug#8305)
20133
41ea9e48
CY
201342011-04-05 Chong Yidong <cyd@stupidchicken.com>
20135
20136 * minibuffer.el (completion-in-region--postch)
20137 (completion-in-region-mode): Remove unnecessary messages.
20138
6194c800
JB
201392011-04-05 Juanma Barranquero <lekktu@gmail.com>
20140
33256f14
JB
20141 * font-lock.el (font-lock-refresh-defaults):
20142 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
20143 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
20144
6194c800
JB
20145 * info.el (Info-directory-list, Info-read-node-name-2)
20146 (Info-split-parameter-string): Doc fixes.
20147 (Info-virtual-nodes): Reflow docstring.
20148 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
20149 (Info-apropos-toc-nodes, info-finder, Info-get-token)
20150 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
20151 Fix typos in docstrings.
20152 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
20153 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
20154 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
20155 (Info-restore-desktop-buffer): Mark unused parameters.
20156 (Info-directory-find-file, Info-directory-find-node)
20157 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
20158 (Info-virtual-index-find-node, Info-apropos-find-file)
20159 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 20160 Mark unused parameters; fix typos in docstrings.
6194c800
JB
20161 (Info-virtual-index): Remove unused local variable `nodename'.
20162
b87a8200 201632011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 20164
b87a8200
DD
20165 * net/rcirc.el: Update my e-mail address.
20166 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 20167
3b2ff876
CY
201682011-04-05 Chong Yidong <cyd@stupidchicken.com>
20169
20170 * startup.el (command-line): Save the cursor's theme-face
20171 directly, instead of using face-override-spec.
20172
20173 * custom.el (load-theme): Minor optimization in assigning faces.
20174
8d17e7ca
JB
201752011-04-04 Juanma Barranquero <lekktu@gmail.com>
20176
20177 * help-fns.el (describe-variable): Complete all variables having
20178 documentation, including keywords.
20179 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
20180
2fbc1934
JB
201812011-04-04 Juanma Barranquero <lekktu@gmail.com>
20182
20183 Convert to lexical-binding.
20184
20185 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
20186 (bs--get-marked-string, bs--get-modified-string)
20187 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
20188 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
20189 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
20190
20191 * ehelp.el (electric-help-execute-extended)
20192 (electric-help-ctrl-x-prefix):
20193 * hexl.el (hexl-revert-buffer-function):
20194 * linum.el (linum-after-change, linum-after-scroll):
20195 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
20196
20197 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
20198
74f50695
DU
201992011-04-04 Daiki Ueno <ueno@unixuser.org>
20200
20201 * epa-dired.el:
20202 * epa-mail.el:
20203 * epa-hook.el:
20204 * epa-file.el:
20205 * epa.el:
20206 * epg.el: Use lexical binding.
20207
c11325f7
CY
202082011-04-03 Chong Yidong <cyd@stupidchicken.com>
20209
0d9e9a12
CY
20210 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
20211
c11325f7 20212 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
20213 dictionary case for flyspell-mark-duplications-exceptions.
20214 Use regexp matching for languages.
c11325f7
CY
20215 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
20216 default dictionary (Bug#7926).
20217
da91b5f2
CY
202182011-04-02 Chong Yidong <cyd@stupidchicken.com>
20219
099c39a4
JB
20220 * emacs-lisp/package.el (package--with-work-buffer):
20221 Recognize https URLs.
da91b5f2 20222
099c39a4
JB
20223 * net/network-stream.el: Move from gnus/proto-stream.el.
20224 Change prefix to network-stream throughout.
da91b5f2
CY
20225 (open-protocol-stream): Merge into open-network-stream, leaving
20226 open-protocol-stream as an alias. Handle nil BUFFER args.
20227
20228 * subr.el (open-network-stream): Move to net/network-stream.el.
20229
afa8e9f6
GM
202302011-04-02 Glenn Morris <rgm@gnu.org>
20231
1d2e369d
GM
20232 * find-dired.el (find-exec-terminator): New option.
20233 (find-ls-option): Test for -ls support.
20234 (find-ls-subdir-switches): Test for -b in find-ls-option.
20235 (find-dired, find-grep-dired): Doc fixes.
20236 (find-dired): Use find-exec-terminator.
20237
8abb7da8 20238 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
20239 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
20240 (find-name-arg): Remove purecopy.
8abb7da8 20241
f3ca7378
GM
20242 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
20243 (grep-compute-defaults): Check for `-exec COMMAND +' support.
20244 Set grep-find-use-xargs, grep-find-command, and grep-find-template
20245 accordingly. Don't add the null-device if not needed.
20246
afa8e9f6
GM
20247 * files.el (save-some-buffers): Doc fix.
20248
35eae264
EZ
202492011-04-02 Eli Zaretskii <eliz@gnu.org>
20250
20251 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
20252
26b51db5
JB
202532011-04-01 Juanma Barranquero <lekktu@gmail.com>
20254
20255 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20256 Use `dolist' rather than `mapcar'.
20257
7200d79c
SM
202582011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
20259
03408648 20260 Add lexical binding.
7200d79c 20261
03408648
SM
20262 * subr.el (apply-partially): Use new closures rather than CL.
20263 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20264 (dolist, dotimes): Use slightly different expansion for lexical code.
20265 (functionp): Move to C.
20266 (letrec): New macro.
20267 (with-wrapper-hook): Use it and apply-partially instead of CL.
20268 (eval-after-load): Preserve lexical-binding.
20269 (save-window-excursion, with-output-to-temp-buffer): Turn them
20270 into macros.
7200d79c 20271
03408648
SM
20272 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20273
20274 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20275 than the arglist.
20276 (help-add-fundoc-usage): Don't add `Not documented'.
20277 (help-function-arglist): Handle closures, subroutines, and new
20278 byte-code-functions.
20279 (help-make-usage): Remove leading underscores.
20280 (describe-function-1): Handle closures.
20281 (describe-variable): Use special-variable-p for completion.
20282
20283 * files.el (lexical-binding): Declare safe.
f488fb65 20284
03408648
SM
20285 * emacs-lisp/pcase.el: Don't use destructuring-bind.
20286 (pcase--memoize): Rename from pcase-memoize. Change weakness.
20287 (pcase): Add `let' pattern.
20288 Change memoization so it actually works.
20289 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20290 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20291 <let>: New case.
f488fb65 20292
03408648
SM
20293 * emacs-lisp/macroexp.el: Use lexical binding.
20294 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
20295 Don't convert ' to #' without checking that it's indeed quoting
20296 a lambda.
20297
20298 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 20299 Use eval-sexp-add-defvars.
03408648
SM
20300 (eval-sexp-add-defvars): New fun.
20301
20302 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20303
20304 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20305 Don't autoload.
20306 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20307 than the internal `byte-compile-lambda'.
20308 (defmethod): Don't hide code under quotes.
20309 (eieio-defmethod): New `code' argument.
20310
20311 * emacs-lisp/eieio-comp.el: Remove.
20312
20313 * emacs-lisp/edebug.el (edebug-eval-defun)
20314 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20315 (edebug-toggle): Avoid `eval'.
20316
20317 * emacs-lisp/disass.el (disassemble-internal): Handle new
20318 `closure' objects.
20319 (disassemble-1): Handle new byte codes.
20320
20321 * emacs-lisp/cl.el (pushnew): Silence warning.
20322
20323 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20324 (cl-byte-compile-throw): Remove.
20325 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20326
20327 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20328 closures.
20329
20330 * emacs-lisp/cconv.el: New file.
20331
20332 * emacs-lisp/bytecomp.el: Use lexical binding instead of
20333 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
20334 (byte-compile-initial-macro-environment):
20335 Handle declare-function here.
20336 (byte-compile--lexical-environment): New var.
20337 (byte-stack-ref, byte-stack-set, byte-discardN)
20338 (byte-discardN-preserve-tos): New lap codes.
20339 (byte-interactive-p): Don't use any more.
20340 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20341 New macros.
20342 (byte-compile-lapcode): Use them and handle new lap codes.
20343 (byte-compile-obsolete): Remove.
20344 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20345 (byte-compile-arglist-warn): Check late def of inlinable funs.
20346 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20347 since they should have been expanded by now.
20348 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20349 (byte-compile-from-buffer): Remove unused second arg.
20350 (byte-compile-preprocess): New function.
20351 (byte-compile-toplevel-file-form): New function to distinguish
20352 file-form calls from outside from file-form calls from hunk-handlers.
20353 (byte-compile-file-form): Simplify.
20354 (byte-compile-file-form-defsubst): Remove.
20355 (byte-compile-file-form-defmumble): Simplify now that
20356 byte-compile-lambda always returns a byte-code-function.
20357 (byte-compile): Preprocess.
20358 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20359 Remove, not used any more.
20360 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20361 (byte-compile-make-args-desc): New funs.
20362 (byte-compile-lambda): Handle lexical functions. Always return
20363 a byte-code-function.
20364 (byte-compile-reserved-constants): New var, to make up room for
20365 closed-over variables.
20366 (byte-compile-constants-vector): Obey it.
20367 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20368 (byte-compile-macroexpand-declare-function): New function.
20369 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20370 byte-code-functions.
20371 (byte-compile-form): Check obsolescence here.
20372 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20373 (byte-compile-variable-ref): Remove.
20374 (byte-compile-dynamic-variable-op): New fun.
20375 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20376 (byte-compile-variable-set): New funs.
20377 (byte-compile-discard): Add 2 args.
20378 (byte-compile-stack-ref, byte-compile-stack-set)
20379 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20380 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20381 macroexpand-all instead.
20382 (byte-compile-quote-form): Remove.
20383 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20384 (byte-compile-bind, byte-compile-unbind): New funs.
20385 (byte-compile-let): Handle let* and lexical binding.
20386 (byte-compile-let*): Remove.
20387 (byte-compile-catch, byte-compile-unwind-protect)
20388 (byte-compile-track-mouse, byte-compile-condition-case):
20389 Handle a new :fun-body form, used for lexical scoping.
20390 (byte-compile-save-window-excursion)
20391 (byte-compile-with-output-to-temp-buffer): Remove.
20392 (byte-compile-defun): Simplify.
20393 (byte-compile-stack-adjustment): New fun.
20394 (byte-compile-out): Use it.
20395 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20396
20397 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20398 handler any more.
20399
20400 * emacs-lisp/byte-opt.el: Use lexical binding.
20401 (byte-inline-lapcode): Remove (to bytecomp).
20402 (byte-compile-inline-expand): Pay attention to inlining to/from
20403 lexically bound code.
20404 (byte-compile-unfold-lambda): Don't handle byte-code-functions
20405 any more.
20406 (byte-optimize-form-code-walker): Don't handle save-window-excursion
20407 any more and don't call compiler-macros.
20408 (byte-compile-splice-in-already-compiled-code): Remove.
20409 (byte-code): Don't inline any more.
20410 (disassemble-offset): Receive `bytes' as argument rather than via
20411 dynamic scoping.
20412 (byte-compile-tag-number): Declare before first use.
20413 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20414 `return' even if make-spliceable.
20415 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20416 obsolete interactive-p.
20417 (byte-optimize-lapcode): Optimize new lap-codes.
20418 Don't trip up on new form of `byte-constant' lap code.
20419
20420 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20421
20422 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20423
20424 * custom.el (custom-initialize-default, custom-declare-variable):
20425 Use `defvar'.
20426
20427 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20428 New variables.
20429 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20430 (COMPILE_FIRST): Add macroexp and cconv.
20431 * makefile.w32-in: Mirror changes in Makefile.in.
20432
20433 * vc/cvs-status.el:
20434 * vc/diff-mode.el:
20435 * vc/log-edit.el:
20436 * vc/log-view.el:
20437 * vc/smerge-mode.el:
20438 * textmodes/bibtex-style.el:
090bd7cb 20439 * textmodes/css-mode.el:
03408648
SM
20440 * startup.el:
20441 * uniquify.el:
da91b5f2
CY
20442 * minibuffer.el:
20443 * newcomment.el:
20444 * reveal.el:
20445 * server.el:
20446 * mpc.el:
20447 * emacs-lisp/smie.el:
20448 * doc-view.el:
20449 * dired.el:
03408648
SM
20450 * abbrev.el: Use lexical binding.
20451
0f0c1f27
EZ
204522011-04-01 Eli Zaretskii <eliz@gnu.org>
20453
20454 * info.el (info-display-manual): New function.
20455
c82b2579
SM
204562011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
20457
20458 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20459
221ddf68
TH
204602011-03-31 Tassilo Horn <tassilo@member.fsf.org>
20461
20462 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 20463 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 20464
cba6e77e
GM
204652011-03-31 Glenn Morris <rgm@gnu.org>
20466
e040639f
GM
20467 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20468
cba6e77e
GM
20469 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20470
6d0f1c9e
CS
204712011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
20472
20473 * progmodes/python.el (python-default-interpreter)
20474 (python-python-command-args, python-jython-command-args)
20475 (python-which-shell, python-which-args, python-which-bufname)
20476 (python-file-queue, python-comint-output-filter-function)
20477 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20478 variables and functions.
20479
3e2d70fd
SM
204802011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
20481
20482 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20483 (completion-in-region-mode): New minor mode.
20484 (completion-in-region): Use it.
20485 (completion-in-region--data, completion-in-region-mode-map): New vars.
20486 (completion-in-region--postch): New function.
20487 (completion--capf-misbehave-funs, completion--capf-safe-funs):
20488 New vars.
20489 (completion--capf-wrapper): New function.
20490 (completion-at-point): Use it to track well-behavedness of
20491 hook functions.
20492 (completion-help-at-point): New command.
20493
f3e4086c
JM
204942011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
20495
20496 * vc/add-log.el (add-change-log-entry): Don't use whitespace
20497 syntax class to search for whitespace on a single line
20498 (Message-ID: <4D938140.4030905@redhat.com>).
20499
eb7ffc14
LL
205002011-03-30 Leo Liu <sdl.web@gmail.com>
20501
20502 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20503 New commands.
20504 (edit-abbrevs-map): Bind them here.
20505 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
20506
d806ab68
KM
205072011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
20508
20509 * allout.el (allout-hide-by-annotation, allout-flag-region):
20510 Reduce possibility of overlay leakage by making them volatile.
20511
20512 * allout-widgets.el (allout-widgets-tally): Define as nil so the
20513 hash is not shared between buffers. Mode initialization is
20514 responsible for giving it a useful starting value.
20515 (allout-item-span): Reduce possibility of overlay leakage by
20516 making them volatile.
20517 (allout-widgets-count-buttons-in-region): Add diagnostic function
20518 for tracking down button overlay leaks.
20519
ea622834
LL
205202011-03-29 Leo Liu <sdl.web@gmail.com>
20521
20522 * ido.el (ido-read-internal): Use the default history var
20523 minibuffer-history if no HISTORY is specified.
20524
b62f8267
G
205252011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
20526
03408648
SM
20527 * net/imap.el (imap-shell-open, imap-process-connection-type):
20528 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
20529 Kerberos, SSL, other subprocesses.
20530
947b6566
LL
205312011-03-28 Leo Liu <sdl.web@gmail.com>
20532
20533 * abbrev.el (abbrev-table-empty-p): New function.
20534 (prepare-abbrev-list-buffer): Place empty abbrev tables after
20535 nonempty ones. (Bug#5937)
20536
5ffb62aa
JD
205372011-03-27 Jan Djärv <jan.h.d@swipnet.se>
20538
20539 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20540
7a097943
LL
205412011-03-27 Leo Liu <sdl.web@gmail.com>
20542
20543 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20544 for foreground and background colors.
20545 (ansi-color-make-color-map): Adapt.
20546
c5b40130
LL
205472011-03-25 Leo Liu <sdl.web@gmail.com>
20548
1f48f7d2
LL
20549 * midnight.el (midnight-time-float): Remove. Note it calculates
20550 the microsecond component incorrectly and seconds-to-time does the
20551 same job.
625897ec 20552 Remove redundant (require 'timer).
1f48f7d2 20553
c5b40130
LL
20554 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20555 (ido-completions): Remove unused arguments. (Bug#8329)
20556
d86d2721
SM
205572011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
20558
20559 * minibuffer.el (completion--flush-all-sorted-completions):
20560 Remove itself from hook.
20561 (completion-at-point): Let the functions perform the completion
20562 immediately and return nil or t.
20563 * comint.el (comint-dynamic-complete-functions): Now identical to
20564 completion-at-point-functions.
20565 (comint-dynamic-list-input-ring): Remove unused var `index'.
20566 (comint--match-partial-filename, comint--unquote&expand-filename):
20567 New funs, split from comint-match-partial-filename.
20568 (comint-dynamic-complete): Use completion-at-point.
20569 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20570
e8974c48
DA
205712011-03-24 Drew Adams <drew.adams@oracle.com>
20572
20573 * thingatpt.el: Support `defun'.
20574
def71b5e
LL
205752011-03-23 Leo Liu <sdl.web@gmail.com>
20576
cb5af48e
LL
20577 * abbrevlist.el: Move to obsolete/abbrevlist.el.
20578
def71b5e
LL
20579 * help-mode.el (help-mode-finish): Tweak regexp.
20580
927c53e7
GM
205812011-03-23 Glenn Morris <rgm@gnu.org>
20582
18d05bed
GM
20583 * eshell/esh-opt.el (eshell-eval-using-options):
20584 Do not bind unused local variable `eshell-option-stub'.
20585
927c53e7
GM
20586 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20587
9d0da923
JB
205882011-03-22 Juanma Barranquero <lekktu@gmail.com>
20589
20590 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20591 keymap variable in `with-no-warnings' to avoid a warning when the
20592 keymap has been already `defconst'ed.
20593
4b978a67
LL
205942011-03-22 Leo Liu <sdl.web@gmail.com>
20595
20596 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20597 encode all chars in abbrevs; otherwise use emacs-mule or
20598 utf-8-emacs. (Bug#8308)
20599
5fd62452
JB
206002011-03-22 Juanma Barranquero <lekktu@gmail.com>
20601
0b1596c6
JB
20602 * simple.el (backward-delete-char-untabify):
20603 Avoid warning about using `delete-backward-char'.
20604
5fd62452
JB
20605 * image.el (image-type-file-name-regexps): Make it variable.
20606 `imagemagick-register-types' modifies it, and the user may want
20607 to add new extensions for known image types.
20608 (imagemagick-register-types): Throw error if not using ImageMagick.
20609
0b4e93f1
LL
206102011-03-22 Leo Liu <sdl.web@gmail.com>
20611
20612 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20613 located before rcirc-prompt-end-marker.
20614 (rcirc-complete): Error if point is not after rcirc prompt.
20615 Handle the case when table is nil.
9882e214 20616 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 20617
fccee4ab
CY
206182011-03-22 Chong Yidong <cyd@stupidchicken.com>
20619
20620 * custom.el (custom--inhibit-theme-enable): Make it affect only
20621 custom-theme-set-variables and custom-theme-set-faces.
20622 (provide-theme): Ignore custom--inhibit-theme-enable.
20623 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20624 (custom-enabling-themes): Delete variable.
d86d2721
SM
20625 (enable-theme): Accept only loaded themes as arguments.
20626 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
20627 (custom-enabled-themes): Forbid themes from setting this.
20628 Eliminate use of custom-enabling-themes.
20629 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 20630
af896da6
LL
206312011-03-21 Leo Liu <sdl.web@gmail.com>
20632
20633 * ido.el (ido-read-internal): Add ido-selected to history instead
20634 of user input.
20635
78f64af0
SM
206362011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
20637
20638 * subr.el (deferred-action-list, deferred-action-function):
20639 Mark obsolete.
20640
b16ac1ec
LL
206412011-03-21 Leo Liu <sdl.web@gmail.com>
20642
810f7698
LL
20643 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20644 change on 2011-02-13 (bug#8309).
20645
b16ac1ec
LL
20646 * minibuffer.el (read-file-name-function): Change default value.
20647 (read-file-name--defaults): Rename from read-file-name-defaults.
20648 (read-file-name-default): Rename from read-file-name.
20649 (read-file-name): Call read-file-name-function.
20650
4e05e67e
GM
206512011-03-21 Glenn Morris <rgm@gnu.org>
20652
20653 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20654 Doc fixes.
20655
4359915b
CY
206562011-03-21 Chong Yidong <cyd@stupidchicken.com>
20657
20658 * cus-theme.el: Add missing provide statement.
20659 (customize-create-theme): Extract theme value correctly.
20660 (custom-theme-visit-theme): Autoload.
20661 (customize-create-theme): Prompt before inserting default faces.
20662
1fe275ee
JB
206632011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
20664
20665 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20666 units and musical notes.
20667
cd394be1 206682011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
20669
20670 * ido.el (ido-read-internal): Use completing-read-default.
20671 (ido-completing-read): Fix compatibility with completing-read.
20672
7d476bde
CO
206732011-03-20 Christian Ohler <ohler@gnu.org>
20674
20675 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20676 (ert-delete-all-tests): Use `called-interactively-p' rather than
20677 `interactive-p'.
20678 (ert--make-xrefs-region): Respect END.
20679
fe0fb33e
CY
206802011-03-19 Chong Yidong <cyd@stupidchicken.com>
20681
ff854b0b
CY
20682 * dired-aux.el (dired-create-directory): Signal an error if the
20683 directory already exists (Bug#8246).
20684
fe0fb33e
CY
20685 * facemenu.el (list-colors-display): Call list-faces-display
20686 inside with-help-window.
20687 (list-colors-print): Use display property to align the final
20688 column, instead of checking window-width.
20689
576bce32
EZ
206902011-03-19 Eli Zaretskii <eliz@gnu.org>
20691
4d61f28d 20692 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
20693 windows-nt systems.
20694 (emerge-protect-metachars): Quote correctly for ms-dos and
20695 windows-nt systems.
20696
89c41d68 206972011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
20698
20699 * info.el (info-initialize): Replace all uses of `:' with
20700 path-separator for compatibility with non-Unix systems.
20701 Cache quoting of path-separator. (Bug#8258)
20702
b14e3e21 207032011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
20704
20705 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20706 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20707 (mouse-avoidance-mode): Fix typos in docstrings.
20708
4525ce3e
CY
207092011-03-19 Chong Yidong <cyd@stupidchicken.com>
20710
20711 * startup.el (package-subdirectory-regexp): Move from package.el.
20712 Omit \\` and \\', and let callers add them.
20713
20714 * emacs-lisp/package.el (package-strip-version)
20715 (package-load-all-descriptors): Add \\` and \\' to
20716 package-subdirectory-regexp before using it.
20717 (package-untar-buffer): New arg DIR; ensure that file untars only
20718 into this expected directory. Remove superfluous delete-region.
20719 (package-unpack): Caller changed.
20720 (package-tar-file-info): Use package-subdirectory-regexp.
20721
a904a09a 207222011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 20723
a904a09a
SM
20724 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20725 diff-mode-shared-map (bug#8284).
20726 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
20727
207282011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20729
20730 * calendar/time-date.el (format-seconds): Use assoc instead of
20731 assoc-string, since assoc-string doesn't exist in XEmacs.
20732
171fc304
JB
207332011-03-17 Juanma Barranquero <lekktu@gmail.com>
20734
20735 * custom.el (custom-known-themes): Reflow docstring.
20736 (custom-theme-load-path): Fix typo in docstring.
20737 (load-theme): Fix typo in error message.
20738 (custom-available-themes, custom-variable-theme-value):
20739 Use `let', not `let*'.
20740
d71990a1
JB
207412011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
20742
20743 * calc/README: Mention inclusion of musical notes.
20744
20745 * calc/calc-units.el (calc-lu-quant): Rename from
20746 `calc-logunits-quantity'.
20747 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20748 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20749 (calc-db): Rename from `calc-dblevel'.
20750 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20751 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20752 (calc-np): Rename from `calc-nplevel'.
20753 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20754 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20755 (calc-lu-plus): Rename from `calc-logunits-add'.
20756 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20757 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20758 (calc-lu-minus): Rename from `calc-logunits-sub'.
20759 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20760 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20761 (calc-lu-times): Rename from `calc-logunits-mul'.
20762 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20763 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20764 (calc-lu-divide): Rename from `calc-logunits-div'.
20765 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20766 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20767
20768 * calc/calc-ext.el (calc-init-extensions): Update the names of the
20769 functions being autoloaded.
20770
20771 * calc/calc.el (calc-lu-power-reference): Rename from
20772 `calc-logunits-power-reference'.
20773 (calc-lu-field-reference): Rename from
20774 `calc-logunits-field-reference'.
20775
7a71b18d
GM
20776 * calc/calc-help.el (calc-l-prefix-help):
20777 Mention musical note functions.
d71990a1 20778
40c2934b
SM
207792011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
20780
20781 * minibuffer.el (completion-all-sorted-completions):
20782 Use :completion-cycle-penalty text property if present.
20783
b0911414
KM
207842011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
20785
20786 * allout.el (allout-yank-processing): Adjust for new rebulleting
20787 regime so bullet being yanked is used without prompting the user
20788 for a choice.
20789
8a05b668
JB
207902011-03-16 Juanma Barranquero <lekktu@gmail.com>
20791
20792 * startup.el (command-line): Warn the user that _emacs is deprecated.
20793
5ba5fb81
JB
207942011-03-16 Juanma Barranquero <lekktu@gmail.com>
20795
20796 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20797 (delphi-verbose, delphi-comment-face, delphi-string-face)
20798 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20799 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20800 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20801 (delphi-new-comment-line, delphi-font-lock-defaults)
20802 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20803 Fix typos in docstrings.
20804
2dab465b
KM
208052011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
20806
5ba5fb81 20807 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
20808 Invert the roles of character and string values for INSTEAD, so a
20809 string is used for the more common case of a defaulting prompt.
20810
0adf5618
SM
208112011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20812
20813 * progmodes/ruby-mode.el (ruby-backward-sexp):
20814 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20815 * play/gamegrid.el (gamegrid-make-face):
20816 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20817 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20818 * notifications.el (notifications-notify):
20819 * net/xesam.el (xesam-search-engines):
20820 * net/quickurl.el (quickurl-list-insert):
20821 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20822
d72700e5
CY
208232011-03-15 Chong Yidong <cyd@stupidchicken.com>
20824
20825 * startup.el (command-line): Update package subdirectory regexp.
20826
49c5410a
SM
208272011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20828
c6eee9aa
SM
20829 * allout.el (allout-abbreviate-flattened-numbering)
20830 (allout-mode-deactivate-hook): Fix up obsolescence "date".
20831
49c5410a
SM
20832 * subr.el (read-char-choice): Only show the cursor after the prompt,
20833 not after the answer.
20834
047b2bb9
KR
208352011-03-15 Kevin Ryde <user42@zip.com.au>
20836
20837 * help-fns.el (variable-at-point): Skip leading quotes, if any
20838 (bug#8253).
20839
0a57d256
SM
208402011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
20841
20842 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20843 warning message.
20844
77c992bc
MA
208452011-03-14 Michael Albinus <michael.albinus@gmx.de>
20846
20847 * shell.el (shell): When called interactively, offer to change the
20848 shell file name on remote hosts.
20849
eebc475d
TZ
208502011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
20851
20852 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20853 integration for LDAP parameters. The host, base, user or binddn,
20854 and secret tokens can be specified in a netrc file, for instance.
20855 This is optional because an `auth-source' parameter must be
20856 specified in the search attributes.
20857
9d05d1ba
JB
208582011-03-13 Juanma Barranquero <lekktu@gmail.com>
20859
20860 * help.el (describe-mode): Link to the mode's definition (bug#8185).
20861
09d9db2c
GM
208622011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20863
20864 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20865 into declaration. Remove redundant and harmful binding.
20866
208672011-03-12 Eli Zaretskii <eliz@gnu.org>
20868
20869 * files.el (file-ownership-preserved-p): Pass `integer' as an
20870 explicit 2nd argument to `file-attributes'. If the file's owner
20871 is the Administrators group on Windows, and the current user is
20872 Administrator, consider that a match.
20873
20874 * server.el (server-ensure-safe-dir): Consider server directory
20875 safe on MS-Windows if its owner is the Administrators group while
20876 the current Emacs user is Administrator. Use `=' to compare
20877 numerical UIDs, since they could be integers or floats.
20878
219bd536
JB
208792011-03-12 Juanma Barranquero <lekktu@gmail.com>
20880
20881 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20882
f3afd36b
MA
208832011-03-12 Michael Albinus <michael.albinus@gmx.de>
20884
20885 Sync with Tramp 2.2.1.
20886
20887 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20888
20889 * net/trampver.el: Update release number.
20890
3aaaa6f1
SM
208912011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
20892
94642599
SM
20893 * progmodes/compile.el (compilation--previous-directory): Fix up
20894 various nil/dead-marker mismatches (bug#8014).
20895 (compilation-directory-properties, compilation-error-properties):
20896 Don't call it at a position past the one we're about to change.
20897
3aaaa6f1
SM
20898 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20899 Disable obsolescence warnings in the file that declares it.
20900
14239447
KM
209012011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
20902
099c39a4
JB
20903 * allout-widgets.el (allout-widgets-tally):
20904 Initialize allout-widgets-tally as a hash table rather than nil to
20905 prevent mode-line redisplay warnings. Also, clarify the module
20906 description and fix a comment typo.
14239447 20907
135e287c
JB
209082011-03-11 Juanma Barranquero <lekktu@gmail.com>
20909
20910 * help-fns.el (describe-variable): Don't complete keywords.
20911 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20912
ffbf300e
CY
209132011-03-10 Chong Yidong <cyd@stupidchicken.com>
20914
ba08b241
CY
20915 * emacs-lisp/package.el (package-version-join): Impose a standard
20916 string representation for pre/alpha/beta version lists.
20917 (package-unpack-single): Standardize the directory name by passing
20918 it through package-version-join.
20919 (package-strip-rcs-id): Accept any version string that does not
20920 signal an error in version-to-list.
ffbf300e 20921
f346fd6b
MA
209222011-03-10 Michael Albinus <michael.albinus@gmx.de>
20923
20924 * simple.el (delete-trailing-whitespace): Return nil for the
20925 benefit of `write-file-functions'.
20926
ccb55d27
GM
209272011-03-10 Glenn Morris <rgm@gnu.org>
20928
5ceaac0c
GM
20929 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20930
02da65ff
GM
20931 * vc/vc-git.el (vc-git-program): New option.
20932 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20933 (vc-git--call): Use it.
20934
b2f603cc
GM
20935 * eshell/esh-util.el (eshell-condition-case): Doc fix.
20936
5772caab
GM
20937 * cus-edit.el (Custom-newline): If no button at point, look
20938 for a subgroup button at start-of-line. (Bug#2298)
20939
ccb55d27
GM
20940 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20941
ec6ecaed
JD
209422011-03-10 Julien Danjou <julien@danjou.info>
20943
20944 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20945 `cursor-type' is nil.
20946
9d5aa01d
JB
209472011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
20948
20949 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20950
b6a5875b
KM
209512011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
20952
7a71b18d 20953 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
20954 preserves the existing header prefix, rebulleting it if necessary,
20955 rather than replacing it. This is necessary for proper operation
20956 of cooperative addons like allout-widgets.
1154d12e
JB
20957 (allout-make-topic-prefix, allout-rebullet-heading):
20958 Change SOLICIT arg to INSTEAD, and interpret additionally a string
20959 value as alternate bullet to be used, instead of prompting the user
20960 for a bullet character.
b6a5875b 20961
ee545c35
MA
209622011-03-09 Michael Albinus <michael.albinus@gmx.de>
20963
d86d2721
SM
20964 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20965 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
20966 `tramp-default-port'.
20967
c47971d7
DD
209682011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
20969
20970 * net/rcirc.el (rcirc-handler-001): Remove useless
20971 with-rcirc-process-buffer.
20972 (rcirc-check-auth-status): Swap arguments to string-match.
20973
13522cb4
GM
209742011-03-09 Glenn Morris <rgm@gnu.org>
20975
0be6f4f1
GM
20976 * shell.el (shell-mode):
20977 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
20978
13522cb4
GM
20979 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20980 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
20981
515de2e3
CY
209822011-03-08 Chong Yidong <cyd@stupidchicken.com>
20983
20984 * emacs-lisp/package.el (package-refresh-contents)
20985 (package-menu-execute): Use condition-case-no-debug.
20986
b511b994
MA
209872011-03-08 Michael Albinus <michael.albinus@gmx.de>
20988
20989 * simple.el (shell-command-to-string): Use `process-file'.
20990
20991 * emacs-lisp/package.el (package-tar-file-info): Handle also
20992 remote files.
20993
d86d2721
SM
20994 * emacs-lisp/package-x.el (package-upload-buffer-internal):
20995 Use `equal' for upload base check.
b511b994 20996
25bbfb31
AM
209972011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
20998
20999 * textmodes/texinfo.el (texinfo-environments):
21000 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
21001
be996521
GM
210022011-03-08 Glenn Morris <rgm@gnu.org>
21003
e9c8529f
GM
21004 * cus-start.el (cursor-in-non-selected-windows):
21005 Fix :set quoting oddness. (Bug#8192)
21006
be996521
GM
21007 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
21008 in some setf expressions. (Bug#2159)
21009
2bb5649e
CY
210102011-03-08 Chong Yidong <cyd@stupidchicken.com>
21011
21012 * custom.el (custom-available-themes): Return themes in
21013 alphabetical order.
21014
33383987 21015See ChangeLog.15 for earlier changes.
e3d51b27
MR
21016
21017;; Local Variables:
21018;; coding: utf-8
e3d51b27
MR
21019;; End:
21020
acaf905b 21021 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
21022
21023 This file is part of GNU Emacs.
21024
21025 GNU Emacs is free software: you can redistribute it and/or modify
21026 it under the terms of the GNU General Public License as published by
21027 the Free Software Foundation, either version 3 of the License, or
21028 (at your option) any later version.
21029
21030 GNU Emacs is distributed in the hope that it will be useful,
21031 but WITHOUT ANY WARRANTY; without even the implied warranty of
21032 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21033 GNU General Public License for more details.
21034
21035 You should have received a copy of the GNU General Public License
21036 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.